The present invention relates to acoustic feedback cancellation, finding application in hearing aids and further audio devices. The invention relates specifically to a method of estimating an acoustic feedback path in a listening system, e.g. a hearing aid system. The invention relates in particular to a method of estimating the influence of ambient noise on an adaptive filter in steady state.
The invention furthermore relates to a hearing aid system, a computer readable medium and a data processing system.
The invention may e.g. be useful in applications where acoustic feedback is a problem, such as in the fitting of hearing instruments to a user's particular needs.
Frequency dependent acoustic, electrical and mechanical feedback identification methods are commonly used in hearing instruments to ensure their stability. Unstable systems due to acoustic feedback tend to significantly contaminate the desired audio input signal with narrow band frequency components, which are often perceived as howl or whistle.
It has been proposed that the stability of a system may be increased by specifically altering its transfer function at critical frequencies [Ammitzboll, 1987]. This can, for example, be achieved with a narrow frequency specific stop-band filter, referred to as a notch-filter [Porayath, 1999]. The disadvantage of this method is that gain has to be sacrificed at and around critical frequencies.
More advanced techniques suggest feedback cancellation by subtracting an estimate of the feedback signal within the hearing instrument. It has been proposed to use a fixed coefficient linear time invariant filter for the feedback path estimate [Dyrlund, 1991]. This method proves to be effective if the feedback path is steady state and, therefore, does not alter over time. However, the feedback path of a hearing aid does vary over time and some kind of tracking ability is often preferred.
Adaptive feedback cancellation has the ability to track feedback path changes over time. It is also based on a linear time invariant filter to estimate the feedback path but its filter weights are updated over time [Engebretson, 1993]. The filter update may be calculated using stochastic gradient algorithms, including some form of the popular Least Mean Square (LMS) or the Normalized LMS (NLMS) algorithms. They both have the property to minimize the error signal in the mean square sense with the NLMS additionally normalizing the filter update with respect to the squared Euclidean norm of some reference signal. A more advanced method combines stochastic gradient algorithms with statistical evaluation of the AFC filter coefficients over time and employs control circuitry in order to ensure the filter coefficients to be updated adequately in noisy situations [Hansen, 1997]. The statistical evaluation is sensible to changes of the phase response and magnitude-frequency response of the feedback path.
Applications like the fitting of a hearing aid require an estimate of the acoustic feedback path of each subject, in particular of the magnitude-frequency response of the acoustic feedback path. In an open-loop configuration, as illustrated in FIG. 1.b), an estimate of the feedback path may be obtained from the frequency response of the adaptive AFC filter (AFC=Adaptive Feedback Cancellation) after convergence of the NLMS algorithm. Background or ambient noise during the measurement influences the convergence behaviour of the NLMS algorithm, contaminates the final state of the AFC filter coefficients and, consequently, yields a distorted estimate of the acoustic feedback path. In order to alleviate this problem, it has been proposed to measure the undesired background noise directly at some defined input using Fourier Transform (FT) based methods. However, these methods require additional algorithms like the Fast Fourier Transform (FFT) and do not reflect the implications on the obtained AFC filter coefficients in a straight forward way.
The invention solving the impact evaluation of the background noise on the convergence of the NLMS and final adjustment involves the calculation of the first-difference of a time-series of the AFC filter coefficients. During and after convergence, the changes of the AFC filter coefficients are monitored for some time and used as a measure for the background noise.
In the present context, the first-difference of a time series is taken to mean the series of changes from one period to the next. It is a sequence of filter coefficients h′(i,NTs), h′(i,2NTs), . . . , h′(i,(n−1)NTs), h′(i,nNTs), h′(i,(n+1)NTs), . . . , taken at successive iterations n=1, 2, . . . in time (nN)Ts, where Ts is a time step (a time step Ts can e.g. correspond to the time between successive samples, i.e. 1/fs, where fs is the sampling frequency of an analogue to digital converter) and NεN is a natural number. The first-difference Δh′(n) of h′(i,nNTs) at iteration n, is defined as Δh′(n)=h′(i,nNTs)−h′(i,(n−1)NTs), where each i=0, 1, 2, . . . , M represents one tab of the filter impulse response with order M.
An object of the present invention is to provide an alternative method of determining the quality of a feedback path measurement for an audio system, e.g. for a hearing instrument. Another object of the present invention is to provide an alternative method of determining the quality of the magnitude-frequency response of a feedback path measurement for an audio system, e.g. for a hearing instrument, while allowing the phase response of the feedback path to be altered during the measurement.
Objects of the invention are achieved by the invention described in the accompanying claims and as described in the following.
A Method of Estimating Ambient Noise:
An object of the invention is achieved by a method of estimating ambient noise in a listening system, the listening system comprising an input transducer for converting an input sound to an electrical input signal, including picking up an ambient noise, and an output transducer for converting an electrical output signal to an output sound, an electrical forward path being defined between the input transducer and the output transducer and providing a forward gain |G(f)|, f being frequency, the listening system further comprising an electrical feedback path comprising an adaptive filter for estimating an acoustic feedback gain |H(f)| from the output transducer to the input transducer, the adaptive filter comprising a variable filter part and an algorithm part, the variable filter part providing an estimate of the acoustic feedback path based on filter coefficients h′(i,nNTs) determined by the algorithm part, where each i=0, 1, 2, . . . , M represents one tab of the impulse response with the filter order of M, nNTs being a time instance. The method comprises, a) monitoring the energy of the first-difference of the filter coefficients h′(i,nNTs) over time and b) applying a predefined threshold criterion to the change in energy content from one time instance to another to determine an acceptable impact of the ambient noise.
This has the advantage of providing a criterion which may be used to account for the impact of stationary and non-stationary background noise during the feedback path measurement.
In an embodiment, the variable filter part provides an estimate (only) of the magnitude-frequency response |H(f)| of the acoustic feedback path. The above criterion has the advantage that it is resistant to changes of the phase response of the feedback path during the measurement.
The term ‘estimating ambient noise’ is intended to include deciding or detecting whether or not the ambient noise level is above or below a threshold level.
In a particular embodiment, the method comprises providing a probe signal, e.g. a broad-band noise-like signal, at a predefined initial level (i.e. a predefined magnitude and/or power density spectrum) and inserting said signal in the electrical forward path of the listening system. In an embodiment, the probe signal is inserted as an alternative to the normal input signal originating from the input transducer. This is termed a measurement mode. In an embodiment, a (possibly weighted) combination of the probe signal and the normal input signal originating from the input transducer is inserted in the forward path. In an embodiment, the probe signal is a white noise like signal with zero mean and variance r.
In a particular embodiment, the method comprises calculating |κM(nNTs)|, the energy of the first-difference of the filter coefficients at two discrete successive time instances nNTs and (n−1)NTs, where n represents one specific iteration, Ts is a sampling period and NεN is a natural number.
In a particular embodiment, the method comprises that |κM(nNTs)|, the energy of the first-difference of the filter coefficients, determined at two time instances nNTs and (n−1)NTs, is determined by
where M is the order of the AFC filter h′(i,nNTs).
The first part of the expression for κM(nNTs)
represents the energy of the first-difference of the filter coefficients from one time unit to the next.
The second part
represents the sign of the growth of the energy from one time instant to the next. For example, κM(nNTs) will be positive, if the energy of the first-difference from one time instant to the next one grows, and κM(nNTs) will be negative, if the energy is reduced.
In a particular embodiment, the method comprises that a threshold level κT for κM(nNTs) may be based on approximated expressions for the mean square error [Gunnarsson, 1989], e.g. given by
where μ0 is the step size parameter of the NLMS algorithm, V(k) a frequency domain representation (e.g. DFT(v(n)), where DFT is the Discrete Fourier Transform) of the input noise v(n) and U(k) a frequency domain representation (e.g. DFT(u(n)) of the output reference signal u(n) (cf. e.g.
In an embodiment, a predefined minimum level of ambient noise is applied or ensured during measurement of the energy of the first-difference of the filter coefficients. In general, the noise may vary during the measurement. In an embodiment, the level of ambient noise is substantially constant during measurement of the energy of the first-difference of the filter coefficients.
According to the method of the present disclosure, the energy of the difference of the filter coefficients is sensible to changes of the magnitude response only, whereas the phase response is disregarded to a large extent, whereby the measurement is robust to changes of the phase response.
During fitting of a hearing aid to a particular user's needs, an audiologist makes measurements estimating the feedback path. In an embodiment, ambient noise is estimated according to the present method during such fitting, and the audiologist is informed, if too much background noise is present for a successful measurement to be performed, in which case he or she can perform another measurement.
A Method of Measuring Critical Gain in a Listening System:
In an aspect, a method of calculating critical gain in a listening system, e.g. a hearing instrument, is provided, the method using the method of estimating ambient noise described above, in the detailed description of ‘mode(s) for carrying out the invention’ and in the claims.
In an embodiment, the method comprises determining critical gain GCritical(f,nNTs)=1/|H′(f,nNTs)|, where H′(f,nNTs)=FT(h′(i,nNTs)) represents an estimate of the transfer function of the actual acoustic feedback path H(f,nNTs) in the frequency-domain f. In an embodiment, the critical gain is determined according to the method during fitting of a hearing instrument to a particular user's needs, e.g. by an audiologist. In an embodiment, the critical gain measurements are performed separately for each frequency range or band.
A Computer-Readable Medium:
A tangible computer-readable medium storing a computer program is furthermore provided. The computer program comprises program code means for causing a data processing system to perform at least some (such as a majority or all) of the steps of the method described above, in the detailed description of ‘mode(s) for carrying out the invention’ and in the claims, when said computer program is executed on the data processing system.
A Data Processing System:
A data processing system is furthermore provided, the data processing system comprising a processor and program code means for causing the processor to perform at least some (such as a majority or all) of the steps of the method described above, in the detailed description of ‘mode(s) for carrying out the invention’ and in the claims.
A Listening System:
In an aspect, an object of the invention is achieved by A listening system comprising a listening device, the listening device comprising an input transducer for converting an input sound to an electrical input signal, including picking up an ambient noise, and an output transducer for converting an electrical output signal to an output sound, an electrical forward path being defined between the input transducer and the output transducer and comprising a signal processing unit providing a forward gain |G(f)|, f being frequency, the listening device further comprising an electrical feedback path comprising an adaptive filter for estimating the acoustic feedback gain |H(f)| from the output transducer to the input transducer, the adaptive filter comprising a variable filter part and an algorithm part, the variable filter part providing an estimate of the acoustic feedback path based on filter coefficients h′(i,nNTs) determined by the algorithm part, where each i=0, 1, 2, . . . , M represents one tab of the filter impulse response with order M at time instance nNTs at measurement iteration n, wherein the signal processing unit is adapted for monitoring the energy content of the filter coefficients h′(i,nNTs) over time and to detect whether the change in energy content from one time instance to another exceeds a predefined threshold criterion to determine an acceptable level of the ambient noise.
It is intended that the process features of the method described above, in the detailed description of ‘mode(s) for carrying out the invention’ and in the claims can be combined with the system, when appropriately substituted by corresponding structural features and vice versa. Embodiments of the system have the same advantages as the corresponding method.
In an embodiment, the variable filter part is adapted to provide an estimate of the magnitude-frequency response |H(f)| of the acoustic feedback path H(f). In an embodiment, the phase-response angle (H(f)) of the acoustic feedback path is not used for determining the threshold criterion.
In an embodiment, the listening system comprises a probe signal generator, e.g. a noise generator for generating a broad-band noise-like stimuli signal at a predefined initial level and a selector for selecting either the normal input based on the electric input signal or the noise stimuli signal based on a mode input and for inserting the output of said selector in the electrical forward path of the listening device, e.g. a hearing instrument, e.g. for use as an input to the signal processing unit. In an embodiment, the selector has at least two inputs and one output. In an embodiment, the output of the selector is one of the inputs. In an embodiment, the output of the selector is a weighted mixture of two or more of the inputs. In an embodiment, the output of the selector represents the signal of the electrical forward path at that location of the forward path (i.e. where the output signal fed to the output transducer originates from (is based on) the output of the selector). In an embodiment, the probe signal generator is adapted to provide a broad-band noise-like signal. In an embodiment, the probe signal generator is adapted to provide a white noise signal.
In a particular embodiment, the listening system is adapted to be, respectively, in a normal mode, wherein the normal input based on the electric input signal is used to generate the output signal fed to the output transducer, and in a measurement mode where the signal from the probe signal generator is used to generate the output signal fed to the output transducer.
In an embodiment, the listening system comprises a hearing aid system. In an embodiment, a listening device comprises a hearing instrument, a headset, a mobile telephone. In an embodiment, the listening system comprise a public address system, e.g. a karaoke system, or any other audio system where acoustic feedback (e.g. from a speaker to a microphone) may be a problem.
Use:
Use of a listening system as described above, in the detailed description of ‘mode(s) for carrying out the invention’ and in the claims is furthermore provided. In an embodiment, use of a listening system during fitting of a hearing instrument is provided.
Further objects of the invention are achieved by the embodiments defined in the dependent claims and in the detailed description of the invention.
As used herein, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well (i.e. to have the meaning “at least one”), unless expressly stated otherwise. It will be further understood that the terms “includes,” “comprises,” “including,” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being “connected” or “coupled” to another element, it can be directly connected or coupled to the other element or intervening elements may be present, unless expressly stated otherwise. Furthermore, “connected” or “coupled” as used herein may include wirelessly connected or coupled. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless expressly stated otherwise.
The invention will be explained more fully below in connection with a preferred embodiment and with reference to the drawings in which:
The figures are schematic and simplified for clarity, and they just show details which are essential to the understanding of the invention, while other details are left out.
Further scope of applicability of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description.
a shows some of the functional blocks of a hearing aid system 1, comprising a forward path and an (unintentional) acoustical feedback path of a hearing aid. In the present embodiment, the forward path comprises an input transducer 11 for receiving an external acoustic input from the environment, an AD-converter, a selector SEL for selecting as an output one of two input signals (alternatively a mixer providing a weighted combination of two input signals, may be used), a processing part HA-DSP for adapting the signal to the needs of a wearer of the hearing aid, a DA-converter (optional) and an output transducer 12 for generating an acoustic output to a wearer of the hearing aid. The intentional forward or signal path and components of the hearing aid are enclosed by the solid outline. An (external, unintentional) acoustical feedback path Acoustic Feedback from the output transducer to the input transducer is indicated. The acoustic input signal to the microphone 11 is a sum of an acoustic feedback signal and an external acoustic input signal (symbolically added by SUM-unit ‘+’ preceding the microphone 11). The external acoustic input signal includes background or ambient noise. The hearing aid system additionally comprises an electrical feedback cancellation path for reducing or cancelling acoustic feedback from the ‘external’ feedback path from output to input transducer of the hearing aid (termed ‘Acoustic Feedback’ in
The signals of
The evaluation and impact of the background or ambient noise is crucial for several hearing instrument applications. For example, it may be required to measure critical gain GCritical(f)=1/H(f), where H(f) represents the transfer function of the Acoustic Feedback path in the frequency-domain f. The Acoustic Feedback path H(f) is estimated using an internal Noise Generator providing a broad-band noise-like signal W(f) and an adaptive filter comprising filter part Feedback estimate H′(f) and algorithm part NLMS Algorithm as illustrated in
{circumflex over (π)}(f,nNTs)≡E|H′(f,nNTs)−H(f,nNTs)|2,
where E is the expected value operator and |·|2 denotes magnitude squared of a generally complex argument ‘·’. The MSE strongly depends on the disturbing noise that is present during the measurement. Consequently, it is advantageous to have some background noise evaluation or monitoring going on while the measurement is running. Also, {circumflex over (π)}(f,nNTs) can not be calculated during runtime as the actual feedback path H(f,nNTs) is unknown.
Basic Idea for Monitoring the Influence of Ambient Noise on the Convergence of the Adaptive Filter:
The basic idea is to monitor the ambient (background) noise indirectly by monitoring the energy of the first-difference of the filter coefficients h′(i,nNTs)=IFT(H′(f,nNTs)) over time (IFT=Inverse Fourier Transform). This is done by reading the filter coefficients h′(i,nNTs) and calculating |κM(nNTs)|, the energy of the first-difference of the filter coefficients h′(i,nNTs) at each temporal iteration nNTs:
where h′(i,nNTs), i=0, 1, 2, . . . , M is the impulse response with order M of the adaptive FIR Filter with the frequency response H′(f,nNTs), estimating the actual acoustic feedback path H(f). Assuming H(f) to be steady state during the measurement, it can be shown for the NLMS algorithm that, after convergence, {circumflex over (π)}(f,nNTs)|n→∞ depends on the background noise v(n), the reference signal u(n) and the step size parameter μ0 by
where V(k)=DFT(v(n)) and U(k)=DFT(u(n)) (DFT=Discrete Fourier Transform). The time difference between each measurement tpause=NTs can e.g. be ≦5 s, such as ≦3 s, such as ≦2 s, such as in the range between 1 s and 2 s. Therefore, the determination of the background noise is obtained by comparing κM(nNTs) with some predefined threshold κT. As long as κM(nNTs) is above the chosen threshold κT, the ambient noise is considered to be negligible.
Consider a threshold level κT for the case U(k)=V(k), k=0, 1, 2, . . . , M, given by
And the initial condition: Filter coefficients h′(i,nNTs=0)=0. That is, the AFC filter coefficients are preferably set to zero at the beginning of the measurement. An example of an initial step size μ0 is 1/32.
To reliably detect a border between an acceptable and an unacceptable amount of ambient noise, the feedback path is considered to be steady state during the measurement procedure.
Measurement Procedure:
In an embodiment Ts=50 μs corresponding to a sampling frequency fs of 20 kHz. In an embodiment, N=20000, leading to tpause=NT=1 s.
In an embodiment, tpause is e.g. ≧1 s, such as ≧2 s, such as ≧5 s.
In an embodiment, the last iteration nstop corresponds to a time tstop=nstoptpause≧2 s, such as ≧15 s, such as ≧30 s.
In an embodiment, Δμ0=0.5·μ0. This is an so it is an example of a reduction in step size, which can be used when too much ambient noise is present, so that a measurement fails and the procedure has to restart with a smaller step size parameter μ0−Δμ0.
Typically, the threshold κT is independent on the signal type. In particular embodiments, however, different threshold levels κT are defined for different types of signals.
The critical gain GCritical(f, nstoptpause) is estimated by 1/H′(f, nstoptpause).
The invention is defined by the features of the independent claim(s). Preferred embodiments are defined in the dependent claims. Any reference numerals in the claims are intended to be non-limiting for their scope.
Some preferred embodiments have been shown in the foregoing, but it should be stressed that the invention is not limited to these, but may be embodied in other ways within the subject-matter defined in the following claims. Although the above examples of embodiments of the invention are in related to hearing aids, other fields of application where acoustic feedback may pose problems, including public address systems, can be envisaged.
Number | Date | Country | Kind |
---|---|---|---|
09167076 | Aug 2009 | EP | regional |
This nonprovisional application claims the benefit under 35 U.S.C. 119(e) of U.S. Provisional Application No. 61/230,954 filed on Aug. 3, 2009 and under 35 U.S.C. 119(a) to Patent Application No. 09167076.0 filed in European Patent Office on Aug. 3, 2009. The entire contents of all of the above applications are hereby incorporated by reference into the present application.
Number | Name | Date | Kind |
---|---|---|---|
4689818 | Ammitzboll | Aug 1987 | A |
5450494 | Okubo et al. | Sep 1995 | A |
5680467 | Hansen | Oct 1997 | A |
5999631 | Porayath et al. | Dec 1999 | A |
6072884 | Kates | Jun 2000 | A |
6185300 | Romesburg | Feb 2001 | B1 |
7885417 | Christoph | Feb 2011 | B2 |
20020176584 | Kates | Nov 2002 | A1 |
20050036632 | Natarajan et al. | Feb 2005 | A1 |
Number | Date | Country |
---|---|---|
2071873 | Jun 2009 | EP |
WO 2008000843 | Jan 2008 | WO |
WO 2008000843 | Jan 2008 | WO |
Entry |
---|
Dyrlund et al., “Acoustic feedback margin improvements in hearing instruments using a prototype DFS (digital feedback suppression) system”, Scand Audiol, 20, pp. 49-53 (1991). |
Engebretson et al., “Properties of an adaptive feedback equalization algorithm”, J Rehabil Res Dev, vol. 30, No. 1, pp. 8-16 (1993). |
Gunnarsson et al., “Frequency Domain Tracking Characteristics of Adaptive Algorithms,” IEEE Trans. Acoustics, Speech and Sig. Proc., vol. 37, No. 7, pp. 1072-1089 (1989). |
Number | Date | Country | |
---|---|---|---|
20110026725 A1 | Feb 2011 | US |
Number | Date | Country | |
---|---|---|---|
61230954 | Aug 2009 | US |