Next Article in Journal
Linear Weighted Regression and Energy-Aware Greedy Scheduling for Heterogeneous Big Data
Next Article in Special Issue
Palliation of Four-Wave Mixing in Optical Fibers Using Improved DSP Receiver
Previous Article in Journal
Use and Adaptations of Machine Learning in Big Data—Applications in Real Cases in Agriculture
Previous Article in Special Issue
Reversible Data Hiding for AMBTC Compressed Images Based on Matrix and Hamming Coding
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Design of Cut Off-Frequency Fixing Filters by Error Compensation of MAXFLAT FIR Filters

Division of Electronics & Electrical Engineering, Dongguk University-Seoul, Seoul 04620, Korea
*
Author to whom correspondence should be addressed.
Electronics 2021, 10(5), 553; https://doi.org/10.3390/electronics10050553
Submission received: 21 January 2021 / Revised: 6 February 2021 / Accepted: 24 February 2021 / Published: 26 February 2021
(This article belongs to the Special Issue Theory and Applications in Digital Signal Processing)

Abstract

:
Maximally-flat (MAXFLAT) finite impulse response (FIR) filters often face a problem of the cutoff-frequency error due to approximation of the desired frequency response by some closed-form solution. So far, there have been plenty of efforts to design such a filter with an arbitrarily specified cut off-frequency, but this filter type requires extensive computation and is not MAXFLAT anymore. Thus, a computationally efficient and effective design is needed for highly accurate filters with desired frequency characteristics. This paper describes a new method for designing cutoff-frequency-fixing FIR filters through the cutoff-frequency error compensation of MAXFLAT FIR filters. The proposed method provides a closed-form Chebyshev polynomial containing a cutoff-error compensation function, which can characterize the “cutoff-error-free” filters in terms of the degree of flatness for a given order of filter and cut off-frequency. This method also allows a computationally efficient and accurate formula to directly determine the degree of flatness, so that this filter type has a flat magnitude characteristic both in the passband and the stopband. The remarkable effectiveness of the proposed method in design efficiency and accuracy is clearly demonstrated through various examples, indicating that the cutoff-fixing filters exhibit amplitude distortion error of less than 10−14 and no cut off-frequency error. This new approach is shown to provide significant advantages over the previous works in design flexibility and accuracy.

1. Introduction

The theory, design, and application of a finite impulse response (FIR) filter with mathematical analysis have been widely studied [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]. Among them, especially, maximally-flat (MAXFLAT) FIR filters, which are known for their design simplicity, accuracy, and high stopband attenuation, have an important role in some applications, such as waveform transmission and audio/image processing [3,4,5,6,7,8,9,10,11,12,13,14]. The basic idea for the design of MAXFLAT FIR filters is based on the well-known closed-form transform function and is realized due to its closed-form polynomial [7,8,9,15,16,17,18]. However, previous MAXFLAT FIR filter designs involve approximation of the desired frequency response by some closed-form polynomial, like a Hermite Interpolation [15], Miller’s conformal mapping [16], Bernstein polynomial [10,17], Fahmy’s Integral method [18], or Krawtchouk polynomial [19], which is then mapped to the filter function by certain transformations. The MAXFLAT FIR filter by any closed-form polynomial does not have any independent (“free”) parameters. This is due to the fact that the maximum possible number of zeros at z = ± 1 is imposed, which leaves no degree of freedom, and, thus, no independent parameters. Thus, there is no direct control over the frequency response to obtain such a filter with a prescribed specified cut off-frequency. For that reason, the magnitude response of this filter type never passes through the desired cut off-frequency [19,20,21,22]. In order to overcome such a difficulty, there have been many efforts for comprising independent parameters in a closed-form function and, then, frequency response by (modified) closed-form function is controllable by these parameters. FIR filters using such a closed-form function including controllable parameters are no longer MAXFLAT, and, thus, various design methods have been published recently to obtain a best frequency response [7,8,9,10,11,12,13,14,23]. Jeon et al. have reported a closed-form least error gain method [23] for the design of FIR filters with both a flat magnitude and exact cut off-frequency. However, this method has the disadvantage of requiring a lot of computation processing for estimating the order of flatness, so that the error frequency function is closest to a zero gain at all frequencies [23]. It also sometimes has the frequency response distortion by wrongly determining the order of flatness. Huang et al. have proposed a closed-form weighted least square design to obtain FIR filters with exact cut off-frequency. However, this method has the disadvantage of providing non-negligible amplitude distortions of more than 4.2% by the Gibbs effect despite allowing a large amount of computation for estimating a convolution window [7,8]. Tseng and Lee introduced a closed-form design by mapping three discrete transforms, but there is a serious problem, such that filter cutoff-frequency error rapidly increases with growing cut off-frequency [9]. Recently, Roy et al. have reported Chebyshev closed-form FIR filters using a Bernstein polynomial [10]. They can reduce the filter design complexity by using a specific threshold value, but non-negligible amplitude distortions are in the stopband and passband. Hence, a computationally efficient design is needed for highly accurate filters with desired frequency characteristics, i.e., magnitude response exactly passes through prescribed, specified cutoff-frequency and is maximally flat in both the passband and the stopband.
The objective of this paper is to present a new method for the design of cut off-frequency fixing filters using a “cut off-error-free” polynomial function. For this purpose, a frequency-response error compensation function between the desired and actual frequency responses is derived through the generalization of the three closed-form polynomials [10,15,16,17] into a Chebyshev polynomial form. The proposed method provides a closed-form Chebyshev polynomial to characterize this filter type in terms of the degree of flatness for a given order of filter and cut off-frequency. Then, the magnitude response passes exactly through the prescribed specified cut off-frequency, and the filter also has independent (“free”) parameters that permit direct control over the frequency response, i.e., there is a tradeoff between the transition bandwidth and the magnitude flatness [24]. Finally, to determine the degree of flatness, so that a (cut off-frequency fixing) filter has a flat magnitude response characteristic for a given order of filter and cut off-frequency, a computationally efficient and accurate formula is derived from the cut off error compensation function.
This paper is organized as follows. In Section 2, we propose a closed-form error function for the cut off-error compensation of MAXFLAT FIR filters and introduce a closed-form Chebyshev polynomial to design cut off-frequency fixing filters. In Section 3, through the analysis of this error compensation function, we provide an exact and direct expression to choose a cutoff-frequency fixing FIR filter with a desired frequency response. Design examples that demonstrate the power of the new technique are shown. Conclusions are drawn in Section 4.

2. Closed-Form Chebyshev Polynomial for Cutoff-Frequency Fixing Filter Design

The transfer function H ( z ) of a symmetric linear-phase FIR filter with the impulse response h n of order 2 N is written as:
H ( z ) = n = 0 2 N h n z n = z N { h N + n = 1 N h N n T n ( ω ) }
where T n ( ω ) is the Chebyshev polynomial of the first kind of degree n, and the independent transformed variable w [25] is related to the digital domain by:
w = 1 2 ( z + z 1 ) | z = e j ω = c o s ω
confined to the interval [−1, 1]. The frequency response H ( e j ω ) of the filter can be expressed as:
H ( e j ω ) = e j N ω Q ( c o s ω ) = z N Q ( w ) | z = e j ω
by using the zero-phase transfer function Q ( w ) , which represents a polynomial of the real variable w = c o s ω , ( 0 ω π ) . Then, the filter can be said to be lowpass and MAXFALT if Q ( c o s ω ) has the following properties:
Q ( c o s ω ) | ω = 0 = 1
v Q ( c o s ω ) ω v | ω = 0 = 0 , v = 1 , 2 , , 2 ( N K ) + 1
v Q ( c o s ω ) ω v | ω = π = 0 , v = 0 , 1 , 2 , , 2 K 1
where N − K and K represent orders of flatness at ω = 0 and ω = π , respectively. It is shown, based on the results of [10,15,16,17], that such a lowpass function can be accomplished by using one of the closed-form polynomials, namely, Hermite Interpolation polynomial [15], Miller’s conformal mapping function [16], and Bernstein polynomial [10,17], which are expressed, respectively, as:
P N , K ( x ) = ( 1 x ) K i = 0 N K ( K + i 1 i ) x i ,   0 x 1  
H N ,   K ( j Ω ) = 1 ( 1 + Ω 2 ) N i = 0 N K ( N i ) Ω 2 i ,   0 Ω 2 1
B N , K ( f ; x ) = i = 0 N K ( N i ) x i ( 1 x ) N i ,   0 x 1  
where ( A B ) =   A ! / ( ( A B ) ! B ! ) and c o s ω = 1 2 x = ( 1 Ω 2 ) / ( 1 + Ω 2 ) . The work in [10,17] reported a functional equivalence between Equations (7)–(9). Kaiser [26] also established a link between Herrmann’s polynomial Equation (7) and Fahmy’s Integral [18]. Consequently, this implies that all MAXFLAT FIR filters published so far can be expressed as one and the same closed-form solution. By using the transformations x = ( 1 w ) / 2 and Ω 2 = ( 1 w ) / ( 1 + w ) on Equations (7)–(9), such a filter can be expressed by a generalized closed-form function Q g ( w ) as below.
Q g ( w ) = P N , K ( x ) | x = 1 w 2 = H a ( j Ω ) | Ω 2 = 1 w 1 + w = B N , K ( f : x ) | x = 1 w 2 = ( 1 + w 2 ) K i = 0 N K ( K + i 1 i ) ( 1 w 2 ) i
The Chebyshev polynomial form of Equation (10) can be obtained as:
Q g ( w ) = ( 1 + w 2 ) K { g N K + 2 i = 1 N K g N K i T i ( w ) }  
by using the Chebyshev representation equation:
( 1 w 2 ) i = 1 2 2 i { ( 2 i i ) + 2 u = 1 i ( 1 ) u ( 2 i i u ) T u ( w ) }
where interpolation coefficients g i are expressed as [23]:
g i = ( 1 ) N K i = 0 i 1 2 2 ( N K ) ( N l 1 K 1 ) ( 2 ( N K ) 2 l i l )
Computation of h n s in Equation (1), using Equation (12), is reported in [23,27,28]. In a similar way, by mapping Equation (11) to Equation (1), a relational formula between h n s and g i s can be obtained as:
h n = 1 2 2 K { i = 0 N K ( 2 K n i ) g i + i = 1 N K ( 2 K n i ( N K ) ) g N K i }
where ( A B ) =   0 if A < B or B < 0 . It can be seen from Equation (11) that, for a given N , there are N possible filters (with N different cutoff points) corresponding to K = 1 to N . Thus, to determine K suitable to a desired cutoff point of w c ( 1 < w c < 1 ) , existing methods [15,16,17,18,20] typically use the empirical expression (Herrmann used this term without explicitly defining the relation ([15], Equation (11))) given by Herrmann [15] as follows:
K = N [ 1 2 N ( 1 w c ) + 0.5 ]
where w c = 1 2 ( z 1 + z ) | z = e j ω c = c o s ω c for a give cutoff-frequency ω c , and [ p ] denotes the integer part of p . For this reason, the classical designs naturally involve an approximate cut off-frequency error [20,22,23]. For example, in the case of w c = 0.4 (corresponding to ω c = 0.369 π in Reference [15]), Figure 1 shows the MAXFLAT FIR filters, which are chosen according to Equation (10) when using Equation (15). It is shown that the MAXFLAT FIR filter has both a passband and stopband that are maximally flat, but its magnitude response never passes through the desired cut off-frequency. Particularly, as the order of filter becomes lower, the cut off-frequency error becomes larger.
One of the main difficulties for MAXFLAT FIR filter design is to express the objective error function in a closed form [27]. This is due to the fact that the MAXFLAT FIR filter by any closed-form polynomial does not have any design (“free”) parameters. Thus, the objective error function has to be derived between the desired and actual variable frequency responses [23,29,30]. Referring to an objective function used in Reference [23], we can define a closed-form error compensation function Ε ( w ) between a cut off-frequency fixing filter Q ( w ) with a desired cut off point at w = w c and the closed-form polynomial filter Q g ( w ) of Equation (10).
Ε ( w ) = Q ( w ) Q g ( w ) = 2 2 ( N K ) C K ( 1 + w 2 ) K ( 1 w 2 ) N K  
where 2 2 ( N K ) is for normalization and C K is a cut off-error compensation factor. Then, C K can be obtained in terms of K and w c as:
C K = 1 2 Q g ( w c ) 2 2 ( N K ) ( 1 + w c 2 ) K ( 1 w c 2 ) N K  
by substituting Q ( w c ) = 1 / 2 into the relation of Equation (16) with w = w c . Consequently, adding Ε ( w ) into Q g ( w ) can yield a “cutoff-error-free” filter Q ( w ) with a cut off-frequency controllable by C K :
Q ( w ) = Q g ( w ) + Ε ( w ) = ( 1 + w 2 ) K { i = 0 N K ( K + i 1 i ) ( 1 w 2 ) i + 2 2 ( N K ) C K ( 1 w 2 ) N K }  
where Equation (18) consists of adding Equation (16) to Equation (10). More importantly, Q ( w ) passes exactly through the desired cutoff point w = w c , that is, Q ( w ) always satisfies the cutoff condition, Q ( w c ) = 1 / 2 , regardless of the values of K and N .
From Equation (18), it can be seen that Ε ( w ) is added as an extra term to the ( N K ) -th coefficient in the sum (of the second term of Q g ( w ) given in Equation (10)) without increasing the order of the filter. Then, small changes δ g i s of the interpolation coefficients g i s in Equation (13) due to adding Ε ( w ) can be obtained as:
δ g i = ( 1 ) N K i C K ( 2 ( N K ) i ) , i = 0 , 1 , 2 , , N K
by transforming Equation (16) into Equation (11). Hence, new g ^ i s caused by adding Ε ( w ) to Q g ( w ) consist of adding Equation (19) to Equation (13).
g ^ i = ( 1 ) N K i { = 0 i 1 2 2 ( N K ) ( N l 1 K 1 ) ( 2 ( N K ) 2 l i l ) + C K ( 2 ( N K ) i ) }  
As shown in Equation (18), using Ε ( w ) for the cut off-frequency error compensation of Q g ( w ) leads to a closed-form Chebyshev polynomial, which can characterize cut off-frequency fixing FIR filters as a “cut off-error free” in terms of K . However, the frequency response (i.e., Q ( c o s ω ) ) of Equation (18) including Equation (16) no longer satisfies Equation (5). This is due to the fact that, for a given N and w c , there are N different “cut off-error free” filters with N different magnitudes responses caused by N different Ε ( w ) corresponding to K = 1 to N . For this reason, if a wrong Ε ( w ) (i.e., wrong K ) is chosen, it will have a negative effect on the flatness of Q ( w ) even though Q g ( w ) is MAXFLAT. Hence, it is necessary to select K exactly so that Ε ( w ) compensates for the cutoff error of Q g ( w ) without damaging the flatness in the passband or the stopband.

3. The Order of Flatness (K)

In this section, Ε ( w ) given in Equation (18) is analysed for building a computationally efficient and accurate solution to determine an optimal value of K for a given N and w c .
As mentioned earlier, for the cut off-frequency error compensation of Q g ( w ) using Ε ( w ) potentially leads to Q ( w ) with its magnitude response exactly passing through the prescribed cutoff point w = w c . However, the wrong choice of K results in significant magnitude-distortions due to the undesired amplitude of the Ε ( w ) . Thus, to determine K exactly, so that Ε ( w ) compensates for the cut off-frequency error of Q g ( w ) without damaging the flatness, which is a simple and complete formula-based solution that has to be built on Ε ( w ) . Actually, in the case of Reference [23] using a distortion error function, they had proposed an iteration training method (see Figure 4 in Reference [23]) of estimating a minimum-distortion error function to determine K for a given N and w c . However, this method has the disadvantage of requiring complicated and enormous computation processing for obtaining a suitable one among N different distortion error functions. This computation complexity increases rapidly with increasing N, which is the order of the filter. In addition, it sometimes has the frequency-response distortion by wrongly determining K . For this reason, a computationally efficient and accurate formula has to be needed for the design of such a filter.
From Equation (18), it is seen that Ε ( w ) exhibits a “bell-curve-like” shape, which only has one peak gain, and zero gain at w = ± 1 (corresponding to ω = 0 and ω = π ). Thus, the peak and inflection points of Ε ( w ) can play important roles in identifying influential observations in terms of K for a given N and w c . These points can be used to thoroughly characterize the effect of Ε ( w ) on Q ( w ) in terms of K . If w p is the peak point of Ε ( w ) , w p is given as:
w P = 2 K N N , 1 < w K < 1
from Ε ( w ) / w | w = w P = 0 and, then, the peak value Ε ( w P ) can be obtained in terms of K as:
Ε ( w P ) = C K ( K N ) K ( 1 K N ) N K
by substituting Equation (21) into Equation (16) with w p . In addition, letting w I + and w I be two inflection points of Ε ( w ) , from 2 Ε ( w ) / 2 w | w = w I ± = 0 , we can get:
w I ± = ( 2 N 1 ) ( N 2 K ) ± N 2 4 ( 1 4 N ) N K + 4 ( 1 4 N ) K 2 2 N 2 ,   1 < w I ± < 1
where w I ± (double signs in the same order) denotes w I + and w I , and Ε ( w I ± ) can also be obtained in terms of K by substituting Equation (23) into Equation (16) with w I ± . By substituting Equation (21) into Equation (23), w I ± can be rewritten in terms of w p as:
w I ± = ( 1 1 2 N ) w P ± 1 2 N w P 2 8 K w P + 8 K ,   1 < w I ± < 1
From Equation (24), it is seen that w I + and w I are related to w p by:
w I + + w I 2 = ( 1 1 2 N ) w P
and satisfy the inequality w I < w P < w I + . This means that the shape of Ε ( w ) is not perfectly symmetric about the line w = w P and can lead to inequalities not only between w c and inflection points (i.e., w I , w I + , and w p ) in terms of K but also between Ε ( w c ) and inflection gains (i.e., Ε ( w I ) , Ε ( w I + ) , and Ε ( w p ) ). For example, in the case of w c = 0.4 and N = 11 , Figure 2 shows Ε ( w ) s corresponding to K = 3   t o   10 and the related parameters are indicated in Table 1, where C K , w P , and w I ± have been obtained according to Equations (17), (21) and (23). Figure 3 also shows Q g ( w ) , Ε ( w ) , and Q ( w ) for each case of the four ranges described in Table 1 where the prescribed cut off point w c falls into one of the following four ranges due to the choice of K : w c < w I , w I < w c < w P , w P < w c < w I + , and w I + < w c . From these examples, it can be found that the undesired magnitude of Ε ( w ) around w p causes not only overshoot in the passband of Q ( w ) if w c < w P   (i.e., w c < w I or w I < w c < w P ) for a given K , but also undershoot in the stopband if w I + < w c . However, in these cases, Q ( w ) can have a relatively narrow transition bandwidth due to K .
More importantly, it is shown that Q ( w ) has a flat magnitude characteristic in both the passband and the stopband when Ε ( w P ) in terms of K is negatively minimized, and, then, w c falls in between w P and w I + :
w P < w c < w I +  
This corresponds to K = 7 in Table 1 and, as shown in Figure 3b, no overshoot and no undershoot appear in the passband and the stopband. For the further evaluation of this result, in the case of w c = 0.7071 (corresponding to ω c = 0.25 π ) and N = 28 , Figure 4a,b show Ε ( w ) in terms of K and the effect on Q ( w ) , respectively. The related parameters are also indicated in Table 2 where δ O and δ U are the peak values of overshoot and undershoot in the passband and the stopband, respectively. It can be seen that taking K = 23 yields the smallest negative value Ε ( w P ) | K = 23 (at w P | K = 23 = 0.6429 ) and results in w P | K = 23 and w I + | K = 23 satisfying Equation (26) for a given w c = 0.7071 . Consequently, using K = 23 potentially leads to Ε ( w ) | K = 23 yielding a cut off-frequency fixing filter with zero overshoot and zero undershoot (i.e., δ U = δ O = 0 ) . Especially, it is shown that the filters by K = 22   and   24 have a tolerant magnitude distortion, but relatively narrower transition band than the filter by K = 23 .
From the results so far, it has been shown that K has to be chosen so that w P and w I + of Ε ( w ) satisfy the condition of Equation (26) for the prescribed cut off point w c . To determine an optimal value of K under this condition, substituting w P and w I + given by Equations (21) and (23) into Equation (26) and simplifying the algebra, yields:
2 N + ( 2 N 1 ) w c 4 N + ( 1 4 N ) w c 2 4 < K < N ( 1 + w c ) 2 ,   f o r   i n t e g e r   K
Hence, we can infer from Equation (27) that the empirical formula of Equation (15) given by Hermann is a wrong expression since K in accordance with Equation (15) does not satisfy the condition Equation (26) (i.e., w P < w c ). From the fact that choosing the optimal value of K has to satisfy Equation (27), a new formula that is more accurate than Equation (15) can be defined as:
K = [ 4 N ( 1 4 N ) w c 4 N + ( 1 4 N ) w c 2 4 + 0.5 ]
by averaging the upper and lower limit values of Equation (27). To verify the effectiveness of this formula, Figure 5 shows the accuracy comparison of Equations (15) and (28) for w c = 0.4 ( ω c = 0.369 π ) and w c = 0.7071 ( ω c = 0.25 π ) where the “★” symbol denotes the optimal K chosen by negatively minimizing Ε ( w P ) under condition (27). This indicates that K s obtained according to Equation (28) are remarkably consistent with the optimal K s .
Based on results so far, Figure 6 exhibits a design procedure to directly compute the coefficients of cut off-frequency fixing filters with a desired frequency response. Table 3 and Figure 7 show the comparison between the proposed method and existing methods [15,23] for N = 20 and 45 . From Table 3, it can be said that the proposed filters apparently are a “cut off error free” and “flat magnitude” since δ o <   10 14 can be very negligible and ignored. On the other hand, previous filters using empirical formula of Equation (15) are maximally flat in the passband and stopband, while there exists a filter cut off-frequency error of 2.2% to 6.6%. In addition, it appears that the iteration training method [23] leads to very slight cut off errors despite performing multiple computations to determine K, as shown in Figure 4 in Reference [23]. Consequently, these examples demonstrate that the proposed method derives accurate FIR filters with a magnitude response while allowing direct and simple computation in designing such a filter.
Figure 8, using Figure 6, shows cut off-frequency fixing filters for ω c = 0.369 π ( w c = 0.4 ) and various N , and the related values are given in Table 4. Table 5 also indicates coefficients of the cut off-frequency fixing filter for ( N , K ) = ( 20 , 13 ) , where g ^ i and h n have been obtained according to Equations (20) and (14), respectively.

4. Conclusions

Problems with the cut off-frequency error always arise in a MAXFLAT filter design. This is due to the fact that the maximum possible number of zeros at z = ± 1 is imposed, which leaves no degree of freedom, and, thus, no independent parameters. In this paper, a new method has been proposed providing a cut off-frequency error compensation function, available to previous closed-form polynomials, for compensating for the cut off-frequency error of MAXFLAT FIR filters. It has been shown that this error compensation function derives a closed-form Chebyshev polynomial characterizing cut off fixing FIR filters with a prescribed cut off-frequency and allows a computationally efficient and accurate formula to obtain such filters with flat magnitude response characteristics for a given order of a filter and cut off-frequency. The examples were shown to provide a complete and accurate solution for the design of such filters. Hence, a solution to the problem encountered in the previous methods is found.

Author Contributions

Conceptualization, D.C., W.C. and J.J. Methodology, D.C. Software, D.C. Validation, D.C., W.C. and I.J. Formal analysis, D.C. and J.J. Investigation, D.C., W.C. and I.J. Resources, J.J. Data curation, W.C. and I.J. Writing—original draft preparation, D.C. and J.J. Writing—review and editing, D.C. Visualization, D.C. Supervision, J.J. Project administration, J.J. Funding acquisition, J.J. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded by the Korea Institute of Energy Technology Evaluation and Planning (no. 20194030202320) and Korea Evaluation Institute of Industrial Technology (no. 20012884), which are funded by the Ministry of Trade, Industry & Energy of the Republic of Korea.

Data Availability Statement

Data is contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhao, H.; Zhang, L.; Liu, J.; Zhang, C.; Cai, J.; Shen, L. Design of a Low-Order FIR Filter for a High-Frequency Square-Wave Voltage Injection Method of the PMLSM Used in Maglev Train. Electronics 2020, 9, 729. [Google Scholar] [CrossRef]
  2. Kalpun, D.; Butusov, D.; Ostrovskii, V.; Veligosha, A.; Gulvanskii, V. Optimization of the FIR filter structure in finite residue field algebra. Electronics 2018, 7, 372. [Google Scholar]
  3. Vaidyanathan, P. Efficient and multiplierless design of FIR filters with very sharp cutoff via maximally flat building blocks. IEEE Trans. Circuits Syst. 1985, 32, 236–244. [Google Scholar] [CrossRef]
  4. Vaidyanathan, P. Optimal design of linear phase FIR digital filters with very flat passbands and equiripple stopbands. IEEE Trans. Circuits Syst. 1985, 32, 904–917. [Google Scholar] [CrossRef] [Green Version]
  5. Samadi, S.; Nishihara, A. The world of flatness. IEEE Circuits Syst. Mag. 2007, 7, 38–44. [Google Scholar] [CrossRef]
  6. Ping, Z.; Chun, Z. Four-Channel Tight Wavelet Frames Design Using Bernstein Polynomial. Circuits Syst. Signal Process. 2012, 31, 1847–1861. [Google Scholar]
  7. Huang, X.; Jing, S.; Wang, Z.; Xu, Y.; Zheng, Y. Closed-form FIR filter design based on convolution window spectrum interpolation. IEEE Trans. Signal Process. 2015, 64, 1173–1186. [Google Scholar] [CrossRef]
  8. Huang, X.; Wang, Y.; Yan, Z.; Xian, H.; Liu, M. Closed-form FIR filter design with accurately controllable cut-off frequency. Circuits Syst. Signal Process. 2017, 36, 721–741. [Google Scholar] [CrossRef]
  9. Tseng, C.C.; Lee, S.L. Closed-form designs of digital fractional order Butterworth filters using discrete transforms. Signal Process. 2017, 137, 80–97. [Google Scholar] [CrossRef]
  10. Roy, S.; Chandra, A. On the Order Minimization of interpolated Bandpass Method Based Narrow Transition Band FIR Filter Design. IEEE Trans. Circuits Syst. I Reg. Pap. 2019, 66, 4287–4295. [Google Scholar] [CrossRef]
  11. Huang, X.; Zhang, B.; Qin, H.; An, W. Closed-form design of variable fractional-delay FIR filters with low or middle cutoff frequencies. IEEE Trans. Circuits Syst. I Reg. Pap. 2017, 65, 628–637. [Google Scholar] [CrossRef]
  12. Kušljević, M.D.; Tomić, J.J.; Poljak, P.D. Maximally Flat-Frequency-Response Multiple-Resonator-Based Harmonic Analysis. IEEE Trans. Instrum. Meas. 2017, 66, 3387–3398. [Google Scholar] [CrossRef]
  13. Yoshida, T.; Aikawa, N. Low-Delay Band-Pass Maximally Flat FIR Digital Differentiators. Circuits Syst. Signal Process. 2018, 37, 3576–3588. [Google Scholar] [CrossRef]
  14. Roy, S.; Chandra, A. Design of narrow transition band variable bandwidth digital filter. IET Circuits Devices Syst. 2020, 14, 750–757. [Google Scholar] [CrossRef]
  15. Herrmann, O. On the approximation problem in nonrecursive digital filter design. IEEE Trans. Circ. Theory 1971, 18, 411–413. [Google Scholar] [CrossRef]
  16. Miller, J.A. Maximally flat nonrecursive digital filters. Electron. Lett. 1972, 8, 157–158. [Google Scholar] [CrossRef]
  17. Rajagpoal, L.; Roy, S.C.D. Design of maximally-flat FIR filters using the Bernstein polynomial. IEEE Trans. Circuits Syst. 1987, 34, 1587–1590. [Google Scholar]
  18. Fahmy, M.F. Maximally flat non-recursive digital filters. Int. J. Circuit Theory Appl. 1976, 4, 311–313. [Google Scholar] [CrossRef]
  19. Bromba, M.U.A.; Ziegler, H. Explicit formula for filter function of maximally flat nonrecursive digital filters. Electron Lett. 1980, 16, 905–906. [Google Scholar] [CrossRef]
  20. Thajchayapong, P.; Puangpool, M.; Banjongjit, S. Maximally Flat FIR filters with prescribed cut-off frequency. Electron. Lett. 1980, 16, 514–515. [Google Scholar] [CrossRef]
  21. Roy, S.C.D. A New Chebyshev-like Low-pass Filter Approximation. Circuits Syst. Signal Process. 2010, 29, 629–636. [Google Scholar]
  22. Rajagpoal, L.; Roy, S.C.D. Optimal design of maximally flat FIR filters with arbitrary magnitude specifications. IEEE Trans. Acoust. Speech Signal Process. 1989, 37, 512–518. [Google Scholar] [CrossRef]
  23. Jeon, J.; Kim, D. Design of nonrecursive FIR filters with simultaneously MAXFLAT magnitude and prescribed cutoff frequency. Digital Signal Process. 2012, 22, 1085–1094. [Google Scholar] [CrossRef]
  24. Lian, Y.; Yu, Y.J. Guest Editorial: Low-Power Digital Filter Design Techniques and Their Applications. Circuits Syst Signal Process. 2010, 29, 1–5. [Google Scholar] [CrossRef] [Green Version]
  25. Vlcek, M.; Unbehauen, R. Analytical solution of design for IIR equiripple filters. IEEE Trans. Acoust. Speech Signal Process. 1989, 37, 1518–1531. [Google Scholar] [CrossRef]
  26. Kaiser, J.F. Comments on maximally flat nonrecursive digital filters. Int. J. Circuit Theory Appl. 1977, 5, 103. [Google Scholar] [CrossRef]
  27. Jinaga, B.C.; Roy, S.C.D. Explicit formulas for the Weighting coefficients of maximally flat nonrecursive digital filters. Proc. IEEE. 1984, 72, 1092. [Google Scholar] [CrossRef]
  28. Jinaga, B.C.; Roy, S.C.D. Explicit formula for the coefficients of maximally flat nonrecursive digital filter transfer function expressed in powers of cos w. Proc. IEEE. 1985, 73, 1135–1136. [Google Scholar] [CrossRef]
  29. Kumar, B.; Kumar, A. Efficient linear-phase FIR, maximally flat error approximations for the amplitude response |1/ωr|, r = 1, 2, 3, …, and a versatile realization. Circuits Syst. Signal Process. 2000, 19, 567–580. [Google Scholar] [CrossRef]
  30. Vesma, J.; Saramaki, T. Polynomial-Based Interpolation Filters—Part I: Filter Synthesis. Circuits Syst. Signal Process. 2007, 26, 115–146. [Google Scholar] [CrossRef]
Figure 1. Maximally-flat (MAXFLAT) finite impulse response (FIR) filters: Q g ( w ) with various N for w c = 0.4 .
Figure 1. Maximally-flat (MAXFLAT) finite impulse response (FIR) filters: Q g ( w ) with various N for w c = 0.4 .
Electronics 10 00553 g001
Figure 2. Ε ( w ) due to increasing K for N = 11 and w c = 0.4 ( ω c = 0.369 π ).
Figure 2. Ε ( w ) due to increasing K for N = 11 and w c = 0.4 ( ω c = 0.369 π ).
Electronics 10 00553 g002
Figure 3. Q g ( w ) , Ε ( w ) , and Q ( w ) and the relation between ( w I ± ,   w P   , w c ) due to K for N = 11 and w c = 0.4 ( ω c = 0.369 π ): (a) w I + < w c as K = 5 , (b) w P < w c < w I + as K = 7 , (c) w I < w c < w P as K = 9 , and (d) w c < w I as K = 10 .
Figure 3. Q g ( w ) , Ε ( w ) , and Q ( w ) and the relation between ( w I ± ,   w P   , w c ) due to K for N = 11 and w c = 0.4 ( ω c = 0.369 π ): (a) w I + < w c as K = 5 , (b) w P < w c < w I + as K = 7 , (c) w I < w c < w P as K = 9 , and (d) w c < w I as K = 10 .
Electronics 10 00553 g003aElectronics 10 00553 g003b
Figure 4. (a) Ε ( w ) and (b) the effect of the related Ε ( w ) on Q ( w ) due to increasing K for N = 28 and w c = 0.7071 ( ω c = 0.25 π ).
Figure 4. (a) Ε ( w ) and (b) the effect of the related Ε ( w ) on Q ( w ) due to increasing K for N = 28 and w c = 0.7071 ( ω c = 0.25 π ).
Electronics 10 00553 g004
Figure 5. Accuracy comparison of Equations (15) and (28) due to N for (a) w c = 0.4 ( ω c = 0.369 π ) and (b) w c = 0.7071 ( ω c = 0.25 π ).
Figure 5. Accuracy comparison of Equations (15) and (28) due to N for (a) w c = 0.4 ( ω c = 0.369 π ) and (b) w c = 0.7071 ( ω c = 0.25 π ).
Electronics 10 00553 g005
Figure 6. Design procedure of cut off-frequency fixing filters.
Figure 6. Design procedure of cut off-frequency fixing filters.
Electronics 10 00553 g006
Figure 7. Comparison of three design methods: ( ω c = 0.369 π ) for (a) N = 20 and (b) N = 45 .
Figure 7. Comparison of three design methods: ( ω c = 0.369 π ) for (a) N = 20 and (b) N = 45 .
Electronics 10 00553 g007
Figure 8. Cut off-frequency fixing filters with various N and ω c = 0.369 π ( w c = 0.4 ).
Figure 8. Cut off-frequency fixing filters with various N and ω c = 0.369 π ( w c = 0.4 ).
Electronics 10 00553 g008
Table 1. Related parameters of Figure 2 and Figure 3.
Table 1. Related parameters of Figure 2 and Figure 3.
Parameters K
345678910
CK−0.1982−0.3355−0.5405−0.7333−0.48361.38076.786617.5271
w I −0.7032−0.5507−0.3871−0.2135−0.03000.16450.37310.6037
w P −0.4545−0.2727−0.09090.09090.27270.45450.63640.8182
w I + −0.16450.03000.21350.38710.55070.70320.84180.9583
Ε ( w c ) −0.2923−0.2886−0.2713−0.2147−0.08260.13750.39440.5941
Ε ( w I ) −11.7403−2.3584−0.6661−0.2284−0.05500.08510.36151.5264
Ε ( w P ) −20.6230−4.0613−1.1314−0.3837−0.09150.14030.58982.4573
Ε ( w I + ) −12.5099−2.4404−0.6733−0.2259−0.05310.07990.32361.1842
w c w I + < w c w P < w c < w I + w I < w c < w P w c < w I
Example--Figure 3a-Figure 3b-Figure 3cFigure 3d
Table 2. Related parameters for Figure 4.
Table 2. Related parameters for Figure 4.
Parameters K
1920212223242526
CK−718.85−475.26−293.62−151.91−41.1337.6480.7290.53
w I 0.17410.25000.32720.40580.48620.56870.65390.7433
w P 0.35710.42860.50000.57140.64290.71430.78570.8571
w I + 0.52740.59180.65500.71660.77660.83440.88940.9404
Ε ( w c ) −0.2882−0.2776−0.2499−0.1884−0.07430.09910.30970.5061
Ε ( w I ) −2.6494−1.0075−0.4267−0.1832−0.05100.06120.23160.6708
Ε ( w P ) −4.3577−1.6531−0.6983−0.2990−0.08290.09930.37381.0761
Ε ( w I + ) −2.5816−0.9755−0.4101−0.1746−0.04800.05690.21060.5861
δ o 0.00.00.00.00.00.00580.15940.8101
δ u −3.7859−1.1088−0.2241−0.00210.00.00.00.0
w c w I + < w c w P < w c < w I + w I < w c < w P w c < w I
Table 3. Comparison of three design methods for (a) N = 20 and (b) N = 45 .
Table 3. Comparison of three design methods for (a) N = 20 and (b) N = 45 .
Parameters ω c = 0.369 π   ( w c = 0.4 ) ω c = 0.25 π   ( w c = 0.7071 )
MAXFLAT Filters of
Equation (10)
Reference [23]Cutoff Fixing Filters of Equation (18)MAXFLAT Filters of
Equation (10)
Reference [23]Cutoff Fixing Filters of Equation (18)
N = 20 ω 3 d B   1 0.3502π0.3690π0.3690π0.2419π0.25π0.25π
( ω c ω 3 d B ) / π 20.01882.14 × 10−50.00.00810.00.0
δ o   3 0.00.00.00.00.00.0
δ u 0.00.00.00.00.00.0
K decisionEquation (15)training
(13 iteration)
Equation (28)Equation (15)training
(16 iterations)
Equation (28)
accuracy/complexity 4low/lowhigh/very highhigh/lowlow/lowhigh/very highhigh/low
N = 45 ω 3 d B   1 0.3445π0.3690π0.3690π0.2445π0.25π0.25π
( ω c ω 3 d B ) / π0.02453.14 × 10−70.00.00551.83 × 10−120.0
δ o   3 0.00.03.11× 10−150.00.04.44 × 10−16
δ u 0.00.00.00.00.00.0
K decisionEquation (15)training
(30 iteration)
Equation (28)Equation (15)training
(37 iterations)
Equation (28)
accuracy/complexity 4low/lowhigh/very highhigh/lowlow/lowhigh/very highhigh/low
1 ω 3 d B denotes the actual cut off-frequency of the filter. 2 ( ω c ω 3 d B ) / π indicates the cut off-frequency error of the filter. 3 δ o was calculated to sixteen decimal places. 4 this denotes K decision accuracy and computation complexity.
Table 4. Related parameters of Figure 8.
Table 4. Related parameters of Figure 8.
ParametersN
101420284563
K 6913183042
C K −0.5846−0.7311−1.8770−10.073−112.62−4055.5
w P 0.20000.28570.30000.28570.33330.3333
w I + 0.50000.53180.50590.46180.47020.4495
Table 5. Coefficients of the cut off-frequency fixing filter for ( N , K ) = ( 20 ,   13 ) .
Table 5. Coefficients of the cut off-frequency fixing filter for ( N , K ) = ( 20 ,   13 ) .
g i   h n
g 0   = −1.198409231h0 = −0.000000018h11 = −0.003859813
g 1   = 21.309955797h1 = −0.000000147h12 = −0.005450869
g 2   = −169.484927527h2 = −0.000000073h13 = 0.005958058
g 3   = 802.886975733h3 = 0.000003072h14 = 0.020963265
g 4   = −2532.615452798h4 = 0.000011169h15 = 0.004171941
g 5   = 5615.229929033h5 = −0.000003022h16 = −0.048651840
g 6   = −8988.135420893h6 = −0.000097254h17 = −0.055049249
g 7   = 10,505.014699770h7 = −0.000159706h18 = 0.078213381
h8 = 0.000280582h19 = 0.297774354
h9 = 0.001164512h20 = 0.408751644
h10 = 0.000355835
All coefficients were rounded off to nine decimal places.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chung, D.; Cho, W.; Jeong, I.; Jeon, J. Design of Cut Off-Frequency Fixing Filters by Error Compensation of MAXFLAT FIR Filters. Electronics 2021, 10, 553. https://doi.org/10.3390/electronics10050553

AMA Style

Chung D, Cho W, Jeong I, Jeon J. Design of Cut Off-Frequency Fixing Filters by Error Compensation of MAXFLAT FIR Filters. Electronics. 2021; 10(5):553. https://doi.org/10.3390/electronics10050553

Chicago/Turabian Style

Chung, Daewon, Woon Cho, Inyeob Jeong, and Joonhyeon Jeon. 2021. "Design of Cut Off-Frequency Fixing Filters by Error Compensation of MAXFLAT FIR Filters" Electronics 10, no. 5: 553. https://doi.org/10.3390/electronics10050553

APA Style

Chung, D., Cho, W., Jeong, I., & Jeon, J. (2021). Design of Cut Off-Frequency Fixing Filters by Error Compensation of MAXFLAT FIR Filters. Electronics, 10(5), 553. https://doi.org/10.3390/electronics10050553

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop