THD selects wrong peak as input fundamental

2 visualizzazioni (ultimi 30 giorni)
Aditya TB
Aditya TB il 26 Feb 2019
I am measuring a voice coil for distortion. I drive the coil with a sine signal at say 200 Hz, and record the vibration of the voice coil as a digital signal in MATLAB by using an accelerometer. I then use the thd function to represent the distortion at that fundamental frequency.
Now it seems like when I look at the PSD, I observe some peaks are higher than the 200 Hz that I have input, and the thd function assumes that this higher peak is the fundamental, and calculates thd in relation to that.
Is there a way to ensure that the thd algorithm picks the given 200 Hz as the fundamental frequency?

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by