How to calculate Total harmonic distortion using FFT analysis tool of power gui block

76 views (last 30 days)
Hello All, I have used FFT analysis tool in power gui block to calculate THD of single phase input current. The value of THD is coming more than 10% however is required one is less than 5%. Please suggest
1. How to select the start time and the number of cycles so as to get reduced value THD?

Answers (5)

The normal cycle which need to be considered for the FFT analysis is 20 as much dealt in various IEEE literature. In order to reduce the THD to less than 5%, we need to adopt the various switching techniques than the conventional one for different loading conditions.

mohamed elbesealy
mohamed elbesealy on 11 Oct 2016
you can select the start time at the beginning of steady state of the signal. you can reduce the THD by using Passive filter or active power filter.

PRABHU OMER on 31 May 2013
you should select that start time where your results are in steady state. Make sure that your fundamental frequency of your model and base frequency of FFT tool in Powergui block is same. Two number of cycles are sufficient for THD analysis. And to see reduced THD you should change the maximum frequency. However THD also depends on your results.
Mohammed SETTI
Mohammed SETTI on 21 Nov 2020
It simply means the maximum frequency used to compute the THD. By default it is set to the Nyquist freqency (fs/2) but you can change it to your desired max freq (e.g. grid code: 2kHz in the case of f_1=50Hz)

Sign in to comment.

Rakesh Patel
Rakesh Patel on 2 Jul 2013
Adding to Prabhu's answer, I would suggest number of cycles for FFT window should be about 10 cycles.

vishal charan
vishal charan on 20 Oct 2016
I have also implemented predictive current control of two level VSI i get THD as 8.39%. Is this acceptable.

Community Treasure Hunt

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

Start Hunting!

Translated by