Professional Documents
Culture Documents
Digital
Digital
Digital
DTI
Automazione
SUPSI
DTI
Automazione
Discrete-time signals
SUPSI
DTI
Automazione
Step Response
0.35 From: U(1)
0.3
0.25
Amplitude
To: Y(1)
0.2
0.15
0.1
0.05
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
Time (sec.)
SUPSI
DTI
Automazione
SUPSI
DTI
Automazione
Sampling
SUPSI
DTI
Automazione
SUPSI
DTI
Automazione
Sampled signal
with
SUPSI
DTI
Automazione
1.5
0.5
0 -10
-8
-6
-4
-2
10
1.5
w1
0.5
0 -15
-10
-5
10
15
SUPSI
DTI
Automazione
Hold
Linear operation
1(t)
1(t T)
SUPSI
DTI
Automazione
Z transform
SUPSI
DTI
Automazione
SUPSI
DTI
Automazione
SUPSI
DTI
Automazione
Examples of z transforms
SUPSI
DTI
Automazione
Some transformations
SUPSI
DTI
Automazione
SUPSI
DTI
Automazione
z transform
Using primitives
k G(s) = s+a
g(t) = k e at
z G(z) = k ze aT
SUPSI
DTI
Automazione
Inverse z transform
SUPSI
DTI
Automazione
Sampled Systems
SUPSI
DTI
Automazione
SUPSI
DTI
Automazione
SUPSI
DTI
Automazione
Gzoh(z)
SUPSI
DTI
Automazione
SUPSI
DTI
Automazione
Transfer function
SUPSI
DTI
Automazione
SUPSI
DTI
Automazione
x x x x x x x x x
SUPSI
DTI
Automazione
Step responses
x x x x x x
x x x x x x
SUPSI
DTI
Automazione
Digital controller
Cont.-time process
Digital part
Analog part
SUPSI
DTI
Automazione
model of program
model of process
Gzoh(z)
SUPSI
DTI
Automazione
0.09
SUPSI
DTI
Automazione
U(z)
SUPSI
DTI
Automazione
C-code
ek_1=0; ek_2=0; uk_1=0; uk_2=0; while TRUE { yk=read_yk(); ek=yrefk-yk; uk=-uk_1-uk_2+ek_1-3*ek_2; write(uk); uk_2=uk_1; uk_1=uk; ek_2=ek_1; ek_1=ek; } ek_1=0; ek_2=0; uk_1=0; uk_2=0; while TRUE { uk=-uk_1-uk_2+ek_1-3*ek_2; yk=read_yk(); write(uk); ek=yrefk-yk; uk_2=uk_1; uk_1=uk; ek_2=ek_1; ek_1=ek; }