Documente Academic
Documente Profesional
Documente Cultură
Tutorials
February 3, 2016
Universität Bremen
Contents
Contents
1 Switching Elements 5
1.1 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.3 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.4 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2 Equilibrium Points 14
2.1 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3 Lyapunov 18
3.1 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4 Describing Function 23
4.1 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.2 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.3 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.4 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4.5 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5 Circle Criterion 39
5.1 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6 Hyperstability 46
6.1 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6.2 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7 Sliding-Mode Control 53
7.1 Sliding-mode control . . . . . . . . . . . . . . . . . . . . . . . . 53
2
Contents
10.2 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
10.3 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
10.4 Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
3
Contents
4
1 Switching Elements
1 Switching Elements
1.1 Task
u e y
y0
ç
y1 V −ç ç 0
Ts+1
Figure 1: Switching Element with hysteresis and a PT1 in the feedback loop
Solution
y
u0 + e
u0
y1
u0 - e
0 t1 t2
t
5
1 Switching Elements
y1 (t1 ) = u0 + ε (2)
t1
= u0 − ε + [Vy0 − (u0 − ε)] 1 − e T (3)
Vy0 − u0 + ε
⇒ t1 = T · ln (4)
Vy0 − u0 − ε
with y = 0 holds, Uo
t−t1
y1 = (ω0 + ε) e− T (5)
Toggle at t2 :
t2 −t1
y1 (t2 ) = u0 − ε = (u0 + ε) e− T (6)
u0 + ε
t2 − t1 = T · ln (7)
u0 − ε
Mean value for y:
t1 t0
ȳ = y0 · = y0 · (8)
t2 T
V −u +ε
T · ln Vyy0 −u00 −ε
0
=
V −u +ε
(9)
u0 +ε
T · ln u0 −ε + T · ln Vyy0 −u00 −ε
0
Vy0 −u0 +ε
ln Vy −u0 −ε
0
= (10)
u0 +ε Vy0 −u0 +ε
ln u0 −ε Vy −u0 −ε
0
6
1 Switching Elements
1.2 Task
controller
w e u 1 u V y
TIs (T1s+1)(T2s+1)
yR
GR(s)
Solution
The mean value of yR will follow the mean value of u. ū depends on the on-
and off-time of the switching element. But if ȳR = GR ū, the mean value ū will
be approximately equal to the control error e.
Then
1
ū = ·e (13)
GR (s)
1
GR (s) can be considered as controller transfer function.
7
1 Switching Elements
Because of the integrator at the input of the plant, it is possible to include this
0
integrator in the controller. The output of the integrator is named u which
should be the new actuating variable.
0 1
u = ·u (14)
TI · s
1 1 ! 1
= · · e = VR + ·e (15)
TI · s GR (s) TI · s
| {z }
PI-controller
1 1 ! VR TI · s + 1
⇒ ·s· = (16)
TI GR (s) TI
·s
1 1
⇒ GR (s) = = (17)
VR TI · s + 1 TR · s + 1
GR (s) must be a first-order lag with the time constant TR = VR TI . The dom-
inant time constant of the plant, which is T2 here, should be compensated by
!
the zero of the PI-controller. Therefor TR = T2 .
T2
⇒ VR = (18)
TI
1
⇒ GR (s) = (19)
T2 · s + 1
8
1 Switching Elements
1.3 Task
w e u a 1 v y=l
T1
w e u v y=l
T1
Prove the stability of the system shown in figure 4. First calculate the oscil-
lation, then derive the stability from the development of amplitude and time
period. Use only the first two quarter periods for calculation, starting with v
and l both at 0, going up. The first order lag element is set with gain V = 1
and with its time constant identical to the rise time t1 , i.e. the time when the
controller switches back (T1 = t1 ).
Solution
The steady oscillation needs to be calculated using the intervals [0, t1 ] and
[t1 , t2 ]. The relationship between the variables is defined as:
u = ±u0 (20)
a=u−v (21)
Z
v = a dt (22)
Z
l = v dt (23)
9
1 Switching Elements
Interval [0, t1 ] The step response of the 1st order lag is calculated as:
− t
v (t) = u0 1 − e T1 (24)
By inserting T1 = t1 the new l (t1 ) and v (t1 ) and therefore t1 can be calcu-
lated.
Interval [t1 , t2 ]: For simplification, t1 is set as the new zero point. Remember
to be careful using the 1st order lag step response and start at v (t1 ) and go to
−u0 .
u0
æ 1ö
u0 ç 2 - ÷
æ 1ö è eø
ç1 - ÷
è eø
t
t1 t2¢
-u 0
Figure 5: Behavior of v
10
1 Switching Elements
0
t = t − t1 (30)
" 0
!#
0 1 1 − tt
⇒ v t = u0 1 − − 2 − 1−e 1 (31)
e e
" 0
#
0 1 − tt
⇒ v t = u0 −1 + 2 − e 1 (32)
e
0
To calculate t2 , v is set to zero.
" 0 #
0 1 − tt2
0 = v t2 = u0 −1 + 2 − e 1 (33)
e
0
1 − tt2
1= 2− e 1 (34)
e
0
−t2
1
1 =e t1 (35)
2− e
0 1
⇒ t2 = t1 · ln 2 − (36)
e
0
For stability we want to compare t2 with t1 . Using:
1
e ≈ 2.72 ⇒ ≈ 0.37 (37)
e
1 1
2− < e ⇒ ln 2 − <1 (38)
e e
0
⇒ t2 < t1 (39)
The same could have been shown starting on the down-slope, i.e. for the next
two quarter-periods. So the time per quarter period decreases.
0
Next l needs to be calculated for t .
0 Z t0
00
l t = l (t1 ) + v dt (40)
0
Z t0 " 00
#
(32)
0
1 − tt 00
⇒ l t = l (t1 ) + u0 −1 + 2 − e 1 dt (41)
0 e
0
!!
0 1 − tt
= l (t1 ) + u0 −t − t1 2 − e 1 −1 (42)
e
11
1 Switching Elements
0 0
Now l t2 can be calculated by inserting t2 . Remember that l (t1 ) = w.
0 !!
t
0 0 1 − t2
l t2 = w + u0 −t2 − t1 2 − e 1 −1 (43)
e
0 1 − ln(2− 1 )
= w − u0 t2 − u0 t1 2 − e e − 1 (44)
e
1
= w − u0 t1 ln 2 − + (45)
e
1 −1
1 1
− u0 t1 2 − 2− +u0 t1 2 − (46)
e e e
| {z }
1
1 1
= w + u0 t1 1 − − ln 2 − (47)
e e
(28)
0
w 1 1 1
⇒ l t2 = w + u
0 1 1 − − ln 2 − = l (t2 ) (48)
u
01+ e e e
The amplitude and the quarter period time both decrease by time per quarter
period ⇒ stable.
12
1 Switching Elements
1.4 Task
w e u=a v y=l
13
2 Equilibrium Points
2 Equilibrium Points
2.1 Task
G1(s) G2(s)
w e u y
V1 V2
G1 (s) = , G2 (s) = (55)
T1 · s + 1 T2 · s + 1
u
u0
−e0 e0 e
−u0
14
2 Equilibrium Points
Solution
a) The equilibrium point is the position of rest, when the input signal is
constant and after all transients have finished.
(
u0
· e for |e| < e0 (linear range)
u = f (e) = e0 (56)
±u0 for |e| ≥ e0 (non-linear range)
The possibility that we are either in the linear range or in the non-linear
range of the switching element has to be considered.
We are in the linear range when
u0 V1 V2
⇒ yr = T (s = 0) · w = · 2e0 (60)
e0 + u0 V1 V2
Transfer function from w to u:
u0
e0
u= ·w (61)
1 + Go
u0
e0
⇒ ur = · w (62)
u0 V1 V2
1+ e0 · T1 s+1 · T2 s+1
s=0
w=2e0
u0
= · 2e0 (63)
e0 + u0 V1 V2
Position of rest (equilibrium point) of linear range:
2e0 u0 V1 V2 2e0 u0
[w, yr , ur ] = 2e0 , , (64)
e0 + u0 V1 V2 e0 + u0 V1 V2
15
2 Equilibrium Points
b) General form:
w−yr ur
0 Δe e u Δu Δy
f(e,ė) G(s)
f
non-linear part
2e0−yr ur
0 Δe e u Δu Δy
f
G1(s) G2(s)
c)
16
2 Equilibrium Points
2e0 u0 V1 V2 2 · 14 2
yr = = 1 = (69)
e0 + u0 V1 V2 1+ 4 5
8
e = w − yr = > e0 (70)
5
e is greater than e0 . But in the linear range, it must be smaller. Obviously
the assumption was wrong and the system is in the non-linear range:
1
yr = , ur = 1 (71)
4
Position of rest:
1
[w, yr , ur ] = 2, , 1 (72)
4
ur = u0 = 1 ⇒ constant
With small deviations of ∆w or ∆y nothing happens.
e) A position of rest will be reached when the input of the integrator is 0.
!
⇒ ur = 0 (in linear range) (73)
⇒ w − yr = 0 ⇒ yr = w = 2e0 (74)
17
3 Lyapunov
3 Lyapunov
3.1 Task
u1
x1
G1(s)
G2(s)
u2
x2
V1/2
G1/2 = (76)
T1/2 s + 1
Solution
a) State-space equations:
1 V1
ẋ1 = − · x1 + · x1 x2 (77)
T1 T1
1 V2
ẋ2 = − · x2 + · x1 x2 (78)
T2 T2
18
3 Lyapunov
0
⇒ xr1 = (81)
0
1 V1 !
⇒ − + · x2 = 0 (82)
T1 T1
1 V2 !
⇒ − + · x1 = 0 (83)
T2 T2
"1#
V2
⇒ xr2 = 1
(84)
V1
19
3 Lyapunov
⇒ 1 − V 1 · x2 > 0 (91)
1 − V 2 · x1 > 0 (92)
1
⇒ x2 < (93)
V1
1
x1 < (94)
V2
x2 1
V1
1
V2
x1
In this range V̇ < 0 holds. But this is not the domain of attraction,
because it has to be enclosed by a contour line of V (x).
Next, a contour line that encloses as much as possible of the range of
V̇ < 0 has to be determined:
c := V (x) = λ1 x21 + λ2 x22 ⇒ ellipse (95)
Now λ1 and λ2 are defined such that the resulting ellipse touches both
boundary lines for V̇ < 0. The points
"1# " #
V2
0
, 1
(96)
0 V2
shall be on the ellipse.
1
c = λ1 · ⇒ λ1 = V22 · c (97)
V22
1
c = λ2 · 2 ⇒ λ2 = V12 · c (98)
V1
20
3 Lyapunov
x2 1
V1
1
domain of
V2
attraction
x1
c)
21
3 Lyapunov
22
4 Describing Function
4 Describing Function
4.1 Task
w e u 1 x
Ð
(s+1)4 b
−b
tan(α) = m (109)
Solution
a)
(
b+m·e for e > 0
u= (110)
−b + m · e for e < 0
e = A · sin(ωt) (111)
With
2π
sin(ωt) = sin ·t (112)
T
it follows, that
T
e > 0 for t = 0, and (113)
2
T
e < 0 for t = ,T . (114)
2
23
4 Describing Function
2π
with T =
ω
Z π Z π
2ω ω 2ω ω
B1 = b sin (ωt) dt + mA sin2 (ωt) dt (121)
π 0 π 0
π
2ω 1 ω
= · b · − · cos(ωt) + (122)
π ω 0
π
2ω 1 1 ω
+ · mA · ·t− · sin(2ωt) (123)
π 2 4ω 0
2ω 1 1
= ·b· + + mA (124)
π ω ω
4b
= + mA (125)
π
4b
q
C1 = A21 + B12 = B1 = + mA (126)
π
A1
ϕ1 = arctan =0 (127)
B1
24
4 Describing Function
u1
e u e N1(A) u
=
u2
N2(A)
4b
N1 (A) = descr. fct. of 2-point sw. elem. (129)
πA
N2 (A) = m linear part (130)
4b
N (A) = N1 (A) + N2 (A) = +m (131)
πA
1 1
That means, that − N (A) goes from 0 to − m . Now, the Nyquist-plot of
1
− N (A) and the system can be drawn:
25
4 Describing Function
jIm
−1 − 1 Re
m N(A)
G(jæ)
1
Figure 16: Nyquist plot of − N (A) and PT4
26
4 Describing Function
4ω 3 − 4ω !
Im {G(jω)} = 4 =0 (137)
(ω 2 + 1)
!
4ω 3 − 4ω = 0 (138)
⇒ ω1 = 0 or ω2 = 1 (139)
For m < 4:
1
− N (A) is partially located on the left side of the intersection with the
Nyquist plot of G. This case represents the stable limit cycle.
For m ≥ 4:
1
− N (A) is completely located on the right side of the Nyquist plot of G or
touches it for A → ∞ (infinite amplitude). The system is unstable!
4.2 Task
u
b2
b1
−a2 −a1
a1 a2 e
−b1
−b2
27
4 Describing Function
Solution
A
b2
a2
b1
a1
x,y
- a1
-b1
- a2
-b2
-A
t
Figure 18: Time behavior of a sinusoidal input waveform (curve) and output
(green dashed curve) of non-linear transfer element
28
4 Describing Function
N(A)
b2
a2
b1
a1
A
a1 a2
• For A < a1 ,
there will be no output of the non-linear block.
• For a1 < A < a2 ,
the output will be switching between b1 , 0 and −b1 while the du-
ration at every output level is depending on A. The describing
function will grow very fast when A reaches a1 . While A is increas-
ing more, the time at levels ±a1 increases as well, which leads to an
increasing fourier-coefficient C1 (A). But because of the division by
A the describing function will decrease until A reaches a2 .
• For a2 < A,
the behaviour of the describing function will be similar to the pre-
vious range of A, but for high amplitudes, the describing function
29
4 Describing Function
will go towards zero. The reason is, that the output level of the
non-linear transfer element is limited to ±b2 . When A increases
more and more, only the amount of time at the levels ±b2 increases,
which will effect the fourier-coefficient of the fundamental wave only
marginal.
d)
Im
Re
-b2
1
-
N(A)
PT2
PT3
1
Figure 20: PT2 , PT3 and − N (A)
4.3 Task
For the following non-linear element (figure 21), compute the describing func-
tion. From this, derive the describing function of an
30
4 Describing Function
-a - qa
e
qa a
-b
d) For the last describing function, evaluate stability with the linear part
as:
• an IT1 -system.
• two integrators.
• a PT2 -system.
Solution
31
4 Describing Function
a
qa
u
-qa
-a
-b
0 p 2p 3p
w w w
t
Figure 22: Behavior of sine wave input (blue curve) and output (green dashed)
of the switching element
With
a
A · sin (ωta ) = a ⇒ sin (ωta ) = (144)
A
qa
A · sin (ωtqa ) = qa ⇒ sin (ωtqa ) = (145)
A
(146)
q
cos(x) = ± 1 − sin2 (x) (147)
π
cos (ωta ) > 0 because 0 ≤ ωta ≤ (148)
2
π
cos (ωtqa ) < 0 because ≤ ωtqa ≤ π (149)
r 2
a 2
⇒ cos (ωta ) = + 1 − (150)
A
r qa 2
⇒ cos (ωtqa ) = − 1 − (151)
A
32
4 Describing Function
it follows for B1 :
r !
2ω 1 qa 2 1 r a 2
B1 = ·b· · 1− + · 1− (152)
π ω A ω A
r r !
2b qa 2 a 2
= · 1− + 1− (153)
π A A
Because of the hysteresis, the oscillation at the output will be delayed. The
Fourier coefficient A1 has to be calculated.
2 T
Z
A1 = u(t) · cos(ωt) dt (154)
T 0
de
e(t) = A · sin(ωt) , = ωA · cos(ωT ) (155)
dt
1
⇒ cos(ωT ) dt = dt (156)
ωA
Because of the hysteresis the switching points are different for ė < 0 and ė > 0.
There is an upper curve Fu for ė < 0 and a lower curve Fl for ė > 0.
Z A Z −A Z 0
1
⇒ A1 = · Fl de + Fu de + Fl de (157)
πA 0 A −A
Z A Z −A
1
= · Fl de + Fu de (158)
πA −A A
Z A Z A
1
= · Fl de − Fu de (159)
πA −A −A
Z A
1
=− · (Fu − Fl ) de (160)
πA
| −A {z }
area betw. switch. curves
1
=− · 2ab(1 − q) (161)
πA
Describing function:
1
N (A) = (B1 + jA1 ) (162)
A
1 A
q
2 2 j arctan B1
= A + B1 · e 1 (163)
A" 1 ! #
r qa 2 r
1 2b a 2 2ab
= 1− + 1− −j (1 − q) (164)
A π A A πA
33
4 Describing Function
Now the describing functions for different switching elements are computed:
a) Ideal 3-point switching element:
q=1
r
4b a 2 !
N (A) = · 1− , A>a (165)
πA A
d) Stability evaluation:
1 πa 1
− =− · √ (170)
N (A) 4b λ 1 − λ2 − jλ2
√
πa λ 1 − λ2 + jλ2
=− · (171)
4b λ2 (1 − λ2 ) + λ4
p
πa 1
=− · 1 − λ2 + j (172)
4b λ
r
πa A a 2 πa
=− · 1− −j (173)
4b a A 4b
s
πa A 2 πa
=− · −1−j (174)
4b a 4b
34
4 Describing Function
Im
I2
πa Re
A®¥ 4b
A=a
1
-
N(A) PT2
IT1
1
Figure 23: Nyquist plot of − N (A) , PT2 , IT1 and I2
• IT1 -system:
π π π
∆ϕnecessary = ik + rk π = + 0 = (175)
2 2 2
left of the intersection: ∆ϕ ≈ π2 ⇒ attenuating oscillation
right of the intersection: ∆ϕ ≈ −π ⇒ increasing oscillation
⇒ stable limit cycle
• Two integrators:
∆ϕnecessary = π (176)
π
∆ϕ ≈ −π . . . − 2 ⇒ unstable
• PT2 -system:
∆ϕnecessary = 0 (177)
35
4 Describing Function
4.4 Task
-c
e
c
-k
a) Sketch the time course of the output value for a sinusoidal input oscilla-
tion with the amplitudes A < c and A > c.
b) Does the describing function depend on the frequency? (give a reason)
c) Without calculation, determine the behavior of the describing function
N (A). Sketch this behavior in a diagram as function of the input signal
amplitude A. Give the correct value for the maximum of the describing
function and for the bend point amplitude.
d) What precondition has to be fulfilled, so that the transfer function as a
controller in combination with a second-order lag gives a stable control
loop?
e) What precondition has to be fulfilled, so that the transfer function as
a controller in combination with a third-order lag gives a stable control
loop?
4.5 Task
36
4 Describing Function
N(A) N(A)
a) b)
a1 a2 A a1 a2 A
5
4
3
2
1
- 5 - 4 -3 -2 -1 e
1 2 3 4 5
-1
-2
-3
-4
-5
d) Compare with the stability of a linear system with the quantizer replaced
by a gain factor of 1. Why was the result to be expected?
37
4 Describing Function
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
1 1.2 1.4 1.6 1.8 2
38
5 Circle Criterion
5 Circle Criterion
5.1 Task
For the plant shown in figure 28, calculate the real PID-controller.
Solution
a) The time constants Tr1 and Tr2 of the controller zeros can be used to
cancel the double dominant time constant of the plant:
39
5 Circle Criterion
jIm
−1 Re
2G2(jæ)
If Vr is small enough the intersection of the Nyquist plot with the real
axis lies right of −1. In that case the system is stable, because of
π
∆ϕ = = ∆ϕnecessary ⇒ stable (181)
2
To determine the maximum allowed controller gain Vr the frequency ω
at intersection of the Nyquist plot with the negative real axis must be
calculated first.
2 · Vr
2 · G2 (jω) = (182)
jω (1 + 0.1jω) · (1 + jω)
2 · Vr −jω (1 − 0.1jω) · (1 − jω)
= ·
jω (1 + 0.1jω) · (1 + jω) −jω (1 − 0.1jω) · (1 − jω)
(183)
2 · Vr −jω − 0.1ω 2 (1 − jω)
= (184)
ω 2 (1 + 0.01ω 2 ) · (1 + ω 2 )
2 · Vr −1.1ω 2 − j ω − 0.1ω 3
= (185)
ω 2 (1 + 0.01ω 2 ) · (1 + ω 2 )
2 · Vr −ω + 0.1ω 3
Im {2 · G2 (jω)} = 2 (186)
ω (1 + 0.01ω 2 ) · (1 + ω 2 )
2 · Vr (−1 + 0.1ω 2 ) !
= =0 (187)
ω (1 + 0.01ω 2 ) · (1 + ω 2 )
!
⇒ −1 + 0.1ω 2 = 0 (188)
2
ω = 10 (189)
√
⇒ ω= 10 (190)
40
5 Circle Criterion
1 3 u u
k1t=−0.5
1
km = (k1 + k2 ) = 1.5 (195)
2
41
5 Circle Criterion
F(u)
w e u y y y y
KPID F(u) G(s)
km
G2
z }| { 00
u = − KPID · G ·(y + km · u) (196)
00
⇒ u(1 + G2 · km ) = −G2 · y (197)
u G2
⇒ 00 = − = −Gt (198)
y 1 + G2 · k m
G2
⇒ Gt = (199)
1 + km G2
According to circle criterion different cases must be distinguished:
here:
• k1 , k2 > 0 ⇒ G2 doesn’t have to be stable
• Gt must be stable
• linear part must be outside the circle
42
5 Circle Criterion
G2
Gt (s) = (200)
1 + km G2
Vr
= (201)
s(1 − 0.1s)(1 + s) + 1.5 · Vr
Vr
= 3 +1.1 s2 +1 s +1.5 · V
(202)
0.1 s
|{z} | {z } |{z} | {z }r
a3 a2 a1 a0
To check the stability of Gt (s), it is sufficient to check that all poles are
placed in the left side of the complex plane. Instead of calculating the
poles exactly, the Hurwitz criterion is applied:
All coefficients of the characteristic polynomial have the same sign. X
For n ≥ 3, the determinants of all north-western (sub)matrices of the
Hurwitz-matrix must have the same sign as well:
a2 a0 0
H = a3 a1 0 (203)
0 a2 a0
With Vr < 7.33 all poles are in left half plane; Gt (s) is stable.
(Remember the result from part b): For the linearized system, Vr must
be smaller than 5.5 to ensure stability. But here the stability of the
00
transfer function from y to u (only for the linear part) had to be proved
as precondition to apply the circle criterion.)
43
5 Circle Criterion
jIm
−1 −3 −1 Re
4 2
G2(jæ)
-0.1
-0.2
-0.3
-0.4
-0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0
For Vr = 2.4, the Nyquist plot of the linear part (G2 ) nearly touches the
44
5 Circle Criterion
circle. According to the circle criterion, this is the maximum allowed gain
to ensure stability.
d) Compared to the linearization around 0 the non-linear gain is lowered.
However the allowed controller gain drops from 5.5 to 2.4. This is caused
by the conservative behavior of circle criterion. The gain of the controller
could be tuned again by hand, if material and safety permit possible
unstable reactions.
45
6 Hyperstability
6 Hyperstability
6.1 Task
a) Calculate G(s).
b) Show that G(s) is hyperstable.
c) Combine this system with a nonlinear part f (e) = exp(e) − 1. Does the
resulting closed-loop system have a stable position of rest w = y = 0?
Solution
46
6 Hyperstability
3s + 24 + 21s 24s + 24
y = 3x1 + 21x2 = 2
= 2 u (227)
s + 3s + 8 |s + {z
3s + 8}
G(s)
s2 + 3s + 8 = 0 (229)
r r
3 9 3 23
s1/2 = − ± −8=− ±j (230)
2 4 2 4
Re{s1/2 } < 0 (both poles are in the left halfplane) ⇒ stable!
( )
(24jω + 24) 8 − ω 2 − 3jω
24jω + 24
Re = Re (231)
−ω 2 + 3jω + 8 (8 − ω 2 )2 + 9ω 2
72ω 2 + 192 − 24ω 2
= (232)
(8 − ω 2 )2 + 9ω 2
ω2 + 4
= 48 >0 (233)
(8 − ω 2 )2 + 9ω 2
(234)
47
6 Hyperstability
if e > 0:
exp(e) > 1 ⇒ exp(e) − 1 > 0 ⇒ (exp(e) − 1) · e > 0
if e < 0:
exp(e) < 1 ⇒ exp(e) − 1 < 0 ⇒ (exp(e) − 1) · e > 0
For all control errors e the condition is satisfied. ⇒ The closed loop is
stable!
Only the linear part can be hyperstable. The whole system with non-
linearity is stable for a position of rest, if the equation above holds for
the non-linear part.
6.2 Task
48
6 Hyperstability
Solution
If
• a linear state space system is controllable and observable
•
AT P + P A = −LLT (242)
LV = C T − P B (243)
T T
D+D =V V (244)
Here:
• The system is controllable and observable (use Kalman).
•
D=0 ⇒ V =0 (245)
T T
A P + P A = −LL (246)
P B = CT (247)
49
6 Hyperstability
from P B = C T = I,
−1 0 1
P =B = (252)
1 0
A positive definite matrix must have eigenvalues with positive real part.
eigenvalues of P :
λ −1 !
det = λ2 − 1 = 0 ⇒ λ1/2 = ±1 (253)
−1 λ
non-linear system
u1 = x22 (258)
u2 = f (x1 , x2 ) = u (259)
| {z }
state controller
50
6 Hyperstability
if x2 ≥ 0 : x2 x1 + f (x1 , x2 ) ≤ 0 (263)
⇒ f (x1 , x2 ) ≤ −x2 x1 (264)
51
6 Hyperstability
plant
controller x&1 x1
x1 x&2 x2
u
x2 u = - x1 x2
æ -2 1 ö
ç ÷
è -1 -3 ø
52
7 Sliding-Mode Control
7 Sliding-Mode Control
Ff = c · v 2 with c = 1. (269)
200 m
20 km l
53
7 Sliding-Mode Control
Solution
d(t)
u¢ u 1 a v
m
m
1
m
v2
control error e = xd − x, the nominal model f0 (x), the bound F for the
model error f (x)−f0 (x), the bound D for the disturbance d(t), the value
54
7 Sliding-Mode Control
η defining how fast the system approaches the sliding mode hypersurface,
and with λT and q as defined below.
(n−1)
δ
q(e) = +λ ·e (275)
δt
= e(n−1) + λT e (276)
here n = 1:
⇒ q(e) = e = e + λT e (277)
T
⇒ λ e=0 (278)
T
⇒ λ ė = 0 (279)
Fb α
α
mg
55
7 Sliding-Mode Control
56
7 Sliding-Mode Control
xd = vd · t (296)
(1)
⇒ xd = vd (297)
(2)
⇒ xd =0 (298)
e = xd − x = vd · t − l (305)
⇒ ė = vd − v (306)
57
7 Sliding-Mode Control
u 1 a v l
m
v2
mg×p sin 2p
100 20km
plant
controller
I
v2
II mg×p sin 2p
100 20km
III e&
ml vd
e&
+ IV sgn(e& +λe)
e
×m(D +η) e
–
e& = -le
η: With η the speed of the controller is adjusted with which the sys-
tem approaches the hypersurface. Notice: the larger η is, the larger the
actuating variable has to be.
λ: Defines the hypersurface and in this way the time in which the error
is zeroed.
58
8 Gain Scheduling Controller
8.1 Task
For the plant given in the previous task, a gain-scheduling controller has to be
created.
a) Define suitable supporting points.
b) Compute the linear model for each of these points.
c) With the poles at −1, compute a linear controller for each point.
d) Check the overall stability.
Hint: Use the Theorem of Lyapunov Equation.
Solution
h
3
200 m
2 4
1 5
20 km l
59
8 Gain Scheduling Controller
0
point(s) property gradient h (l)
1,3,5 no slope 0
2 max. gradient ≈ 0.031
4 min. gradient ≈ −0.031
∂f ∂ g·π 2·π
· ∆l = − · sin · l · ∆l (310)
∂l l0 ∂l 100 20 km
l0
g·π 2·π 2·π
=− · · cos · l · ∆l (311)
100 20 km 20 km l0
2
g·π 2·π
=− · cos · l0 ·∆l (312)
1000 km 20 km
| {z }
cl
= −cl · ∆l (313)
2
∂f ∂ v
· ∆v = − · ∆v (314)
∂v v0 ∂v m v0
2 · v0
=− · ∆v (315)
m
∂f 1
· ∆u = · ∆u (316)
∂u u0
m
2 · v0 1
∆a = −cl · ∆l − · ∆v + · ∆u (317)
m m
60
8 Gain Scheduling Controller
˙
∆l 0 1 ∆l 0
˙ = 2v0 · + 1 ·∆u(t) (318)
∆v −c l − ∆v m
| {z } | {z m } | {z } |{z}
ẋ A x b
1
det (Qs ) = − 6= 0 ⇔ rank (Qs ) = 2 (= n) (321)
m2
⇒ controllable! (322)
−1
• calculation of tT
1 (last row of Qs ):
" 2·v 1
#T
adj(Qs ) − m20 −m
Q−1
s = 2
= −m · 1
(324)
det(Qs ) −m 0
2 · v0 m
= (325)
m 0
tT
⇒ 1 = m 0 (326)
61
8 Gain Scheduling Controller
fT T T
x = −p0 t1 − p1 t1 A − t1 A
T 2
(327)
" #
T
0 1
t1 A = m 0 · = 0 m (328)
−cl −2·v
m
0
" #
T 2
0 1
t1 A = 0 m · = −mc l −2v 0 (329)
−cl −2·v
m
0
fT
x = − m 0 − 2 0 m − −mcl −2v0 (330)
= mcl − m 2v0 − 2m (331)
Both eigenvalues are at −1. This result is not surprising because the
linearized system is controllable and the poles of the controlled system
have been placed at −1.
Here, the closed-loop system shows exactly the same behaviour in every
0
operating point, because A and its eigenvalues are not dependent on the
operating point (l0 , v0 )!
But generally, when a gain-scheduling controller is designed for different
operating points of a non-linear system, the closed-loop behaviour might
be different in every operating point. In that case, there will be different
0
matrices Ai for each operating point i.
62
8 Gain Scheduling Controller
is negative definite for all operating points! (Generally, this can be solved
as LMI-problem)
0 0
Here: Ai = A . It has to be shown that there exists a positive definite
P , so that
0T 0
M = A P + PA (339)
63
9 Exam 1 - Autumn 2010
9.1 Task
a) Describe the basic idea of the stability definition by Lyapunov, both for
simple and asymptotic stability.
b) Explain the basic idea of the direct method by Lyapunov. Use a drawing
in the state plane.
c) The Lyapunov function V (x1 , x2 ) = (x1 )2 + (x1 )3 + (x2 )2 is given. The
time derivative of this function is always negative for a given System
and the neutral position (0,0). You do not need to proove this. By the
Lyapunov function, what can be said about the stability of this neutral
position?
Solution
64
9 Exam 1 - Autumn 2010
x2
x1
9.2 Task
For application of the Popov criterion the characteric curve of the nonlinear
part has to run through a specific sector.
a) Sketch the ”standard control loop” from the lecture, consisting of a non-
linear and a linear transfer part.
b) Expand the control loop for the case, in which a sector transformation of
the nonlinear part is needed.
c) For the expanded control loop, what is the transfer behavior of the linear
part?
Solution
w e u y
f(e) G(jω)
65
9 Exam 1 - Autumn 2010
k1
ft (e)
w e u ut u y
f(e) G(jω)
- kt
c)
9.3 Task
66
9 Exam 1 - Autumn 2010
e) After the expansion, what else is needed to proove stability of the overall
closed loop system?
Solution
D D
¢
f (e) G ¢(s)
w e u u¢ u y
f G(s)
K K
Figure 44: Standard control loop in black with expansions in red and blue
y(s)
= G(s) (344)
u(s)
y(s) = G(s) · (u0 (s) − K · y(s)) (345)
0
y(s)(I + G · K) = G · u (s) (346)
y(s)
= G · (I + GK)−1 + D (347)
u0 (s)
67
9 Exam 1 - Autumn 2010
e) Equation (348) has to be proven for all T > 0 to ensure the hyperstability
of the transformed, nonlinear part of the system.
Z T
u0T e0 dt ≥ −β02 (348)
0
68
10 Exam 2 - Spring 2011
10.1 Task
The following control loop is given. The controller is a 3-point controller with
a given tolerance region, and the output values (−1, 0, 1). The factor k is an
adjustable gain and part of the controller. The plant consists of an integrator
plus a 2nd order lag that may oscillate.
w u x1 y
k
With help of the factor k the control loop shall be tuned, so that at a constant
reference value w a constant control value y is the result, with the control error
lies inside the controller tolerance region:
|w − y| < e (349)
Solution
a) The parameter k should not be too large because otherwise the reaction
of y is delayed. Therefore x1 integrates towards a higher value causing
the controller to counter steer and causing an oscillation.
If k is small enough, u becomes 0 and x1 a constant value causing y to
converge towards w.
69
10 Exam 2 - Spring 2011
10.2 Task
• for D ≥ 1
• for D = √1
2
Solution
70
10 Exam 2 - Spring 2011
!
V (x) = ax21 + bx22 = 0 is fulfilled when a > 0 and b > 0.
10.3 Task
With the help of the Popov Criterion shown in figure 46 to be stable for all
characteristic curves that lie in the sector (−1, 1).
w 1 y
s+3
71
10 Exam 2 - Spring 2011
Solution
! 1 1
Re {(1 + jqω)Gt (jω)} > − =− (358)
k2 − k1 2
1
= Re (1 + jqω) (359)
jω + 2
1
= Re (1 + jqω)(jω − 2) (360)
−ω 2 − 4
−2 − qω 2 ! 1
= >− (361)
−ω 2 − 4 2
!
⇒ 4 + 2qω 2 > −4 − ω 2 (362)
!
⇒ 8 + (2q + 1)ω 2 > 0 (363)
⇒ stable (364)
10.4 Task
With the help of the circle criterion, show the system in figure 46 to be stable.
As the circle criterion is derived from the small gain theorem, you can proof
stability directly with the small gain theorem instead.
72
10 Exam 2 - Spring 2011
Solution
G(s)
A stable system Gt = 1+km ·G(s) has to be formed with km = 21 (k1 + k2 ) = 0.
Im
1
3
Re
1 1
-1 = - 1= -
k2 k1
The curve in figure 47 lies outside of the forbidden area and thus in the circle
with radius 1.
1
Provided that G(s) is stable ⇒ s+3 is stable as long as sm = −3 < 0.
1
||f ||∞ · ||G||∞ = 1 · <1 (365)
3
⇒ stable
⇒ fmax = 3 i.e. k1 = −3 and k2 = 3.
Therefore the system is stable with |k1 | = |k2 | = 3 as a maximum value.
73
11 Exam 3 - Autumn 2011
11.1 Task
Given is the following control loop with a 3-point controller with internal feed-
back:
controller
x1
w e u y
First, assume that the internal feedback does not exist. The tolerance zone of
the controller e shall be much smaller than one. For a step input (w switches
from 0 to 1) draw the course of all variables w, e, u, x1 , and y. At the beginning,
all variables shall be zero.
a) Assume, that the integrator time constant is so large, that e will not leave
the tolerance interval of the controller any more after reaching it.
b) Now assume a smaller integrator time constant. e will reach the toler-
ance interval of the controller, but then it will get too large in negative
direction, so that the controller has to switch to its negative output value.
c) (Option) Now, the internal feedback is activated. Again, for the same
step input, draw all internal system variables, including h.
Solution
74
11 Exam 3 - Autumn 2011
1
w
0
0 0.5 1 1.5 2 2.5 3
t
1
e
0
-1
0 0.5 1 1.5 2 2.5 3
t
1
0
h
-1
0 0.5 1 1.5 2 2.5 3
t
5
0
u
-5
0 0.5 1 1.5 2 2.5 3
t
4
2
x
0
0 0.5 1 1.5 2 2.5 3
t
2
1
y
0
0 0.5 1 1.5 2 2.5 3
t
Figure 49: Behavior of the variables in the system for different scenarios
75
11 Exam 3 - Autumn 2011
11.2 Task
First, write down the state space equations of the system without external
input, where you can assume each time constant being 1 s. These equations
you just have to insert later. Then, start the proof with unknown parameters
a, b. If you do a case-by-case analysis depending on the sign and the values of
x1 and x2 , you will find out, what a and b have to satisfy to prove stability.
Solution
T1 : ẋ1 + x1 = V1 · u = 0 (367)
⇒ ẋ1 = −x1 (368)
T2 : ẋ2 + x2 = V2 · x1 (369)
⇒ ẋ2 = V2 · x1 − x2 (370)
!
V = ax21 + bx22 > 0 (371)
⇒ a>0∧b>0 (372)
76
11 Exam 3 - Autumn 2011
1 2
⇒ b > 0 ∧ 2a − bV2 > 0 (379)
2
⇒ b > 0 ∧ 4a > bV22 (380)
77
12 Exam 4 - Spring 2012
12.1 Task
Give Lyapunov’s definition of stability with your own words. Use a drawing
for explanation. Explain also the difference between normal and asymptotical
stability, as well as the domain of attraction of a rest point.
Solution
x2
e
d xR
x0 x1
78
12 Exam 4 - Spring 2012
x2
x1
xR x0
12.2 Task
Check the stability of a double integrator with the help of the direct method
of Lyapunov. First, imagine the behavior of the system: What happens, if
the state variables take certain values? After that, you may choose a very
simple Lyapunov function and do the necessary considerations. You will have
to separate between different cases. And especially, the special cases of the
theorem will appear.
Remark: The direct method can be used to prove stability or instability.
Solution
u x1 x2
Assumption: u = 0
if x1 6= 0 ⇒ x2 → ±∞
if x1 = 0 ⇒ x2 = constant ⇒ position of rest
but with x = 0 as position of rest
only for x0 = 0 (trivial) ⇒ unstable
79
12 Exam 4 - Spring 2012
x2
12.3 Task
Given is a transfer element with the characteristic curve shown in figure 54.
u
m
-a e
a
m
80
12 Exam 4 - Spring 2012
a) Sketch the behavior of the output signal, if the input is a sine wave, for
different amplitudes A < a; A > a; A a.
b) Does describing function depend on the frequency here? Give the reason.
c) Imagine yourself the behavior of the describing function N (A). Sketch
it in a diagram, depending on the signal amplitude A. Mark important
points in the curve.
d) What is the condition, so that this transfer element as controller together
with a 2nd -order lag as plant will give a stable closed-loop system?
e) What is the condition, so that this transfer element as controller together
with a 3rd -order lag as plant will give a stable closed-loop system?
Solution
0.6
0.4
0.2
x,y
0
-0.2
-0.4
0 2 4 6 8 10
t
Figure 55: behavior of the output (green) and input (sine wave in blue and
dashed) signal with A < a
81
12 Exam 4 - Spring 2012
x,y 1
-1
-2
0 2 4 6 8 10
t
Figure 56: behavior of the output (green) and input (sine wave in blue and
dashed) signal with A > a
10
5
x,y
-5
-10
0 2 4 6 8 10
t
Figure 57: behavior of the output (green) and input (sine wave in blue and
dashed) signal with A a
82
12 Exam 4 - Spring 2012
N(A)
A
a
1
d) The curves of the PT2 -element and of − N (A) meet at the origin (figure
59): ∆ϕPT2 = 0 = ∆ϕ ⇒ stable.
Im
Re
1 PT2
-
N(A)
1
e) Depending on V , the PT3 and − N (A) can either intersect to the left
1
of the point − m or the curve runs to the right of the point causing no
intersection (figure 60). If there is an intersection, the system is unstable:
∆ϕ = 2π 6= 0 = ∆ϕ ⇒ unstable. If there is no intersection, it is
stable: ∆ϕ = 0 = ∆ϕ ⇒ stable.
83
12 Exam 4 - Spring 2012
Im
Re
1
-
m
1 PT3
-
N(A)
12.4 Task
k(t)
w u y
With the help of Hyperstability Theory check the conditions for k(t), so that
the closed loop will be stable.
Hint: First, you have to enlarge the entire system to make the linear part
positive real.
Solution
1
G(s) = s is not stable. Therefore feedbacks are included as seen in figure 62.
84
12 Exam 4 - Spring 2012
k(t)
w e¢ u¢ y
-1
1
G0 (s) = (385)
s+1
G0 (s) is stable and positiv real ⇒ hyperstable.
f0 : (386)
0 0 0
u = k(t) · e − e (387)
0
= (k(t) − 1)e (388)
0
⇒ f = (k(t) − 1) (389)
Z T Z T
0 0
f e dt = (k(t) − 1)e02 dt 6≥ −β02 (390)
0 0
This is fulfilled for:
(k(t) − 1) ≥ 0 (391)
k(t) ≤ 1 (392)
Therefore the closed-loop system is stable.
12.5 Task
85
12 Exam 4 - Spring 2012
Solution
1
ẋ1 = (u − x1 ) (393)
T
1
x1 = u (394)
Ts + 1
y = V (x1 ) · x1 (395)
86
12 Exam 4 - Spring 2012
V kv
Þ
x1 x1
87
13 Exam 5 - Autumn 2012
13.1 Task
Solution
w e u x1 = y
88
13 Exam 5 - Autumn 2012
1.5
y 1
0.5
0
0 1 2 3 4
t
w e u x1 = y
TL
89
13 Exam 5 - Autumn 2012
1.5
y 1
0.5
0
0 1 2 3 4
t
Figure 69: Output of a 2-point controller with hysteresis and an integrator with
a deadtime in the feedback
c) See figure 71 for case a) represented by the blue curve and case b) repre-
sented by the green dashed curve.
w e u x1 = y y ¢= x2
TL
90
13 Exam 5 - Autumn 2012
x2
0
0
x1
Figure 71: Behavior of state vector in state plane for case a) and b)
13.2 Task
-a e
a
-a
a) Sketch the behavior of the output signal, if the input is a sine wave, for
different amplitudes A < a; A > a; A a.
b) Does the describing function depend on the frequency here? Give the
reason.
c) Imagine yourself the behavior of the describing function N (A). Sketch
it in a diagram, depending on the signal amplitude A. Mark important
points in the curve.
91
13 Exam 5 - Autumn 2012
Solution
1
w,y
-1
0 5 10
t
Figure 73: behavior of output (green and dashed curve) und input (sine wave
in blue) signal for A < a
1
w,y
-1
0 5 10
t
Figure 74: behavior of output (green and dashed) und input (sine wave in blue)
signal for A > a
92
13 Exam 5 - Autumn 2012
10
x 10
1
w,y
0
-1
0 5 10
t
Figure 75: behavior of output (in blue) und input (sine wave in green and
dashed) signal for A a
N(A)
1
d) The curves of the PT2 -element and of − N (A) meet at the origin (figure
77). ∆ϕ = 0 = ∆ϕ ⇒ stable.
93
13 Exam 5 - Autumn 2012
Im
Re
1 PT2
-
N(A)
1
e) The curves of the PT3 -element and of − N (A) intersect (figure 78). For
the points left of the intersection: ∆ϕ = 0 = ∆ϕ ⇒ stable. For the
points right of the intersection: ∆ϕ = 2π 6= ∆ϕ ⇒ unstable.
Im
Re
1 PT3
-
N(A)
94
13 Exam 5 - Autumn 2012
13.3 Task
The following structure is given. A ball is moving on the sketched height profile.
Discuss the stability of the ball position in A, if
a) B is higher than A.
b) B is lower than A.
c) instead of B there is only a saddle point in the curve.
B
A
Solution
The ball starts to roll to the point A from the areas marked in figure 80 by a fat
line. Thus it is asymptotically stable. If the ball starts at a different position,
it rolls into point B and is not globally stable in regard to point A.
The three different ball positions do not have a different effect on the stability.
The only difference is that the marked areas are smaller when there is only a
saddle point in the curve instead of point B.
B
A
Figure 80: Structure of ball moving on the sketched height profile with marked
areas
95
13 Exam 5 - Autumn 2012
13.4 Task
2
k(t)
w u y
With the help of Hyperstability Theory check the conditions for k(t), so that
the closed loop will be stable. Hint: First, you have to enlarge the entire
system to make the linear part positive real.
Solution
1
G(s) = 2 + s is not stable.
2s + 1 2s + 1
⇒ G0 (s) = = (399)
s + (2s + 1)k2 (1 + 2k2 )s + k2
k2
⇒ s∞ =− (400)
1 + 2k2
96
13 Exam 5 - Autumn 2012
Im
Re
k2 < 0 k2 > 0
k1 k2
k(t) 2
w e u u¢ y
97
13 Exam 5 - Autumn 2012
13.5 Task
With the help of a block diagram and the complex plane, describe how to apply
the circle criterion (incl. sector transformation).
Solution
ft Gt
w u ut u y
f(m) G(t)
km km
Figure 84:
98
13 Exam 5 - Autumn 2012
1
km = (k1 + k2 ) (404)
2
1 1 1
r= − (405)
2 k1 k2
1 1 1
m=− + (406)
2 k1 k2
Im
r
Stable
Re
m
G(jω)
99
13 Exam 5 - Autumn 2012
Im
Stable
Re
m
G(jω)
Im
Stable
Re
G(jω)
1
-
k2
100
13 Exam 5 - Autumn 2012
Im Stable
Re
G(jω)
1
-
k1
101
14 Exam 6 - Spring 2013
14.1 Task
Solution
T2 T1
w e u x y
K
102
14 Exam 6 - Spring 2013
0
u
-1
0 1 2 3 4 5 6 7 8
t
4
2
x,y
-2
0 1 2 3 4 5 6 7 8
t
Figure 90: behavior of x (blue curve), y (green and dashed curve) and u for a
2-point controller with hysteresis
103
14 Exam 6 - Spring 2013
0
u
-1
0 1 2 3 4 5 6 7 8
2 t
x,y
0
0 1 2 3 4 5 6 7 8
t
Figure 91: behavior of x (blue curve), y (green and dahsed curve) and u for an
ideal 2-point controller
0
u
-1
0 1 2 3 4 5 6 7 8
t
1.5
1
x,y
0.5
0
0 1 2 3 4 5 6 7 8
t
Figure 92: behavior of x (blue curve), y (green and dashed curve) and u for an
ideal 3-point controller
104
14 Exam 6 - Spring 2013
0
u
-1
0 1 2 3 4 5 6 7 8
t
4
2
x,y
-2
0 1 2 3 4 5 6 7 8
t
Figure 93: behavior of x, y and u for an ideal 3-point controller with an in-
terference (blue curves) in comparison to without interference (red,
dashed curves)
e) The control behavior is worse because the system cannot keep up with
the controller. Thus the tolerance area is left a couple of times until the
system converges to its position of rest. Additionally, a larger amplitude
can be seen.
14.2 Task
a) Sketch the behavior of the output signal, if the input is a sine wave.
b) Does the describing function depend on the frequency here? Give the
reason.
c) Sketch the describing function roughly.
105
14 Exam 6 - Spring 2013
Solution
1
x,y
-1
0 2 4 6 8 10
t
Figure 94: behavior of output (green, dashed curve) and input (sine wave in
blue) signal
106
14 Exam 6 - Spring 2013
N(A)
A
1
d) The curves of the PT2 -element and of − N (A) meet at the origin (figure
96), ∆ϕnecessary = 0 = ∆ϕ ⇒ stable.
Im
Re
1 PT2
-
N(A)
1
Figure 96: Nyquist plot of − N (A) and PT2
1
e) The curves of the PT3 -element and of − N (A) meet at −5 (figure 97). For
the points left from the intersection ∆ϕnecessary = ∆ϕ and for the points
right from the intersection this does not apply. Therefore the system is
unstable.
107
14 Exam 6 - Spring 2013
Im
Re
-5
1 PT3
-
N(A)
1
Figure 97: Nyquist plot of − N (A) and PT3
1
f) The deadtime and − N (A) meet left of −1 (figure 98). For the points left
from the intersection ∆ϕnecessary ≈ ∆ϕ and for the points right from the
intersection this does not apply. Therefore the system is unstable.
Im
-1 Re
1
-
N(A)
1
Figure 98: Nyquist plot of − N (A) and PT3
108
14 Exam 6 - Spring 2013
14.3 Task
Solution
asymptotally stable,
not globally unstable
unstable unstable
All positions of rest in figure 100, except for the third case, are unstable. The
third is asymptotically, however not globally, stable because the pendulum
always returns to the position of rest (u = 0) from any point.
109
14 Exam 6 - Spring 2013
14.4 Task
k1 k2
w y
x × 2x
With the help of Hyperstability Theory check the condition(s) for k1 and k2 ,
so that the closed loop will be stable. k2 is part of the plant, but can be chosen
here without any restrictions.
Solution
or:
1
G(s) = (413)
s − k2 + k1
110
14 Exam 6 - Spring 2013
Z Z
u · e dt = e2 dt ≥ −β 2 (414)
⇒ fulfilled
⇒ whole system stable for k1 > k2
111
15 Exam 7 - Autumn 2013
15.1 Task
15.2 Task
a) Sketch the course of the output signal, if the input is a sine wave. Choose
the amplitude of the input signal large enough, so that one can see clearly
the principle of the transfer behaviour.
b) Sketch the describing function N (A) and mark important values.
c) Against which value does this function converge?
d) Assume a closed-loop system, consisting of this transfer element as con-
troller together with a 2nd-order lag as plant. Discuss the stability.
e) Assume a closed-loop system, consisting of this transfer element as con-
troller together with a 3rd-order lag as plant. Discuss the stability.
112
15 Exam 7 - Autumn 2013
15.3 Task
Prove the stability of the position of rest of the spring-mass system above with
the help of Lyapunov’s direct method.
15.4 Task
u = f (e) = e3 − ae (415)
With the help of Hyperstability theory calculate a value for a, so that the
closed loop will be stable.
113
16 Exam 8 - Spring 2014
16.1 Task
The following control loop is given, consisting of two ideal 2-point switching
elements and two integrators. The initial values of all variables are zero.
y1 x1 y2 x2
-
TI,1 TI,2
a) Sketch the course of the output variables of all transfer elements over the
time, assuming a step function at the input of the control loop.
b) Give the maximum and minimum values of x1 and x2 (values might
depend on the time constants of the integrators).
c) Sketch the course of the two state variables in the state plane. Is the
system stable (give reason)?
d) Now assume, that the output of the second switching element is multi-
plied by -1. Sketch again the course of the output variables of all transfer
elements over the time, assuming a step function at the input of the
control loop.
e) Sketch the course of the two state variables in the state plane. Is the
system stable (give reason)?
114
16 Exam 8 - Spring 2014
16.2 Task
a) Sketch the course of the output signal, if the input is a sine wave. Choose
the amplitude of the input signal large enough, so that one can see clearly
the principle of the transfer behaviour.
b) Sketch the describing function N (A) and mark important values.
c) Assume a closed-loop system, consisting of this transfer element as con-
troller together with a 2nd-order lag as plant. Discuss the stability.
d) Assume a closed-loop system, consisting of this transfer element as con-
troller together with a 3rd-order lag as plant. Discuss the stability.
e) Assume a closed-loop system, consisting of this transfer element as con-
troller together with an integrator and a 1st-order lag as plant. Discuss
the stability.
f) Assume a closed-loop system, consisting of this transfer element as con-
troller together with a lead (PD) plus double integrator as plant. Discuss
the stability.
Hint: G(s) = TTDIs+1
s2
g) Now do the stability analysis with the help of the circle criterion.
115
16 Exam 8 - Spring 2014
16.3 Task
Explain the direct method of Lyapunov and prove the stability of the zero
position of rest of the following system with the help of Lyapunov’s direct
method.
−1 −1
A= (416)
0 −2
1
B= (417)
−1
16.4 Task
116
17 Exam 9 - Autumn 2014
17.1 Task
a) Sketch the course of the output signal, if the input is a sine wave. Choose
the amplitude of the input signal large enough, so that one can see clearly
the principle of the transfer behaviour.
b) Sketch the describing function N (A) and mark important values.
c) Assume a closed-loop system, consisting of this transfer element as con-
troller together with a 2nd-order lag as plant. Discuss the stability.
d) Assume a closed-loop system, consisting of this transfer element as con-
troller together with a 3rd-order lag as plant. Discuss the stability.
e) Assume a closed-loop system, consisting of this transfer element as con-
troller together with delay element with variable gain as plant: G(s) =
V e−T s Discuss the stability.
17.2 Task
Explain the direct method of Lyapunov and prove the stability of the zero
position of rest of the following system with the help of Lyapunov’s direct
method.
−2 1
A= (419)
1 −1
1
B= (420)
−1
117
17 Exam 9 - Autumn 2014
17.3 Task
17.4 Task
a) Following the idea of gain scheduling, design a PI controller for the set
points u = −3, −2, −1, +1, +2, +3 and describe shortly, how the gain
scheduling controller works. The objective is, that the closed loop system
behavior is more or less equal over the complete working range.
b) Generally, this system can be controlled without gain scheduling, using
a simple PI controller. What does this mean for the closed-loop system?
c) A nonlinear compensation would be even better and more elegant than
the gain scheduling controller. How could it look like here?
118
18 Exam 10 - Spring 2015
18.1 Task
119
18 Exam 10 - Spring 2015
18.2 Task
Prove the stability of the given system (not only for one position of rest) with
the help of Lyapunov’s direct method. Integrator time constant as well as the
gain and time constant of the first-order lag can have any value.
18.3 Task
18.4 Task
120
18 Exam 10 - Spring 2015
18.5 Task
121