Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to use Windowed FFT for Harmonics Analysis

Status
Not open for further replies.

kanokwat

Newbie level 4
Joined
Nov 30, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,312
Hi everybody
I do my project about harmonics analysis
I use FFT compare with Windowed FFT
Now I can write code FFT
example x(t)=5sin(2*pi*50*t)+3sin(2*pi*100*t)
and use FFT to find Amplitude at frequency 50Hz and 100 Hz

For winndowed FFT use Hanning windowed how to use it ??
What should begin?

Use paper The Algorithm of Interpolating Windowed FFT for Harmonics Analysis of Electric Power System IEEE VOL16 NO 2 APRIL 2001

Thx
 

x=5sin(2*pi*50*t)+3sin(2*pi*100*t)
W=hann(length(x));
Data=x.*W;

figure;
f=(sampling_freq)*linspace(0,1,NFFT);
plot(f,abs(fft(Data,NFFT)));
grid on;

Is this what you are looking for??
HTH,
-- Ashwini
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top