CN104883157B - A kind of variable subband digital filter - Google Patents
A kind of variable subband digital filter Download PDFInfo
- Publication number
- CN104883157B CN104883157B CN201510252334.2A CN201510252334A CN104883157B CN 104883157 B CN104883157 B CN 104883157B CN 201510252334 A CN201510252334 A CN 201510252334A CN 104883157 B CN104883157 B CN 104883157B
- Authority
- CN
- China
- Prior art keywords
- filter
- input
- variable
- output end
- accumulator
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000001914 filtration Methods 0.000 claims abstract description 21
- 230000015572 biosynthetic process Effects 0.000 claims description 26
- 238000003786 synthesis reaction Methods 0.000 claims description 26
- 230000003111 delayed effect Effects 0.000 claims description 8
- 238000000354 decomposition reaction Methods 0.000 claims description 5
- 230000017105 transposition Effects 0.000 claims description 4
- 230000008520 organization Effects 0.000 claims 1
- 230000002035 prolonged effect Effects 0.000 claims 1
- 230000011664 signaling Effects 0.000 claims 1
- 239000002131 composite material Substances 0.000 description 9
- 238000000034 method Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 239000013598 vector Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001364 causal effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000012938 design process Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000005316 response function Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Filters That Use Time-Delay Elements (AREA)
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
Abstract
一种可变子带数字滤波器,用于将[0,2π]频带分解为M个均匀子带进行选通滤波,其结构可以由直接型FIR滤波器或转置型FIR滤波器实现。本发明高效的可变子带滤波器,可以任意组合不同的通道滤波器,形成2M种通带结构的滤波器,有效实现可变子带滤波器的同时,可以降低对硬件资源的占用。A variable sub-band digital filter is used to decompose the [0,2π] frequency band into M uniform sub-bands for gating filtering, and its structure can be realized by a direct FIR filter or a transposed FIR filter. The high-efficiency variable sub-band filter of the present invention can combine different channel filters arbitrarily to form filters with 2 M kinds of passband structures, effectively realizing the variable sub-band filter and reducing the occupation of hardware resources.
Description
技术领域technical field
本发明涉及数字滤波器领域,特别是一种可变子带数字滤波器。The invention relates to the field of digital filters, in particular to a variable sub-band digital filter.
背景技术Background technique
移动通信领域可用频带一般为受限资源,需要申请或者购买才能获得相应的运营资格。在同一个制式内,频率资源也被分配给多个不同的运营商。无论中国还是国外,一家运营商往往在一个制式上获得多个不连续频带的运营许可。例如GSM的890~893MHz(3MHz带宽)和900~901MHz(1MHz带宽)二个子频带。不同国家有不同的无线频段的规划,同时一个运营商不能获得整个频段的经营权。特别在国外,不同运营商的频段带宽不一样。此外,一个制式里的多个不连续的频段的带宽不是固定的。所以为了适应现代无线移动网络的运营特点,通信系统如基站、无线直放站、移动终端及手机需要具有多子带选频,带宽可以实时设置的功能,以满足现场应用要求。模拟技术可以解决多网络融合和多子带,但不能实现“带宽实时可设置”。The available frequency bands in the field of mobile communications are generally limited resources, which require application or purchase to obtain corresponding operating qualifications. Within the same standard, frequency resources are also allocated to multiple different operators. Whether in China or abroad, an operator often obtains operating licenses for multiple discontinuous frequency bands in one system. For example, there are two sub-bands of 890-893MHz (3MHz bandwidth) and 900-901MHz (1MHz bandwidth) of GSM. Different countries have different plans for wireless frequency bands, and at the same time, one operator cannot obtain the right to operate the entire frequency band. Especially in foreign countries, different operators have different frequency band bandwidths. In addition, the bandwidths of multiple discontinuous frequency bands in one standard are not fixed. Therefore, in order to adapt to the operation characteristics of modern wireless mobile networks, communication systems such as base stations, wireless repeaters, mobile terminals and mobile phones need to have the function of multi-subband frequency selection and real-time bandwidth setting to meet the requirements of field applications. Simulation technology can solve multi-network fusion and multi-subband, but it cannot realize "real-time bandwidth setting".
利用数字信号处理技术灵活、精确的特点,可以有效地解决“带宽实时设置”的技术难题。在数字信号处理技术中,数模转换器首先将连续模拟信号离散、量化和编码为数字信号。然后,离散的数字信号经过数学算法的处理之后通过数模转换又还原为模拟信号。数字信号处理的算法可以通过计算机或者数字信号处理器(DSP)和专用集成电路(ASIC),FPGA等以编程方式实现。然而,目前对实时可变子带滤波器的研发非常有限,还没有针对性的完整的设计和实现方法。Utilizing the flexible and precise characteristics of digital signal processing technology, the technical problem of "real-time bandwidth setting" can be effectively solved. In digital signal processing technology, a digital-to-analog converter first discretes, quantizes, and encodes a continuous analog signal into a digital signal. Then, the discrete digital signal is restored to an analog signal through digital-to-analog conversion after being processed by a mathematical algorithm. Algorithms of digital signal processing can be realized by programming through computers or digital signal processors (DSP), application-specific integrated circuits (ASIC), FPGA, etc. However, the current research and development of real-time variable sub-band filters is very limited, and there is no targeted and complete design and implementation method.
发明内容Contents of the invention
本发明的主要目的在于提出一种高效的可变子带滤波器,有效实现可变子带滤波器的同时,可以降低对硬件资源的占用。The main purpose of the present invention is to provide an efficient variable sub-band filter, which can reduce the occupation of hardware resources while effectively realizing the variable sub-band filter.
本发明采用如下技术方案:The present invention adopts following technical scheme:
一种可变子带数字滤波器,用于将[0,2π]频带分解为M个均匀子带进行选通滤波,包括滤波输入端和滤波输出端,其特征在于:其结构包括直接型FIR滤波器或转置型FIR滤波器。A variable sub-band digital filter is used to decompose the [0,2π] frequency band into M uniform sub-bands for gating filtering, including a filtering input end and a filtering output end, and is characterized in that: its structure includes a direct type FIR filter or transposed FIR filter.
优选的,直接型FIR滤波器实现的结构如下,包括滤波输入端、滤波输出端、M-1个单位延迟单元、M-1个合成累加器、M个可变系数乘法器和M个多相滤波器;该滤波输入端一路连接第0相多相滤波器输入端,另一路经M-1个单位延迟单元依次延迟构成M-1级延迟支路;该M-1级延迟支路分别连接第一至第M-1相多相滤波器输入端;M个多相滤波器的输出端分别连接到M个可变系数乘法器的一个输入端,而M个可变系数乘法器的另一输入端分别连接M个可变系数Si,其中i=0、1、2…M-1;该第0至第M-2个可变系数乘法器的输出端分别连接第一至第M-1个合成累加器的一输入端,该第M-1个可变系数乘法器输出端连接第M-1合成累加器另一输入端,第M-2合成累加器依次累加至第一合成累加器,该第一合成累加器的输出端作为滤波输出端。Preferably, the structure implemented by the direct FIR filter is as follows, including a filter input terminal, a filter output terminal, M-1 unit delay units, M-1 synthesis accumulators, M variable coefficient multipliers and M polyphase filter; one of the filter input ends is connected to the input end of the 0th phase polyphase filter, and the other is sequentially delayed by M-1 unit delay units to form an M-1 level delay branch; the M-1 level delay branches are respectively connected to The first to M-1th phase polyphase filter input terminals; the output terminals of the M polyphase filters are respectively connected to one input terminal of the M variable coefficient multipliers, and the other of the M variable coefficient multipliers The input terminals are respectively connected to M variable coefficients S i , where i=0, 1, 2...M-1; the output terminals of the 0th to M-2th variable coefficient multipliers are respectively connected to the first to M-th One input terminal of one composite accumulator, the output terminal of the M-1th variable coefficient multiplier is connected to the other input terminal of the M-1th composite accumulator, and the M-2th composite accumulator is sequentially accumulated to the first composite accumulator device, the output terminal of the first synthesized accumulator is used as the filter output terminal.
优选的,转置型FIR滤波器实现的结构如下,包括M-1个单位延迟单元、M-1个合成累加器、M个可变系数乘法器和M多相滤波器;该滤波输入端分成M支路,该M支路分别连接第0至第M-1个多相滤波器输入端;M个多相滤波器的输出端分别连接到M个可变系数乘法器的一个输入端,而M个可变系数乘法器的另一输入端为M个可变系数Si,其中i=0、1、2…M-1;该第0至第M-2个可变系数乘法器输出端分别连接第一至第M-1合成累加器输入端,该第M-1个可变系数乘法器输出端经第M-1延迟单元连接第M-1合成累加器另一输入端,该第M-2合成累加器至第一合成累加器的输出端分别经第M-2延迟单元至第一延迟单元连接至上一级合成累加器输入端,该第一合成累加器输出端作为滤波输出端。Preferably, the structure realized by the transposition FIR filter is as follows, including M-1 unit delay units, M-1 synthesis accumulators, M variable coefficient multipliers and M polyphase filters; the filter input is divided into M branches, the M branches are respectively connected to the 0th to M-1th polyphase filter input terminals; the output terminals of M polyphase filters are respectively connected to an input terminal of M variable coefficient multipliers, and M The other input terminals of the variable coefficient multipliers are M variable coefficients S i , where i=0, 1, 2...M-1; the output terminals of the 0th to M-2 variable coefficient multipliers are respectively Connect the first to the M-1th synthesis accumulator input end, the output end of the M-1th variable coefficient multiplier is connected to the other input end of the M-1th synthesis accumulator through the M-1th delay unit, the Mth The output terminals of the -2 composite accumulator to the first composite accumulator are respectively connected to the input terminal of the upper stage composite accumulator via the M-2th delay unit to the first delay unit, and the output terminal of the first composite accumulator is used as a filter output terminal.
优选的,所述M个多相滤波器为直接型FIR滤波器。Preferably, the M polyphase filters are direct type FIR filters.
优选的,所述多相滤波器包括子滤波输入端,子滤波输出端、N个常系数乘法器、N-1个M延迟单元和N-1个加法器;该子滤波输入端一路连接第一个常系数乘法器输入端,另一路经N-1个M延迟单元依次延迟构成N-1级延迟支路;该N-1级延迟支路分别连接第二个至第N个常系数乘法器输入端,第一至第N个常系数乘法器的另一个输入端分别连接滤波器系数h0至hN-1,该第一至第N-1个常系数乘法器的输出端分别连接第一至第N-1合加法器输入端,该第N个常系数乘法器的输出端连接第N-1加法器的另一输入端,第N-1加法器依次累加至第一加法器,该第一加法器的输出端作为子滤波输出端。Preferably, the polyphase filter includes a sub-filter input terminal, a sub-filter output terminal, N constant coefficient multipliers, N-1 M delay units and N-1 adders; the sub-filter input terminal is connected to the first One constant coefficient multiplier input terminal, the other path is sequentially delayed by N-1 M delay units to form an N-1 stage delay branch; the N-1 stage delay branch is respectively connected to the second to the Nth constant coefficient multiplication The other input terminals of the first to N constant coefficient multipliers are respectively connected to the filter coefficients h 0 to h N-1 , and the output terminals of the first to N-1 constant coefficient multipliers are respectively connected to The first to the N-1th adder input end, the output end of the Nth constant coefficient multiplier is connected to the other input end of the N-1th adder, and the N-1th adder is sequentially accumulated to the first adder , the output terminal of the first adder serves as the sub-filter output terminal.
优选的,所述多相滤波器为转置型FIR滤波器。Preferably, the polyphase filter is a transposed FIR filter.
优选的,所述多相滤波器包括子滤波输入端、子滤波输出端、N个常系数乘法器、N-1个M延迟单元和N-1个加法器;该子滤波输入端分成N支路,该N支路分别连接第一至第N个常系数乘法器的一个输入端,该N个常系数乘法器的另一个输入端分别连接滤波器系数h0至hN-1,该第一至第N-1个常系数乘法器输出端分别连接第一至第N-1加法器输入端,该第N个常系数乘法器输出端经第N-1个M延迟单元连接至第N-1加法器另一输入端,该第N-2加法器至第一加法器的输出端分别经第N-2延迟单元至第一延迟单元连接至上一级加法器输入端,该第一加法器输出端作为子滤波输出端。Preferably, the polyphase filter includes a sub-filter input terminal, a sub-filter output terminal, N constant coefficient multipliers, N-1 M delay units, and N-1 adders; the sub-filter input terminal is divided into N branches The N branches are respectively connected to one input end of the first to the Nth constant coefficient multipliers, and the other input ends of the N constant coefficient multipliers are respectively connected to the filter coefficients h 0 to h N-1 , the first The output terminals of the first to N-1th constant coefficient multipliers are respectively connected to the input terminals of the first to N-1th adders, and the output terminals of the Nth constant coefficient multiplier are connected to the Nth through the N-1th M delay unit The other input end of the -1 adder, the output ends of the N-2th adder to the first adder are respectively connected to the input end of the upper stage adder through the N-2th delay unit to the first delay unit, the first adder The output terminal of the filter is used as the sub-filter output terminal.
优选的,所述的合成累加器为采用进位保留和流水线结构以减少加法器的运算延迟。Preferably, the synthesis accumulator adopts a carry-save and pipeline structure to reduce the operation delay of the adder.
优选的,所述的单位延迟单元、合成累加器、多相滤波器和可变系数乘法器均为采用两通道对同相和正交信号同步进行滤波的复数运算单元。Preferably, the unit delay unit, synthesis accumulator, polyphase filter and variable coefficient multiplier are all complex arithmetic units using two channels to filter the in-phase and quadrature signals synchronously.
由上述对本发明的描述可知,与现有技术相比,本发明具有如下有益效果:As can be seen from the above description of the present invention, compared with the prior art, the present invention has the following beneficial effects:
一、本发明结构实现的可变子带滤波器可以任意组合不同的通道滤波器,形成2M种通带结构的滤波器。1. The variable sub-band filter realized by the structure of the present invention can arbitrarily combine different channel filters to form filters with 2 M kinds of passband structures.
二、本发明结构实现的可变子带滤波器不但可以实现全通功能,而且通带内的波纹特性均与低通原型滤波器一致,信号经过滤波器后不会产生幅度失真Two, the variable sub-band filter realized by the structure of the present invention can not only realize the all-pass function, but also the ripple characteristics in the passband are consistent with the low-pass prototype filter, and the signal will not produce amplitude distortion after passing through the filter
三、本发明采用多相分解结构实现可变多子带滤波,可以有效减少所需硬件资源。3. The present invention adopts a polyphase decomposition structure to realize variable multi-subband filtering, which can effectively reduce required hardware resources.
四、本发明结构和一般可变数字滤波器的实现技术相比,可以减少所需改变参数的个数,即一般可变滤波器所需改变的参数为数字滤波器系数的个数(一般为30以上),而本发明的可变子带滤波器所需改变参数个数为子带数远远少于滤波器系数个数。Four, the structure of the present invention is compared with the realization technology of general variable digital filter, can reduce the number of required changing parameters, the parameter that promptly general variable filter needs to change is the number of digital filter coefficient (generally 30 or more), and the number of parameters needed to be changed by the variable sub-band filter of the present invention is that the number of sub-bands is far less than the number of filter coefficients.
五、本发明结构实现的可变子带滤波器使用的是FIR滤波器,具有线性相位特性,即对带内信号的群延迟为常数。5. The variable sub-band filter implemented by the structure of the present invention uses an FIR filter, which has a linear phase characteristic, that is, the group delay for in-band signals is constant.
附图说明Description of drawings
图1是现有的可变子带数字滤波器的基本原理框图;Fig. 1 is the basic principle block diagram of existing variable sub-band digital filter;
图2是本发明可变子带数字滤波器的直接型结构(实施例一);Fig. 2 is the direct type structure (embodiment one) of variable sub-band digital filter of the present invention;
图3是可变子带数字滤波器的转置结构(实施例二)Fig. 3 is the transpose structure (embodiment two) of variable sub-band digital filter
图4是直接型FIR多相滤波器的结构;Fig. 4 is the structure of direct type FIR polyphase filter;
图5是转置型FIR多相滤波器的结构;Fig. 5 is the structure of transposition type FIR polyphase filter;
图6是第4带滤波器的冲击响应波形(N=79);Fig. 6 is the impulse response waveform (N=79) of the 4th band filter;
图7是第4带滤波器的幅频和相频响应(N=79);Fig. 7 is the amplitude-frequency and phase-frequency response (N=79) of the 4th band filter;
图8是只选通第1个子带时,即时,可变子带滤波器的幅频响应;Figure 8 is when only the first sub-band is selected, that is , the magnitude-frequency response of the variable subband filter;
图9是当选通第2和第3个子带时,即时,可变子带滤波器的幅频响应。Figure 9 is when the 2nd and 3rd subbands are selected, that is , the magnitude-frequency response of the variable subband filter.
具体实施方式detailed description
以下通过具体实施方式对本发明作进一步的描述。The present invention will be further described below through specific embodiments.
实施例一Embodiment one
一种可变子带数字滤波器,基于离散傅里叶变换(DFT)滤波器组实现的均匀子带滤波器,用于将[0,2π]频带分解为M个均匀子带进行选通滤波。A variable subband digital filter, based on a uniform subband filter implemented by a discrete Fourier transform (DFT) filter bank, used to decompose the [0,2π] frequency band into M uniform subbands for gating filtering .
参照图2,其直接型FIR滤波器实现的结构包括滤波输入端x[n]、滤波输出端y[n]、M-1个单位延迟单元z-1、M-1个合成累加器400、M个可变系数乘法器300和M个多相滤波器E0(zM)…EM-1(zM)。该滤波输入端x[n]一路连接第0相多相滤波器输入端E0(zM),另一路经M-1个单位延迟单元依次延迟构成M-1级延迟支路;该M-1级延迟支路分别连接第一至第M-1相多相滤波器E1(zM)…EM-1(zM)的输入端;M个多相滤波器E0(zM)…EM-1(zM)的输出端分别连接到M个可变系数乘法器300的一个输入端,而M个可变系数乘法器300另一输入端分别连接M个可变系数Si其中i=0、1、2…M-1。该第0至第M-2个可变系数乘法器300的输出端分别连接第一至第M-1个合成累加器400的输入端,该第M-1个可变系数乘法器300输出端连接第M-1合成累加器400另一输入端,第M-1合成累加器依次累加至第一合成累加器,该第一合成累加器的输出端作为滤波输出端y[n]。Referring to Fig. 2, the structure realized by the direct type FIR filter includes filter input terminal x[n], filter output terminal y[n], M-1 unit delay units z -1 , M-1 synthetic accumulators 400, M variable coefficient multipliers 300 and M polyphase filters E 0 (z M )...EM -1 (z M ). The filter input terminal x[n] is connected to the input terminal E 0 (z M ) of the 0th phase polyphase filter, and the other channel is sequentially delayed by M-1 unit delay units to form an M-1 delay branch; the M- The first-stage delay branches are respectively connected to the input ends of the first to M-1th phase polyphase filters E 1 (z M )...E M-1 (z M ); M polyphase filters E 0 (z M ) ...The output terminals of E M-1 (z M ) are respectively connected to one input terminal of M variable coefficient multipliers 300, and the other input terminals of M variable coefficient multipliers 300 are respectively connected to M variable coefficient S i where i=0, 1, 2...M-1. The output terminals of the 0th to M-2th variable coefficient multipliers 300 are respectively connected to the input terminals of the first to M-1th synthetic accumulators 400, and the output terminals of the M-1th variable coefficient multipliers 300 The other input end of the M-1th synthetic accumulator 400 is connected, and the M-1th synthetic accumulator sequentially accumulates to the first synthetic accumulator, and the output terminal of the first synthetic accumulator serves as the filter output terminal y[n].
单位延迟单元z-1、合成累加器400、多相滤波器E0(zM)…EM-1(zM)和可变系数乘法器的可变系数Si均为复数运算单元,即采用两通道对同相和正交信号同步执行。该单位延迟单元z-1由多位寄存器实现,其位宽等于输入信号位宽。合成累加器400为多输入加法器,采用进位保留加法器将多个输入压缩为进位(Carry)与和值(Sum)两个位矢量,且仅在接近输出端的第一个合成累加器相加得到输出结果。M个可变系数乘法器300另一端输入的可变系数Si,M-1≥i≥0,等于各个子带调制系数Wik M之和,其中i为所连接多相滤波器的序号,M-1≥i≥0,M为子带总数,k为子带序号,子带滤波器含有几个通带(通带为幅度没有衰减的频率范围),Si就含有几项Wik M,即: The unit delay unit z -1 , the synthesis accumulator 400, the polyphase filter E 0 (z M )...E M-1 (z M ) and the variable coefficient S i of the variable coefficient multiplier are all complex arithmetic units, namely Synchronous execution of in-phase and quadrature signals using two channels. The unit delay unit z -1 is realized by a multi-bit register, and its bit width is equal to the bit width of the input signal. Synthetic accumulator 400 is a multi-input adder, which uses a carry-save adder to compress multiple inputs into two bit vectors of carry (Carry) and sum value (Sum), and adds them only at the first synthetic accumulator close to the output terminal Get the output result. The variable coefficient S i input by the other end of the M variable coefficient multipliers 300, M-1≥i≥0, is equal to the sum of the modulation coefficients W ik M of each subband, where i is the sequence number of the connected polyphase filter, M-1≥i≥0, M is the total number of subbands, k is the subband number, the subband filter contains several passbands (the passband is the frequency range with no amplitude attenuation), and S i contains several items W ik M ,which is:
该实施例中的多相滤波器Ei(zM)为直接型FIR滤波器,i=0、1…M-1。参照图4,其包括子滤波输入端、子滤波输出端、N个常系数乘法器220、N-1个M延迟单元z-M和N-1个加法器230。该子滤波输入端一路连接第一个常系数乘法器输入端,另一路经N-1个M延迟单元z-M依次延迟构成N-1级延迟支路。该N-1级延迟支路分别连接第二个至第N个常系数乘法器的一输入端,第一至第N个常系数乘法器的另一个输入端分别连接滤波器系数h0至hN-1,该第0至第N-2个常系数乘法器的输出端分别连接第一至第N-1合加法器输入端,该第N-1个常系数乘法器的输出端连接第N-1加法器的另一输入端,第N-1加法器依次累加至第一加法器,该第一加法器的输出端作为子滤波输出端。The polyphase filter E i (z M ) in this embodiment is a direct type FIR filter, i=0, 1...M-1. Referring to FIG. 4 , it includes a sub-filter input terminal, a sub-filter output terminal, N constant coefficient multipliers 220 , N-1 M delay units z- M , and N-1 adders 230 . One of the input ends of the sub-filter is connected to the input end of the first constant coefficient multiplier, and the other is sequentially delayed by N-1 M delay units z- M to form an N-1 delay branch. The N-1 delay branches are respectively connected to one input end of the second to the Nth constant coefficient multipliers, and the other input ends of the first to the Nth constant coefficient multipliers are respectively connected to filter coefficients h0 to h N-1 , the output terminals of the 0th to N-2th constant coefficient multipliers are respectively connected to the input terminals of the first to N-1th combined adders, and the output terminals of the N-1th constant coefficient multipliers are connected to the first The other input end of the N-1 adder, the N-1th adder sequentially accumulates to the first adder, and the output end of the first adder serves as the sub-filter output end.
以下说明如何得到多相分解结构的可变子带滤波器各相滤波器的系数。The following describes how to obtain the coefficients of each phase filter of the variable sub-band filter of the polyphase decomposition structure.
本发明可变子带滤波器原型低通滤波器为第M带(或者称为Nyquist)滤波器。该原型低通滤波器为只有一个基本通带,即Si只含有一项k=0子带时的滤波器。因此,可变子带滤波器的原型滤波器系数可由第M带(或者称为Nyquist)滤波器设计得到。第M带(或者称为Nyquist)滤波器可以通过窗口法和优化方法设计得到。这里使用窗口法说明设计过程。The variable sub-band filter prototype low-pass filter of the present invention is an Mth band (or Nyquist) filter. The prototype low-pass filter has only one basic passband, that is, the filter when S i only contains one k=0 subband. Therefore, the prototype filter coefficients of the variable sub-band filter can be obtained by designing the M-th band (or Nyquist) filter. The Mth band (or called Nyquist) filter can be designed by window method and optimization method. The window method is used here to illustrate the design process.
首先,根据可变子带滤波器阻带(通带)波纹(如60dB)和通带角频率和阻带角频率的过渡带宽度(范围为0至2π/M),选择窗口形状。由于凯瑟窗可以通过改变参数得到任意波纹指标,所以这里使用凯瑟窗。First, the window shape is selected based on the variable subband filter stopband (passband) ripple (eg, 60dB) and the transition width of the passband corner frequency and the stopband corner frequency (ranging from 0 to 2π/M). Since the Kaiser window can obtain any ripple index by changing the parameters, the Kaiser window is used here.
其次,通过对通带宽度为2π/Μ的低通滤波器的冲击响应波形进行抽样,抽样频率为M。由通带角频率ω为[-π/Μ,π/Μ]理想滤波器的傅里叶逆变换求出其冲击响应函数为:Secondly, by sampling the impulse response waveform of a low-pass filter with a passband width of 2π/M, the sampling frequency is M. Be [-π/Μ, π/Μ] ideal filter's inverse Fourier transform by pass-band angular frequency ω to obtain its impulse response function as:
然后,第M带滤波器由以上冲击响应序列取关于时间序列号n=0为中心的N=2MJ-1点后(N为FIR滤波器长度),即MJ-1≥n≥-MJ+1,左移(延迟)(N-1)/2=MJ-1转换为因果FIR滤波器后,2MJ-2≥n≥0,各系数再乘以凯瑟窗序列Wk[n]后得到,其中下标k表示凯瑟窗,即:Then, the M-th band filter is taken from the above impulse response sequence after the N=2MJ-1 point centered on the time series number n=0 (N is the length of the FIR filter), that is, MJ-1≥n≥-MJ+1 , left shift (delay) (N-1)/2=MJ-1 is converted into a causal FIR filter, 2MJ-2≥n≥0, and each coefficient is multiplied by the Kaiser window sequence W k [n] to obtain, where the subscript k represents the Kaiser window, namely:
其中 in
I0为修正贝塞尔函数,可以表示为关于m的幂级数,此处m取25项即可以满足精度要求;α、β为控制滤波器性能的参数,β由α推出,通过α可以改变窗函数的特性。α增大,滤波器幅度谱主瓣增宽,旁瓣幅度减小。例如,α=2.12时,滤波器幅度谱主瓣过渡带宽为3π/N,通带波纹0.27dB,阻带最小衰减30dB;α=7.865时,过渡带宽为10π/N,通带波纹2.75e-4dB,阻带最小衰减80dB。附图6和7给出了第4带滤波器的冲击响应波形和幅频特性与相频特性频谱图(a=7.9,J=10)。I 0 is a modified Bessel function, which can be expressed as a power series about m, where m takes 25 items to meet the accuracy requirements; α, β are parameters that control the performance of the filter, β is derived from α, and can be obtained through α Change the properties of the window function. As α increases, the main lobe of the filter amplitude spectrum widens and the amplitude of the side lobes decreases. For example, when α=2.12, the transition bandwidth of the main lobe of the filter amplitude spectrum is 3π/N, the passband ripple is 0.27dB, and the minimum attenuation of the stopband is 30dB; when α=7.865, the transition bandwidth is 10π/N, and the passband ripple is 2.75e- 4dB, the minimum attenuation of the stop band is 80dB. Accompanying drawing 6 and 7 have provided the wave form of impulse response of the 4th band filter and the spectrogram of amplitude-frequency characteristic and phase-frequency characteristic (a=7.9, J=10).
最后将求出的第M带滤波器系数前面补一个0后长度变为2MJ,可以分为M组(或称M相)多相分解滤波器Ei(z)(ei[n])的系数,即:或ei[n]表示Ei的第n个系数,i为第i相。以上第4带滤波器经4相分解后的系数如下表所示。Finally, add a 0 to the front of the obtained M-th band filter coefficient, and then the length becomes 2MJ, which can be divided into M groups (or called M phases) of polyphase analysis filters E i (z) (e i [n]) Coefficients, namely: or e i [n] represents the nth coefficient of Ei, i is the ith phase. The coefficients of the above 4th band filter after 4-phase decomposition are shown in the table below.
以上设计了含有4个子带的可变子带滤波器,子带的选通可以通过改变Si实现。例如,附图8呈现了当只选通第1个子带时,即时,可变子带滤波器的幅频响应;附图9呈现了当选通第2和第3个子带时,即时,可变子带滤波器的幅频响应。A variable sub-band filter with 4 sub-bands is designed above, and the gating of the sub-bands can be realized by changing Si . For example, Figure 8 shows that when only the first subband is gated, that is , the amplitude-frequency response of the variable subband filter; Figure 9 shows when the second and third subbands are selected, namely , the magnitude-frequency response of the variable subband filter.
实施二Implementation two
一种可变子带数字滤波器,用于将[0,2π]频带分解为M个均匀子带进行选通滤波。其与实施例一的区别如下:A variable subband digital filter is used to decompose the [0,2π] frequency band into M uniform subbands for gating filtering. Its difference with embodiment one is as follows:
参照图3,其转置型FIR滤波器实现的结构包括M-1个单位延迟单元、M-1个合成累加器400、M个可变系数乘法器300和M个多相滤波器R0(zM)…RM-1(zM);该滤波输入端分成M支路,该M支路分别连接第0至第M个多相滤波器输入端R0(zM)…RM-1(zM);M个多相滤波器R0(zM)…RM-1(zM)的输出端分别连接到M个可变系数乘法器300的一个输入端,而M个可变系数乘法器300的另一输入端分别连接M个可变系数Si,其中i=0、1、2…M-1。该第0至第M-2个可变系数乘法器300输出端分别连接第一至第M-1合成累加器400的一输入端,该第M-1个可变系数乘法器输出端经第M-1延迟单元连接第M-1合成累加器另一输入端,该第M-2合成累加器至第一合成累加器的输出端分别经第M-2延迟单元至第一延迟单元连接至上一级合成累加器输入端,该第一合成累加器输出端作为滤波输出端。Referring to Fig. 3, the structure realized by its transposition FIR filter includes M-1 unit delay units, M-1 synthesis accumulators 400, M variable coefficient multipliers 300 and M polyphase filters R 0 (z M )…R M-1 (z M ); the filter input end is divided into M branches, and the M branches are respectively connected to the 0th to Mth polyphase filter input ends R 0 (z M )…R M-1 (z M ); the output ends of M polyphase filters R 0 (z M )...R M-1 (z M ) are respectively connected to an input end of M variable coefficient multipliers 300, and M variable coefficient multipliers 300 The other input terminal of the coefficient multiplier 300 is respectively connected to M variable coefficients S i , where i=0, 1, 2...M-1. The output terminals of the 0th to M-2th variable coefficient multipliers 300 are respectively connected to an input end of the first to M-1th composite accumulator 400, and the output terminals of the M-1th variable coefficient multipliers are passed through the first The M-1 delay unit is connected to the other input terminal of the M-1 synthesis accumulator, and the output terminals of the M-2 synthesis accumulator to the first synthesis accumulator are respectively connected to the above through the M-2 delay unit to the first delay unit The input end of the first-stage synthesis accumulator, the output end of the first synthesis accumulator is used as the filter output end.
该实施例中的单位延迟单元z-1、合成累加器400、多相滤波器R0(zM)…RM-1(zM)和可变系数乘法器Si均为复数运算单元,即采用两通道对同相和正交信号同步执行。转置型单位延迟单元寄存器位于多相滤波器输出端,因此位宽由多相滤波器输出结果的最大摆幅和截断的精度设定。合成累加器为多输入加法器,采用进位保留加法器将多个输入压缩为进位(Carry)与和值(Sum)两个位矢量,且仅在接近输出端的第一个合成累加器相加得到输出结果。M个可变系数乘法器另一端输入的可变系数Si,M-1≥i≥0,等于各个子带调制系数Wik M之和,其中i为所连接多相滤波器的序号,M-1≥i≥0,M为子带总数,k为子带序号,子带滤波器含有几个通带(通带为幅度没有衰减的频率范围),Si就含有几项Wik M,即: In this embodiment, the unit delay unit z -1 , the synthesis accumulator 400, the polyphase filters R 0 (z M )... RM-1 (z M ) and the variable coefficient multiplier S i are all complex arithmetic units, That is, two channels are used to perform synchronously on the in-phase and quadrature signals. The transposed unit delay unit register is located at the output of the polyphase filter, so the bit width is set by the maximum swing of the output result of the polyphase filter and the precision of the truncation. The synthetic accumulator is a multi-input adder, which uses a carry-save adder to compress multiple inputs into two bit vectors of carry (Carry) and sum (Sum), and only adds them together at the first synthetic accumulator close to the output. Output the result. The variable coefficient S i input by the other end of the M variable coefficient multipliers, M-1≥i≥0, is equal to the sum of the modulation coefficients W ik M of each subband, where i is the serial number of the connected polyphase filter, M -1≥i≥0, M is the total number of sub-bands, k is the sub-band number, the sub-band filter contains several passbands (the passband is the frequency range with no amplitude attenuation), and S i contains several items W ik M , which is:
多相滤波器Ri(zM)为转置型FIR滤波器,其中i=0、1、2…M-1。参照图5,它包括子滤波输入端、子滤波输出端、N个常系数乘法器220、N-1个M延迟单元z-M和N-1个加法器230。该子滤波输入端分成N支路,该N支路分别连接第一级至第N个常系数乘法器的一个输入端,该N个常系数乘法器的另一个输入端分别连接滤波器系数h0至hN-1,该第一至第N-1个常系数乘法器输出端分别连接第一至第N-1加法器输入端,该第N个常系数乘法器输出端经第N-1个M延迟单元连接至第N-1加法器另一输入端,该第N-2加法器至第一加法器的输出端分别经第N-2延迟单元至第一延迟单元连接至上一级加法器输入端,该第一加法器输出端作为子滤波输出端。The polyphase filter R i (z M ) is a transposed FIR filter, where i=0, 1, 2...M-1. Referring to FIG. 5 , it includes a sub-filter input terminal, a sub-filter output terminal, N constant coefficient multipliers 220 , N-1 M delay units z- M and N-1 adders 230 . The input end of the sub-filter is divided into N branches, and the N branches are respectively connected to one input end of the first stage to the Nth constant coefficient multiplier, and the other input ends of the N constant coefficient multipliers are respectively connected to the filter coefficient h 0 to h N-1 , the output terminals of the first to N-1th constant coefficient multipliers are respectively connected to the input terminals of the first to N-1th adders, and the output terminals of the Nth constant coefficient multiplier are passed through the N-th One M delay unit is connected to the other input end of the N-1th adder, and the output ends of the N-2th adder to the first adder are respectively connected to the upper stage through the N-2th delay unit to the first delay unit The input end of the adder, the output end of the first adder is used as the output end of the sub-filter.
上述仅为本发明的具体实施方式,但本发明的设计构思并不局限于此,凡利用此构思对本发明进行非实质性的改动,均应属于侵犯本发明保护范围的行为。The above is only a specific embodiment of the present invention, but the design concept of the present invention is not limited thereto, and any insubstantial changes made to the present invention by using this concept should be an act of violating the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510252334.2A CN104883157B (en) | 2015-05-18 | 2015-05-18 | A kind of variable subband digital filter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510252334.2A CN104883157B (en) | 2015-05-18 | 2015-05-18 | A kind of variable subband digital filter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104883157A CN104883157A (en) | 2015-09-02 |
CN104883157B true CN104883157B (en) | 2017-12-01 |
Family
ID=53950512
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510252334.2A Expired - Fee Related CN104883157B (en) | 2015-05-18 | 2015-05-18 | A kind of variable subband digital filter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104883157B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017066322A2 (en) * | 2015-10-14 | 2017-04-20 | Witricity Corporation | Phase and amplitude detection in wireless energy transfer systems |
CN107623507B (en) * | 2016-07-15 | 2020-03-27 | 上海复旦微电子集团股份有限公司 | Digital filter |
CN108429546B (en) * | 2018-03-06 | 2021-11-05 | 深圳大学 | A Design Method of Hybrid FIR Filter |
CN109471086B (en) * | 2018-10-18 | 2020-11-24 | 浙江大学 | Coprime MIMO Radar Direction of Arrival Estimation Method Based on Multi-Sampling Snapshots and Discrete Fourier Transform of Set Array Signals |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227537A (en) * | 2007-01-19 | 2008-07-23 | 中兴通讯股份有限公司 | Broadband acoustics echo eliminating method |
CN101398480A (en) * | 2008-11-06 | 2009-04-01 | 哈尔滨工程大学 | Flexible sub-band reconstructed broad-band channel device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060036318A (en) * | 2004-10-25 | 2006-04-28 | 엘지전자 주식회사 | Apparatus and method for utilizing 1 / T1 link in OBISA |
-
2015
- 2015-05-18 CN CN201510252334.2A patent/CN104883157B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227537A (en) * | 2007-01-19 | 2008-07-23 | 中兴通讯股份有限公司 | Broadband acoustics echo eliminating method |
CN101398480A (en) * | 2008-11-06 | 2009-04-01 | 哈尔滨工程大学 | Flexible sub-band reconstructed broad-band channel device |
Also Published As
Publication number | Publication date |
---|---|
CN104883157A (en) | 2015-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Chen et al. | Non-maximally decimated analysis/synthesis filter banks: Applications in wideband digital filtering | |
CN109525256B (en) | A Channelized Transmitting Structure of Narrow Transition Band Filter Bank Based on FPGA | |
Mahesh et al. | Reconfigurable low area complexity filter bank architecture based on frequency response masking for nonuniform channelization in software radio receivers | |
CN104883157B (en) | A kind of variable subband digital filter | |
CN105337587B (en) | A kind of non-maximum extraction system synthesis filter group building method based on DFT | |
Darak et al. | Low-complexity reconfigurable fast filter bank for multi-standard wireless receivers | |
Lowenborg et al. | Two-channel digital and hybrid analog/digital multirate filter banks with very low-complexity analysis or synthesis filters | |
Sakthivel et al. | Low complexity reconfigurable channelizers using non-uniform filter banks | |
CN102355273A (en) | Digital channelizing method and circuit | |
CN113346871B (en) | Multichannel multiphase multi-rate adaptive FIR digital filtering processing architecture | |
Ambede et al. | A modified coefficient decimation method to realize low complexity FIR filters with enhanced frequency response flexibility and passband resolution | |
CN101119356B (en) | Multi-channel digital up-conversion system and digital up-conversion method | |
Kumar et al. | Exploiting coefficient symmetry in conventional polyphase FIR filters | |
CN101136623A (en) | Time Domain Implementation Method for Simple Coefficient FIR Filter | |
CN104486711B (en) | Low-complexity tunable filter bank for digital hearing aids and its method of operation | |
CN111010146B (en) | A Fast Filter Bank Based Signal Reconstruction Structure and Its Design Method | |
Furtado et al. | On the design of high-complexity cosine-modulated transmultiplexers based on the frequency-response masking approach | |
Yu et al. | Low-complexity design of variable bandedge linear phase FIR filters with sharp transition band | |
CN110957996A (en) | Multiplier-free FRM filter bank optimization design method based on ABC algorithm | |
CN107144821A (en) | Efficient reception passage based on time delay Wave beam forming in wideband digital battle array radar | |
Zhang et al. | Design and FPGA implementation of a novel efficient FRM-based channelized receiver structure | |
CN106712836B (en) | Channelizer design method based on approximate exact reconfigurable filter group and device | |
Eghbali et al. | A multimode transmultiplexer structure | |
CN102685055B (en) | Multi-data stream interpolation and extraction multiplexing device and method | |
CN117857276A (en) | Ultra-wideband random interference carrier generation method based on FPGA and radio frequency DAC |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171201 |
|
CF01 | Termination of patent right due to non-payment of annual fee |