how to tune PID controller for a vehicle model in Simscape?
26 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,Would you please tell me how to tune PID controller for a vehicle model built in Simscape?
I watched several of MATLAB webinars hosted by Dr.Christoph Hahn and colleagues; including "Vehicle Modeling, Race Lounge, part 1-4" where in part 3, the presenter set PI coefficients by simply saying 'I know this numbers will work and "Principles of Control Design - MATLAB and Simulink Racing Lounge" where they model is built in simulink NOT IN SIMSCAPE.
this conventional methods of tuning PID are good in simulink but doesn't work with my simscape model. My model is a simple vehicle model and it runs fine in open-loop. the model is based on this video published by MATLAB [https://www.youtube.com/watch?v=G7WX1VPbNX0].
I want to add driver model by introducing a closed-loop.I used "tune" button inside PID block and I got this picture (no.2). I tried to linearize the model and find the p and i values. that was unsuccessful too. Kindly teach me how to tune a PI for this simple model in simscape.Thank you.
<<
<<
>>
>>
Regards, S.A.A.
2 commentaires
Réponses (2)
Veer Alakshendra
le 31 Mar 2018
Hi Sajad,
Thanks for the query. The reason of your model not getting linearized can be inappropriate selection of the initial conditions. Although it is difficult to point you to the exact solution without seeing the model, I am forwarding you two links which might help you to linearize the model.
- https://www.mathworks.com/help/slcontrol/ug/plant-cannot-be-linearized-or-linearizes-to-zero.html
- https://www.mathworks.com/matlabcentral/answers/135228-pid-tune-plant-cannot-be-linearized-why
Thanks, Veer
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!