Beruflich Dokumente
Kultur Dokumente
Lecture 7: Experiment 6
EE380 (Control Systems)
Contents
1 Outline of the experiment 3
2 Background 4
3 Simulink demo 7
4 Practical results: PS at 12 V 8
JJ
II
J
I
Back
Forward
Close
3/21
Background
Two degree of freedom control
• Single DOF controller:
ωd + e i T + ω
C (s) G1 (s) G2 (s)
−
−
TL
ωd + e u + i T + ω
Ca ( s ) G1 (s) G2 (s)
− − −
Cb (s) TL JJ
II
J
• Ca (s) provides one degree of freedom while Cb (s) provides the other. I
• Cb (s) helps reject TL , while Ca (s) helps track ωd . Back
Forward
Close
5/21
Implementation of Cb (s): DOB
• Current control designed in previous experiment.
TL
id + u + 1 i T + − 1 ω
Ki ( s ) Kt
− − sL + RΣ Js + B
Kb
id = i T + 1 ω
Kt Js+ B
−
TL
+ b b
+
1 Js+ B
τs+1 b
− − iL
i[
Kt (τs+1) +n
bt bi L
K
bL
T
1
• Purpose of 1/(τs + 1): to make inversion of Js+ B practically possible, to improve
disturbance rejection.
• Closed-loop DOB to estimate TL :
id + T + 1 ω
Kt Js+ B
− JJ
+ TL
bi L + b b
+ II
1 Js+ B
τs+1 − b
Kt (τs+1) +n J
I
bt
K
bL Back
T
Forward
Close
7/21
Simulink demo
• Larger the τ, poorer the disturbance rejection.
• Trade-off with τ: dist. rej. versus noise rej.
• Effect of noise.
• Effect of breaking feedback of bi L .
• Effect of moving node * to after filter.
Part implemented in exp-t on “Control of armature current”
TL Inertia
ωd + id + + u+ 1 i T + − 1 ω
Kω ( s ) Ki ( s ) sL+ RΣ Kt Js+ B
− −
− + * JJ
Kb
bi L
II
Filter Inverse inertia
y1 + b b
J
1 Js+ B
τs+1 − b
y2 Kt (τs+1) I
Back
Forward
Close
8/21
Practical results: PS at 12 V
Speed of the motor shaft in (rad/s) without ILhat as feedback
80
60
40
20
−20
0 2 4 6 8 10 12
5 JJ
0
II
J
−5 I
Back
−10
0 2 4 6 8 10 12 Forward
Close
• But u is saturating. 9/21
60
40
20
−20
0 2 4 6 8 10 12 14
0
JJ
−5 II
J
−10
0 2 4 6 8 10 12 14 I
Back
• So, work with power supply providing 15 V to H-bridge. Forward
Close
10/21
120
100
80
60
40
20
0
0 1 2 3 4 5 6 7 8 9 10
2
JJ
1
0
II
−1 J
−2
0 1 2 3 4 5 6 7 8 9 10 I
Back
bL ≈ 0.004 Nm.
• Note that T Forward
Close
Speed of the motor shaft in (rad/s) with ILhat as feedback 11/21
140
120
100
80
60
40
20
0
0 1 2 3 4 5 6 7 8
15
10
−5
−10
−15
0 1 2 3 4 5 6 7 8 JJ
II
• Note that u is almost reaching 20 V, not saturating. Good! J
• But, ω deviates 20 rad/s from mean value after TL appears. Bad! I
Back
• Also, details of disturbance rejection blurred. Forward
Close
• Without DOB. 12/21
120
100
80
60
40
20
0
0 1 2 3 4 5 6 7 8 9
3
JJ
2
II
1
J
0
−1
I
−2
Back
0 1 2 3 4 5 6 7 8 9
Forward
Close
13/21
120
100
80
60
40
20
0
0 1 2 3 4 5 6 7 8 9
x 10
−3 TbL (Nm) with biL fed back
3
2.5
1.5
1
JJ
0.5 II
0 J
−0.5
0 1 2 3 4 5 6 7 8 9 I
Back
• Deviation in ω after disturbance appears ≈ 10 rad/s. Improved! Forward
Close
• Results of terminal.log, filtered. 14/21
100
80
60
40
20
0
0 1 2 3 4 5 6 7 8 9
x 10
−3 TbL (Nm) with biL fed back
3
2.5
1.5
0.5
0 JJ
−0.5
0 1 2 3 4 5 6 7 8 9
II
J
bL ≈ 0.0025 Nm. Explanation: string was making the radius of
•T I
pully larger than wire is making. Back
Forward
Close
• More results with DOB. 15/21
120
100
80
60
40
20
0
0 1 2 3 4 5 6 7 8 9
15
10
0
JJ
−5
0 1 2 3 4 5 6 7 8 9
II
J
I
Back
Forward
Close
• And, filtered results of terminal.log. 16/21
100
80
60
40
20
0
0 1 2 3 4 5 6 7 8 9
15
10
0 JJ
−5
0 1 2 3 4 5 6 7 8 9
II
J
I
Back
Forward
Close
ω(rad/s) without biL fed back
17/21
140
120
100
80
60
40
20
0
0 1 2 3 4 5 6 7 8
x 10
−3 TbL (Nm) without biL fed back
3
2.5
1.5
0.5
JJ
0
II
−0.5
0 1 2 3 4 5 6 7 8 J
I
Back
Forward
Close
ω(rad/s) without biL fed back
18/21
120
100
80
60
40
20
0
0 1 2 3 4 5 6 7 8
x 10
−3 TbL (Nm) without biL fed back
3
2.5
1.5
0.5
JJ
0
II
−0.5
0 1 2 3 4 5 6 7 8 J
I
Back
Forward
Close
ω(rad/s) without biL fed back
19/21
140
120
100
80
60
40
20
0
0 1 2 3 4 5 6 7 8 9
15
10
0
JJ
II
−5
0 1 2 3 4 5 6 7 8 9 J
I
Back
Forward
Close
ω(rad/s) without biL fed back
20/21
120
100
80
60
40
20
0
0 1 2 3 4 5 6 7 8 9
15
10
0
JJ
II
−5
0 1 2 3 4 5 6 7 8 9 J
I
Back
Forward
Close
21/21
JJ
II
J
I
Back
Forward
Close