Why is the Nyquist frequncy on the bode diagrams the same as the sampling frequency?

33 vues (au cours des 30 derniers jours)
Nathan Sisson
Nathan Sisson le 13 Nov 2024 à 22:23
Commenté : Voss le 13 Nov 2024 à 23:07
I notice that when I create a discrete dynamical system with a given sampling frequency, and I plot the bode diagrams, the phase and amplitude responses are plotted up to the samping frequency. On the documentation page for the bode command, it calls this upper limit on the frequency the Nyquist frequency. Even in their example, this Nyquist frequency is exactly the same as the sampling frequency. They create a system with a sampling time of 0.5 seconds (2 Hz, or 6.28 rad/s) and the resulting bode diagrams go up to 6.28 rad/s. So why is this the case, when I know that the Nyquist frequency is defined as half of the sampling frequency?
  2 commentaires
Star Strider
Star Strider le 13 Nov 2024 à 22:26
Please give an example or a link.
Nathan Sisson
Nathan Sisson le 13 Nov 2024 à 22:38
https://www.mathworks.com/help/control/ref/dynamicsystem.bode.html

Connectez-vous pour commenter.

Réponse acceptée

Voss
Voss le 13 Nov 2024 à 22:42
I assume you're referring to something like this plot.
"sampling time of 0.5 seconds (2 Hz, or 6.28 rad/s)"
There's the problem. 2 Hz is 2*2*pi rad/s = 4*pi rad/s, which is approx 12.56 rad/s (not 6.28 rad/s).
Thus the corresponding Nyquist frequency is half of that or approx 6.28 rad/s.
  2 commentaires
Nathan Sisson
Nathan Sisson le 13 Nov 2024 à 22:50
Ah yes. Basic math getting the best of me! Thank you.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by