Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
voltage
error
voltage
Angle of the
platform
u (t ) =
1
i ( )d
C 0
i (t ) = (t ) u (t ) =
t
1
( ) d =
C 0
C
t
C , 0 t T
i (t ) = (t ) (t T ) u (t ) =
T , otherwise
C
2)
Accumulator: h [ n ] = [ n ]
x [ n ] = [ n ] y [ n ] = n + 1.
x [ n] = [ n] [ n N ]
0,
y [ n ] = n + 1,
N + 1,
n<0
0n< N
nN
Analog systems
Strictly stable system
Transfer function : degree of numerator smaller than the
degree of denominator
Poles of the transfer function are in the left half plane
Wide sense stable system
Simple poles on the imaginary axis j or Re{s}=0
Digital systems
Strictly stable system
Transfer function : degree of numerator smaller or equal
than the degree of denominator
Poles of the transfer function are inside the unit circle
Wide sense stable system
Simple poles on the unit circle
a3
a5
.. 0
a0
n = 0
a2
a1
a4
a3
0
0
#
..
.. an
Example
d 5 y (t ) d 4 y (t )
d 3 y (t )
d 2 y (t )
dy ( t )
+
+
7
+
4
+ 10
+ 3 y (t ) = 2x (t )
5
4
3
2
dt
dt
dt
dt
dt
with zero initial conditions. The transfer function of the system is:
2
.
s + s + 7 s + 4 s 2 + 10s + 3
The coefficients of the polynomial Q ( s ) are:
H (s) =
10
1 4
1 7 10
5 = 0 1
0 1
0 0
1 = 1 > 0, 2 =
4 =
10 0
4
1 4
1 7
1 4 3
1 7 10
0
0
0 1
0 1
10
1 4
a1
a3
a5
= 3 > 0, 3 = a0
a2
a4 = 1 7 10 = ... = 5 > 0,
a1
a3
1 4
0 1
0
1 7 10 0
= ... = 8 > 0. 5 = 0 1 4 3
0 1
0 0
0
0 = 3 4 = 24 > 0.
10 0
4
____
11
Q (s) =
Y (s)
H (s)
=
X (s) 1+ H (s)G (s)
Q( z) =
Y ( z)
X ( z)
H ( z)
1+ H ( z)G ( z)
12
Open loop:
L( z) = H ( z)G ( z)
Q (s) =
K
1 + KP ( s )
KP ( s ) >>1
1
P (s)
14
Example
Direct system: differentiation, implemented using a capacitor (the
current trough the capacitor is the derivative of the voltage across
the device)
P(s)=sC
Inverse system: integrator
Q (s) =
Y (s)
1
=
X (s)
sRC
15
1
ct
K
1
Q ( ) so the open loop gain closed loop gain
K
16
Stabilization of unstable
systems. Examples
unstable systems included in a closed loop to make
them stable (for example, aircraft flight)
Example #1 Proportional feedback system
b
, a > 0 and G ( s ) = K
sa
H (s)
b
Q (s) =
=
1 + KH ( s ) s ( a Kb )
H (s) =
Pole: s p = a Kb LHP if
Kb > a
b
b
and G ( s ) = K Q ( s ) = 2
s2 + a
s + ( a + Kb )
02
s 2 + 20 s + 02
18
Example #3
H ( z) =
H ( z)
1
1
=
; G ( z ) = 2z 1 Q ( z ) =
1
1 2z
1 + H ( z ) G ( z ) 1 2 (1 ) z 1
z p = 2 (1 ) ,0 < < 1
Stable if z p < 1 1/ 2 < < 1
+
x[n]
1
1-2z-1
+
-
e[n]
y[n]
2z-1
19
Tracking systems
Automatic pilot: input is the desired route.
The output is the actual route of the plane.
20
For: H ( z ) = H c ( z ) H p ( z )
Y ( z) =
No disturbance.
H ( z)
X ( z ) ; with E ( z ) H ( z ) = Y ( z )
1+ H ( z)
E ( z) =
X ( z)
1 + H ( z)
X ( e j )
) = 1+ H
(e )
j
e [ n ] 0, E ( e j ) 0 large H ( e j )
A good tracking performance is obtained for a large global gain.
21
H ( z)
H ( z)
X ( z)
D ( z)
1+ H ( z)
1+ H ( z)
22
Microphone
K1
Q (s) =
23
K1
1 K1 K 2 e sT = 0 e sT = K1 K 2
sT
1 K1 K 2 e
Root-locus method
Poles of the closed loop transfer function are
plotted as a function of the gain K.
Simple case: poles are known
Example #1, digital system
1
z
2
=
; G ( z ) = 2z 1 =
1
1 2z
z2
z
1
z
Q( z) =
=
1 2 (1 ) z 1 z 2 (1 )
H (z) =
z p = 2 (1 )
Stable system if z p < 1
1
3
<<
2
2
25
26
Y ( s)
X (s)
Y (s)
X (s)
KH ( s )
1 + KH ( s ) G ( s )
H ( s)
1 + KH ( s ) G ( s )
27
1
K
s
2
2
; G (s) =
H ( s) G ( s) =
s2
s
s2
2
1
=
s2
=0s =2
jArg {G ( s0 ) H ( s0 )}
= 1
Arg {G ( s0 ) H ( s0 )} multiple of
odd multiple of K =
1
>0
G ( s0 ) H ( s0 )
even multiple of K =
for: H ( s ) G ( s ) =
1
<0
G ( s0 ) H ( s0 )
29
2
2
1
s2
s2
2
s0 < 2 Arg
=-
s0 2
2 s0
1
gain =
=
2
2
s0 2
s0 = 2 (1 )
30
H (s) =
1
1
;G ( s ) =
s +1
s+3
Real poles:
s0 \ ,s0 > 1 : Arg {G ( s0 ) H ( s0 )} = 0 K < 0
s0 \ , 3 < s0 < 1 : Arg {G ( s0 ) H ( s0 )} = - K > 0
s0 \ ,s0 < 3 : Arg {G ( s0 ) H ( s0 )} = - 2 K < 0
31
K<0 (may be
unstable)
32
G (s) H (s) =
s 1
( s + 1)( s + 3)
33
G (z) H (z) =
z 1
z
=
1
1
1 1 1 1
1 z 1 z z z
2
4
2
4
34
G (s) H (s) =
1
s ( s + 2 )( s + 4 )
K>0
36
Observations
1. If the open loop system is stable then H(s)G(s) doesnt have
poles in the right half plane or on the imaginary axis.
So, the open loop Nyquists hodograph doesnt make complete
rotations around the point (-1/K,0)
2. Since h(t) and g(t) are real functions, Nyquists hodograph for
(-,0) is obtained by symmetry with respect to the real axis
of the complex plane H(s)G(s) from the Nyquists hodograph for
(0,)
37
Example #1
G (s) =
1
1
1
; H (s) =
H (s)G ( s) =
2
s +1
0.5s + 1
0.5s + 1.5s + 1
38
1
<0
K
or
1
>1 K > 0
K
39
Example #2
- open loop system is unstable, a pole
in the right half plane:
G (s) H (s) =
2 ( s + 1)
( s 1)( s + 2 )
1
< 0 K >1
K
40
K <1
K1, K2 are acoustical attenuations
=> positive.
stable closed loop system if
K1K2<1
41
Discrete-time systems
Closed loop system is stable if all the zeros of :
R(z)=1/K + G(z)H(z)=0,
are inside the unit circle.
1
R ( z ) = R
z
z0 zero(pole) of R ( z ) 1 / z0 zero(pole) of R ( z )
z0 > 1
1
<1
z0
43
Example #1
z 2
1
=
1 1
1
1+ z
z z +
2
2
1
1 j ( 1 +2 ) 1 j ( 1 +2 )
H e j =
e
=
= e
1 v v
v2
e j e j + 1 2
2
G( z) H ( z) =
( ) ( )
G e j
( ) ( )
G ( e j ) H ( e j ) = 2
= 0,2: G e j H e j = 2 / 3
= :
44
{ ( ) ( )} = ( + )
Arg {G ( e ) H ( e )} = 4
Arg G e j H e j
j
45
Example #2
G( z) H ( z) =
1
: pole on the unit circle
z ( z 1)
( ) ( )
G e j H e j =
1 j ( +) 1 j ( +)
e
= e
v1v2
v2
/3
2/3
Magnitude
Argument
1
1/2
-
-2
Observations
x=-3/2 vertical
asymptote
{ ( ) ( )} = ( / 2 + / 2) =
Arg G e j H e j
47
48
Stable system
The gain bound of the first system is the minimum gain K for which
the second system, for =0, becomes unstable.
The phase bound of the first system is the minimum phase , for
which the second system, for K=1, becomes unstable .
49
( ) ( )
1 + H e j G e j K e j = 0
Modify K or one of the poles of the closed loop second
system goes on the imaginary axis, in the position j0.
50
1
4 1 + s
2
Example. G ( s ) H ( s ) =
.
2
s (1 + 2 s ) 1 + 0, 05s + ( 0,125s )
jArg {G ( j1 ) H ( j 1 )}
jArg {G ( j 0 ) H ( j0 )}
= 1.
= 1 Arg {G ( j1 ) H ( j1 )} = .
Gain margin:
1
K=
G ( j1 ) H ( j1 )
2 : G ( j2 ) H ( j2 ) = 1.
Phase margin:
= Arg {G ( j2 ) H ( j2 )} .
52
53