Polyphase Channelizer

(Note, there also exists a Hierarchical Polyphase Channelizer block which may be easier to use.)

This block takes in complex inputs and channelizes it to channels of equal bandwidth. Each of the resulting channels is decimated to the new rate that is the input sampling rate divided by the number of channels.

The PFB channelizer code takes the taps generated above and builds a set of filters. The set contains number of filters and each filter contains ceil(taps.size/decim) number of taps. Each tap from the filter prototype is sequentially inserted into the next filter. When all of the input taps are used, the remaining filters in the filterbank are filled out with 0’s to make sure each filter has the same number of taps.

Each filter operates using the FIR Filter class of GNU Radio, which takes the input stream at and performs the inner product calculation to where is the number of filter taps. To efficiently handle this in the GNU Radio structure, each filter input must come from its own input stream. So the channelizer must be provided with streams where the input stream has been deinterleaved. This is most easily done using the Stream to Streams block.

The output is then produced as a vector, where index in the vector is the next sample from the th channel. This is most easily handled by sending the output to a Vector to Streams block to handle the conversion and passing streams out.

The filter’s taps should be based on the input sampling rate.

For example, using the GNU Radio’s firdes utility to building filters, we build a low-pass filter with a sampling rate of, a 3-dB bandwidth of and a transition bandwidth of. We can also specify the out-of-band attenuation to use,, and the filter window function (a Blackman-harris window in this case). The first input is the gain of the filter, which we specify here as unity.

The filter output can also be overs ampled. The over sampling rate is the ratio of the the actual output sampling rate to the normal output sampling rate. It must be rationally related to the number of channels as N/i for i in [1,N], which gives an outputsample rate of [fs/N, fs] where fs is the input sample rate and N is the number of channels.

For example, for 6 channels with fs = 6000 Hz, the normal rate is 6000/6 = 1000 Hz. Allowable oversampling rates are 6/6, 6/5, 6/4, 6/3, 6/2, and 6/1 where the output sample rate of a 6/1 oversample ratio is 6000 Hz, or 6 times the normal 1000 Hz. A rate of 6/5 = 1.2, so the output rate would be 1200 Hz.

Parameters

 * Channels
 * Specifies the number of channels


 * Taps
 * The prototype filter to populate the filterbank.


 * Oversampling Ratio
 * The over sampling rate is the ratio of the the actual output sampling rate to the normal output sampling rate. It must be rationally related to the number of channels as N/i for i in [1,N], which gives an outputsample rate of [fs/N, fs] where fs is the input sample rate and N is the number of channels.


 * Attenuation
 * Attenuation of stop band.


 * Sample Delay
 * Sample delay of filter.


 * Channel Map
 * See Channel Map


 * Bus Connections
 * No idea. Default is [[0,],]