I am currently trying to a model a fluid level closed loop control.
In the real world application the PID controller is forced to stop its interference with the system and stay in tracking mode for 20 seconds when done with its work (control factor equals zero) to prevent excessive movement of the valve of the system.
I got the part of the tracking mode solved by looking into the sldemo_bumpless, but i am currently struggling to get the pause to work correctly.
I hope that someone can push me in the right direction,
best regards, Joachim
Ps: Please excuse my poor english skills, it's been a while ;)
The more i look at my problem, the more i think i have the answer, altough i do not know how to get it to work. Since my PID controller can only pause when the difference between the target level and the actual value is smaller then my dead band and i will have to make a subsystem, which is able to give out a value=0 for twenty seconds.
But how can i do this without huge trouble?
Thanks in advance