Do not try this method of linearization when dealing with simscape models. but instead linearize your model at t=snapshot.
How to find steady-state Operating point for a vehicle model built using Simscape?
4 views (last 30 days)
Show older comments
What I essentially try to do is to control ICE speed with a PI controller. the model is attached to this message.
Below is the workflow that I follow:
- find model steady-state operating point
- linearize at operating point.
- validate linearization with Frequency Response Estimation
- everything good? then continue with PI tuning using Control system Toolbox.
for step 1 and 2 I use Linear Analaysis Tool.select "trim model" from operating point drop-down. then specify states/known/constrains. once, trimming is done, I get Bode plot from Linear Analysis Tool.
In the trim window, there are several variables that I don't know what to do with them. They are highlighted in picture below
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190311/image.png)
Question 1) What do highlighted variables represent?
Question 2) What should be the variables specifications as state/known/constrains?
To my understanding, I selected engine speed and vehicle speeds as state variables since I want to design Engine speed controller. Correct me if I am wrong.
Question 3) How to handle linearization and operating point search for a Simscape model? MATLAB help recommends "projection-based trim optimizers" to produce better ttrimming results for simscape models.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190312/image.png)
There are few optimization methods. I don't know which to select and what should be the "optimization option" setting.
Thank you, Sajad
Answers (1)
Veer Alakshendra
on 17 May 2018
Hi Viyan. I would recommend you to watch this video: https://www.mathworks.com/videos/trim-linearization-and-control-design-for-an-aircraft-68880.html
See Also
Categories
Find more on Engines & Motors in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!