Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

3.

Lead/Lag Explanation

3. Lead/Lag
The output of a lead/lag function code equals the product of the time function and the input value. Specifications S3 and S4
provide lead (S3) or lag (S4) functions. Function code 3 also serves as a lead/lag filter.

Outputs

S1
S2 F (t)
(3 ) Blk Type Description
N

N R Output value with lead/lag function applied

Specifications

Spec Tune Default Type Range Description

S1 N 5 I Note 1 Block address of input

S2 N 0 I Note 1 Block address of track switch signal:


0 = track
1 = release

S3 Y 0.000 R Full Time constant T1 (lead) sec

S4 Y 0.000 R Full Time constant T2 (lag) sec


NOTES:
1.Maximum values are:9,998 for the BRC-100/200/300, IMMFP11/12
31,998 for the HC800, BRC-400/410, HPG800 and HAC

3.1 Explanation
Function code 3 causes the output of the function block to lead or lag changes in the input signal <S1>. The following
equation describes the operation:

S3   S1 –  S1 L  dt   S1 – Y L 
Y = Y L + -------------------------------------------
- + ----------------------------------
S4 + dt S4 + dt

where:
<S1> = Present input value.
<S1L> = Value of the input on the previous cycle.
S3 = Value of time constant T1 (lead) in
seconds.
S4 = Value of time constant T2 (lag) in seconds.
Y = Present output value.
YL = Value of the output on the previous cycle.
= dtModule cycle time (seconds).
The S2 term enables or disables this function. If <S2> is a logic 0, then the output equals the input <S1>. If <S2> is a logic
1, the lead or lag function is implemented.

3.1.1 Lag Function


To select the lag function, leave S3 at its initial value (0) and enter a number for S4. The equation then becomes:

dt   S1 – Y L 
Y = Y L + ---------------------------------
-
S4 + dt

S4 is the time constant term. This is the time required for the output of this function to reach 63.2 percent of the input value.
The output will not reach approximately 99 percent of the input value until the end of five time constants. In this application,
it will be five times S4 before the output reaches the input value. To calculate the S4 term needed for the output to equal the
input in a certain number of seconds (t), use the following equation:

S4 = --t-
5

2VAA000844R0001 Vol. 1 Rev. D 3-1


Lead Function 3. Lead/Lag

where:
S4 = Time constant term for function code 3.
=
Number of seconds for the output to reach about
t
99 percent of the input value.
5 = Number of time constants required for the output
to reach about 99 percent of the input value.
For example, for the output to reach the input level in 30 seconds, the S4 term needed would be:

S4 = 30
------ = 6
5

3.1.2 Lead Function


To select only a lead function, leave S4 at its initial value of zero and enter a number for S3.
The equation then becomes:

 S3   S1 –  S1 L   +  dt   S1 – Y L  
Y = Y L + ----------------------------------------------------------------------------------------------
dt

where:
<S1> = Present input value.
<S1L> = Value of the input on the previous cycle.
S3 = Time constant T1 (lead) in seconds.
S4 = Time constant T2 (lag) in seconds.
Y = Present output value.
YL = Value of the output on the previous cycle.
= dt Module cycle time (seconds).
The output is set to the value that the input will be in (S3) seconds if it continues to change at the same rate as it did during
the last cycle. The lead function is essentially equal to the derivative function except that the block output eventually equals
the input if the input remains constant long enough. The output of a derivative function is zero when the input is not
changing.

3.2 Applications
Figures 3-3 and 3-4 illustrate some general input and output signal shapes for a function code 3 used as a lag filter and as
a lead filter respectively. The input signals shown in Figures 3-1 and 3-1 are ideal waveforms for electronic circuits. Actual
outputs and inputs vary because Symphony function codes are preprogrammed algorithms.

IN P U T
S IG N A L S

(A ) S1 (A )
(3)
S2 F (t)
N

B LO C K AD D R ES S
OF
(B ) T R AC K S W ITC H (B )
S IG N A L
IN P U T S IG N A LS (S1 ) O U TPU T SIG N A LS (N )

T 01 58 4 A

Figure 3-1 Lag Filter

IN P U T
S IG N A LS

(A ) S1 (A )
(3 )
S2 F (t)
N

B LO C K AD D R ES S
OF
(B ) TR AC K S W IT C H (B )
S IG N A L
IN P U T S IG N A L S (S1 ) O U T PU T SIG N A LS (N )

T 01 58 5 A

Figure 3-1 Lead Filter

3-2 2VAA000844R0001 Vol. 1 Rev. D


3. Lead/Lag Applications

Figures 3-5 and 3-6 are simplified examples of using function code 3 in boiler applications. Figure 3-5 shows function code
3 used as a lag to delay decreases in air flow for a load decrease. Figure 3-6 shows function code 3 used as a lead/lag to
compensate for drum level shrink and swell due to changes in steam flow.

B O ILE R S1
D E M AN D S2 A IR
(1 0)
S3 F LO W
26 0 D E M AN D
S4

S1
A IR F LO W (3 )
S2 F (t)
C O N TRO L 250
IN AU TO
L AG
T 01 5 86 A

Figure 3-1 Lag to Delay Decreases in Air Flow on a Load Decrease

P ID
D RU M LE VE L S2 (1 9)
S ET PO IN T SP
S1 1 50
D RU M LE VE L PV
S3
TR
S4 S1 F E E DW AT E R
 (K )
TS (15 )
S2 FLOW
17 0 S ET PO IN T
S1 (3 )
S T E AM F LO W
S2 F (t)
F E E DW AT E R F L O W 1 60
C O N T RO L IN AU TO
LE AD
LAG
T 01 58 7 A

Figure 3-1 Lead/Lag to Compensate for Drum Level Shrink and Swell

2VAA000844R0001 Vol. 1 Rev. D 3-3


Applications 3. Lead/Lag

3-4 2VAA000844R0001 Vol. 1 Rev. D

You might also like