1. Field of the Invention
The present invention relates generally to the field of communication devices and, more specifically, to speakerphones.
2. Description of the Related Art
Speakerphones may be used to mediate conversations between local persons and remote persons. A speakerphone may have a microphone to pick up the voices of the local persons (in the environment of the speakerphone), and, a speaker to audibly present a replica of the voices of the remote persons. While speakerphones may allow a number of people to participate in a conference call, there are a number of problems associated with the use of speakerphones.
The microphone picks up not only the voices of the local persons but also the signal transmitted from the speaker and its reflections off of acoustically reflective structures in the environment). To make the received signal (from the microphone) more intelligible the speakerphone may attempt to perform acoustic echo cancellation. Any means for increasing the efficiency and effectiveness of acoustic echo cancellation is greatly to be desired.
Sometimes one or more of the local persons may be speaking at the same time. Thus, it would be desirable to have some means of extracting the voices of the one or more persons from ambient noise and sending to the remote speakerphone a signal representing these one or more extracted voices.
Sometimes a noise source such as a fan may interfere with the intelligibility of the voices of the local persons. Furthermore, a noise source may be positioned near one of the local persons (e.g., near in angular position as perceived by the speakerphone). Thus, it would desirable to have a means for suppressing noise sources that are situated close to talking persons.
It is difficult for administrators to maintain control on the use of communication devices when users may move the devices without informing the administrator. Thus, there exists a need for a system and mechanism capable of locating the communication devices and/or detecting if (and when) the devices are moved.
The well known proximity effect can make a talker who is close to a directional microphone have much more low-frequency boost than one that is farther away from the same directional microphone. There exist a need for a mechanism capable of compensating for the proximity effect in a speakerphone (or other communication device).
When a person talks, his/her voice echoes off of acoustically reflective structures in the room. The microphone picks up not only the direct path transmission from the talker to the microphone, but the echoes as well. Thus, there exists a need for mechanisms capable of canceling these echoes.
A speakerphone may send audio information to/from other devices using standard codecs. Thus, there exists a need for mechanisms of capable of increasing the performance of data transfers between the speakerphone and other devices, especially when using standard codecs.
In one set of embodiments, a method for capturing the voices of one or more talkers (e.g., simultaneous talkers) may involve:
In another set of embodiments, a method for capturing one or more sources of acoustic intelligence may involve:
The method may further comprise performing a virtual broadside scan on the blocks of input signal samples to generate the amplitude envelope. In some embodiments, the performance of the virtual broadside scan and operations (a) through (e) may be repeated in order to track talkers as they move, to add new directed beams for persons that start talking, and to drop the directed beams for persons that have gone silent.
The output signal may be transmitted to one or more remote devices, e.g., devices such as speakerphones, videoconferencing systems, computers, cell phones, personal digital assistants, etc. A remote device may receive the output signal and provide the output signal to a speaker. Because the output signal is generated from directed beam signals, the remote participants, situated near the remote device, are able to hear a quality representation of the speech (or other sounds) generated by the local participants, even in the situation where more than one local participant is talking at the same time, and even when there are interfering noise sources present in the local environment.
The array of microphones may be arranged on a circle, an ellipse, a square, a rectangle, etc. Furthermore, the microphones may be arranges on a 2D grid, e.g., a rectangular grid or a hexagonal grid. In some embodiments, the microphones are arranged in a 3D pattern, e.g., on the surface of a hemisphere.
In one set of embodiments, the microphones of the array are nominally omni-directional microphones.
The operation of identifying one or more angles of one or more acoustic sources from peaks in an amplitude envelope may include:
The operations (1)-(3) may be repeated a number of times. Each repetition of (1)-(3) may operate on the updated amplitude envelope from the previous repetition.
Any of the various method embodiments disclosed herein (or any combinations thereof or portions thereof) may be implemented in terms of program instructions. The program instructions may be stored in (or on) any of various memory media. For example, in one embodiment, a memory medium may be configured to store program instructions, where the program instructions are executable to implement:
A memory medium is a medium configured for the storage of information. Examples of memory media include various kinds of magnetic media (e.g., magnetic tape or magnetic disk); various kinds of optical media (e.g., CD-ROM); various kinds of semiconductor RAM and ROM; various media based on the storage of electrical charge or other physical quantities; etc.
Furthermore, various embodiments of a system including a memory and a processor (or set of processors) are contemplated, where the memory is configured to store program instructions and the processor is configured to read and execute the program instructions from the memory. In various embodiments, the program instructions encode corresponding ones of the method embodiments described herein (or combinations thereof or portions thereof). For example, in one embodiment, the program instructions are configured to implement:
Embodiments are contemplated where actions (a) through (e) are partitioned among a set of processors in order to increase computational throughput.
The system may also include the array of microphones. For example, an embodiment of the system targeted for realization as a speakerphone may include the array of microphones.
The following detailed description makes reference to the accompanying drawings, which are now briefly described.
While the invention is described herein by way of example for several embodiments and illustrative drawings, those skilled in the art will recognize that the invention is not limited to the embodiments or drawings described. It should be understood, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present invention as defined by the appended claims. The headings used herein are for organizational purposes only and are not meant to be used to limit the scope of the description or the claims. As used throughout this application, the word “may” is used in a permissive sense (i.e., meaning having the potential to), rather than the mandatory sense (i.e., meaning must). Similarly, the words “include”, “including”, and “includes” mean including, but not limited to.
U.S. Provisional Application No. 60/676,415, filed on Apr. 29, 2005, entitled “Speakerphone Functionality”, invented by William V. Oxford, Vijay Varadarajan and Ioannis S. Dedes, is hereby incorporated by reference in its entirety.
U.S. patent application Ser. No. 11/251,084, filed on Oct. 14, 2005, entitled “Speakerphone”, invented by William V. Oxford, is hereby incorporated by reference in its entirety.
U.S. patent application Ser. No. 11/108,341, filed on Apr. 18, 2005, entitled “Speakerphone Self Calibration and Beam Forming”, invented by William V. Oxford and Vijay Varadarajan, is hereby incorporated by reference in its entirety.
U.S. Provisional Patent Application titled “Video Conferencing Speakerphone”, Ser. No. 60/619,212, which was filed Oct. 15, 2004, whose inventors are Michael L. Kenoyer, Craig B. Malloy, and Wayne E. Mock is hereby incorporated by reference in its entirety.
U.S. Provisional Patent Application titled “Video Conference Call System”, Ser. No. 60/619,210, which was filed Oct. 15, 2004, whose inventors are Michael J. Burkett, Ashish Goyal, Michael V. Jenkins, Michael L. Kenoyer, Craig B. Malloy, and Jonathan W. Tracey is hereby incorporated by reference in its entirety.
U.S. Provisional Patent Application titled “High Definition Camera and Mount”, Ser. No. 60/619,227, which was filed Oct. 15, 2004, whose inventors are Michael L. Kenoyer, Patrick D. Vanderwilt, Paul D. Frey, Paul Leslie Howard, Jonathan I. Kaplan, and Branko Lukic, is hereby incorporated by reference in its entirety.
List of Acronyms Used Herein
A communication system may be configured to facilitate voice communication between participants (or groups of participants) who are physically separated as suggested by
Speakerphone Block Diagram
The processor 207 is configured to read program instructions which have been stored in memory 209 and to execute the program instructions in order to enact any of the various methods described herein.
Memory 209 may include any of various kinds of semiconductor memory or combinations thereof. For example, in one embodiment, memory 209 may include a combination of Flash ROM and DDR SDRAM.
The input subsystem may include a microphone 201 (e.g., an electret microphone), a microphone preamplifier 203 and an analog-to-digital (A/D) converter 205. The microphone 201 receives an acoustic signal A(t) from the environment and converts the acoustic signal into an electrical signal u(t). (The variable t denotes time.) The microphone preamplifier 203 amplifies the electrical signal u(t) to produce an amplified signal x(t). The A/D converter samples the amplified signal x(t) to generate digital input signal X(k). The digital input signal X(k) is provided to processor 207.
In some embodiments, the A/D converter may be configured to sample the amplified signal x(t) at least at the Nyquist rate for speech signals. In other embodiments, the A/D converter may be configured to sample the amplified signal x(t) at least at the Nyquist rate for audio signals.
Processor 207 may operate on the digital input signal X(k) to remove various sources of noise, and thus, generate a corrected microphone signal Z(k). The processor 207 may send the corrected microphone signal Z(k) to one or more remote devices (e.g., a remote speakerphone) through one or more of the set 211 of communication interfaces.
The set 211 of communication interfaces may include a number of interfaces for communicating with other devices (e.g., computers or other speakerphones) through well-known communication media. For example, in various embodiments, the set 211 includes a network interface (e.g., an Ethernet bridge), an ISDN interface, a PSTN interface, or, any combination of these interfaces.
The speakerphone 200 may be configured to communicate with other speakerphones over a network (e.g., an Internet Protocol based network) using the network interface. In one embodiment, the speakerphone 200 is configured so multiple speakerphones, including speakerphone 200, may be coupled together in a daisy chain configuration.
The output subsystem may include a digital-to-analog (D/A) converter 240, a power amplifier 250 and a speaker 225. The processor 207 may provide a digital output signal Y(k) to the D/A converter 240. The D/A converter 240 converts the digital output signal Y(k) to an analog signal y(t). The power amplifier 250 amplifies the analog signal y(t) to generate an amplified signal v(t). The amplified signal v(t) drives the speaker 225. The speaker 225 generates an acoustic output signal in response to the amplified signal v(t).
Processor 207 may receive a remote audio signal R(k) from a remote speakerphone through one of the communication interfaces and mix the remote audio signal R(k) with any locally generated signals (e.g., beeps or tones) in order to generate the digital output signal Y(k). Thus, the acoustic signal radiated by speaker 225 may be a replica of the acoustic signals (e.g., voice signals) produced by remote conference participants situated near the remote speakerphone.
In one alternative embodiment, the speakerphone may include circuitry external to the processor 207 to perform the mixing of the remote audio signal R(k) with any locally generated signals.
In general, the digital input signal X(k) represents a superposition of contributions due to:
Processor 207 may be configured to execute software including an acoustic echo cancellation (AEC) module. The AEC module attempts to estimate the sum C(k) of the contributions to the digital input signal X(k) due to the acoustic signal generated by the speaker and a number of its reflections, and, to subtract this sum C(k) from the digital input signal X(k) so that the corrected microphone signal Z(k) may be a higher quality representation of the acoustic signals generated by the local conference participants.
In one set of embodiments, the AEC module may be configured to perform many (or all) of its operations in the frequency domain instead of in the time domain. Thus, the AEC module may:
In order to estimate the spectrum C(ω), the acoustic echo cancellation module may utilize:
For example, in one set of embodiments, the modeling information IM may include:
In some embodiments, the input-output model for the speaker may be (or may include) a nonlinear Volterra series model, e.g., a Volterra series model of the form:
where v(k) represents a discrete-time version of the speaker's input signal, where fs(k) represents a discrete-time version of the speaker's acoustic output signal, where Na, Nb and Mb are positive integers. For example, in one embodiment, Na=8, Nb=3 and Mb=2. Expression (1) has the form of a quadratic polynomial. Other embodiments using higher order polynomials are contemplated.
In alternative embodiments, the input-output model for the speaker is a transfer function (or equivalently, an impulse response).
In one embodiment, the AEC module may compute the compensation spectrum C(ω) using the output spectrum Y(ω) and the modeling information IM (including previously estimated values of the parameters (d)). Furthermore, the AEC module may compute an update for the parameters (d) using the output spectrum Y(ω), the input spectrum X(ω), and at least a subset of the modeling information IM (possibly including the previously estimated values of the parameters (d)).
In another embodiment, the AEC module may update the parameters (d) before computing the compensation spectrum C(ω).
In those embodiments where the speaker input-output model is a nonlinear model (such as a Volterra series model), the AEC module may be able to converge more quickly and/or achieve greater accuracy in its estimation of the attenuation coefficients and delay times (of the direct path and reflected paths) because it will have access to a more accurate representation of the actual acoustic output of the speaker than in those embodiments where a linear model (e.g., a transfer function) is used to model the speaker.
In some embodiments, the AEC module may employ one or more computational algorithms that are well known in the field of echo cancellation.
The modeling information IM (or certain portions of the modeling information IM) may be initially determined by measurements performed at a testing facility prior to sale or distribution of the speakerphone 200. Furthermore, certain portions of the modeling information IM (e.g., those portions that are likely to change over time) may be repeatedly updated based on operations performed during the lifetime of the speakerphone 200.
In one embodiment, an update to the modeling information IM may be based on samples of the input signal X(k) and samples of the output signal Y(k) captured during periods of time when the speakerphone is not being used to conduct a conversation.
In another embodiment, an update to the modeling information IM may be based on samples of the input signal X(k) and samples of the output signal Y(k) captured while the speakerphone 200 is being used to conduct a conversation.
In yet another embodiment, both kinds of updates to the modeling information IM may be performed.
Updating Modeling Information based on Offline Calibration Experiments
In one set of embodiments, the processor 207 may be programmed to update the modeling information IM during a period of time when the speakerphone 200 is not being used to conduct a conversation.
The processor 207 may wait for a period of relative silence in the acoustic environment. For example, if the average power in the input signal X(k) stays below a certain threshold for a certain minimum amount of time, the processor 207 may reckon that the acoustic environment is sufficiently silent for a calibration experiment. The calibration experiment may be performed as follows.
The processor 207 may output a known noise signal as the digital output signal Y(k). In some embodiments, the noise signal may be a burst of maximum-length-sequence noise, followed by a period of silence. For example, in one embodiment, the noise signal burst may be approximately 2-2.5 seconds long and the following silence period may be approximately 5 seconds long. In some embodiments, the noise signal may be submitted to one or more notch filters (e.g., sharp notch filters), in order to null out one or more frequencies known to causes resonances of structures in the speakerphone, prior to transmission from the speaker.
The processor 207 may capture a block BX of samples of the digital input signal X(k) in response to the noise signal transmission. The block BX may be sufficiently large to capture the response to the noise signal and a sufficient number of its reflections for a maximum expected room size.
The block BX of samples may be stored into a temporary buffer, e.g., a buffer which has been allocated in memory 209.
The processor 207 computes a Fast Fourier Transform (FFT) of the captured block BX of input signal samples X(k) and an FFT of a corresponding block BY of samples of the known noise signal Y(k), and computes an overall transfer function H(ω) for the current experiment according to the relation
H(ω)=FFT(BX)/FFT(BY), (2)
where ω denotes angular frequency. The processor may make special provisions to avoid division by zero.
The processor 207 may operate on the overall transfer function H(ω) to obtain a midrange sensitivity value s1 as follows.
The midrange sensitivity value s1 may be determined by computing an A-weighted average of the magnitude of the overall transfer function H(ω):
s1=SUM[|H(ω)|A(ω), ω ranging from zero to π]. (3)
In some embodiments, the weighting function A(ω) may be designed so as to have low amplitudes:
The diaphragm of an electret microphone is made of a flexible and electrically non-conductive material such as plastic (e.g., Mylar) as suggested in
As the microphone ages, the deposited charge slowly dissipates, resulting in a gradual loss of sensitivity over all frequencies. Furthermore, as the microphone ages material such as dust and smoke accumulates on the diaphragm, making it gradually less sensitive at high frequencies. The summation of the two effects implies that the amplitude of the microphone transfer function |Hmic(ω)| decreases at all frequencies, but decreases faster at high frequencies as suggested by
The speaker 225 includes a cone and a surround coupling the cone to a frame. The surround is made of a flexible material such as butyl rubber. As the surround ages it becomes more compliant, and thus, the speaker makes larger excursions from its quiescent position in response to the same current stimulus. This effect is more pronounced at lower frequencies and negligible at high frequencies. In addition, the longer excursions at low frequencies implies that the vibrational mechanism of the speaker is driven further into the nonlinear regime. Thus, if the microphone were ideal (i.e., did not change its properties over time), the amplitude of the overall transfer function H(ω) in expression (2) would increase at low frequencies and remain stable at high frequencies, as suggested by
The actual change to the overall transfer function H(ω) over time is due to a combination of affects including the speaker aging mechanism and the microphone aging mechanism just described.
In addition to the sensitivity value s1, the processor 207 may compute a lowpass sensitivity value s2 and a speaker related sensitivity s3 as follows. The lowpass sensitivity factor s2 may be determined by computing a lowpass weighted average of the magnitude of the overall transfer function H(ω):
s2=SUM[|H(ω)|L(ω), ω ranging from zero to π]. (4)
The lowpass weighting function L(ω) equals is equal (or approximately equal) to one at low frequencies and transitions towards zero in the neighborhood of a cutoff frequency. In one embodiment, the lowpass weighting function may smoothly transition to zero as suggested in
The processor 207 may compute the speaker-related sensitivity value S3 according to the expression:
s3=s2−s1.
The processor 207 may maintain sensitivity averages S1, S2 and S3 corresponding to the sensitivity values s1, s2 and s3 respectively. The average Si, i=1, 2, 3, represents the average of the sensitivity value si from past performances of the calibration experiment.
Furthermore, processor 207 may maintain averages Ai and Bij corresponding respectively to the coefficients ai and bij in the Volterra series speaker model. After computing sensitivity value S3, the processor may compute current estimates for the coefficients bij by performing an iterative search. Any of a wide variety of known search algorithms may be used to perform this iterative search.
In each iteration of the search, the processor may select values for the coefficients bij and then compute an estimated input signal XEST(k) based on:
The processor may compute the energy of the difference between the estimated input signal XEST(k) and the block Bx of actually received input samples X(k). If the energy value is sufficiently small, the iterative search may terminate. If the energy value is not sufficiently small, the processor may select a new set of values for the coefficients bij, e.g., using knowledge of the energy values computed in the current iteration and one or more previous iterations.
The scaling of the linear terms in the modified Volterra series expression (5) by factor c serves to increase the probability of successful convergence of the bij.
After having obtained final values for the coefficients bij, the processor 207 may update the average values Bij according to the relations:
Bij←kijBij+(1−kij)bij, (6)
where the values kij are positive constants between zero and one.
In one embodiment, the processor 207 may update the averages Ai according to the relations:
Ai←giAi+(1−gi)(cAi), (7)
where the values gi are positive constants between zero and one.
In an alternative embodiment, the processor may compute current estimates for the Volterra series coefficients ai based on another iterative search, this time using the Volterra expression:
After having obtained final values for the coefficients ai, the processor may update the averages Ai according the relations:
Ai←giAi+(1−gi)ai. (8B)
The processor may then compute a current estimate Tmic of the microphone transfer function based on an iterative search, this time using the Volterra expression:
After having obtained a current estimate Tmic for the microphone transfer function, the processor may update an average microphone transfer function Hmic based on the relation:
Hmic(ω)←kmHmic(ω)+(1−km)Tmic(ω), (10)
where km is a positive constant between zero and one.
Furthermore, the processor may update the average sensitivity values S1, S2 and S3 based respectively on the currently computed sensitivities s1, S2, S3, according to the relations:
S1←h1S1+(1−h1)s1, (11)
S2←h2S2+(1−h2)s2, (12)
S3←h3S3+(1−h3)s3, (13)
where h1, h2, h3 are positive constants between zero and one.
In the discussion above, the average sensitivity values, the Volterra coefficient averages Ai and Bij and the average microphone transfer function Hmic are each updated according to an IIR filtering scheme. However, other filtering schemes are contemplated such as FIR filtering (at the expense of storing more past history data), various kinds of nonlinear filtering, etc.
In one set of embodiment system (e.g., a speakerphone or a videoconferencing system) may include a microphone, a speaker, memory and a processor, e.g., as illustrated in
The input-output model of the speaker may be a nonlinear model, e.g., a Volterra series model.
Furthermore, in some embodiments, the program instructions may be executable by the processor to:
In another set of embodiments, as illustrated in
The input-output model of the speaker may be a nonlinear model, e.g., a Volterra series model.
Updating Modeling Information based on Online Data Gathering
one set of embodiments, the processor 207 may be programmed to update the modeling information IM during periods of time when the speakerphone 200 is being used to conduct a conversation.
Suppose speakerphone 200 is being used to conduct a conversation between one or more persons situated near the speakerphone 200 and one or more other persons situated near a remote speakerphone (or videoconferencing system). In this case, the processor 207 sends out the remote audio signal R(k), provided by the remote speakerphone, as the digital output signal Y(k). It would probably be offensive to the local persons if the processor 207 interrupted the conversation to inject a noise transmission into the digital output stream Y(k) for the sake of self calibration. Thus, the processor 207 may perform its self calibration based on samples of the output signal Y(k) while it is “live”, i.e., carrying the audio information provided by the remote speakerphone. The self-calibration may be performed as follows.
The processor 207 may start storing samples of the output signal Y(k) into an first FIFO and storing samples of the input signal X(k) into a second FIFO, e.g., FIFOs allocated in memory 209. Furthermore, the processor may scan the samples of the output signal Y(k) to determine when the average power of the output signal Y(k) exceeds (or at least reaches) a certain power threshold. The processor 207 may terminate the storage of the output samples Y(k) into the first FIFO in response to this power condition being satisfied. However, the processor may delay the termination of storage of the input samples X(k) into the second FIFO to allow sufficient time for the capture of a full reverb tail corresponding to the output signal Y(k) for a maximum expected room size.
The processor 207 may then operate, as described above, on a block By of output samples stored in the first FIFO and a block Bx of input samples stored in the second FIFO to compute:
In some embodiments, a system (e.g., a speakerphone or a videoconferencing system) may include a microphone, a speaker, memory and a processor, e.g., as illustrated in
The input-output model of the speaker is a nonlinear model, e.g., a Volterra series model.
Furthermore, in some embodiments, the program instructions may be executable by the processor to:
In one set of embodiments, as illustrated in
Furthermore, the method may involve:
In some embodiments, the speakerphone 200 may include NM input channels, where NM is two or greater. Each input channel ICj, j=1, 2, 3, . . . , NM may include a microphone Mj, a preamplifier PAj, and an A/D converter ADCj. The description given above of various embodiments in the context of one input channel naturally generalizes to NM input channels.
Let uj(t) denote the analog electrical signal captured by microphone Mj.
In one group of embodiments, the NM microphones may be arranged in a circular array with the speaker 225 situated at the center of the circle as suggested by the physical realization (viewed from above) illustrated in
Preamplifier PAj amplifies the difference signal rj(t) to generate an amplified signal xj(t). ADCj samples the amplified signal xj(t) to obtain a digital input signal Xj(k).
Processor 207 may receive the digital input signals Xj(k), j=1, 2, . . . , NM.
In one embodiment, NM equals 16. However, a wide variety of other values are contemplated for NM.
There are various ways of orienting the microphones. In some embodiments, each of the microphones Mj, j=1, 2, 3, . . . , NM, may be configured with its axis in the oriented vertically so that its diaphragm moves principally up and down. The vertical orientation may enhance the sensitivity of the microphones. In other embodiments, each of the microphones Mj, j=1, 2, 3, . . . , NM, may be oriented with its axis in the horizontal plane so that its diaphragm moves principally sideways.
There are various ways of positioning the microphones. In some embodiments, the microphones Mj, j=1, 2, 3, . . . , NM, may be positioned in a circular array, e.g., as suggested in
Various kinds of microphones may be used to realize microphones Mj, j=1, 2, 3, . . . , NM. In some embodiments, the microphones Mj, j=1, 2, 3, . . . , NM, may be onmi-directional microphones. Various signal processing and/or beam forming computations may be simplified by the use of omni-directional microphones.
In other embodiments, the microphones Mj, j=1, 2, 3, . . . , NM, may be directional microphones, e.g., cardioid microphones.
Hybrid Beamforming
As noted above, speakerphone 300 (or speakerphone 200) may include a set of microphones, e.g., as suggested in
According to one methodology, the processor 207 may generate the resultant signal D(k) by:
The union of the ranges R(1), R(2), . . . , R(NB) may cover the range of audio frequencies, or, at least the range of frequencies occurring in speech.
The ranges R(1), R(2), . . . , R(NB) include a first subset of ranges that are above a certain frequency fTR and a second subset of ranges that are below the frequency fTR. In one embodiment, the frequency fTR may be approximately 550 Hz.
Each of the virtual beams B(i) that corresponds to a frequency range R(i) below the frequency fTR may be a superdirective beam of order L(i) formed from L(i)+1 of the input spectra Xj(f), j=1, 2, . . . , NM, where L(i) is an integer greater than or equal to one. The L(i)+1 spectra may correspond to L(i)+1 microphones of the circular array that are aligned (or approximately aligned) in the target direction.
Furthermore, each of the virtual beams B(i) that corresponds to a frequency range R(i) above the frequency fTR may have the form of a delay-and-sum beam. The delay-and-sum parameters of the virtual beam B(i) may be designed by beam forming design software. The beam forming design software may be conventional software known to those skilled in the art of beam forming. For example, the beam forming design software may be software that is available as part of MATLAB®.
The beam forming design software may be directed to design an optimal delay-and-sum beam for beam B(i) at some frequency fi (e.g., the midpoint frequency) in the frequency range R(i) given the geometry of the circular array and beam constraints such as passband ripple δp, stopband ripple δs, passband edges θP1 and θP2, first stopband edge θS1 and second stopband edge θS2 as suggested by
The beams corresponding to frequency ranges above the frequency fTR are referred to herein as “high-end beams”. The beams corresponding to frequency ranges below the frequency fTR are referred to herein as “low-end beams”. The virtual beams B(1), B(2), . . . , B(NB) may include one or more low-end beams and one or more high-end beams.
In some embodiments, the beam constraints may be the same for all high-end beams B(i). The passband edges θP1 and θP2 may be selected so as to define an angular sector of size 360/NM degrees (or approximately this size). The passband may be centered on the target direction θT.
The high end frequency ranges R(i) may be an ordered succession of ranges that cover the frequencies from fTR up to a certain maximum frequency (e.g., the upper limit of audio frequencies, or, the upper limit of voice frequencies).
The delay-and-sum parameters for each high-end beam and the parameters for each low-end beam may be designed at a design facility and stored into memory 209 prior to operation of the speakerphone.
Since the microphone array is symmetric with respect to rotation through any multiple of 360/NM degrees, in one set of embodiments, the set of parameters designed for one target direction may be used for any of the NM target directions given by
k(360/NM),k=0, 1, 2, . . . , NM−1,
by applying an appropriate circular shift when accessing the parameters from memory.
In one embodiment,
In another embodiment, the virtual beams B(1), B(2), . . . , B(NB) may include a set of low-end beams of first order.
In yet another embodiment, the virtual beams B(1), B(2), . . . , B(NB) may include a set of low-end beams of third order.
In one embodiment, the low order beams may include: second order beams (e.g., a pair of second order beams as suggested in
In one set of embodiments, a method for generating a highly directed beam may involve the following actions, as illustrated in
At 1205, input signals may be received from an array of microphones, one input signal from each of the microphones. The input signals may be digitized and stored in an input buffer.
At 1210, low pass versions of at least a first subset of the input signals may be generated. Transition frequency fTR may be the cutoff frequency for the low pass versions. The first subset of the input signals may correspond to a first subset of the microphones that are at least partially aligned in a target direction. (See
At 1215, the low pass versions of the first subset of input signals are operated on with a first set of parameters in order to compute a first output signal corresponding to a first virtual beam having an integer-order superdirective structure. The number of microphones in the first subset is one more than the integer order of the first virtual beam.
At 1220, high pass versions of the input signals are generated. Again, the transition frequency fTR may be the cutoff frequency for the high pass versions.
At 1225, the high pass versions are operated on with a second set of parameters in order to compute a second output signal corresponding to a second virtual beam having a delay-and-sum structure. The second set of parameters may be configured so as to direct the second virtual beam in the target direction.
The second set of parameters may be derived from a combination of parameter sets corresponding to a number of band-specific virtual beams. For example, in one embodiment, the second set of parameters is derived from a combination of the parameter sets corresponding to the high-end beams of delay-and-sum form discussed above. Let NH denote the number of high-end beams. As discussed above, beam design software may be employed to compute a set of parameters P(i) for a high-end delay-and-sum beam B(i) at some frequency fi in region R(i). The set P(i) may include NM complex coefficients denoted P(i,j), j=1, 2, . . . , NM, i.e., one for each microphone. The second set Q of parameters may be generated from the parameter sets P(i), i=1, 2, . . . , NH according to the relation:
j=1, 2, . . . , NM, where U(i,j) is a weighting function that weights the parameters of set P(i), corresponding to frequency fi, most heavily at microphone #i and successively less heavily at microphones away from microphone #i. Other schemes for combining the multiple parameter sets are also contemplated.
At 1230, a resultant signal is generated, where the resultant signal includes a combination of at least the first output signal and the second output signal. The combination may be a linear combination or other type of combination. In one embodiment, the combination is a straight sum (with no weighting).
At 1235, the resultant signal may be provided to a communication interface for transmission to one or more remote destinations.
The action of generating low pass versions of at least a first subset of the input signals may include generating low pass versions of one or more additional subsets of the input signals distinct from the first subset. Correspondingly, the method may further involve operating on the additional subsets (of low pass versions) with corresponding additional virtual beams of integer-order superdirective structure. (There is no requirement that all the superdirective beams must have the same integer order.) Thus, the combination (used to generate the resultant signal) also includes the output signals of the additional virtual beams.
The method may also involve accessing an array of parameters from a memory, and applying a circular shift to the array of parameters to obtain the second set of parameters, where an amount of the shift corresponds to the desired target direction.
It is noted that actions 1210 through 1230 may be performed in the time domain, in the frequency domain, or partly in the time domain and partly in the frequency domain. For example, 1210 may be implemented by time-domain filtering or by windowing in the spectral domain. As another example, 1225 may be performed by weighting, delaying and adding time-domain functions, or, by weighting, adjusting and adding spectra. In light of the teachings given herein, one skilled in the art will not fail to understand how to implement each individual action in the time domain or in the frequency domain.
In another set of embodiments, a method for generating a highly directed beam may involve the following actions, as illustrated in
At 1240, input signals are received from an array of microphones, one input signal from each of the microphones.
At 1241, first versions of at least a first subset of the input signals are generated, wherein the first versions are band limited to a first frequency range.
At 1242, the first versions of the first subset of input signals are operated on with a first set of parameters in order to compute a first output signal corresponding to a first virtual beam having an integer-order superdirective structure.
At 1243, second versions of at least a second subset of the input signals are generated, wherein the second versions are band limited to a second frequency range different from the first frequency range.
At 1244, the second versions of the second subset of input signals are operated on with a second set of parameters in order to compute a second output signal corresponding to a second virtual beam.
At 1245, a resultant signal is generated, wherein the resultant signal includes a combination of at least the first output signal and the second output signal.
The second virtual beam may be a beam having a delay-and-sum structure or an integer order superdirective structure, e.g., with integer order different from the integer order of the first virtual beam.
The first subset of the input signals may correspond to a first subset of the microphones which are at least partially aligned in a target direction. Furthermore, the second set of parameters may be configured so as to direct the second virtual beam in the target direction.
Additional integer-order superdirective beams and/or delay-and-sum beams may be applied to corresponding subsets of band-limited versions of the input signals, and the corresponding outputs (from the additional beams) may be combined into the resultant signal.
In another set of embodiments, a system may include a set of microphones, a memory and a processor, e.g., as suggested variously above in conjunction with
The first subset of the input signals may correspond to a first subset of the microphones which are at least partially aligned in a target direction. Furthermore, the second set of parameters may be configured so as to direct the second virtual beam in the target direction.
Additional integer-order superdirective beams and/or delay-and-sum beams may be applied to corresponding subsets of band-limited versions of the input signals, and the corresponding outputs (from the additional beams) may be combined into the resultant signal.
The program instructions may be further configured to direct the processor to provide the resultant signal to a communication interface (e.g., one of communication interfaces 211) for transmission to one or more remote devices.
The set of microphones may be arranged on a circle. Other array topologies are contemplated. For example, the microphones may be arranged on an ellipse, a square, or a rectangle. In some embodiments, the microphones may be arranged on a grid, e.g., a rectangular grid, a hexagonal grid, etc.
In yet another set of embodiments, a method for generating a highly directed beam may include the following actions, as illustrated in
At 1250, input signals may be received from an array of microphones, one input signal from each of the microphones.
At 1255, the input signals may be operated on with a set of virtual beams to obtain respective beam-formed signals, where each of the virtual beams is associated with a corresponding frequency range and a corresponding subset of the input signals, where each of the virtual beams operates on versions of the input signals of the corresponding subset of input signals, where said versions are band limited to the corresponding frequency range, where the virtual beams include one or more virtual beams of a first type and one or more virtual beams of a second type.
The first type and the second type may correspond to: different mathematical expressions describing how the input signals are to be combined; different beam design methodologies; different theoretical approaches to beam forming, etc.
The one or more beams of the first type may be integer-order superdirective beams. Furthermore, the one or more beams of the second type may be delay-and-sum beams.
At 1260, a resultant signal may be generated, where the resultant signal includes a combination of the beam-formed signals.
The methods illustrated in
In yet another set of embodiments, a method for configuring a target system (i.e., a system including a processor, a memory and one or more processors) may involve the following actions, as illustrated in
At 1310, a first set of parameters may be generated for a first virtual beam based on a first subset of the microphones, where the first virtual beam has an integer-order superdirective structure.
At 1315, a plurality of parameter sets may be computed for a corresponding plurality of delay-and-sum beams, where the parameter set for each delay-and-sum beam is computed for a corresponding frequency, where the parameter sets for the delay-and-sum beams are computed based on a common set of beam constraints. The frequencies for the delay-and-sum beams may be above a transition frequency.
At 1320, the plurality of parameter sets may be combined to obtain a second set of parameters, e.g., as described above.
At 1325, the first set of parameters and the second set of parameters may be stored in the memory of the target system.
The delay-and-sum beams may be designed using beam forming design software. Each of the delay-and-sum beams may be designed subject to the same (or similar) set of beam constraints. For example, each of the delay-and-sum beams may be constrained to have the same pass band width (i.e., main lobe width).
The target system being configured may be a device such as a speakerphone, a videoconferencing system, a surveillance device, a video camera, etc.
One measure of the quality of a virtual beam formed from a microphone array is directivity index (DI). Directivity index indicates the amount of rejection of signal off axis from the desired signal. Virtual beams formed from endfire microphone arrays (“endfire beams”) have an advantage over beams formed from broadside arrays (“broadside beams”) in that the endfire beams have constant DI over all frequencies as long as the wavelength is greater than the microphone array spacing. (Broadside beams have increasingly lower DI at lower frequencies.) For endfire arrays, however, as the frequency goes down the signal level goes down by (6 dB per octave)×(endfire beam order) and therefore the gain required to maintain a flat response goes up, requiring higher signal-to-noise ratio to obtain a usable result.
A high DI at low frequencies is important because room reverberations, which people hear as “that hollow sound”, are predominantly at low frequencies. The higher the “order” of an endfire microphone array the higher the potential DI value.
Calibration to Correct for Acoustic Shadowing
The performance of a speakerphone (such as speakerphone 200 or speakerphone 300) using an array of microphones may be constrained by:
(1) Prior to use of the speakerphone (e.g., during the manufacturing process), the position of each microphone in the speakerphone may be measured by placing the speakerphone in a test chamber. The test chamber includes a set of speakers at known positions. The 3D position of each microphone in the speakerphone may be determined by:
(2) There are two parts to having an accurate knowledge of the response of the microphones in the array. The first part is an accurate measurement of the baseline response of each microphone in the array during manufacture (or prior to distribution to customer). The first part is discussed below. The second part is adjusting the response of each microphone for variations that may occur over time as the product is used. The second part is discussed in detail above.
Especially at higher frequencies each microphone will have a different transfer function due to asymmetries in the speakerphone structure or in the microphone pod. The response of each microphone in the speakerphone may be measured as follows. The speakerphone is placed in a test chamber at a base position with a predetermined orientation. The test chamber includes a movable speaker (or set of speakers at fixed positions). The speaker is placed at a first position in the test chamber. A calibration controller asserts a noise burst through the speaker. The calibration controller read and stores the signal Xj(k) captured by the microphone Mj, j=1, 2, . . . , NM, in the speakerphone in response to the noise burst. The speaker is moved to a new position, and the noise broadcast and data capture is repeated. The noise broadcast and data capture are repeated for a set of speaker positions. For example, in one embodiment, the set of speaker positions may explore the circle in space given by:
A second speakerphone, having the same physical structure as the first speakerphone, is placed in the test chamber at the base position with the predetermined orientation. The second speakerphone has ideal microphones Gj, j=1, 2, . . . , NM, mounted in the slots where the first speakerphone has less than ideal microphones Mj. The ideal microphones are “golden” microphones having flat frequency response. The same series of speaker positions are explored as with the first speakerphone. At each speaker position the same noise burst is asserted and the response XjG(k) from each of the golden microphones of the second speakerphone is captured and stored.
For each microphone channel j and each speaker position, the calibration controller may compute an estimate for the transfer function of the microphone Mj, j=1, 2, . . . , NM, according to the expression:
Hjmic(ω)=Xj(ω)/XjG(ω).
The division by spectrum XjG(ω) cancels the acoustic effects due to the test chamber and the speakerphone structure. These microphone transfer functions are stored into non-volatile memory of the first speakerphone, e.g., in memory 209.
In practice, it may be more efficient to gather the golden microphone data from the second speakerphone first, and then, gather data from the first speakerphone, so that the microphone transfer functions Hjmic(ω) for each microphone channel and each speaker position may be immediately loaded into the first speakerphone before detaching the first speakerphone from the calibration controller.
In one embodiment, the first speakerphone may itself include software to compute the microphone transfer functions Hjmic(ω) for each microphone and each speaker position. In this case, the calibration controller may download the golden response data to the first speakerphone so that the processor 207 of the speakerphone may compute the microphone transfer functions.
In some embodiments, the test chamber may include a platform that can be rotated in the horizontal plane. The speakerphone may be placed on the platform with the center of the microphone array coinciding with the axis of the rotation of the platform. The platform may be rotated instead of attempting to change the azimuth angle of the speaker. Thus, the speaker may only require freedom of motion within a single plane passing through the axis of rotation of the platform.
When the speakerphone is being used to conduct a live conversation, the processor 207 may capture signals Xj(k) from the microphone input channels, j=1, 2, . . . , NM, and operate on the signals Xj(k) with one or more virtual beams as described above. The virtual beams are pointed in a target direction (or at a target position in space), e.g., at an acoustic source such as a current talker. The beam design software may have designed the virtual beams under the assumption that the microphones are ideal omnidirectional microphones having flat spectral response. In order to compensate for the fact that the microphones Mj, j=1, 2, . . . , NM, are not ideal omnidirectional microphones, the processor 207 may access the microphone transfer functions Hjmic corresponding to the target direction (or the target position in space) and multiply the spectra Xj( 7) of the received signals by the inverses 1/Hjmic(ω) of the microphone transfer functions respectively:
Xjadj(ω)=Xj(ω)/Hjmic(ω)
The adjusted spectra Xjadj(ω) may then be supplied to the virtual beam computations.
At high frequencies, effects such as acoustic shadowing begin to show up, in part due to the asymmetries in the speakerphone surface structure. For example, since the keypad is on one side of the speakerphone's top surface, microphones near the keypad will experience a different shadowing pattern than microphones more distant from the keypad. In order to allow for the compensation of such effects, the following calibration process may be performed. A golden microphone may be positioned in the test chamber at a position and orientation that would be occupied by the microphone M1 if the first speakerphone had been placed in the test chamber. The golden microphone is positioned and oriented without being part of a speakerphone (because the intent is to capture the acoustic response of just the test chamber.) The speaker of the test chamber is positioned at the first of the set of speaker positions (i.e., the same set of positions used above to calibrate the microphone transfer functions). The calibration controller asserts the noise burst, reads the signal X1C(k) captured from microphone M1 in response to the noise burst, and stores the signal X1C(k). The noise burst and data capture is repeated for the golden microphone in each of the positions that would have been occupied if the first speakerphone had been placed in the test chamber. Next, the speaker is moved to a second of the set of speaker positions and the sequence of noise-burst-and-data-gathering over all microphone positions is performed. The sequence of noise-burst-and-data-gathering over all microphone positions is performed for each of the speaker positions. After having explored all speaker positions, the calibration controller may compute a shadowing transfer function HjSH(ω) for each microphone channel j=1, 2, . . . , NM, and for each speaker position, according to the expression:
HjSH(ω)=XjG(ω)/XjC(ω).
The shadowing transfer functions may be stored in the memory of speakerphones prior to the distribution of the speakerphones to customers.
When a speakerphone is being used to conduct a live conversation, the processor 207 may capture signals Xj(k) from the microphone input channels, j=1, 2, . . . , NM, and operate on the signals Xj(k) with one or more virtual beams pointed in a target direction (or at a target position) as described variously above. In order to compensate for the fact that the microphones Mj, j=1, 2, 3, . . . , NM, are acoustically shadowed (by being incorporated as part of a speakerphone), the processor 207 may access the shadow transfer functions HjSH(ω) corresponding to the target direction (or target position in space) and multiply the spectra Xj(ω) of the received signals by the inverses 1/HjSH(ω) of the shadowing transfer functions respectively:
Xjadj(ω)=Xj(ω)/HjSH(ω).
The adjusted spectra Xjadj(ω) may then be supplied to the virtual beam computations for the one or more virtual beams.
In some embodiments, the processor 207 may compensate for both non-ideal microphones and acoustic shadowing by multiplying each received signal spectrum Xj(ω) by the inverse of the corresponding shadowing transfer function for the target direction (or position) and the inverse of the corresponding microphone transfer function for the target direction (or position):
The adjusted spectra Xjadj(ω) may then be supplied to the virtual beam computations for the one or more virtual beams.
In some embodiments, parameters for a number of ideal high-end beams as described above may be stored in a speakerphone. Each ideal high-end beam BId(i) has an associated frequency range Ri=[ci,di] and may have been designed (e.g., as described above, using beam design software) assuming that: (a) the microphones are ideal omnidirectional microphones and (b) there is no acoustic shadowing. The ideal beam BId(i) may be given by the expression:
where the attenuation coefficients Cj and the time delay values dj are values given by the beam design software, and Wi is the spectral window function corresponding to frequency range Ri. The failure of assumption (a) may be compensated for by the speakerphone in real time operation as described above by multiplying by the inverses of the microphone transfer functions corresponding to the target direction (or target position). The failure of the assumption (b) may be compensated for by the speakerphone in real time operation as described above by applying the inverses of the shadowing transfer functions corresponding to the target direction (or target position). Thus, the corrected beam B(i) corresponding to ideal beam BId(i) may conform to the expression:
In one embodiment, the complex value zi,j of the shadowing transfer function HjSH(ω) at the center frequency (or some other frequency) of the range Ri may be used to simplify the above expression to:
A similar simplification may be achieved by replacing the microphone transfer function Hjmic(ω) with its complex value at some frequency in the range Ri.
In one set of embodiments, a speakerphone may declare the failure of a microphone in response to detecting a discontinuity in the microphone transfer function as determined by a microphone calibration (e.g., an offline self calibration or live self calibration as described above) and a comparison to past history information for the microphone. Similarly, the failure of a speaker may be declared in response to detecting a discontinuity in one or more parameters of the speaker input-output model as determined by a speaker calibration (e.g., an offline self calibration or live self calibration as described above) and a comparison to past history information for the speaker. Similarly, a failure in any of the circuitry interfacing to the microphone or speaker may be detected.
At design time an analysis may be performed in order to predict the highest order end-fire array achievable independent of S/N issues based on the tolerances of the measured positions and microphone responses. As the order of an end-fire array is increased, its actual performance requires higher and higher precision of microphone position and microphone response. By having very high precision measurements of these factors it is possible to use higher order arrays with higher DI than previously achievable.
With a given maximum order array determined by tolerances, the required S/N of the system is considered, as that may also limit the maximum order and therefore maximum usable DI at each frequency.
The S/N requirements at each frequency may be optimized relative to the human auditory system.
An optimized beam forming solution that gives maximum DI at each frequency subject to the S/N requirements and array tolerance of the system may be implemented. For example, consider an nht array with the following formula:
X=g1*mic1(t−d1)−g2*mic2(t−d2)− . . . gn*micn(t−dn).
Various mathematical solving techniques such an iterative solution or a Kalman filter may be used to determine the required delays and gains needed to produce a solution optimized for S/N, response, tolerance, DI and the application.
For example, an array used to measure direction of arrival may need much less S/N allowing higher DI than an application used in voice communications. There may be different S/N requirements depending on the type of communication channel or compression algorithm applied to the data.
Cross Correlation Analysis to Fine Tune AEC Echo Analysis.
In one set of embodiments, the processor 207 may be programmed, e.g., as illustrated in
The processor 207 may wait until some time when the environment is likely to be relatively quiet (e.g., in the middle of the night, or, early morning). If the environment is sufficiently quiet, the processor 207 may execute a tuning procedure as follows.
The processor 207 may wait for a sufficiently long period of silence, then transmit a noise signal.
The noise signal may be a maximum length sequence (in order to allow the longest calibration signal with the least possibility of auto-correlation). However, effectively the same result can be obtained by repeating the measurement with different (non-maximum length sequence) noise bursts and then averaging the results. The noise bursts can further be optimized by first determining the spectral characteristics of the background noise in the room and then designing a noise burst that is optimally shaped (e.g., in the frequency domain) to be discemable above that particular ambient noise environment.
The processor 207 may capture a block of input samples from an input channel in response to the noise signal transmission.
The processor may perform a cross correlation between the transmitted noise signal and the block of input samples.
The processor may analyze the amplitude of the cross correlation function to determine a time delay τ0 associated with the direct path signal from the speaker to microphone.
The processor may analyze the amplitude of the cross correlation function to determine the time delay (Ts) at which the amplitude dips below a threshold ATH and stays below that threshold. For example, the threshold ATH may be the RT-60 threshold relative to the peak corresponding to the direct path signal.
In one embodiment, Ts may be determined by searching the cross correlation amplitude function in the direction of decreasing time delay, starting from the maximum value of time delay computed.
The time delay Ts may be provided to the AEC module so that the AEC module can concentrate its effort on analyzing echoes (i.e., reflections) at time delays less than or equal to Ts. Thus, the AEC module doesn't waste its computational effort trying to detect the weak echoes at time delays greater than Ts.
It is of particular interest to note that Ts attains its maximum value Tsmax for any given room when the room is empty. Thus, we can know that any particular measurement of Ts will be less than or equal to Tsmax. If this condition is violated by moving the unit from one room to another, then we will know that up front, because the speakerphone will typically have to be powered down while it is being moved.
Tracking Talkers with Directed Beams
In one set of embodiments, the speakerphone may be programmed to implement the method embodiment illustrated in
This set of embodiments assumes an array of microphones, e.g., a circular array of microphones as illustrated in
At 1505, processor 207 receives a block of input samples from each of the input channels. (Each input channel corresponds to one of the microphones.)
At 1510, the processor 207 operates on the received blocks to scan a virtual broadside array through a set of angles spanning the circle to obtain an amplitude envelope describing amplitude versus angle. For example, in
At 1515, the processor 207 analyzes the amplitude envelope to detect angular positions of sources of acoustic power.
As indicated at 1520, for each source angle, the processor 207 operates on the received blocks using a directed beam (e.g., a highly directed beam) pointed in the direction defined by the source angle to obtain a corresponding beam signal. The beam signal is a high quality representation of the signal emitted by the source at that source angle.
Any of various known techniques (or combinations thereof) may be used to construct the directed beam (or beams).
In one embodiment, the directed beam may be a hybrid beam as described above.
Alternatively, the directed beam may be adaptively constructed, based on the environmental conditions (e.g., the ambient noise level) and the kind of signal source being tracked (e.g., if it is determined from the spectrum of the signal that it is most likely a fan, then a different set of beam-forming coefficients may be used in order to more effectively isolate that particular audio source from the rest of the environmental background noise).
As indicated at 1525, for each source angle, the processor 207 may examine the spectrum of the corresponding beam signal for consistency with speech, and, classify the source angle as either:
As indicated at 1530, of those sources that have been classified as intelligence, the processor may identify one or more sources whose corresponding beam signals have the highest energies (or average amplitudes). The angles corresponding to these intelligence sources having highest energies are referred to below as “loudest talker angles”.
At 1535, the processor may generate an output signal from the one or more beam signals captured by the one or more directed beams corresponding to the one or more loudest talker angles. In the case where only one loudest talker angle is identified, the processor may simply provide the corresponding beam signal as the output signal. In the case where a plurality of loudest talker angles are identified, the processor may combine (e.g., add, or, form a linear combination of) the beam signals corresponding to the loudest talker angles to obtain the output signal.
At 1540, the output signal may be transmitted to one or more remote devices, e.g., to one or more remote speakerphones through one or more of the communication interfaces 211.
A remote speakerphone may receive the output signal and provide the output signal to a speaker. Because the output signal is generated from the one or more beam signals corresponding to the one or more loudest talker angles; the remote participants are able to hear a quality representation of the speech (or other sounds) generated by the local participants, even in the situation where more than one local participant is talking at the same time, and even when there are interfering noise sources present in the local environment.
The processor may repeat operations 1505 through 1540 (or some subset of these operations) in order to track talkers as they move, to add new directed beams for persons that start talking, and to drop the directed beams for persons that have gone silent.
The next round of input and analysis may be accelerated by using the loudest talker angles determined in the current round of input and analysis.
The result of the broadside scan is an amplitude envelope. The amplitude envelope may be interpreted as a sum of angularly shifted and scaled versions of the response pattern of the virtual broadside array. If the angular separation between two sources equals the angular position of a sidelobe in the response pattern, the two shifted and scaled versions of the response may have sidelobes that superimpose. To avoid detecting such superimposed sidelobes as source peaks, the processor may analyze the amplitude envelope as follows.
Steps (a), (b) and (c) may be repeated a number of times. For example, each cycle of steps (a), (b) and (c) may eliminate the peak of highest amplitude remaining in the amplitude envelope. The procedure may terminate when the peak of highest amplitude is below a threshold value (e.g., a noise floor value).
Any of the various method embodiments disclosed herein (or any combinations thereof or portions thereof) may be implemented in terms of program instructions. The program instructions may be stored in (or on) any of various memory media. For example, in one embodiment, a memory medium may be configured to store program instructions, where the program instructions are executable to implement the method embodiment of
Furthermore, various embodiments of a system including a memory and a processor are contemplated, where the memory is configured to store program instructions and the processor is configured to read and execute the program instructions from the memory. In various embodiments, the program instructions encode corresponding ones of the method embodiments described herein (or combinations thereof or portions thereof). For example, in one embodiment, the program instructions are configured to implement the method of
Chebyshev Constraint-Based Beam Forming and Null Placement to Tune Out Noise Sources
In one set of embodiments, the processor 207 may be programmed to design one or more beams which have nulls in the directions of the noise sources and which are highly sensitive in the directions of the talkers, e.g., as illustrated in
Part of the analysis described above is the identification of the angles at which noise sources occur. The processor 207 may identify the angle(s) of one or more of the noise sources having the highest amplitudes (in the amplitude envelope) among all the noise sources.
In real time, the processor 207 may design a hybrid beam (e.g., a superdirective/delay-and-sum beam as described above) pointed at a talker with one or more nulls pointed at the one or more loudest noise sources. The delay-and-sum portion of the beam may be designed using the well-known Chebyshev solution to the design constraints. The design constraints include the angle over which a relatively uniform response is desired and the desired rejection of the signals outside of the beam. Another constraint is that this solution is also constrained to be maximally flat over all of the frequencies of interest. Another constraint can be that we may want to point one or more sharp nulls at a particular angle that happens to be in the middle of the main lobe. For example, you can effectively “tune out” a projector that is quite near to the current talker's position.
Environment Modeling for Network Management
In some embodiments, the processor 207 may obtain a 3D model of the room environment by scanning a superdirected beam in all directions of the hemisphere and measure reflection time for each direction, e.g., as illustrated in
The processor 207 may transmit a test signal and capture the response to the test signal from each of the input channels. The captured signals may be stored in memory.
Based on the known geometry of the microphone array (e.g., circular array), the processor is able to generate a highly directed beam in any direction of the hemisphere above the horizontal plane defined by the top surface of the speakerphone.
The processor may generate directed beams pointed in a set of directions that sample the hemisphere, e.g., in a fairly uniform fashion. For each direction, the processor applies the corresponding directed beam to the stored data (captured in response to the test signal transmission) to generate a corresponding beam signal.
For each direction, the processor may perform cross correlations between the beam signal and the test signal to determine the time of first reflection in each direction. The processor may convert the time of first reflection into a distance to the nearest acoustically reflective surface. These distances (in the various directions) may be used to build a 3D model of the spatial environment (e.g., the room) of the speakerphone. For example, in one embodiment, the model includes a set of vertices expressed in 3D Cartesian coordinates. Other coordinate system are contemplated as well.
It is noted that all the directed beams may operate on the single set of data gathered and stored in response to a single test signal transmission. The test signal transmission need not be repeated for each direction.
The beam forming and data analysis to generate the 3D model may be performed offline.
The processor may transfer the 3D model through a network to a central station. Software at the central station may maintain a collection of such 3D models generated by speakerphones distributed through the network.
The speakerphone may repeatedly scan the environment as described above and send the 3D model to the central station. The central station can detect if the speakerphone has been displaced, or, moved to another room, by comparing the previous 3D model stored for the speakerphone to the current 3D model, e.g., as illustrated in
By using the above methodology, the speakerphone can characterize an arbitrary shaped room, at least that portion of the room that is above the table (or surface on which the speakerphone is sitting). The 3D environment modeling may be done when there are no conversations going on and when the ambient noise is sufficiently low, e.g., in the middle of the night after the cleaning crew has left and the air conditioner has shut off.
Distance Estimation and Proximity Effect Compensation
In one set of embodiments, the speakerphone may be programmed to estimate the position of the talker (relative to the microphone array), and then, to compensate for the proximity effect on the talker's voice signal using the estimated position, e.g., as illustrated in
The processor 207 may receive a block of samples from each input channel. Each microphone of the microphone array has a different distance to the talker, and thus, the voice signal emitted by the talker may appear with different time delays (and amplitudes) in the different input blocks.
The processor may perform cross correlations to estimate the time delay of the talker's voice signal in each input block.
The processor may compute the talker's position using the set of time delays.
The processor may then apply known techniques to compensate for proximity effect using the known position of talker. This well-known proximity effect is due to the variation in the near-field boundary over frequency and can make a talker who is close to a directional microphone have much more low-frequency boost than one that is farther away from the same directional microphone.
Dereverberation of Talker's Signal using Environment Modeling.
In some embodiments, the speakerphone may be programmed to cancel echoes (of the talker's voice signal) from received input signals using knowledge of the talker's position and the 3D model of the room, e.g., as illustrated in
If the talker emits a voice signal s(t), delayed and attenuated versions of the voice signal s(t) are picked up by each of the microphones of the array. Each microphone receives a direct path transmission from the talker and a number of reflected path transmissions (echoes). Each version has the form c*s(t−τ), where delay τ depends on the length of the transmission path between the talker and the microphone, and attenuation coefficient c depends on reflection coefficient of each reflective surface encountered (if any) in the transmission path.
The processor 207 may receive an input data block from each input channel. (Each input channel corresponds to one of the microphones.)
The processor may operate on the input data blocks as described above to estimate position of the talker.
The processor may use the talker position and the 3D model of the environment to estimate the delay times τij and attenuation coefficients cij for each microphone Mi and each one of one or more echoes Ej of the talker's voice signal as received at microphone Mi.
For each input channel signal Xi, i=1, 2, . . . , NM, where NM is the number of microphones:
The output signals Yi, i=1, 2, . . . , NM, may be combined into a final output signal. The final output signal may be transmitted to a remote speakerphone. Alternatively, the output signals may be operated on to achieve further enhancement of signal quality before formation of a final output signal.
Encoding and Decoding
A described variously above, the speakerphone 200 is configured to communicate with other devices, e.g., speakerphones, video conferencing systems, computers, etc. In particular, the speakerphone 200 may send and receive audio data in encoded form. Thus, the speakerphone 200 may employ an audio codec for encoding audio data streams and decoding already encoded streams.
In one set of embodiments, the processor 207 may employ a standard audio codec, especially a high quality audio codec, in a novel and non-standard way as described below and illustrated in
The processor 207 may receive a stream S of audio samples that is to be encoded.
The processor may feed the samples of the stream S into frames. However, each frame is loaded with NA samples of the stream S, where NA is less than NFR, and the remaining NFR-NA sample locations of the frame are loaded with zeros.
There are a wide variety of options for where to place the zeroes within the frame. For example, the zeros may be placed at the end of the frame. As another example, the zeros may be placed at the beginning of the frame. As yet another example, some of the zeros may be placed at the beginning of the frame and the remainder may be placed at the end of the frame.
The processor may invoke the encoder of the standard codec for each frame. The encoder operates on each frame to generate a corresponding encoded packet. The processor may send the encoded packets to the remote device.
A second processor at the remote device receives the encoded packets transmitted by the first processor. The second processor invokes a decoder of the standard codec for each encoded packet. The decoder operates on each encoded packet to generate a corresponding decoded frame.
The second processor extracts the NA audio samples from each decoded frame and assembles the audio samples extracted from each frame into an audio stream R. The zeros are discarded.
Interchange the roles of the first processor and second processor in the above discussion and one has a description of transmission in the reverse direction. Thus, the software available to each processor may include the encoder and the decoder of a standard codec. Each processor may generate frames only partially loaded audio samples from an audio stream and partially loaded with zeros. Each processor may extract audio samples from decoded frames to reconstruct an audio stream.
Because the first processor is injecting only NA samples (and not NFR samples) of the stream S into each frame, the first processor may generate the frames (and invoke the encoder) a rate higher than the rate specified by the codec standard. Similarly, the second processor may invoke the decoder at the higher rate. Assuming the sampling rate of the stream S is rs, the first processor (second processor) may invoke the encoder (decoder) at a rate of one frame (packet) every NA/rs seconds. Thus, audio data may delivered to remote device with significantly lower latency than if each frame were filled with NFR samples of the audio stream S.
In one group of embodiments, the standard codec employed by the first processor and second processor may be a low complexity (LC) version of the Advanced Audio Codec (AAC). The AAC-LC specifies a frame size NFR=1024. In some embodiments of this group, the value NA may be any value in the closed interval [160,960]. In other embodiments of this group, the value NA may be any value in the closed interval [320,960]. In yet other embodiments of this group, the value NA may be any value in the closed interval [480,800].
In a second group of embodiments, the standard codec employed by the first processor and the second processor may be a low delay (LD) version of the AAC. The AAC-LD specifies a frame size of NFR=512. In some embodiments of this group, the value NA may be any value in the closed interval [80,480]. In other embodiments of this group, the value NA may be any value in the closed interval [160,480]. In yet other embodiments of this group, the value NA may be any value in the closed interval [256,384].
In a third group of embodiments, the standard codec employed by the first processor and the second processor may be a 722.1 codec.
Microphone/Speaker Calibration Processes
A stimulus signal may be transmitted by the speaker. The returned signal (i.e., the signal sensed by the microphone array) may be used to perform calibration. This returned signal may include four basic signal categories (arranged in order of decreasing signal strength as seen by the microphone):
Each of these four categories can be further broken down into separate constituents. In some embodiments, the second category is measured in order to determine the microphone calibration (and microphone changes).
Measuring Internal Audio
In one set of embodiment, one may start by measuring the first type of response at the factory in a calibration chamber (where audio signals of type 3 or 4 do not exist) and subtracting that response from subsequent measurements. By comparison with a “golden unit”, one knows how audio of type 1 a) should measure, and one can then measure microphone self-noise (type 4 b) by recording data in a silent test chamber, so one can separate the different responses listed above by making a small set of simple measurements in the factory calibration chamber.
It is noted that a “failure” caused by 1 b) may dominate the measurements. Furthermore, “failures” caused by 1 b) may change dramatically over time, if something happens to the physical structure (e.g., if someone drops the unit or if it is damaged in shipping or if it is not well-assembled and something in the internal structure shifts as a result of normal handling and/or operation).
Fortunately, in a well-put together unit, the buzzes and rattles are usually only excited by a limited band of frequencies (e.g., those where the structure has a natural set of resonances). One can previously determine these “dangerous frequencies” by experiment and by measuring the “golden unit(s)”. One removes these signals from the stimulus before making the measurement by means of a very sharp notch in the frequency response of signals that are transmitted to the speaker amp.
In one embodiment, these frequencies may be determined by running a small amplitude swept-sine stimulus through the unit's speaker and measure the harmonic distortion of the resulting raw signal that shows up in the microphones. In the calibration chamber, one can measure the distortion of the speaker itself (using an external reference microphone) so one can know even the smallest levels of distortion caused by the speaker as a reference. If the swept sine is kept small enough, then one knows a-priori that the loudspeaker should not typically be the major contributor to the distortion.
If the calibration procedure is repeated in the field, and if there is distortion showing up at the microphones, and if it is equal over all of the microphones, then one knows that the loudspeaker has been damaged. If the microphone signals show non-equal distortion, then one may be confident that it is something else (typically an internal mechanical problem) that is causing this distortion. Since the speaker may be the only internal element which is equidistant from all microphones, one can determine if there is something else mechanical that is causing the distortions by examining the relative level (and phase delay, in some cases) of the distortion components that show up in each of the raw microphone signals.
So, one can analyze the distortion versus frequency for all of the microphones separately and determine where the buzzing and/or rattling component is located and then use this information to make manufacturing improvements. For example, one can determine, through analysis of the raw data, whether a plastic piece that is located between microphones 3 and 4 is not properly glued in before the unit leaves the factory floor. As another example, one can also determine if a screw is coming loose over time. Due to the differences in the measured distortion and/or frequency response seen at each of the mics, one can also determine the difference between one of the above failures and one that is caused by a mic wire that has come loose from its captive mounting, since the anomalies caused by that problem have a very different characteristic than the others.
Measurement Noise
One can determine the baseline microphone self-noise in a factory calibration chamber. In the field, however, it may be difficult to separate out the measurement of the microphone's self-noise and the room noise unless one does a lot of averaging. Even then, if the room noise is constant (in amplitude), one cannot completely remove it from the measurement. However, one can wait for the point where the overall noise level is at a minimum (for example if the unit wakes up at 2:30 am and “listens” to see if there is anyone in the room or if the HVAC fan is on, etc.) and then minimize the amount of room noise that one will see in the overall microphone self noise measurement.
Another strategy is if the room has anisotropic noise (i.e., if the noise in the room has some directional characteristic). Then one can perform beam-forming on the mic array, find the direction that the noise is strongest, measure its amplitude and then measure the noise sound field (i.e., its spatial characteristic) and then use that to come up with an estimate of how large a contribution that the noise field will make at each microphone's location. One then subtracts that value from the measured microphone noise level in order to separate the room noise from the self-noise of the mic itself.
Room-Related Audio Measurement
There are two components of the signal seen at each mic that are due to the interactions of the speaker stimulus signal and the room in which the speaker is located: reflections and resonances. One can use the mic array to determine the approximate dimensions of the room by sending a stimulus out of the loudspeaker and then measuring the first time of reflection from all directions. That will effectively tell one where the walls and ceiling are in relation to the speakerphone. From this information, one can effectively remove the contribution of the reflections to the calibration procedure by “gating” the data acquisition from the measured data sets from each of the mics. This gating process means that one only looks at the measured data during specific time intervals (when one knows that there has not been enough time for a reflection to have occurred).
The second form of room related audio measurement may be factored in as well. Room-geometry related resonances are peaks and nulls in the frequency response as measured at the microphone caused by positive and negative interference of audio waveforms due to physical objects in the room and due to the room dimensions themselves. Since one is gating the measurement based on the room dimensions, then one can get rid of the latter of the two (so-called standing waves). However, one may still need to factor out the resonances that are caused by objects in the room that are closer to the phone than the walls (for example, if the phone is sitting on a wooden table that resonates at certain frequencies). One can deal with these issues much in the same way that one deals with the problematic frequencies in the structure of the phone itself; by adding sharp notches in the stimulus signal such that these resonances are not excited. The goal is to differentiate between these kinds of resonances and similar resonances that occur in the structure of the phone itself. Three methods for doing this are as follows: 1) one knows a-priori where these resonances typically occur in the phone itself, 2) external resonances tend to be lower in frequency than internal resonances and 3) one knows that these external object related resonances only occur after a certain time (i.e., if one measures the resonance effects at the earliest time of arrival of the stimulus signal, then it will be different than the resonance behavior after the signal has had time to reflect off of the external resonator).
So, after one factors in all of the adjustments described above, one then can isolate the first arrival (i.e., direct air-path) radiated audio signal from the rest of the contributions to the mic signal. That is how one can perform accurate offline (and potentially online) mic and speaker calibration.
Various embodiments may further include receiving, sending or storing program instructions and/or data implemented in accordance with any of the methods described herein (or combinations thereof or portions thereof) upon a computer-accessible medium. Generally speaking, a computer-accessible medium may include:
The various methods as illustrated in the Figures and described herein represent exemplary embodiments of methods. The methods may be implemented in software, hardware, or a combination thereof. The order of operations in the various methods may be changed, and various operations may be added, reordered, combined, omitted, modified, etc.
Various modifications and changes may be made as would be obvious to a person skilled in the art having the benefit of this disclosure. It is intended that the invention embrace all such modifications and changes and, accordingly, the above description be regarded in an illustrative rather than a restrictive sense.
This application claims priority to U.S. Provisional Application No. 60/676,415, filed on Apr. 29, 2005, entitled “Speakerphone Functionality”, invented by William V. Oxford, Vijay Varadarajan and Ioannis S. Dedes, which is hereby incorporated by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
3963868 | Randmere et al. | Jun 1976 | A |
4536887 | Kaneda et al. | Aug 1985 | A |
4802227 | Elko et al. | Jan 1989 | A |
4903247 | Van Gerwen et al. | Feb 1990 | A |
5029162 | Epps | Jul 1991 | A |
5034947 | Epps | Jul 1991 | A |
5051799 | Paul et al. | Sep 1991 | A |
5054021 | Epps | Oct 1991 | A |
5121426 | Baumhauer, Jr. et al. | Jun 1992 | A |
5168525 | Muller | Dec 1992 | A |
5263019 | Chu | Nov 1993 | A |
5305307 | Chu | Apr 1994 | A |
5335011 | Addeo et al. | Aug 1994 | A |
5365583 | Huang et al. | Nov 1994 | A |
5390244 | Hinman et al. | Feb 1995 | A |
5396554 | Hirano et al. | Mar 1995 | A |
5550924 | Helf et al. | Aug 1996 | A |
5566167 | Duttweiler | Oct 1996 | A |
5581620 | Brandstein et al. | Dec 1996 | A |
5606642 | Stautner et al. | Feb 1997 | A |
5617539 | Ludwig et al. | Apr 1997 | A |
5649055 | Gupta et al. | Jul 1997 | A |
5657393 | Crow | Aug 1997 | A |
5664021 | Chu et al. | Sep 1997 | A |
5689641 | Ludwig et al. | Nov 1997 | A |
5715319 | Chu | Feb 1998 | A |
5737431 | Brandstein et al. | Apr 1998 | A |
5742693 | Elko | Apr 1998 | A |
5751338 | Ludwig, Jr. | May 1998 | A |
5778082 | Chu et al. | Jul 1998 | A |
5787183 | Chu et al. | Jul 1998 | A |
5793875 | Lehr et al. | Aug 1998 | A |
5825897 | Andrea et al. | Oct 1998 | A |
5844994 | Graumann | Dec 1998 | A |
5896461 | Faraci et al. | Apr 1999 | A |
5924064 | Helf | Jul 1999 | A |
5983192 | Botzko et al. | Nov 1999 | A |
6041127 | Elko | Mar 2000 | A |
6049607 | Marash et al. | Apr 2000 | A |
6072522 | Ippolito et al. | Jun 2000 | A |
6130949 | Aoki et al. | Oct 2000 | A |
6141597 | Botzko et al. | Oct 2000 | A |
6173059 | Huang et al. | Jan 2001 | B1 |
6198693 | Marash | Mar 2001 | B1 |
6243129 | Deierling | Jun 2001 | B1 |
6246345 | Davidson et al. | Jun 2001 | B1 |
6317501 | Matsuo | Nov 2001 | B1 |
6351238 | Kishigami et al. | Feb 2002 | B1 |
6351731 | Anderson et al. | Feb 2002 | B1 |
6363338 | Ubale et al. | Mar 2002 | B1 |
6453285 | Anderson et al. | Sep 2002 | B1 |
6459942 | Markow et al. | Oct 2002 | B1 |
6469732 | Chang et al. | Oct 2002 | B1 |
6526147 | Rung | Feb 2003 | B1 |
6535604 | Provencal et al. | Mar 2003 | B1 |
6535610 | Stewart | Mar 2003 | B1 |
6566960 | Carver | May 2003 | B1 |
6584203 | Elko et al. | Jun 2003 | B2 |
6587823 | Kang et al. | Jul 2003 | B1 |
6590604 | Tucker et al. | Jul 2003 | B1 |
6593956 | Potts et al. | Jul 2003 | B1 |
6594688 | Ludwig et al. | Jul 2003 | B2 |
6615236 | Donovan et al. | Sep 2003 | B2 |
6625271 | O'Malley et al. | Sep 2003 | B1 |
6646997 | Baxley et al. | Nov 2003 | B1 |
6657975 | Baxley et al. | Dec 2003 | B1 |
6697476 | O'Malley et al. | Feb 2004 | B1 |
6721411 | O'Malley et al. | Apr 2004 | B2 |
6731334 | Maeng et al. | May 2004 | B1 |
6744887 | Berstein et al. | Jun 2004 | B1 |
6760415 | Beecroft | Jul 2004 | B2 |
6816904 | Ludwig et al. | Nov 2004 | B1 |
6822507 | Buchele | Nov 2004 | B2 |
6831675 | Shachar et al. | Dec 2004 | B2 |
6850265 | Strubbe et al. | Feb 2005 | B1 |
6856689 | Sudo et al. | Feb 2005 | B2 |
6912178 | Chu et al. | Jun 2005 | B2 |
6980485 | McCaskill | Dec 2005 | B2 |
7012630 | Curry et al. | Mar 2006 | B2 |
7130428 | Hirai et al. | Oct 2006 | B2 |
7133062 | Castles et al. | Nov 2006 | B2 |
20020123895 | Potekhin et al. | Sep 2002 | A1 |
20030197316 | Baumhauer, Jr. et al. | Oct 2003 | A1 |
20040001137 | Cutler et al. | Jan 2004 | A1 |
20040010549 | Matus et al. | Jan 2004 | A1 |
20040032487 | Chu et al. | Feb 2004 | A1 |
20040032796 | Chu et al. | Feb 2004 | A1 |
20040183897 | Kenoyer et al. | Sep 2004 | A1 |
20050157866 | Marton et al. | Jul 2005 | A1 |
20050169459 | Marton et al. | Aug 2005 | A1 |
20050212908 | Rodman et al. | Sep 2005 | A1 |
20050262201 | Rudolph et al. | Nov 2005 | A1 |
20060013416 | Truong et al. | Jan 2006 | A1 |
20060034469 | Tamiya et al. | Feb 2006 | A1 |
20060109998 | Michel | May 2006 | A1 |
20060165242 | Miki et al. | Jul 2006 | A1 |
Number | Date | Country |
---|---|---|
62203432 | Sep 1987 | JP |
07264102 | Mar 1994 | JP |
07135478 | May 1995 | JP |
07240722 | Sep 1995 | JP |
09307651 | Nov 1997 | JP |
10190848 | Jul 1998 | JP |
PCTUS9717770 | Apr 1998 | WO |
9922460 | May 1999 | WO |
2005064908 | Jul 2005 | WO |
Number | Date | Country | |
---|---|---|---|
20060256974 A1 | Nov 2006 | US |
Number | Date | Country | |
---|---|---|---|
60676415 | Apr 2005 | US |