Professional Documents
Culture Documents
CONTROL SYSTEMS
Radar Dish Mechanical Engineering Department,
Middle East Technical University
Armature Inside
controlled Outside θr input
p
dc motor θD output
θm
Gearbox
Control
Transmitter
θD
dc amplifier Control
Transformer Prof.
Prof Dr.
Dr Y.
Y Samim Ünlüsoy
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 1
CH VIII
COURSE OUTLINE
I.
I INTRODUCTION & BASIC CONCEPTS
II. MODELING DYNAMIC SYSTEMS
III. CONTROL SYSTEM COMPONENTS
IV. STABILITY
V. TRANSIENT RESPONSE
VI. STEADY STATE RESPONSE
VII. DISTURBANCE REJECTION
In this chapter :
Basic control actions and
controllers, and their
characteristics
h t i ti will
ill be
b examined.
i d
Their applications will be
introduced.
R(s)
( )+ Ea(
(s)
) M(s)
( ) C(s)
( )
Controller G(s)
-
B(s)
H(s)
Controller
t ll produces
d the
th manipulated
i l t d
input at its output to be applied to
th actuator.
the t t
A controller is required
q to shape
p the error
signal such that certain control criteria or
specifications, are satisfied.
These criteria may involve :
- Transient response characteristics,
characteristics,
- Steady
Steady--state error
error,,
- Disturbance rejection
rejection,,
- Sensitivity to parameter changes.
changes.
Actuating Control
Controller
error signal
m(t
e(t) M1 ) m(t) M1 for e(t)>0
e(t) m(t)=
M2 M2 for e(t)<0
controller
i) zero,
zero, in which case the e(t) M1 m(t)
controller is called the 0
on--off controller,
on controller, or
On off controller
On-off
ii) equal to - M1, in which
e(t) M m(t)
case the controller is
case,
called the bang
bang--bang -M
controller..
controller Bang bang controller
Bang-bang
e(t) M1 m(t)
M2
Differential gap
+
Solenoid valve _ v
Input
Switch
qi
h Float R
C
qo
qi
In this case, the solenoid
will be energized opening
the valve fully. h R
C
Hence provided that qi>qo,
the water level will rise. qo
dh dh
qi - qo = C h = Rqo RC +h = Rq
qi
dt dt
dh
RC +h = Rqi
dt
t
It should be noted
that, the smaller the Differential gap
differential gap is,
the smaller is the small
deviation from the
desired level.
But on the other large
hand,
hand the number of
switch on and off’s Δt
increases.
Kp : proportional g
gain.
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 20
PROPORTIONAL CONTROL
Approportional
p controller is essentially
y
an amplifier with an adjustable gain.
gain.
The value of Kp should be selected to
satisfy the requirements of
• stability
stability,
• accuracy, and
• satisfactory transient response,
response as
well as
• satisfactory disturbance rejection
characteristics.
dea ( )
(t) M(s)
m(t)=K
m(t) K d =K ds
dt Ea (s)
Derivative
D i ti control
t l action
ti is
i never used
d
alone,, since it does not respond to a
alone
constant error,
error however large it may be.
be
Derivative
D i ti control
t l action
ti has
h
no direct effect on steady
state
t t error.
But it increases the damping
in the system and allows a
higher value for the open loop
gain K which reduces the
steady state error.
B(s)
H(s)
Ki : integral
g g
gain (adjustable).
j
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 27
INTEGRAL CONTROL
It is obvious that even a small error can
b d
be detected,
t t d since
i integral
i t l control
t l
produces a control signal proportional to
the area under the error signal.
signal
Hence, integral control increases the
accuracy of the system.
system
Integral control is said to look at the
pastt off the
th error signal.
i l
Large
g error – Small error –
e(t) small area large area
t
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 28
INTEGRAL CONTROL
Remember that each s term in the
denominator of the open loop
transfer function increases the type
of the system by one, and thus
reduces the steady state error.
The use of integral controller will
increase the type of the open loop
transfer function by one.
Note, however, that for zero error
signal,
g , the integral
g control may
y still
produce a constant control signal
which may in turn lead to instability.
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 29
PROPORTIONAL + DERIVATIVE (PD)
CONTROL
Control action with p
proportional
p + derivative
(PD) control is given by
de(t) M(s)
m(t)=
( ) Kp e(t)+K
( ) p Td = Kp (1+ Tds )
dt E(s)
B(s)
H( )
H(s)
Td : derivative time.
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 30
PROPORTIONAL + INTEGRAL (PI)
CONTROL
Control action with pproportional
p + integral
g
(PI) control is given by
1 M(s) ⎛ 1 ⎞
m(t)= Kp e(t)+Kp ∫ e(t)dt = Kp ⎜ 1+
1 ⎟
Ti E(s) Tis ⎠
⎝
R(s)
( )+ E(s) ⎛ 1 ⎞ M(s) C(s)
Kp ⎜1+ ⎟ G(s)
- ⎝ T s
i ⎠
B(s)
H(s)
Ti : integral time
Kb
K : motor
t torque
t constant,
t t
Ra : armature resistance, C=K/ Ra
Kb : motor back emf constant,,
J : motor + load inertia,
b : viscous damping coefficient.
Kb
Kp C 2 Kp C b+KbC
ωn = 2ξωn =
θ(s) J J J
=
θr (
(s)
) 2 b +Kb C Kp C
s + s+
J J b +Kb C 1
ξ=
2 JC Kp
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 35
Kp C
ω2
n =
J CONTROL ACTIONS
b +Kb C 1 Proportional Control
ξ=
2 JC Kp
π−β −1 ωd
tr = β = tan
It is noted that increasing ωd ξωn
the pproportional
p g
gain :
π
i) Undamped natural tp =
ωd ωd = ωn 1 − ξ 2
frequency
q y of the system
y
is increased, thus the speed ⎛ ⎞
ξ
of response is increased. -π ⎜ ⎟
⎜⎜ 2 ⎟⎟
11-ξξ ⎠
ii) The damping ratio is Mp =e ⎝
decreased, thus the relative
3
stability of the system is t s ( 5% ) =
ξωn
reduced.
4
Note : ξωn is not affected by Kp ! t s ( 2% ) =
ξωn
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 36
CONTROL ACTIONS - Proportional Control
Now, let us examine the steady state response.
Dc motor+load
Controller
θr(s) + + C 1 θ(s)
Kp
Js +b s
- -
Kb
Open loop
θr(s) Kp C θ(s)
transfer function :
+ Js2 + (b +Kb C ) s
- Kp C
G(s)=
s ⎡⎣ Js + (b +Kb C ) ⎤⎦
Kp C
b +Kb C
G(s)=
⎡ J ⎤
s⎢ s +1⎥
Thus, ⎣ b +Kb C ⎦
System
y type
yp is 1.
Kp C
The open loop gain is K=
b +Kb C
Thus
Th th
the steady
t d state
t t error d
due to
t unit
it
step input will be zero.
The steady state error due to unit ramp
input will be finite. 1 b +Kb C 1
e ss= =
K C Kp
Kb
D(s) C θ(s)
In this case,
Js2 + (b +Kb C ) s
+ the output itself
-
Kp will be the error.
⎛ C ⎞1
e ss= lims → 0 s ⎜ ⎟ = 1
⎜ Js2 + (b +Kb C ) s +Kp C ⎟ s Kp
⎝ ⎠
It is observed that for minimum steady
state error due to a step
p disturbance,, and a
ramp input, Kp must be as large as stability
requirements allow.
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 41
CONTROL ACTIONS
P
Proportional
ti l + Derivative
D i ti Control
C t l
If a p
proportional
p + derivative controller is
used :
Disturbance
Dc motor+load
Controller
+ C
θr(s) θ(s)
Kp ( Tds +1)
+ Js2 + (b +Kb C ) s
+
-
2 Kp C
ωn =
Kp C J
(1+ Tds )
θ(s)
= J (
b + Kb +Kp Td C )
θr (s) 2 b +Kb C+Kp TdC Kp C 2ξωn =
s + s+ J
J J
b +Kb C 1 1 CKp
ξ= + Td
2 JC Kp 2 J
Note that :
Derivative
D i ti control
t l does
d nott affect
ff t the
th
undamped natural frequency.
frequency. (Meaning ?)
Derivative time Td can be selected to
improve damping ratio.
⎛ ⎞
C ⎟1 = 1
ess = lims → 0 s ⎜
⎝ (
⎜ Js2 + b +K C +K T C s +K C ⎟ s Kp
b p d p ⎠ )
In conclusion,
conclusion, the addition of derivative
control action to proportional control action
- is useful to provide additional control on
damping and hence improves relative
stability,
- has no direct effect on steady state error.
It may,
may however,
however be useful in reducing
steady state error indirectly by allowing the
use of larger values of Kp without causing
stability problems.
Velocity
y or tachometer feedback can be
employed together with proportional
control to provide characteristics similar to
that
h off PD-
PD-control.l
Disturbance
Controller D motor+load
Dc l d
θr(s) + +
C 1 θ(s)
Kp
_ + Js + (b +Kb C ) s
_
Tachometer
Kt
Controller Dc motor+load
θr(s) + C 1 θ((s))
Kp
- Js + (b +Kb C ) s
-
Tachometer
Kt
θ(s) Kp C
=
(
θr (s) Js2 + b +Kb C +KpK t C s +Kp C )
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 49
CONTROL ACTIONS
Velocity (Tachometer ) Feedback
Kp C
Kp C b +Kb C+KpK t C
G(s)= =
⎣ (
s ⎡ Js + b +Kb C+KpK t C ⎤
⎦ ) ⎡
s⎢
J ⎤
s +1⎥
⎢⎣ b +Kb C+KpK t C ⎥⎦
System
y type
yp is 1,, thus the steady
y state error
for unit step input is zero.
The steady state error for unit ramp input is
given as :
1 b +Kb C +KpK t C 1 ⎛ b +Kb C ⎞ 1
e ss= = =⎜ ⎟ +K t
K C Kp ⎝ C ⎠ Kp
C 1 1
e ss= lims → 0 s =
( )
Js2 + ⎡b +C Kb +KpK t ⎤ s +Kp C s Kp
⎣ ⎦
If a p
proportional
p + integral
g controller is used :
Disturbance
Controller Dc motor+load
θr(s) +
⎛ 1 ⎞ C θ(s)
Kp ⎜1+ ⎟
⎝ T s
i ⎠ + Js2 + (b +Kb C ) s
+
-
Note that :
Addition off iintegral
Additi t l control
t l action
ti to
t
proportional control action increases the
order of the system.
Thus, transient and steady response as
well as the stability and disturbance
rejection characteristics of the system will
be changed.
g
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 55
CONTROL ACTIONS
Proportional + Integral Control
Kp C ( Tis +1)
Kp C ( Tis +1) Ti (b +Kb C )
G(s)= =
2
s Ti ⎡⎣ Js + (b +Kb C ) ⎤⎦ ⎡ 2 J ⎤
s ⎢ s +1⎥
⎣ b +Kb C ⎦
System type is now 2, thus the steady state
error for unit step and ramp inputs are zero.
zero
The steady state error for unit acceleration
i
input
t is
i given
i as :
1 Ti (b +Kb C ) 1
e ss= =
K C Kp
If the
th disturbance
di t b is
i taken
t k to
t be
b the
th only
l
input, the steady state error (equal to
the steady state value of the output) for
a unit step disturbance input is zeroed
and the steady y state error for a unit
ramp disturbance input becomes finite
by the inclusion of the integral control.
Ti
e =0 e =
ss step ss unit ramp Kp
In conclusion,
conclusion, it is observed that the
addition of integral control action to
proportional control action
- is useful in reducing the steady state
error by increasing the type of the
open loop transfer function by one,
- changes
g the transient response
p
characteristics of the system by
increasing the order of the system,
making
ki the
th system
t more susceptible
tibl to
t
instability.