The present subject matter relates generally to adaptive filters and in particular to method and apparatus to reduce entrainment-related artifacts for adaptive filters.
Digital hearing aids with an adaptive feedback canceller usually suffer from artifacts when the input audio signal to the microphone is periodic. The feedback canceller may use an adaptive technique, such as a N-LMS algorithm, that exploits the correlation between the microphone signal and the delayed receiver signal to update a feedback canceller filter to model the external acoustic feedback. A periodic input signal results in an additional correlation between the receiver and the microphone signals. The adaptive feedback canceller cannot differentiate this undesired correlation from that due to the external acoustic feedback and borrows characteristics of the periodic signal in trying to trace this undesired correlation. This results in artifacts, called entrainment artifacts, due to non-optimal feedback cancellation. The entrainment-causing periodic input signal and the affected feedback canceller filter are called the entraining signal and the entrained filter, respectively.
Entrainment artifacts in audio systems include whistle-like sounds that contain harmonics of the periodic input audio signal and can be very bothersome and occurring with day-to-day sounds such as telephone rings, dial tones, microwave beeps, instrumental music to name a few. These artifacts, in addition to being annoying, can result in reduced output signal quality. Thus, there is a need in the art for method and apparatus to reduce the occurrence of these artifacts and hence provide improved quality and performance.
This application addresses the foregoing needs in the art and other needs not discussed herein. Method and apparatus embodiments are provided for a system to avoid entrainment of feedback cancellation filters in hearing assistance devices. Various embodiments include using a gradient adaptive lattice filter to measure an acoustic feedback path and monitoring the gradient adaptive lattice filter for indications of entrainment. Various embodiments include comparing a time adjusted forward error across stages of the gradient adaptive lattice filter to a threshold for the indication of entrainment of the gradient adaptive lattice filter. Various embodiments include suspending adaptation of the gradient adaptive lattice filter upon indication of entrainment.
Embodiments are provided that include a microphone, a receiver and a signal processor to process signals received from the microphone, the signal processor including an adaptive feedback cancellation filter, the adaptive feedback cancellation filter adapted to provide an estimate of an acoustic feedback path for feedback cancellation. Various embodiments include a gradient adaptive filter with one or more reflection coefficients and a signal processor programmed to compare at least one of the one or more reflection coefficients to a threshold for indication of entrainment of the gradient adaptive lattice filter. Various embodiments provided include a signal processor programmed to suspend the adaptation of the gradient adaptive filter upon an indication of entrainment of the gradient adaptive filter.
This Summary is an overview of some of the teachings of the present application and is not intended to be an exclusive or exhaustive treatment of the present subject matter. Further details about the present subject matter are found in the detailed description and the appended claims. The scope of the present invention is defined by the appended claims and their legal equivalents.
The following detailed description of the present invention refers to subject matter in the accompanying drawings which show, by way of illustration, specific aspects and embodiments in which the present subject matter may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the present subject matter. References to “an”, “one”, or “various” embodiments in this disclosure are not necessarily to the same embodiment, and such references contemplate more than one embodiment. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope is defined only by the appended claims, along with the full scope of legal equivalents to which such claims are entitled.
In some embodiments, order recursive structures may be used in FPGA and VLSI implementation of feedback cancellers due to their modularity and lattice like structure, which may be key features for ease of implementation. In addition, they are immune to finite word length instabilities. Gradient adaptive lattice (GAL) filters are a type of order recursive lattice structures used for predicting and noise cancellation. GAL algorithms have a built in de-correlative property and, therefore, perform well in the presence of correlated input signals. In various embodiments, this de-correlative property is exploited to avoid entrainment in systems by modifying the gradient adaptive lattice filter. Entrainment avoidance is accomplished using a GAL to determine magnitude of the reflection coefficients, which is an indication of entraining behavior. Evaluating the coefficient magnitudes against a threshold or threshold formula allows a signal processor to change the adaptation rate to avoid entrainment. From a computational view point, using GAL structures for non-entraining feedback cancellers is attractive. These algorithms have superior convergence behavior compared to traditional LMS algorithms.
The basic principle of GAL algorithms is to select an estimate for the reflection coefficient that minimizes the sum of the mean-square forward and backward residuals at the output of the mth stage. The optimum reflection coefficient of the mth stage of lattice predictor is obtained by minimizing the cost function,
J
m
=E{ƒ
n|m|2+|bn|m|2}
where ƒn|m 330 is the forward predictor error at time n and bn|m 331 is the backward predictor error, both at the output of the mth stage as shown in
ƒn|m=ƒ(n|m−1)+κn|mb(n|m−1),
and
b
n|m
=b
(n|m−1)+κn|m∫(n|m−1)
where κn|m 332 is the reflection coefficient of stage m. The input to the system can be considered as the zeroth-order forward and backward prediction errors, and the initialization for above recursions is given by ƒn|0=un 333 and bn|0=un 334 where un 307 is the output of the feedback canceller or input to the GAL filter. Substituting the above stage equations into the above cost function,
The gradient adaptive lattice (GAL) algorithm for minimization of the cost function Jm is implemented according to the recursive equation,
by substitution,
where ξ(n|m−1) is an estimation of energy given by,
when κm is a block estimate of the reflection coefficient. Alternatively, the energy estimate is derived as a one pole averaging filter of the prediction errors,
where β is the smoothing constant. The desired signal is estimated at each stage with error criteria of the stages, in other words, the desired signal 312 is estimated order recursively,
e
(n|m)
=y
n
−ŷ
(n|m)
where yn is the feedback leakage signal and ŷ(n|m) is the output of the mth stage, which is given by,
y
(n|m)
=y
(n|m−1)
−w
(n|m)
b
(n|m).
In a order recursive adaptive filtering algorithm, the reflection coefficients are updated directly from the error feedback built into the algorithm. The weight update 335 of the second stage is similar to a NLMS algorithm and it is given by,
where μ is the weight and B(n|m) can be calculated order recursively, since b(n|m) of each stage is orthogonal to each other,
In various embodiments, entrainment avoidance is achieved by determining the magnitude of the reflection coefficients, or the time adjusted forward error across stages and evaluating the coefficients against a predetermined threshold or threshold formula. When a correlated input signal is presented to the system the lattice stage de-correlates the signal to orthogonal components. As a result of the correlation, the reflection coefficients become larger. For an uncorrelated input signal, the reflection coefficients remain small. In various embodiments, the coefficients are evaluated after applying a smoothing filter. In various embodiments, a one pole smoothening filter is used to avoid false detections. In various embodiments, analysis is divided into two stages, a lattice predictor following a NLMS algorithm. The lattice predictor de-correlates the signal and feeds to the NLMS stage. For white noise the predictor is unable to model the signal and the reflection coefficients are small. For correlated inputs the successive modes are modeled by the successive stages similar to Gram-Schmidt orthogonalization. The system identifies input signal correlation by evaluating the coefficients against a predetermined threshold determined by
where K is an empirical constant and M is the number of stages in the lattice. If the criteria is exceeded the adaptation is stopped. This condition is evaluated regularly to restore the adaptation of the system.
The forward prediction error is in turn related to the κ(n|m), since when κ(n|m)≈0 the ƒ(n|M−1)≈ƒ(n|M−2) and ƒ(n|M−1)≈ƒ(n|0) by time delaying and averaging the difference in ƒ(n|m), and by looking into the variance of f(n|m) enable the stopping of adaptation before entrainment.
This application is intended to cover adaptations or variations of the present subject matter. It is to be understood that the above description is intended to be illustrative, and not restrictive. The scope of the present subject matter should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
This application claims the benefit under 35 U.S.C. 119(e) of U.S. Provisional Patent Application Ser. No. 60/862,533, filed Oct. 23, 2006, the entire disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
60862533 | Oct 2006 | US |