Extremely high THD in FFT Toolbox
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Marta Grzybek
el 23 de Abr. de 2020
Comentada: Marta Grzybek
el 24 de Abr. de 2020
I want to calculate THD of the waveform from my three-phase rectifier in Simulink. I am using the FFT toolbox for this, however when I analyse DC voltage and currents of the rectifier. My fundamental frequency is 400Hz, however as seen in the picture, the spectrum does not show this frequency at all. I am also confused about the very high magnitude of harmonic at 0, which I don't understant. I would appreciate your help.

3 comentarios
David Goodmanson
el 23 de Abr. de 2020
Hi LS,
The large value at zero frequency is because your signal has a large DC offset. If you subtract the mean of the signal from the signal then the DC offset is zero and the somewhat meaningless peak at f=0 goes away.
Respuesta aceptada
David Goodmanson
el 24 de Abr. de 2020
Editada: David Goodmanson
el 24 de Abr. de 2020
Hi LS,
The signal shows exactly six oscillations in .0025 sec, so it indeed consists almost entirely of the sixth harmonic (plus the DC offset that gives the peak at f=0).
The following plot shows one oscillation of a 400 Hz three phase signal, and since this is a rectifier I tossed in 'abs'. If you follow along the top of the entire envelope, there are six oscillations. So whatever else is going on later in the process, it would not be at all surprising to see a very large peak at the sixth harmonic. Also, note that the envelope has basically no 400 Hz component (which roughly speaking would require the half of the plot to be at a different average height than the other half), so the fundamental basically goes away.
t = 0:1e-5:1/400;
s1 = abs(cos(2*pi*400*t));
s2 = abs(cos(2*pi*400*t + 2*pi/3));
s3 = abs(cos(2*pi*400*t + 4*pi/3));
plot(t,[s1;s2;s3])
Más respuestas (0)
Ver también
Categorías
Más información sobre Spectral Measurements en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!