Previous in Forum: Horn and Beacon Light Smoke Detector   Next in Forum: MPU
Close
Close
Close
20 comments
Rate Comments: Nested
Guru
Engineering Fields - Mechanical Engineering - New Member India - Member - New Member

Join Date: Aug 2008
Location: City of destiny, INDIA
Posts: 775
Good Answers: 67

Dead Time and Process Lag in Control System

09/19/2012 12:49 PM

What is the difference between dead time and process lag in control system? How to calculate for the case below?

Gas pressure in upstream of pressure control valve (PCV) is varying between 20 to 40 bar. Pressure required in downstream is 17-18 bar. At 500m away in downstream DN 500 pipe a flow control valve (FCV) is installed, its function is to control the flow around 500 Nm3/min. Its upstream pressure drops when FCV opens. What should be the time lag for PCV to open?

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru

Join Date: Jul 2007
Location: Commissariat de Police, Nouvions, occupied France, 1942.
Posts: 2599
Good Answers: 77
#1

Re: Dead Time and Process Lag in Control System

09/19/2012 2:01 PM

The first thing you need to do, Boss, is decide whether you are controlling flow, or whether you are controlling pressure. What is the requirement from the Process perspective, please, Matey?

__________________
Good moaning!
Register to Reply
Guru
Engineering Fields - Mechanical Engineering - New Member India - Member - New Member

Join Date: Aug 2008
Location: City of destiny, INDIA
Posts: 775
Good Answers: 67
#3
In reply to #1

Re: Dead Time and Process Lag in Control System

09/19/2012 11:15 PM

Good question Crabtree,

Gas is supplied from a distant source up to 40 bar pressure, normally varies between 25 to 35 bar. User requirement is intermitant (for 15 min in an hour) but at 17-18 bar. So, buffer vessels are installed in upstream of PCV to supply huge quantity for short duration at required pressure. FCV has to cotrol the flow rate at that pressure. Distance between PCV and FCV is about 500 m. Pipe size is mainly DN 500, but small lengths of smaller sizes are also involved.

Hope it is clear.

Register to Reply
2
Guru

Join Date: Aug 2007
Location: Earth - I think.
Posts: 2143
Good Answers: 165
#2

Re: Dead Time and Process Lag in Control System

09/19/2012 8:05 PM

From http://www.engineeringtoolbox.com/process-control-terms-d_666.html

Dead Time

Dead time is the amount of time it takes for the process variable to start changing after changing output as a control valve, variable frequency drive etc.

Lag Time

Lag time is the amount of time after the dead time that the process variable takes to move 63.3% of its final value after a step change in valve position.

__________________
TANSTAAFL (If you don't know what that means, Google it - yourself)
Register to Reply Good Answer (Score 2)
Guru
Engineering Fields - Mechanical Engineering - New Member India - Member - New Member

Join Date: Aug 2008
Location: City of destiny, INDIA
Posts: 775
Good Answers: 67
#4
In reply to #2

Re: Dead Time and Process Lag in Control System

09/19/2012 11:24 PM

Thanks kilowattO for the clarification,

Now can you please suggest how to compute the dead time and lag time for the case I had explained? Please see more information at #3. Thanks in advance.

Register to Reply
2
Guru

Join Date: Aug 2007
Location: Earth - I think.
Posts: 2143
Good Answers: 165
#8
In reply to #4

Re: Dead Time and Process Lag in Control System

09/20/2012 12:01 PM

You will have to do a bump test to find out. The above is an example. Take the valve (in manual) and increase/decrease the output. You will need a decent piece of trending or historical software.

__________________
TANSTAAFL (If you don't know what that means, Google it - yourself)
Register to Reply Good Answer (Score 2)
Guru
Engineering Fields - Mechanical Engineering - New Member India - Member - New Member

Join Date: Aug 2008
Location: City of destiny, INDIA
Posts: 775
Good Answers: 67
#9
In reply to #8

Re: Dead Time and Process Lag in Control System

09/21/2012 1:08 AM

Thanks KilowattO for beatiful graphical dipiction. GA.

Register to Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#5

Re: Dead Time and Process Lag in Control System

09/20/2012 3:24 AM

The PCV should open immediately so as to sustain the pressure in the pipeline. A second or two, perhaps?

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
Guru
Engineering Fields - Mechanical Engineering - New Member India - Member - New Member

Join Date: Aug 2008
Location: City of destiny, INDIA
Posts: 775
Good Answers: 67
#6
In reply to #5

Re: Dead Time and Process Lag in Control System

09/20/2012 11:08 AM

Yes, I also wish the same, but it is not happening. Flow control valve (FCV) can be put on some default open position, say 50%; so that once the system starts taking flow (by opening an ON/OFF valve in downstream), the required flow rate can be attained quickly. This results in drop in upstream of FCV. My question is:

1. How fast the pressure drop travels up to PCV (500 m away) to be sensed by pressure transmitter?

2. Once sensed, how long PCV will take to start opening?

3. Once PCV starts opening, how long it will take to feed required flow rate?

4. What are the solutions to curtail dead time and process lag? Can we take pressure transmitter before FCV as input for PCV, is there any adverse effects?

Register to Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#7
In reply to #6

Re: Dead Time and Process Lag in Control System

09/20/2012 11:34 AM

Ahah, so it isn't really a flow control valve, it is merely a modulating valve with some predetermined position set elsewhere; there is no flowmeter to use as the measuring element as part of an automated system. So now the answers are:-

A1) It depends upon the pressure of the gas, the flowrate, size and length of pipe and a host of other factors.

A2) Almost immediately; a second or two?

A3 & 4) If the pressure drop along the pipe is such that the modulating valve is fully open in order to achieve the flowrate, then the pressure control valve won't be able to sustain the pressure needed to achieve the flowrate. If the valve has, as suspected from the above, a fixed position, then the answer is that the pressure control valve can never do the job of flow control, and a set flowrate will never be achieved without operator intervention from the device that sets the modulating valve position. In such a situation, any calculation is not worth the paper on which it is printed.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply Score 1 for Good Answer
Guru
Engineering Fields - Mechanical Engineering - New Member India - Member - New Member

Join Date: Aug 2008
Location: City of destiny, INDIA
Posts: 775
Good Answers: 67
#10
In reply to #7

Re: Dead Time and Process Lag in Control System

09/21/2012 1:18 AM

GA PWSlack for a good response, but I want to clarify that FCV is really a flow control valve using a flow element and set point is 500 Nm3/min. Its default open position is to facilitate quickly attaining the set flow. Once flow rate is more than set value, it starts closing. Job of PCV is maintain 17-18 barg pressure in its downstream. Now, I think you can answer better. I am interested in methods to determine dead time and process lag.

Register to Reply
Guru

Join Date: Aug 2007
Location: Earth - I think.
Posts: 2143
Good Answers: 165
#11
In reply to #10

Re: Dead Time and Process Lag in Control System

09/21/2012 9:52 AM

Since this is an operating system, the bump test will be the way to determine the dead time and lag time.

One concern I have is the 2 loops fighting each other. In a situation like you describe, the pressure controller should typically be tuned for 3 times faster response (Ki) than the flow loop. Otherwise your system will just oscillate.

__________________
TANSTAAFL (If you don't know what that means, Google it - yourself)
Register to Reply Score 1 for Good Answer
Guru
Engineering Fields - Mechanical Engineering - New Member India - Member - New Member

Join Date: Aug 2008
Location: City of destiny, INDIA
Posts: 775
Good Answers: 67
#12
In reply to #11

Re: Dead Time and Process Lag in Control System

09/23/2012 12:20 PM

Thanks & GA KillowattO,

Bump test of FCV show about 3 sec dead time and hardly 2 sec lag time (Lag time could be much more if there is no default opening of FCV). Similarly for PCV also it can be found. I wanted to cross check it with some theoretical models if some one suggests. FCV and PCV both may have there own specific dead time and lag time. But here there is one more important factor. That is the time taken for pressure drop (after FCV opens) to travel 500 m upstream up to PCV to provide input to PCV to open (to make-up the pressure drop). How to calculate this time?

Register to Reply
Anonymous Poster #1
#13
In reply to #12

Re: Dead Time and Process Lag in Control System

09/25/2012 7:01 AM

Very approximate view....

  1. Velocity of sound in air ~ 330 m/s. Proportional to inverse square root of molecular weight.
  2. 28 for N2 versus 18 for NH4 gives 330/√(18/28) = 410 m/s.
  3. Time for pressure wave to travel 500m is 500/410 ~ 1.2 seconds.

Not surprising the valves have slow response compared to 1 second, since great risk of supporting an organ pipe oscillation with timed "puffs" (2.4 seconds for wave to travel to far end, then reflect back to valve).

From a different point of view, pipe contains ~ 200 cubic meters gas. Set intial flow rate works out as 4 cu m/second. So 2% of volume/second gives about 2% pressure drop/second.

Register to Reply
Guru
Engineering Fields - Mechanical Engineering - New Member India - Member - New Member

Join Date: Aug 2008
Location: City of destiny, INDIA
Posts: 775
Good Answers: 67
#14
In reply to #13

Re: Dead Time and Process Lag in Control System

09/25/2012 8:47 AM

Thanks Ano.Poster for your input.

Is the pressure waves travel at the same velocity as sound? If yes, then will it take same time to travel 500 m distance (opposite to the direction of flow) even if there is a restriction like pinched (partially open) ball valve in the the middle?

From a different point of view........ How 2% of volume/second gives about 2% pressure drop/second. I could not get your calculations.

Pipe volume for 500 m length is about 90 cubic meters. Set flow rate of 500 Nm3/min works out to 8.3 Nm3/sec or about 0.5 cu m/sec at 17 barg pressure and 30 C temp. Before FCV fall in pressure was observed at the rate of 0.14 bar/sec immediately after the flow started. Can you please redo the calculations with this information.

Register to Reply
2
Guru

Join Date: Dec 2010
Posts: 1686
Good Answers: 116
#15
In reply to #14

Re: Dead Time and Process Lag in Control System

09/25/2012 12:15 PM

Apologies, pritam, I did not log-on before sending post #13.

Pressure waves travel at the velocity of sound in the medium. When a wave hits a change of pipe diameter or a valve constriction, some of the energy is reflected, some is lost in friction in the obstruction and some passes onward. There is an acoustic theory, similar to electric transmission line theory, which explains this usefully for sound in pipes. One result of the theory is that a uniform transmission line looks like a resistor source (of a characteristic value for the line) in the short time view (theoretically always for an infinite length, loss-less, line). So a 100 ohm line, charged at 100 volts will deliver 100/100 = 1 ampere initially. Only when the voltage change step at the load has had time to travel back to the source does this current change. I believe there is a similar acoustic pressure/flow behaviour.

I had not taken your statement of flow in NTP units into account and did not adjust volume for pressure! I did not know how much of your pipe is less than 500 mm diameter and just supposed it was all 500 mm, getting a volume of 200 m³.

You wrote that the initial FCV position was set at half flow, which would be ~ 4 Nm³/s or 0.25 m³/s at 17 bar.

Considering the 500 m of pipe as a reservoir of 90 m³ with an outflow of 0.25 m³/s, no inflow, gives a pressure fall rate rate of 100 x 0.25/90 = 0.28%/second initially.

You give 0.14 bar/s in 17 bar which is 0.82%/second. Not a surprise it is more than 0.28%, since the inertia of the gas prevents an immediate steady state.

67model

Register to Reply Good Answer (Score 2)
Guru
Engineering Fields - Mechanical Engineering - New Member India - Member - New Member

Join Date: Aug 2008
Location: City of destiny, INDIA
Posts: 775
Good Answers: 67
#16
In reply to #15

Re: Dead Time and Process Lag in Control System

09/27/2012 12:37 AM

Thanks a lot 67model for an exhaustive but still a 'to the point' answer. It has cleared many of my doubts. It deserves many GA's, but I can offer only one.

In my question there are two control valves, 500 m apart. Both may have their own dead time & lag time depending on control characteristics. Pressure drop is caused by FCV at the end but PCV is sensing it 500 m away in upstream to respond. As you have rightly pointed out the rate of pressure drop may diminish while travelling upstream at the rate of velocity of sound, the response of PCV will be based on diminished one. As I mentioned about the restrictions like partially closed valve at #14, its effect may be alarming.

Based on your observations, I have following more questions:

1. Knowing the rate of pressure drop before FCV and pressure drop due to friction for piping, fittings & other components, can we roughly calculate % opening of ball valve in the middle?

2. Can we decide to take pressure before FCV as a feed to operate PCV? What could be the other problems assuming all the valves in between PCV & FCV are full bore ball valves and they are kept fully open position.?

I tries to paste a sketch of piping here, but could not succeed, will try to send with PM. I can describe in words below:

Start from 6" PCV, 6"+10" pipe with reducer (5 m), 10" ball valve, 10" check valve, reducer+20" pipe (200 m), 20" ball valve, 20" pipe (250 m), reducer+16" pipe (50 m), Unequal 'T'+12" pipe (40 m), reducer+8" pipe in several segments (5 m), 8" ball valve, 8" 'Y' strainer, 8" ball valve, 8" ball valve, 8" FCV and 8" ball valve at the end.

Register to Reply
2
Guru

Join Date: Dec 2010
Posts: 1686
Good Answers: 116
#17
In reply to #16

Re: Dead Time and Process Lag in Control System

09/27/2012 11:23 AM

No need for diagram, it is clear it is a complicated system!

You have never written the limiting requirements of your receiving consumer downstream of FCV. For example, maximum and minimum pressure or maximum and minimum flow. Also, how quickly changes will occur. An effective FCV is going to need a significant pressure differential.

Nor have you described the behaviour of the consumer demand, meaning if it is suddenly supplied with 4 m3/s or 12 m3/s [or +/- 1m3 /s change from 8 m3/s] what happens? Does the consumer suddenly demand 8 m3/s or does he go up in furnace size steps or wind open a valve over 10 seconds? If the demand is of 15 min duration, it is unlikely ramp up and down instantly.

Usually, a consumer demand is a "maybe" maximum (if they turn everything on together) or an average over a time interval.

I have read that our National Gas Grid has so much storage in pressurised pipes and deliberate storage reservoirs that inflow from the North Sea only has to balance out with consumption [or more relevant, the contracted delivery!] over a day.

Pity the electrical engineer - in the National Grid, loss of a 630 MW generator has to be made up by an increase of 300 MW over 10 seconds from a few others if the frequency is not to drop more than 0.5 Hz [over 0.5Hz drop some loads get cut off to balance generation loss]. The available energy reservoir capacity [mechanical inertia of gensets] is seconds.

To get back to main issue :

Your question 1 : I am sure pressure drops and even hand valve settings to give 8Nm3/s flow for a given inlet and outlet pressure under steady state can be calculated. I am pretty sure an "input" parameter of outlet rate of pressure drop would not be an easy parameter to apply in a mathematical or scale model.

Your question 2 : The pressure before FCV [call it Pf] could be taken as an electrical feed to practically eliminate sensing feedback lag. But consider the effect of a step change of Pf. The PCV would respond with a change of position, stepping up the inlet pressure. But it would still take 1.2 sec for that pressure step to travel 500m to Pf to get a feedback. In the "dead time" a block of extra gas has been put into the pipe, which would ideally match the increased consumer outflow, if not its kinetic energy is going to be turned into heat and pressure rise. So the sensing lag has been halved but not removed.

Folk have been dealing with these problems since they got the water mill and windmill. Starting up from rest suddenly by opening up the sail as quick as possible was soon found to cause trouble by sudden shocks and wear.

So it is not likely your system is expected to respond quickly all together.

Myself, I would approach this system on the basis that the 40m of 12" pipe is a reservoir available without any significant time lag to the FCV.

As noted in post #11, it is a bad idea to have two successive control loops with similar response times, there is a high risk of an oscillating interaction.

So if you make the FCV fast acting, can it meet the outlet variations, sufficiently quickly, AND the inlet pressure variation caused by an assumption that for a second or two there is no inflow to the reservoir? Remember the point above, that an FCV must have sufficient working pressure drop to operate.

If yes, the PCV can react more slowly to the demand, with a total lag of several seconds.

If no, it would seem you cannot meet the user requirement with the existing system.

Register to Reply Good Answer (Score 2)
Guru
Engineering Fields - Mechanical Engineering - New Member India - Member - New Member

Join Date: Aug 2008
Location: City of destiny, INDIA
Posts: 775
Good Answers: 67
#18
In reply to #17

Re: Dead Time and Process Lag in Control System

09/28/2012 11:03 AM

GA. Thanks a lot 67model for your response.

The requirements of receiving consumer downstream of FCV is intermittent for 15 min in an hour. Flow rate required is around 8 Nm3/s (+/-10%). Pressure before FCV is important, should be above 13 barg, else auto closure.

Earlier someone commented that PCV's response should be 3 times faster than FCV, may be due to the reasons that "the PCV can react more slowly to the demand, with a total lag of several seconds".

Register to Reply
Guru

Join Date: Aug 2007
Location: Earth - I think.
Posts: 2143
Good Answers: 165
#19
In reply to #18

Re: Dead Time and Process Lag in Control System

09/29/2012 3:36 PM

The "3 times faster" that I mentioned is a rule of thumb. The loops have to have a different frequency response, or the system will oscillate. If the flow loop is faster, and the pressure drops, then the flow loop cannot compensate for the lack of pressure. If the pressure loop is faster, then it will supply the flow loop with the required pressure to operate properly.

__________________
TANSTAAFL (If you don't know what that means, Google it - yourself)
Register to Reply Score 1 for Good Answer
Guru
Engineering Fields - Mechanical Engineering - New Member India - Member - New Member

Join Date: Aug 2008
Location: City of destiny, INDIA
Posts: 775
Good Answers: 67
#20
In reply to #19

Re: Dead Time and Process Lag in Control System

10/03/2012 1:55 AM

GA & thanks Kilowatt0 for clarification. Can you please comment on some of the unanswered questions raised in this discussion.

Register to Reply
Register to Reply 20 comments

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

67model (2); Anonymous Poster (1); Crabtree (1); Kilowatt0 (4); pritam (10); PWSlack (2)

Previous in Forum: Horn and Beacon Light Smoke Detector   Next in Forum: MPU

Advertisement