MATLAB Answers

Switching from Constant value to PID controller

6 views (last 30 days)
Giuseppe
Giuseppe on 8 Feb 2015
Answered: thamer aladnan on 10 May 2017
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

Sign in to comment.

Answers (4)

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

  0 Comments

Sign in to comment.


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

Sign in to comment.


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

  0 Comments

Sign in to comment.


thamer aladnan
thamer aladnan on 10 May 2017
matlab is a fake software it never happens to be right with me ever!!

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by