Can nlgreyest() estimate open-loop unstable models?
10 views (last 30 days)
I am attempting to create a nonlinear grey-box model based on an open-loop unstable model, for which data was gathered in a closed-loop experiment with a superimposed random probe signal. I have tried different settings, solvers, etc. I am getting error messages such as:
Objective function is undefined at initial point. Fmincon cannot continue.
for fmincon or
The initial computation of the loss function failed. The initial model, if
specified, may be unstable. Consider setting the "EnforceStability" option to
TRUE. Also make sure that the parameter bounds do not make the model unstable.
or alternatively, the process just terminates after 0 iterations because of an infinite cost.
- Is it even possible to identify unstable models using nlgreyest()? Or the model cannot be compared to measurement data because of instability?
Rajiv Singh on 9 Jul 2020
With greyest, either parameterize K matrix using the ODE function, or choose to esitmate it separately by using the "DisturbanceModel"/'estimate' option (in greyestOptions). Then follow the tips described in the answer:
For nlgreyest, you are out of luck since it handles only time-domain data and does not allow incorporation of a noise model.