Order of filter

2024-08-12 Thread Muhammad Anas
Dear GNU Radio Community,

I hope this message finds you well. In GRC, there is no option of setting
the order of any filter, could we increase the order of any filter by using
it twice for order 2 in series and so on?

Your insights or suggestions on achieving this would be immensely valuable
to my project.

Thank you sincerely for your assistance.

Best regards,

Muhammad Anas


[GSoC] FEC week 9 blog post

2024-08-12 Thread Kayla Comer
Hi all,

Here's my update for last week's work on the GSOC FEC project:
https://kaylacomer.github.io/blog/posts/week9/.

Best,
Kayla


Re: Order of filter

2024-08-12 Thread Steve Hageman
Hello Muhammad - Analog filters are designed much like Digital filters, 
but the implementation is different.


In any filter there are these general parameters,

Filter function: Lpw Pass, High Pass, Bandpass
Filter type (butterworth, chebychev, bessel, linear phase, etc)
Passband ripple,
Cutoff frequency (with some dB specification at the cutoff),
Stopband frequency
Stopband attenuation

In an analog filter one can look at the classic textbook attenuation 
curves to determine the filter 'Order' for the specifications above.


In a digital filter we can use a tool like the GNU Radio supplied 
'Filter Design Tool' to determine the number of 'Taps'.


Point 1) There really isn't an equivalent between the Analog Filter 
Order and the Digital Filter 'Taps', but for a specific design you can 
do the design back and forth between both domains and you will probably 
see some correlation between Order and Taps for that specific design.


Point 2) If you wish to get a rough equivalent to the 'Analog Order' of 
a digital filter you can go look in any filter textbook and check the 
curves out for the specifications given.


Point 3) If you stack two say: 1st Order, 1 kHz cutoff low pass filters 
Active Analog Filters together and measure the response you will find 
that the cutoff frequency measures around 640 Hz. This is because the 
filters react with each other to make a narrower passband. For higher 
order filters the design must take into account the number of stages (ot 
Taps) to properly calculate the pole locations. The same thing happens 
with a digital filter, namely stacking identical filters will result in 
the passband getting narrower, although the ultimate stopband 
attenuation will increase. (I talked about the LPF case here, the 
classic BPF and HPF equivalents can be found in any filter textbook).


A quick way to play with filters in GNURadio is to design a filter 
block, add a noise source as the input and look at the 'Averaged' output 
with a QT Frequency Sink Block - there you will see the basic response 
curve.


Hope this brief overview helps.

Steve Hageman




[Clarification] Order of filter

2024-08-12 Thread Steve Hageman
One clarification - On Stacking the digital filters - the bandwidth does 
not narrow - I misspoke. Naturally being a Hardware Guy I forgot that 
the digital filters do no load each other, like analog filters can.


(I should never type before two cups of coffee in the morning - forgive 
me).  ;-)





Re: [Clarification] Order of filter

2024-08-12 Thread Muhammad Anas
Thanks for the explanation.

On Mon, Aug 12, 2024, 8:07 PM Steve Hageman 
wrote:

> One clarification - On Stacking the digital filters - the bandwidth does
> not narrow - I misspoke. Naturally being a Hardware Guy I forgot that
> the digital filters do no load each other, like analog filters can.
>
> (I should never type before two cups of coffee in the morning - forgive
> me).  ;-)
>
>
>


Re: [Clarification] Order of filter

2024-08-12 Thread Marcus D. Leech

On 12/08/2024 11:07, Steve Hageman wrote:
One clarification - On Stacking the digital filters - the bandwidth 
does not narrow - I misspoke. Naturally being a Hardware Guy I forgot 
that the digital filters do no load each other, like analog filters can.


(I should never type before two cups of coffee in the morning - 
forgive me).  ;-)



Actually, considering the quick flow-graph below, using a 
complex-low-pass as a symmetric bandpass, you can see that
  doubling-up the same filter produces much more out-of-band 
attenuation, but also slightly-steeper "skirts".




filters.grc
Description: application/gnuradio-grc