Switching from Constant value to PID controller
1 view (last 30 days)
Show older comments
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!
0 Comments
Answers (3)
Arkadiy Turevskiy
on 11 Feb 2015
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 Comments
See Also
Categories
Find more on PID Controller Tuning 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!