Switching from Constant value to PID controller

1 visualizzazione (ultimi 30 giorni)
Giuseppe
Giuseppe il 8 Feb 2015
Risposto: mkmat il 19 Nov 2015
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!

Risposte (3)

Giuseppe
Giuseppe il 9 Feb 2015
Nobody can solve this problem? :(

Arkadiy Turevskiy
Arkadiy Turevskiy il 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.

mkmat
mkmat il 19 Nov 2015
Did you manage to solve this issue?

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by