Control theory
|
- This article is about an engineering theory called control theory. There is also a sociological theory of deviant behavior that is called control theory.
In engineering and mathematics, control theory deals with the behaviour of dynamical systems over time. The desired output of a system is called the reference variable. When one or more output variables of a system need to show a certain behaviour over time, a controller tries to manipulate the inputs of the system to realize this behaviour at the output of the system.
Contents |
An example
As an example, consider cruise control. In this case, the system is a car. The goal of cruise control is to keep the car at a constant speed. Here, the output variable of the system is the speed of the car. The primary means to control the speed of the car is the amount of gas being fed into the engine.
A simple way to implement cruise control is to lock the position of the throttle the moment the driver engages cruise control. This is fine if the car is driving on perfectly flat terrain. On hilly terrain, the car will slow down when going uphill and accelerate when going downhill; something its driver may find highly undesirable.
This type of controller is called an open-loop controller because there is no direct connection between the output of the system and its input. One of the main disadvantages of this type of controller is the lack of sensitivity to the dynamics of the system under control.
Classical control theory
To avoid the problems of the open-loop controller, control theory introduces feedback. The output of the system y is fed back to the reference value r. The controller C then takes the difference between the reference and the output, the error e, to change the inputs u to the system under control P. This is shown in the figure. This kind of controller is a closed-loop controller or feedback controller.
Simple_feedback_control_loop.png
Image:simple_feedback_control_loop.png
A simple feedback control loop
If we assume the controller C and the plant P are linear, time-invariant and all single input, single output, we can analyze the system above by using the Laplace transform on the variables. This gives us the following relations:
- <math>Y(s) = P(s) U(s)\,\!<math>
- <math>U(s) = C(s) E(s)\,\!<math>
- <math>E(s) = R(s) - Y(s)\,\!<math>
Solving for Y(s) in terms of R(s), we obtain:
- <math>Y(s) = \left( \frac{PC}{1 + PC} \right) R(s)<math>
The term PC/(1 + PC) is referred to as the transfer function of the system. If we can ensure PC >> 1, then Y(s) is approximately equal to R(s). This means we control the output by simply setting the reference.
Stability
Stability (in control theory) means that for any bounded input over any amount of time, the output will also be bounded. This is known as BIBO stability (see also Lyapunov stability). If a system is BIBO stable then the output cannot "blow up" if the input remains finite. Mathematically, this means that for a continuous-time system to be stable all of the poles of its transfer function must
- lie in the left half of the complex plane if the Laplace transform is used
OR
- lie inside the unit circle if the Z-transform is used
This is not a contradiction! The Laplace transform is in Cartesian coordinates and the Z-transform is in circular coordinates and it can be shown that
- the negative-real part in the Laplace domain can map onto the interior of the unit circle
- the positive-real part in the Z domain can map onto the exterior of the unit circle
If the system in question has an impulse response of
- <math>x[n] = 0.5^n u[n]<math>
and taking the Z-transform (see Z-transform#Example 2 (causal ROC)) yields
- <math>X(z) = \frac{1}{1 - 0.5z^{-1}}\ <math>
which has a pole at <math>0.5 + j 0<math> (zero imaginary part). This system is BIBO stable since the pole is inside the unit circle.
However, if the impulse response was changed to
- <math>x[n] = 1.5^n u[n]<math>
then the Z-transform is
- <math>X(z) = \frac{1}{1 - 1.5z^{-1}}\ <math>
which has a pole at <math>1.5 + j 0<math> and is not BIBO stable since the pole is outside the unit circle.
Lastly, if the system response neither decays nor grows over time are referred to as marginally stable, and have non-repeated poles along the vertical axis (i.e. the real component is zero).
State space representation
Controllability and observability
See controllability and observability.
See also
- Adaptive control
- Control engineering
- H infinity
- Intelligent control
- Non-linear control
- Optimal control
- Process control
- PID controller
- Robotic unicycle
- Servomechanism
- State space (controls)
- Fractional order control
- Stable polynomial
Appendix A
Derivation of transfer function:
<math>Y(s) = P(s) U(s)\,\!<math> | (1) | |
<math>U(s) = C(s) E(s)\,\!<math> | (2) | |
<math>E(s) = R(s) - Y(s)\,\!<math> | (3) | |
(1) + (2) | <math>Y = P C E\,\!<math> | (4) |
(4) + (3) | <math>Y = P C ( R - Y )\,\! <math> | |
<math>Y = P C R - P C Y\,\! <math> | Expanding out ( R − Y ) | |
<math>Y + P C Y = P C R\,\! <math> | Moving P C Y to the left hand side | |
<math>Y ( 1 + P C ) = P C R\,\! <math> | Consolidating the common term Y | |
<math>Y = \frac{P C R}{1 + P C}<math> | Isolating out the term Y | |
<math>Y = \frac{P C}{1 + P C} R<math> | (5) |
fr:Automatique ja:制御理論 pl:Teoria sterowania th:ทฤษฎีระบบควบคุม