From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Notch/Bandstop filter not giving proper result

Hi

I have a signal with with FFT peak at 66Hz as shown ( figure at the top).

I wish to filter out this frequency.

Here's what i wish to ask:

 

1. Since the LabVIEW versio i am using does not have an inbuilt notch filter, i decided to use a Bandstop filter.

I feel that a precise bandstop ( very liitle stop band) can act as a notch filter or at least help in my case.

Is this true? Or notch filter cant be realized from bandstop? Am I wrong in thinking so?

 

2. I made a bandstop filter. gave a passband of around 3-4Hz centered at 66Hz BUT no matter what order i choose, The response no doubt filters out the the required band but adds other frequencies! (as shown- figure at the bottom)

What am I doing wrong?

applying a filter is pretty straight-forward isnt it?

 

                     undefined

 

Kindly help

0 Kudos
Message 1 of 7
(3,831 Views)

please help!

 

0 Kudos
Message 2 of 7
(3,799 Views)

It looks like the energy at 66 Hz has been spread out into two broader peaks above and below that. 

 

It is almost impossible to tell what is actually happening because (1) we cannot see what is below -85 dB in the data, (2) you did not post your VI with default data included, and (3) filters are meant to be applied to the time domain data not the spectral data, although it is not clear what you have done.

 

Please post your VI with data so we can take a look.

 

Lynn

0 Kudos
Message 3 of 7
(3,785 Views)

Hi.

Here's my vi.

To test what was wrong, I took up a signal from DAQ ( named as ' voluntary') added a sinusoid at frequency 100(controllable) and appplied a band stop filter with cut off (100-2)Hz and (100+2)Hz. 

Here's what i am getting.

the signal of my DAQ is a very low frequency signal (0-5 Hz)

 

.undefined

0 Kudos
Message 4 of 7
(3,771 Views)

Also,

case 1When i add 2 sinusoids (one low frequency -voluntary) and another high frequency and then apply the same Vi, it works perfectly fine.

case 2 : when i add daq signal(low frequency-voluntary) and a sine with high frequency and apply the same vi, it works for a certain limit of amplitude of high frequency sine. I.e below a certain amplitude, it gives the weird response as shown in figure posted earlier.

 

NO such abnormality occurs at any amplitude for the first case i.e two sinusoids.

 

0 Kudos
Message 5 of 7
(3,763 Views)

Please help. i am in a fix.

 

0 Kudos
Message 6 of 7
(3,760 Views)

Is there a reason you are not actually using the physical filter?  Unless this is some kind of simulation, I would try for physical conditioning of a signal over software.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 7 of 7
(3,743 Views)