Lead/Lag Compensators : Design + Demo
Table of Contents
Simulation
Your browser does not support the HTML5 canvas tag.
Time Domain Scope On/Off
Transfer Function Bode plot On/Off
The scope is clickable & draggable. More here.
Your browser does not support the HTML5 canvas tag.
Note: The simulator is not compatible with Internet Explorer 11 and below. Please use Chrome/Firefox/Safari instead.
Your browser does not support the HTML5 canvas tag.
Your browser does not support the HTML5 canvas tag.
Load scenario:
- Lead controller (Lead controller increases phase margin / reduces overshoot)
- Lag controller (Lag controller increases low-frequency gain)
How to run the simulation - 3 steps
- There are two preloaded scenarios: lead/lag compensator - select one
- Hit the "Run" button and observe the system response for both systems
- Modify the compensator gains to observe the effect on steady-state error and dynamic response in both time-domain and frequency-domain
Control System
The purpose of control system for a plan is to improve the following characteristics of the system:
- Improve gain or bandwidth
- Improve stability.
- Track complex reference signals (periodic or non-linear)
There are various types of compensators that achieve these objectives in a feedback control system. Two common types of compensators are lead and lag compensators. Both the compensators introduce a pole and a zero into the system. The transfer function of the compensator takes the form of:
In this article, the lead and lag compensators will be briefly discussed.
Lag Compensation
The compensator can be defined as a lag compensator if a > p. In a lag compensator, the low frequency gain is increased and this helps reduce the steady state error. The typical bode plot of a lag compensator is as shown below for an example compensator of:
It can be observed that at low frequencies the compensator has a high gain and the magnitude at high frequencies is insignificant. Thus, this type of compensator reduces the steady state error without affecting the high frequency transients.
Key fact about the compensator: The lag/lead compensator provides maximum lag near the center frequency but this corner (= center) frequency needs to be placed below the new gain cross-over frequency. The corner frequency is sqrt(a * p).
Design steps via root locus
- Determine the factor by which the steady state error constant must be increased for satisfactory steady state error.
- Place the compensator zero at 10% of the distance between the origin and the first pole or zero on the LHP from the origin.
- Pick system gain such that the dominant closed loop pole pair before compensation is changed minimally.
- Check transient response and adjust accordingly.
The main motivation of the lag compensator is to improve the steady state error without affecting the shape of the root locus of the uncompensated system.
Special case
A special case of the lag compensator is the PI controller when the pole is placed at the zero (i.e P=0):
For more details on PI compensation schemes, please see this article: PI Controller : Theory + Demo.
Lead Compensation
The compensator can be defined as a lead compensator if p > a. The compensator improves the transient performance of the system as it affects the high frequency components significantly. The typical bode plot of a lead compensator is as shown below for an example compensator of:
The bode plot indicates that the gain margin of the plant would be unaffected if a lead compensator is used but the phase margin would be improved. However, it is important to note that in a lead compensator as high frequency response has a high gain, noise at high frequency would also be amplified, and this is an issue in a practical system and appropriate care in the sensing system must be adopted.
Lead compensator Design
Add the compensator so that the closed loop transfer function has a pair of complex poles with the desired damping ratio and natural frequency.
The complex poles dominate the system response
- Determine the damping ratio for desired overshoot and resonant frequency for desired closed loop response time. Use this to identify desired pole.
- Determine the phase angle of the plant at the desired pole and place the pole such that it is 180 degrees from the plant.
- Place the zero such that the root locus has all the poles on either far left-hand plane or near the zeros.
- Determine the gain to satisfy steady state error requirement.
In the design process, it is key to go through step 3 several times to ensure proper overshoot. If required overshoot is not achieved after several trials, the damping ratio and resonant frequency would need adjustment.
Special case
A special case of the lead compensator is the PD controller when the zero is placed at the zero (i.e A=0):
Summary
| Lag compensator | Lead compensator |
|---|---|
| Magnitude compensator Improves the gain characteristic at the expense of phase characteristic Improves steady state response but slows transient response Acts as low pass filter Decreases bandwidth System more tolerant to high frequency noise |
Phase compensator Improves the phase characteristic at the expense of gain characteristic Speeds up transient response but hurts steady state response Acts as a high pass filter Increases bandwidth System more susceptible to high frequency noise |
Author
Tausif Husain
Version
Version of this article is 11/2/2017.