Zero-Order Hold block transfer function
42 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am trying to build my plant model which includes a ZOH block. When I realized that my model's transfer function did not change with or without the ZOH block, I went ahead and built a simple closed loop with a P-controller (gain of 1) and the ZOH. The resulting bode plot, unsurprisingly, was at 0dB the entire time regardless of the sample time I use.
I was expecting some filtering action with the block. Am I doing something wrong in Simulink, or is the filtering from the ZOH not modelled.
Thanks in advance!
0 commentaires
Réponses (1)
Yash
le 1 Sep 2023
Hi Violet,
In Simulink, the Zero-Order Hold (ZOH) block is used to model the discrete-time representation of a continuous-time system. The ZOH block holds the input value constant for the duration of the sample time and then updates it at the next sample time.
However, the ZOH block itself does not introduce any filtering action or affect the frequency response of the system. It simply represents the discrete-time sampling process.
If you are expecting some filtering action from the ZOH block, you may need to include additional filtering components in your model. The ZOH block is typically followed by a discrete-time filter, such as a low-pass filter, to achieve the desired filtering behaviour.
In your current setup with a P-controller (gain of 1) and the ZOH block, the resulting Bode plot being at 0 dB regardless of the sample time is an expected behaviour. The P-controller has a constant gain, and the ZOH block does not introduce any additional filtering. Therefore, the frequency response remains flat at 0 dB.
To introduce filtering action, you can modify your model by adding appropriate filter components after the ZOH block. This can include discrete-time filters, such as low-pass filters or other types of filters, depending on the desired frequency response and system behaviour.
0 commentaires
Voir également
Catégories
En savoir plus sur Time and Frequency Domain Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!