10.07.2015 Views

Design of Highly Selective Quasi-Equiripple FIR Lowpass Filters ...

Design of Highly Selective Quasi-Equiripple FIR Lowpass Filters ...

Design of Highly Selective Quasi-Equiripple FIR Lowpass Filters ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DESIGN OF HIGHLY SELECTIVE QUASI-EQUIRIPPLE <strong>FIR</strong> LOWPASS FILTERSWITH APPROXIMATELY LINEAR PHASE AND VERY LOW GROUP DELAYThomas Kurbiel, Daniel Alfsmann and Heinz G. GöcklerDigital Signal Processing Group (DISPO), Ruhr-Universität Bochum, 44780 Bochum, Germanyphone: +49 234 32 22106, fax: +49 234 32 02106, email: {kurbiel, alfsmann, goeckler}@nt.rub.de, web: www.dsv.rub.deABSTRACTIn this contribution, the design <strong>of</strong> approximately linearphase,low delay and quasi-equiripple <strong>FIR</strong> lowpass filters isresumed with particular emphasis on very low group delay.To this end, a novel unconstrained single-objective multicriteriondesign algorithm is proposed. Results show that themean group delay can be diminished down to roughly 20% <strong>of</strong>that <strong>of</strong> a corresponding linear-phase <strong>FIR</strong> filter. Moreover, theapplication <strong>of</strong> the proposed algorithm to the design <strong>of</strong> powercomplementary (square-root Nyquist) filters is demonstrated.1. INTRODUCTIONDigital linear-phase (LP) <strong>FIR</strong> filters have been widely usedin all fields <strong>of</strong> digital signal processing due to their robuststability, simplicity <strong>of</strong> implementation, and the absence <strong>of</strong>phase distortions. For some specific applications, however,the (normalised) group delay τ g = (N − 1)/2 <strong>of</strong> standard LP<strong>FIR</strong> filters, where N represents the filter length, is unacceptablyhigh. Very low group delay is a challenge, for instance,in case <strong>of</strong> signal processing in digitally implemented hearingaids, where the difference between the direct and the processedsound signals must not exceed a critical value [1].Moreover, long delay is prohibitive, for instance, in two-waycommunication systems for intelligibility, and in feedbackcontrol systems for stability reasons.A first idea <strong>of</strong> approaching the design <strong>of</strong> highly selectiveLD digital filters is to use standard recursive or non-recursiveminimum-phase filters, respectively. However, the passbandgroup delay distortion <strong>of</strong> these filter classes is frequently unacceptable– and group delay equalisation additionally counteractsto our design goal <strong>of</strong> very low group delay. Moreover,it is suspected that recursive minimum-phase filters (especiallynarrow-band ones) possess a prohibitively high minimumgroup delay being caused by the positive group delaycontributions <strong>of</strong> the non-zero singularities <strong>of</strong> IIR filterswithin the z-plane unit circle [2]. Hence, in this investigation,the design <strong>of</strong> selective digital filters with very low group delayis focused on modified minimum-phase <strong>FIR</strong> filters, wherethe poles <strong>of</strong> the above IIR filters are replaced with zeros reducing,in contrast to the IIR counterpart, the passband groupdelay. Part <strong>of</strong> this group delay advantage is, however, lostagain, since <strong>FIR</strong> filter orders are known to generally exceedthose <strong>of</strong> corresponding IIR filters [2].In the past, many attempts to the design <strong>of</strong> <strong>FIR</strong> lowpassfilters have been made to approximate a desired magnituderesponse in conjunction with a linear or non-linear phase or,alternatively, with an approximately constant passband groupdelay response [3, 4, 5, 6]. In [7], a procedure for the design<strong>of</strong> <strong>FIR</strong> Nyquist filters with low group delay was proposedthat is based on the Remez exchange algorithm. Withthese approaches a filter group delay can always be obtainedthat ranges below the group delay <strong>of</strong> a corresponding LP <strong>FIR</strong>filter. However, the minimisation <strong>of</strong> the minimum or meanvalue <strong>of</strong> the passband group delay was <strong>of</strong> no concern. In contrast,for instance, Lang [8] has shown that his algorithms forthe constrained design <strong>of</strong> digital filters with arbitrary magnitudeand phase responses have the potential to achieve a considerablereduction <strong>of</strong> group delay as compared to LP <strong>FIR</strong>filters, even for high order <strong>FIR</strong> filters.The goal <strong>of</strong> this contribution is to present an alternativeunconstrained approach to the design <strong>of</strong> highly selective <strong>FIR</strong>filters with very low and approximately constant group delay,and quasi-equiripple magnitude response. To this end, anovel multi-criterion objective function is proposed for optimisationallowing for individual weighting <strong>of</strong> the involvederror functions. This multi-criterion objective function considersthe deviation <strong>of</strong> the filter magnitude responses in passbandand stopband and, in passband only, both the deviations<strong>of</strong> phase from linearity and <strong>of</strong> group delay from zero.Subsequently, the multi-criterion objective function is introducedand discussed in section II. In section III, three illustrativedesign examples are presented and discussed, while insection IV some conclusions are drawn.2. OPTIMISATION APPROACHThe design <strong>of</strong> <strong>FIR</strong> lowpass filters with approximately linearphase and very low group delay is first formulated as a multiobjectiveunconstrained optimisation problem. In practice,however, this problem is solved by combining all multipleobjectives into one scalar objective function and applyingstandard unconstrained optimisation techniques. The independentparameters <strong>of</strong> the objective functions are the <strong>FIR</strong> filtercoefficients.2.1 Multi-Objective FormulationThe frequency response <strong>of</strong> a real-valued digital <strong>FIR</strong> filter <strong>of</strong>length N is characterized by the scalar product [2]:H(e jΩ N−1) =∑n=0where the N-dimensional coefficient vectorh n e −jnΩ = h T c, (1)h T = [h 0 , h 1 ,··· , h N−1 ] (2)comprises the <strong>FIR</strong> filter parameters to be optimised, and vectorc contains the corresponding exponential terms <strong>of</strong> (1).For the design <strong>of</strong> a lowpass filter we define the desiredfilter magnitude response:{M(e jΩ 1, 0 ≤ Ω ≤ Ωp) =(3)0, Ω s ≤ Ω ≤ π,


where Ω p and Ω s represent the filter passband and stopbandcut-<strong>of</strong>f frequencies. Using (3), we set up two related errorfunctions on a dense frequency grid to control the disjointL r -norms <strong>of</strong> the filter magnitude responses in passband andstopband during optimisation by using FFT techniques:e p (h) =e s (h) =[Kp∑k=0](∣ ( )∣ (1/r∣∣He jΩ k ∣∣ r− M e k)) jΩ , (4)[ ] K/2 (∣ ( )∣ (1/r∣∣H∑ e jΩ k ∣∣ r− M e k)) jΩ . (5)k=K sHence, the frequency grid is defined equidistantly accordingto Ω k = 2πk/K, k = 0,1,...,K − 1, with K even. Moreover,index p refers to passband, where Ω Kp ≈ Ω p , and indexs denotes stopband with Ω Ks ≈ Ω s . The exponent r, restrictedto an even integer number, is set to r = 2 for leastsquares (L 2 ) optimisation, whilst r = 20 is chosen for quasiequiripple(L 20 ≈ L ∞ ) magnitude design [9].Using the group delay frequency response <strong>of</strong> H(e jΩ ) asgiven by [2]:τ g (e jΩ ,h) = −∂ arg(ejΩ ,h)∂Ω= Re{ h T }Dch T , (6)cwhere Re{.} denotes the real part <strong>of</strong> a complex-valued quantity,and D = diag[0, 1,··· , N − 1] represents an N × N diagonalmatrix, a third objective function to be used for theminimisation <strong>of</strong> the maximum absolute value (L ∞ -norm) <strong>of</strong>the passband group delay is readily formulated:∣ ∣∣τge τ (h) = max (e jΩ k ∥,h) ∣ = ∥τ g (e jΩ k ,h) ∥ . (7)0≤Ω k ≤Ω p ∞Obviously, in (7), the underlying passband group delay desiredfunction is zero for all frequencies.As an error function to control phase linearity during theoptimisation process, we use the L r -norm <strong>of</strong> the deviation <strong>of</strong>the phase curvature from zero. Hence, this fourth objectivefunction is based on the first derivate <strong>of</strong> the group delay w.r.t.the normalised frequency Ω as follows:e φ (h) =∼[Kp∑k=0[Kp∑k=1∣∂τ g (e jΩ ,h)∂Ω∣∣τ g(e jΩ k∣]r 1/r|Ω=Ω k) ( )∣− τ g e jΩ k−1 ∣∣r] 1/r, (8)where the frequency-continuous definition <strong>of</strong> e φ (h) is approximatedon the dense grid, as defined in (8). It shouldbe noted that the grid density can be adapted to any value,as required. The (minimum) density we use throughout alldesigns is represented by K = 1024.Finally, to extend the range <strong>of</strong> applications <strong>of</strong> our optimisationapproach, we introduce a fifth error function forthe specific design <strong>of</strong> power complementary (square-rootNyquist) <strong>FIR</strong> filters potentially with low group delay, beingused for data transmission and in standard quadrature mirrorfilter banks. To this end, we control the L ∞ -norm <strong>of</strong> the filtermagnitude response at the 3dB-point in the centre <strong>of</strong> thetransition band, Ω t = (Ω p + Ω s )/2, leading to:e t (h) =∣ |H(ejΩ t)| − √ 1 ∣ ∣∣∣ =2∥ |H(ejΩ t)| − √ 1 ∥ ∥∥∥∞. (9)2Combining the five error functions (4), (5), (7) , (8) and (9)to an objective vector function:e(h) = [ e p (h), e s (h), e τ (h), e φ (h), e t (h) ] T , (10)our design problem is readily formulated as an unconstrainedmulti-objective least squares (L 2 ) optimization problem [10]:minh∈R N ‖e(h)‖2 2 = minh∈R N|e(h)|2 = minh∈R NeT (h)e(h). (11)As a consequence <strong>of</strong> the non-linear nature <strong>of</strong> the objectivevector function e(h) in dependence <strong>of</strong> the coefficient vectorh to be optimised, the minimisation problem (11) is generallymulti-modal and, hence, is expected to possess different(possibly many) local minima. Nevertheless, each optimumor sub-optimum solution <strong>of</strong> the minimisation process (11)shall represent a balanced compromise between the finallyremaining error contributions <strong>of</strong> the five individual objectivefunctions <strong>of</strong> (10) to the squared Euclidean norm <strong>of</strong> e(h). Theimprovement <strong>of</strong> an individual objective is always at the expense<strong>of</strong> some or all other errors <strong>of</strong> (10).2.2 Single-Objective FormulationThe multi-objective L 2 /L r /L ∞ -norm based formulation <strong>of</strong>our optimisation problem given in section 2.1 is, in compliancewith common practice, transformed to a singleobjectiveform, which is generally better suitable for the application<strong>of</strong> standard optimisation procedures. To this end,the 5-dimensional error vector (10) is pre-multiplied by a 5-dimensional weighting vector according to:e(h) = w T e(h), (12)where w T = [α, β, γ, δ, η], yielding the scalar objectivefunction:e(h)=αe p (h)+β e s (h)+γe τ (h)+δe φ (h)+ηe t (h). (13)Obviously, the individual weights <strong>of</strong> vector w have to beselected very carefully to obtain a balanced optimum result<strong>of</strong> the minimisation procedure. Needless to say that this requiresa lot <strong>of</strong> procedural experience and sure instinct. Moreover,alternate specific selection <strong>of</strong> w allows for trading-<strong>of</strong>findividual objectives against others.The scalar (single-objective) form (13) <strong>of</strong> the error functionis amenable to differentiation w.r.t. the coefficients hand, hence, to gradient-based optimisation techniques. As aresult, for the optimisation <strong>of</strong> the vector h <strong>of</strong> N unknown coefficientssubject to the minimisation <strong>of</strong> (13), we have usedthe gradient-based problem solver fminunc, which is <strong>of</strong>feredby the MATLAB Optimization Toolbox. Due to the multimodalnature <strong>of</strong> our non-linear optimisation problem, we arebound to start each optimisation from a suitable initial set h.Details on finding these initial estimates will be discussed inconjunction with the presentation <strong>of</strong> the design examples inthe subsequent section.


Table 1: Specification and performance <strong>of</strong> Ex. A versus ref.Performance <strong>Design</strong> Ref.Passband Ripple 0.5dBStopband Atten. 50dBFilter Length N 25 20Passband min. τ g 5.9 9.5Passband mean τ g 6.0 9.5Passband max. τ g 6.1 9.53. DESIGN EXAMPLESSubsequently, we present and investigate three different designresults <strong>of</strong> an <strong>FIR</strong> lowpass filter <strong>of</strong> length N = 25 obtainedwith the single-objective multi-criterion optimisationprocedure as described in section 2.2. The passband andstopband cut-<strong>of</strong>f frequencies are fixed to Ω p = 0.4π andΩ s = 0.6π, respectively. To obtain quasi-equiripple magnitudeand phase responses, the exponent r <strong>of</strong> (4), (5) and (8) isset to r = 20. In addition, the impact <strong>of</strong> the weighting vectorw T <strong>of</strong> (12) and (13) on the frequency responses is studied.Each design is compared with a LP or minimum-phase (MP)<strong>FIR</strong> reference filter with the same magnitude response.3.1 Example A: Approximately Linear PhaseFor Ex. A, the weights are chosen as follows: w T =[1, 15, 0.01, 3, 0]. As a result, we expect a high stopbandattenuation, forced by weight β = 15 <strong>of</strong> (5), and a highlylinear phase controlled by weight δ = 3 <strong>of</strong> (8).The design results <strong>of</strong> Ex. A are presented in Tab. 1 anddepicted in Fig. 1, respectively, along with a LP <strong>FIR</strong> referencefilter that meets the same magnitude specifications. Despitethe fact that our design requires a higher filter length(excess order <strong>of</strong> 5), its group delay ranges completely belowthe constant value <strong>of</strong> τgref = 9.5 <strong>of</strong> the LP reference filter. Especiallyin passband, the approximately constant group delayamounts to roughly 60% <strong>of</strong> that <strong>of</strong> the reference filter only.As to be seen from Figs. 1(a),(c), the zeros effectuatingthe stopband <strong>of</strong> the transfer function H(z) <strong>of</strong> our design arelocated slightly <strong>of</strong>f (i.e. inside) the z-plane unit circle. Hence,all zeros within the unit circle (there are no more group delayneutral zeros on the periphery <strong>of</strong> the unit circle) contributeto the overall group delay by at least a small negativeamount [2]. Obviously, to maintain the specified stopbandrejection, extra zeros inside but close to the unit circle areneeded, which explains the excess filter order <strong>of</strong> our designcompared to that <strong>of</strong> the reference filter.Finally, it is somewhat unexpected that the mean groupdelay <strong>of</strong> τgmean = 6.0 <strong>of</strong> our design is that low despite thevery low weight <strong>of</strong> γ = 0.01 put on the group delay errorfunction (7). Hence, we suspect that this error function hasa high overall impact on the scalar objective function (13).Furthermore, according to our experience gained from manydesigns with the above fixed weight vector, it should be notedthat an increase <strong>of</strong> the filter length predominantly increasesthe stopband attenuation <strong>of</strong> our design, whereas all other filterproperties remain essentially unchanged.3.2 Example B: Very Low Group DelayFor Ex. B, the weights are chosen as follows: w T =[1, 15, 0.01, 0, 0]. Here, we expect a lowpass filter with20⋅log 10|H(e jΩ )|Im z 0Im z 0τ g(Ω)0−20−40−60−80−1001098765|H(e jΩ )||H ref (e jΩ )|0 0.2 0.4 0.6 0.8 1Ω/π(a) Magnitude responsesτ g (Ω)τ g,ref (Ω)40 0.5 1 1.5Ω/Ω p10.50−0.5(b) Group delay−1−1 0 1 2 3 4 5 6Re z 010.50−0.5(c) Zero plot (design)−1−1 0 1 2 3 4 5 6Re z 0(d) Zero plot (reference)Figure 1: <strong>Design</strong> <strong>of</strong> Ex. A (solid) versus reference (dashed)high stopband attenuation, forced by weight β = 15 <strong>of</strong> (5),and very low group delay in the passband controlled byweight γ = 0.01 <strong>of</strong> (7).The design results are presented in Tab. 2 and Fig. 2, respectively,along with the corresponding LP <strong>FIR</strong> referencefilter. The very small magnitude deviation in passband isdeemed the main reason for the excess filter length <strong>of</strong> theLP reference by 9, although the stopband zeros <strong>of</strong> our designare again located inside the z-plane unit circle; cf. Fig. 2(a).Comparing group delay, we have obtained τgmean = 0.14·τg ref ,however, at the expense <strong>of</strong> the loss <strong>of</strong> phase linearity!Finally we report that, like in this example, very lowgroup delay is only achievable in connection with very small


Table 2: Specification and performance <strong>of</strong> Ex. B versus ref.Performance <strong>Design</strong> Ref.Passband Ripple 0.01dBStopband Atten. 52dBFilter Length N 25 34Passband min. τ g 1.7 16.5Passband mean τ g 2.3 16.5Passband max. τ g 4.7 16.520⋅log 10|H(e jΩ )|τ g(Ω)0−20−40−60−80−100181614|H(e jΩ )||H ref (e jΩ )|0 0.2 0.4 0.6 0.8 1Ω/π(a) Magnitude responsesτ g (Ω)τ g,ref (Ω)1210864200 0.5Ω/Ω p1 1.5(b) Group delayFigure 2: <strong>Design</strong> <strong>of</strong> Ex. B (solid) versus reference (dashed)magnitude ripple in passband, i.e. reduction <strong>of</strong> group delayconcurrently decreases passband magnitude deviation.3.3 Example C: Square-Root Nyquist FilterFor Ex. C, the weights are chosen as follows: w T =[1, 1, 0.1, 0, 1]. Hence, we expect a nearly power complementary<strong>FIR</strong> square-root Nyquist filter as a result <strong>of</strong> weightη = 1 <strong>of</strong> (9) with low group delay controlled by weightγ = 0.1 <strong>of</strong> (7). To support magnitude symmetry w.r.t. Ω = π,the same weights α = β = 1 are put on (4) and (5).The design results are presented in Tab. 3 and Fig. 3, respectively,along with a MP <strong>FIR</strong> reference filter that meetsthe same magnitude specifications [11]. Power complementarityis assessed by the logarithmic distortion function [11]∑a dist (e jΩ ) = 20 · log 10K/2k=0[ ∣∣∣H ( )∣e jΩ k ∣∣2 ∣ ( )∣ ∣∣H + e j(Ω k−π) ∣ ] 2 ,as depicted in Fig. 3(c). The reasonably close similarity <strong>of</strong>both designs <strong>of</strong> this example confirms that our approach alsoTable 3: Specification and performance <strong>of</strong> Ex. C versus ref.Performance <strong>Design</strong> Ref.Passband Ripple 0.01dBStopband Atten. 43dBFilter Length N 25 28FB-Distortion max. 0.45dB 0.2dBPassband min. τ g 1.4 1.5Passband mean τ g 1.9 2.0Passband max. τ g 3.5 3.7has the potential to design standard quadrature mirror filters(SQMF) with common quality. Moreover, our designapproach overcomes the restriction to even filter lengths incontrast to the approach by Herrmann & Schüssler [11].3.4 Numerical Properties <strong>of</strong> the <strong>Design</strong> AlgorithmDue to the non-linear nature <strong>of</strong> the single-objective errorfunction e(h), as defined by (12) and (13), the minimisationproblem (11) is multi-modal and, hence, there may existmany local minima, where each (sub-)minimum obtainedhighly depends on the choice <strong>of</strong> the initial coefficient vectorh 0 . To overcome this deficiency, we adopt a heuristicapproach: We perform each filter design M times, alwaysstarting from a different, randomly selected initial coefficientvector h 0 m , m = 1,...,M, where only the best (sub-)optimumsolution is retained (M = 30...60). In future, this multistartprocedure will be combined with more intelligent strategies<strong>of</strong> genetic algorithms.Experience with our design algorithm has shown that,too, the choice <strong>of</strong> the weight vector w T has a high impact onthe quality <strong>of</strong> the final optimum solution. On the one hand,there are weight ratios that make the algorithm diverge since,most probably, no (sub-)optimum solution exists for this veryweight vector. This is, for instance, the case, if the group delayrequirement is too tight by imposing a too high weighton (7). On the other hand, minor changes <strong>of</strong> some individualweights may lead to completely different final solutions,or even to divergence, respectively. All these issues call forfurther detailed investigations in the future.4. CONCLUSIONIn this contribution, an effective and flexible approach to thedesign <strong>of</strong> highly selective quasi-equiripple <strong>FIR</strong> filters withvery low group delay and/or approximately linear phase hasbeen proposed. This method is based on the solution <strong>of</strong> amulti-objective unconstrained optimisation problem allowingfor individual weighting <strong>of</strong> the involved error functions.To this end, three L 20 -norm and up to two L ∞ -norm errorfunctions are combined to a weighted least squares (L 2 ) optimisationapproach. The impact <strong>of</strong> both the individual objectivefunctions and the associated weights have been investigated.Furthermore, we have presented a method to solve themulti-objective optimisation problem by using a MATLABroutine, and provided three examples. Finally, we have discussedthe properties <strong>of</strong> the design algorithm with referenceto the examples.Future investigations will be devoted to the design <strong>of</strong>narrow-band <strong>FIR</strong> lowpass filters with very low group delay,and their application in uniform, complex-modulated low delayfilter banks. Furthermore, we will compare the poten-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!