The invention relates to an anti-feedback system, especially to a probe noise signal in an anti-feedback system in an audio system, e.g. a hearing aid, in particular in a sound processor.
Hearing aid feedback cancellation systems (for reducing or cancelling acoustic feedback from an ‘external’ feedback path from output to input transducer of the hearing aid) according to the prior art may comprise an adaptive filter, which is controlled by a prediction error algorithm, e.g. an LMS (Least Means Squared) algorithm, in order to predict and cancel the part of the microphone signal that is caused by feedback from the receiver of the hearing aid.
In feedback cancellation systems, it may be desirable to add a probe signal to the output signal. This probe signal can be used as the reference signal to the algorithm, as shown in
Prior art feedback cancellation systems comprising a probe or noise generator used in the feedback path are e.g. disclosed in U.S. Pat. No. 5,680,467, U.S. Pat. No. 5,016,280 and EP 1203510. WO 2004/105430 describes a method and apparatus for suppressing oscillation in a signal identified as or suspected of containing an oscillation due to feedback. The method involves converting the signal into frequency bands in the frequency domain, applying, for a selected period of time, a randomly changing phase to the signal in at least one of said frequency bands, and reconverting the converted signal into an output wave form signal. The method is “breaking the loop” by randomizing the phase.
Ideally, the probe signal should be un-correlated with the acoustic input signal, be inaudible and have as much energy as possible. White noise signals have been proposed in some prior art references, but the level of the noise then has to be low in order to remain inaudible. Lower levels of the reference signal will usually cause less accurate estimation of the feedback path, or slower adaptation of the system.
It is an object of the invention to propose a scheme for generating an improved probe signal. It is a further object that the probe signal is as close to the ideal as possible. It is a further object that the probe signal uses a minimum of computational power. It is a further object that the scheme is adaptable to the characteristics of an audio input signal. It is a further object to provide a hearing aid comprising a noise generator and a feedback cancellation system comprising an adaptive filter wherein the input reference signals to the adaptive filter are less correlated than without the noise generator. The probe/noise signal will be added to the captured signal, and thereby it will not break the loop, but provide an identification signal for the adaptive algorithm.
In the following, the terms probe signal, noise (signal) and probe noise (signal) are used interchangeably and not intended to imply differences in properties of the corresponding signals.
According to an aspect of the invention, a (digitized) noise signal is injected into the audio signal path, e.g. of a hearing aid, (comprising a microphone input signal digitized with sampling frequency fs and possibly further digitally processed) between the microphone and the receiver, and this noise signal is generated by the following steps:
In an embodiment, the noise signal is used in the estimation of acoustic feedback from the receiver to the microphone.
In an embodiment, the phase values are adapted to provide that the correlation coefficient is at least 10% decreased, such as at least 20% decreased, such as at least 30% decreased, such as at least 50% decreased, such as at least 70% decreased, such as at least 80% decreased, such as at least 90% decreased, such as at least 95% decreased.
According to a further embodiment of the invention a method of generating a probe noise signal for use in feedback cancellation in an acoustic system, such as a hearing aid is provided. The method comprises:
When using the method according to the invention it becomes possible to generate a probe noise signal, which is very close to an ideal noise signal. It will be difficult to hear the probe noise signal when added to the captured audio signal and played to the human ear. The probe noise signal will have the same magnitude spectrum as the ideal signal and it is therefore easily masked by signal components of the audio signal.
The term ‘substantially un-correlated’ is in the present context taken to mean that the two signals in question, here the original and artificial phase signals, are substantially independent. In an embodiment, ‘substantially un-correlated’ is taken to mean having a covariance that is substantially zero. In an embodiment, the correlation (or correlation coefficient) between the two signals over a specific frequency range (such as e.g. from 1 kHz to fs/2, where fs is the sampling frequency) is in the range from −50% to +50%, such as from −30% to +30%, such as from −10% to +10%, such as from −5% to +5%, such from −2% to +2%, such as from −0.5% to +0.5%, such as from −0.05% to +0.05%, such as essentially zero.
In an embodiment, the sampling frequency f, is in the range from 4 kHz to 40 kHz, such as e.g. in the range from 8 kHz to 24 kHz, such as around 12 kHz or 16 kHz or 20 kHz.
In an embodiment, the method further comprises d. storing consecutive values of the digitized probe noise signal r(n).
In an embodiment of the invention, the artificial phase values Phase′[U(k)] are substantially un-correlated to phase values Phase[U(k)] of the captured signal. According to an embodiment of the invention, the artificial phase values of the generated probe noise signal in c. are generated by a random generator. This assures that the noise signal is un-correlated with the original signal at all times and irrespective of the properties of the original signal. According to another embodiment of the invention the artificial phase values of the generated probe noise signal in c. are set to a fixed value. This is an easy way to assure that the noise signal is not correlated with the original signal, if the input phase is random (or not fixed). Alternatively, the probe noise signal could be frequency shifted compared to the captured signal. This could be useful at least for a short period, to avoid build up noise from the probe noise system. Alternatively, the artificial phase values of the generated probe noise signal are set to a number of different constant values each corresponding to a different frequency range (e.g. one (e.g. relatively lower) value at lower frequencies and another (e.g. relatively higher) value at higher frequencies).
In an embodiment, the method further comprises a windowing-process a.1. prior to b. to reduce border effects when the transform is applied to a u(n) vector. Examples of windowing functions with appropriate frequency response characteristics are e.g. discussed in J. G. Proakis, D. G. Manolakis, Digital Signal Processing, Prentice Hall, New Jersey, 3rd edition, 1996, ISBN 0-13-373762-4, chapter 8.2.2 Design of Linear-Phase FIR filters Using Windows, pp. 623-630.
In an embodiment, the method further comprises b.1. scaling the magnitude values of the probe noise signal according to the magnitude values Mag[U(k)] of the captured audio signal in b such that the probe noise signal remains substantially inaudible when added to the captured audio signal and played to the human ear.
In an embodiment, masking effects are taken into account in order to determine the maximum allowable magnitude values of the probe noise signal such that the probe noise signal remains substantially inaudible when added to the captured audio signal and played to the human ear. The term masking is defined as the process (or amount [dB]) by which the threshold of audibility for one sound is raised by the presence of another (masking) sound. Masking effects can in general be observed if the ‘masking’ and ‘masked’ sounds occur simultaneously or at different instances in time. In an embodiment, simultaneous masking is used. Masking effects are well known and have been used previously in e.g. audio storing and reproduction systems (cf. e.g. MPEG-1, Audio Layer 3 (MP3), cf. e.g. ISO/MPEG Committee, Coding of moving pictures and associated audio for digital storage media at up to about 1.5 Mbit/s—part 3: Audio, 1993, ISO/IEC 11172-3, or T. Painter, A. Spanias, Perceptual coding of digital audio, Proceedings of the IEEE, vol. 88, 2000, pp. 451-513). The benefit of the use of masking effects in connection with the method is that it allows a louder noise signal to be used without being audible to the user. Thus a more efficient feed-back cancellation system is provided. In the present context, the masking signal is the digitized input signal from the input transducer (appropriately processed by a signal processing unit according to a user's needs) and the signal to be masked by the masking signal is the probe noise signal. Masking effects are generally discussed in B. C. J. Moore, ‘An Introduction to the Psychology of Hearing’, Elsevier Academic Press, 2004, Chapter 3.
In an embodiment, the method further comprises b.2. scaling the magnitude values of the probe noise signal to remain below the hearing threshold of an ear of a person to whom the signal is presented.
In an embodiment, the conversion to the frequency domain (b.), the generation of artificial phase values, and the conversion of the magnitude values and artificial phase values back to a time domain signal (c.) is performed in overlapping batches, whereby the probe noise signal is generated by adding the generated noise signal from overlapping batches after subjecting each batch to a windowing function c.1. The conversion to and from the frequency domain is preferably performed by a Fast Fourier Transform (FFT) and Inverse FFT process, respectively. Here a number N_fft of signal amplitude values are processed in a batch process. In order to allow a smooth transition from batch to batch, overlapping of the batch processing and adding under a windowing function is suggested. It should be noted that the FFT process is one of several processes available for going from time to frequency domain. Presently the FFT process is the best known and best documented digital process and therefore it is preferred and referred to in the following. Other ways of performing the frequency transformation could be used, however, including e.g. DHT (discrete Hartley transform), FHT (fast Hartley transform), cosine, etc.
In an embodiment, the method further comprises e. deriving signal parameters from the captured sound signal for f. controlling the conversion of the captured signal from the time to frequency domain. The signal parameters in question are primarily the parameters, which anyway will be determined in a hearing aid for controlling noise damping, directionality, program choice and frequency shaping. Of actual parameters speech to noise ratio, feedback detector, wind noise detector and frequency shape of the signal could be mentioned. The way in which the FFT conversion is controlled is preferably by way of determining the number of digital signal values used in each conversion. Here a narrow bandwidth of the captured microphone signal should promote the use of a long FFT and a broadband microphone signal should promote a shorter FFT being used. In other words, a signal which is concentrated in frequency should promote a long FFT and a signal which is concentrated in time should promote a short FFT. The terms ‘short’ and ‘long’ in connection with the FFT refers to number of samples in the FFT (cf. parameter N_fft later).
In an embodiment, the method further comprises h. determining a modulation level parameter (e.g. a fast changing level) from the captured signal and using it for generating the probe noise signal. In an embodiment, the method further comprises g. determining a size parameter for controlling the size of the series of magnitude values generated in the frequency domain and using it for generating the probe noise signal. In an embodiment, the number of samples in each transform in b. is adapted to the rate of change of the digitized audio signal, e.g. by adapting the size parameter in g., preferably to decrease the number of samples N_fft per FFT frame, the higher the rate of change of the audio signal (or vice versa).
In an embodiment, the method provides that the digitized probe noise signal r(n) is added to the captured audio signal u(n), or to an optionally delayed version u′(n) of the audio signal, the delay being adapted to the delay incurred by the process of generating the probe noise signal.
Preferably, the overall level of the probe noise signal is controlled by the properties of the captured signal (cf. h.->b.1., cf.
In a further aspect, a method for cancelling feedback in an acoustic system is provided. The acoustic system comprises a microphone, a signal path, a speaker, an (electrical) feedback path comprising a feedback estimation unit, e.g. comprising an adaptive feedback cancellation filter, for compensating at least partly a possible feedback signal between the speaker and the microphone, where e.g. an adaptive algorithm for generating filter coefficients for the adaptive feedback cancellation filter is used, and where a probe noise signal for use as an input to the feedback estimation unit, such as to the adaptive algorithm, is generated by:
In an embodiment, the feedback estimation unit comprises an adaptive filter comprising a variable filter part and an update algorithm part. Alternatively, the feedback estimation unit can be implemented in other appropriate ways.
In an embodiment, the signal path comprises a digital signal processor (e.g. for providing a frequency dependent hearing profile). In an embodiment, the probe noise signal is used as a reference signal to the adaptive algorithm (e.g. an LMS- or an RLS-algorithm). In an embodiment, the output signal (for being fed to a DA-converter to provide an analogue input to the speaker, cf. signal u(n)+r(n) in
In a further aspect, a probe noise signal generator for use in feedback cancellation in an acoustic system is provided. The probe noise signal generator comprises
In an embodiment, the probe noise signal generator further comprises d. An output buffer for storing consecutive values of the digitized probe noise signal r(n).
In an embodiment, the generating unit c. comprises a random generator for generating artificial phase values of the generated noise signal. In an embodiment, the generating unit c. comprises a fixed value generator for generating artificial phase values of the generated noise signal.
In an embodiment, the probe noise signal generator comprises an adding unit for adding the digitized probe noise signal r(n) and the captured, digitized audio signal u(n). In an embodiment, the probe noise signal generator comprises a delay unit in the forward path to compensate for the possible delay incurred by the probe noise generator.
The probe noise generator has the same advantages as the method of generating a probe noise signal described above, in the detailed description and in the claims. The features of the method—in an equivalent structural form—are intended to be combined with the probe noise signal generator, where appropriate.
In a further aspect, use of a probe noise signal generator as described above, in the detailed description and in the claims in a head worn acoustic system, such as a hearing aid or a headset or a pair of headphones is provided.
In a further aspect, a hearing aid comprising a probe noise signal generator as described above, in the detailed description and in the claims or a probe noise signal generator obtainable by a method as described above, in the detailed description and in the claims is provided.
In an embodiment, the hearing aid comprises a microphone, a forward or signal path, a speaker, an (electrical) feedback path comprising an adaptive feedback estimation or cancellation unit (e.g. an adaptive filter, e.g. a FIR or IIR filter) for compensating at least partly a possible (external) feedback signal between the speaker and the microphone. In an embodiment, the probe noise signal is used by the adaptive feedback estimation or cancellation unit (e.g. together with a signal from the forward path) to estimate the acoustic feedback. The output from the feedback estimation or cancellation unit is used to compensate or cancel acoustic feedback. In an embodiment, the forward path comprises a delay unit to fully or partially compensate for a possible delay incurred by the probe noise generator. In an embodiment, the feedback path comprises and adaptive feedback cancellation filter with an adaptive algorithm for generating filter coefficients for the adaptive feedback cancellation filter. In an embodiment, the signal path comprises a signal processing unit (e.g. for shaping the frequency dependence of the input signal according to a particular profile). In an embodiment, the signal path further comprises an AD-converter for digitizing the analogue input from the microphone. In an embodiment, the signal path further comprises a DA-converter for creating an analogue output signal as input to the speaker. In an embodiment, the output signal u(n) from the signal processing unit is used as an input to the probe noise generator. In an embodiment, the probe noise signal r(n) from the probe noise generator is fed to the adaptive algorithm and used as a reference signal. In another embodiment, a sum of the output signal u(n) from the signal processing unit and the probe noise signal r(n) (i.e. signal u(n)+r(n)) is used as an input signal to the adaptive filter (e.g. FIR-filter). In an embodiment, the probe signal generator is implemented in the signal processing unit as a part of the same integrated circuit.
The basic idea of a probe noise generator according to the invention is to generate a probe noise signal r(n) that has the same or a similar spectrum as the output signal u(n) but is less correlated to u(n), so that the input reference signals (cf. e.g. signals e(n) and r(n) in
In an embodiment, the hearing aid comprises an input transducer for converting an input sound to an electric input signal and an output transducer for converting a processed electric output signal to an output sound, a forward path being defined between the input transducer and the output transducer and comprising a signal processing unit defining an input side and an output side of the forward path, a feedback loop from the output side to the input side for estimating the effect of acoustic feedback from the output transducer to the input transducer and comprising an adaptive FBC filter comprising a variable filter part for providing a specific transfer function and an update algorithm part for updating the transfer function of the variable filter part, the update algorithm part receiving first and second update algorithm input signals from the input and output side of the forward path, respectively, wherein the input signal to the update algorithm part from the output side of the forward path includes (such as is equal to) the digitized probe noise signal from the noise generator. In an embodiment, the input signal to the variable filter part from the output side includes (such as is equal to) the sum of the digitized probe noise signal from the noise generator and the output from the signal processing unit. In an embodiment, the input to the update algorithm part from the output side includes the digitized probe noise signal from the noise generator and the output from the signal processing unit (such as is equal to the sum of said signals).
In an embodiment, the variable filter part of the FBC filter receives an input from the output side of the forward path and delivers an output, which is subtracted from the electric input signal to provide a feedback corrected input signal, which is used as an input to the signal processing unit and to the algorithm part of the adaptive filter.
In an embodiment, the input to the variable filter part of the FBC filter from the output side includes (such as is equal to) the digitized probe noise signal from the noise generator.
In an embodiment, the output from the signal processing unit is an input to the probe noise signal generator. In an embodiment, the electric input signal is adapted to be digital. In an embodiment, the processed electric output signal is adapted to be digital.
In an embodiment, the hearing aid is adapted to provide that the digitized probe noise signal r(n) from the noise generator is added to the captured, digitized audio signal u(n).
In an embodiment, the sum signal r(n)+u(n) is used as an input to the variable filter part of the adaptive filter. In an embodiment, the hearing aid is adapted to provide that the digitized audio signal u(n) is delayed corresponding to the delay in the probe noise signal generator to align r(n) and u(n) in time when they are added. Referring to
It is intended that the various features mentioned above, in the detailed description and in the claims can be combined in the different embodiments of the invention where appropriate.
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.
As used herein, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, 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 maybe present. 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 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. Throughout, the same reference numerals or letters are used for identical or corresponding parts.
In the following, embodiments of the invention exemplified in relation to hearing aids are discussed. The examples may likewise be implemented in relation to other audio systems.
A hearing aid according to an embodiment of the invention is shown in
The hearing aid 1 shown in
e shows another embodiment of a hearing aid 1 according to the invention. Compared to the embodiment shown in
According to an embodiment of the invention, the probe noise generator (9 in
Step a.: Store consecutive u(n) values in an input puffer, u(n), u(n-N_fft).
Step b.: Perform a transformation (e.g. an FFT transformation) on the u(n) values in the buffer, whereby magnitude and phase values are generated.
With a FFT, the transform is computed as:
Where k is the bin number (containing data corresponding to a specific frequency component), ωN
The magnitude and phase is then computed as
Mag(k)=|U(k)|
phase(k)=∠U(k)
such that
U(k)=Mag(k)ei*phase(k)
Due to the signal u(n) being real valued, the magnitude will be symmetric around N_fft/2 and the phase will be asymmetric around N_fft/2
Mag(k)=Mag(N—fft−k), k=1, 2, . . . , N—fft−1
phase(k)=−phase(N—fft−k), k=1, 2, . . . N—fft−1
The original signal can be recreated by the inverse transform:
Step c.: The magnitude values are inputs to an inverse FFT transformation, and here also phase values are needed. If the original phase values from the FFT transformation are used, the signal would ideally by an exact copy of the input signal u(n) and maximum correlation would be obtained. This is not wanted, and in order to get a signal, which is completely un-correlated to the u(n) signal, the inverse FFT is based on phase values which have no correlation to the phase values from the FFT. According to an embodiment of the invention, such phase values are obtainable by using a phase that is independent of the original phase. This can be obtained either by setting a constant phase, assuming that the original phase varies in a stochastic manner or by generating random phase values. Both would assure that the resulting noise signal would be un-correlated to the original signal u(n). The used phase should be asymmetric around N_fft/2 in order to give a real valued signal in the time domain.
Step d.: The generated noise signal values are stored in an output buffer r(n+1), . . . , r(n+N_fft) wherefrom they are optionally fed through an attenuation step and added to the output signal u(n) before entering the DA converter.
In
Prior to the transform in step b., a windowing-process step a.1. is performed to reduce border effects when the transform is applied to a vector. After the transformation in step b., the magnitude is modified (e.g. based on psycho acoustical masking effects) in a modification step b.1. so that the magnitude after this modification represents the maximum magnitude of a signal that can be presented together with the original signal, while being inaudible. In an embodiment, the magnitude is modified to give the highest possible noise level and still be inaudible to the user. The noise level could be determined by a perceptual model. Upward spread of masking causes signals with higher frequency than the original signal to be inaudible, if presented at levels up to a limit. This limit varies with the frequency of both the original and the added signal. Downward spread of masking is the corresponding effect for tones with lower frequency than the original signal. Downward spread of masking is less pronounced than upward spread of masking. In a subsequent optional maximizing step b.2., the magnitude is increased to the individual hearing threshold, if it was lower than this. The magnitude can be increased to this level while still being inaudible as the hearing threshold is the lower limit for audible signals. The magnitudes can e.g. be adapted to an individual hearing profile or be based on a ‘typical’ profile.
The resulting magnitudes are then combined with a new phase vector to get a signal that is un-correlated to the original signal u(n) when inversely transformed in step c. to the time domain. A windowing step (c.1.) can finally be applied to the time domain signal to avoid border effects.
The probe noise generator can preferably generate the noise in batches with size given by the size of the transform (FFT). Here, the term ‘size’ is taken to mean the number of samples in the FFT (N_fft). These batches will usually be mutually un-correlated as they are generated with random phase. The transition from one batch to the next may then have a discontinuity. Thus it is useful to use overlapping batches and a windowing function to get a smooth transition between batches (cf. step c.1.).
The transforms are preferably performed more frequently than once every N_fft sample and samples of the signal u(n) can preferably be used in more than one batch. The is processing will then produce a new batch of signals before the last batch has been shifted out. The signals of the two batches are then added to get the probe signal. A window function can preferably be applied to the batches before the addition to reduce border effects.
In
In this embodiment of the invention, the FFT conversion and generation of the probe noise signal is guided by signal parameters, which are generated in other parts of the instrument. Examples of such signal parameters could e.g. be transient detection, fast level estimation, howl detection, music detection parameters. The signal parameters are captured in bloc e. and routed to a controller block f. In controller block f., size parameters and level parameters are determined (from the captured signal parameters) and separated and routed to size block g. and level block h., respectively.
From size block g., controlling parameters are routed to all the blocks used to generate the noise (cf. arrow from size block g. to the solid frame representing blocks a.-d., as e.g. implemented by the embodiment of
As an example, the FFT size controlled by block g. could switch between 64 and 512 samples. A size of 512 samples is preferably used when a high frequency resolution is desirable (and a relatively slower calculation is acceptable) and a size of 64 samples is used when changing characteristics are required (i.e. a relatively faster calculation is preferred). The FFT size controls the number of samples N_fft buffered in input buffer block a., the length of the window used in windowing block a.1., the size of the FFT in transform block b., the number of magnitudes to modify in modification block b.1., the number of values in modification block b.1. to be used in the Max function block b.2. after block b.1., the number of phases that the random phase generator (giving inputs to the inverse transform block c.) should give, the size of the inverse transform in block c., the size of the window in windowing block c.1., and the size of the buffer in output buffer block d.
From level block h., level parameters are routed to modification block b.1., max block b.2. and gain block i., respectively. Gain block i. is a gain setting block, which determines the gain of the outputted noise signal. The gain block i. corresponds to the block represented by a triangular symbol (denoted ‘attenuation’) in
The block h. provides the option of rapidly reducing the level of the noise if there is a fast reduction of the level of the signal u(n). The level of the noise can then be reduced by adjusting the gain of block i. The level block can also be used to control how the magnitude is modified in block b.1. (e.g. by controlling the masking effect). If the signal is a pure tone, the magnitude of the noise has to be reduced more than if it is a broad band signal.
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.
Number | Date | Country | Kind |
---|---|---|---|
07112147.9 | Jul 2007 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2008/058156 | 6/26/2008 | WO | 00 | 1/8/2010 |