Documente Academic
Documente Profesional
Documente Cultură
1. INTRODUCTION
3
5
5
3. NEGATIVE FEEDBACK
4. PID CONTROLLER
10
6. CONCLUSTION
11
7. REFERENCES
12
1.Introduction
Use of feedback systems in industrial applications dates back to the 18 th
century, when James Watt invented centrifugal governor to sense the speed of an
engine, and then use it as a negative feedback to control the steam valve of the
engine, which regulates the speed of the steam engine. A century later, James
Clerk Maxwell made a mathematical model of this system, and presented it to the
Royal Society in 1868. In recent times, negative feedback systems can be found in
virtually any industrial application. These systems are called closed loop control
systems [1].
In contrast to the closed loop control systems, there are open loop control
systems. This type of system is cheaper than closed loop system, because there is
no need for sensors. These systems are lot less robust, and can be only used in
non-critical applications that dont have any disturbances, because they dont have
any knowledge on error they are making.
Error of system can be found by subtracting desired output value with
actual output value. This error is then fed back to the input of the system, which
then can correct error.
There are several types of control systems, such as PID controller or full
state feedback. There will be words on both control systems in later chapters.
Open loop systems are naturally stable, which is not the case with closed
loop control systems. Engineers and mathematicians invented several ways to
determine stability of closed loop control systems. When designing closed loop
control system, stability of the system must be taken into account.
Today, most controllers are digital, which removes some issues found in
their analog counterparts such as noise and price, while bringing some new issues
like finite precision and non-continuous operation.
To design some closed loop system, engineer must model it first. Models
can be represented in numerous ways, like:
- Transfer function representation
- State Space representation
- Block diagram
First chapter of this article is dedicated to various types of representations of a
system, second will be dedicated to negative feedback. In third chapter there will
be words on PID controllers, and fourth one will try to explain full state feedback.
To simplify matter covered by the article, we will focus only on Single input Single output (SISO) systems.
L ( f ( t ) ) = f ( t ) est dt (1)
0
Example:
Consider f (t)=1, Find Laplace transform of this function.
L ( f ( t ) ) = f ( t ) est dt
0
L ( 1 ) = 1est dt
0
est
L ( 1 ) =lim
s
T
L(1)=
1
s
Unit step
h(t)
Delay
t-
1
s
s
e
f ( t ) dt
1
F (s)
s
Integral
t
0
Derivative
d f (t)
dt n
s n F ( s ) sn i f (i1) (0)
i=1
Transfer function is defined as the ratio between the input and the output of the
system represented with Laplace transform (4).
H ( s )=
b0 s +b1
Y ( s)
= 2
(4)
X (s) s +a 0 s+ a1
Equation s 2 +a0 s +a1 =0 is called the characteristic equation of the system, and
it determines the behavior of the system.
The numerator of transfer function contains zeros of the system, and denominator
contains poles of the system. Poles and zeros can be real or conjugated-complex.
Performance of a system largely depends on the type of the poles. Figure 1 shows
the response of the system with different types of poles.
Note that all poles are in the left half plane. If all poles are in the left half plane,
then the system is stable, otherwise, the system is unstable and response of the
system diverges to infinity. Poles that are lying on imaginary axis make system
critically stable, and then system oscillates within some range.
In the example above, it is shown that block diagrams can have summers.
Blocks b0s and b1 are summed together, and then multiplied by the block on the
right. This block diagram representation is equivalent to the one shown in figure 2.
Block diagrams and transfer functions are interchangeable. Apart from summing
and multiplying, there are more block diagram operations, which are not on the
topic of this article.
because it is easy to estimate a model of the system knowing only inputs, outputs
and order of the system [3]. General form of a State space representation is given
by the two equations shown in (5) and (6).
q ( t )= Aq ( t ) + Bu ( t ) (5)
y (t )=Cq ( t )+ Du ( t ) (6)
Where:
-
A is the state matrix, which doesnt have to have any physical meaning
B is the input matrix
U(t) is input, which is function of time
C is the output matrix
D is direct transition (feedtrough) matrix [4]
We can substitute:
x 1= y
x 2= y = x1 (8)
So now, we have:
x 2 ( t )+ a1 x 2 ( t ) +a 0 x 1 (t )=u ( t )
x 2 ( t )=u ( t )a1 x2 ( t )a0 x 1 ( t ) (9)
][ ] [ ]
1 x 1 + 0 u ( t ) (10)
x ( t )= 0
a 0 a1 x 2 1
y ( t )= [ 1 0 ]
[]
x1
(11)
x2
State space representation of a system is not unique, meaning that one system can
have many different state space representations. This is good, because we can
choose State space representation which best suits our needs.
3.Negative feedback
Feedback occurs when the output of a system is fed back to the input. Negative
feedback is subtracting the output of a system with the input, reducing fluctuations
in the output. Negative feedback tends to increase robustness of the system,
linearity of the system, and decreases error of the system. Negative feedback also
removes the influence of disturbances on a system. Block diagram of a typical
negative feedback closed loop system is shown in figure 4.
More general example is given in figure 5, and its transfer function is given by
(13).
Y (s)
G(s)
=
(13)
U (s) 1+G ( S ) H ( S)
Block G(S) receives error that system made. u(t) is input of the system, also called
set point. Error of the system is defined as: e(t) = y(t)-u(t).
4.PID controller
H ( s )=K P 1+
Figure 7. Response of the system with various types of controllers (Setpoint is set to
10)
a) No controller, b) P controller system is unstable, c) PI controller system is
unstable, d) PID controller stable system without steady state error
In some cases, there is no need for all three actions of PID controller. In this
particular case, PD controller is more desireable than a full PID controller.
Response of the PD controller is given in figure 8.
5.Full
state
feedback
Full state feedback is used to tune closed loop system, so it can perform in the
desired manner. This type of feedback can make the system to be more responsive, or
to be less oscillative. Method employed in this feedback type is called Pole
placement, because the idea of the full state feedback is to choose desired poles that
dictates dynamics of the system being controlled. To design a full state feedback, all
states of the system must be measured. This is rarely done, because some states may
not have any physical meaning, there is no instrument that can measure some states,
or sensors are expensive. This can be solved with state observer. State observer is a
computer program that estimates states of a system from the input and the output of
the system. Full state feedback is shown in figure 9.
( s pi ) =0(17)
i=1
10
6.Conclustion
This article shows an importance of the closed loop control systems that are
used in the various industries across the world. It explains what is feedback, and
two most commonly used types of controllers. It shows methods of determinating
coefficients needed for the proper operation of controllers, and shows how to use
these controllers. Also, this article covers theory and mathematics needed to
understand the closed loop control systems.
11
7.References
[1] Bohdan T. Kulakowski, John F. Gardner, J. Lowen Shearer, Dynamic modeling
and control of engineering systems, Cambridge university press, 2007
[2] Web site, http://lpsa.swarthmore.edu/Representations/SysRepTF.html, accessed
06.12.2014
[3] Web site, http://www.mathworks.com/help/ident/ug/what-are-state-spacemodels.html, accessed 13.12.2014
[4] Web site, http://www.ni.com/white-paper/3782/en/, accessed 22.12.2014
[5] Web site, http://www.mstarlabs.com/control/znrule.html, accessed 23.12.2014
[6] Web site, https://noppa.aalto.fi/noppa/kurssi/as-74.2112/luennot/AS74_2112_chap_4__print_.pdf, accessed 23.12.2014
12