I am using the PIDPlus feature in DeltaV 13.1. If I change GAIN or RATE, the PID block starts changing OUT every scan instead of when PV changes. The only way I have found to stop it is to change mode to MAN and back to AUTO. Then PIDPlus starts working properly again. I am wanting to do gain scheduling, which means I would have to toggle the mode every time the gain changes. But I don't want to toggle the mode, because I am using dynamic reset limiting. Why does PIDPlus do this? Is there a way to stop this from happening?
In reply to James Beall:
In reply to Mark Bendele:
Mark,
Sorry for the delay. Originally the PIDPlus block did not change the controller output unless the PV changed. However, this meant that if the SP was changed, the OUT did not move until the PV changed, thus the move to the new SP was delayed. So, the algorithm was changed to perform the Proportional action immediately when the SP was changed. In other words, the Proportional action is always updated even if the PV is not moving. The Integral and Derivative Action are only updated when the PV changes. Additionally, the DeltaV PID is a "positional" algorithm and as such the Proportional contribution is Gain*Error. So, if you change the Gain when there is a non-zero error, the OUT will change even though the PV is not moving. However, by design, the change in OUT due to the change in Gain times the error is filtered in with a time constant equal to the Reset time (takes about 4 * Reset time to complete, Reset=5 seconds in my test PIDPlus). With the regular PID, the Integral is responding in the opposite direction and you don't see this change in OUT when you change the Gain when the error is non-zero. In the screen print below, you can see this action.
As I expected, I did not see an impact when changed the Derivative as long as the PV was constant. If you saw this, please provide some more information so I can duplicate this issue.
So, this may give you problems with your applications. With the normal PID, you could choose a PID Structure where Proportional on PV rather than Error. However, the PIDPlus appears to work a bit differently in this regard. So, I am checking into this and will get back to you.
In reply to doug bray: