A lead–lag compensator is a component in a control system that improves an undesirable frequency response in a feedback and control system. It is a fundamental building block in classical control theory.
Lead–lag compensators influence disciplines as varied as robotics,satellite control, automobile diagnostics, LCDs and laser frequency stabilisation. They are an important building block in analog control systems, andcan also be used in digital control.
Given the control plant, desired specifications can be achieved using compensators. I, P, PI, PD, and PID, are optimizing controllers which are used to improve system parameters (such as reducing steady state error, reducing resonant peak, improving system response by reducing rise time). All these operations can be done by compensators as well,used in cascade compensation technique.
Both lead compensators and lag compensators introduce a pole–zero pair into the open loop transfer function. The transfer function can be written in the Laplace domain as
Y | |
X |
=
s-z | |
s-p |
where X is the input to the compensator, Y is the output, s is the complex Laplace transform variable, z is the zero frequency and p is the pole frequency. The pole and zero are both typically negative, or left of the origin in the complex plane. In a lead compensator,
|z|<|p|
|z|>|p|
A lead-lag compensator consists of a lead compensator cascaded with a lag compensator. The overall transfer function can be written as
Y | |
X |
=
(s-z1)(s-z2) | |
(s-p1)(s-p2) |
.
Typically
|p1|>|z1|>|z2|>|p2|
The precise locations of the poles and zeros depend on both the desired characteristics of the closed loop response and the characteristics of the system being controlled. However, the pole and zero of the lag compensator should be close together so as not to cause the poles to shift right, which could cause instability or slow convergence.Since their purpose is to affect the low frequency behaviour, they should be near the origin.
Both analog and digital control systems use lead-lag compensators. The technology used for the implementation is different in each case, but the underlying principles are the same. The transfer function is rearranged so that the output is expressed in terms of sums of terms involving the input, and integrals of the input and output. For example,
Y=X-(z1+z2)
X | |
s |
+z1z2
X | |
s2 |
+(p1+p
|
-p1p2
Y | |
s2 |
.
In analog control systems, where integrators are expensive, it is common to group termstogether to minimize the number of integrators required:
Y=X+
1 | |
s |
\left((p1+p2)Y-(z1+z2)X +
1 | |
s |
(z1z2X-p1p2Y)\right).
In analog control, the control signal is typically an electrical voltage or current(although other signals such as hydraulic pressure can be used).In this case a lead-lag compensator will consist of a network of operational amplifiers ("op-amps") connected as integrators andweighted adders. A possible physical realization of a lead-lag compensator is shown below (note that the op-amp is used to isolate the networks):
In digital control, the operations are performed numerically by discretization of the derivatives and integrals.
The reason for expressing the transfer function as an integral equation is thatdifferentiating signals amplify the noise on the signal, since even very smallamplitude noise has a high derivative if its frequency is high, while integrating asignal averages out the noise. This makes implementations in terms of integratorsthe most numerically stable.
To begin designing a lead-lag compensator, an engineer must consider whether the system needing correction can be classified as a lead-network, a lag-network, or a combination of the two: a lead-lag network (hence the name "lead-lag compensator"). The electrical response of this network to an input signal is expressed by the network's Laplace-domain transfer function, a complex mathematical function which itself can be expressed as one of two ways: as the current-gain ratio transfer function or as the voltage-gain ratio transfer function. Remember that a complex function can be in general written as
F(x)=A(x)+iB(x)
A(x)
B(x)
F(x)
The phase angle of the network is the argument of
F(x)
\arctanl(B(x)/A(x)r)
Depending upon the nominal operation design parameters of a system under an active feedback control, a lag or lead network can cause instability and poor speed and response times.