Switching from Constant value to PID controller
1 次查看(过去 30 天)
显示 更早的评论
Hello!
thanks for your time! i need your help to solve this problem:
i have a system that works with a constant flow rate when the current is zero and, when current is higher than zero, the inlet flow rate must be controlled by a PID controller.
Now i tried to use a Switch block: - the first input is the pid controller; - the second one is linked to current (the control variable) - the last one is the constant block.
the problem encountered are: - i can't automatically tune the PID block ("Pid Tuner could not find an initial stabilizing controller using plant "Plant")
and so the program does not work..
any other solution/ Approach?
thanks to everyone!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147060/image.jpeg)
0 个评论
回答(3 个)
Arkadiy Turevskiy
2015-2-11
Can you attach the model? Had to troubleshoot otherwise. One thing that could be happening is that PID Tuner works by linearizing a Simulink model "around" the PID Controller. If your switch is set to select not the PID output, but the other switch input, then the plant PID Tuner will see won't make any sense. So you can try to temporarily remove the switch, wire the PID Controller output to plant input directly and tune then.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!