design optimization Simulink model parameter estimation to fit measured curvedata

Hello everyone,
I'm pretty new to design optimization. I build a simscape model of a system with a motor current as output. I also got a measured motor current curve. The model consists some parameters which I want to estimate to fit the output curve of the model to the measured curve. As far as I read this is possible. But I dont know how. I cant find 'import' section or something like that to import the measured curve. Please help me! :)
Greetings

Answers (1)

Please start by taking a look at the video and reading documentation. This should help you get started.

1 Comment

Perfect! This is what I am looking for. Thank you very much!Now it is working. But I still got a question. After trying to fit the parameters to the measured data, I am not quite happy with the results.
In the picture the blue data is the measured data, the red one the results after using design optimization. The yellow data is a simulation where I changed one of the parameters to have a better fit at the maximum.
Is it possible to give special attention to maxima? I used sum squared error as cost function. This should work better than "sum-absolute error" because the fit to the left and right of the maxima gets worse when changing the parameter by hand.
Thank you!

Sign in to comment.

Categories

Asked:

on 15 Jan 2016

Edited:

on 17 Jan 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!