## Servicios Personalizados

## Revista

## Articulo

## Indicadores

- Citado por SciELO

## Links relacionados

- Similares en SciELO

## Compartir

## Latin American applied research

##
*versión impresa* ISSN 0327-0793

### Lat. Am. appl. res. v.35 n.2 Bahía Blanca abr./jun. 2005

**New Steiglitz-McBride adaptive lattice notch filters**

**J. E. Cousseau, J. P. Scoppa and P. D. Doñate**

*CONICET - Departamento de Ingeniería Eléctrica y Computadoras Universidad Nacional del Sur Av. Alem 1253, 8000 Bahía Blanca, Argentina iecousse@criba.edu.ar*

*Abstract* ¾ Two novel adaptive notch filters are presented. The updating algorithms are based on the Steiglitz-McBride error criterion minimization and the basic realizations of the notch filters are all-pass based lattice filters. The proposed realizations represent an extension of a previous ad-hoc scheme for adaptive notch filtering and avoid finding the roots of a high order polynomial to obtain the unknown frequencies of interest. Since the structure is based on the lattice realization, suitable properties with finite length precision realizations can be expected. Computer simulations are included to verify the adaptive filter performance when compared with alternative realizations.

*Keywords* ¾ Frequency Estimation. Lattice Notch Filter. Steiglitz-McBride Method.

**I. INTRODUCTION**

The input signal model *u*(*n*) considered in this work is composed of *N* sinusoids with unknown amplitude *p _{k}* and frequency

*w*, immersed in additive Gaussian noise

_{k}*r*(

*n*), written as

where φ* _{k}* is the corresponding phase of sinusoid

*k*.

The problem of estimating the frequencies of multiple sinusoids can be traced back to the *Adaptive Line Enhancer* (Widrow *et al.*, 1975) where MSE minimization using a k-step FIR prediction filter was the basic structure. The computation of the unknown frequencies requires the evaluation of the roots of the associated polynomial. Other higher precision alternative, with considerable higher complexity, were based in the eigenvalue decomposition of input statistics (Ljung and Soderstrom, 1983). General FIR solutions have proven to be inefficient to recover sinusoids in noise, mainly because the modeling of deep notchs requires high order filters.

Due to its natural efficiency IIR based notch filters or their duals, i.e, narrow passband filters with a very selective frequency characteristic, are becoming more attractive for this application. An ideal notch filter transfer function *H*(*z*), evaluated on the unit circle, is described by

Although it is not possible to obtain an exact solution, nice and efficient approximations can be obtained using IIR notch realizations of adequate order. A general IIR notch model, proposed by Nehorai (1985), contemplates a canonical (minimum number of parameters corresponding to each unknown frequency to estimate) directform realization of order 2*M* . The zeros of the notch filter are located on the unit circle and the module of the poles (at the same radius but, logically, inside |*z*| = 1) is a user defined parameter. The properties and accuracy of this adaptive notch filter have been extensively studied in the literature (Ng, 1987; Stoica and Nehorai, 1988). Despite that classical estimation properties can be related to this model, no direct availability of the estimated frequencies is obtained except by finding the roots of a high-order (2*M*) polynomial. Alternative realizations using the same model but with a lattice structure were also studied in the past (Cho *et al.*, 1989) with no particular advantages for the multiple sinusoids case. A different notch filter model based on second-order allpass lattice sections, that has interesting numerical properties (Regalia *et al.*, 1988), was presented in Regalia (1991). In this case, individual notch frequencies are independent of the corresponding pole module. This property has shown to be useful to extend the model application, from the single sinusoid recovering, to the multiple sinusoid case of interest.

This work presents a natural extension of the solution in Regalia (1991), that uses either a direct or a factorized allpass lattice realization to deal with the problem of direct availability of the estimated frequencies. In contrast to what was proposed as an ad hoc solution in Regalia (1991), the proposed adaptive notch filter minimizes a well defined criterion, the Steiglitz-McBride (SM) error.

The paper presentation is organized in the following manner. In Section II some available models for adaptive notch filtering and their respective updating algorithms are reviewed. Particularly, directform realizations, using both Recursive Prediction Error (RPE) and Steiglitz-McBride (SM) error minimization, are discussed. The novel adaptive latticebased notch filters are introduced in Section III, where some of their properties are also discussed. A general discussion and comparison of the proposed notch filter with other realizations is presented in Section IV, where some computer simulations to verify the expected properties are included. Finally in Section V some conclusions are presented.

**II. RPE AND SM METHODS FOR ADAPTIVE NOTCH FILTERING**

As introduced in Nehorai (1985), one of the desirable properties of adaptive notch filters is that their transfer function has zeros on the unit circle in such a way that the corresponding input frequency components can be zeroed. A necessary condition to satisfy this property is that the numerator polynomial of the notch has to be of the form

(1) |

where *z* is the complex variable (in the time domain, a unit delay is *z*^{-1}*u*(*n*)= *u*(*n* - 1)) and 2*M* is the number of zeros of *A*(*z*). This restriction also limits the number of parameters to a minimum of *M* .A second requirement for the adaptive notch filter is that its poles have to be on the same radial line as the zeros, but slightly shifted to the origin. This can be obtained using *A*(ρ*z*) as denominator, where ρ < 1. The notch filter proposed in [Nehorai, 1985] has the form

. (2) |

If *u*(*n*) is the input signal and *H*(*z*) is modeled as in (2) the design of the notch filter can be formulated as the following optimization problem: *find the coefficients a _{i} of H*(

*z*)

*that minimize the variance of the output signal e*(

*n*), as depicted in Fig. 1. This minimization can be performed using

*Recursive Prediction error methods*(RPE), as detailed in Nehorai (1985). Essentially, this method requires the computation of the gradient that is obtained using filtered versions (using the denominator of the notch filter) of the input and output signals. This is a well known model for notch filtering applications, and has many remarkable properties (precision, numeric robustness, stability, fast convergence, etc.).

Figure 1: Notch filter representation.

Figure 2: System identification reformulation for notch filter design.

Figure 3: SM method for adaptive notch filtering (SMM-ANF).

This work focuses on overcoming two possible drawbacks of this model: i) in order to obtain the sinusoid frequencies, the roots of a high order polynomial must be found, and ii) directform realization does not result in the most practical implementation (if numerical properties are a concern) when compared with other structures, such as the lattice realization for instance.

As a first alternative to the RPE method it is possible to reformulate the previous minimization problem to one of system identification. Using the approach proposed in Cheng and Tsai (1998) consider the following algebraic manipulation

, (3) |

where *B*(*z*)= z^{-1}[*A*(ρ*z*) - *A*(*z*)]. Note that, since *A*(*z*) and *A*(ρ*z*) are monic polynomials, *B*(*z*) is strictly causal. With this reformulation, depicted in Fig. 2, the minimization problem was changed to one of system identification. Many different methodologies can now be applied to the design problem. Most interesting to the purposes of this work is the Steiglitz-McBride method (SM) (Steiglitz and McBride, 1965; Regalia, 1995). Due to its modeling capabilities and simplicity, the SM method has been used in many applications of adaptive IIR filtering. Using this methodology, Cheng and Tsai (1998) obtained an adaptive notch filter (SMM-ANF), different to the approach of [Nehorai, 1985]. The SMM-ANF is illustrated in Fig. 3.

As can be noticed, the SMM-ANF has the same problems of the RPE methodology so a different approach is followed and introduced in the next section.

Another model is the allpass based notch filter model (Regalia, 1991) given by

, (4) |

Figure 4: Second-order normalized lattice allpass filter.

Figure 5: Allpass based notch filter, multiple sinusoids.

where *V*(*z*) is a second-order allpass filter. Note that (4) does not necessarily satisfy (2). A suitable structure for the allpass filter is the normalized lattice realization, that has very good properties in terms of stability in a time varying context and also good numerical properties. The parameters are the rotational angles θ* _{k}*,

*k*= 1, 2 (see Fig. 4). For the unique sinusoid detection case, and if

*w*

_{0}is the corresponding frequency and

*B*is the 3 dB bandwidth attenuation of

*H*(

*e*), then (Regalia

^{jw}*et al.*, 1988)

(5) |

The independence of *w*_{0} and *B* is a very important property if adaptive filtering applications are the main objective. In order to update the parameter θ_{1}, the following algorithm was proposed (Regalia, 1991)

θ_{1}(*n* + 1) = θ_{1}(*n*) + μ(*n*)*e*(*n*)*x*_{1}(*n*) μ(*n*) > 0, (6)

where *e*(*n*) is the notch filter output, while the regressor

(7) |

is available in the lattice realization. *B* (i.e., θ_{2}) can be fixed or controlled dynamically. The product *e*(*n*)*x*_{1}(*n*) is not the gradient estimation (given by ¶*E*[*e*^{2}(*n*)]/¶θ_{1}), and as a consequence, (6) does not represent a recursive minimization of the output signal variance. In spite of that, convergence of this algorithm can be proved using the differential equation associated to (6) and the methodology of Ljung and Soderstrom (1983). The most remarkable property of this approach is its low computational complexity if compared with the other alternatives.

For the multiple sinusoids detection case, there is not an obvious way to extend the previous approach from second-order *V*(*z*) to higher orders, since the regressor *x*_{1}(*n*) is an ad-hoc choice aiming a low complexity realization. Despite of that, [Regalia, 1991] proposed to use in this case a cascade of second-order sections, justifying the proposal in the independence of the each frequency and their corresponding bandwidth. This basic scheme is illustrated in Fig. 5 for the detection of three sinusoids.

Although the application of this approach to the multiple sinusoids case presents reasonable results, it can be expected that the use of a global error, in place of the local errors, can result in a better accuracy in frequency estimation. This can be inferred from the fact that local errors imply the solution of several problems of insufficient order. On the other hand, using a global error a sufficient order problem results. In addition, a way to overcome the problem of root computation must be found. Possible solutions to these problems will be introduced in the proposal of the next section.

**III. A NEW ADAPTIVE NOTCH FILTER**

In this section the allpass based notch filter is modified to introduce two novel adaptive notch filtering algorithms. A first algorithm uses the allpass based model with a global error minimized using the SM method. The basic limitation of this algorithm is that is not trivial to obtain a minimal parameterization for the particular case of notch filtering applications. This motivates the introduction of a second algorithm, a second-order cascaded lattice notch filter that shows, as illustrated by examples in the next section, a suitable behavior.

**A. SM based adaptive lattice notch filter (SM-ALNF)**

To introduce the algorithm it is considered a structural interpretation of SM method based on a modified state space representation of the notch filter (Regalia, 1992). The corresponding transfer function is where *V*(*z*) is an 2*M*-order all-pass filter. The modified state space representation is given by

, (8) |

and

, (9) |

where *x*(*n*) = [*x*_{1}(*n*), *x*_{2}(*n*), ..., *x _{N}*(

*n*)]

*is the state vector,*

^{t}*w*(

*n*) is the allpass output,

*h*(

*n*) is the tap vector and

*Q*(

*n*) (

*N*+ 1 ×

*N*+ 1) is an orthogonal matrix, that for the lattice realization takes the form

*Q*(

*n*) =

*U*

_{1}(

*n*) ...

*U*(

_{N}*n*), i.e.,

*Q*(

*n*) is the product of

*N*givens rotations

*U*(

_{k}*n*), such that

*Q*

^{-1}(

*n*) =

*Q*(

^{t}*n*). {θ

*k*(

*n*)},

*k*= 1, ...,

*N*determines the elements of

*Q*(

*n*). The

*m*unknown notch frequencies are re lated to the 2

*M*-order allpass

*V*(

*z*). Then,

*N*=2

*M*and

*h*(

*n*) = [0, 0, 0, ..., 0, 1]

*, such that*

^{t}*y*(

*n*) =

*w*(

*n*). The structural interpretation of the SM for the lattice notch filter is illustrated in Fig. 6. The a posteriori prediction error is given by

. (10) |

Figure 6: Structural interpretation of the SM method for the notch filter.

Then, defining Ñ* _{k}* = ¶/¶θ

*k*(

*n*+ 1) and q

^{t}

_{N + 1}(

*n*+ 1) = [0 ... 0 1]

*Q*(

^{t}*n*+ 1), results

. (11) |

Using an a priori version of the prediction error and Lemma 2 of Regalia (1992), after some manipulations, it is possible to obtain

, (12) |

where *x*(*n*) determines the required regressor. Using the fact that cos(θ* _{k}* ) > 0 if θ

*Î (-π/2, π/2), it is possible to use a simplified version given by*

_{k}, (13) |

that results in the following update equation for the *SM based adaptive lattice notch filter* (SM-ALNF)

θ_{2i - 1}(*n* + 1) = θ_{2i - 1}(*n*) + μ(*n*)Ψ* _{i}*(

*n*)

*e*(

*n*), (14)

where μ(*n*) is the step size. Note that for the particular case of *M* = 1, the SM-ALNF reduces to that of Regalia (1991), discussed in the previous section. In this way, the algorithm presented allows to give a formal interpretation of the previous ad-hoc result.

Figure 7: Alternative model for the notch filter, multiple sinusoids.

The main problem with this kind of parameterizations is that the independence between notch frequencies and the corresponding bandwidth is not simple. Indeed, since the relationship between the parameters and the notch frequencies is not linear, the realization is not minimal in the number of parameters. The following Lemma can be used to overcome this problem.

**Lemma:** Given an all-pass *V*(*z*) of order 2*M* obtained using the normalized lattice parameterization, if θ_{2i} ® π/2, *i* = 1, 2, ..., *M*, then

θ_{2i-1} = *w _{i}*-π/2,

*w*Î [0, π],

_{i}*i*= 1, 2, ...,

*M*. (15)

Proof: using induction (Scoppa, 2002).

With this result at hand, and to avoid the updating of 2*M* parameters, it is possible to update θ_{2i-1}, *i* = 1, 2, ..., *M* and give to θ_{2i}, *i* = 1, 2, ..., *M*, a variation law that makes θ2*i* ® π/2. In this way, the characteristics of this algorithm can be summarized as: i) linear relationship between the filter parameters and the notch frequencies, ii) utilization of a global error, iii) minimum number of parameters to update. In spite of these nice properties, this algorithm experiments problems in a time varying context, when the poles and zeros of *V*(*z*) approach the unit circle.

**B. SM based Adaptive Cascade Lattice Notch Filter (SM-ACLNF)**

The problem of the previous algorithm can be solved using a second-order cascaded allpass normalized lattice realization, as illustrated in Fig. 7, where

. (16) |

The SM method can also be applied to minimize the prediction error and due to the particular realization used, the independence between notch frequencies and bandwidths for each pole pair is maintained. In this case

. (17) |

Instead of using the structural interpretation of the SM, a direct approach is used to minimize the prediction error using the SM method. Then, with the help of Fig. 8, it is possible to obtain

(18) |

Figure 8: SM method for the SM-ACLNF.

The a posteriori error can be written as

. (19) |

Then, using the a priori error, as usual for an on-line SM version,

(20) |

and

(21) |

If θ_{2i - 1} Î (-π/2, π/2), then cos(θ_{2i - 1}) is a scale factor that can be introduced in the step size μ(n). The same can be said if (1 + sin(θ_{2i})) > 0. Finally, using these simplifications, the regressor is given by

(22) |

and the following upgrade equation for the *SM based adaptive cascaded lattice notch filter* (SM-ACLNF) results

θ_{2i - 1}(*n* + 1) = θ_{2i - 1}(*n*) + μ(*n*)*e*(*n*)Ψ* _{i}*(

*n*). (23)

Some characteristics of the SM-ACLNF are the following: i) due to the lattice realization, its numerical properties are robust. Indeed, there is a linear relation between parameters and notch frequencies (that eliminates the requirement of solving a high order polynomial), ii) the algorithm allows control of the notch frequencies and bandwidths separately; and in this sense it is unique. iii) The complexity required for the computation of the regressor is higher than with the other approaches. Further research is being performed in order to overcome this problem. Also, it is expected that due to the utilization of a global error, a better frequency estimation can be obtained, if compared with SM version, the adaptive notch filter of Cheng and Tsai (1998).

**IV. DISCUSSION AND COMPARISONS**

To compare the algorithms two simulation contexts for the detection of four sinusoidal signals in AWGN are considered: stationary and non stationary. A recursive least square version of the algorithms was implemented, using different predefined variation laws for ρ. The comparisons include the following algorithms: SM-ANF, SM-ALNF and SM-ACLNF.

**Simulation 1, Stationary context.** The results are summarized in Table 1. As can be observed, the SMM-ANF and the SM-ACLNF have similar performance either in convergence speed or mean and variance of the estimated frequencies, with the advantage in the last case of the direct availability of the estimated parameters. It was observed in general that, in this context, the SMM-ANF and the SM-ACLNF have comparable convergence speed.

Table 1: Simulation 1: stationary context, SNR = 10 dB, ρ fixed.

**Simulation 2. Non stationary context.** One of the four sinusoidal signals switches its frequency in cycles of 2000 samples (from 0.35 to 0.25), periodically. In this case since the SMM-ANF uses a similar ρ for all the poles, a poor performance is expected. Figures 9, 10 and 11 illustrate the performance of the SMM-ANF, SM-ALNF and SM-ACLNF, respectively. Due to the linear relationship between the parameters and the frequencies to be estimated, the SM-ALNF and SM-ACLNF have superior performance in a non stationary context, as can be concluded from the figures. Indeed, the algorithm with lower variance in the estimated frequencies was the SM-ACLNF.

Figure 9: Simulation 2: non stationary context, SMM-ANF, notch frequencies *w*_{0} = 0.1, *w*_{0} = 0.2, *w*0 = 0.3, *w*_{0} = 0.35. Signaltonoise ratio: 0 dB.

Figure 10: Simulation 2: non stationary context, SM-ALNF, notch frequencies *w*_{0} = 0.1, *w*_{0} = 0.2, *w*_{0} = 0.3, *w*_{0} = 0.35. Signal-to-noise ratio: 0 dB.

Figure 11: Simulation 2: non stationary context, SM-ACLNF, notch frequencies *w*_{0} = 0.1, *w*_{0} = 0.2, *w*_{0} = 0.3, *w*_{0} = 0.35. Signal-to-noise ratio: 0 dB.

**V. CONCLUSIONS**

Two new algorithms were introduced as alternative to the SM based adaptive notch filter: the SM based adaptive lattice notch filter (SM-ALNF) and the SM based adaptive cascade lattice notch filter (SM-ACLMF). This family of algorithms represents an alternative to the classical RPE based methods for adaptive notch filtering. The new algorithms use a global error and a normalized lattice realization. The simulations presented show the improved performance of the algorithms in non stationary environments.

**REFERENCES**

1. Cheng, M. H. and J. L. Tsai, "A New Adaptive Notch Filter With Constrained Poles and Zeros Using Steiglitz-McBride Method", *IEEE Int. Conf. Acoust., Speech, Signal Proc.*, 1469-1472, Seattle, USA (1998). [ Links ]

2. Cho, N. I., H. C. Choi and S. U. Lee, "Adaptive Line Enhancement Using an IIR Lattice Notch Filter", *IEEE Trans. Acoust., Speech and Signal Proc.*, **37**, 585-589 (1989). [ Links ]

3. Ljung, L. and T. Soderstrom, *Theory and Practice of Recursive Identification*, MIT Press, Cambridge, MA. (1983). [ Links ]

4. Nehorai, A. "A minimal Parameter Adaptive Notch Filter With Constrained Poles and Zeros", *IEEE Trans. Acoust., Speech Signal Proc.*, *IEEE Trans. Signal Proc.*, **43**, 983-996 (1985). [ Links ]

5. Ng, T. S., "Some Aspects of an Adaptive Digital Notch Filter With Constrained Poles and Zeros", *IEEE Trans. Acoust., Speech Signal Proc.*, **35**, 158-161 (1987). [ Links ]

6. Regalia, P. A., S. K. Mitra and P. P. Vaidyanathan, "The Digital All Pass Filter: A Useful Signal Processing Building Block", *Proc. IEEE*, **76**, 19-37 (1988). [ Links ]

7. Regalia, P. A., "An Improved LatticeBased Adaptive IIR Notch Filter", *IEEE Trans. Signal Proc.*, **39**, 2124-2128 (1991). [ Links ]

8. Regalia, P. A., "Stable and Efficient Lattice Algorithms for Adaptive IIR Filtering", *IEEE Trans. Signal Proc.*, **40**, 375-388 (1992). [ Links ]

9. Regalia, P. A., Adaptive IIR Filtering in Signal Processing and Control, Marcel Dekker, NY (1995). [ Links ]

10. Scoppa, J. P., "Nuevos algoritmos para filtros sintonizados adaptivos", *Final Project Dissertation*, Dept. of Electrical and Computer Engineering, Universidad Nacional del Sur, Dec. (2002). [ Links ]

11. Steiglitz, K. and L. E. McBride, "A Technique for the Identification of Linear Systems", *IEEE Trans. Automatic Control*, **10**, 461-464 (1965). [ Links ]

12. Stoica, P. and A. Nehorai, "Performance Analysis of an Adaptive Notch Filter With Constrained Poles and Zeros", *IEEE Trans. Acoust., Speech Signal Proc.*, **36**, 911-919 (1988). [ Links ]

13. Widrow, B., Glover, J. R., McCool, M. J., Kaunitz, C. S., Williams, J., Hearn, R. H., Zeidler, J. R., Dong, E. and Goodlin, R. C., "Adaptive noise cancelling: principles and applications", *Proc. IEEE*, **63**, 1692-1716 (1975). [ Links ]