Electrical – THD calculation using microcontroller

energyharmonicsmicrocontrollerpower

I want to calculate power supply THD (Total Harmonics Distrotion) using microcontroller.

My current sampling rate is 5000 samples per second to measure other parameters.

I have followed some formulas like using FFT but it is not showing results near by to industrial meters.

If anyone have some methodology or way to find please suggest.

Thanks in advance

-Abhishek

Best Answer

Power supplies are not usefully characterized by THD. THD stands for Total Harmonic Distortion, and DC (the desired power supply output) has no harmonics.

The closest thing to THD is pk-pk ripple, or perhaps noise (over a specified bandwidth). In neither case is an FFT a useful tool. In the case of ripple, a scope is the preferred tool, and for noise performance an RMS voltmeter works just fine.

Related Topic