If you’ve ever had to change the type of controller on a PID loop (for example because the old one is obsolete), how can you be sure that the new one will control the process just like the old one?
The reason this is not a trivial exercise is covered in the PID Controller Article here.
But if it is absolutely critical that the new controller works first time, and you haven’t got the option of tuning it from scratch, then the answer is to make sure that both controllers behave exactly the same in open-loop before fitting the new one as I explained to Paul from NSW, Australia who contacted me recently:
I would like to know if you can offer some insight into an issue that I have. I currently have a process that
is running with a software PID controller in a Hitachi PLC.I am in the middle of planning an upgrade to this control system, to a Siemens S7-300 and I was planning on using the Siemens PID block in the PLC to achieve the same process. The process operates fine at the moment and I just want to use the same constants and insert them into the Siemens block, the formulas for both blocks are the same but the problem is the I don’t know what units the obsolete and unsupported Hitachi block uses for Integral and Derivative.
Have you ever come across this before and how would I convert them into meaningful time based values?
This was my reply
——-
Hi Paul,
I had the same problem once when replacing the controllers on a
nuclear reactor (seriously!).
So it was quite important that the new controllers worked first time.
What I did was wait until the plant was shutdown (or you could use a
spare if there is one) and disconnect all the I/O from the old
controller except the setpoint input.
Then I measured the controller output (MV) for a fixed step input.
Once with just P control, and again with PI control.
If you understand how the P and I are calculated you can look at the output traces and work out the
constants in engineering units:
For example the output will be a constant gradient ramp and if it increases by the [step x P Gain]
every 5 seconds you’ve got 5 seconds-per-repeat.
You can do the same on the new controller to check that it responds exactly the same way
as the old one before fitting it.
As long as you can prove that both controllers give the same outputs for the same input, you will be able to ‘plug and play’ the new PID Controller.
Cheers,
Finn
