Professional Documents
Culture Documents
Control For Dummies PDF
Control For Dummies PDF
Maarten Steinbuch
Dept. Mechanical Engineering
Control Systems Technology Group
TU/e
Motion Systems
F
m
1
1. Introduction
2. Timedomain tuning
3. Frequency domain & stability
4. Filters
5. Feedforward
6. Servo-oriented design of mechanical systems
2
x
Disturbance F
Servo force ? d
F Mass
s M
Mechanical solution:
x
k
F Disturbance Fd
Mass
M
d
1 k
Eigenfrequ
ency: f=
2π M
3
Servo analogon:
F
servo Mass
M
1 kp k p : servo stiffness
Eigenfrequency: f =
2π M kv : servo damping
Example:
x
Disturbance F
d
F Mass
s M
Slide: mass = 5 kg
Required accuracy 10 µm at all times
Disturbance (f.e. friction) = 3 N
4
How to move to / follow a setpoint:
x
h or x
s
x
xs
Fd
Fdisturbance
controller process
xs +
e d F x
+
k p + kv Mass
-
dt +
Fservo
Kp/kv-controller or PD-controller
5
controller
xs
+ e x
kp = ? process
-
kv = ? Fservo
kp
⇒ error ⇔ stability
kv
Trade off
x
xs
kp
M
kv
6
Setpoints:
x
xs
What should xs look like as a function of time, when moving the mass?
(first order, second order, third order,….?)
x
Apply a force F (step profile):
F (t ) = M&x&(t ) F M
7
Example
Pos = 2π ≈ 6.3rad
Velmax = 20π ≈ 63rad / sec
Acc max = 500π ≈ 1.6e3rad / sec 2
3 Frequency domain
Time domain:
Monday and Thursday at 22:10
Frequency domain:
twice a week
8
x
F M
x -2
|H| =
F
frequency (log)
phase
H
o
-180
0.15
F
M
0.1
weak spring M = 5 kg
(f = 2.5 Hz)
0.05
F (t ) = 400 sin(2π 7t ) 0
-0.05
response
-0.1
-0.15
H (7 Hz ) ≈ 0.045 / 400 = 1e − 4 m / N 0 0.5 1 1.5 2 2.5
time in sec
∠H (7 Hz ) ≈ −180 0
9
finding a solution of the equation of motion: x
••
F=M x F M
choose input:
∧
F = F sin(ωt )
then:
∧
∧
x = x sin(ωt + ϕ ) x = ?;ϕ = ?
solution:
∧
amplitude in dB
-20
-40
-60
-80
2 3
10 10
frequency in Hz
phase in deg
200
-200 2 3
10 10
10
Derivation of transfer function
2. substitute s=d./dt
3. rearrange the equations and get the transfer function e.g. H(s)
Transfer function:
x( s) 1
H (s) = = 2
F ( s ) Ms + ds + k
F 1 x
Ms 2 + ds + k
11
consider sinusoidal signals ('Euler notation'):
s → jω
1
H ( jω ) =
− M ω 2 + jdω + k
e d F
k p + kv
dt
F = k p e + k v e&
F ( s) = ( k p + k v s) e ( s)
transfer function:
F
C ( s) = ( s) = ( k p + k v s)
e
frequency response:
C = k p + jk v ω
12
Amplitude: C = k p2 + kv2ω 2
ω→0 ⇒ C → kp
∠C → 0°
ω→∞ ⇒ C → kvω
∠C → 90°
break point:
log k p = log k v + log ω
kp
ω=
kv
80
+1
+0
60 0 1 2
10 10 10
frequency in Hz
phase in deg
100
50
0 0 1 2
10 10 10
13
Block manipulation
e x
C(s) H(s) x ( s)
= C ( s) H ( s)
e ( s)
C +1 H -2
1
kp M
kp frequency
kv
-2
CH
-1
frequency
xs + e x
C(s) H(s)
-
x CH
Hc = =
xs 1 + CH
14
Four important transfer functions Fd
xs + e + x
C(s) H(s)
1. open loop: - Fs+
Ho ( s) = C( s) H ( s)
2. closed loop:
x C (s) H (s)
H c (s) = (s) =
xs 1 + C (s) H (s)
3. sensitivity:
e 1
S ( s) = ( s) =
xs 1 + C ( s) H ( s)
4. process sensitivity:
x H ( s)
H ps ( s) = ( s) =
Fd 1 + C ( s ) H ( s)
Fd
xs + e + x
C(s) H(s)
- Fs+
15
amplitude in dB
closed loop
20
-20
-40
2 3
phase in deg 10 10
200
Experimental results:
-200 2 3
10 10
stage servo
amplitude in dB open loop
20
-20
-40
2 3
10 frequency in Hz 10
phase in deg
200
-200 2 3
10 10
Control for Dummies 31
16
The Nyquist curve
0 1
-50
0.5
amplitude (appr 0.7)
-100 1 2
10 10
0
phase in deg frequency
0 phase (appr. -175 deg)
-0.5
-100
-1
-200 -1.5
1 2
10 10 -1.5 -1 -0.5 0 0.5 1 1.5
frequency
Stability:
The open-loop FRF CH(jω) should have the (-1,0) point at left side
Nyquist plot
1.5
Im
0.5
Re
0
ω
ω
-0.5
-1
-1.5
-1.5 -1 -0.5 0 0.5 1 1.5
17
4. Filters Mimo
•Integral action
•Differential action PeeDee
•Low-pass PeeEye
•High-pass
•Band-pass
•Notch (‘sper’) filter
Integral action :
1 Y(t)
X(t)
τis
-1
0° ω=2πf
-90°
Control for Dummies 36
18
Differential action
+1
u u
H = ks = ; s = jω; = kω ω
ε ε +90°
ε u 0°
ks
1
= ωd = 2πfd
ks u τd
“tamme” differentiator :=
ε τ d s +1 ω
+90°
0°
“lead” filter
u 1 + τ 1s 1 + τ d s
H= = = τ1
ε 1 + τ 2s 1 + τ d s γ ≈ 2−5
γ τ2
γ>1 1
1 ω c = ω1ω 2 =
τ 1τ 2
ω
+90°
0°
1 1
ω1 = ω2 =
τ1 τ2
Control for Dummies 38
19
P+I+D
u 1 1 + τ d s
H = = k 1 +
ε τ i s 1 + τ d s
γ
-1 +1
1 1
ωi = ωd =
τi τd ω
+90°
0°
-90°
2β 1 Top: ωo = ω1 1 − β 2 .
2β
1
-2 ε
0°
-90 °
-180°
ω = ω1
20
General 2nd order filters
2
General: ω1≠ω2 ω2
ω1
s2 s
2
+ 2 β1 +1 +2
u ω 1 ω1
H= = 2 1
ε s s
+ 2β 2 +1
ω 22 ω2
+180°
0°
ω1 ≥ ω 2 +2
ω 22 -2
2
ω
1
0°
-180°
ω2 ω1
Control for Dummies 42
21
“Notch”-filter :ω1= ω2
ampl.
β1
β2
fase 0°
-180°
Control for Dummies 43
W.B.E.
22
Loop shaping procedure
Implementation issues
180º @ 4 kHz
18º @ 400 Hz
9º @ 200 Hz
23
5 Feedforward design
Why feedforward?
F
m
Setpoint x s
x
0
0 t [s] 1.8
24
Analysis (IV)
-3
x 10
2
m = 5 [kg]
1.5
K v= 260 [Ns/m]
1
K p= 6500 [N/m]
error [m]
0.5
-1.5
-2
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
t [s]
ms 2
xs 1 x
K p + Kv s
ms 2
25
Example: m=5 [kg], b=1 [Ns/m], 2nd degree setpoint
1
xs [m] 0.5
1.5
vs [ms-1]
0.5
4
as [ms-2]
-2
-4
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6
t [s]
1.5
0.5
error [m]
-0.5
-1
-1.5
-2
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8
t [s]
26
Example: tracking error, with feedforward
-3
x 10
2
0.5
K fv= 0.9, K fa= 4.5
error [m]
-0.5
-1
-1.5
-2
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8
t [s]
feedforward structure
sign( x& s )
K fc
x&&s
K fa
x& s
K fv
xs x
C(s) H(s)
27
3rd degree setpoint trajectory
1.5
xs [m]
1
0.5
1
vs [ms-1]
0.5
4
as [ms-2]
-2
-4
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8
t [s]
6. Servo-oriented design of
mechanical systems
28
Example of measurement:
mechanical system (force to position)
- Actuator flexibility
- Guidance flexibility
29
1. Actuator flexibility
k
F
s Motor Sensor
d
2. Guidance flexibility
F M,
s J
k
30
3. Limited mass and stiffness of frame
F
s
Motor
Frame
M1 M2
31
Concluding Remarks
32