Difference between revisions of "Frequency Xlating FIR Filter"

From GNU Radio
Jump to: navigation, search
(Created page with "Category:Block Docs This is a hier block, consisting of a FFT Filter block and a Rotator block. It performs a frequency translation on the signal, as well as down...")
 
(add Example Flowgraph)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:Block Docs]]
 
[[Category:Block Docs]]
This is a hier block, consisting of a [[FFT Filter]] block and a [[Rotator]] block.  It performs a frequency translation on the signal, as well as downsamples the signal by running a decimating FIR filter on it.  It can be used as a channelizer, to pull out a narrowband portion of a wideband signal, without that narrowband portion having to be centered in frequency.   
+
This block performs a frequency translation on the signal, as well as downsamples the signal by running a decimating FIR filter on it.  It can be used as a channelizer, to pull out a narrowband portion of a wideband signal, without that narrowband portion having to be centered in frequency.   
  
 
[[File:freq-xlating-filter.png|250px]]
 
[[File:freq-xlating-filter.png|250px]]
Line 27: Line 27:
 
: The sample rate of the input signal.
 
: The sample rate of the input signal.
  
; Sample Delay
+
== Example Flowgraph ==
: Sets the sample delay of the filter block, see [[FFT Filter]] for more info.
 
  
; Num Threads
+
This flowgraph uses the Frequency Xlating FIR Filter block to center Frequency Shift Keying tones around zero. Then a Quadrature Demod block can detect the high and low tones as positive or negative values.
: Sets the number of threads used by the filter block, see [[FFT Filter]] for more info.
 
  
== Source Files ==
+
[[File:RTTY_rcv.png|800px]]
 
 
[https://github.com/gnuradio/gnuradio/blob/master/gr-filter/python/filter/freq_xlating_fft_filter.py Python Hier Block]
 

Latest revision as of 15:59, 27 October 2019

This block performs a frequency translation on the signal, as well as downsamples the signal by running a decimating FIR filter on it. It can be used as a channelizer, to pull out a narrowband portion of a wideband signal, without that narrowband portion having to be centered in frequency.

Freq-xlating-filter.png

(note- taken from http://blog.sdr.hu/grblocks/xlating-fir.html)

See this page or this page for more details.

Parameters[edit]

Decimation
The integer ratio between the input and the output signal’s sampling rate.
Taps
The vector of the complex or real taps of the FIR filter. You can generate these taps within the parameter box using firdes, for example:
Real taps:
 firdes.low_pass(1,samp_rate,samp_rate/(2*decimation), transition_bw)
Complex taps:
 firdes.complex_band_pass(1, samp_rate, -samp_rate/(2*decimation), samp_rate/(2*decimation), transition_bw)
Note: transition_bw is the transition bandwidth of the filter in Hz. The lower it is, the more taps the function will generate, and the more CPU time it will take to apply this filter. This parameter will determine the CPU usage and thus the execution speed of the block.
Center Frequency
The frequency translation offset frequency.
Sample Rate
The sample rate of the input signal.

Example Flowgraph[edit]

This flowgraph uses the Frequency Xlating FIR Filter block to center Frequency Shift Keying tones around zero. Then a Quadrature Demod block can detect the high and low tones as positive or negative values.

RTTY rcv.png