LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FFT Limit testing

Any idea how I can add a limit curve on an FFT plot? The limit I want to use is as follow:

  • constant value of 80 dBuA(rms) between 1000 Hz and 10KHz
  • a linear ramp down to 40 dBuA(rms) between 10KHz and 100KHz
  • constant value of 40 dBuA(rms) between 100KHz and 50MHz

 

The linear ramp is obviously the tricky part!

 

Ben64

 

--------------------------------------------------
The best way to say thanks is to give kudos!
0 Kudos
Message 1 of 5
(817 Views)

I found a way to do it but I will not mark it as an accepted solution yet. I have a strong feeling that there must be a better way to do it.

 

Ben64

--------------------------------------------------
The best way to say thanks is to give kudos!
0 Kudos
Message 2 of 5
(790 Views)

Hi Ben,

 

I have a strong feeling that there must be a better way to do it.

Well, in the end it should be just (rather) simple math involving some logarithmic functions… 😄

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 3 of 5
(772 Views)

@GerdW wrote:

Well, in the end it should be just (rather) simple math involving some logarithmic functions… 😄


Not so simple, the math part might be easy but how to create the limit and integrate it with the limit testing vi is not trivial. You need to define the limit values for the frequencies f0 + n*df of the resulting FFT.

 

Ben64

--------------------------------------------------
The best way to say thanks is to give kudos!
0 Kudos
Message 4 of 5
(761 Views)

Are you sure you aren't over-thinking this?  Or maybe I'm under-comprehending...

 

Why can't limit testing be handled with a lookup table that interpolates between the small # of corner points?   If needed, you can do log-weighted intepolation.  Or you could go ahead and precompute the entire "curve" once you know what dF spacing is needed.

 

So what am I not following?

 

 

-Kevin P

0 Kudos
Message 5 of 5
(747 Views)