Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

20,000 PSI System Odd PID Loop Behavior

Status
Not open for further replies.

TiCl4

Chemical
May 1, 2019
615
We have a 20K pressure washing system installed in our plant. The system is run via a high pressure pump that draws from a water reservoir. On startup, the system starts by recirculating water through a dump valve back to the reservoir. The system then turns on a PI control loop with the output of the dump valve clamped at 21% (~4,000 psi) for ~30 seconds to drive air from the system and allow operators to check for leaks at low pressure. After 30 seconds, operators enable "High Pressure", which removes the clamp and allows the PI loop to control without the clamp. Setpoint is typically 19,000 psi.

Initial settings were P: 0.3 %/%, and I: 0.05 rep/sec. Bias is 0%. The controller is a standard ISA position PID loop.

Valve Position = Kc * (Error + Error * dt/Ti + Td * Derivative) + CV Bias.

The tuning parameters are: P = Kc, I = Kc/Ti,
I then tuned it, eventually reaching P: 0.2 %/% and I: 0.3 rep/sec. Reducing P below 0.2 %/% completely eliminated that cycling, and the new controller values have very little (but still some!) cycling. Reducing even further completely eliminated cycling, with a smooth ramp, but resulted in a much longer time to achieve SP.

Upon releasing the clamp, the below behavior was observed. The second graph is the final tuning parameters.

Initial:
20K_Cycling_Control_dnbwlh.png


Final:
20K_Cycling_Control_Final_pvknst.png


With initial settings, the system would cycle, then eventually smooth out. Given the loop is PI only (no derivative control), I don't see any reason that anything would drive the valve back down to make it cycle like it did. The only reason I see as a possibility is this: The sample rate for recording and display is only 2 seconds. It is possible that system pressure went above setpoint due to integral windup during the clamp, causing the valve to re-close quickly, with all of this occurring before the screen or historian updated. It is odd, though, that the historian recorded fairly repeatable values - if the cycling frequency were not the exact same as the sampling frequency, it should have recorded some very high values. The controller also does not have any output rate of change limiter enabled that would only allow the valve to open X%/second

What is causing this cycling phenomenon?

Edit: New information. The current bit as described below is currently set a "0". Since we are starting at 100% error on startup (pressure is near 0 and setpoint is 19,000), the valve is calling for >21% open, leading to BIT 4 setting a negative initial integral value. Does that make sense?

Bit 4: Anti-reset windup action. When this bit is 0, the anti-reset-windup action uses a reset (integral term) back-calculation. When the output is clamped, the accumulated integral term is replaced with whatever value is necessary to produce the clamped output exactly.

When the bit is 1, the accumulated integral term is replaced with the value of the integral term at the start of the calculation. In this way, the pre-clamp integral value is retained as long as the output is clamped. This option is not recommended for new applications. Refer to CV Amplitude and Rate Limits below.
 
Replies continue below

Recommended for you


you might compare the piston cycle rate to you pulsations,
 
I have, and it's not the reason for this. The pump has 5 pistons, each offset on stroke, and they stroke at 400 rpm. The cycles are on the order of a couple of seconds. The pressure fluctuations are being caused by the control valve jumping around, but I can't tell why it is jumping around.
 
Something it your system is either malfunctioning or operating substantially faster or than the loop can respond. Your plant's response is on the order of 150 seconds, but your control input is on the order of 6 seconds.

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! faq731-376 forum1529 Entire Forum list
 
The 'P' component may be either proportional band or gain, one is the inverse of the other. If your gain is .2% I would expect a slow response. Tuning usually requires you to try various combinations of tuning constants until you get the response you want. BTW, I can not envision a process where you would not want 'anti reset windup'.

Brad Waybright

It's all okay as long as it's okay.
 
if problem still persists, you might take a look at the time traces of actual [highlight #FCE94F][/highlight]valve position, and process pressure.
 
I remember from graduate course, in regulation there is always trade off between stability and precision.
PID is most adequate to obtain both.

Not sure I can help, just my two cents...

Life is not about waiting for the storm to pass. It's about learning dance in the rain.
 
the issue still persists or solved alreay?
I cannot help either?just update for learning

More than 500.000 Parts available ship worldwide in fast delivery time (PLC, HMI, Inverters, Servo Drives, CNC, Motors - Encoders, Software, Low Voltage...
 
CNCservo,

I have not made any headway on this. The cycling phenomenon would exist if I increased the gain again to a higher level. As it is, I've reduced the gain until the cycling was no longer evident. I'm still completely perplexed as to why the system cycles in the first place at higher gains; it is a PI controller, and it certainly isn't going much above setpoint (because doing so would blow the rupture disc on the pump).

If PV is below setpoint for a PI controller when the loop is initiated, there should not be anything that drives the valve lower - both the P and the I will be opening the valve. The only thing I can think to check is have our controls check the built-in formula to make sure the P and the I have the same sign (both should be positive wrt error).
 
Not all problems can be solved by only tuning a controller. You have to fully understand the process, and each mechanical component and sensor. Time delays between sensing the process variable, and the control action having an effect on what the sensor reads, is the main limitation on how responsive it is possible to be. Most valves also have mechanical hysteresis.
 
Again, your processor control loop is responding too fast to the stimulus. Your process is taking about 28 seconds to respond to a basic control change, but your process loop is outputting a new control change every second.

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! faq731-376 forum1529 Entire Forum list
 
Not all problems can be solved by only tuning a controller. You have to fully understand the process, and each mechanical component and sensor. Time delays between sensing the process variable, and the control action having an effect on what the sensor reads, is the main limitation on how responsive it is possible to be. Most valves also have mechanical hysteresis.
Yes! It is more helpful to post the set point, target pressure , actual pressure and control output as a function of time. The control output is necessary for determining if there is a dead time.

It would also be good to have the valve position.




Peter Nachtwey
Delta Computer Systems
 
PNachtwey: The posted graphs are of actual pressure and output going to the valve. We don't have actual valve position - there is an I/P converter. Target pressure is 19,000 psi during the run. Unfortunately the historian only records the data every 2 seconds, so I don't have more granular data than what is provided above.

Just a further note on the system design - the control valve is a 3-way valve that dumps excess water back to the reservoir tank. Change in system pressure is nearly instantaneous with valve position changed due to the incompressibility of water.

IRStuff, I'm not sure I understand you. The change in pressure is near instant with change in valve position, so process response is extremely quick. If I were to change valve position manually from 15% to 80%, pressure would immediately jump from 4,500 psi to ~18,000 psi. The largest lag in the system is likely valve travel speed and/or sensing element response time. If you are talking about making loop changes before the system has a chance to feed back the response (valve travel time + sensing element change time + processing time vs loop update rate), then I get where you are coming from. The loop update rate needs to be a good bit slower than the sensed response for the loop to be stable. FYI, the loop update rate is 2 seconds.

I'm inclined to agree with Compositepro (and maybe IRStuff, too, if that's the point you are making?). It's likely that something physically in the loop (valve travel time, pressure sensor element update time?) is too slow for the loop udpate rate, and is causing instability.



 
TiCl4-
PID control has changed a lot from it's earliest implementations employed using electro-mechanical and pneumatic control. The PIDE instruction in Allen-Bradley Logix controllers applies the gain parameter to the process velocity (or rate-of-change if you will) instead of the error or PV signal by itself. It's very likely that any newer PID device employs a much more sophisticated and complex algorithm than what we learned years ago. That makes predicting the effect of a single tuning parameter more difficult. Also, my experience shows that the final tuning constants normally end up being unusually small, at least as far as the gain component is concerned.

Brad Waybright

It's all okay as long as it's okay.
 
Basically, yes; it's obvious that your controller are oscillating because it's being told to open the valve, and on the very next cycle, it's closing the valve. In the meantime, the overall system takes about 30 times longer to reach a stable operating point.

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! faq731-376 forum1529 Entire Forum list
 
At 19,000 psi, water is _not_ incompresssible; it has a finite bulk modulus.
Also, at that pressure, the pipe is stretching.
That makes two springs that are probably not accounted for in your system model.


Mike Halloran
Corinth, NY, USA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor