I am trying to use the spectrum analyzer in Simulink to study a distorted signal. However, every time i change the discretization time of the powergui block, it gives me different (a huge difference) results. So how do I choose the sampling time?
29 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Danny Wehby
le 14 Juil 2017
Commenté : Prashant Arora
le 19 Juil 2017
For instance, when my sampling time is 20us, the spectrum analyzer says that the fundamental frequency is at 65 Hz. When i set the sampling time to 2us, the fundamental goes up to 200KHz, keeping in mind that my sources operate at a frequency of 50 Hz.
0 commentaires
Réponse acceptée
Prashant Arora
le 18 Juil 2017
Hi Danny,
The sampling time for spectrum analysis should ideally be same as the sampling time of the actual signal to be analyzed.
2 commentaires
Prashant Arora
le 19 Juil 2017
Sampling time of a signal will affect the frequency analysis of the system, not just in terms of simulation time or accuracy, but due to effects like Aliasing, random noise etc. You can start with Nyquist limit and decrease the sampling time as required.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Spectral Measurements 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!