Feedback cancellation in a sound system

Information

  • Patent Application
  • 20080085013
  • Publication Number
    20080085013
  • Date Filed
    October 10, 2006
    17 years ago
  • Date Published
    April 10, 2008
    16 years ago
Abstract
This invention relates to a sound system and method for processing acoustical sound. The sound system comprises a microphone for converting an acoustical sound to an electrical sound signal, a processor for processing the sound signal and for generating a processed sound signal, and a speaker for converting the processed sound signal to a processed acoustical sound. The processor comprises a calculating unit for calculating a threshold value based on mean magnitude and standard deviation of the sound signal, a FFT unit for transforming the sound signal into frequency domain, a peak identification unit for identifying a peak in the sound signal in frequency domain and for generating a peak signal, a comparator for comparing the threshold value with the peak signal and for generating a control signal identifying frequency of said peak, and a programmable notch-filter unit receiving said control signal and filtering out a bandwidth of the sound signal in accordance with the control signal thereby generating the processed sound signal.
Description

BRIEF DESCRIPTION OF THE DRAWINGS

The above, as well as additional objects, features and advantages of the present invention, will be better understood through the following illustrative and non-limiting detailed description of preferred embodiments of the present invention, with reference to the appended drawing, wherein:



FIG. 1, shows a block diagram of a sound system according to a first embodiment of the present invention;



FIG. 2, shows a block diagram of a sound processor for the sound system according to a first and presently preferred embodiment of the present invention;



FIG. 3, shows a further block diagram of a sound processor for the sound system according to a second embodiment of the present invention;



FIG. 4, shows a further block diagram of a sound processor for the sound system according to a third embodiment of the present invention; and



FIG. 5, shows a further block diagram of a sound processor for the sound system according to a fourth embodiment of the present invention.





DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

In the following description of the various embodiments, reference is made to the accompanying figures, which show by way of illustration how the invention may be practiced. It is to be understood that other embodiments may be utilized and structural and functional modifications may be made without departing from the scope of the present invention.



FIG. 1, shows a block diagram of a sound system according to the first embodiment of the present invention and designated in entirety by reference numeral 100. The sound system 100 comprises a microphone unit 102 converting a sound to an analogue electrical sound signal. The analogue electrical sound signal is communicated through a first communication path 104 to an analogue-to-digital (A/D) converter 106, which converts the analogue electrical sound signal into a digital sound signal. The digital sound signal is communicated through a second communication path 108 to a sound processor 110, which processes the digital signal in accordance with a predetermined transfer function. The second communication path 108 may be a multi-channel bus. The sound processor 110 generates a processed digital signal and communicates this through a third communication path 112 to a digital-to-analogue (D/A) converter 114. The third communication path 112 may be identical to the second communication path 108 i.e. a controlled multi-channel bus. The D/A converter 114 converts the processed digital signal into a processed analogue signal and communicates this through a fourth communication path 116 to a driver 118. Finally, the driver 118 is connected to a loud speaker 120 through a fifth communication path 122 and is adapted to drive the loud speaker 112 to present a processed sound


A large part of the sound system 100 may in fact be implemented as integrated elements so that the sound system 100 comprises the microphone unit 102, the speaker unit 120 and a digital signal processor 124.


The sound processor 110 as shown in FIG. 2 comprises an input buffer unit 202 adapted to buffer the digital signals into a number (N) of frames, which are communicated to a FFT unit 204 transforming the frames into frequency domain signals and to a S threshold calculation unit 206 adapted to calculate a threshold value from the frame based on mean magnitude (m) and standard deviation (σ) of the frames. For example the threshold value may be determined in accordance with formula 1 below.





Threshold_value=m+α·σ  (Formula 1),


where “m” is the mean magnitude of the frame, “α” is a multiplication factor and “σ” is standard deviation of the frame. The calculation of the threshold value may further be adjusted by a bias. The multiplication factor “α” may have any real number; however the presently preferred number is 2, since this provides for most of the energy of the frame if the frame contain vocal information.


The transformed frame is forwarded from the FFT unit 204 to a peak identification unit 208 adapted to identify peaks in the transformed frame and to generate a peak signal for each peak identified in the transformed frame. The peak signal provides information of magnitude and frequency of the peak. The peak identification unit 208 may be configured to identify any number of peaks such as in the range one to ten, for example identifying the three largest peaks in each transformed frame. The peak identification unit 208 may comprise a counter for counting number of peaks and may be adapted to generate a flag signal when the number of peaks identified equals a pre-selected number.


The threshold calculation unit 206 generates a threshold signal for each frame and forwards the threshold signal to a comparator unit 210, which compares the threshold signal to the peak signals received from the peak identification unit 208.


The calculation of the mean magnitude of the frequency spectrum in a frame may advantageously be established by a squared addition of the real and imaginary parts of the digital signals. Further, the calculation of the mean magnitude of the digital signals may advantageously be established by a vector magnitude computation such as suggested by Richard G. Lyons in “Understanding Digital Signal Processing” 2nd edition (the αMax+βMin method). It should be understood that any calculation or estimation know to a person skilled in the art may be employed.


The comparator unit 210 generates a filter control signal in case the peak signal is greater than the threshold value, which filter control signal is forwarded to a filter/amplifier unit 212. The filter/amplifier unit 212 comprises a programmable notch-filter 214 and an amplifier 216, and is adapted to receive the digital sound signal and filter the digital sound signal according to the filter control signal by means of the programmable notch-filter 214, and to amplify the potentially filtered digital sound signal according to a predetermined transfer function by means of the amplifier 216. In this context the term “amplify” is to be construed as increasing or decreasing any particular frequency regions.


The filter/amplifier unit 212 may be implemented as an active filter such as an infinite impulse response (IIR) filter.


The programmable notch-filter 214 may comprise a leaky integrator adapted to provide a gradual engagement of the notch-filter 214 so as to avoid artefacts caused by the notch-filter's 214 sharp edges to be generated. For example, the leaky integrator may be operable so that the effect of the notch-filter is engaged and disengaged slowly. The leaky integrator may be implemented by any means know to a person skilled in the art.


In case the peak identification unit 208 identifies a maximum number of peaks within a frame the comparator 210 generates an alert signal, which causes the filter/amplifier unit 212 to reduce gain of the amplifier 216. The effect of the reduction of the gain is monitored on the following frames. That is, if the peak identification unit 208 fails to identify new peaks in the next frames then the gain is gradually increased.



FIG. 3, shows a block diagram of a sound processor 110′ according to a second embodiment of the present invention, which comprises the same elements of the sound processor 110 and these are referenced by the same numerals. The sound processor 110′ differs from the sound processor 110 by having the FFT unit 204 transforming the frames into frequency domain signals, which are then communicated to the threshold calculation unit 206 in this case being adapted to calculate a threshold value from the frame based on mean magnitude and standard deviation of the frequency spectrum of the frame.



FIG. 3, shows a block diagram of a sound processor 110″ according to a second embodiment of the present invention. The sound processor 110′ comprises the same elements of the sound processor 110 and 110′ and these are referenced by the same numerals. The sound processor 110″, however, differs from the sound processor 110′ by having the filter/amplifier unit 212 receive frames from the buffer unit 202 and thus perform filtering and amplifying operations on the frames rather than directly on the digital sound signal.



FIG. 4, shows a further block diagram of a sound processor 110′″ according to a third embodiment of the present invention. The sound processor 110′″ comprises the same elements of the sound processors 110, 110′ and 110″ and these are referenced by the same numerals. The sound processor 110″, however, differs from the sound processors 110 and 110′ by having a filter/amplification unit 300 receiving the sound signal in the frequency domain from the FFT unit 204 and thus performing the filtering and amplifying operations on the sound signal in the frequency domain rather than on the digital sound signal or on the frames. The filter/amplification unit 300 further comprises an inverse FFT unit 302 for inverting the processed sound signal in the frequency domain back into a processed sound signal in the time domain.

Claims
  • 1. A sound system for processing acoustical sound and comprising a microphone adapted to convert an acoustical sound to a sound signal, a processor adapted to process said sound signal and to generate a processed sound signal, and a speaker adapted to convert said processed sound signal to a processed acoustical sound, and wherein said processor comprising a calculating unit adapted to calculate a threshold value based on mean magnitude and standard deviation of said sound signal, a FFT unit adapted to transform said sound signal into -frequency domain, a peak identification unit adapted to identify a peak in said sound signal in frequency domain and to generate a peak signal, a comparator adapted to compare said threshold value with said peak signal and to generate a control signal identifying frequency of said peak, and a programmable notch-filter unit adapted to receive said control signal and operable to filter out a bandwidth of said sound signal in accordance with said control signal thereby generating said processed sound signal.
  • 2. A sound system according to claim 1, wherein said programmable notch-filter comprises a leaky integrator operable to control attack time of said programmable notch-filter.
  • 3. A sound system according to claim 2, wherein said leaky integrator is operable to control the attack times of the programmable notch-filter in accordance with frequency.
  • 4. A sound system according to claim 3, wherein said leaky integrator is operable to having a first attack time for a first frequency bandwidth and having a second attack time for a second frequency bandwidth.
  • 5. A sound system according to claim 4, wherein said leaky integrator is operable to having a long attack time in the high frequency part of said sound signal in said frequency domain and having a short attack time in the low frequency part of said sound signal in said frequency domain.
  • 6. A sound system according to any of claims 1 to 5, wherein said processor further comprises a counter unit adapted to count a number of frequencies of said sound signal in the frequency domain having magnitudes above said threshold value.
  • 7. A sound system according to claim 6, wherein said counter unit is adapted to providing a gain control signal to said processor when the count of said frequencies is above a predetermined number.
  • 8. A sound system according to claim 1, wherein said programmable notch-filter is operable to establishing a number of parallel notch-filters each having a selected operating bandwidth.
  • 9. A sound system according to claim 1, wherein said programmable notch-filter is operable to receive said sound signal in the time domain.
  • 10. A sound system according to claim 1, wherein said programmable notch-filter is operable to receive said sound signal in the frequency domain.
  • 11. A sound system according to claim 1, wherein said programmable notch-filter comprises amplifying means adapted to amplify said sound signal in accordance with a predetermined transfer function.
  • 12. A sound system according to claim 1, wherein said programmable notch-filter comprises an infinite impulse response filter.
  • 13. A method for processing acoustical sound and comprising: (a) converting an acoustical sound to a sound signal,(b) calculating a threshold value based on mean magnitude and standard deviation of said sound signal,(c) transforming said sound signal into frequency domain,(d) identifying a peak in said sound signal in frequency domain and generating a peak signal,(e) comparing said threshold value with said peak signal and generating a control signal identifying frequency of said peak when said peak signal is above said threshold value,(f) filtering out a bandwidth of said sound signal according to said control signal thereby generating a filtered sound signal,(g) processing said filtered sound signal and generating a processed sound signal,(h) converting said processed sound signal to a processed acoustical sound.
Provisional Applications (1)
Number Date Country
60846097 Sep 2006 US