How to include the operating points when linearizing a Simulink Model from the command line?

3 views (last 30 days)
I have a question regarding linearization. I am working on a model that includes a static nonlinear block (I modelled in Simulink) and a dynamic linear block. I want to linearize the static nonlinear block around an operating point.
However, when I use the linearize command the output is a static gain that doesn't take the operating points (x0,y0) into consideration as shown in the figure below:
Instead I calculated the static gain from the linearize command and updated the gain block as well as x0 and y0 as the oeprating point changes.
My Question is: How to linearize the static nonlinearity from the command line, while also accounting for x0 and y0, so that x0 gets subtracted from the input to the gain block and y0 gets added to the output of the gain block (as shown in the figure above) ?
  11 Comments
Sam Chak
Sam Chak on 9 Dec 2021
@Adel Abdelsamed, Speaking of the gain-scheduling controller, you can try heuristically identifying how the scheduling variable should change the gain at the operation point (, ), upper region of operation (, ), and the lower region of operation (, ). Generally, if the operation point (, ) is already stable, it may be good to have a relatively low gain around the operation point so that the controller cannot disturb the nonlinear process too much, whereas a unstable operation point should have a relatively high gain.
Paul
Paul on 9 Dec 2021
Edited: Paul on 11 Dec 2021
The process I've described works well with the types of systems I'm familiar with. However, it's certainly possible that those systems have certain properties that makes them amenable to the described approach. Others may not. For sure, gain scheduling can be an ad hoc process. At least it was the last I checked; maybe there have been advances since then. For sure, there are lots of papers on gain scheduling that I'm sure you can find.
The Control System Toolbox doc has examples,with references, if you're interested. Link to examples
Edit: 2021-11-10 I should have mentioned that the gain scheduling approach I described also can introduce "hidden feedback" paths that can affect closed loop system performance and stability. An internet search on "gain scheduling hidden feedback" may be of interest.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!