Introduction to Digital Control
Angelo Cenedese
Dipartimento di Tecnica e Gestione dei Sistemi Industriali Università di Padova angelo.cenedese@unipd.it A.Y. 2008-2009
Introduction to Digital Control Angelo Cenedese Dipartimento di - - PowerPoint PPT Presentation
Introduction to Digital Control Angelo Cenedese Dipartimento di Tecnica e Gestione dei Sistemi Industriali Universit di Padova angelo.cenedese@unipd.it A.Y. 2008-2009 Introduction Direct Digital Control (DDC) Feedback control system where
Dipartimento di Tecnica e Gestione dei Sistemi Industriali Università di Padova angelo.cenedese@unipd.it A.Y. 2008-2009
A.Cenedese Introduction to Digital Control
1
A.Cenedese Introduction to Digital Control 2
A.Cenedese Introduction to Digital Control
3
A.Cenedese Introduction to Digital Control 4
A.Cenedese Introduction to Digital Control 5
n
A.Cenedese Introduction to Digital Control
6
A.Cenedese Introduction to Digital Control
7
A.Cenedese Introduction to Digital Control 8
1.4 CONT DISC
0.8 1 1.2 ut DISC 0.4 0.6
0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 0.2 time
A.Cenedese Introduction to Digital Control 9
ω0
Ω/2
Ω Ω 2Ω 2Ω 2Ω-ω0 ω ω
Ω-ω0 Ω+ω0
Ω
2Ω
ω0
A.Cenedese Introduction to Digital Control 10
A.Cenedese Introduction to Digital Control 11
A.Cenedese Introduction to Digital Control 12
A.Cenedese Introduction to Digital Control 13
A.Cenedese Introduction to Digital Control 14
Controllore Digitale P R O C E S S O H
T
sistema discreto
discreto u(k) y(k)
= =
M j j N i i
1
A.Cenedese Introduction to Digital Control 15
∞ ∞ −
i
∞ k
∞ ∞ −
i
∞ −
k i
k j k i
A.Cenedese Introduction to Digital Control 16
∞ −
k k
Im piano z
z plane
R Re piano z
z plane
1 1
+ − − − ∞ −
m i i m
A.Cenedese Introduction to Digital Control
m −
17
1 1
m m i i m − + − − − ∞ −
1
−
A.Cenedese Introduction to Digital Control 18
M j N i
M i N i
− −
= =
j j i i
1
1
i i
M i
− −
N i i i
iz
1
∞
A.Cenedese Introduction to Digital Control 19
k
0.8 1 0.2 0.4 0.6 h(k)
1 2 3 4 5 6
k
A.Cenedese Introduction to Digital Control 20
Controllore Digitale P R O C E S S O H y(t) y(kT) u(kT) u(t)
T y(t) y(kT)
u(k) H u(t) G(s) y(t) y(k)
A.Cenedese Introduction to Digital Control 21
H u(t) G(s) y(t) y(k)
u(k) u(t) ( )
A.Cenedese Introduction to Digital Control
22
∞ − ∞ − − − ) ( ) ( ) ( ) (
i k j i k j k i k j k i k j
ϑ ϑ ϑ ϑ
ϑ ϑ ϑ ϑ
ϑ
j jk i j jk
j =
∞ −
= + = = = ) ( 1 ) ( ) ( ) (
i j k i j i j i j
ϑ
e z i
j
= =
A.Cenedese Introduction to Digital Control 23
A.Cenedese Introduction to Digital Control 24
1.4 1.6 1.8 2
4 6 8 B) Bode Diagram
0.2 0.4 0.6 0.8 1 1.2 m
u lo
2 4 Magnitude (dB
1 2 3 4 5 6 7 8 9 10 θ=ωΤ −0.2 0.2 0.4 0.6 f a s e
ase (deg)
1 2 3 4 5 6 7 8 9 10 −0.8 −0.6 −0.4 θ=ωΤ
10
10
10 10
1
Pha Frequency (rad/sec)
π θ=ωΤ
A.Cenedese Introduction to Digital Control
25
A.Cenedese Introduction to Digital Control 26
A.Cenedese Introduction to Digital Control
27
A.Cenedese Introduction to Digital Control 28
control signal 2 5 3 3.5 4
C D-0.1 D-1.0 D-4.0 2 5 3 3.5 4 control signal C D-0.1 D-1.0 D-4.0 1 1.5 2 2.5 signal 1 1.5 2 2.5 signal
0.5
0.5
A.Cenedese Introduction to Digital Control 29
5 10 15 20 25 30 35 40 45 50
time 5 10 15 20 25 30 35 40 45 50
time
A.Cenedese Introduction to Digital Control
30
2 /
sT
−
y D( ) e-sT/2 G(s) D(s) y y m e
e G(s) y e m’
H0 G(s)
A.Cenedese Introduction to Digital Control
ϕ
c
ϕ
c
31
A.Cenedese Introduction to Digital Control 32
A.Cenedese Introduction to Digital Control 33
1
−
−
1
2 1 1 2
− −
− − 2 1 2 1
A.Cenedese Introduction to Digital Control 34
A.Cenedese Introduction to Digital Control 35
1 1 − −
1 1
1 1
− −
− −
1 1
A.Cenedese Introduction to Digital Control 36
1
1 −
−
1
1
−
A.Cenedese Introduction to Digital Control 37
T z s
1
1
−
− =
A.Cenedese Introduction to Digital Control 38
1
1 −
1 −
1 1
− −
1 1
− −
A.Cenedese Introduction to Digital Control 39
1
1
1 1
1 1 2
− −
+ − =
z z T s
A.Cenedese Introduction to Digital Control 40
m
n s s s
1
1
m i
1
n i z
1 1
T z i
s
T p i
s
A.Cenedese Introduction to Digital Control
41
control signal 1.5
C D-zoh D-tustin D-matched 2.5 3 3.5 control signal C D-zoh D-tustin D-matched 1 signal 1 1.5 2 signal 0.5
0.5
A.Cenedese Introduction to Digital Control 42
5 10 15 20 25 30 35 40 45 50 time 5 10 15 20 25 30 35 40 45 50
time
A.Cenedese Introduction to Digital Control 43
20 40 Bode Diagram
ω c |L|
Magnitude (dB)
c |W|
10
10
10 10
1
10
2
10
3
Frequency (rad/sec)
A.Cenedese Introduction to Digital Control 44
A.Cenedese Introduction to Digital Control 45
A.Cenedese Introduction to Digital Control 46
A.Cenedese Introduction to Digital Control 47
1 4 1.6 CONT DISC 1 2 1.4 CONT DISC 0 8 1 1.2 1.4 put DISC DISC-D 0 6 0.8 1 1.2 put DISC DISC-D 0.2 0.4 0.6 0.8
0.2 0.4 0.6 inp
A.Cenedese Introduction to Digital Control 48
0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 time 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
time
Dipartimento di Tecnica e Gestione dei Sistemi Industriali Università di Padova angelo.cenedese@unipd.it
A.Cenedese Introduction to Digital Control
< ∞
1
10
10
10 10
1
10
2
P h a s e ( d e g ) Bode Diagram Frequency (rad/sec)
10 20 M a g n i t u d e ( d B ) 1 2 3 4 5 6 0.5 1 1.5 2 2.5 3 Step Response Time (sec) A m p l i t u d e
A.Cenedese Introduction to Digital Control
1
2
10
10
10 10
1
10
2
P h a s e ( d e g ) Bode Diagram Frequency (rad/sec)
10 20 M a g n i t u d e ( d B ) 1 2 3 4 5 6 0.5 1 1.5 2 2.5 3 Step Response Time (sec) A m p l i t u d e
A.Cenedese Introduction to Digital Control
3
1 2 1
10
10
10 10
1
10
2
P h a s e ( d e g ) Bode Diagram Frequency (rad/sec)
10 20 M a g n i t u d e ( d B ) 1 2 3 4 5 6 0.5 1 1.5 2 2.5 3 Step Response Time (sec) A m p l i t u d e
A.Cenedese Introduction to Digital Control
4
2
1 1
1 1 2
z z T s
10
10
10 10
1
10
2
P h a s e ( d e g ) Bode Diagram Frequency (rad/sec)
10 20 M a g n i t u d e ( d B ) 1 2 3 4 5 6 0.5 1 1.5 2 2.5 3 Step Response Time (sec) A m p l i t u d e
A.Cenedese Introduction to Digital Control
5
n s m s s
1 1
n i m i z
1 1
T z i
s
T p i
s
1 2 3 4 5 6 0.5 1 1.5 2 2.5 3 Step Response Time (sec) A m p l i t u d e 10
10
10 10
1
10
2
P h a s e ( d e g ) Bode Diagram Frequency (rad/sec)
10 20 M a g n i t u d e ( d B )
A.Cenedese Introduction to Digital Control
6
A.Cenedese Introduction to Digital Control
7
P
L/ (T+T L)
d
P
A.Cenedese Introduction to Digital Control
8 L d P d
d P d d L d
L d P d L L d
d P d L d
L L L d d
1
A.Cenedese Introduction to Digital Control
9
k n i P i
i P i i
1
i P i
A.Cenedese Introduction to Digital Control
10
Y K
P
T/Ti 1 - z -1 1 - z -1 1 - z -1 T
L/ (T+T L)
T
d
T + T L u e H 0
d i P
A.Cenedese Introduction to Digital Control
11
1 1
I P I
L L D L I D L I
P I P I I
1 1
L D I
A.Cenedese Introduction to Digital Control
12
2 2 1 1 2 2 1 1
L D d I i P i i
A.Cenedese Introduction to Digital Control
13
d P i P P i P d P P d P P
n k
A.Cenedese Introduction to Digital Control
14
A.Cenedese Introduction to Digital Control
15
A.Cenedese Introduction to Digital Control
16
A.Cenedese Introduction to Digital Control
17
N
A.Cenedese Introduction to Digital Control
18
A.Cenedese Introduction to Digital Control
19
t 1 2 n 1 T 2
PROCESSO 1 PROCESSO n PROCESSO i I N P U T O U T P U T PROCESSO 1 PROCESSO i PROCESSO n
PROCESS1 PROCESS i PROCESS N
A.Cenedese Introduction to Digital Control
20
t (k-1)T kT (k+1)T riferimento equivalente
Equivalent reference
A.Cenedese Introduction to Digital Control
21
A.Cenedese Introduction to Digital Control
22
1 2 3 4 5 6 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
t
A.Cenedese Introduction to Digital Control
23
n tg R
/
n
A.Cenedese Introduction to Digital Control
24 2
sT
C
C
CT
C
A.Cenedese Introduction to Digital Control
25
1
ô T
T
ô T
2
A.Cenedese Introduction to Digital Control
26
A.Cenedese Introduction to Digital Control
27
A.Cenedese Introduction to Digital Control
28
2 4 6 8 10 12 14 16 18 20
0.2 0.4 0.6 0.8 1 1.2
k e ( k )
2 4 6 8 10 12 14 16 18 20 0.2 0.4 0.6 0.8 1 1.2 1.4
k y ( k )
2 4 6 8 10 12 14 16 18 20
0.5 1 1.5
k u ( k )
A.Cenedese Introduction to Digital Control
29
2 4 6 8 10 12 14 16 18 20
0.1 0.2 0.3 0.4 0.5 0.6
k u ( k )
2 4 6 8 10 12 14 16 18 20 0.2 0.4 0.6 0.8 1 1.2 1.4
k y ( k )
2 4 6 8 10 12 14 16 18 20
0.2 0.4 0.6 0.8 1 1.2
k e ( k )
A.Cenedese Introduction to Digital Control
30
A.Cenedese Introduction to Digital Control
31
A.Cenedese Introduction to Digital Control
32
A.Cenedese Introduction to Digital Control
33
A.Cenedese Introduction to Digital Control
34