Zero Order Hold
Zero Order Hold
Topic #50
Digital Control: Zero-order Hold
Reference textbook:
1
Digital Control: Zero-order Hold
Sample and hold operations on a signal
2
Digital Control: Zero-order Hold
Unit pulse input to a ZOH
3
Digital Control: Zero-order Hold
Unit impulse
f h (t ) u (T ) u (0)
f h (t ) u (t ) u(t T ) T
sT
(1 e )
Gh ( s) u(t ) u(t T ) e dt st
0
s
* *
1 e Ts
* G p ( s)
G ( s ) G ( s)G ( s )
* *
h
*
p p
G ( s )
1 z 1
s s
4
Digital Control: Zero-order Hold
G p ( s)
G( z ) Z G ( s) 1 z
* 1
Z
s
G p ( s)
G( z ) Gc ( z ) 1 z 1
Z
s
5
Digital Control: Zero-order Hold
Discrete-time unity feedback system
6
Digital Control: Zero-order Hold
Discrete-time unity feedback system
7
Digital Control: Zero-order Hold
Example
The plant transfer function of a unity feedback control system with zero-order hold is
1
(s 1) and has a proportional controller of variable gain K
(a) Obtain the forward transfer function of an equivalent control system that has
all discrete components.
(b) Assuming a sampling time of 0.1 sec, what is the value of K that ensures
closed-loop stability of the discrete system?
If the above system should have a settling time of 0.5 s for the sampling rate of 0.1
sec, determine the maximum value of gain that ensures stability as well as
appropriate settling time.
8
Digital Control: Zero-order Hold
Example
1
G p (s)
s 1
G p ( s) 1 1 1
s s(s 1) s s 1
9
Digital Control: Zero-order Hold
Example
G p ( s)
G( z ) Gc ( z ) 1 z 1
Z
s
G ( z ) Gc ( z ) 1 z 1
Z 1 e
t
K ( z 1) z z 1 e T
T K T
z z 1 z e z e
10
Digital Control: Zero-order Hold
Example
T
T ( z)
G( z ) z ( K 1)e
c
p K
1 G( z)
K (1 eT )
Closed-loop poles
z ( K 1)eT K
T
z 1
c z 1 1 ( K 1)e
c
p K
p
T
1
Marginal stability
e
T=0 (not acceptable)
11
Digital Control: Zero-order Hold
Example
T
z 1
c
p 1 ( K 1)e K
K 1
T ln
K 1
1 e T 1 e0.1
K K 20
1 e T 1 e 0.1
12
Digital Control: Zero-order Hold
Example
4T
ze ts
4T
T
( K 1)e K e ts
4T 40.1
e T e ts
e 0.1
e 0.5
K T K 4.79
1 e 1 e 0.1
0.46
G( z)
z 0.905 13
Digital Control: Zero-order Hold
Example
K s limG( z ) K
z 1
1 1
s ( )
*
0.17
1 K 1 4.79
e
14
Digital Control: Zero-order Hold
Example
The plant transfer function of a unity feedback control system with
1
zero order hold is ( s 1) .
It has an integral controller of variable gain Kp and TI=1
(a) Obtain the forward transfer function of an equivalent control
system that has all discrete components.
(b) Determine the steady-state error for step input
(c) Determine the steady-state error for ramp input
15
Digital Control: Zero-order Hold
Example
1
G p (s)
s 1
G p ( s) 1 1 1
s s(s 1) s s 1
16
Digital Control: Zero-order Hold
Example
G p ( s)
G( z ) Gc ( z ) 1 z 1
Z
s
K pTz
Gc ( z )
z 1
G ( z ) Gc ( z ) 1 z 1 Z 1 e t
K pTz z 1 z z
T
Integral controller z 1 z z 1 z e
z z
K pT T
z 1 z e
17
Digital Control: Zero-order Hold
Example
Ks limG( z)
z 1
1
s ( )
*
0
1 Ks
e
1 1 z z
Kv lim( z 1)G ( z ) lim( z 1) K pT Kp
z 1 z e
T
T z 1 T z 1
1 1
se* ()
Kv K p
18
Digital Control: Zero-order Hold
Conclusion
19