You are on page 1of 2

This function will calculate the Harmonics spectrum values according to

the IEC 61000-4-7 Norm which spesify the need for 10 min Voltage and current
measured signals of the system under study and calulate the Harmonics mean values
every 10 Periods of the measured signal (In this case 50 Hz signal)
This Fucntion inputs are:
1- The nominal values of the measured signal: Frequency,Voltage, and the current.
For example f = 50%Hz
Vn = 400%V (Phase to Phase Voltage of the grid)
Inom = 475%A (The nominal current of the system under measurement)
2- The measured Voltages and current signals with there time
measurement signals
(U1,U2,U3,I1,I2,I3,U1_time,U2_time,U3_time,I1_time,I2_time,I3_time)
3- figures is an input of 1 or 0 in order to activate showing the figures of the
different harmonics spectrums figures calculated in this function.
PS: This function assume that you have the same sampling rate of the different
measured signals and that all measured signals has the same length.
The Outputs of this function are:
1- The total Harmonic distortion for your current and voltage signals
2- the K factor of the measured signal. (Look it up in Internet to see the
difference between K and THD or try to figure it out from this function)
3- The different spectrum maximum values for the three pahse measured voltages and
currents
4- The final three outputs are the x-axis of the spectrum order.
Comments and Ratings (4)
Aubai

4 Oct 2017

Hallo Usman farooq,

I am not sure i understand your question?


I am not re-sampling in this code!

Best Regards
usman farooq

2 Oct 2017

How you are resampling in this code?


RalfMo

27 Jun 2014

Obay

11 Feb 2014

finally Harmonics calculation and gruoping according to IEC


Requires

MATLAB

MATLAB Release
MATLAB 8.1 (R2013a)
Tags
data exploration distributed mathematics signal processing statistics
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in
MATLAB.

� Watch video
Win prizes and improve your MATLAB skills
Play today

You might also like