Lead-lag compensator
3868817
223206070
2008-07-03T01:27:31Z
76.112.206.139
[[WP:UNDO|Undid]] revision 223205465 by [[Special:Contributions/76.112.206.139|76.112.206.139]] ([[User talk:76.112.206.139|talk]])
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]].
== Applications ==
Lead-lag compensators influence disciplines as varied as [[robotics]],
[[satellite]] control, automobile diagnostics, [[laser]] frequency stabilization, and many more.
They are an important building block in analog control systems, and
can also be used in digital control.
== Theory ==
Both lead compensators and lag compensators introduce a [[Pole (complex analysis)|pole]]-[[Zero (complex analysis)|zero]] pair into the open loop [[transfer function]]. The transfer function can be written in the Laplace domain as
:<math>\frac{Y}{X} = \frac{s-z}{s-p} </math>
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. In a lead compensator, the pole is left of the zero in the [[Argand plane]], <math>|z| < |p|</math>,
while in a lag compensator <math> |z| > |p| </math>.
A lead-lag compensator consists of a lead compensator cascaded with a lag compensator. The overall transfer function can be written as
:<math> \frac{Y}{X} = \frac{(s-z_1)(s-z_2)}{(s-p_1)(s-p_2)}. </math>
Typically <math> |p_1| > |z_1| > |z_2| > |p_2| </math>, where ''z''<sub>1</sub> and ''p''<sub>1</sub> are the zero and pole of the lead compensator and ''z''<sub>2</sub> and ''p''<sub>2</sub> are the zero and pole of the lag compensator. The lead compensator provides phase lead at high frequencies. This shifts the poles to the left, which enhances the responsiveness and stability of the system. The lag compensator provides phase lag at low frequencies which reduces
the steady state error.
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.
== Implementation ==
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,
:<math>
Y = X - (z_1 + z_2) \frac{X}{s} + z_1 z_2 \frac{X}{s^2}+ (p_1+p_2)\frac{Y}{s} - p_1 p_2 \frac{Y}{s^2}.
</math>
In analog control systems, where integrators are expensive, it is common to group terms
together to minimise the number of integrators required:
:<math>
Y = X + \frac{1}{s}\left((p_1+p_2)Y - (z_1+z_2)X
+ \frac{1}{s}(z_1 z_2 X - p_1 p_2 Y)\right).
</math>
In analog control, the control signal is typically an electrical [[voltage]] or [[electric current|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 amplifier]]s ("op-amps") connected as [[Operational amplifier applications#Integrator|integrators]] and
[[Operational amplifier applications#Summing amplifier|weighted adders]]. In digital control, the operations are performed numerically.
The reason for expressing the transfer function as an [[integral equation]] is that
differentiating signals amplifies the [[noise]] on the signal, since even very small
amplitude noise has a high derivative if its frequency is high, while integrating a
signal averages out the noise. This makes implementations in terms of integrators
the most numerically stable.
== Intuitive explanation ==
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 transform|Laplace-domain]]
transfer function, a [[Complex number|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
<math>F(x) = A(x) + i B(x)</math>, where <math>A(x)</math> is the "Real Part" and <math>B(x)</math> is the "Imaginary Part" of
the single-variable function <math>F(x)</math>.
The "phase angle" of the network is the [[Complex number#The complex plane|argument]] of <math>F(x)</math>; in the left half plane this is <math>tan^{-1}(B(x)/A(x))</math>. If the phase angle
is negative for all signal frequencies in the network then the network is classified
as a "lag network". If the phase angle is positive for all signal frequencies
in the network then the network is classified as a "lead network". If the total network
phase angle has a combination of positive and negative phase as a function of frequency
then it is a "lead-lag network".
Depending upon the nominal operation design parameters of a system under an active
feedback control, a lag or lead network can cause [[Stability theory|instability]] and poor speed and
response times. A lead-lag compensator is then a component of the active feedback
control system responsible for correcting the phase of a lead-lag network as desired
to obtain a steady-state.
==References==
#Nise, Norman S. (2004); ''Control Systems Engineering'' (4 ed.); Wiley & Sons; ISBN 0-471-44577-0
#Horowitz, P. & Hill, W. (2001); ''The Art of Electronics'' (2 ed.); Cambridge University Press; ISBN 0-521-37095-7
#Cathey, J.J. (1988); ''Electronic Devices and Circuits (Schaum's Outlines Series)''; McGraw-Hill ISBN 0-07-010274-0
==See also==
* [[Proportional control]]
* [[PID controller]]
==External links==
* http://www.library.cmu.edu/ctms/ctms/extras/leadlag.htm
* http://www.engin.umich.edu/group/ctm/extras/lead.lag.html
* [http://www.sccs.swarthmore.edu/users/06/adem/engin/e58/lab6/index.php lead controller using Matlab]
* [http://www.mathpages.com/home/kmath249/kmath249.htm Lead-Lag Frequency Response] at MathPages
* [http://www.mathpages.com/home/kmath198/kmath198.htm Lead-Lag Algorithms] at MathPages
[[Category:Control theory]]