Simulink PID Controller Tuning
古いコメントを表示
Hi,
I am a new user to Simulink. I created a model and added a PID controller. When I tune the controller it says the response should be about 1 second with a 20% overshoot. When I run the model the reality is 1000 seconds with 10,000% overshoot. What could cause this to happen?
I created my own PID controller and modified the coefficients and it seems to be working, but I would definitely like to get the built-in PID controller working since I am spending about 5 hours just to tune my homemade controller.
I have been debugging for about a week now, I am not sure what look for. Any assistance would be greatly appreciated.
Thank you,
Alan
3 件のコメント
Seth Popinchalk
2011 年 4 月 5 日
That sounds very frustrating. We need more information to narrow down the problem.
What solver are you using? If you are using a fixed step solver, what is the fixed step size? Is your PID discrete or continuous?
When you say you "added a PID controller" are you referring to the PID block?
http://www.mathworks.com/help/toolbox/simulink/slref/pidcontroller.html
Alan
2011 年 4 月 10 日
Arnaud Miege
2011 年 4 月 13 日
This might be due to the linearisation process that is used to tune the PID controller. Do you have many non-linearities in your model? Could you upload your model on a file-sharing site so that we can have a look at it?
採用された回答
その他の回答 (1 件)
Seth Popinchalk
2011 年 4 月 17 日
0 投票
Try setting the Max Step Size to a small number (.1 or .01). It is possible that the model steps are too large to capture the fast dynamics of the step.
カテゴリ
ヘルプ センター および File Exchange で PID Controller Tuning についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!