A method for designing an IIR polyphase filter based on output signal approximation

By using an output signal approximation method and updating filter coefficients with a recursive sensitivity function and an adaptive learning rate, the complex problems of stopband attenuation control and gradient calculation in IIR polyphase filter design are solved. This enables the design of IIR polyphase filters with flat passband and narrow transition band, which are suitable for medium-complexity communication systems.

CN123163569APending Publication Date: 2026-11-24SHANGHAI YAYUAN ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611443792.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-17
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing IIR polyphase filter designs suffer from problems such as difficulty in controlling stopband attenuation, poor design flexibility, and complex gradient calculations.

Method used

By employing an output signal approximation method, an ideal filter and an IIR polyphase filter are constructed. The gradient is directly calculated in the time domain and the filter coefficients are updated using a recursive sensitivity function and an adaptive learning rate, thus achieving a stable and efficient filter design.

Benefits of technology

When the number of branches is less than 50, the output signal of the IIR polyphase filter is consistent with that of an ideal filter. The passband is flat, the passband ripple is within 1dB, the transition band is narrow, and the stopband attenuation reaches about 40dB, making it suitable for medium-complexity communication systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123163569A_ABST
    Figure CN123163569A_ABST
Patent Text Reader

Abstract

This invention discloses a design method for IIR polyphase filters based on output signal approximation, relating to the field of digital signal processing technology. The method includes: constructing an ideal filter according to design specifications; initializing the filter coefficients and learning rates of each branch filter in the IIR polyphase filter to be designed; obtaining a reference output signal and an actual total output signal by inputting the same training signal; determining a target error function based on the reference output signal and the actual total output signal; establishing recursive sensitivity functions to determine the gradient of the target error function relative to the filter coefficients; updating the filter coefficients based on the gradient and the current learning rate, and adjusting the learning rate according to the changes in the target error function during adjacent iterations; re-acquiring the actual total output signal based on the updated filter coefficients and calculating the target error function, repeating this process until a preset convergence condition is met, and outputting the updated filter coefficients.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital signal processing technology, specifically to a design method for IIR polyphase filters based on output signal approximation. Background Technology

[0002] Traditional polyphase filters are mostly based on FIR filter designs. They have a simple structure but a large number of coefficients (orders), which consumes excessive computational and storage resources when dealing with large bandwidths and a large number of branches. IIR filters, with their feedback structure, can achieve the same frequency selectivity with fewer coefficients, which is advantageous in resource-constrained scenarios. However, the stability and amplitude-frequency response controllability of their design are challenges.

[0003] In the design of IIR polyphase filters, a traditional approach is to decompose the IIR filter into the sum of multiple parallel sub-filters, with each sub-filter sharing the same denominator transfer function. While this shared denominator structure is simple to implement, it leads to ineffective control of the overall filter's stopband attenuation, making it difficult to achieve the desired attenuation depth in the stopband and resulting in poor design flexibility.

[0004] Another type of approach optimizes based on frequency response error: by constructing an analytical expression for the error function and its gradient, iterative optimization algorithms such as Fletcher and Powell are used to solve for the zero-pole combination to approximate the desired frequency response. This type of method directly fits the amplitude / phase frequency response in the frequency domain, often requiring additional correction filters to handle issues where certain frequency bands cannot be precisely controlled. The optimization objective is indirect and implementation is complex; furthermore, in IIR feedback structures, the gradient of the output with respect to the coefficients exhibits a recursive relationship, making direct and stable calculation difficult. Summary of the Invention

[0005] The purpose of this invention is to provide a design method for IIR polyphase filters based on output signal approximation, so as to solve the problems raised in the prior art.

[0006] To achieve the above objectives, the present invention provides the following technical solution: a design method for an IIR polyphase filter based on output signal approximation, the method comprising the following steps: Construct an ideal filter based on the preset design specifications; Initialize the filter coefficients and learning rates of each branch filter in the IIR polyphase filter to be designed; The same training signal is input to the ideal filter and the IIR polyphase filter respectively, and the reference output signal output by the ideal filter and the actual total output signal output by the IIR polyphase filter are obtained. The target error function is determined based on the reference output signal and the actual total output signal; For each branch filter, a corresponding recursive sensitivity function is established, and the gradient of the target error function relative to the filter coefficients is determined based on the recursive sensitivity function. The filter coefficients of each branch filter are updated based on the gradient and the current learning rate, and the learning rate is adjusted according to the change of the target error function in adjacent iterations. Based on the updated filter coefficients, the actual total output signal is reacquired and the target error function is calculated. The filter coefficient updates and learning rate adjustments are repeated until the preset convergence condition is met, and the updated filter coefficients are output.

[0007] The IIR polyphase filter includes N parallel branch filters, each of which has independent numerator and denominator coefficients; where N is a positive integer. Each of the branch filters performs polyphase filtering on the training signal, and the output signals of each branch filter are superimposed to obtain the actual total output signal.

[0008] Each of the branch filters weights the delay component of the input signal according to the corresponding numerator coefficients and feeds back the historical output of the branch filter according to the corresponding denominator coefficients to recursively obtain the corresponding branch output signal.

[0009] The step of determining the target error function based on the output error between the reference output signal and the actual total output signal includes: The instantaneous output error between the reference output signal and the actual total output signal is determined, and the mean square error is determined based on the instantaneous output error, with the mean square error serving as the target error function.

[0010] The recursive sensitivity function includes a first recursive sensitivity function corresponding to the numerator coefficient and a second recursive sensitivity function corresponding to the denominator coefficient; The first recursive sensitivity function is recursively calculated based on the input signal delay component, denominator coefficient, and historical first recursive sensitivity of the corresponding branch; The second recursive sensitivity function is recursively calculated based on the historical output of the corresponding branch, the denominator coefficient, and the historical second recursive sensitivity.

[0011] Based on the instantaneous output error and the first recursive sensitivity function, the gradient of the target error function relative to the molecular coefficient is determined; Based on the instantaneous output error and the second recursive sensitivity function, determine the gradient of the target error function relative to the denominator coefficients; The numerator and denominator coefficients of each branch filter are updated based on the gradients of the numerator coefficients and the denominator coefficients, respectively.

[0012] The step of adjusting the learning rate based on the changes in the target error function during adjacent iterations includes: Compare the target error function of the current iteration with the target error function of the previous iteration; When the target error function of the current iteration increases, the learning rate is decreased according to a preset rule; when the target error function of the current iteration decreases, the learning rate is increased according to a preset rule. The adjusted learning rate is then limited to between the preset minimum and maximum learning rates.

[0013] The training signal is a composite excitation signal containing the frequency components corresponding to the passband, transition band and stopband of the IIR polyphase filter; The ideal filter is a reference filter constructed according to the preset design specifications, and the reference output signal is obtained by filtering the training signal.

[0014] Compared with the prior art, the beneficial effects of the present invention are: by using the MSE of the time-domain output signal as the objective function, the present invention directly calculates the gradient of the filter coefficients and updates them along the negative gradient. When the number of branches is less than 50, the output signal of the IIR polyphase filter is basically consistent with the output of the ideal filter. The passband is flat and the passband ripple is within 1dB. Moreover, the transition band is narrower than the method based on the attenuation zero point, making it suitable for medium-complexity communication systems. This invention employs a conventional IIR filter with each branch as an independent denominator, making the overall filter design more flexible and the amplitude-frequency response easier to control; when the number of branches is less than 50, a flat passband can be obtained and the stopband attenuation can reach about 40dB; This invention defines two recursive sensitivity functions to give the coefficient update amount and introduces an adaptive learning rate. Under the IIR feedback structure, it realizes reliable gradient calculation and stable coefficient update, resulting in stable training convergence and high efficiency. It also ensures the feasibility of the above-mentioned passband flatness, narrow transition band and 40dB stopband. Attached Figure Description

[0015] Figure 1 This is a flowchart illustrating an IIR polyphase filter design method based on output signal approximation according to the present invention. Figure 2 This is a block diagram illustrating the principle of an IIR polyphase filter design method based on output signal approximation according to the present invention. Figure 3 This invention provides a design method for an IIR polyphase filter based on output signal approximation, and includes a structural diagram of an IIR polyphase filter. Figure 4 This is a comparison diagram of the output signals of the 20-branch IIR polyphase filter and the ideal filter in Embodiment 2 of the present invention; Figure 5 This is a comparison diagram of the amplitude-frequency response of the branch IIR polyphase filter and the ideal FIR filter in Embodiment 20 of the present invention. Detailed Implementation

[0016] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0017] The embodiments of the present invention relate to a design method for IIR polyphase filters based on output signal approximation, such as... Figure 1-2 As shown, the method includes the following steps: Based on the preset design specifications, construct an ideal filter (such as an FIR filter of a specified order) as the approximation target; Initialize the numerator coefficients a of each branch of the IIR polyphase filter ij , denominator coefficient b ij and learning rate µ; like Figure 3 As shown, the IIR polyphase filter includes N parallel branch filters, each branch filter having an order of M; Each of the branch filters performs polyphase filtering on the training signal, and the output signals of each branch filter are superimposed to obtain the actual total output signal: The time-domain difference equation for the i-th branch is: ; The overall filter output is the sum of the outputs of each branch: ; Where N is the number of branches; i is the branch index, i∈{0,1,...,N-1}; j is the order index of the filter coefficients, where the numerator coefficient a ij For j∈{0,1,...,M}, the denominator coefficient b ij For j∈{1,2,...,M}; k is the discrete sampling time, i.e., the index of the current sampling point; x(k) is the input signal, y i (k) is the output signal of the i-th branch.

[0018] Each of the branch filters has independent numerator and denominator coefficients; unlike the traditional parallel structure with a shared denominator, the overall amplitude-frequency response is easier to control. The same training signal x(k) is input to the ideal filter and the IIR polyphase filter respectively, and the reference output signal d(k) output by the ideal filter and the actual total output signal y(k) output by the IIR polyphase filter are obtained. The target error function is determined based on the reference output signal and the actual total output signal; Let the output of an ideal filter (usually an FIR filter) that meets the design specifications be d(k) under the input signal x(k); Define instantaneous error and mean square error: e(k) = d(k) - y(k), and the squared error of a single sampling point E(k) = e 2 (k)=[d(k)-y(k)] 2 For a sample sequence of length L, the mean square error is... When using sample-by-sample gradient updates, E(k) is used as the instantaneous estimate of the MSE objective function. The optimization objective is to minimize the mean squared error (MSE) between the IIR polyphase filter output y(k) and the ideal output d(k) for the same input x(k), so that y(k) continuously approximates d(k); and to update the numerator coefficients a using the gradient descent method. ij With the denominator coefficient b ij ; For each branch filter, a corresponding recursive sensitivity function is established: Because IIR includes feedback, the partial derivatives of the output with respect to the coefficients are recursive. Define two auxiliary (sensitivity) functions: (Molecular coefficient) (For the coefficients in the denominator); By taking partial derivatives term by term and applying the chain rule, we can obtain its recursive expression: , ; And based on the recursive sensitivity function, the gradient of the target error function with respect to the filter coefficients is determined: Therefore, from E(k)=e 2 (k) Obtain the gradient and update amount: , ; , Where m is the summation index of the feedback recursion term, and its value ranges from 1 to M; µ is the learning rate. The filter coefficients of each branch filter are updated based on the gradient and the current learning rate, and the learning rate is adjusted according to the change of the target error function in adjacent iterations. After each training round, compare the current MSE with the previous MSE. If the MSE increases, decrease the learning rate to enhance stability; if the MSE decreases, increase the learning rate to accelerate training, and limit the learning rate to a certain value. Within the range; Based on the updated filter coefficients, the actual total output signal is reacquired and the target error function is calculated. The filter coefficients are updated and the learning rate is adjusted repeatedly until the preset convergence condition is met (to determine whether convergence has been achieved or the maximum number of iterations has been reached). The updated filter coefficients are then output to obtain the designed IIR multiphase filter.

[0019] The following are embodiments used to help understand the present invention: Design specifications example: Number of branches N is 20, 50, 80, 110, 140; IIR order of each branch is 3 (including 7 adjustable coefficients); for comparison, the ideal FIR filter orders are 140, 350, 560, 770, 980 respectively; passband cutoff frequency ω p =π / N, Transition band bandwidth T w =0.5π / N, stopband attenuation A s =40dB.

[0020] Training input signal design: A superimposed sine wave method is adopted, with a signal length of 1024. The first signal consists of 5000 frequency components, with a frequency range of 0.00001~π / N, simulating the passband signal; the second signal also consists of 5000 frequency components, with a frequency range of π / N~π, simulating the transition band and stopband signal; the two are superimposed to form a composite signal that simultaneously contains passband, transition band, and stopband components, used for training and evaluation.

[0021] Simulation conclusions: like Figure 4-5 As shown, when the number of branches is less than 50: the output signal of the IIR polyphase filter is basically the same as that of the ideal filter under the same input. The passband amplitude-frequency response is flat, the passband ripple is within 1dB, and the response is stable. Compared with the method based on zero attenuation, the transition band is narrower. The stopband attenuation can reach about 40dB.

[0022] When the number of branches is greater than 50: the output signal deviates from the ideal output and the amplitude-frequency response fluctuates greatly (the applicable boundary of this method, based on which it is recommended to use it for medium complexity systems with 32 to 64 branches).

[0023] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.

Claims

1. A design method for an IIR polyphase filter based on output signal approximation, characterized in that, The method includes the following steps: Construct an ideal filter based on the preset design specifications; Initialize the filter coefficients and learning rates of each branch filter in the IIR polyphase filter to be designed; The same training signal is input to the ideal filter and the IIR polyphase filter respectively, and the reference output signal output by the ideal filter and the actual total output signal output by the IIR polyphase filter are obtained. The target error function is determined based on the reference output signal and the actual total output signal; For each branch filter, a corresponding recursive sensitivity function is established, and the gradient of the target error function relative to the filter coefficients is determined based on the recursive sensitivity function. The filter coefficients of each branch filter are updated based on the gradient and the current learning rate, and the learning rate is adjusted according to the change of the target error function in adjacent iterations. Based on the updated filter coefficients, the actual total output signal is reacquired and the target error function is calculated. The filter coefficient updates and learning rate adjustments are repeated until the preset convergence condition is met, and the updated filter coefficients are output.

2. The IIR polyphase filter design method based on output signal approximation according to claim 1, characterized in that, The IIR polyphase filter includes N parallel branch filters, each of which has independent numerator and denominator coefficients; where N is a positive integer. Each of the branch filters performs polyphase filtering on the training signal, and the output signals of each branch filter are superimposed to obtain the actual total output signal.

3. The IIR polyphase filter design method based on output signal approximation according to claim 2, characterized in that, Each of the branch filters weights the delay component of the input signal according to the corresponding numerator coefficients and feeds back the historical output of the branch filter according to the corresponding denominator coefficients to recursively obtain the corresponding branch output signal.

4. The IIR polyphase filter design method based on output signal approximation according to claim 1, characterized in that, The step of determining the target error function based on the output error between the reference output signal and the actual total output signal includes: The instantaneous output error between the reference output signal and the actual total output signal is determined, and the mean square error is determined based on the instantaneous output error, with the mean square error serving as the target error function.

5. The IIR polyphase filter design method based on output signal approximation according to claim 4, characterized in that, The recursive sensitivity function includes a first recursive sensitivity function corresponding to the numerator coefficient and a second recursive sensitivity function corresponding to the denominator coefficient; The first recursive sensitivity function is recursively calculated based on the input signal delay component, denominator coefficient, and historical first recursive sensitivity of the corresponding branch; The second recursive sensitivity function is recursively calculated based on the historical output of the corresponding branch, the denominator coefficient, and the historical second recursive sensitivity.

6. The IIR polyphase filter design method based on output signal approximation according to claim 5, characterized in that, Based on the instantaneous output error and the first recursive sensitivity function, the gradient of the target error function relative to the molecular coefficient is determined; Based on the instantaneous output error and the second recursive sensitivity function, determine the gradient of the target error function relative to the denominator coefficients; The numerator and denominator coefficients of each branch filter are updated based on the gradients of the numerator coefficients and the denominator coefficients, respectively.

7. The IIR polyphase filter design method based on output signal approximation according to claim 1, characterized in that, The step of adjusting the learning rate based on the changes in the target error function during adjacent iterations includes: Compare the target error function of the current iteration with the target error function of the previous iteration; When the target error function of the current iteration increases, the learning rate is decreased according to a preset rule; when the target error function of the current iteration decreases, the learning rate is increased according to a preset rule. The adjusted learning rate is then limited to between the preset minimum and maximum learning rates.

8. The IIR polyphase filter design method based on output signal approximation according to claim 1, characterized in that, The training signal is a composite excitation signal containing the frequency components corresponding to the passband, transition band and stopband of the IIR polyphase filter; The ideal filter is a reference filter constructed according to the preset design specifications, and the reference output signal is obtained by filtering the training signal.