Calculating the Hann Window & FFT Energy Correction Factor

  • Thread starter Thread starter Lindemose
  • Start date Start date
  • Tags Tags
    Fft Window
AI Thread Summary
The discussion focuses on calculating the energy correction factor for the Hann window in relation to the Fourier transform. It is established that the correction factor is derived from multiplying sqrt(32) by sqrt(3), with an amplitude correction factor of 2 also considered. The integral of the squared Hann window reveals that energy is reduced by a factor of 3/8, leading to confusion about the correct square root factors. Participants clarify that the sqrt(32) should actually be sqrt(8), aligning with the calculations for energy reduction. Overall, the thread emphasizes the importance of understanding the mathematical foundations behind these correction factors.
Lindemose
Messages
2
Reaction score
0
Hi all,

I am currently looking into the energy correction factor of the Hann window.

So far I have found that to correct for the application of Hann-window and Fourier transform the result needs to be multiplied by sqrt(32)/sqrt(3).

Can any of you explain how to get that factor ?

The amplitude correction factor is 2, that much i grasp...

There is a another factor of 2 as the FFT is performed as a complexed valued operation.

These two factors multiplied is 4 (duhh !)

And when removing that factor from sqrt(32)/sqrt(3) the result is ;

4*sqrt(2)/sqrt(3).

the sqrt(2)/sqrt(3) is the mysteries part. Can anyone explain how to reach this factor ?


Best regards

Lindemose
 
Engineering news on Phys.org
dunno if my markup works. lessee...

i guess it does. the definition for the Hann window (centered at zero and normalized in length) is:

w(x) = \begin{cases}<br /> \frac{1}{2}\left(1 + \cos(\pi x) \right) &amp; \mbox{if } |x| \le 1 \\[3pt]<br /> 0 &amp; \mbox{if } |x| &gt; 1<br /> \end{cases}

now, compared to a no window (where w(x) is 1 for the same stretch of data), this window would reduce your mean voltage magnitude (or whatever signal) by a factor of 1/2. but if the issue is power or energy, you have to square it before integrating.

\int_{-1}^{+1} w^2(x) \ dx = \int_{-1}^{+1} \frac{1}{4}\left(1 + \cos(\pi x) \right)^2 \ dx = \frac{3}{4}

if you did it to no window, the integral would be 2. so energy is reduced by a factor of 3/8. now perhaps they are talking about the r.m.s. reduction, then i think the factor is \sqrt{3/8}. that almost looks right, except for a factor of 2.

i can see where the \sqrt{3} comes from, but not the \sqrt{32}. i think it should be \sqrt{8}.
 
Last edited:
Now that makes all the sense in the world, thank yoy very much.

i can see where the [itex said:
\sqrt{3}[/itex] comes from, but not the \sqrt{32}. i think it should be \sqrt{8}.

By the way the sqrt(32)should be sqrt(8) as you point out. I included the the amplitude correction factor of 2 within the number.

Thanks again and best regards !

Lindemose
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top