1. Technical Field
This invention relates to feedback in audio systems. More particularly, this invention relates to identifying a feedback frequency in a signal and adaptively filtering the feedback frequency from the signal.
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 may 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 referenced 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[k]|, 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 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, the system may verify 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 Ap−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
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 which 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 many more embodiments and implementations are possible within the scope of the invention. Accordingly, the invention is not to be restricted except in light of the attached claims and their equivalents.
This application is a Continuation application of, and claims the benefit of priority from, U.S. patent application Ser. No. 10/387,915 filed Mar. 13, 2003 and titled Audio Feedback Processing System, which is incorporated by reference. This application also claims the benefit of priority from U.S. Provisional Pat. App. Ser. No. 60/363,994, filed Mar. 13, 2002 and titled Employing Narrow Bandwidth Notch Filters In Feedback Elimination, which is also incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
60363994 | Mar 2002 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10387915 | Mar 2003 | US |
Child | 11264628 | Oct 2005 | US |