3-1 Control System Presentation
3-1 Control System Presentation
3-1 Control System Presentation
Examples.
INTRODUCTORY CONCEPTS
AND TERMS:-
System:
It is an arrangement or combination of different physical
components that are connected or related together to
form an entire unit to achieve a certain objective.
Control:
It is the process of regulation, direction and tracking.
Plant:
It is the portion of the system which needs to be
controlled, also called as controlled system.
Process:
It is a natural or artificial, voluntary progressing,
continuous operation or development marked by gradual
changes that succeed one another in relatively fixed way
to obtain a desired result.
Input:
It is a signal or excitation that is applied to a control system to get a
specified result. It is of two types:
Manipulated input: Input which is subject to our control.
B
L
O
C
K
D
I
A
G
R
A
M
O
F
A
N
A
U
T
O
P
I
L
O
T
S
Y
S
T
E
M
T
H
A
T
U
S
E
S
F
E
E
D
B
A
C
K
C
O
N
T
R
O
L
O
Positive feedback control systems:
Audio feedbackor acoustic feedback is
a common example of positive feedback. It
is the familiar squeal that results when
sound fromloudspeakersenters a closely-
placedmicrophone and gets amplified, and
as a result thesoundgets louder and louder.
To avoid this condition, themicrophone
must be prevented from "hearing" its
ownloudspeaker.
O
Example of a biological positive feedback loop is the
process ofblood clotting. The loop is initiated when
injured tissue releases signal chemicals that activate
platelets in the blood. An activated platelet releases
chemicals to activate more platelets, causing a rapid
cascade and the formation of a blood clot.
O
Negative feedback control systems:
1. Anegative feedback amplifier, or more commonly simply
afeedback amplifier, is anamplifierwhich uses negative feedback to
improve performance (gain stability, linearity, frequency
response,step response) and reduce sensitivity to parameter
variations due to manufacturing or environmental uncertainties.
2. Its operation is most easily seen in its use byJames Watt to control
the speed of hissteam engine. Two heavy balls on an upright frame
rotate at the same speed as the engine. As their speed increases they
move outwards due to the centrifugal force. This causes them to lift a
mechanism which closes the steam inlet valve and the engine slows.
When the speed of the engine falls too far, the balls will move in the
opposite direction and open the steam valve.
3. Many biological process (e.g., in thehuman
anatomy) use negative feedback. Examples of
this are numerous, from the regulating of body
temperature, to the regulating of
bloodglucoselevels. The disruption of
feedback loops can lead to undesirable results:
in the case of blood glucose levels, if negative
feedback fails, the glucose levels in the blood
may begin to rise dramatically, thus resulting
indiabetes.
F
E
E
D
B
A
C
K
L
O
O
P
I
N
A
B
I
O
L
O
G
I
C
A
L
C
O
N
T
R
O
L
S
Y
S
T
E
M
EXAMPLES:-
There are many examples for both open loop and closed loop control systems both in nature
and which are man made .
+
A MAN DRIVING A CAR:-
Consider the possibility in which a man drives a car blind folded . Then he is safe as
long as there is no traffic on the road . But without his eyes while driving a car in traffic , he
cant sense the mechanical motions like distance , speed , acceleration of his own vehicle and
that of others also . But when he is able to see , he can sense these motions . This information
is sent to brain which commands the limbs to act accordingly .
In the example discussed above , brain acts like a controller.
The motions which are sensed are the feedback signals . Therefore the case in which the man
drives with his eyes closed is an example for open loop control system . And the case in which
the man drives normally is an example for closed loop control system .
+
RESIDENTIAL HEATING SYSTEM:-
Consider the case of the residential heating system , which can be
controlled by using both open loop and closed loop control system .
Consider the heating which makes use of open loop control system
, whose basic structure is shown below;
Temperature
set point
Valve
Room
radiator
Steam
Outdoor
temperature
Open loop model:
Controlled room
temperature
In this system , the indoor temperature is variable which is to be controlled
and the outdoor temperature is main disturbance input.
The desired is set on a calibrated dial , which positions the valve
that admits the steam for circulation through the radiator . The valve dial
is calibrated at a certain temperature . When the value changes
significantly the controlled temperature will deviate from the desired
value by a large error and hence precise control isnt realized . The open
loop model is used for residential areas where control isnt very stringent
The open loop model can be converted to a closed loop model by adding the function of
measurement of the controlled temperature. Comparison of measured and desired values of
temperature makes the control logic element to make changes in the heating rate so as to obtain
the desired value .
To control the above system , a thermostat with a bimetallic temperature sensor and a
snap action switch to control a simple solenoid actuated steam valve is often used .This
controls the power supply to the solenoid . Generally , two cases arise when the measured
temperature isnt equal to the desired value .
If T , represent desired and measured temperatures respectively , then
When T < i.e., T is positive then switch closes , solenoid energized , steam valve opens
and temperature rises .
When T > i.e., T is negative then switch opens , solenoid de-energized , temperature
falls down due to heat transfer to surroundings .
LAPLACE TRANSFORMS
V.Vasudeven
07360
Mechanical department
WHAT ARE LAPLACE TRANSFORMS?
A Laplace transform is a type of
integral transform.
Plug one function in
0
s t
e dt
( ) f t
Get another function out
( ) F s
The new function is in a different domain.
( ) F s
is the Laplace transform of
( ). f t
Write
{
( ) ( ), f t F s L
0
s t
e dt
( ) f t ( ) F s
When
{
{
( ) ( ),
( ) ( ), etc.
y t Y s
x t X s
L
L
A Laplace transform is an example of an improper integral : one of
its limits is infinite.
0 0
( ) lim ( )
h
s t s t
h
e f t dt e f t dt
Define
A CALCULATION
Let
0 if
( )
1 if
t c
u t c
t c
<
'
'
L
Calculating the Laplace transform of the
Heaviside function is almost trivial.
Remember that
( ) u t c
is zero until
then its one.
, t c
We can use Laplace transforms to turn an
initial value problem
" 3 ' 4 ( 1)
(0) 1, '(0) 2
y y y t u t
y y
+
into an algebraic problem
2
2
1
( )*( 3 4) ( 1)
s
s
s e
Y s s s s
+
+ + +
Solve for y(t)
Solve for Y(s)
1
1
A sawtooth function
t
Laplace transforms are particularly effective
on differential equations with forcing functions
that are piecewise, like the Heaviside function,
and other functions that turn on and off.
I.V.P.
Laplace transform
Algebraic Eqn
If we solve the algebraic equation
2
2 2
( 1) ( 1)
( )
( 3 4)
s s
s s e e
Y s
s s s
+
and find the inverse Laplace transform of the solution, Y(s), we have the
solution to the I.V.P.
Algebraic Expression
Soln. to IVP
Inverse
Laplace
transform
The inverse Laplace transform of
is
4
4
3 3 2 1
5 80 4 16
4
3 2
5 5
( ) ( 1)( + ( ) )
( )( ( ) )
t t
e
e
t t
y t u t e e t
u t e e
2
2 2
( 1) ( 1)
( )
( 3 4)
s s
s s e e
Y s
s s s
+
4
4
3 3 2 1
5 80 4 16
4
3 2
5 5
( ) ( 1)( + ( ) )
( )( ( ) )
t t
e
e
t t
y t u t e e t
u t e e
is the solution to the I.V.P.
" 3 ' 4 ( 1)
(0) 1, '(0) 2
y y y t u t
y y
+
Thus
HOW DO WE TRANSFORM AN
DIFFERENTIAL EQUATION?
we need several nice properties of Laplace
transforms that may not be readily apparent.
First, Laplace transforms, and inverse
transforms, are linear :
{ { {
{ { {
1 1 -1
( ) ( ) ( ) ( ) ,
( ) ( ) ( ) ( )
cf t g t c f t g t
cF s G s c F s G s
+
+
L = L +L
L = L +L
for functions f(t), g(t), constant c, and
transforms F(s), G(s).
there is a very simple relationship
between the Laplace transform of a given
function and the Laplace transform of that
functions derivative.
{ {
{ {
2
'( ) ( ) (0),
''( ) ( ) (0) '(0)
f t s f t f
f t s f t s f f
L = L
L = L
and
These show when we apply differentiation
by parts to the integral defining the transform.
Second,
DIFFERENTIAL EQUATIONS
1 0
) 0 ( ' ) 0 ( ) ( ' " K y K y t r by ay y + +
) ( )] 0 ( [ )] 0 ( ' ) 0 ( [
2
s R bY y sY a y sy Y s + +
) ( ) ( ) ( )] 0 ( ' ) 0 ( ) [( ) (
1
) (
2
s Q s R s Q y y a s s Y
b as s
s Q
+ + +
+ +
) ( ) (
1
Y L t y
1
st
step
2
nd
step
3
rd
step
Now we know there are rules that let
us determine the Laplace transform
of an initial value problem, but...
HOW DO WE FIND INVERSE
LAPLACE TRANSFORMS?
First you must know that Laplace transforms
are one-to-one on continuous functions.
In symbols
{ {
( ) ( ) ( ) ( ) f t g t f t g t L =L
when f and g are continuous.
That means that Laplace transforms are
invertible.
INVERSE LAPLACE TRANSFORMS
If
{
( ) ( ), f t F s L
{
1
1
2
( ) ( )
c i
s t
i
c i
F s e F s ds
L
then
{
-1
( ) ( ), F s f t L
where
An inverse Laplace transform is an improper
contour integral, a creature from the world
of complex variables.
Thats why you dont see them naked very often. You usually just see what they
yield, the output.
In practice, Laplace transforms and inverse
Laplace transforms are obtained using tables
and computer algebra systems.
IMPULSE?
An impulse is the effect of a force that acts over a very short time interval.
Engineers and physicists use the Dirac delta function to model impulses.
A lightning strike creates an electrical
impulse.
The force of a major leaguers bat
striking a baseball creates a mechanical
impulse.
THE DIRAC DELTA FUNCTION
This so-called quasi-function was created
by P.A.M. Dirac, the inventor of quantum
mechanics.
0
( ) 0 ( ) 1 t a t a t a dt
when and
People use this thing all the time. You
need to be familiar with it.
THE LAPLACE TRANSFORM OF THE
DIRAC DELTA FUNCTION
{ ( )} 1/
a s
L t a e
DIRAC DELTA (UNIT IMPULSE) FUNCTION
O
Impulse of f(t), for
O
Generalized function
O
Laplace transform
'
0
1 ) ( and
otherwise 0
if
) ( a t
a t
a t
as
e a t L
)} ( {
1 0
t t t
t
t
Laplace transforms have limited appeal.
You cannot use them to find general solutions
to differential equations.
You cannot use them on initial value problems
with initial conditions different from
1 2
(0) , '(0) , y c y c etc.
Initial conditions at a point other than zero
will not do.
LAPLACE TRANSFORMS
O
Def:
O
Inverse:
O
Linearity:
O
Shifting Theorom:
0 ), ( for ) ( ) ( ) (
0
>
t t f dt t f e f L s F
st
) ( ) (
1
F L t f
)} ( { )} ( { )} ( ) ( { t g bL t f aL t bg t af L + +
)} ( { ) (
) ( )} ( {
1
a s F L t f e
a s F t f e L
at
at
+ +
) ( ) ( ) ( ) (
) ( ) ( ) (
2
2
1
1
1
1
12
1
11
2 1
0
1
1
+
+ +
+
+
+ +
+
+
+ +
+
+ +
+ +
) ( ) ( ) ( ) (
) ( ) ( ) (
2
2
2
1 1
1 2
12 12
2
11 11
2
2
0
1
1
EXISTENCE FOR LAPLACE TRANSFORM
satisfy
for some constant k and M.
Conclusion:
}
) (
{ ) (
1
0
s
s F
L d f
t
CONVOLUTION
O
Definition
O
Property
O
Application
t
d t g f t g f t h
0
) ( ) ( ) )( ( ) (
)} ( ) ( { ) )( * (
1
s G s F L t g f
) ( ) ( ) (
1
) (
2
s Q s R s Y
b as s
s Q
+ +
t
d t t q t y
0
) ( ) ( ) (
0 ) 0 ( ' 0 ) 0 ( ) ( ' " + + y y t r by ay y
1. Solve
2. Calculate integral
List of Laplace Transforms
f(t) L(f) f(t) L(f)
1
1
1/s
7
cos t
2
t
1/s
2
8
sin t
3
t
2
2!/s
3
9
cosh at
4
t
n
(n=0, 1,)
10
sinh at
5
t
a
(a positive)
11
e
at
cos t
6
e
at 12
e
at
sin t
1
!
+ n
s
n
1
) 1 (
+
+
a
s
a
a s
1
2 2
+ s
s
2 2
+ s
2 2
a s
s
2 2
a s
a
2 2
) ( +
a s
a s
2 2
) (
+ a s
LINEAR SYSTEM APPLICATIONS
O
Definition: A linear mapping of a set of input functions
into a corresponding set of output functions
O
Transfer function: ratio of the Laplace transform of the
output of the system to that of the input of the system
)} ( { ) ( t x f t y
TRANSFER FUNCTION PROPERTIES
O
Completely characterizes the systems (initially
relaxed)
O
Independent of inputs and outputs
O
Equals the Laplace transform of the impulse
response of system
O
Can be used to find the response to another system
input (using convolution or partial fraction)
THANK YOU
Path : It is a traversal of
connected branches in the
direction of the branch arrows.
Systems of type higher than two are not employed for two reasons:
1. The system is difficult to stabilize.
2. The dynamic errors for such systems tend to be larger than those
types-0, -1 and -2.
GENERALISED COEFFICIENT METHOD
By using convolution theorem and taylors series
expansion we can write steady state error as
Es=k0R(t)+k1dR(t)/dt+..+
kn d^nR(t)/dts
Where kn= lt s 0 d^n(1/1+G(s)H(s))
ds^n
MERITS:
# THIS METHOD GIVES
IMPORTANT INFORMATION
ABOUT VARIATION OF ERROR
WITH TIME.
Demerits:
# It gives error of only
standard signals.
# the value of error at zero
or infinity is not given by
this method.
# Applicable only for stable
systems.
CONCEPT OF BIBO
By : Alok Ranjan
WHY INVESTIGATE STABILITY?
O
The issue of ensuring the stability of a closed-
loop system is the most important to control
system design. An unstable feedback system is
of no practical value. A stable system should
exhibit a bounded output if the corresponding
input is bounded. This is known as BIBO stability.
CONCEPT OF BIBO
Example:
= x + u
y= x
Asymptotic stability:
Eigen values :1,-2 unstable
BIBO stability
T(s)=
poles =-2 stable
EXAMPLES
O
Stability and super-maneuverability of modern
fighter aircraft(figure1 )
O
Vibration control (sputnik 1 and 2)-(figure2 and 3)
STABILITY IN MODERN FIGHTER
AIRCRAFT
SPUTNIK 1
SPUTNIK 2
ROUTH HURWITZ STABILITY CRITERION:
This criterion is based on ordering the coefficients
of the
characteristic equation into an array , called the Routh
array as:
q(s)=a
0
s
n
+ a
1
s
n-1
+ a
2
s
n-2
+..+ a
n-1
s + a
n
= 0
s
n
: a
0
a
2
a
4
a
6
s
n-1
:
s
n-2
:
.
a
1
b
1
.
a
3
b
2
.
a
5
b
3
. . .
s
2
:
s
1
:
s
0
:
e
1
f
1
a
n
a
n
s
4
s
3
s
0
s
1
s
2
1 18
16 8
5
8*18 1*16
8
= 16
8*5 1*0
8
0
16*16 8*5
16
= 13.5
= 5
5
0
:
:
:
:
:
Ex:-1) Consider the fourth-order system with characteristic equation
s
4
+ 8s
3
+ 18s
2
+ 16s + 5 = 0
The Routh array for this system is as below:
The elements of the first column are all positive and hence the
system is stable.
The coefficients b
1
, b
2
, are evaluated as follows:
b
1
= (a
1
a
2
a
0
a
3
)/ a
1
;
b
2
= (a
1
a
4
a
0
a
5
)/ a
1
;
this process is continued till we get a zero as the last coefficient
in the third row. In similar way, the coefficients of 4
th
, 5
th
,.n
th
and (n+1)
th
rows are evaluated, e.g.,
c
1
= (b
1
a
3
a
1
b
2
)/ b
1
;
c
2
= (b
1
a
5
a
1
b
3
)/ b
1
; and
d
1
= (c
1
b
2
b
1
c
2
)/ c
1
;
d
2
= (c
1
b
3
b
1
c
3
)/ c
1
;
It is to be noted here that in the process of getting the Routh
array, the missing terms are regarded as zeros. Also all the
elements of any row can be divided by a positive constant during
the process to simplify the computational work.
ROUTH-HURWITZ STABILITY CRITERION:-
The Routh-Hurwitz stability criterion is stated as:
For a system to be stable, it is necessary and
sufficient that each term of first column of Routh array of its
characteristic equation be positive if a
0
> 0. If this condition is
not met, the system is unstable and number of sign changes of
the terms of the first column of the Routh array corresponds to
the number of roots of the characteristic equation in the right
half of the s plane.
Ex:-2) Consider the fourth-order system with characteristic equation
3s
4
+ 10s
3
+ 5s
2
+ 5s + 2 = 0
The Routh array for this system is as below:
s
4
s
3
s
0
s
1
s
2
3 5
5 10
2
10*5 3*5
10
= 3.5
10*2 3*0
10
3.5*5 2*10
3.5
= -0.5/3.5
= 2
2
:
:
:
:
:
By examining the elements of the first column, it is found that
there are two sign changes. Therefore the given system is unstable
having two poles in the right half of s-plane.
Special cases:
Occasionally, in applying the Routh stability criterion,
certain difficulties arise causing the breakdown of the Rouths
test. The difficulties encountered are generally of the following
types:
Difficulty 1: When the first term in any row is zero while rest of
the row has at least one non zero term.
Because of this zero term, the terms in the next row
become infinity and Rouths test breaks down. The following
method is used to overcome this difficulty:
O
Substitute a small positive number for the zero and proceed to
evaluate the rest of the array. Then examine the signs of the first column
by limiting 0.
Ex:-3) Consider the following with characteristic equation
s
5
+ s
4
+ 2s
3
+ 2s
2
+ 3s + 5 = 0
The Routh array for this system is as below:
s
4
s
3
s
0
s
1
s
2
1
2
-2
5
2* +2
5
-4-4 -5
2
2+2
-2
5
:
:
:
:
:
s
5
1
: 2 3
0
It is seen that since the first element in the third row is zero it is
replaced by and proceeded. There are two sign changes in the
first column. Therefore the given system is unstable having two
poles in the right half of s-plane.
Difficulty 2 : When all the elements in any row of the Routh array
are zero.
This condition indicates that there are symmetrically
located roots in the s-plane .The polynomial whose coefficients
are the elements of the row just above the row of zeros in the
Routh array is called an auxiliary polynomial. Because of a zero
row, the Rouths test breaks down. This situation is overcome by
replacing the row of zeros in the Routh array by a row of
coefficients of the polynomial generated by taking the first
derivative of the auxiliary polynomial.
Ex:-4) Consider the following with characteristic equation
s
6
+ 2s
5
+ 8s
4
+ 12s
3
+ 20s
2
+ 16s + 16 = 0
The Routh array for this system is as below:
s
5
s
4
s
3
1
12
0
2
0
12
16
:
:
:
s
6
2
: 8 20 16
16
Since the terms in the third row are zero the Rouths test breaks.
Now the auxiliary polynomial is formed from the coefficients of
the s
4
-row, which is given by,
A(s) = 2s
4
+ 12s
2
+ 16
The derivative of the polynomial with respect to s is
d
ds
A(s) = 8s
3
+ 24s
The zeros in the third row are now replaced by the coefficients 8 and 24. The Routh
array then becomes
s
5
s
4
s
3
1
12
24
2
8
12
16
:
:
:
s
6
2
: 8 20 16
16
s
1
s
0
6
16
:
:
s
2
8/3
: 16
It is seen that there is no sign change in the first column of the new array. By
solving for the roots of auxiliary polynomial
2s
4
+ 12s
2
+ 16 =0
We find that the roots are s=j2 and s=j2. These two pairs of roots are also
the roots of original characteristic equation. Since there is no sign in the new
array formed with the help of the auxiliary polynomial , we conclude that no
root of characteristic equation has positive real part. Therefore the system under
consideration is limitedly stable.
APPLICATIONS OF ROUTH-HURWITZ CRITERION TO
LINEAR FEED BACK SYSTEMS:
O
The Routh stability criterion is frequently used for the
determination of the condition of stability of linear feedback
systems as shown in the in the following example:
Ex -5):-
Consider the closed loop transfer function of the system as
C(s)/R(s)=K/{s*(s
2
+ s + 1)*(s + 4)+K}
Then , the characteristic equation becomes,
s*(s
2
+ s + 1)*(s + 4)+K=0
s
4
+ 5s
3
+ 5s
2
+ 4s + K=0
s
4
s
3
s
0
s
1
s
2
1 5
4 5
K
21/5
84/5 5K
21/5
K
:
:
:
:
:
K
Applying Routh-Hurwitz stability criterion for the above
system:
Since for a stable system, the signs of elements of
the first column of the Routh array should be all positive ,
the condition of system stability requires that,
K > 0 and
(84/5-5K) > 0
Therefore for stability , K should lie in the range
84/25 > K > 0
When K=84/25 , there will be a zero at the first entry in
the fourth row of the Routh array . This corresponds to the
presence of a pair of symmetrical roots . Therefore
K=84/25, will cause sustained self oscillations in the
closed
loop system .
LIMITATIONS OF ROUTH-HURWITZ
CRITERION:
Routh Hurwitz criterion has the following disadvantages :
O
It gives only the number of roots in the right half of the s-
plane .
O
It gives no information as regards the values of the roots
and does not distinguish between real and complex roots .
O
It cant be used for characteristic equations containing
exponential , trigonometric coefficients .
O
It is very complicated . It is time consuming for higher order
systems .
O
It becomes tough to predict marginal stability for bigger
systems .
STATE VARIABLE METHODS
PRESENTED BY
K.RAJASEKHARA REDDY(7837)
BIOTECHNOLOGY
DEFINITIONS:
STATE VARIBLES IN A SYSTEM
system
State
varibles(x1,x2,x3)
m inputs p outputs
STANDARD STATE FORM EQUATION
STANDARD STATE FORM EQUATION
EXAMPLE WITH GENERAL CIRCUIT
CIRCUIT DIAGRAM
EQUATIONS:
i1+i2+i3=0
i1+i2+c dv/dt =0
L1 di1/dt +i1R1+(e-V)=0
L2 di2/dt +i2R2-V=0
dV/dt=x1=(-1/c)(i1+i2)
di1/dt=x2=(-1/L1)(i1R1+e-V)
di2/dt =x3=(-1/L2)(i2R2-V)
STATE EQUATION FROM PREVIOUS
EQUATIONS
x1 0 -1/c -1/c x1 o
x2 = 1/L1 R1/L1 0 x2 + -1/L1 u
x3 1/L2 0 R2/L2 x3 0
Consider the voltage and current in R2 as output
variables y1,y2
y=Cx+Du
INPUT STATE OUTPUT EQUATION
y1 0 0 R2 x1
= x2
y2 0 0 1 x3
TRANSFER FUNCTION FROM STATE
VARIABLE MODELS
x=Ax+Bu
y=Cx+Du
S*x(s)-x(0)=A*x(s)+B*u(s)
(sI-A)*x(s)=B*u(s)
x(s)=(1/(sI-A))*B*u(s)
y(s)=c/(sI-A)*B*u(s)+D*u(s)
Transfer function=y(s)/x(s)=(c/(sI-A))*B+D
WHY WE GO FOR STATE VARIABLE
TECHNIQUE
ADVANTAGES OF PI CONTROLLER
The integral term of the PI controller causes the steady
state error to be zero for a step input
LIMITATION OF PI CONTROLLER
The problem with using a PI controller is
that it introduces a phase-lag. This means
that the phase margin (a measure of
stability) decreases. So careful design
considerations with respect to the gain must
be considered.
APPLICATION OF PI CONTROLLERS
O
THEY ARE USED IN FINDING AIR FLOWS
MOTOR POSITIONING IN ROBOTS ETC
PROPORTIONAL PLUS
DERIVATIVE CONTROLLER
By
Akhilesh Kumar
Proportional-Derivative control is useful for fast response controllers that do
not need a steady-state error of zero. Proportional controllers are fast.
Derivative controllers are fast. The two together is very fast.
1. Proportional action
Provides an instantaneous response to the control error.
This is useful for improving the response of a stable system but cannot
control an unstable system by itself.
The gain is the same for all frequencies leaving the system with a nonzero
steady-state error.
INTRODUCTION:
2. Derivative action:
Derivative action acts on the derivative or rate of change of the control error.
This provides a fast response, as opposed to the integral action, but cannot
accommodate constant errors (i.e. the derivative of a constant, nonzero error is 0).
Derivatives have a phase of +90 degrees leading to a predictive response.However,
derivative control will produce large control signals in response to high frequency
control errors.
Combination of proportional and derivative:
Proportional-Derivative or PD control combines proportional control and
derivative control in parallel.
where
is the proportional control gain and
is the derivative gain or derivative time.
DESIGN:
Kp
Kd s
R(s)
C(s) E(s)
+
_
+
+
Wn
s(s+2*Wn*e)
The block diagram of PD controller is shown below:
Output, C(s)= (Kp + sKd)E(s)
OP-AMP REALIZATION OF PD CONTROLLER:
R1
R2
R
R
E
E
Transfer function of the circuit : E/E= R2/R1 + R3*C*s
R
R3
C
AN PRACTICAL EXAMPLE:
Consider the figure shown below:
controll
er
J
Ia= constant
Tw
Tm,Bm
B
Br
Rf
Lf
V
The figure shows an electromechanical servo where
Tm = Motor Torque
J = Inertia
Tw = Torque disturbance
V = Viscous friction coefficient
The damper torque on J, due to V, behaves exactly like a derivative control mode in that it
always opposes velocity dB/dt with a strength proportional to dB/dt, making motion less
oscillatory.
Solving the system and considering second order characteristic equation, we get
Wn = (K/J) and e = (Td/2) * (K/J)
If Td > 0, motor torque is felt by the load similar to mechanical viscous
damping torque. The derivative control is hence interpreted as pseudo-friction
effect.
The block diagram of the given system is as shown below:
Kp
Kc(1+Td*
s)
1/R
f
Kt
1/Js*
s
Kp
Tw
B Br
+
_
+
+
If we change the system by using a proportional controller in the forward path and
adding derivative mode at the controlled variable B.
And comparing derivative control applied to system error with that to the controlled
variable. We find the similar effect on characteristic equation. However , derivative
control has more violent response to sudden changes due to derivative term Brs
presence.
If we study the effect of derivative control on steady state errors (say for a unit step
disturbance with Br= zero, we conclude that :
The performance is unaffected by the derivative mode.
However, there is an indirect method for gaining improvements in steady state accuracy
i.e. by proper choice of derivative mode allows the use of higher values of proportional
gain, thereby improving the steady state accuracy.
EFFECTS OF PD CONTROL:
1. Improving damping and reducing maximum
overshoot.
2. Reducing rise time and settling time.
3. Increasing Bandwidth.
4. Possibly accentuating noise at higher
frequencies.
5. Possibly requiring a relatively large capacity in
implementation.
APPLICATIONS:
1. Fast steering mirror.
2. Helicopter Hover.
3. Inverted pendulum.
4. Mixing tank.
5. Vibration Isolation.
6. Simple offline least squares system identification.
ROOT LOCUS
(THEORY)
Consider the following standard control system,
C(s)
G(s)
H(s)
R(s)
error
1+ KG(s)H(s)
Where K is varied
Transience and stability of a system depends upon its CLOSED LOOP
POLES.
To build a better system, movement of poles can be adjusted by modifying
the system parameters.
The ROOT LOCUS method thus is of help.
What is a ROOT LOCUS?
Plot of the LOCI of the closed loop poles as a function of the open loop
gain (K), where K is varied from infinity to infinity
When,
K is varied from infinity to zero, it is a direct root locus.
K is varied from zero to infinity, it is a inverse root locus.
There are 8 steps to constructing a ROOT LOCUS and must be followed
in order to reach a conclusion
RULE 1:
Root locus is always symmetrical to the x-axis or the real axis.
Roots are either real or complex conjugate pairs or both.
Hence the roots or poles and zeroes of the equation are found first.
Say,
G(s)=_________(s+1)___
(s^2 + 4s +5)(s+3)
So the poles of the equation are
s+3=0, s=-3
s^2 +4s+5=0 s=-2+I and -2-I
And the poles are
s+1=0 s=-1
CONSTRUCTION OF A ROOT LOCUS
RULE 2: Number of LOCI
If the number of poles be n and the number of zeroes be m.
If n>m , then
Total number of loci= n
Each locus starts from a pole and ends in a zero.
So, number of loci that start from a pole and end in infinity is n-m.
E.g. in the previous case
Total number of loci=3
And number of loci starting from a pole and end in infinity is 3-2=1
Rule 3: Real axis loci
Some of the loci will lie on the real axis.
A point on the real axis will lie on the root locus if and only if,
Number of poles and zeroes to the right is odd
RULE 4: Angle of asymptotes
Mostly, number of poles > number of zeroes. i.e. n>m
Hence, n-m branches move to infinity, along the asymptote.
Asymptote: It is defined as a line on the root locus which
converges at infinity.
The angle of asymptote is given by,
Theta= (2*q + 1)*180 / n-m for K>0
Theta= (2*q)*180 / n-m for K<0
Where q=0,1,2.n-m-1
e.g. Using the same example as before we see that,
Q can take 0,1 as the values. N-m=2
Theta=90, 270 degrees.
RULE 5: Centre of asymptotes
Since knowledge of only asymptote angle is insufficient, the location of
asymptotes in the s-plane are also important
The point where the asymptote touches the real axis is known as the centroid.
Centroid= [sum(real part of poles)- sum(real parts of zeroes)]/(n-m)
e.g. In the above example
G(s)=_________(s+1)___
(s^2 + 4s +5)(s+3)
sum(real part of poles) = -2+(-2)+(-3)= -7
sum(real parts of zeroes) = -1
n-m =2
Centroid= (-7+1)/2= -3
RULE 6: break away and break-in point
Break-in point is defined as the point where the root locus enters real axis.
Break away point is defined as the point where the root locus comes out of the real
axis.
Break away & break in points are points on the real axis at which multiple roots of
the characteristic equation occur.
Observation: If there are 2 adjacently placed poles on the real axis and the real axis
is a part of the root locus, hence minimum 1 break away point exists between the 2
poles.
1+ G(s)H(s)=0; we get a relation in terms of K.
-dk/ds=0, gives the break away point.
e.g. G(s)H(s)=K / s^2 + 4s+5
Hence,
s^2+4s+5+K=0, and K=(-s^2+4s+5)
-dk/ds=0, 2s+4=0
hence, s=-2.
RULE 7: Intersection of root locus with jw axis.
To calculate the intersection with jw axis, this is followed
1.Construct 1+G(s)H(s)=0
2.Develop the routh array in terms of K
3.Find K value for which routh array contains a term of zeroes.
4.Frame auxiliary equation with the help of coefficients from the row above the row of
zeroes.
5.Substitute the K value found in step 2, equate the equation to zero, find the value of
s.
The roots of the equation give the intersection points.
e.g. say G(s)H(s)= K/s*s+1*s+3
Characteristic equation will be s^3+ 4s^2 +3s+K=0,
Routh array s^3: 1 3
s : 4 K
s^0: (12-K)/4..hence K-12=0 K=12
Substituting K=12 in the auxiliary equation, 4s^2+K=0,
hence we get K=(+or-) root(3)i , which are the intersection points.
RULE 8: Angle of departure and angle of arrival.
The root locus always leaves a complex pole, at an angle known as the departure
angle given by,
Theta=180+ arg( G(s)H(s) )
The root locus always arrives at a complex zero, at an angle known as the arrival
angle.
Theta=180- arg( G(s)H(s) ),
Where G(s)H(s) is the angle excluding the zero where the angle has the be
calculated
Steps of a ROOT LOCUS method:
1.Determine the branch number ending at infinity of the loci using rule 1.
2.Plot the poles and zeroes.
3.Find the real axis loci using dark lines.
4.Find the asymptotes and their angles using rule 3.
5.Using rule 4 determine the asymptotes centre and draw step 4 and step 5.
6.Calculate the break in or breakaway points.
7.Calculate angle of departure and angle of arrival using the rule.
8.Determine the jw crossover if root locus has complex poles and zeroes.
By
K S Venkatakrishnan
7328
Mechanical Engineering
FREQUENCY
FREQUENCY
DOMAIN ANALYSIS
DOMAIN ANALYSIS
BY
T V D .GOWTHAM
ROLL NO -7356
B.TECH
MECHANICAL ENGINEERING
FREQUENCY RESPONSE
Bode plots
Polar plots
Nyquist plots
1. INTRODUCTION
2. ILLUSTRATION
3. GUIDELINES FOR A POLAR PLOT
4. SIMPLE PLOTS
5. STABILITY OF POLAR PLOT
6. ADVANTAGES OF FREQUENCY
RESPONSE OVER TIME RESPONSE
ANALYSIS
POLAR PLOT
A POLAR PLOT IS DEFINED AS THE LOCUS OF GH(JW) PHASOR
IN POLAR REPRESENTATION WHEN W CHANGES FROM INFINITY
TO ZERO AND THE PLOT IS IN GH(JW) PLANE
O
Here the plot is between IG(jw)I & IG(jw) as a function of
w
O
This is used in determining the stability of closed loop
system from its open loop frequency response .For closed
loop system stability, open loop transfer function is G(s)
H(s) instead of G(s) unless H(s) is 1.Unless stated above
the open loop tranfer function is G(s).
ILLUSTRATION OF POLAR PLOTS
G(s)H(s) = K (s+a)/s(s+b) (s+c)
Replacing s by jw ,we have
G(jw)H(jw)= K(a+jw)/jw(b+jw)(c+jw)
= lGH(jw)l F(w) is called polar representation
lGH(jw)l is called magnitude and F(w) is called phase angle
lGH(jw)l = K(a^2+w^2)^.5 /jw(b^2+w^2)^.5 (c^2+w^2)^.5;
F(w) = arg(a+jw)-arg(b+jw)-arg(c+jw)-90
Let us suppose GH(s) =K/(s+4)(s+6)(s+9)
putting s =jw
GH(jw) = K/(jw+4)(jw+6)(jw+9)
= K/{(16+w^2)^.5 arg(4+jw) (36+w^2)^.5
arg(6+jw) (81+w^2)^.5 arg(9+jw)}
Next step is to variation of w from infinity to 0
GUDELINES TO DRAW THE POLAR PLOTS
1.IDENTIFY G(s)H(s)
2.APPLY W TENDS TO INFINITY BY CONSIDERING
ONLY HIGHER ORDER TERMS
3.APPLY W TENDS TO ZERO BY CONSIDERING ONLY
LOWER ORDER TERMS
4.CONSIDER W=1 AS A TRAIL POINT AND GIVE THE
LOCATION OF ITS MAGNITUDE AND PHASE ANGLE
5.NOW GIVE THE APPROXIMATE SHAPE OF POLAR
PLOT IN GH(w) PLANE
6.APPLY POLAR PLOT ANALYSIS TO IDENTIFY THE
OBSERVED STABILITY AND DEGREE OF STABILITY
OF CONTROL SYSTEM
FOR G(s) = K/[(s+4)(s+6)(s+9)] POLAR PLOT IS
Similarly for the following we get the corresponding graphs in polar plane
and X-Y PLANE
. G(s)H(s)= (1+sT)^-1
SIMPLE PLOTS OF THE FOLLOWING FUNCTIONS
Polar plot of G(s)=1/(S+2)
First substitute s = j in G(s)
2
tan ) (
4
1
) (
1
2
+
j G j G
polar plot for the system with
) 2 )( 1 (
10
) (
+ +
s s s
s G
) 2 )( 1 (
10
) (
+ +
j j j
j G
) 2 ( ) 1 (
10
) (
2 2
+ +
j G
1 1
tan
2
tan 90 ) (
j G
The plot is shown in Fig
STABILITY ANALYSIS OF POLAR PLOTS
HERE WE ARE CONSIDERING CHARACTERISTIC EQUATION
1+GH(jw) = 0 WHERE (-1,J0) IS CONSIDERED AS ORIGIN AND AS
A CRITICAL POINT W.R.T CLOSED LOOP STABILITY
p jw jw
z jw K
jw G
B
20log|G(jw) = 20logK + 20log|(jw/z+1)| - 20log|jw| -
20log|jw/p + 1|
The gain term, 20logK
B,
is just so many
dB and this is a straight line on Bode paper,
independent of omega (radian frequency).
The term, - 20log|jw| = - 20logw, when plotted
on semi-log paper is a straight line sloping at
-
20dB/decade. It has a magnitude of 0 at w = 1.
0
20
-20
=1
-20db/dec
wlg
Poles, zeros and bode plots
The term, - 20log|(jw/p + 1), is drawn with the
following approximation: If w < p we use the
approximation that 20log|(jw/p + 1 )| = 0 dB,
a flat line on the Bode. If w > p we use the
approximation of 20log(w/p), which slopes at
-20dB/dec starting at w = p. Illustrated below.
It is easy to show that the plot has an error of
-3dB at w = p and 1 dB at w = p/2 and w = 2p.
One can easily make these corrections if it is
appropriate.
0
20
-20
-40
= p
-20db/dec
wlg
0
20
-20
-40
= z
+20db/dec
When we have a term of 20log|(jw/z + 1)| we
approximate it be a straight line of slop 0 dB/dec
when w < z. We approximate it as 20log(w/z)
when w > z, which is a straight line on Bode paper
with a slope of + 20dB/dec. Illustrated below.
wlg
STRAIGHT-LINE AMPLITUDE PLOT
At every value of s where = x
n
(a zero), increase
the slope of the line by per decade.
At every value of s where = y
n
(a pole), decrease
the slope of the line by per decade.
"unstable" (right half plane) poles and zeros (Re(s) > 0) have
opposite behavior
flatten the slope again when the phase has changed by degrees
(for a zero) or degrees (for a pole),
After plotting one line for each pole or zero, add the lines together to
obtain the final phase plot; that is, the final phase plot is the
superposition of each earlier phase plot.
ADVANTAGES
O
In the absence of a computer, a bode plot
can be sketched by approximating the
magnitude and phase with right line
segments.
O
Gain crossover, phase crossover, gain
margin and phase margin are more easily
determined on the bode plot than the other
plots
O
For design purposes, the affect of adding
controllers and their parameters are more
easily visualized here.
DISADVANTAGES
O
Absolute and relative stability of only minimum
phase systems can be determined from bode
plots
O
They are useful only for stability studies of
systems with minimum phase loop transfer
functions
ADVANTAGES OF FREQUENCY RESPONSE OVER TIME
RESPONSE ANALYSIS
We can use the data obtained from measurements on the physical system
without deriving its mathematical model
Frequency response tests are simple and canmake use readily available
sinusoidal signal generators
DIGITAL CONTROL
SYSTEM
Ashique Poyilil
7308
Mechanical engineering
238
O
Digital Control System - (DCS) A digital computer used
for real-time control of a dynamic system, usually in an
industrial environment, possibly as part of a
Supervisory Control and Data Acquisition (SCADA)
system.
O
A DCS samples feedback from the system under
control and modifies the control signals in an attempt
to achieve some desired behaviour.
239
O
Analysis of such digital-analogue feedback
systems can involve mathematical methods such
as difference equations, Laplace transforms, z
transfer functions, state space models and state
transition matrices.
240
DIGITAL/DISCRETE CONTROL
More useful for computer systems
Time is discrete
denoted k instead of t
0
) ( ) ( )] ( [
k
k
z k f z F k f Z
OUTLINE
Introduction to digital control
Digitization
Effect of sampling
Sampling
Sampling theorem
Discrete Systems
Z-transform
Transfer function
Pulse response
Stability
242
DIGITIZATION
O
Analog Control System
243
ctrl. filter
D(s)
plant
G(s)
sensor
1
r(t) u(t) y(t) e(t)
+
-
continuous controller
For example, PID control
DIGITIZATION
O
Digital Control System
O
T is the sample time (s)
O
Sampled signal : x(kT) = x(k)
244
control:
difference
equations
D/A and
hold
sensor
1
r(t) u(kT) u(t) e(kT)
+
-
r(kT)
plant
G(s)
y(t)
clock
A/D
T
T
y(kT)
digital controller
voltage bit
bit voltage
DIGITIZATION
O
Continuous control vs. digital control
`
DIGITIZATION
246
Example (3.1)
Using Eulers method, find the difference equations.
b s
a s
K
s E
s U
s D
+
+
0
) (
) (
) (
Differential equation
) ( ) ( ) ( ) ( ) (
0 0
1
ae e K bu u s E a s K s U b s
L
+ + + +
` `
Using Eulers method
) 1 ( ) ( ) 1 ( ) ( ) 1 ( ) 1 (
) ( ) 1 ( ) ( ) 1 (
0 0
0
+ + + +
,
`
.
|
+
+
+
+
k e K k e aT K k u bT k u
ae
T
k e k e
K bu
T
k u k u
DIGITIZATION
247
s s
s s
s G
s
s
s D
+
+
+
2
1
) 1 (
1
) ( ,
10
2
70 ) (
Compare investigate using Matlab
1) Closed loop step response with continuous controller.
2) Closed loop step response with discrete controller.
Sample rate = 20 Hz
3) Closed loop step response with discrete controller.
Sample rate = 40 Hz
Significance of sampling time T
Example controller D(s) and plant G(s)
DIGITIZATION
248
Matlab - continuous controller
numD = 70*[1 2]; denD = [1 10];
numG = 1; denG = [1 1 0];
sysOL = tf(numD,denD) * tf(numG,denG);
sysCL = feedback(sysOL,1);
step(sysCL);
Matlab - discrete controller
numD = 70*[1 2]; denD = [1 10];
sysDd = c2d(tf(numD,denD),T);
numG = 1; denG = [1 1 0];
sysOL = sysDd * tf(numG,denG);
sysCL = feedback(sysOL,1);
step(sysCL);
s s
s G
s
s
s D
+
+
+
2
1
) (
10
2
70 ) (
Controller D(s)
and plant G(s)
DIGITIZATION
249
Notice, high sample frequency (small sample time T )
gives a good approximation to the continuous controller
EFFECT OF SAMPLING
250
D/A in output from controller
The single most important impact of implementing a control
digitally is the delay associated with the hold.
EFFECT OF SAMPLING
Analysis
Approximately 1/2 sample time delay
2
T
T
d
EFFECT OF SAMPLING
252
Example of phase
lag by sampling
Example from
before with sample
rate = 10 Hz
Notice PM reduction
SPECTRUM OF A SAMPLED SIGNAL
Spectrum
Consider a cont. signal r(t)
k
s
k
jn s R
T
s R
kT t t r t r
) (
1
) (
) ( ) ( ) (
r(t) r*(t)
T
SPECTRUM OF A SAMPLED SIGNAL
254
SPECTRUM OF A SAMPLED SIGNAL
O
High frequency signal and low frequency signal same
digital representation.
255
SPECTRUM OF A SAMPLED SIGNAL
O
Removing (unnecessary) high frequencies anti-
aliasing filter
256
control:
difference
equations
D/A and
hold
sensor
1
r(t) u(kT) u(t) e(kT)
+
-
r(kT)
plant
G(s)
y(t)
clock
A/D
T
T
y(kT)
digital controller
anti-
aliasing
filter
SPECTRUM OF A SAMPLED SIGNAL
257
SAMPLING THEOREM
O
Nyquist sampling theorem
s
> 2
b
(closed loop band-width)
O
In practice, we need
20
b
<
s
< 40
b
258
DISCRETE SYSTEMS
A discrete system is a system with a countable number of
states.
0
) ( ) ( d t e t f s F
s t
0
) ( ) (
n
n
z n x z X
n
n
z n x z X ) ( ) (
265
Relationship to Fourier Transform
Note that expressing the complex variable z in polar form reveals the
relationship to the Fourier transform:
n
n i i
n
n i n i
n
n
i i
e n x X e X
r if and e r n x re X
or re n x re X
) ( ) ( ) (
, 1 , ) ( ) (
, ) )( ( ) (
which is the Fourier transform of x(n).
For the Fourier transform to converge, the sequence must have finite
energy, or:
<
n
n
r n x ) (
Continued,
267
n
n
z n x z X ) ( ) (
The power series for the z-transform is called a Laurent series:
The Laurent series, and therefore the z-transform, represents an analytic
function at every point inside the region of convergence, and therefore the z-
transform and all its derivatives must be continuous functions of z inside the
region of convergence.
In general, the Laurent series will converge in an annular region of the z-
plane.
Example (causal ROC),
ROC shown in blue, the unit circle as a dotted grey circle and the circle is
shown as a dashed black circle
Let (where u is the Heaviside step function). Expanding on the interval it
becomes
X[n]={.,0,0,0,1,0.5,0.5^2,0.5^3,..}
269
Poles and Zeros
When X(z) is a rational function, i.e., a ration of polynomials in
z, then:
1. The roots of the numerator polynomial are referred to as
the zeros of X(z), and
2. The roots of the denominator polynomial are referred to as
the poles of X(z).
Note that no poles of X(z) can occur within the region of convergence since the
z-transform does not converge at a pole.
Furthermore, the region of convergence is bounded by poles.
270
Properties
Multiplication:
But multiplication will affect the region
of convergence and all the pole-zero
locations will be scaled by a factor of
a.
[ ] ) ( ) ( ) ( ) ( z bY z aX n by n ax + + Z
[ ] ) ( ) (
0
0
z X z n n x
n
+ Z
[ ] ) ( ) (
1
z a Z n x a
n
Z
Z-TRANSFORMS OF COMMON
FUNCTIONS
271
Name f(t) F(z)
Impulse
Step
Ramp
Exponential
Sine
1
1 z
z
2
) 1 ( z
z
a
e z
z
1 ) (Cos 2
Sin
2
+ z a z
a z
1 ) ( t f
t t f ) (
at
e t f ) (
) sin( ) ( t t f
F(s)
1
s
1
2
1
s
a s
1
2 2
1
s +
'
>
0 0
0 1
) (
t
t
t f
D.C MOTOR SPEED
CONTROL
BANDI SREENIHAR
By
INTRODUCTION
MODELLING
PID CONTROLLER
APPLICATIONS
WHAT IS A D.C MOTOR ??
O
MOTOR: Which converts electrical
energy into mechanical energy ,mainly
into speed.
O
And a D.C MOTOR is one which uses
DIRECT CURRENT to convert electrical
energy into mechanical energy.
INTRODUCTION
The electric motors are most widely used as
energy converters in the
O
ROBOTS
O
MACHINE TOOLS
These require AUTOMATIC control of their
main parameters like position, speed,
acceleration and currents.
MAIN PURPOSE OF D.C MOTOR
SPEED CONTROL
O
The purpose of a motor speed controller is to take a signal representing the
demanded speed, and to drive a motor at that speed.
O
The controller may or may not actually measure the speed of the motor.
O
If it does, it is called a Feedback Speed Controller or Closed Loop Speed
Controller,
O
if not it is called an Open Loop Speed Controller.
There are three major types of energy
converters.
O
ELECTRIC MOTORS
O
PNEUMATIC MOTORS
O
HYDRAULIC MOTORS
Electric motors can be grouped into
four major classes.
O
DC motors
O
Stepper motors
O
Asynchronous motors
O
Synchronous motors.
MODELING
Physical setup and system equations:
A common actuator in control systems is the
DC motor. It directly provides rotary
motion and, coupled with wheels or drums
and cables, can provide transitional motion.
The electric circuit of the armature and the
free body diagram of the rotor are shown in
the following figure:
CIRCUIT DIAGRAM
Cascade compensation
Feedback compensation
Output compensation
Input compensation
327
PID CONTROLLERS
O
PID control consists of a proportional plus derivative (PD)
compensator cascaded with a proportional plus integral (PI)
compensator.
O
The purpose of the PD compensator is to improve the transient
response while maintaining the stability.
O
The purpose of the PI compensator is to improve the steady state
accuracy of the system without degrading the stability.
O
Since speed of response, accuracy, and stability are what is
needed for satisfactory response, cascading PD and PI will suffice.
328
THE CHARACTERISTICS OF P, I, AND D CONTROLLERS
NOTE THAT THESE CORRELATIONS MAY NOT BE EXACTLY ACCURATE, BECAUSE KP, KI, AND KD
ARE DEPENDENT OF EACH OTHER. IN FACT, CHANGING ONE OF THESE VARIABLES CAN CHANGE
THE EFFECT OF THE OTHER TWO. FOR THIS REASON, THE TABLE SHOULD ONLY BE USED AS A
REFERENCE WHEN YOU ARE DETERMINING THE VALUES FOR KI, KP AND KD.
Response Rise Time Overshoot Settling Time SS Error
K
P
Decrease Increase
Small Change
Decrease
K
I
Decrease Increase Increase Eliminate
K
D
Small Change
Decrease Decrease
Small Change
329
THE SIMPLEST FORM OF COMPENSATION IS GAIN
COMPENSATION
05 . 0
10
5 . 0 5 . 0 5 . 0 5 . 0
) (
1
0.5; 0.5 -
at be will poles loop closed the ratio damping specified the achieve that to shows
geometry Simple . 2 1/ Chose locus; root the Draw 5%; P.O : t requiremen Design
function step a error to zero exhibit will system loop - closed the 1; type is system The
system this of response transient the improve to is goal Our
) 1 (
10
) (
5 . 0 5 . 0
+ +
t
+
j j
s G
K j s
s s
s G
j s
p
p
330
G
c
G
p
R
-
+
ROOT LOCUS FOR SIMPLE GAIN COMPENSATOR
O
.
331
0.5
-1
0.5
Re (s)
Im(s)
LEAD/LAG COMPENSATION
O
Lead/Lag compensation is very similar to PD/PI, or PID control.
O
The lead compensator plays the same role as the PD controller,
reshaping the root locus to improve the transient response.
O
Lag and PI compensation are similar and have the same response:
to improve the steady state accuracy of the closed-loop system.
O
Both PID and lead/lag compensation can be used successfully, and
can be combined.
332
LEAD COMPENSATION TECHNIQUES BASED ON THE ROOT-LOCUS
APPROACH
O
From the performance specifications, determine the desired location for the
dominant closed-loop poles.
O
By drawing the root-locus plot of the uncompensated system ascertain
whether or not the gain adjustment alone can yield the desired closed-loop
poles. If not calculate the angle deficiency. This angle must be contributed by
the lead compensator.
O
If the compensator is required, place the zero of the phase lead network
directly below the desired root location.
O
Determine the pole location so that the total angle at the desired root
location is 180
o
and therefore is in the compensated root locus.
O
Assume the transfer function of the lead compensator.
O
Determine the open-loop gain of the compensated system from the
magnitude conditions.
333
LEAD COMPENSATOR USING THE ROOT LOCUS
1 . 8
2
) 25 . 3 ( ) 23 . 2 (
;
) 6 . 3 (
) 1 (
) ( ) (
6 . 3
1
) ( ; 38 ; 142 180 ; -142 90 116 -2
-1 - at location desired the below directly r compensato the of zero the place We
2 1 as location root dominant desired a choose will We
1 ; 4
4
0.32; be should %; 35 . ; 4
) ( network, a with system this compensate to desire We
axis in the is locus root The : 0 1 ) ( 1 ; ) (
2
1
2
1
o
1 1
2
1
2
1
+
+
+
+
+
t
+
+
+ +
K
s s
s K
s G s GH
s
s
s G
z s
j - r , r
T O P s Ts
p s
z s
s G
j
s
K
s GH
s
K
s GH
c
c
o
p p
o
n
n
s
c
334
-1
p
s = -p = -3.6
ADDING LEAD COMPENSATION
THE LEAD COMPENSATOR HAS THE SAME PURPOSE AS THE PD
COMPENSATOR: TO IMPROVE THE TRANSIENT RESPONSE OF THE CLOSED-
LOOP SYSTEM BY RESHAPING THE ROOT LOCUS. THE LEAD COMPENSATOR
CONSISTS OF A ZERO AND A POLE WITH THE ZERO CLOSER TO THE ORIGIN
OF THE S PLANE THAN THE POLE. THE ZERO RESHAPES A PORTION OF THE
ROOT LOCUS TO ACHIEVE THE DESIRED TRANSIENT RESPONSE. THE POLE IS
PLACED FAR ENOUGH TO THE LEFT THAT IT DOES NOT HAVE MUCH
INFLUENCE OF THE PORTION INFLUENCED BY THE ZERO.
180 ) ( ) (
0 ;
is r compensato for the formular general The 5%; be to P.O Expect ; 2 1/
3. 3 - at poles loop - closed the place we tp, desired the achieve To
1.0s 20%; P.O : ions Specificat Design
) 1 (
10
Consider
3 3
+
+
t
+
t j s p c
c
c
p
p
s G s G
b a
b s
a) (s K
(s) G
j s
t
s s
G
335
ROOT LOCUS FOR SIMPLE GAIN COMPENSATOR
O
.
336
Re (s)
Im(s)
Closed-loop poles
3
-3
18
) 3 ( 8 . 7
) (
8 . 7
3 10
18 1
;
18
) 3 (
) (
18 15 3
3 . 11 tan
3
3 ; 3 . 11 78.7 - 90 3; - at s Fix
7 . 78 180 ; 180
3 3
o
2 1 2 1
+
+
,
`
.
|
+
+ +
+
+
+ +
+
+
s
s
s G
s
s s s
Kc
s
s K
s G
b
c
j s
c
c
o
o
o o o
337
-b
-a
-1 0
s
s+b
s+a s+1
1
2
ADDING A LAG CONTROLLER
O
A first-order lag compensator can be designed using the root locus. A lag
compensator in root locus form is given by
O
where the magnitude of z
o
is greater than the magnitude of p
o
. A phase-
lag compensator tends to shift the root locus to the right, which is
undesirable. For this reason, the pole and zero of a lag compensator must
be placed close together (usually near the origin) so they do not
appreciably change the transient response or stability characteristics of
the system.
o
o
p s
z s
s G
) (
338
HOW DOES THE LAG CONTROLLER SHIFT THE ROOT
LOCUS TO THE RIGHT?
O
Recall finding the asymptotes of the root locus that lead to the zeros at
infinity, the equation to determine the intersection of the asymptotes
along the real axis is:
O
When a lag compensator is added to a system, the value of this
intersection will be a smaller negative number than it was before. The net
number of zeros and poles will be the same (one zero and one pole are
added), but the added pole is a smaller negative number than the added
zero. Thus, the result of a lag compensator is that the asymptotes'
intersection is moved closer to the right half plane, and the entire root
locus will be shifted to the right.
zeros poles
zeros poles
339
CONTROL MODES
THERE ARE MANY WAYS BY WHICH A CONTROL UNIT CAN REACT TO
AN ERROR
AND SUPPLY AN OUTPUT FOR CORRECTING ELEMENTS.
O
The two-step mode: The controller is just a switch which is
activated by the error signal and supplies just an on-off correcting
signal. Example of such mode is the bimetallic thermostat.
O
The proportional mode (P): This produces a control action that is
proportional to the error. The correcting signal thus becomes bigger
the bigger the error. Therefore, the error is reduced the amount of
correction is reduced and the correcting process slows down. A
summing operational amplifier with an inverter can be used as a
proportional controller.
O
The derivative mode: This produces a control action that is
proportional to the rate at which the error is changing. When there
is a sudden change in the error signal the controller gives a large
correcting signal. When there is a gradual change only a small
correcting signal is produced. An operational amplifier connected as
a differentiator circuit followed by another operational amplifier
connected as an inverter make an electronic derivative controller
circuit.
340
O
The integral mode (I): This produces a control action that is
proportional to the integral of the error with time. Therefore, a
constant error signal will produce an increasing correcting signal.
The correction continues to increase as long as the error persists.
O
Combination of modes: Proportional plus derivative modes
(PD), proportional plus integral modes (PI), proportional plus
integral plus derivative modes (PID). The term three-term
controller is used for PID control.
O
The controller may achieve these modes by means of pneumatic
circuits, analog electronics involving operational amplifiers or by
the programming of a microprocessor or computer.
341
DC MOTOR SPEED MODELING
THE DC MOTOR HAS BEEN THE WORKHORSE IN INDUSTRY FOR MANY
REASONS INCLUDING GOOD TORQUE SPEED CHARACTERISTICS. IT IS A
COMMON ACTUATOR IN CONTROL SYSTEMS. IT DIRECTLY PROVIDES
ROTARY MOTION AND, COUPLED WITH WHEELS OR DRUMS AND CABLES,
CAN PROVIDE TRANSITIONAL MOTION. THE ELECTRIC CIRCUIT OF THE
ARMATURE AND THE FREE BODY DIAGRAM OF THE ROTOR ARE SHOWN IN
THE FOLLOWING FIGURE.
WE DEVELOP HERE THE TRANSFER FUNCTION OF A SEPARATELY EXCITED
ARMATURE CONTROLLED DC MOTOR.
`
k
342
Motor
Generator
Mechanical
energy
(T, )
V
A
R
A
I
A
V
F
R
F
L
F
I
F
L
J motor & load
T
`
` ` `
`
K V Ri
dt
di
L
Ki b J
K e
i K T
e
t
+
+
343
SPEED CONTROL
O
Speed Control by Varying Circuit Resistance: The operating speed can only
be adjusted downwards by varying the external resistance, R
ext
O
Speed Control by Varying Excitation Flux:
O
Speed Control by Varying Applied Voltage: Wide range of control 25:1; fast
acceleration of high inertia loads.
O
Electronic Control.
( )
rad/s
2 2
a
ext a
a a
a a a
m
k
R R
k
Va
k
I R V +
1
2
2
1
m
m
344
TRANSFER FUNCTION
345
2
) )( (
) ( ) ( ) (
) ( ) ( ) (
K R Ls b Js
K
V
s Ks V s I R Ls
s KI s b Js s
+ + +
+
+
Controller Plant
R
`
u
DATA MEASUREMENT
O
Once we have identified the transfer function of the system we
may proceed to the final two phases of the design cycle, the
design of a suitable controller and the implementation of the
controller on the actual system. In the case of speed control of the
DC motor, the control will prove to be quite easy.
O
An important point to be highlighted here is that if we have a good
model of the plant to be controlled, and we already have identified
the parameters of the model, then the design of the controller is
easy.
346
Computer
D/A Converter Power Amplifier
DC Motor
Oscilloscope
Armature voltage
Tachometer
DESIGN NEEDS
O
The uncompensated motor may only rotate at 0.1 rad/sec with an input voltage of 1
V. Since the most basic requirement of a motor is that it should rotate at the desired
speed, the steady-state error of the motor speed should be less than 1%.
O
The other performance requirement is that the motor must accelerate to its steady-
state speed as soon as it turns on. In this case, we want it to have a settling time of
2 seconds for example. Since a speed faster than the reference may damage the
equipment, we want to have an overshoot of less than 5%. If we simulate the
reference input (r) by a unit step input, then the motor speed output should have:
O
Settling time less than 2 seconds
O
Overshoot less than 5%
O
Steady-state error less than 1%
Use the MATLAB to represent the open loop response
347
PID DESIGN TECHNIQUE FOR DC MOTOR SPEED
CONTROL
O
Design a PID controller and add it into the system.
O
Recall that the transfer function for a PID controller is:
O
See how the PID controller works in a closed-loop system using the
previous Figure. The variable (e) represents the tracking error, the
difference between the desired input value (R) and the actual output
(y). This error signal (e) will be sent to the PID controller, and the
controller computes both the derivative and the integral of this error
signal.
O
The signal (u) just past the controller is equal to the proportional gain
(Kp) times the magnitude of the error plus the integral gain (K
i
) times
the integral of the error plus the derivative gain (K
d
) times the
derivative of the error.
s
K s K s K
s K
s
K
K
I P D
D
I
P
+ +
+ +
2
348
THE PID ADJUSTMENT STEPS
O
Use a proportional controller with a certain gain. A code should be
added to the end of m-file.
O
Determine the closed-loop transfer function.
O
See how the step response looks like.
O
You should get certain plot.
O
From the plot you may see that both the steady-state error and the
overshoot are too large.
O
Recall from the PID characteristics that adding an integral term will
eliminate the steady-state error and a derivative term will reduce the
overshoot. Let us try a PID controller with small K
i
and K
d
.
O
The settling time is too long. Let us increase K
i
to reduce the settling
time.
O
Large K
i
will worsen the transient response (big overshoot). Let us
increase K
d
to reduce the overshoot.
O
See the plot now and see if design requirements will be satisfied.
349
- LALIT SETHIA
BIOTECHNOLOGY
Controls Systems and
Biotechnology
INTRODUCTION
The synthesis of biotechnology, life sciences and
control engineering is receiving increasing interest.
Though relevant synthesis examples have been
reported for almost forty years (e.g. the dynamical
modeling of genetic feedback control systems
[1968] and the control of enzyme activity [1970]),
the application of control and systems theory to
biology (now labelled systems biology) has received
increasing impetus in the past five years. A number
of strands of activity are outlined.
Advances in genetic engineering have generated great
interest in biotechnology systems. Modern
fermentation processes have a more scientific basis
and can be optimized more quickly by utilizing
instrumentation and control technology that permits
increasing yield and product quality.