Professional Documents
Culture Documents
CS EE380 Lec02 Expt1
CS EE380 Lec02 Expt1
Lecture 2: Experiment 1
EE380 (Control Systems)
Contents
1 Outline of the experiment 3
5 LW: Identification 7
8 Loop-shaping (3/5): ζ ←→ M p ←→ PM 10
JJ
9 Loop-shaping (4/5): M p ←→ DD ←→ PM 11
II
10 Loop-shaping (5/5): Determination of ω g 12 J
I
11 Discretization 13
Back
12 Simulate; LW: C code, Implement, Analyze 14 Forward
Close
3/14
JJ
II
J
I
Back
Forward
Close
4/14
Realization on hardware
• Utilize the various components of an integrated development environment (IDE):
editor, compiler, linker, debugger, and programmer to program a µC.
• Program controller using C language into µC.
• Monitoring: read data into PC from µC using UART modules.
JJ
Analysis II
J
• Compare actual performance with predicted performance.
I
Back
Forward
Close
5/14
HW LW
Kb
LW: Identification
V ω
ω(∞)
R 0.63ω(∞)
t τ t
Plant ω
V
klf LF forbidden
HF forbidden zone
zone
ωu ωn
ωd ωl ωg
khf −20 dB/dec
JJ
II
J
I
Back
Forward
Close
9/14
JJ
II
J
I
Back
DG = Gdes Forward
Close
10/14
Loop-shaping (3/5): ζ ←→ M p ←→ PM
From Lecture 26 of EE250-2011
100
PM (in °)
Mp (in %)
90
PM∼ (in °)
80
70
60
PM, Mp, PM∼
50
40
30
JJ
20
II
10
J
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
I
ξ
Back
Forward
Close
11/14
Loop-shaping (4/5): M p ←→ DD ←→ PM
From Lecture 26 of EE250-2011
2
∆
PM/100
1.8
1.6
DD (in decades) & PM (in degrees)
1.4
1.2
0.8
0.6
JJ
0.4
II
0.2 J
0 I
0 10 20 30 40 50 60 70 80 90 100
Peak overshoot M (in %)
p Back
Forward
Close
12/14
ts
τ≈ 5
1
ωb ≈ τ
Select this ω g
Discretization
a1 s + a0
s2 + b1 s + b0
Simulation
diagram
Group
ẋ1 = x2 terms ẋ = Ax + Bu
ẋ2 = −b0 x1 − b1 x2 + u
y = Cx + Du
y = a0 x1 + a1 x2
Euler’s
approximation
JJ
II
xk+1 = ( A∆t + I ) xk + B∆tuk , J
yk = Cxk + Duk I
Back
Forward
Close
14/14