skhatana
Electrical
- Feb 13, 2005
- 4
I am struggling little bit in trying to understand the frequency response of the ZOH with matlab. I was wondering if you have any thoughts on this.
Here are few things that I understand ( coorect me if these are not right)
1) ZOH is linear but not Time Invariant
2) The frequency response of the ZOH is given by H_zoh(s) =( 1- exp(-sT)) / s. This is works for the fundamental component of the ZOH output. Since the actual output of the ZOH consists of lot of high frequency components due to fast transitions.
H_zoh(s) has low pass like characteristics with zero on multiples of the sampling frequency
3) c2d(sys,'zoh',Ts) is a matlab function used to discretize continous domain system (sys( to discrete domain with ZOH and sampling time of Ts.
Problem:
To get the frequency response of ZOH I have set the sys = tf(1,1). When I try the bode of resultant discrete system I get perfectly flat response with frequency ( Basically I don't see H_zoh(s) characteristics).
In past I have explicitly used the explicit expression of H_zoh to do analysis in frequency domain. I was wondering why matlab c2d don't take in account the response of the H_zoh ?
Also,
The output of the ZOH can be approximated as input signal delayed by Ts/2 , Ts being the sampling time. I was wondering when is this approximation valid?
I was wondering if you have good reference on his kind of stuff. I looked into following text w/o getting a coherent description of this issue.
1) Franklin and Powell , Digital Control of Dynamic systems.
2) Ogata, Discrete time Control Systems