Lecture 1
Lecture 1
1
2
3
4
5
Discrete (Sampling) System
1 Introduction
x(t) x*(t)
1.1 Sampling x(t)
Make a analog signal to be a discrete
signal shown as in Fig.8.1 .
x(t) —analog signal . t
x (t) —discrete signal .
* 0 t1 t2 t3 t4 t5 t6
8
Block-diagram of digital system
r(t) e(t) e*(t) u*(t) u (t) c(t)
A/D computer D/A process
-
measure
Fig.8.3 computer control system
1.5 Sampling analysis
Expression of the sampling signal:
(t kT ) x(kT ) (t kT )
x * ( t ) x( t ) T ( t ) x( t )
k 0 k 0
9
1.5 Sampling analysis
T
x(t) x*(t)
x(t) x*(t)
δT(t)
× =
t t t
0 0 0
Modulation modulating modulated
signal pulse(carrier) wave
Fig.8.4 sampling process
jk s t 1 jk s t
because : T ( t ) ( t kT ) C ne e s 2 / T
k 0 k T k
T /2 0 0
1
C 1 jk s t 1 jk s t 1
n T T
( t )e dt
T T
( t )e dt
T T (t )dt T
T /2 0 0
We have:
10
1.5 Sampling analysis
Laplace
1 jk s t 1
x * ( t ) x( t )
T
e X * ( s )
T
X ( s jk s )
k transformation k
here : X ( s ) L[ x ( t )] x ( t )e dt
st
0
1
The frequency spectrum of x * ( t ) : X* ( j )
T
X [ j( k s )]
k
This means: for the frequency spectrum of x(t) shown in
Fig.8.5, the frequency spectrum of x*(t) is like as Fig.8.6.
X * ( j )
X ( j ) Filter max
Only: s 2 max
X ( j ) could be
max max
max
s reproduced
Fig.8.5 2 s
Fig.8.6 11
So we have:
1.6 Sampling theorem ( Shannon’s theorem)
If the analog signal could be whole restituted from the sampling
signal, the sampling frequency s must be satisfied :
s 2 max or T
max
here : max the maximu m frequency of the analog signal .
T sampling period .
s sampling frequency , s 2 T .
1.7 zero-order hold
Usually the controlled process require the analog signals, so
we need a discrete-to-analog converter shown in Fig.8.7.
x*(t) discrete-to-analog xh(t) Fig.8.7
converter D/A convert 12
Ideal sampling and the
zero-order hold
15
Definition x * ( t ) x( kT ) ( t kT )
k 0
Using the Laplace transform: x * ( s ) x ( kT )e kTs
k 0
Ts
Define: z e
16
Z-transform
We have the Z-transform:
X ( z ) Z x( t ) Z x * ( t ) x( kT ) z k
k 0
Z-transforms of some
Table 8.1
common signals
x( t ) X ( s) X (z)
The Z-transforms of some (t ) 1 1
z
common signals is shown in 1( t ) 1
s z 1
table 8.1. t 1 Tz
s2 ( z 1) 2
characteristics of Z- 1 z
e t
transform s z e T
z sin T
The characteristics of Z- sin t
s2 2 z 2 2 z cos T 1
transform is given in table s z ( z cos T )
cos t
8.2. s2 2 z 2 2 z cos T 1
17
Table 8.2
x( t ) X (z)
k1 x1 ( t ) k 2 x2 ( t ) k1 X 1 ( z ) k 2 X 2 ( z )
m 1
x( t mT ) z m
X (z) x(iT mT )z i
i 0
m 1
x ( t kT ) z m X (z) x(iT )z m i
i 0
dX ( z )
tx( t ) Tz
dz
e t x( t ) X ( z ) z ze T
a k x( t ) X ( z ) z z
a
Initial value lim x( t ) lim X ( z )
t 0 z
Final value lim x( t ) lim( z 1) X ( z )
t z 1
k
Z x1 ( t ) x 2 ( t ) Z x1 ( iT ) x2 ( kT iT )
Real convolution i 0
X1(z) X 2 (z) 18
2.3 characteristics of Z-transform
Using the characteristics of Z-transform we can conveniently
deduce the Z-transforms of some signals.
Such as the examples shown in table 8.3:
Table 8.3
x( t ) X (z)
z z (1 e T ) z
1 e t
z 1 z e T ( z 1)( z e T )
Tz Tze T
te t
( z 1) 2 z zeT ( z e T ) 2
z z
ak
z 1 z z z a
a
d Tz T 2 z ( z 1)
t2 Tz
dz ( z 1) 2 ( z 1) 3
( t mk ) z m
19
Z-transform
Z-transform methods
1. Partial-fraction expansion approaches
A(s) K1 K2 Kn
If : X(s)
( s a1 )( s a 2 ) ( s a n ) s a1 s a 2 s an
n
Ki z
then : X ( z ) ai T
i 1 z e
Example:
5( s 4) 10 15 5 10 z 15 z 5z
Z Z T
2T
s ( s 1)( s 2 ) s s 1 s 2 z 1 z e z e
20
Inverse Z-transform
x( kT ) Z 1 X ( z ) Inverse z-transform
21
Inverse Z-transform
Example:
2T
1 z (1 e ) 1 z z 2 kT
x( kT ) Z 2T Z z 1 2T
1 e
( z 1)( z e ) z e
2. Power-series approaches
A(z)
If : X(z) K 1 z 1 K 2 z 2 K 3 z 3
B( z )
then : X ( kT ) K 1 ( t T ) K 2 ( t 2T ) K 3 ( t 3T )
Example:
1
z 3
2 z 2
1
x ( kT ) Z 3 2
z 1.5 z 0.5 z
Z 1 1 3.5 z 1 4.75 z 2 6.375 z 3
1 3.5 ( t T ) 4.75 ( t 2T ) 6.375 ( t 3T )
22
23
Block diagram representation of difference
equation:
yn a1yn 1 a2 yn 2 b0 xn
24
Block Diagram Representation
â yn
k 0
k k b̂k xn k
k 0
26
Direct Form II
• No need to store the
same data twice in
previous system
• So we can collapse the
delay elements into one
chain
• This is called Direct
Form II or the Canonical
Form
• Theoretically no
difference between
Direct Form I and II
27
Example 1
Find f(3)
28
Solution
29
Example 2
30
Solution
31
Example 3
32
Solution
33
Example 4
34
Solution
35
36
Pulsed Transfer Function
37
Pulse Transfer Function
Figure 13.8
Sampled-data
systems:
a. continuous;
b. sampled
input;
c. sampled
input
and output
C (z)
G (z)
R (z)
38
3 Mathematical modeling of the sampling systems
3.2 Z-transfer (pulse) function
Definition: Z-transfer (pulse) function — the ratio of the Z-
transformation of the output signal versus input signal for the
linear sampling systems in the zero-initial conditions, that is:
C (z)
G( z )
R( z )
1. The Z-transfer function of the open-loop system
r(t) c*(t)
G1(s) G2(s c(t)
T T
)
R(z) C(z)
G1(z)G2(z) G1(z) =Z [ G1(s)] G2(z) =Z
[ c*(t)
G2(s)]
r(t)
G1(s) G2(s) c(t)
T
R(z) C(z)
G1G2(z) G1G2(z) =Z [ G1(s)G2(s) ] 39
Sampled-data systems and their z-
transforms
Figure 13.9
Sampled-data
systems and their z-
transforms 40
3.2 Z-transfer (pulse) function
2. The z-transfer function of the closed-loop system
r c R( z )G ( z )
-
G(s) C (z) GH ( z ) Z G ( s ) H ( s )
1 GH ( z )
H(s)
r c
-
G(s) R( z )G ( z )
C (z)
H(s) 1 G( z ) H ( z )
r c
G1(s) G2(s) R( z )G1 ( z )G2 ( z )
- C (z)
H(s)
1 G1 ( z )G2 H ( z )
41
3.2 Z-transfer (pulse) function
r c
G2(s) G3(s)
- G1(s)
H(s)
RG1 ( z )G2 ( z )G3 ( z )
C (z)
1 G2 ( z )G3 ( z )G1 ( z ) H ( z )
r c
G1(s) G2(s)
- -
H1(s)
H2(s) R( z )G1 ( z )G2 ( z )
C (z)
1 G2 H 1 ( z ) G1 ( z )G2 H 2 ( z )
r c
G1(s) G2(s) G3(s)
- -
H1(s)
H2(s)
RG1 ( z )G2 ( z )G3 ( z )
C (z)
1 G2 ( z )G3 H 1 ( z ) G2 ( z )G1G3 H 2 ( z )
42
43
44
45
46