Abstract

This paper presents a design method of Chebyshev-type and inverse-Chebyshev-type infinite impulse response (IIR) filters with an approximately linear phase response. In the design of Chebyshev-type filters, the flatness condition in the stopband is preincorporated into a transfer function, and an equiripple characteristic in the passband is achieved by iteratively solving the QP problem using the transfer function. In the design of inverse-Chebyshev-type filters, the flatness condition in the passband is added to the constraint of the QP problem as the linear matrix equality, and an equiripple characteristic in the stopband is realized by iteratively solving the QP problem. To guarantee the stability of the obtained filters, we apply the extended positive realness to the QP problem. As a result, the proposed method can design the filters with more high precision than the conventional methods. The effectiveness of the proposed design method is illustrated with some examples.

1. Introduction

Digital filters are needed in many applications in signal processing. Infinite impulse response (IIR) filters are useful for high-speed processing, and IIR filters with lower order can be realized that are comparable to the magnitude responses of finite impulse response (FIR) filters. However, its design is more difficult than FIR filters because IIR filters have a rational transfer function and are not always stable. For that reason, the study on IIR filter design is still a hot topic in the area of digital signal processing and many design methods on the IIR filters have been presented [18]. In this paper, we will treat two types of filters: Chebyshev type which is equiripple in the passband and flat in the stopband, Inverse Chebyshev type which is equiripple in the stopband and flat in the stopband. These filters are needed in many image processing applications to suppress ringing and chessboard distortion and are used in each situation appropriately. Moreover, in many signal processing applications, such as wavelet transform and channel equalization, the complex coefficient digital filters are required to meet some specifications that cannot be achieved by real coefficient filters, such as asymmetric spectral response [911].

In [12, 13], the design methods based on the Remez algorithm were proposed for the Chebyshev-type and inverse-Chebyshev-type IIR filters with an approximately linear phase response. These methods can design the filters with small computational complexity. However, the filters that can be designed using these methods are restricted greatly because of a condition imposed on setting the initial value. Moreover, these methods cannot guarantee the stability of the filter obtained. By using the linear semi-infinite programming and the extended positive realness, the design method of stable inverse Chebyshev-type IIR filters with an approximately linear phase response has been proposed [14]. This method needs to set an initial value appropriately and the performance of the filter obtained is dependent on the initial value.

In this paper, a design method based on quadratic programming (QP) is presented for stable IIR filters and for FIR filters with prescribed flatness in the passband or stopband and an approximately linear phase response in the passband. To guarantee the stability of the filter obtained, we apply the extended positive realness to the QP problem. As a result, the proposed method can design the filters that cannot be designed by the conventional methods. This paper is organized as follows: in Section 2, the flatness conditions in the passband and stopband are described. In Section 3, the design algorithm for inverse-Chebyshev-type filters is described. In Section 4, the design algorithm for Chebyshev-type filters is described. To verify the effectiveness of the proposed method, several design examples are given in Section 5. Section 6 is the conclusions of this work.

2. IIR Digital Filters and Flatness Conditions

The frequency response of an IIR digital filter is defined as where and are the orders of the numerator and denominator, respectively.   and are the filter coefficients and in general. The desired frequency response can be expressed as where is a desired group delay.

Then, the flatness conditions of the magnitude and group delay at in the passband are given as follows: where is a parameter expressing the flatness in the passband. The magnitude flatness condition at in the stopband is where is a parameter expressing the flatness in the stopband.

3. Design of Inverse-Chebyshev-Type Filters

3.1. Problem Formulation

Let be a noncausal shifted version of ; With (5), the flatness conditions in (3) become It is shown in Appendix that (6) is equivalent to (3). Equation (6) is the same as follows [15]: Consequently, we can get the linear equation in matrix form: where , , and and denotes the transpose of . and are in (9) and (10), respectively:

Let be the desired magnitude response; that is, Using (5) and (11), the weighted least squares design problem is where is the total number of grid points in the passband and stopband, is the weighting function, and    are the discrete frequency points used in the calculation. However, it is difficult to solve (12) directly because is a rational function. Thus, we use the following iterative design formula: where is the number of the iterations.

After some manipulation, (13) can be formulated as the following QP problem: where , , , , , , , , and .

3.2. Update of the Weighting Function

It has been well known that the filters obtained under weighted least square criterion have a large ripple near the band edges. So in order to realize the equiripple characteristics in the passband or stopband or both, the weighting function used at every iteration is adjusted using the modified Lawson’s method [16] and the QP problem is solved to obtain the coefficients. In this paper, the weighting function in th iteration step is updated as follows: where the envelope function is given as the function of straight line formed by joining together all the extremal points of the same frequency band of interest on the error function which is expressed as Using the extremal points of , can be calculated by where denotes the th extremal frequency of the error function .

3.3. Stability Constraint

To obtain the stable IIR filters, the stability condition based on a positive realness has been applied to many design methods. However, the use of this condition may exclude the candidate for the transfer function with excellent performance because this condition is a sufficient condition to assure the stability and is often too restrictive. In [17], an iterative method for the stability guarantee based on the positive realness was proposed in order to get a better transfer function. In this method, a stability condition is given by where . If the maximum pole radius of the filter obtained using a given is greater than prescribed maximum allowable pole radius , is updated and redesign is carried out using the updated . The update of and the redesign are repeated until satisfying , where is a positive small value. The update procedure of is described in Section 4.2.

Using the discrete angular frequency   , (18) can be expressed as the linear matrix inequality where

Thus, the design problem in which the stability constraint and the update of the weighting function were considered becomes a standard QP problem as below: where .

This problem can be solved using a powerful QP tool, such as in MATLAB.

4. Design of Chebyshev-Type Filters

4.1. Problem Formulation

In this section, we consider the filters with a flatness in the stopband. With a noncausal shifted version in (5), the flatness condition in (4) becomes In order to meet the flatness condition of (22), it is necessary to place multiple zeros at . Hence, the frequency response can be expressed as where . To obtain the equiripple responses in the passband, we consider the following iterative design formula: Thus, the design problem in which the stability constraint and the update of the weighting function were considered becomes a standard QP problem as below: where ,, , , , , , , , , , and .

4.2. Design Procedure

The design procedure of the proposed method is summarized as follows.

Step 0. Set the design specifications.

Step 1. Solve the QP problem to obtain the filter coefficient .

Step 2. If and , stop; if and , go to Step 4; otherwise, go to Step 3.

Step 3. Update the weighting function using (15)–(17) and go back to Step 1.

Step 4. Calculate from the obtained filter and then set to and .

Step 5. Calculate .

Step 6. Solve the QP problem using the updated .

Step 7. If and , stop; if and , go to Step 9; otherwise then go to Step 8.

Step 8. Update the weighting function using (15)–(17) and go back to Step 6.

Step 9. If , set to ; if , set to , and then go back to Step 5.

5. Design Examples

In this section, some design examples are given to illustrate the effectiveness of the proposed method. In all the following examples, , , and the initial value of is . The program of the proposed design algorithm was coded by MATLAB and was run on the PC which has Core i5-M520 processor and 2 GB memory.

5.1. Example 1

To compare with the conventional method [12], we design the Chebyshev-type IIR filters which have an equiripple characteristic in passband and a flat characteristic in stopband. The filter specifications are as follows: In the proposed method, we set the maximum allowable pole radius to 0.98, and the number of grid points is and . Note that the conventional method [12] cannot guarantee the stability of the obtained filter.

The performance of the obtained filters is shown in Table 1 which are obtained by the conventional method [12] based on Remez algorithm. In Table 1, is the maximum magnitude error in passband, is the maximum group delay error in passband, and is the maximum pole radius of the obtained filter. From Table 1, it is confirmed that the proposed method needs more computational cost (CPU time and iteration number) than the conventional method, but the characteristic of the obtained filters by the proposed method is about the same as or better than them by the conventional method. Particularly, the filter obtained by the conventional method is unstable when . The stability of the filters obtained by the method which cannot guarantee the stability depends on a given group delay specification. In fact, when the group delay is less than , all filters obtained by conventional method were unstable. In contrast, the proposed method can always obtain the stable filters because the maximum pole radius of the filter obtained can be prespecified. Therefore, the proposed method can design the filters that cannot be designed by the conventional method.

5.2. Example 2

Next we design the inverse Chebyshev-type IIR filters with the real coefficients in order to compare with the conventional method [13]. The filter specifications are as follows: In the proposed method, we set the maximum allowable pole radius to 0.98, and the number of grid points is and . Note that the conventional method [13] cannot guarantee the stability of the obtained filter.

The numerical performance of the obtained filters is shown in Table 2 which are obtained by the conventional method [13] based on Remez algorithm. In Table 2, is the minimum stopband attenuation in dB. From Table 2, it is confirmed that the proposed method needs more computational cost than the conventional method but gives slightly better characteristics. Moreover, when the group delay is less than , the filters obtained by conventional method were unstable. In contrast, the proposed method can always obtain the stable filters. Therefore, the proposed method can design the filters that cannot be designed by the conventional method.

Next, we designed the filter with for comparison with [14]. The minimum stopband attenuation of the filter obtained was dB in the proposed method and dB in [14]. It is thought that this difference is because the performance of the filter obtained by the conventional method is dependent on the given initial value.

5.3. Example 3

Next, as the example of the filter with the complex coefficients, we design the inverse Chebyshev-type IIR filter with the following specifications: In this example, we use , , and .

The proposed method took an average of 0.78 seconds for convergence. The magnitude response and group delay response of the obtained filter are shown in Figures 1, 2, and 3. From these figures, it is confirmed that the magnitude and group delay responses have a flat characteristic at and the magnitude response in stopband is equiripple. Table 3 is the numerical performance of the obtained filter.

5.4. Example 4

Finally, we show the design examples of inverse-Chebyshev-type FIR filters. The filter specifications are as follows: In this example, we set the number of the grit points to 10,000.

The proposed method took an average of 2,794 seconds for convergence. The magnitude response and group delay response of the obtained filter are shown in Figures 4, 5, and 6. From these figures, it is confirmed that the magnitude and group delay responses have a flat characteristic at and the magnitude response in stopband is equiripple. The minimum stopband attenuation of the obtained filters was  (dB) for ,  (dB) for , and   (dB) for . We confirmed that these filters cannot be designed by the conventional method [13]. Hence, the proposed method can also design the high-order filters that cannot be designed by the conventional method.

6. Conclusion

In this paper, a design method based on quadratic programming has been proposed for approximately linear phase IIR filters and FIR filters with prescribed flatness in passband or stopband. To guarantee the stability of the filter obtained, we applied the extended positive realness to the QP problem. With this method, stable IIR filters and FIR filters that are Chebyshev type and inverse Chebyshev type can be easily designed. In the design examples, we showed that the performance of the filter obtained by the proposed method is about the same as or better than the conventional method, and the filters which cannot be designed by the conventional method can also be designed.

Appendix

In this appendix it is shown that (6) is equivalent to (3).

Equation (1) is expressed with the magnitude response and group delay response as follows: With (A.1), (5) is expressed as Thus, is equivalent to , and .

The first-order derivative of (A.2) is expressed as follows: Because and , (A.3) is Thus, is equivalent to and .

Next, we assume that (A.5) is equivalent to (A.6) and (A.7): The th-order derivative of is Using (A.6) and (A.7), (A.8) is Thus, is equivalent to and .

Because and , is equivalent to Thus (6) is equivalent to (3).

Conflict of Interests

The author declares that there is no conflict of interests regarding to the publication of this paper.