Control System
Control System
7
8
9
10
11
12
SAMPLED DATA CONTROL SYSTEM
A system having both discrete and continuous signals is called sampled data system. Discrete
signals which are made up of discrete data or sampled data or also known as digital data of
control system. Digital controls are used for achieving optimal performance-for example, in the
form of maximum productivity, maximum profit, minimum cost, or minimum energy use.
Applications
Most control systems today use digital computers (usually microprocessors) to implement the
controllers). Some applications are:
• Machine Tools
• Metal Working Processes
• Chemical Processes
• Aircraft Control
• Automobile Traffic Control
• Automobile Air-Fuel Ratio
1
2
3
4
Sampling Process
Sampling process is defined as the conversion of analog signal into the digital signal with the
help of a switch (also known as sampler). A sampler is a continuous ON and OFF switch which
directly converts analog signals into digital signals. We may have a series connection of sampler
depending upon the conversion of signals we use them. For an ideal sampler, the width of the
output pulse is very small (tending to zero). Now when talk about discrete system it is very
important to know about the z transformations. We will discuss here about the z transformations
and its utilities in discrete system. Role of z transformation in discrete systems is same as Fourier
5
transform in continuous systems. Now let us discuss z transformation in detail.
We define z transform as
The Zero-Order Hold block samples and holds its input for the specified sample period. The
block accepts one input and generates one output, both of which can be scalar or vector. If the
input is a vector, all elements of the vector are held for the same sample period. This device
provides a mechanism for discretizing one or more signals in time, or resampling the signal at a
different rate. The sample rate of the Zero-Order Hold must be set to that of the slower block.
For slow-to-fast transitions, use the unit delay block.
6
U I\J Jy.,-7J1 {:RPQUE-NCY RespoNSE ANA-LY eis . ----
~ 0
d b .]
4~ '~f8 tV ~ch ~ 8CV~ /~ -3~b
-7
F!2fCX UJEN cY ResjJCJI\I$1?
~ .f97~Cj ~p~ ~~ ~ ~.9lo~ ~!:f.8~
an he ~ed ~'at14 @)':/J 0~~!a4J.
---? Va9V~ 3.9tf:1j)~'O.tI jedvwY/,tte!> q vcu~.k /-tJ9J
'~'tJ fJJ2!sf~ ~~ a9VC-
I~ BoDE pi» T I
&~ f)6LAR ploT (op) NYlJ<u/ST p~T
1
pgc>!3l§tJ~'- BDDE pt.o T
1- Sitek), /3oJR ;"1/b~~ !~~
p.L¢ ~9J tiJ
~tb~ OJ7d ck/e9t/1V~ ~ cJ'dgleftJC!CVh J",- ,ftJ9?
..P a
tlVL c;aJt7
4 ('~ 61Jd7/~ /TJ be 591CtJIJet'
~ (§) =: !<s 2-
SDLuTloN ,:- (I +(),~ C1+tJ -o 2S)
t1J ro.. sL
(f+b' 's) (f+() -o» s)
I
I
'it I ::: tt
IJbl ~ h
~ ( ltv) z: (JCo) L 1~1-JbJ:: Jq~h ':l
(/+O'2Jw) (1+/)'/)2J0"'-7~;1 ~. a ~
.
/ J 1.J.0 ':21,11)')..
So-) 90°
r S~}a6~
~ 5'-) 8/ 7(/)
{ +/0~ ftM,""(b)4)
6
P 3--:> -- '10
~ s~_/gob
o
~ s~...::> - 2-7e/")
tv(& c )..,,:::-> 5 0 91btJJ~e
0'02.
-l ~~_~J~~
Cl+7 b
!
INA I1NI r LJ DE jJil>7"j I
"~'~-~-""'~'-'-t~"RN~R '--r . ._. '''"jt,;p/i.---- --·..--·----Zi;;::ie·-7),-:gLt;p~---'"- '--\1
3-1110
t» p 1'1 PfC:~~ rlll~~ I J.. b / J..u.
1---.+-----..._-.~ .........-..-.-...-~~_._~~_.-_ifir:!LJ:g~·-~~'T''''-~''---'----~-'' _w_ ~
..... ... '""~
.u:_~"'L ._~
J~._~
..._...-_... .... __._.....,,
1
.. _......., \
-=---)- 4 ()~2-f!)
+------+--_/.f_b._;2_J_ to tvt; ~t ~. 5" ~ 2- /!) • L:': :-----1 1- -
J+o·."jw
/i.)t2- ..::>---L.-;
0""
so - ~0
I
cht)()8f Q ~()W ,~~ O/Jd ~ff1 ',9?~ i
..
I
~
:\
~
~
~.
! !
I
..
~H/ISF NeFf)
-
L£JlcJcv)~ (9: - kuJ' (fJ'':26JJ- 1~1 (D'()2~)
tv
0'5 :t 5' If) 5° too
9JaJlftec ..
(ltlllJLA-'7fD/\1 () F k !--'
-.:> CMvUJ .tid JJalJ f9?~P& l)'IJ.e9J /9?efIU,vJ~ I~ b !h4d/&ec
-'> 41 Gu =: J) .3?tJtJ/~e wtt/), tS ~ g J b.
. Wfi -4 8 .... L . : _ ._ _ J
1
't]
1
4:r
o
1
(,oJ
l
~
.<3 - m:S~~
1
(3 . e 0
$&
0
W
o +
0 <?j ~
o.
-
_ _ _11 10
-C).
10 .
...
J. S~UCh BorJ.R cl/o.j)9'Jt.1flJ .(;-oh rRR- 1-tJ1tf)W1~ ~/e!1)
~th~ lW1tl ~b'-eu~ c.9cu" t.9?"~ ()V~ '.97~~ I·
S[t.to'4-s] [I.j-tI,{S]
SoLV7fI>N:
10 _
If!)RN~R FPfflAlJ};/V.~
S-No TER.-M
~OtJ/8ee
It> - 2-0
1• p
JW
,
J. J - :2-0
1ft,'"4J"w
) - 40--2-0
J+o".j'w ~.-6o
AI'
t» «~
W.I=
0" ,
4tJdh ! I
I
............... "! I
j
I
1
I
j
,,
j
tv; '=' 0,,1 9lQJ!ge( If -:: 4 0 Jb
OJ C, ::- ~"s- 91o.JJP;e~ ,4.~. 1:2- db I
!JJt'} :;:, S 91o. J te( I ft ~ -1!2-- t1 b !
j}- z- --S-4 ab 1
1
w~ e- 10 91ct d /Se(
I
1> H./}-S £ Pto T :-- I
I
L0{JW:O -~o·- j'(J/f' (O'4fP)- ~I (o./w)
~
!
l
~ w --_ ~ _-,.- _ - r, _- - -..· -· ·-- 1- · ·. · .·--·..···t ----·- - ..-v·.. .
·~ ~ _·~-_ ._·
I
:; --~L---_~--'"-=S~-I~~;:I-I~:IOo ::6
,~.~ ~~~ ~_. ~,
II _
__... - •. I : __
Res()L~:-
0a.Jh ~~,gs 6Ve97 '')7.e!(,UVJ~'" [5 9>ctd!8Pe r-) w!J E
PhiW f9J.S$ oVefl7 ,~~ z- fr l),o,J ISRe :::'!> 0/ 9C- 7
~
,
J
0..
0
Jr0 I
~
1
~
~
.(3 -
~ 0 0
~
(3
\JJ
0
~ '"'l
0
- -~ e
...
tn .5'
1111111111111111111111111111115:0- 'E!=$~-G1
~=!3-'"
~
~
.Y\ I)
~.
I)
. ---
. . 8.f]
"E:;
I(
sCI..)-s)(l.J-2-{)
g!terdJ PtJ~ piM Q/) d ~P'VAe 0tVh M~!rL
an d pho.-M Mo.918'!n .
SOw T (6 N :.--
mrs) .:
.-
--------> ~
r- - - - - I j
.... 2~2-
I&,tJfA" ,
/ C,fJIA»
-/4lf- -/5'0 -1'S6 -} 7} ?1 180 -lqg
.-
'---' ._--='= -~
--T----------
&. ! ~ D~ ,£tJ>op t-9tMBI-&J ~cft'&YJ fJI 4 lJN~
I
fJJtsJ ~ _._.1 $
s (1+5)2.
...... ._
.
---~")
J
Co Ja.t-u!) 2-
~qJ/fLl 0'4 {J•. 'J tJ~6 0·7 0'8 0'9 :1- CJ .1. J..
,
-=".""••= =,,- ,,"4~"'=='_=~1am""""",1>l'#<.<~"""*" ~ ~
F""-=~"
"'_"'~'_""""_"_'_"".",""'_' '_._._~ ~ ,~
II
""''_'"',0' , _.""". ,_ _" • ' __ • ,_____
-----Ii--
,
I
I",,1' "1€/J"'/J)Eg~~fd~N(Y_Rf:sPQ/:{S.f
i
I
i (C'~~ heftt)~ .ft~ a.nd '''~0 ~-PlVII>e !
I
tJ9?tk9> .J"dl>j~, (6~~'tYJ ~" J?e~d 6J1cl.JlJ, .J'~ I
!I
I
t
I
I
I
!
- - . . - - - - , . . . - - - - - - . . . - - -...... 1
;/
~~ -ltUi'[ ,§~:J
I
H~~ a/?d p~ arza,lr2 cJ-a3J~~~t./-sh'c..& 4t;~
nIJ91P74JJi;ed /~ltJ 1A,.[d9J ~J" V~ ~
C I
!
~>-r~0 !if ~Ch 1>1 Ii'M ajea./.l vaUu J. II
I !.h)o()Jn Gt1> #) ~~ ~~
1-"> peqp. vcdtu ~ ~ M~~ te tIJ
~~ ~..-J--_M._'.9J ......,
~ ~:O6 r191 ~ 00 ]
~~O ~ 92 ~ Co".1
I
~~~.107'
_ _ _" I e
"-It .-90 - - "-
[-»:
I
I r
(!) '-16 I
()"b r
0'4
~, ;2.- I
J).
_:if oc
0 M-
M~:ktJ..t1 M~Cl ~C#~8A.v phad,« M a ~WlJn~).J.
"
H92 apfXJ7eqcNJ ,()
'1 '"
l - !}gl-=-O
I
I ~. ~ 8 -:::j>
2
Ii
!
»
O~ 8~ 'Iv2-
. -;:. Redon""" ,~~ ttUv~ ~ Gl
i ~~ Wn
['II) s- YV2
-:?> tvl~'ktdJ M cLec~e..&
~ No t~()n~ p~
-;> A9t~aI-e1I \Iauu b'6 JV1 ~ on e .
p~ DV &l<Pfl!Ju,t. M, s- e ~ gn 1M 'J.
1
2
3
4
5
6
Nichols Plot
D1
Compensation Techniques
• Stability
• Transient response Æ T , M (settling time, overshoot)
s s
or phase and gain margins
• Steady-state response Æ e (steady state error)
ss
Performance specifications
Root-locus or
Frequency Synthesis
response
techniques
No
Are specifications
met?
Yes
D6
Compensators
• lead:improves the transient response.
• lag: improves the steady-state performance at the expense
of slower settling time.
• lead-lag: combines both
D7
Lead compensators
1
s+
Ts + 1
Gc (s ) = K c a = Kc T
aTs + 1 1 T > 0 and 0 < α < 1
s+
aT
1 1
− −
aT T
Since
1 + jω T 1
=
1 + jω aT ω =ω m
a
Gc ( jωm) = Kc a
a ( jω T + 1)
( jωaT + 1) where 0 < a < 1
is given by
D9
Kc a G( jωc ) = 10 log a
Example:
Consider
+
Gc(s) G(s)
4
where G (s) =
s (s + 2 )
Steady-state: Kv = 20
Transient response: phase margin >50°
gain margin >10 dB
For Kv = 20 Æ K = 10
s →0
4K a
1. K v = lim sGc (s )G(s ) = 2 = 2K c a = 20
c
Æ K α=10
c
D11
3. sin φ m = sin 38 , =
1− a
1+ a
Æ α = 0.24
4. Since for m, the frequency with the maximum phase-lead
angle, we have:
1 + jωmT 1
=
1 + jωmaT a
ωm = ωc and G c (s )G (s ) s = jω = 1
c
c = 9 rad/sec
40
= − 6 .2 dB at
jω c ( jω c + 2 )
D12
Æ
1 1 1
ωc = = = 9rad/ sec = 4.41
aT 0.24T T
and
20
Kc = = 41 .7
2a
s + 4 . 41
G c (s ) = 41 . 7
s + 18 . 4
+ 41.7(s + 4.41) 4
s + 18.4 s(s + 2)
-
40
Bode diagram for K c ⋅ a ⋅ G ( jω ) =
jω (jω + 2)
j ω + 4 . 41 4
G c ( j ω )G ( j ω ) = 41 . 7 ⋅
j ω + 18 . 4 j ω (j ω + 2)
D14
Lag compensators
1
s+
Ts + 1
G c (s ) = K c β = Kc T
T>0, >1
β Ts + 1 s+
1
βT
1 1
T βT
Frequency response:
1 1
βT T
-20log
Magnitude of (jT+1)/(jT+1)
D16
Example:
Consider
+
Gc(s) G(s)
where
1
G (s ) =
s (s + 1 )(0 . 5 s + 1 )
Steady state: Kv =5
Transient response: Phase margin > 40°
Gain margin > 10 dB
K v = lim KG (s ) = K = 5
s →0
1. K v = lim Gc (s )G(s ) = K c β = 5
s→0
Æ
2. Phase margin of the system 5G(s) is -13°
the closed-loop system is unstable.
Æ
Therefore
- 20log = - 20 dB = 10
5 1
5. Kc = = 0 .5 , pole : = 0 . 01
β βT
and
s + 0 .1
G c (s ) = 0 . 5
s + 0 . 01
D19
Lead-lag compensators
1 1
s+ s+
T1 T2 β sT1 + 1 sT2 + 1
Gc (s) = Kc ⋅ = Kc ⋅
γ γ s + 1 sβT2 + 1
1 T1
s+ s+
aT1 βT2 γ
Frequency response:
with Kc = 1, = = 10 and T2 = 10 T1
D21
1 1
s+ s +
Gc (s ) = K c
T1 T2
γ 1
s+ s +
T1 βT2
with Kc = 1 and =