×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Summing spectral lines to give an overall level
3

Summing spectral lines to give an overall level

Summing spectral lines to give an overall level

(OP)
I would like some advise about calculating an overall level by summing the amplitude of the individuals lines that make up a frequency spectrum. In my case I am measuring acoustic data and the frequency range I am interested in is 0 to 5kHz. When I summed the individual lines the overall level was slightly higher than I expected. The 'error' would appear to be a linked to the time windowing function that I am using (which is 'Hanning' in the majority of my tests).

Are there correction values that can be applied that take into account the effective bandwidth of the 'filters' or lines in the frequency spectrum.  I would be grateful for any additional information on this subject / correction factors for the different time windowing functions (in particular Hanning).

Thanks

RE: Summing spectral lines to give an overall level

The FFT window selection has a direct effect on the accuracty and resolution of a signal.

A uniform window has an Amplitude Uncertainity of 56.5%
A Hanning window has an Amplitude Uncertainity of 18.8%
A flat to window has an Amplitude Uncertainity of 1%

Therefore if you want amplitude accuracy you should use a flat top window.

Next, the choice of window has an significant effect on the signal if it has transients.  A transient could be missed completely if the wrong window is chosen.

What I am trying to say is that a applying a correction factor would be complex and difficult and it would be easier to remeasure the data.

Hope that helps.

RE: Summing spectral lines to give an overall level

Perhaps it is obvious/assumed, but since you said "summing", I feel compelled to point out that the basic operation for combining spectral components is the square-root of the sum of the squares. Voverall=sqrt(sum{Vi^2}) where Vi are individual spectral components.

And of course another most accurate method is the "analog overall" computed directly from time samples. I think that formula is Voverall=sqrt((1/N)*sum{vi^2}) where vi are individual time samples and N is the number of samples

RE: Summing spectral lines to give an overall level

My most closely related experience is with summing vibratory responses of a system to a series of harmonic excitations, to find total response of the system vs time.  If this is similar to what you're doing, then my comment would be that you should make sure that you're phasing the components properly with respect to each other.  In my experience, if you forget the relative phasing of the responses and directly sum the amplitudes, the overall response you calculate is way too high.

RE: Summing spectral lines to give an overall level

thanks for the information on the uniform, hanning , and flat  window.This is the first time I have seen this published . thanks again

machinedoctor

 =  (sample only)

RE: Summing spectral lines to give an overall level

Thanks for an interesting thread !

To ElectricPete (glow, glow)

Yes - the way to do it is Root Mean Square -RMS.
There was an interesting thread pointing out that
Parsevals Relation shows that RMS in time and
frequency must end up with the same result.

Its a truly wonderful feeling to see that come true.
I used Matlab to do the computations for me.

Go to www.DSPguide.com and get the book
"The Scientist and Engineer's Guide to
Signal Processing" - Particularly the final page
of chapter 10, where Parsevals Relation is
explained. The "trick" explained here is to
remember that X[0]^2 and X[N/2]^2 (first and last
stave squared in the fft of length N) have to be
divided with 2 in order to compensate for the fact
that they only contribute each one half stave width.
This trick is easier to remember once you realise
that the number of fft staves is not N/2 but N/2+1.

In floating point precision the two RMS values come
out with 3-4-5 digits alike - a truly convincing result.

Steven W. Smith who wrote the book I recommend above
ends chapter 10 saying "While Parsevals Relation is
intersting from the physics it describes (conservation
of energy) it has few practical uses in DSP. That is
a big pity, I find. Doing this simple test makes it
easy to "get on solid ground" with results from an fft.

Regards, steeno

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

White Paper - A Guide to 3D Printing Materials
When it comes to using an FDM 3D printer effectively and efficiently, choosing the right material at the right time is essential. This 3D Printing Materials Guide will help give you and your team a basic understanding of some FDM 3D printing polymers and composites, their strengths and weaknesses, and when to use them. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close