Professional Documents
Culture Documents
∞
e(kT ) E(z) = k=0 e(kT )z−k
1
E(z) E(z) = [residues of E(λ) 1−z −1 eT λ
]
e(t)
E(s)
e∗(t) E ∗ (s) = [residues of E(λ) 1−e−T1 (s−λ) ]
E ∗(s) 1
∞ e(0)
E ∗ (s) = T k=−∞ E(s + jkωs ) + 2
1
Pulse Transfer Function
Adding a Plant
e(t) e(kT ) ē(t) c(t) c(kT )
Sampler Data hold Gp (s) Sampler
2
After Simplification
E(s) T E ∗(s) C(s) T C ∗ (s)
G(s)
C(z) = G(z)E(z)
General Case
In general, if we have
F ∗ (s) A(s)
A(s) = B(s)F ∗ (s) B(s)
F ∗(s) A∗ (s)
A∗ (s) = B ∗ (s)F ∗ (s) B ∗ (s)
3
Interpretation of C(z)=G(z)E(z)
e(t) e(kT ) ē(t) c(t) c(kT )
Sampler Data hold Gp (s) Sampler
• Different inputs e(t) may produce the same output c(kT), k=0,1,…
Example
e(t) e(kT ) ē(t) 1 c(t) c(kT )
Sampler Data hold Gp (s) = s+1 Sampler
Under unit step input e(t)=u(t), what is the output c(kT), k=0,1,…?
1−e−sT 1−e−sT
G(s) = s · Gp (s) = s(s+1)
G(z) =?
4
Example: Finding G(z)
1−e−sT
G(s) = s(s+1)
G(z) =?
1−e−T
G(z) = z−e−T
⇒ c(kT ) = 1 − e−kT , k = 0, 1, . . .
(check using the fact that the reconstructed signal ē(t) is itself a unit step function)
5
DC Gain
e(t) e(kT ) ē(t) c(t) c(kT )
Sampler Data hold Gp (s) Sampler
c(∞)
DC gain is defined as e(∞)
or
DC gain = G(z)z=1
1−e−sT 1−e−sT
G1 (s) = s
Gp1 (s) G2 (s) = s
Gp2 (s)
6
Another Configuration
(Without the Second Sampler and Hold)
e(t) e(kT ) ē(t) a(t)
Sampler Data hold Gp1 (s)
c(t)
Gp2 (s)
Another Configuration
(Without the First Sampler and Hold)
e(t) a(t)
Gp1 (s)
1−e−sT
G2 (s) = s
Gp2 (s)
7
Open-Loop Systems with Digital Filters
A digital filter (controller) is inserted between the sampler (A/D) and data hold (D/A)
The digital filter typically models the signal processing of a microprocessor, which
can be described by a discrete-time transfer function D(z)
8
In The Frequency Domain
E(s) T E(z) M (z) M̄ (s) C(s) T C (z)
D(z) 1−e−T s Gp (s)
s
M ∗ (s)
−Ts
Let G(s) = Gp (s) 1−es be the combined plant and data hold transfer function:
T
E(s) T E(z) M (z) C(s) C (z)
D(z) G(s)
∗
M (s)
An Alternative View
E(s) T E ∗(s) M ∗ (s) M̄ (s) C(s) T C ∗(s)
D∗ (s) 1−e−T s Gp (s)
s
where samplers are ideal samplers, and the digital filter is converted to a
continuous-time system:
E(z) M (z) E ∗(s) M ∗ (s)
D(z) D∗ (s)
Example:
D(z) = z −1
9
Example
e(t) e(kT ) m(kT ) m̄(t) c(t) c(kT )
2z−1 1
Sampler D(z) = z Data hold Gp (s) = s+1 Sampler
Under unit step input e(t)=u(t), what is the output c(kT), k=0,1,…?
1−e−sT 1−e−sT
G(s) = s · Gp (s) = s(s+1)
1−e−T
G(z) = z−e−T
z
Under unit step input e(t)=u(t), we have e(kT)=1, k=0,1,…, thus E(z) = z−1
1−e−T 2z−1 z (1−e −T )(2z−1)
⇒ C(z) = G(z)D(z)E(z) = z−e−T
· z
· z−1
= (z−1)(z−e−T )
C(z) 1−eT 1 e T −2
z
= z
+ z−1
+ z−e−T
10
Using Matlab
DC Gain
e(t) e(kT ) m(kT ) m̄(t) c(t) c(kT )
Sampler D(z) Data hold Gp (s) Sampler
c(∞)
DC gain is defined as e(∞)
11
DC Gain for the Previous Example
e(t) e(kT ) m(kT ) m̄(t) c(t) c(kT )
2z−1 1
Sampler D(z) = z Data hold Gp (s) = s+1 Sampler
12