1. Technical Field
This invention generally relates to feedback in audio systems. More particularly, this invention relates to identifying a frequency of feedback and adaptive filtering of feedback signals in an audio system.
2. Related Art
An audio system typically includes an input transducer (microphone), an amplifier, a microprocessor and an audio output (loudspeaker). The input transducer receives sound into the system, the amplifier amplifies the sound, the microprocessor performs signal processing, and the audio output (loudspeaker) provides sound to users of the system. Many audio systems allow for a duplex operation, where sound may be input to the microphone while audio is provided at the speaker. However, when the microphone receives a portion of the audio provided at the speaker as an input, an unstable, closed-loop system is created, resulting in audio feedback.
Audio feedback is manifested as one or more audio feedback signals at the speaker, where each feedback signal may be modeled as a sinusoidal signal (i.e. the feedback signal(s) exhibit characteristics of a sinusoidal signal). To eliminate a particular feedback signal, the microprocessor converts the audio signal into a discrete (sampled) frequency spectrum representation, such as a Discrete Fourier Transform (DFT), Spectral Estimation, Filter Banks, or like representation. The conversion of the audio signal to the sampled frequency spectrum allows for a general identification of the frequency of the feedback signal. The frequency sample having the greatest magnitude in the discrete frequency domain is selected as the frequency of the feedback signal.
A notch filter is placed at the identified frequency of the feedback signal to eliminate that particular feedback signal. However, because of computational and memory limitations of the microprocessor, the sampling resolution of the sampled frequency spectrum representation is limited. Thus, the selected frequency sample does not provide an accurate estimate of an actual frequency of the feedback signal. Because the selected frequency sample is not an accurate estimate, a notch filter is utilized that has a significantly wider bandwidth and/or a greater cut-depth than what is actually necessary for filtering the feedback signal. The wider bandwidth and/or greater cut-depth are necessary to ensure that the feedback signal is eliminated from the output signal. However, the use of a wider bandwidth and/or greater cut-depth notch filter can degrade the audio quality of the sound at the speaker.
The computational and memory limitations of the microprocessor limits the number of notch filters that may be used to eliminate audio feedback signals. Where the number of feedback signals exceeds the number of notch filters available, some of the feedback signals cannot be eliminated by the system. The failure to eliminate at least some of the feedback signals may require a system gain to be reduced, resulting in degraded system performance.
This invention provides an audio system that identifies the frequency of a feedback signal using interpolative feedback identification. The interpolative feedback identification may be accomplished using frequency interpolation on a sampled frequency spectrum signal corresponding to a feedback signal. The feedback interpolation allows the frequency of the feedback signal to be identified, especially where the frequency of the feedback lies between samples of the frequency spectrum signal. The interpolation may include using samples of the sampled frequency spectrum signal to generate a unique quadratic (or higher order polynomial), which resembles the original main lobe of the feedback signal represented by the frequency spectrum signal. The polynomial may be constructed from the samples using polynomial interpolation, rational function interpolation, cubic spline interpolation, and the like. The peak of the polynomial and thus a representation/estimation of the actual frequency of the feedback signal may be determined, for example, by setting a derivative of the generated polynomial equation to zero. A narrowly tailored filter, such as a notch filter, may be placed at the determined frequency of the feedback to eliminate or reduce the feedback signal. The filter also reduces the effect on the audio signal quality provided by the audio system.
The audio system may adaptively filter multiple feedback signals using a single filter such as a notch filter. The adaptive filtering may include identifying frequencies of feedback in the audio signal, and determining which frequencies of feedback signals lie within a frequency window comprising adjoining samples of the sampled frequency spectrum. A filter, such as a notch filter is configured to filter out the frequencies identified as within a frequency range covered by the frequency window, thereby freeing-up notch filters for filtering other feedback signals, or for reducing memory and processing requirements for the microprocessor of the audio system. The frequency range covered by the frequency window may comprise any number of adjoining samples, and may be predetermined and/or configurable. Further, the frequency range covered by the frequency window may vary depending on the frequency band being examined, and/or the resolution of the sampled frequency spectrum.
Other systems, methods, features and advantages of the invention will be, or will become, apparent to one with skill in the art upon examination of the following figures and detailed description. It is intended that all such additional systems, methods, features and advantages be included within this description, be within the scope of the invention, and be protected by the following claims.
The invention can be better understood with reference to the following drawings and description. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention. Moreover, in the figures, like reference numerals designate corresponding parts throughout the different views.
The audio system 100 includes an audio input, i.e. a microphone 102, for receiving an audio signal. The microphone 102 is coupled with a microprocessor 104, which is capable of controlling operation of the audio system 100. The microprocessor 104 may perform any analog to digital conversions of audio signals received and digital signal processing. The microprocessor 104 is further capable of performing digital to analog conversions of audio provided by the audio system 100. The microprocessor 104 is coupled with an amplifier 106 capable of amplifying an output audio signal. Amplifier 106 is coupled with a loudspeaker 108 for providing the output audio signal to a user of the audio system. While a particular configuration is shown, the audio system may have other configurations, including those with fewer or additional components.
In the flowchart of
Bestimate=The estimated frequency of the feedback signal.
Bp=Peak (maximum) bin number.
Bp−1=Bin just below (in frequency) the peak bin number.
Bp+1=Bin just above (in frequency) the peak bin number.
Aestimate=Amplitude at the estimated frequency of the feedback.
Ap=Amplitude of the peak bin.
Ap−1=Amplitude of the bin just below (in frequency) the peak bin.
Ap+1=Amplitude of the bin just above (in frequency) the peak bin.
Bestimate is the estimated frequency of the feedback signal which may be determined using the interpolation techniques described below. Ideally, the frequency Bestimate will coincide with the actual frequency of the feedback signal. In any event, the frequency Bestimate is typically a more accurate estimate of the actual frequency of the feedback signal than the frequency Bp which is selected by systems of the prior art.
Interpolative feedback identification such as frequency interpolation provides a more accurate estimate of the actual frequency of feedback, and may be determined using samples of the DFT |S[k]|. Using the samples of the DFT signal |[S]|, a unique quadratic (or higher order polynomial) may be generated which resembles the original main lobe of the DTFT representing the feedback signal. A polynomial may be reconstructed from the sample points of the DFT |S[k]|. An interpolating polynomial for degree N−1 is illustrated as a LaGrange polynomial by:
Other interpolating polynomial techniques may be used, including polynomial interpolation, rational function interpolation, cubic spline interpolation and the like.
Applying the LaGrange polynomial equation to frequency interpolation (here, for a 2nd order quadratic) yields a feedback frequency equation f(B) of:
A peak of the quadratic curve, and thus an estimate/representation of the frequency of the feedback signal may be determined by solving for a maximum of f(B). Solving for the maximum may be accomplished, for example, by taking the derivative of f(B), and setting the derivative to zero, yielding the estimated feedback frequency Bestimate as:
The pole of the quadratic curve provides a more accurate representation of the frequency of the feedback signal than the frequency Bp of the peak bin alone. Where it is known that, prior to the interpolation, Ap is greater than both Ap+1, and Ap−1, it may be determined that the interpolated polynomial has no minimum at this location, and only a maximum. Thus, taking the derivative of the interpolation polynomial and setting it to zero yields the maximum, and thus the more accurate representation of the frequency of the feedback signal than the frequency Bp. However, where it is not known prior to the interpolation that Ap is greater than both Ap+1, and Ap−1, it may be necessary to determine that the frequency at Bestimate is a maximum and not a minimum of the quadratic equation.
To determine that the frequency at Bestimate is a maximum (and not a minimum) of the quadratic equation, a value Aestimate may be computed by the microprocessor 104 using the equation for f(B) above, representing the amplitude of the feedback signal at the interpolated frequency Bestimate. Aestimate may be compared with the values Ap+1 and A−1, which are amplitudes of the feedback signal at corresponding frequencies Bp and Bp+1, to ensure that Aestimate has the highest amplitude.
The interpolating 206 of
In contrast, feedback identification techniques using interpolative feedback identification provide a more accurate representation (here about 1000 Hz) of the actual frequency of feedback. Accordingly, a notch filter having characteristics shown at 1105 and 1205 of
The microprocessor 104 filters 1304 the feedback signal within the frequency range covered by the frequency window. The microprocessor 104 configures a filter for filtering out any frequencies a feedback signal determines to be within the frequency range. The filter may be a notch filter or other type of filter. The microprocessor may determine filter coefficients such as quality factor, cut-depth and a center frequency for the filter.
To determine whether the feedback frequencies lie within the frequency window 1405, a frequency differential Δf may be determined between feedback frequencies, for example by subtracting one frequency from another. For example, as shown in
A filter may be configured, for example by the microprocessor 104 at a center frequency fc within the frequency window 1405 having sufficient quality factor and/or cut-depth to filter out the feedback at the frequencies f1 and f2.
Concurrently or subsequently, if a feedback signal is identified as being located at a frequency f3, for example as shown in
Alternatively, instead of determining the frequency differential between f3 and fc, the microprocessor 104 may instead determine a frequency differential Δf between f3 and f1 for comparing with the frequency range αf of the frequency window 1405 in determining whether the feedback frequencies f1, f2 and f3 may be adaptively filtered by a single filter. As additional feedback frequencies are concurrently and/or subsequently identified, the microprocessor 104 may determine whether to employ additional filters, or to utilize existing filters to cover the concurrently or subsequently identified frequencies of feedback.
In addition, the microprocessor 104 may further utilize algorithms that may minimize the number of filters necessary to filter out the identified feedback frequencies. In
The graph of
A filter may be configured, for example by the microprocessor 104 at a center frequency fc within the frequency window 1505 having sufficient quality factor and/or cut-depth to filter out the feedback at the frequency bins B326 and B328.
Concurrently or subsequently, if a feedback signal is identified as being located at a frequency bin #B333, for example as shown in
Similar to as discussed above with respect to
Additionally, and as discussed above, the microprocessor 104 may further utilize algorithms that may minimize the number of filters necessary to filter out the identified feedback frequencies. The specified frequency range αB of the frequency window 1505 is shown in
1012 Hz. To eliminate the feedback identified at these frequencies, notch filters may be utilized having the characteristics 1600 and 1605. The characteristics 1600 include a Quality Factor equal to about 128 and a cut-depth equal to about −6 dB to eliminate or reduce the feedback. The characteristics 1605 include a Qualify Factor equal to about 128 and a cut-depth equal to about −6 dB to eliminate or reduce the feedback. However, in utilizing adaptive filtering, microprocessor 104 is capable of determining that the frequency differential Δf between feedback frequencies at frequencies f1 and f2 are within a frequency range αf defining a frequency window, where αf may be 15 Hz. Microprocessor 104 may configure a single notch filter to filter out the feedback from both identified feedback frequencies.
In
Thus, instead of requiring two or more notch filters to filter out multiple feedback signals within the frequency window defined by the frequency range αf, a single notch filter may be utilized. Hence, the other notch filter(s) available in the audio system may be used to eliminate or reduce feedback at other frequencies. Rather than having additional notch filters, reducing the number of notch filters for filtering feedback signals may reduce the memory and/or processing requirements of microprocessor 104. The filtering may be accomplished as software executed on the microprocessor 104.
Further, multiple sets of frequencies of feedback signals may be identified by the microprocessor 104, where the microprocessor 104 configures a notch filter to filter the feedback signals corresponding to each set of feedback frequencies.
The audio system 100 discussed above may be utilized in cellular telephones, public address systems, speakerphones having duplex operation, or any other audio system that may suffer from feedback. The microphone 102 may be any input transducer sufficient for receiving audio into the audio system 100. The microprocessor 104 may be any microprocessor capable of performing the functionality/processing, including converting time-domain signals to sampled frequency domain signals. Further, although not shown, the microprocessor 104 may include, or may be coupled with, an external storage media such as computer memory that may include computer programming, executable on the microprocessor 104, for carrying out one or more of the functionalities described herein. The storage medium may be magnetic, optical or any other storage media capable of providing programming for the microprocessor 104.
The loudspeaker 108 may be any speaker capable of providing the output audio from the audio system 100. Alternatively, hardware components not shown may be coupled with the microprocessor 104 for performing the sampled frequency domain conversion where the microprocessor 104 does not possess such functionality. The filtering may be accomplished using software, hardware or a combination, and need not be limited to notch filtering techniques. The software may be executable on a microprocessor such as performing digital signal processing or the like. The hardware may be coupled with the microprocessor 104, which may configure the hardware to achieve desired processing and/or filtering characteristics.
In addition, the values illustrated and discussed in relation to the Figures are exemplary, and are not limitations on the feedback identification and elimination or reduction system. Further, the value for the frequency range αf with respect to adaptive filtering may be any value while achieving at least some of the advantages discussed herein. The frequency range αf/αB may be increased (made larger) to reduce the number of filters required to eliminate feedback. A lower number of filters may be desired where the number of feedback signals outnumber the number of filters available for filtering feedback, or where a processor performing the filtering has limited memory and/or processing capabilities. The frequency window defined by the frequency range αf/αB may be determined based on considerations within the particular audio system utilized, and may be user-configurable. Such considerations may include selection of a frequency range which allows frequencies of feedback signals to be combined without unduly affecting the audio quality provided by the audio system. However, different audio systems have varying requirements as to the audio quality provided thereby. For example, a public address system may have less stringent audio quality requirements than an audio system that may be used in a concert hall or the like. A larger frequency range value αf/αB may be desired for the former than for the latter to account for desired audio quality.
Further, one skilled would realize that various techniques may be employed in identifying which frequencies of feedback within the frequency range αf/αB. Further, the microprocessor may utilize various techniques in grouping identified feedback signal sets which are each to be filtered by a single filter, where the technique may minimize the number of filters required for filtering the identified feedback signals.
The audio system 100 may perform both interpolative feedback identification in identifying frequencies of feedback signals, and adaptive filtration for configuring a filter-to-filter out multiple frequencies of feedback signals. The audio system 100 need not perform the feedback identification using interpolative feedback identification and/or the adaptive filtering. Rather, the audio system 100 may be utilized in identifying the frequencies of feedback using interpolative feedback identification while being coupled with additional hardware or microprocessing capabilities which are utilized in eliminating or reducing the identified frequencies of feedback. The hardware may include adaptive filtering. Further, the audio system 100 may perform adaptive filtering using frequencies of feedback identified by external hardware or a processing functionality (which may or may not include feedback frequencies identified using the interpolative feedback identification).
The illustrations have been discussed with reference to functional blocks identified as modules and components that are not intended to represent discrete structures and may be combined or further sub-divided. In addition, while various embodiments of the invention have been described, it will be apparent to those of ordinary skill in the art that other embodiments and implementations are possible that are within the scope of this invention. Accordingly, the invention is not restricted except in light of the attached claims and their equivalents.
This application claims priority to U.S. Provisional Patent Application Ser. No. 60/363,994, entitled “Employing Narrow Bandwidth Notch Filters In Feedback Elimination,” and filed on Mar. 13, 2002, and is incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
4079199 | Patronis, Jr. | Mar 1978 | A |
4238746 | McCool et al. | Dec 1980 | A |
4602337 | Cox | Jul 1986 | A |
4658426 | Chabries et al. | Apr 1987 | A |
5029217 | Chabries et al. | Jul 1991 | A |
5046101 | Lovejoy | Sep 1991 | A |
5245665 | Lewis et al. | Sep 1993 | A |
5442712 | Kawamura et al. | Aug 1995 | A |
5677987 | Seki et al. | Oct 1997 | A |
5710823 | Nagata et al. | Jan 1998 | A |
5717772 | Lane et al. | Feb 1998 | A |
5748751 | Janse et al. | May 1998 | A |
5999631 | Porayath et al. | Dec 1999 | A |
6058194 | Gulli et al. | May 2000 | A |
6125187 | Hanajima et al. | Sep 2000 | A |
6539096 | Sigwanz et al. | Mar 2003 | B1 |
6690805 | Tsuji et al. | Feb 2004 | B1 |
20060056644 | Kreifeldt et al. | Mar 2006 | A1 |
Number | Date | Country |
---|---|---|
198 14 180 | Oct 1999 | DE |
1 298 643 | Apr 2003 | EP |
WO 01 97212 | Dec 2001 | WO |
Number | Date | Country | |
---|---|---|---|
20030210797 A1 | Nov 2003 | US |
Number | Date | Country | |
---|---|---|---|
60363994 | Mar 2002 | US |