Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

ben64

Trusted Enthusiast

04-24-2019 03:12 PM

Options

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Labels:

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!

The best way to say thanks is to give kudos!

- Tags:
- FFT
- limit_test

04-24-2019 04:42 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

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!

The best way to say thanks is to give kudos!

GerdW

Knight of NI

04-25-2019 02:08 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

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

GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO

04-25-2019 07:57 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

@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!

The best way to say thanks is to give kudos!

Kevin_Price

Proven Zealot

04-25-2019 09:07 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

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