Help... PID is oscillating and I can't get it to level out

lunenburger

Member
Join Date
Jul 2008
Location
Summerside
Posts
210
I am using a PID in a controllogix and trying to get a level under control.
Here is the graph and PID settings:Level.jpg

PID.jpg
I have changed the values and the oscillation changes but I cannot seem to get rid of it.
It is a very slow loop, 30 min oscillation.
And changing the setpoint is not an option since we are in production.
Any help would be greatly appreciated.....
 
Well, your integral gain is WAY too high if this level loop behaves as a typical one (integrating process).
You might start by cutting that term back to .02 or less and adjust the proportional gain only. Some would say you don't need the integral term at all (set to zero) but I always like a smattering of it for level loops.
 
I'd say cut your gain in half too and observe the result. Maybe even less than half. Your going to have to let it stabilize a few cycles though to get the true result. When the level is low, your "pouring it on" too much and overshooting setpoint, and just the opposite when your level is high. There's a lot of factors involved, but this is what I would try.
 
Yes, Integral of 0.2 worked much better.
Really starting to level out the valve reaction.
Original Integral was at 2 and i increased it from there.......wrong direction....

Thanks for the help
 
Yeah, integral causes the output to increase the longer you are below the set point and vice versa and by that very nature, causes oscillation. That's why there is the derivative term that reduces output the faster you approach the set point, it pumps the brakes when you get close to stop overshoot.

EDIT: I mention that because you don't have anything for D, making it just a PI loop.
 
Yeah, integral causes the output to increase the longer you are below the set point and vice versa and by that very nature, causes oscillation. That's why there is the derivative term that reduces output the faster you approach the set point, it pumps the brakes when you get close to stop overshoot.

EDIT: I mention that because you don't have anything for D, making it just a PI loop.
A simple tank level control doesn't require a PID, only a PI is required if an exact level must be maintained. One can get by with just a P gain if the level can be in a proportional band.
 
Also, this isn't a typical tank level. It is a fryer 2'deep x 10'wide x 20'long frying 1200Lbs/min of product. Operators want level to be maintained within 0.2 of an inch!!!

Plus the level is measured with a pressure transmitter, oil is "bubbly" so level measurement is somewhat erratic.

Thanks for all the help.... it was greatly appreciated
 

Similar Topics

Hello all, I have an issue with a PID block in RsLogix 5000. The parameters are P: 3.25 I: 0.11 D: 0.01 The Set Point is 71 psi This loop...
Replies
63
Views
14,967
hey guys - I'm a novice PLC enthusiast, so this may be a simple one. I'm running a PID on a Micrologix 1200 PLC and I want to change the Gain for...
Replies
18
Views
4,294
I need a little help with a project I have been thinking about. We have a belt line that is fed by a gravity door (pretty much a hydraulic...
Replies
14
Views
2,764
Hi all, I have a request from client as follows, There's one PID for Control valve which would be controlling on basis of temperature. One...
Replies
1
Views
1,541
Hi, I am trying to automatically regulate a process ( liquid ) in a tube using an ultrasonic sensor, differential level meter, control valve...
Replies
3
Views
3,190
Back
Top Bottom