From: Kamil on
Hello,

I would like to find PID values by using Parameter Estimation. In the Control and Estimation Tools Manager I press Transient data and then New. After that I suppose to set input and output from my Simulink project but these options are empty. It is written "the model has no input". How I can set these values from my project?

Thank you for any help.

Kamil
From: James Allison on
You need input ports and output ports at the root level to perform
parameter estimation. Do you have data you want to fit your model to by
tuning the PID parameters? Or are you actually wanting to perform
response optimization and tune the PID parameters? If the latter is the
case, you can use the signal constraint block from SDO, or you can use
the new PID block with automatic tuning.

-James

Kamil wrote:
> Hello,
>
> I would like to find PID values by using Parameter Estimation. In the
> Control and Estimation Tools Manager I press Transient data and then
> New. After that I suppose to set input and output from my Simulink
> project but these options are empty. It is written "the model has no
> input". How I can set these values from my project?
>
> Thank you for any help.
>
> Kamil
From: Kamil on
Thank you for replay James. I did a little bit different. I have quite strongly non-linear system and I would like to find 2 PID controllers setting and one filter in the feedback control loop. I did not break my system and put input-output. I just for the output set in Signal properties: Log signal data. And now it should be ok. everything is working correctly.

James Allison <james.allison(a)mathworks.com> wrote in message <i17fgg$qk2$1(a)fred.mathworks.com>...
> You need input ports and output ports at the root level to perform
> parameter estimation. Do you have data you want to fit your model to by
> tuning the PID parameters? Or are you actually wanting to perform
> response optimization and tune the PID parameters? If the latter is the
> case, you can use the signal constraint block from SDO, or you can use
> the new PID block with automatic tuning.
>
> -James
>
> Kamil wrote:
> > Hello,
> >
> > I would like to find PID values by using Parameter Estimation. In the
> > Control and Estimation Tools Manager I press Transient data and then
> > New. After that I suppose to set input and output from my Simulink
> > project but these options are empty. It is written "the model has no
> > input". How I can set these values from my project?
> >
> > Thank you for any help.
> >
> > Kamil