MATLAB Answers

Why I can't tune/design PID for a vehicle modelled with simscape?

7 views (last 30 days)
Sajad  A.Anbaran
Sajad A.Anbaran on 18 Jun 2019
Answered: Steve Miller on 3 Aug 2020
Hi all,
the model is a conventional car with multi-speed transmissoin. It is build using simscape and the control objective is 'reference tracking' of input drive cycle.
For more than a year, I have been trying methods and solutions offered in MATLAB documentation. But It has been fruitless so far and I can't get a good result from simulatoin.
The model and a written report of my work is attached to this inquiry, Please have a look. Thank you, in advance.
Looking forward to hearing from you.
Regards,
Sajjad
  1 Comment
Sajad  A.Anbaran
Sajad A.Anbaran on 23 Oct 2019
I finally managed to do it.
The key is model fidelity and accuracy. Make sure your simscape model is accurate enough. Then, perform an open-loop test. use the system output figure to identify the time at which you should linearize your model; look for segments of output figure where model demonstrates linear behaviour. Lineanized it at that 't' and use it to tune PI controller.

Sign in to comment.

Answers (1)

Steve Miller
Steve Miller on 3 Aug 2020
Looks like you were able to answer your own question - great job! Thanks for letting us know.

Community Treasure Hunt

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

Start Hunting!