'. PHP_EOL; } elseif ( strpos( $page_path, "deutsch") !== false) { echo ''. PHP_EOL; } elseif ( strpos( $page_path, "francais") !== false) { echo ''. PHP_EOL; } elseif ( strpos( $page_path, "italiano") !== false) { echo ''. PHP_EOL; } ?>

Setpoint Lead-Lag Question and Answer

by , | Mar 24, 2014 | Services, Consulting & Training

Jim Cahill

Jim Cahill

Chief Blogger, Social Marketing Leader

I wanted to share this question and answer on setpoint lead-lag, from the Mentoring Engineers discussion group in the Emerson Exchange 365 community.

The question:

…one of the options you recommend for eliminating overshoot at setpoint changes is using a setpoint lead-lag setup. I cannot visualize the concept in my mind. In a Two Degrees of Freedom PID Structure you will have an idea of what beta and gamma do and where they are in the execution path.

For the Setpoint Lead-Lag setup I do not comprehend where the lead and where the lag act; in other words, what is led and what is lagged?

Greg McMillan, who generously donates his time to mentor young, process automation professionals responded:

To get a setpoint Lead-Lag, the PID setpoint would be passed through a Lead-Lag function block. A Lead-Lag block is normally used for dynamic compensation of feedforward signals. For setpoint changes we are using this block to moderate the step in the PID output from the proportional mode, the bump from the derivative mode, and to prevent immediately driving the PID output past its final resting value. The tuning settings that reduce the peak and integrated errors from unmeasured step disturbances to the process input maximize the step and bump in the PID output for setpoint changes making the approach to setpoint faster but causing excessive setpoint overshoot. Preventing overshoot is important in many applications and reducing abrupt movements in the PID output that could upset other loops & systems is important in gas volumes and utility headers.

In the frequency domain, the lead is a zero and the lag is a pole. The Laplace transform shows that the numerator term for the zero has the same form as the denominator term for the pole. If the lead time equals the lag time, the numerator (zero) and denominator (pole) cancel out and the output equals the input. If the lead time is zero, the output is simply the filtered input where the lag time is the filter time. If the lead time is nonzero but less than the lag time, there is a small step in the block output followed by the exponential approach to the final value of the input set by the lag (filter) time. If the lead time is greater than the lag time, there is a spike in the output that is greater than the input followed by an exponential decay to the final value of the input set by the lag (filter) time.

If the lead time is zero and the lag time is set equal to the PID reset time, the response of the PID should be similar to a PD on PV and I on Error structure or a Two Degrees of Freedom (2DOF) structure with beta and gamma both equal to zero. This will prevent overshoot and provide a smooth and gradual change for both the PID output and PV. The time to reach setpoint (rise time) is much longer.

For bioreactors, gas furnaces and reactors, and plug flow systems (e.g. pipes, static mixers, extruders, sheet lines) a smooth approach with no overshoot is much more important than rise time. Bioreactor cells are very sensitive to abrupt changes and to a temperature or pH higher than optimum. Gas and plug flow volumes have no primary process time constant to filter out abrupt changes in PID output and reach a final value relatively quickly without having to make an abrupt change in the PID output.

For large well mixed liquid volumes, the increase in rise time for setpoint changes in startup, transitions, and batch operations can appreciably reduce process capacity. The response of these volumes for continuous operations is near-integrating and for batch operations is essentially true integrating. For both types of operations on these volumes, lambda integrating process tuning rules are used. The inherent approach to setpoint is very slow due to a large primary process time constant or slow integrating process gain making it necessary to have large sudden change in the PID output to get to a significantly different setpoint in minutes rather than hours.

DeltaV Books Online PID BlockIf the lead time is set equal to 25% of the lag time, and the lag time is set equal to the reset time, you get a response with a good compromise between setpoint overshoot and rise time. Similar results can be obtained by a 2DOF structure with the beta equal to 0.5 and the gamma = 0.25. However, in my test results, the 2 DOF structure with any gamma setting > than zero resulted in some short term higher frequency oscillations in the PID output whereas with the Lead-Lag there was simply one bump. The 2DOF oscillations disappear quickly and may not exist for less aggressive tuning than what I used.

Since adding a Lead-Lag function block to all setpoint changes requires more effort than simply changing the PID structure to 2DOF, the 2DOF option may be better. Since you can achieve many of the other PID structures that have integral action by a simple change of the beta and gamma, one could say for flexibility, the 2DOF structure may be the future way to go.

You can go to DeltaV Books Online to find out more about the Lead-Lag block and PID structures.

Join-GroupThe Emerson Exchange 365 community, a peer-to-peer knowledge sharing community for users of Emerson Process Management technologies and solutions, is structured where you can select the tracks you want to join to receive updates from other track members. Popular tracks include DeltaV, Oil & Gas, Wireless, Flow, Analytical, and Level to name a few. Simply join/login to the community, and then join the group of interest

Popular Posts


Related Posts

Follow Us

We invite you to follow us on Facebook, LinkedIn, Twitter and YouTube to stay up to date on the latest news, events and innovations that will help you face and solve your toughest challenges.

Do you want to reuse or translate content?

Just post a link to the entry and send us a quick note so we can share your work. Thank you very much.

Our Global Community

Emerson Exchange 365

The opinions expressed here are the personal opinions of the authors. Content published here is not read or approved by Emerson before it is posted and does not necessarily represent the views and opinions of Emerson.