Control theory

From Example Problems
Jump to navigation Jump to search
For the sociological theory of deviant behavior, see Control theory (sociology).

In engineering and mathematics, control theory deals with the behavior 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 manipulates the inputs to a system to obtain the desired effect on the output of the system.

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 fuel 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.

The actual way that cruise control is implemented involves feedback control, whereby the speed is monitored and the amount of gas is increased if the car is driving slower than the intended speed and decreased if the car is driving faster. This feedback makes the car less sensitive to disturbances to the system, such as changes in slope of the ground or wind speed. This type of controller is called a closed-loop controller.

History

Although control systems of various types date back to antiquity, a more formal analysis of the field began with a dynamics analysis of the centrifugal governor, conducted by the famous physicist J.C. Maxwell in 1868 entitled "On Governors." This described and analyzed the phenomenon of "hunting" in which lags in the system can lead to overcompensation and unstable behavior. This caused a flurry of interest in the topic, which was followed up by Maxwell's classmate, E.J. Routh, who generalized the results of Maxwell for the general class of linear systems. This result is called the Routh-Hurwitz Criterion.

A notable application of dynamic control was in the area of manned flight. The Wright Brothers made their first successful test flights in December 17, 1903 and by 1904 Flyer III and were distinguished by their ability to control their flights for substantial periods (more so than the ability to produce life from an airfoil, which was known). Control of the airplane was necessary for its safe, economical, and economically successful use.

By World War II, control theory was an important part of fire control, guidance, and cybernetics. The Space Race to the Moon depended on accurate control of the spacecraft. But control theory is not only useful in technological applications.

Classical control theory

To avoid the problems of the open-loop controller, control theory introduces feedback. The output of the system is fed back to the reference value . 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. This is a so-called single-input-single-output (SISO) control system: example where one or more variables can contain more than a value (MIMO, i.e. Multi-Input-Multi-Output - for example when outputs to be controlled are two or more) are frequent. In such cases variables are represented through vectors instead of simple scalar values.

File:Simple feedback control loop.png
A simple feedback control loop

If we assume the controller C and the plant P are linear and time-invariant (i.e.: elements of their transfer function and do not depend from time), we can analyze the system above by using the Laplace transform on the variables. This gives us the following relations:

Solving for Y(s) in terms of R(s), we obtain:

The term is referred to as the transfer function of the system. If we can ensure , i.e. it has very great norm with each value of , then is approximately equal to . 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 linear continuous-time system to be stable all of the poles of its transfer function must

OR

In the two cases, if respectively the pole has a real part strictly greater of zero or a module strictly greater than one, we speak of asymptotic stability: the variables of an asymptotically stable control system always decrease from their initial value and do not show permanent oscillations, which are instead present if a pole has exactly a real part equal to zero (or a module equal to one). If a simply stable system response neither decays nor grows over time, and has no oscillations, it referred to as marginally stable: in this case it has non-repeated poles along the vertical axis (i.e. their real and complex component is zero). Oscillations are present when poles with real part equal to zero have also complex part not equal to zero.

Difference between the two cases are 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 Laplace domain can map onto the exterior of the unit circle

If the system in question has an impulse response of

and considering the Z-transform (see this example), it yields

which has a pole in (zero imaginary part). This system is BIBO (asymptotically) stable since the pole is inside the unit circle.

However, if the impulse response was

then the Z-transform is

which has a pole at and is not BIBO stable since the pole has a module strictly greater than one.

State space representation

See State space (controls).

Controllability and observability

See controllability and observability.

See also

Appendix A

Derivation of transfer function:

(1)
(2)
(3)
(1) + (2) (4)
(4) + (3)
Expanding out ( R − Y )
Moving P C Y to the left hand side
Consolidating the common term Y
Isolating out the term Y

(5)

de:Kontrolltheorie fr:Automatique fr:Régulation it:Teoria del controllo ja:制御理論 pl:Teoria sterowania th:ทฤษฎีระบบควบคุม