07-20-2015 07:45 AM
Hey guys,
here is a picture of the frequency response of a multipass moving average filter. The number of stages tells you how often the data is passed through the filter.
As I am interested in the different slope behaviours of the different stages I wanted to ask you how to determine the slope.
Do I take the envelope to calculate the roll off (=slope) of the filter?
Actually it should be 1 pass (= 1 stage) is 20dB/Dekade, 2 passes = 40dB/dekade and so on...
I hope you can help me.
Kind regards
Slev1n
Solved! Go to Solution.
07-20-2015 04:49 PM
I think you need an upper level course on Signal Theory.
BS
07-21-2015 04:45 AM
I am not sure how I should interpret your answer 🙂
so there is no simple answer to this problem? Anyone with experience, who can tell me how to read out the roll off?
greats Slev1n
07-21-2015 01:18 PM
You should set the plots to semi-log: vertical axis in dB, and horizontal (frequency) axis in log scale. The slope should be the envelope of that curve.
For example, a 20dB/decade falloff from 0.003Hz 0.009Hz is 9.5dB (20*log10(.009/003)). Your 1 stage filter (white line) is about -13.5dB at 0.003Hz and about -23dB at 0.009Hz, a difference of -9.5dB.
07-24-2015 05:35 AM
Hey,
thanks for your help. But I do not understand why 0,003Hz to 0,009Hz is a decade?
But I converted my x-axis to log and although I do not have a real envelope, but it is much easier to read out the roll off.
So if you take a line/function which connects all the maxima you would have the envelope and therefor the slope I guess.
Any comments regarding my theory?
The approach approves at least the 20dB and 40dB per decade.
kind regards
Slev1n
07-24-2015 07:09 AM - edited 07-24-2015 07:10 AM
Nobody said .003 to .009 Hz is a decade, jamiva stated that if you have 20dB/decade you should have around 9.5dB in the range .003 to .009 Hz, which corresponds to your data.
But you can see the 20dB/decade easily in the log/log plot.
07-27-2015 01:58 AM
You are right. I just misunderstood him/her 🙂
07-27-2015 07:02 AM
So, the first problem is solved.
Now I wanted to check the frequency at -3dB (cut off frequency).
Can someone of you tell me, why the freuqencies are not the same at 0,5|H(w)| (left) and -3dB (right)?
I hope you guys can help me again 🙂
kind regards Slev1n
07-27-2015 07:15 AM
Why do you think it's not the same? -3dB corresponds to a gain of 0.708, so it looks right to me.
07-27-2015 08:18 AM
Yes, you are right again. I just calculated 20*log(0,7) = -3dB
But I had in mind that at -3dB attenuation, the amplitude of the signal is the half of the original signal, which is right if you calculate 10*log(0,5).
As the signal I am filtering is a voltage signal I use the 20*log(x) for a conversion from Volt to dB. If I would have a power signal/spectrum I would use 10*log(x) for a conversion from Watt into dB.
Can you confirm my conclusion?