Cascade loops?

karivelm

Member
Join Date
Nov 2006
Location
Quebec
Posts
66
I need to program a PID loop here are the componants I have:
Flowmeter (4to20ma signal)
Control valve (4to20ma signal)
Pressure transmitter (4to20ma signal)

------WATER----PRESSURE TRANS---FLOWMETER---CONTROL VALVE--MANUAL VALVE

A flow setpoint will be given by an operator, the controle valve will be controlled by the PID to give the demanded flow...BUT I must always make sure that the pressure does not drop below a certain point...

How do I incorporate this to my PID loop? Do I need a cascade loop if so how do I program it?

If the pressure drops I must close the valve until I reach the minimum allowed pressure...
 
Rather than cascade a PID loop I would clamp the output of the flow control loop when pressure falls below a low threshold set pressure value. Then I would enable a deadband controller to increment the valve closed until the pressure rises above the deadband. Then you can re-enable your PID.
 
I think Tom's suggestion is a good start but..

Clamping the output may not increase the pressure. The valve may need to close to increases pressure if the pressure goes below the low limit.

One can use two PIDs and use the minimum of the two outputs. The pressure PID would be reverse acting and try to control to the lower limit. It would try open the control valve 100% trying to get the pressure to the lower limit but the flow PID would probably have a lower output so it would be used. However, as the pressure dropped the pressure PID's output would get lower and approach zero as the pressure approached the lower limit. Then the pressure PID's would be the minimum and restrict flow to keep the pressure at the low limit.

Work it out in your head using ONLY P control until you understand the concept.
Then add the integrator.
 

Similar Topics

I ask you answer if you know precisely what PID loop update time in a Rockwell processor is and if you are experienced with cascade loops. Thank...
Replies
0
Views
5,768
Hi there, I need to wite the logic to control a cascaded PID loop with the following characteristica: 1- Master : Density 2- Slave : Water...
Replies
5
Views
12,836
Hi, I was wondering would I be able to ask you a question on a Cascade loop. Situation: I have a situation where I am trying to tune a heating...
Replies
9
Views
8,280
So I have an application controlling the temperature by means of a hot water coil. The coil holds lots of energy even after the flow stops...
Replies
8
Views
2,404
Hi I have a scenario where I am controlling ratio of an additive into a uncontrolled Product stream to achieve a certain reading in a pressure...
Replies
0
Views
1,253
Back
Top Bottom