LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Filter Deign

Hello Everyone,

I am generating the Random white Noise and restricting the noise to 5KHZ and after the 5KHZ noise should decay 6db per Octave but I have used many of the filter option but I am unable get the Result. The below attached vi shows the details Noise is generating please help me with this

thanks in Advance

In code I am generating the Noise and adding with the Signal just to verify 

0 Kudos
Message 1 of 19
(2,843 Views)

Hi Gowtham,

 

but I am unable get the Result.

Can you show the expected result in a graph/image/scientific paper/whatever?

 

Why do you add a (sine) signal when you want to create a certain noise?

check.png

Did you change the filter order?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 19
(2,816 Views)

hello Sir,

Here is the snapshot of my output. The reason why I have added the signal is just to verify that the signal is present within the noise. after 5KHZ the noise should not decay above 6db per octave hence I kept the order  as 1(since it gives 20db per decade which is nothing but 6db per octaveSnapshot.PNG)

 

0 Kudos
Message 3 of 19
(2,809 Views)

Hi Gowtham,

 

after 5KHZ the noise should not decay above 6db per octave hence I kept the order  as 1

So your problem is solved?

 

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 19
(2,807 Views)

Hello Sir,

I kept order as 1 but still I don't think it is coming properly

0 Kudos
Message 5 of 19
(2,803 Views)

And more over in the PSD waveform as u can see there are many samples and their peak value keep on changing ....in Signal Analyzer device we see the PSD in average mode how can we do averaging psd in LabVIEW

 

0 Kudos
Message 6 of 19
(2,798 Views)

Hi Gowtham,

 

this is the result with your 1st order filter (and a little bit of "smoothening" the plot):

check.png

Again: please explain your expected result with a meaningful image/paper/reference…

 

in the PSD waveform as u can see there are many samples and their peak value keep on changing

No, the values don't "keep on changing" as your VI only runs once as there is no loop in your code…

When you run the VI multiple times the plot has to change because you are generating a noise signal - which is random by its nature!

When you need to average several plots you need to average the plot data…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 19
(2,796 Views)

Hello Sir,

Actually the thing is I am generating the white noise and limiting it to 5KHZ after 5KHZ noise should start decay so that it will not decay more than 6db per octave so I am using Low Pass Filter with order as 1.

as you can see in the Below pic of PSD there are huge samples in which I should show that the Decaying is not more than 6db per Octave after the 5KHZ noise. And How to Smoothening the PSD plot signal...?? because in your plot its looks like a single line but in mine its showing huge samplesSnapshot.PNG

0 Kudos
Message 8 of 19
(2,788 Views)

Hello Sir

How to Average the Plot I have seen the Option like blow but what are the settings I need to change...??PSD.PNG

0 Kudos
Message 9 of 19
(2,787 Views)

Hi Gowtham,

 

what are the settings I need to change...??

Whatever your requirements tells you…

 

because in your plot its looks like a single line but in mine its showing huge samples

As I wrote: I smoothened the plot data by applying a running average on the plot data. (I used the PtByPt-Mean…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 19
(2,781 Views)