JPB Process Calcs

Strategy 17 of 24 · Tuning & Dynamics · Intermediate

Lead-Lag Compensation

The Timing Shaper

A lead-lag block shapes how fast a signal moves. It is not a delay, and transport delay needs a dead time block instead.

US and SI units Lead 1, lag 3: 10% step gives 3.3% at once

The setup

A lead-lag block changes how fast a signal moves. It has two time settings. The lead time makes the output jump ahead on a change, and the lag time makes the output ease toward its final value. The lag is the same smoothing that a simple filter gives.

FTLead/Lag
Flow transmitter FT sends its signal through a lead-lag block, and the shaped signal goes to the control valve on the process line.

It is common in feedforward control. When a disturbance arrives, the feedforward move has to match the way the disturbance reaches the process. A lead-lag block lets the feedforward move be quicker or slower than the raw measurement.

The reality

A lead-lag is not a time delay, though people often say it is. A delay holds the signal back and then releases it unchanged. A lead-lag starts moving at once, with a first jump and a settling curve.

The first jump is the step size times the lead divided by the lag. After that, the output moves toward the full step with the time constant of the lag. If the lead is bigger than the lag, the first jump overshoots and then falls back.

A true transport delay, such as the time for fluid to travel down a pipe, needs a dead time block. The time is the pipe volume divided by the flow, or the length divided by the velocity. The liquid line pressure drop calculator gives the velocity. The dead time trap pitfall describes what happens when dead time is hidden inside other settings.

The two blocks are often used together in feedforward. The dead time block holds the move until the disturbance would have arrived, and the lead-lag shapes the move after that. Tuning them takes a step test of the disturbance and a step test of the valve move, so the two paths can be matched.

Too much lead makes the output noisy, because lead is a form of derivative action. Keep lead below the lag unless a test shows the process needs more.

Run the numbers

A lead-lag has a lead of 1 minute and a lag of 3 minutes. The input steps by 10%.

US units:

SI units:

Where it goes wrong

Using a lead-lag where a dead time block is needed leaves the feedforward move out of step with the disturbance.

Too much lead adds noise and may overshoot.

Settings guessed without a step test often make the first response worse.

A lag that is longer than the process response makes the feedforward arrive late.

Changing the flow changes the transport delay, and a fixed setting is then wrong.

What to check in the field

  • Make a step in the input and plot the output to confirm the first jump and the time to settle
  • Confirm the lead is not larger than the lag unless a test calls for it
  • Check whether the dead time block follows the flow where the delay changes with rate
  • Compare the timing of the disturbance path and the valve path before setting either

Calculators that check it

Control Strategies are for awareness and training. Check real control designs against the process, the instrument data and a qualified control engineer.