RSLogix pid integral issues

Kataeb

Member
Join Date
Jan 2007
Location
www.livelovelebanon.com
Posts
635
In the RSLogix 5000 PID ladder block, if the KI integral value is not zero, the pid system goes oscillating fast.
Is it because of some continuous calculations done by the Integral part?
How can we reset the PID output values, before running the machine (or disable the PID block)?
Is there any schematic or diagram for the internal functions of the Pid block?
Thank you
 
Hi, Kataeb
I have worked on a lot of PID's over the last 2 years and they whipped my butt at the beginning. I had to use them a lot for valve, burner and fan controls for air handling units, so the gains are very slow. So what we wound up doing was making tags and using move blocks to be able to work with changing KP, KI and KD while the program is in run mode. One of my tags would be like: "AHU_8_React_Burner_1_Valve_Kp". That would be a real number data type. That value would be moved into the tag name of the PID like "PID_AHU_8_React_Burner_1.KP" Note the differences.
Since I had to have incredibly slow gains, I had like 0.0005 in KP, 0.016 in KI and zero in the derivative (KD). Then you can play with these and get the loop to become stable. I would suggest having a value in the .KI, because then it's simply a PI control.
To reset the output % to zero, you must keep the PID active on it's rung. I only condition that rung with the XIO done bit from the update timer, which is free running. I don't use scheduled tasks for PID's. Be sure the PID update time in the PID configuration matches the preset on the update timer!! Very important. I usually use half a second (500ms). That would be .5 seconds in the update time in the PID configuration. When the process stops, or is at rest, or the machine is no longer desired on, use XIO's to move zero percent into the Output percent and at the same time activate PID_(tag name).SWM and move zero into PID.SO. When you want the process to start again, the XIO's go false and then the PID takes over. This way you can start the output from zero and not let the PID start at say the last percentage it was before you paused the process. This whipped me for a while, they didn't like the fans taking off from zero to 80%. I had to spend a lot of time figuring this out. Remember to click "Help" on each configuration screen on the PID and that will get you information also. Hope this helps, wish you the best.
 
Last edited:
In the RSLogix 5000 PID ladder block, if the KI integral value is not zero, the pid system goes oscillating fast.
Is it because of some continuous calculations done by the Integral part?
How can we reset the PID output values, before running the machine (or disable the PID block)?
Is there any schematic or diagram for the internal functions of the Pid block?
Thank you

You can add a simple routine which will set your Integral gain to 0 until a certain time has elapsed after the start if that solves your problem. However, it seems that you can resolve the issues by tuning the gains of the PID or you may have an inherent issue with the system that you're trying to control. I've seen PIDs used in situations where the flow sensor was positioned very far from the process, so by the time it received the information, the system was already overshooting.

In other words, it may just be something that you have to live with unless the system is modified. You may get it to a better place by tuning, but it may never be perfect.
 

Similar Topics

Hi, Long time not in the forum, and not in the programming. I´m getting back. I was issued a conversion from RSLogix 500 to RSLogix 5000 (studio...
Replies
0
Views
1,286
So I have a PID loop on an 1756-L61 running V17 software just for background. Also the PID PV is a pressure transmitter and the CV is speed sent...
Replies
1
Views
893
I have 3 valves that I need to open for 1 minute every 30 minutes, but not all at the same time. I have one TON timer (Start Blowdowns Timer)...
Replies
15
Views
4,606
Hi All, I have a PID control application that I would like to get your opinions on. As I am reality new to PID loops I am struggling somewhat...
Replies
14
Views
4,276
Hi, I am confuse with the scaling tab on the PID dialog box. On the Process variable I am using a tag that is already scale. 0 to 16 Feet Level...
Replies
2
Views
2,412
Back
Top Bottom