# Patent

## Title
Conferencing apparatus with an automatically adapting beamforming microphone array

## Abstract

This disclosure describes a conferencing apparatus with an automatically adapting beamforming microphone array for teleconferencing applications. The conferencing apparatus includes a processor coupled to memory, storage, and a housing. The apparatus further includes a communication element, a plurality of microphones arranged in the housing and configured as a beamforming microphone array, and an orientation sensor. Additionally, the apparatus includes executing a series of steps including: (a) adapting a signal-processing characteristic of the beamforming microphone array responsive to the orientation signal, (b) beamforming to combine the plurality of microphone signals to a plurality of combined signals, (c) performing an acoustic echo cancellation operation on the plurality of combined signals to generate a plurality of combined echo-canceled signals, and (d) selecting one or more of the plurality of combined echo-canceled signals for transmission.

## Background
CROSS REFERENCE TO RELATED APPLICATIONS
This application claims priority and the benefits of the earlier filed Provisional U.S. Application No. 61/495,961, filed 11 Jun. 2011, which is incorporated by reference for all purposes into this specification.
This application claims priority and the benefits of the earlier filed Provisional U.S. Application No. 61/495,968, filed 11 Jun. 2011, which is incorporated by reference for all purposes into this specification.
This application claims priority and the benefits of the earlier filed Provisional U.S. Application No. 61/495,971, filed 11 Jun. 2011, which is incorporated by reference for all purposes into this specification.
This application claims priority and the benefits of the earlier filed Provisional U.S. Application No. 61/45,971, filed 11 Jun. 2011, which is incorporated by reference for all purposes into this specification.


Technical Field
This disclosure relates to a conferencing apparatus that uses a beamforming microphone. More specifically, this disclosure relates to a conferencing apparatus that combines a beamforming microphone array with an acoustic echo canceller for conferencing applications.
Background Art
A beamforming microphone array (BMA) substantially improves the audio quality in a conferencing apparatus and application. Furthermore, a conferencing solution with a BMA needs to incorporate an acoustic echo canceller (AEC) for full duplex audio. Two strategies, “AEC first” and “beamformer first”, have been proposed to combine an acoustic echo canceller with a beamforming microphone array. The “beamformer first” method performs beamforming on microphone signals and subsequently echo cancellation is applied on the beamformed signals.
The “beamformer first” method is known to be computationally friendly but requires continuous learning in the echo canceller due to changing characteristics of the beamformer. Often this renders the “beamformer first” method impractical for good conferencing systems. On the other hand, the “echo canceller first” system applies echo cancellation on each microphone signal and subsequently beamforming is applied on the echo cancelled signals.
The “AEC first” system provides better echo cancellation performance but is computationally intensive as the echo cancellation is applied for every microphone in the microphone array. The computational complexity increases as the number of microphones in the microphone array increases. This computational complexity increase results in a corresponding cost increase that places a practical limit on the number of microphones that can be used in a microphone array, which, in turn, limits the maximum benefit that can be obtained from the beamforming algorithm.
The present disclosure implements a conferencing solution with a BMA and AEC in the “beamformer first” configuration with fixed beams followed by echo cancellers for each beam. This solution enables an increase in microphones for a better beamforming without the need for additional echo cancellers as the number of microphones increases. In addition, the present disclosure provides that the echo cancellers do not need to adapt all the time as the number of beams are fixed. Therefore, the present disclosure provides good echo cancellation performance without a huge increase in computational complexity for a large number of microphones.
SUMMARY OF INVENTION
This disclosure describes a conferencing apparatus with an automatically adapting beamforming microphone array for teleconferencing applications. The conferencing apparatus includes a processor coupled to memory, and storage included in a housing. The conferencing apparatus further includes a communication element coupled to said processor for communicating with other devices and or communication networks. Additionally, the apparatus includes a plurality of microphones arranged in the housing and configured as a beamforming microphone array, where the beamforming microphone array is oriented to cover a plurality of direction vectors and develop a plurality of microphone signals. The apparatus further includes an orientation sensor that generates an orientation signal indicative of an orientation of with a predetermined spatial arrangement relative to the beamforming microphone array. And, the apparatus includes having the processor executing a series of computing instructions that include the following steps: (a) adapting a signal-processing characteristic of the beamforming microphone array responsive to the orientation signal, (b) beamforming to combine the plurality of microphone signals to a plurality of combined signals, (c) performing an acoustic echo cancellation operation on the plurality of combined signals to generate a plurality of combined echo-canceled signals, and (d) selecting one or more of the plurality of combined echo-canceled signals for transmission.
The conferencing apparatus further includes performing a direction-of-arrival determination on the plurality of microphone signals. Additionally, the apparatus comprises adjusting the signal-processing characteristic by selecting one of a fixed number of pre-determined beam patterns. And, the apparatus includes selecting one of a fixed number of pre-determined beam patterns in response to the orientation signal. Further, the apparatus comprises noise filtering the selected one or more of the plurality of combined echo-canceled signals.



BRIEF DESCRIPTION OF DRAWINGS
To further aid in understanding the disclosure, the attached drawings help illustrate specific features of the disclosure and the following is a brief description of the attached drawings:
FIGS. 1A and 1B are a block diagrams illustrating a conferencing apparatus according to several embodiments of the present invention.
FIG. 2 illustrates geometrical representations of a beam for a microphone.
FIG. 3 illustrates a top view and a side view of a conference room including participants and a conferencing apparatus placed on a table and illustrating beams that may be formed by a beamforming microphone array integrated into the conferencing apparatus.
FIG. 4 illustrates a top view and a side view of a conference room including participants and a conferencing apparatus mounted on a ceiling and illustrating beams that may be formed by a beamforming microphone array integrated into the conferencing apparatus.
FIG. 5 illustrates a top view and a side view of a conference room including participants and a conferencing apparatus mounted on a wall and illustrating beams that may be formed by a beamforming microphone array integrated into the conferencing apparatus.
FIG. 6 illustrates elements involved in sensing acoustic waves with a plurality of microphones and signal processing that may be performed on the sensed acoustic waves.
FIG. 7 illustrates the “beamforming first” strategy for processing signals.
FIG. 8 illustrates the “echo canceling first” strategy for processing signals.
FIG. 9A is a simplified illustration of one embodiment of the present invention showing a hybrid processing strategy for processing signals.
FIG. 9B is an expanded illustration of FIG. 9A that shows one embodiment of the present invention in more detail.
FIG. 10 illustrates the subdividing of the 3-dimensional space for creating a desired beam to pick up sound from a certain direction.
FIG. 11 is a block diagram describing the creation of fixed beams from the microphone input signals and precalculated beamforming weights.
FIG. 12 is an input-output block diagram of detectors.
FIG. 13 is a block diagram showing echo cancellation of “M” beams with respect to the reference signal.
FIG. 14 illustrates using a voice activity detector to enhance the direction of arrival determination.
FIG. 15 is a block diagram showing various components of the post processing used to improve the sound quality of audio sent to the far end.
FIG. 16 illustrates the computational complexity of various embodiments relative to number of microphones in a beamforming microphone array.



DISCLOSURE OF EMBODIMENTS
The disclosed embodiments are intended to describe aspects of the disclosure in sufficient detail to enable those skilled in the art to practice the invention. Other embodiments may be utilized and changes may be made without departing from the scope of the disclosure. The following detailed description is not to be taken in a limiting sense, and the scope of the present invention is defined only by the included claims.
Furthermore, specific implementations shown and described are only examples and should not be construed as the only way to implement or partition the present disclosure into functional elements unless specified otherwise herein. It will be readily apparent to one of ordinary skill in the art that the various embodiments of the present disclosure may be practiced by numerous other partitioning solutions.
In the following description, elements, circuits, and functions may be shown in block diagram form in order not to obscure the present disclosure in unnecessary detail. Additionally, block definitions and partitioning of logic between various blocks is exemplary of a specific implementation. It will be readily apparent to one of ordinary skill in the art that the present disclosure may be practiced by numerous other partitioning solutions. Those of ordinary skill in the art would understand that information and signals may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips that may be referenced throughout the description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof. Some drawings may illustrate signals as a single signal for clarity of presentation and description. It will be understood by a person of ordinary skill in the art that the signal may represent a bus of signals, wherein the bus may have a variety of bit widths and the present disclosure may be implemented on any number of data signals including a single data signal.
The various illustrative logical blocks, modules, and circuits described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a special purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, any conventional processor, controller, microcontroller, or state machine. A general purpose processor may be considered a special purpose processor while the general purpose processor is configured to execute instructions (e.g., software code) stored on a computer readable medium. A processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
In addition, the disclosed embodiments may be described in terms of a process that may be depicted as a flowchart, a flow diagram, a structure diagram, or a block diagram. Although a process may describe operational acts as a sequential process, many of these acts can be performed in another sequence, in parallel, or substantially concurrently. In addition, the order of the acts may be rearranged.
Elements described herein may include multiple instances of the same element. These elements may be generically indicated by a numerical designator (e.g. 110) and specifically indicated by the numerical indicator followed by an alphabetic designator (e.g., 110A) or a numeric indicator preceded by a “dash” (e.g., 110-1). For ease of following the description, for the most part element number indicators begin with the number of the drawing on which the elements are introduced or most fully discussed. For example, where feasible, elements in FIG. 3 are designated with a format of 3xx, where 3 indicates FIG. 3 and xx designates the unique element.
It should be understood that any reference to an element herein using a designation such as “first,” “second,” and so forth does not limit the quantity or order of those elements, unless such limitation is explicitly stated. Rather, these designations may be used herein as a convenient method of distinguishing between two or more elements or instances of an element. Thus, a reference to first and second element does not mean that only two elements may be employed or that the first element must precede the second element in some manner. In addition, unless stated otherwise, a set of elements may comprise one or more elements.
Embodiments of the present disclosure include a conferencing apparatus that combines a beamforming microphone array with an acoustic echo canceller. The present invention improves the acoustic quality of beamforming microphone arrays with echo cancellation by performing this echo cancellation efficiently. The conferencing apparatus described in the present disclosure is applicable to both teleconferencing and video conferencing environments as the present invention is focused on the audio aspects of the conferencing environment.
A good conferencing device requires good quality of the local talker audio and cancellation of the far end audio. The local talker is often picked up with directional microphones or beamforming microphone arrays for good audio quality. The beamforming microphone array uses multiple microphones to create a beam in the local talker's direction to improve audio quality. The audio quality improves with an increase in the number of microphones used in the beamforming microphone array although a point of diminishing returns will eventually be reached. In a conferencing situation, audio of the far end talker picked up by that the beamforming microphone array, commonly referred to as echo, needs to be cancelled before transmitting to the local end. This cancelling is achieved by an acoustic echo canceller (AEC) that uses the loudspeaker audio of the far end talker as a reference. When using a beamforming microphone array, there are multiple ways of doing acoustic echo cancellation and beamforming to produce the desired results.
FIG. 1A illustrates a conferencing apparatus 100 for one embodiment of the present disclosure. The conferencing apparatus 100 may include elements for executing software applications as part of embodiments of the present disclosure. Thus, the system 100 is configured for executing software programs containing computing instructions and includes one or more processors 110, memory 120, one or more communication elements 150, and user interface elements 130, and a beamforming microphone array (BMA), 135. The system 100 may also include storage 140. The conferencing apparatus 100 may be included in a housing 190. Other embodiments of the conferencing apparatus can include having the various components in one or more housings connected by communication elements as described below.
The processor 110 may be configured to execute a wide variety of applications including the computing instructions to carry out embodiments of the present disclosure.
The memory 120 may be used to hold computing instructions, data, and other information for performing a wide variety of tasks including performing embodiments of the present disclosure. By way of example, and not limitation, the memory 120 may include Static Random Access Memory (SRAM), Dynamic RAM (DRAM), Read-Only Memory (ROM), Flash memory, and the like.
Information related to the system 100 may be presented to, and received from, a user with one or more user interface elements 130. As non-limiting examples, the user interface elements 130 may include elements such as LED status indicators, displays, keyboards, mice, joysticks, haptic devices, microphones, speakers, cameras, and touchscreens.
The communication elements 150 may be configured for communicating with other devices and or communication networks. As non-limiting examples, the communication elements 150 may include elements for communicating on wired and wireless communication media, such as for example, serial ports, parallel ports, Ethernet connections, universal serial bus (USB) connections IEEE 1394 (“Firewire”) connections, Bluetooth wireless connections, 802.1 a/b/g/n type wireless connections, and other suitable communication interfaces and protocols.
The storage 140 may be used for storing relatively large amounts of non-volatile information for use in the computing system 100 and may be configured as one or more storage devices. By way of example, and not limitation, these storage devices may include computer-readable media (CRM). This CRM may include, but is not limited to, magnetic and optical storage devices such as disk drives, magnetic tapes, CDs (compact disks), DVDs (digital versatile discs or digital video discs), semiconductor devices such as USB Drives, SD cards, ROM, EPROM, Flash Memory, other types of memory sticks, and other equivalent storage devices.
Software processes illustrated herein are intended to illustrate representative processes that may be performed by the systems illustrated herein. Unless specified otherwise, the order in which the process steps are described is not intended to be construed as a limitation, and steps described as occurring sequentially may occur in a different sequence, or in one or more parallel process streams. It will be appreciated by those of ordinary skill in the art that many steps and processes may occur in addition to those outlined in flow charts. Furthermore, the processes may be implemented in any suitable hardware, software, firmware, or combinations thereof. When executed as firmware or software, the instructions for performing the processes may be stored on a computer-readable medium.
By way of non-limiting example, computing instructions for performing the processes may be stored on the storage 140, transferred to the memory 120 for execution, and executed by the processors 110. The processor 110, when executing computing instructions configured for performing the processes, constitutes structure for performing the processes and can be considered a special-purpose computer when so configured. In addition, some or all portions of the processes may be performed by hardware specifically configured for carrying out the processes.
In some embodiments, an orientation sensor 160 may be included. As a non-limiting example, accelerometers configured to sense acceleration in at least two substantially orthogonal directions may be used. As another non-limiting example, a multi-axis accelerometer may be used. Of course, other types of position sensors may also be used, such as for example magnetometers to sense magnetic fields of the Earth.
Single- and multi-axis models of accelerometers may be used to detect magnitude and direction of the proper acceleration (i.e., g-force), and can be used to sense orientation. Orientation can be sensed because the accelerometers can detect gravity acting in different directions relative to the microphone array housing. The proper acceleration measured by an accelerometer is the acceleration associated with the phenomenon of weight experienced by any mass at rest in the frame of reference of the accelerometer device. For example, an accelerometer can measure a value of “g” in the upward direction when remaining stationary on the ground, because masses on the Earth have weight (i.e., mass*g). Another way of stating this phenomenon is that by measuring weight, an accelerometer measures the acceleration of the free-fall reference frame (i.e., the inertial reference frame) relative to itself.
One particular type of user interface element 130 used in embodiments of the present disclosure is a beamforming microphone array (BMA) 135 that comprises a plurality of microphones.
Thus, accelerometers mounted in the housing 190 can be used to determine the orientation of the housing 190. If the BMA 135 is also mounted in the housing 190, the orientation of the BMA 135 is easily determined because it is in a fixed position relative to the housing 190.
Directional microphones are often used in a conference to capture participant's audio. In a conference, microphones are usually placed on a table or hung from the ceiling and are manually positioned so that a participant's audio is in the pick-up pattern of the microphone. Since, the pick-up patterns of these microphones are fixed, more often than not one type of microphone, say a tabletop microphone, may not work for another type of installation, say a ceiling installation. Thus, an installer may need to know the type of installation (e.g., tabletop or ceiling), the angle of participants relative to the microphones, and the number of participants before installing a correct set of microphones. One skilled in the art will appreciate that the disclosed invention is applicable to a variety of microphones including various directional microphones, omnidirectional microphones, non-directional microphones, and other types of microphones. One embodiment of the disclosed invention uses omnidirectional microphones.
Directional microphones may be used in conferencing applications to perform spatial filtering to improve audio quality. These microphones have a beam pattern that selectively picks up acoustic waves in a region of space and rejects others.
In some embodiments of the present disclosure, the conferencing apparatus 100 uses a BMA 135 that can be installed in a number of positions and configurations, and beams for the microphones can be adjusted with base level configurations or automatically bring participants into the pick-up pattern of the beamforming microphone array 135 based on the orientation and placement of the conferencing apparatus 100.
FIG. 1B illustrates another embodiment of the present invention that illustrates the BMA 135 being located outside of the housing 190. In this embodiment, the BMA 135 can be located further away from the main processing elements of the housing 190 and connect to those elements by way of the communication elements 150 that could include for example a USB connection. In this embodiment, the BMA 135 may further include its own processor, memory, and storage that is separate from the main conferencing apparatus in housing 190.
FIG. 2 illustrates geometrical representations of a beam for a microphone. The center of the beam direction 250 extends from the microphone with beam width 210. The beam pattern for a microphone is usually specified with the center of the beam direction 250 that includes an azimuth angle 220, an elevation angle 230, and the projection of the beam on the XY plane 240. Not only should a participant face a microphone, the beam pattern should be directed generally towards the location of the participant's mouth as well for good quality of the participant's audio.
Beamforming is a signal processing technique carried out by the processor 110 using input from the beamforming microphone array 135. Various signal-processing characteristics of each of the microphones in the beamforming microphone array 135 may be modified. The signals from the various microphones may be combined such that signals at particular angles experience constructive interference while others experience destructive interference. Thus, beamforming can be used to achieve spatial selectivity such that certain regions can be emphasized (i.e., amplified/unsuppressed) and other regions can be de-emphasized (i.e., attenuated). As a non-limiting example, the beamforming processing may be configured to attenuate sounds that originate from the direction of a door to a room or from an Air Conditioning vent.
Beamforming may use interference patterns to change the directionality of the array. In other words, information from the different microphones may be combined in a way where the expected pickup pattern is preferentially observed. As an example, beamforming techniques may involve combining delayed signals from each microphone at slightly different times so that every signal reaches the output at substantially the same time.
Moreover, signals from each microphone may be amplified by a different amount. Different weighting patterns may be used to achieve the desired polar patterns. As a non-limiting example, a main lobe may be produced together with nulls and sidelobes. As well as controlling the main lobe width (the beam) and the sidelobe levels, the position of a null can be controlled. This is useful to ignore noise in one particular direction, while listening for events in other directions. Adaptive beamforming algorithms may be included to automatically adapt to different situations.
Embodiments of the present disclosure include a beamforming microphone array, where the elevation and azimuth angles of the beams can be programmed with software settings or automatically adapted for an application. In some embodiments, various configurations for the conferencing apparatus, such as tabletop, ceiling, and wall configurations can be automatically identified with the orientation sensor 160 in the conferencing apparatus 100.
In order to balance computational complexity of the complete system and the number of microphones used to perform beamforming, the present invention discloses a new architecture in which echo cancellation is performed on the fixed beams. A fixed beam is defined as a beam that is defined with pre-computed parameters rather than being adaptively steered to look in different directions in real time. The pre-computed parameters are configured prior to use of the beamforming microphone array in a conference. A spatial direction where a beam does not attenuate sound is called the look-direction of that beam.
FIG. 3 illustrates a top view and a side view of a conference room including participants and a conferencing apparatus 100 in a table configuration and illustrating beams that may be formed by the BMA. Beams 321, 322, 323, 324, 325, and 326 can be configured with direction, beamwidth, amplification levels, and spatial selectivity to obtain complete and quality coverage of participants, 311, 312, 313, 314, 315, and 316, respectively.
While creating beams, two things must be kept in mind. First, the narrower the beam, the better may be the sound quality (i.e. noise and reverberation rejection) of the local audio due to beamforming. Second, the combined look-directions of all of the beams should cover the desired space where a participant may be present. A situation with six beams around a microphone array is shown in FIG. 3 in which at least one of the beams will pick up any talker sitting around the table. While a narrow beam may improve the sound quality, a very narrow beam may create other problems, specifically, voids in coverage or distortion of speech picked up slightly off of the main direction of look of the beam. In practice, having 3 to 8 beams to cover all participants around a microphone array is considered a good solution. A considerably higher number of microphones than (3 to 8) is required before the full potential of the directional filtering in a conference situation due to beamforming can be achieved. In some embodiments of the present disclosure, it has been found that 20 to 30 microphones can provide good performance.
FIG. 4 illustrates a top view and a side view of a conference room including participants and a conferencing apparatus 100 in a ceiling configuration and illustrating beams that may be formed by a BMA 135. Beams 421, 422, 423, 424, 425, and 426 can be configured with direction, beamwidth, amplification levels, and interference patterns to obtain quality coverage of participants, 411, 412, 413, 414, 415, and 416, respectively.
FIG. 5 illustrates a top view and a side view of a conference room including participants and a conferencing apparatus 100 in a wall configuration and illustrating beams that may be formed by the BMA 135. Beams 521, 522, 523, 524, 525, and 526 can be configured with direction, beamwidth, amplification levels, and interference patterns to obtain quality coverage of participants, 511, 512, 513, 514, 515, and 516, respectively.
In FIGS. 3-5, the azimuth/elevation angles and beamwidths may be fixed to cover desired regions. As a non-limiting example, the six beams illustrated in FIG. 3 and FIG. 4 can each be configured with beamwidths of 60 degrees with the BMA 135. The elevation angle of each beam is designed to cover most people sitting at a table. As a non-limiting example, an elevation angle of 30 degrees may cover most tabletop applications. On the other hand, for a ceiling application, the elevation angle is usually higher as shown in FIG. 4. As a non-limiting example, an elevation angle closer to 60 degrees may be appropriate for a ceiling application. Finally, for a wall application, as shown in FIG. 5, the elevation angle may be appropriate at or near zero degrees.
While these default elevation angles may be defined for each of the orientations, the user, installer, or both, have flexibility to change the elevation angle with software settings at the time of installation or before a conference.
FIG. 6 illustrates elements involved in sensing acoustic waves with a plurality of microphones and signal processing that may be performed on the sensed acoustic waves. The plurality of microphones 135-1 through 135-N can be configured into a BMA 135. In an acoustic environment on the left of FIG. 6, an acoustic source 610 (e.g., a participant) may generate acoustic waves 612. In addition, speakers 620A and 620B may generate acoustic waves 622A and 622B respectively. A BMA 135 senses the acoustic waves (612, 622A, and 622B). Amplifiers 632 may filter and modify the analog signals to the speakers 620A and 620B and from BMA 135. Converters 640 in the form of analog-to-digital converters and digital-to-analog converters convert signals between the analog domain and the digital domain. Cables 634 route the signals between amplifiers 632 and converters 640. Various signal-processing algorithms may be performed on the digital signals, such as, for example, acoustic echo cancellation using an acoustic echo canceller or AEC 650, beamforming 660, and noise suppression 670. The resulting signals are transmitted and received through communications element 680 that receives the far end audio signal 682 and transmits the local audio signal 681. Various communication techniques can be used for the transmission of the audio signal, such as, for example, using a voice over Internet Protocol application (VOIP).
The following discussion concentrates on the signal processing operations and how beamforming and acoustic echo cancellation may be performed in various configurations. Two strategies, “echo canceller first” and “beamformer first,” have been employed to combine an acoustic echo canceller (AEC) with a beamforming microphone array (BMA).
The “beamformer first” method performs beamforming on microphone signals and subsequently echo cancellation is applied on the beamformed signals. The “beamformer first” method is relatively computational friendly but requires continuous learning in the echo canceller due to changing characteristics of the beamformer. Often these changes render the “beamformer first” method impractical for good conferencing systems. The “beamformer first” configuration uses microphone signals to create a beam based on a direction of arrival (DOA) determination. Subsequently, the echo from the far end audio in the beamformer output signal is cancelled with an AEC.
On the other hand, an “echo canceller first” system applies echo cancellation on each microphone signal and subsequently beamforming is applied on the echo cancelled signals based on the DOA determination. This system provides better echo cancellation performance but can be computationally intensive as the echo cancellation is applied for every microphone in the microphone array. The computational complexity increases with an increase in the number of microphones in the microphone array. This computational complexity often limits the number of microphones used in a microphone array and therefore prevents achievement of the substantial benefit from the beamforming algorithm with more microphones. In terms of spatial filtering the audio, both configurations are equivalent.
However, echo cancellation performance can be significantly different for one application to other. Specifically, as the beam is moving, the echo canceller needs to readjust. In a typical conferencing situation, talker directions keep switching and, therefore, the echo canceller needs to readjust which may result in residual echo in the audio sent to the far end. Some researchers have recommended combining beamformer and echo canceller adaptation to avoid this problem, however, in our experiments that did not get rid of residual echo. On the other hand, since echo is cancelled beforehand in the “AEC first” method, the echo canceller performance is not affected as beam switches. Often, the “AEC first” configuration is recommended for the beamformer/AEC system. One of the examples of such a system is Microsoft's AEC/beamformer implementation in the DirectX technology, which is shown in FIG. 6.
While the “AEC first” configuration provides acceptable performance for the beamformer/AEC implementation, the computational complexity of this configuration is significantly higher than the “beamformer first” system. Moreover, the computation complexity to implement the “AEC first” increases significantly as the number of microphones used to create the beam increases. Therefore, for a given computational complexity, the maximum number of microphones that can be used for beamforming are lower for the “AEC first” than the “beamformer first” setup. Using a comparatively larger number of microphones can increase the audio quality of the participants, especially when a participant moves farther away from the microphones.
In FIGS. 7 through 9B, thicker lines represent multichannel signals with the number of lines illustrated, whereas thinner lines represent a single channel signal.
FIG. 7 illustrates the “beamforming first” strategy for processing signals. The BMA 135 generates a set of N microphone signals 138, where the BMA further comprises a plurality of microphones 135-1 to 135-N. This “beamformer first” configuration uses the N set of microphone signals 138 to define a beam in the direction indicated by a Direction of Arrival (DOA) module 750. The DOA module 750 directs a beamforming process 730 to properly combine the microphone signals 138 into a combined signal 735 that points in the direction indicated by the DOA module 750. An acoustic echo canceller 740 then performs acoustic echo cancellation on the combined signal 735 using the far end signal 744 to create a combined echo cancelled signal 745 which is sent to the far end.
FIG. 8 illustrates the “echo canceling first” strategy for processing signals. The BMA 135, from a plurality of microphones 135-1 to 135-N, generates a set of N microphone signals 138. In this “AEC first” configuration, an acoustic echo cancellation process 830 performs acoustic echo cancellation on each microphone signal 138 separately using the far end signal 844 as a reference input in conjunction with the acoustic signals from speaker 820. Next, a set of N echo cancelled signals 835 are presented to a beamforming process 840. A DOA Module 850 directs a beamforming process 840, by way of the direction of arrival determination and using the DOA signal 855, to properly combine the echo cancelled signals 835 into a combined echo cancelled signal 845. Since echo is cancelled beforehand in the “AEC first” method, the echo canceller performance is not affected by beam switches. The “AEC first” configuration first cancels the echo from the audio of each microphone in the BMA and the beam is created from N echo cancelled signals in the direction pointed to by the DOA module 850 based on the direction of arrival determination. In terms of spatially filtering the audio, both configurations are substantially equivalent.
In order to balance computational complexity of the complete system and number of microphones to do beamforming, we created a conferencing solution with a beamformer and an echo canceller in a hybrid configuration with a “beamformer first” configuration to generate a number of fixed beams followed by echo cancellers for each fixed beam. In other words, we created M fixed beams from N microphones and subsequently applied echo cancellation on each beam. In conferencing applications with beamforming, we found that increasing the number of beams does not add as much benefit as increasing the number of microphones i.e. M<<N. Stated differently, this hybrid configuration allows for an increase in the number of microphones for better beamforming without the need for additional echo cancellers as the number of microphones is increased. Therefore, while we use a large number of microphones to create good beam patterns, the increase in computational complexity due to additional echo cancellers is significantly smaller than the “AEC first” configuration. In addition, the echo cancellers do not need to continually adapt as the number of fixed beams may be held constant. Furthermore, since the beam is selected after the echo cancellation, the echo cancellation performance is not affected due to a change in the beam's location. The number of echo cancellers does not change by changing the number of microphones in the method of this invention. Furthermore, since the beamforming is done before the echo cancellation, the echo canceller also performs better than the “AEC first” setup. Therefore, embodiments of the present disclosure provide good echo cancellation performance and the increase in the computational complexity for a large number of microphones is smaller than the “AEC first” method.
One embodiment of the disclosed invention additionally employs post-processing individually for each beam to selectively reduce distortions from each beam. In a typical conference situation, different spatial directions, which may correspond to different beams, may have different characteristics, such as a noise source may be present in the look-direction of one beam and not the other. Therefore, post-processing in that direction requires different treatment that is possible in the disclosed implementations and not seen in other solutions.
FIG. 9A is a simplified illustration of one embodiment of the present invention showing a hybrid processing strategy for processing signals, and illustrates processing involved in sensing acoustic waves wherein signals from the microphones are combined, and then acoustic echo cancellation is performed on the combined signals. In order to balance computational complexity of the complete system and the number of microphones to do beamforming, this embodiment creates M combined echo cancelled signals 945 to present as the final output signal 965. The BMA 135, using a plurality of microphones 135-1 through 135-N, generates a set of N microphone signals 138. In this hybrid configuration, a beamforming module 930 performs a beamforming process that forms M fixed beams 935 from N microphone signals 138. An AEC module 940 performs acoustic echo cancellation on each of the M fixed beams 935 separately using the far end signal 964 as a reference input. As a result, M combined echo cancelled signals 945 are generated. A signal selection module 901, such as a multiplexer or other signal selection module, controlled by the DOA module 950 performs a direction of arrival determination, and using the DOA signal 902, selects one more of the M combined echo cancelled signals 945 as a final output signal 965, which is sent to the far end.
FIG. 9B is an expanded illustration of FIG. 9A that shows more detailed embodiments of the present invention. The BMA 135, using a plurality of microphones 135-1 through 135-N, generates a set of N microphone signals 138. The microphones are sensing acoustic waves 907 that are generated by the acoustic source 905, which is typically a talker in a conference environment. In addition, BMA 135 is sensing acoustic waves 926 that are generated by speaker 920 which is receiving the far end audio signal 964 from the far end of the conference. Before the far end signal 964 gets to speaker 920, it goes through digital to analog converter 924 and amplifier 922. As the acoustic waves 907 and 926 are sensed by the microphones 135-1 through 135-N, the corresponding microphone signals go through preamplifiers 914-1 through 914-N and then through analog to digital converters 916-1 through 916-N. The set of N microphone signals 138 may be subject to an additional analysis through the analysis module 912 before going through the beamforming process. A beamforming module 930 takes the set of N microphone signals 138 and performs a beamforming process that forms M fixed beams 935. An AEC module 940 performs acoustic echo cancellation on each of the M fixed beams 935 separately using the far end reference signal 970 as a reference input in conjunction with the acoustic waves from speaker 920 that are received through BMA 135. Reference signal 970 must be processed through analysis module 910 if analysis module 912 is included in the embodiment. In addition, the AEC module 940 receives an RX ONLY signal 971 from the Detectors Module 955. The far end signal 964 may be subject to an additional analysis through the analysis module 910 before proceeding as far end reference signal 970 to other modules such as the AEC module 940. The AEC module 940 produces M combined echo cancelled signals 945. Another embodiment of the disclosed invention includes Post Processing module 931 that performs post processing on the M combined echo cancelled signals 945, in conjunction with the fixed beams 935, and the far end reference signal 970. In addition, the Post Processing module 931 receives information from the Detectors module 955 by way of the RX ONLY signal 974, the SILENCE signal 975, and M Detectors signal 980. The Post Processing module 931 is discussed in more detail in another part of the present disclosure. The Post Processing module 931 produces the post processed M combined echo cancelled signals 946. A Signal Selection Module 901, such as a multiplexer or other signal selection module, controlled by the DOA module 950 and the direction of arrival determination, using the DOA module 950 and DOA signal 902, selects one or more of the post processed M combined echo cancelled signals 946 as an output signal 947. A synthesis module 948 may provide additional signal processing to the output signal before being transmitted to the far end as far end signal 965. Synthesis module 948 is usually present if analysis modules 910 and 912 are included.
Another embodiment of the disclosed invention includes a partial acoustic echo canceller 951 that receives the set of N microphone signals 138 and performs a partial acoustic echo cancellation on a subset of the microphone signals which is greater than one and less than N microphone signals. The partial acoustic echo canceller 951 uses the partial acoustic echo cancellation operation in conjunction with the RX ONLY signal 972 from the Detectors 955 to determine whether the BMA 135 is in a receive only state. And, the partial acoustic echo canceller 951 passes through all of the set of N microphone signals 138 as the set of N microphone signals 139.
Another embodiment of the disclosed invention includes a Voice Activity Detector 952 that enhances the direction of arrival determination. The voice activity detector process is discussed in more detail below. The Voice Activity Detector 952 uses information from up to N microphone signals 139 to see if there is voice activity on the microphone signals being received by the BMA 135. The Voice Activity Detector 952 sends the voice activity detector signal 953 to the DOA module 950.
The Direction of Arrival Module (DOA) 950 receives the set of N microphone signals 139 and the voice activity detector signal 952 in conjunction with the RX ONLY signal 973 from the Detectors 955 to perform the direction of arrival determination that sends the DOA signal 902 to the Signal Selection Module 901. One embodiment of the disclosed invention provides that the DOA Module 950 and the Signal Selection Module 901 use the far end signal 964 as information to inhibit the Signal Selection Module 901 from changing the selection of the combined echo cancelled signals while only the far end signal is active. The DOA Module receives the far end signal information by way of the Detectors Module 955. The direction of arrival determination is discussed in more detail below.
Another embodiment of the disclosed invention includes a Detectors Module 955 that helps control the conferencing system for better output sound quality. The Detectors Module 955 provides the DOA Module 950 with RX ONLY signal 973; the partial acoustic echo canceller 951 with RX ONLY signal 972; the AEC with RX ONLY signal 971; and the Post Processing Module 931 with RX ONLY signal 974, the SILENCE signal 975, and M Detectors signal 980.
FIG. 10 illustrates 1000 the subdividing of the 3-dimensional space 1002 for creating a desired beam 1004 to pick up sound from a certain direction 1006. The fixed beams are created from the frequency or subband domain signals of the “N” microphone signals. Specifically, precalculated beamforming weights for each beam are multiplied with the input microphone frequency or subband domain signals. Subsequently, the outputs of each of these multiplications are added to provide subband signals for that beam. There are multiple ways to obtain the pre-calculated beamforming weights for creating fixed beams to filter out desired spatial directions—more commonly known as beamforming in the literature. Some of the known techniques for beamforming are delay-and-sum beamformer, filter-and-sum beamformer (also called superdirectional beamformers), and several other optimization-based beamformers (such as minimax, weighted least-squares etc.). There also exists a different class of beamforming algorithms known as differential beamforming; however, they are more suited for close talking microphones such as podium microphones and not for conference microphones. The various beamforming designs differ in the beam shape and in the ability of reducing uncorrelated and correlated noise. A detailed discussion of these properties is not included in the present disclosure; however, it must be mentioned that pre-calculated beamforming weights calculated with an optimization method (that will be described later) was found most suitable for our application. Apart from various algorithms used to design weights, pre-calculated beamforming weights can be designed:

    
    
        a) to do beamforming in the time-domain, frequency-domain, or subband-domain.
        b) for real-valued signals or complex-valued signals.
        c) for a narrowband or wideband implementation.
    
    


When implemented correctly, the above differences do not affect the output sound quality; however, they may differ in the overall system delay and the computational complexity. The choice of the design method for creating pre-calculated beamforming weights can be made based on the system requirements. In the implementation of the present disclosure, we designed the beamforming weights for the subband-domain complex-valued signals assuming narrowband implementation. The weights are pre-calculated using a weighted least-squares method with multiple constraints, for each subband, microphone and beam, and are stored in memory. To facilitate the presentation, we need to mathematically represent a direction in space and define some other notations. Let a steering vector for the direction in space (θ,φ) with respect to the ith microphone in the beamformer and for the jth subband be:




  
    
      
        
          
            
              
                
                  
                    A
                    ⁡
                    
                      (
                      
                        j
                        ,
                        ,
                      
                      )
                    
                  
                  =
                  
                    
                      
                        
                          e
                          
                            
                              j2j
                              ⁡
                              
                                (
                                
                                  0
                                  ,
                                  
                                    
                                  
                                  ,
                                
                                )
                              
                            
                            /
                            
                              N
                              s
                            
                          
                        
                      
                    
                    
                      
                        
                          e
                          
                            
                              j2j
                              ⁡
                              
                                (
                                
                                  1
                                  ,
                                  
                                    
                                  
                                  ,
                                
                                )
                              
                            
                            /
                            
                              N
                              s
                            
                          
                        
                      
                    
                    
                      
                        ⋮
                      
                    
                    
                      
                        
                          e
                          
                            
                              j2j
                              ⁡
                              
                                (
                                
                                  
                                    N
                                    ⁢
                                    
                                      
                                    
                                    ⁢
                                    1
                                  
                                  ,
                                  
                                    
                                  
                                  ,
                                
                                )
                              
                            
                            /
                            
                              N
                              s
                            
                          
                        
                      
                    
                  
                
                ⁢
                
                  

                
                ⁢
                
                  
                    where
                    ⁢
                    
                      

                    
                    (
                    
                      i
                      ,
                      ,
                    
                    )
                  
                  =
                  
                    
                  
                  ⁢
                  
                    
                      r
                      i
                    
                    ⁢
                    cos
                    ⁢
                    
                      
                        (
                        
                          
                        
                      
                      i
                    
                  
                
              
              )
            
            ⁢
            cos
            ⁢
            
              
                (
                
                  
                
              
              i
            
          
          )
        
        /
        c
      
    
    
      
        (
        1
        )
      
    
  




and (ri,θi,φi) are the polar coordinates of the ith microphone, N is the number of microphones, Ns is the number of subbands and c is the speed of sound in air.

The steering vector A(j,θ,φ) can be used to approximately represent sound coming from direction (θ,φ) in space under far field assumption and if the subbands are properly designed. The time-domain overlap in the subband-design process should be at least as long the maximum time-delay between two microphones in the microphone array. The far field assumption is valid for our application. We designed the subbands so that the steering vector can be used to represent the signal coming from any direction in space on various microphones. Furthermore, let the microphone subband signal for the ith microphone, i=0 . . . N−1, and jth subband, j=0 . . . Ns−1, at time n be xi(n,j) and the beamforming weight for the ith microphone, jth subband and kth beam, k=0 . . . M−1, be wik(j), then the signal vector of the microphone signals for the jth subband is denoted as x(n,j)=[x0(n,j) x1(n,j) . . . xN-1(n,j)]H, the signal vector of the subband signals for the ith microphone is denoted as xi(n)=[xi(n,0) xi(n,1) . . . xi(n,Ns−1)]H and the vector of the beamforming weights for the jth subband and kth beam is denoted as wk(j)=[w0k(j) w1k(j) . . . wN-1k(j)]H, where H denotes the Hermitian operation. With the above notation, the beamforming weight vector wk(j) for the jth subband and the kth beam is obtained using a weighted least-squares method that optimizes weighted mean-squares-error at Nθ azimuth angles and Nφ elevation angles. The spatial directional grid points are shown in FIG. 10. The desired beam shape B(θ,φ) is specified by assigning a value close to 1 (no attenuation) for look-direction and small values to other directions where high attenuation is required. The look-direction the beam is shown with solid fill in FIG. 10.
FIG. 11 is a block diagram 1100 describing the creation of fixed beams from the microphone input signals and pre-calculated beamforming weights. The fixed beams are shown as beams 1106-1 through 1106-M. The microphone input signals are shown as 1102-1 through 1102-N. And the pre-calculated beamforming weights for the specified groups are shown as 1104-1 through 1104-M.
With the previous description, the problem of finding the beamformer weights for the jth subband and kth beam can be written as:




  
    
      
        
          
            
              w
              k
            
            ⁡
            
              (
              j
              )
            
          
          =
          
            
              min
              
                
                  w
                  k
                
                ⁡
                
                  (
                  j
                  )
                
              
            
            ⁢
            
              
                ∑
                
                  
                    l
                    φ
                  
                  =
                  1
                
                
                  N
                  φ
                
              
              ⁢
              
                
                  ∑
                  
                    
                      l
                      θ
                    
                    =
                    1
                  
                  
                    N
                    θ
                  
                
                ⁢
                
                  
                    F
                    l
                  
                  ⁢
                  
                    
                      
                      
                        
                          
                            
                              A
                              H
                            
                            ⁡
                            
                              (
                              
                                j
                                ,
                                
                                  
                                    2
                                    ⁢
                                    
                                      
                                    
                                    ⁢
                                    π
                                    ⁢
                                    
                                      
                                    
                                    ⁢
                                    
                                      l
                                      θ
                                    
                                  
                                  
                                    N
                                    θ
                                  
                                
                                ,
                                
                                  
                                    2
                                    ⁢
                                    
                                      
                                    
                                    ⁢
                                    π
                                    ⁢
                                    
                                      
                                    
                                    ⁢
                                    
                                      l
                                      φ
                                    
                                  
                                  
                                    N
                                    φ
                                  
                                
                              
                              )
                            
                          
                          ⁢
                          
                            
                              w
                              k
                            
                            ⁡
                            
                              (
                              j
                              )
                            
                          
                        
                        -
                        
                          B
                          (
                          
                            
                          
                          ⁢
                          
                            
                              
                                2
                                ⁢
                                
                                  
                                
                                ⁢
                                π
                                ⁢
                                
                                  
                                
                                ⁢
                                
                                  l
                                  θ
                                
                              
                              
                                N
                                θ
                              
                            
                            ,
                            
                              
                                2
                                ⁢
                                
                                  
                                
                                ⁢
                                π
                                ⁢
                                
                                  
                                
                                ⁢
                                
                                  l
                                  φ
                                
                              
                              
                                N
                                φ
                              
                            
                          
                          )
                        
                      
                      
                    
                    2
                  
                
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        
          
            
              
                subject
                ⁢
                
                  
                
                ⁢
                to
              
            
            
              
                
                  
                    A
                    ⁡
                    
                      (
                      
                        j
                        ,
                        
                          θ
                          0
                        
                        ,
                        
                          φ
                          0
                        
                      
                      )
                    
                  
                  ⁢
                  
                    
                      w
                      k
                    
                    ⁡
                    
                      (
                      j
                      )
                    
                  
                
                =
                1
              
            
          
          
            
              
                
              
            
            
              
                
                  
                  
                    
                      
                        (
                        
                          
                            w
                            k
                          
                          ⁡
                          
                            (
                            j
                            )
                          
                        
                        )
                      
                      H
                    
                    ⁢
                    
                      R
                      n
                    
                    ⁢
                    
                      
                        w
                        k
                      
                      ⁡
                      
                        (
                        j
                        )
                      
                    
                  
                  
                
                <
                
                  δ
                  w
                
              
            
          
          
            
              
                
              
            
            
              
                
                  
                    
                      A
                      ⁡
                      
                        (
                        
                          j
                          ,
                          
                            θ
                            m
                          
                          ,
                          
                            φ
                            m
                          
                        
                        )
                      
                    
                    ⁢
                    
                      
                        w
                        k
                      
                      ⁡
                      
                        (
                        j
                        )
                      
                    
                  
                  <
                  
                    δ
                    s
                  
                
                ,
                
                  m
                  =
                  
                    
                      0
                      ⁢
                      
                        
                      
                      ⁢
                      ...
                      ⁢
                      
                        
                      
                      ⁢
                      
                        N
                        m
                      
                    
                    -
                    1
                  
                
              
            
          
        
      
    
    
      
        (
        2
        )
      
    
  




where Fl are the weights to emphasize the passband (directions in space with no attenuation) and stopband (directions in space with attenuation) behavior, (θ0,φ0) is the center of the desired beam, Rn is the N×N covariance matrix for the spatial noise at these microphones, and the set of values (θm,φm) represent spatial directions where a beam has higher side lobes or unwanted audio sources (jammers) are present. The constants δw and δs are small positive numbers.

The above optimization problem is solved to generate the pre-calculated beamforming weights, which are stored in memory and are used according to FIG. 11 to create “M” beams from “N” microphone signals.
FIG. 12 is an input-output block diagram 1200 of the Detectors Module 1202. The Detectors Module 1202 controls the conferencing system for better output sound quality. The Detectors Module 1202 uses “M” fixed beams 1204 after fixed beamforming and the reference signal 1206 to indicate various states of the system. These states are “RX ONLY”, “TX ONLY”, “DOUBLE TALK”, “UNKNOWN” and “SILENCE”. “RX ONLY” 1210 and “SILENCE” 1212 are the same for all the beams; whereas “DOUBLE TALK”, “TX ONLY” and “UNKNOWN” are represented by “M” detectors 1208, one for each beam. The Detectors Module 1202 uses peak meters and RMS meters on the fixed beam and reference signals and compare them with various thresholds to indicate various states of the system. The “RX ONLY” 1210 state indicates the presence of audio at beams/microphones due to the far-end audio and not due to the local audio. The acoustic echo canceller (AEC) is adapted during the “RX ONLY” state. In the “RX ONLY” state the acoustic echo cancellers for the “M” beams are updated as shown in FIG. 12. The “TX ONLY” state for a beam indicates presence of the local audio and not the far end audio. “DOUBLE TALK” indicates presence of both the far end audio and the local audio. “SILENCE” 1212 indicates no activity in the room. This state is used for the background noise calculation. “UNKNOWN” indicates when detectors cannot distinguish between one state from another. These detector signals are used by the AEC Module, the DOA Module, and the Post Processing Module.
FIG. 13 is a block diagram 1300 showing echo cancellation of “M” beams with respect to the reference signal. The input beams 1304-1 through 1304-M have Adaptive Filters 1308-1 through 1308-M applied to produce the echo cancelled beams 1306-1 through 1306-M with respect to reference signal 1302 from the far end. The direction of arrival determination does not use all the microphones for determining a talker's direction in a room. The DOA determination suggests which beam or beams (after echo cancellation and post-processing as shown in FIG. 9B) to select to transmit to the far-end. The selection of a beam is also sometimes referred to as pointing to a beam. It also uses echo cancelled microphone signals as shown in FIG. 9B to avoid pointing to the far-end audio because beams are designed to pick up the local audio in the room. If a beam points to the far end audio (towards the loudspeaker direction in the room) while the local talker is talking, the local talker's audio will be attenuated, which is not desirable. The direction of arrival determination finds the talker's direction using the steered response power-phase transform (SRP-PHAT) method, which is a well-known method employed in the design of beamforming microphone arrays. The algorithm is an extension of the generalized cross correlation (GCC) algorithm pioneered by Knapp and Carter in 1976, that was later extended by Rabinkin in 1996, and reached its current form in the works of Johansson in 2002 and later in 2005. The SRP-PHAT algorithm produces a source position estimate based on the time delay difference of arrival of a wave front across two or more microphone elements. The algorithm operates by extracting the phase difference between the microphone signals from an estimate of their cross spectral density (CSD) function of the Nd<N microphone signals used to find the talker's direction. The cross spectral density between microphones is calculated with a running average using a single pole IIR filter with a decay constant λd as:

Xlm(n,k)=λdXlm(n−1,k)+(1−λd)xl(n,k)xm*(n,k)  (3)

Once the cross spectral densities are known, the talker's direction can be found by maximizing the SRP-PHAT index in the desired look region (DLR) directions. The SRP-PHAT index is given by:




  
    
      
        
          
            (
            
              
                θ
                d
              
              ,
              
                φ
                d
              
            
            )
          
          ⁢
          
            (
            n
            )
          
        
        =
        
          arg
          ⁢
          
            
          
          ⁢
          
            
              max
              
                
                  (
                  
                    θ
                    ,
                    φ
                  
                  )
                
                
                  
                    (
                    
                      θ
                      ,
                      φ
                    
                    )
                  
                  ∈
                  DLR
                
              
            
            ⁢
            
              
                ∑
                
                  l
                  =
                  1
                
                
                  N
                  d
                
              
              ⁢
              
                
                  ∑
                  
                    m
                    =
                    1
                  
                  
                    N
                    d
                  
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      0
                    
                    
                      N
                      s
                      d
                    
                  
                  ⁢
                  
                    
                      
                        
                          X
                          lm
                        
                        ⁡
                        
                          (
                          
                            n
                            ,
                            k
                          
                          )
                        
                      
                      
                        
                        
                          
                            X
                            lm
                          
                          ⁡
                          
                            (
                            
                              n
                              ,
                              k
                            
                            )
                          
                        
                        
                      
                    
                    ⁢
                    
                      e
                      
                        
                          -
                          j2
                        
                        ⁢
                        
                          
                        
                        ⁢
                        π
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            k
                            ⁡
                            
                              (
                              
                                
                                  τ
                                  ⁡
                                  
                                    (
                                    
                                      l
                                      ,
                                      θ
                                      ,
                                      φ
                                    
                                    )
                                  
                                
                                -
                                
                                  τ
                                  ⁡
                                  
                                    (
                                    
                                      m
                                      ,
                                      θ
                                      ,
                                      φ
                                    
                                    )
                                  
                                
                              
                              )
                            
                          
                          /
                          
                            N
                            s
                          
                        
                      
                    
                  
                
              
            
          
        
      
    
    
      
        (
        4
        )
      
    
  




where Nsd<Nd is the number of subbands used in the direction-of-arrival calculation.

We run additional constraints to further improve talker's direction accuracy in the conferencing solution. First, the cross-spectral density is updated if voice-activity is detected in one of the microphone signals and this voice-activity is not due to the far end audio. The voice-activity is detected using a voice-activity-detector (VAD) as shown in FIG. 9B. The “RX ONLY” state is used to indicate activity of the far end audio. To further improve the direction-of-arrival accuracy, the SRP-PHAT is calculated and the DOA determination is updated only if the local activity is present at least a few frames of audio at a stretch; otherwise the old value of the DOA determination is used for processing. This is detected by a counter that keeps track of local audio activity. The controls are described in the flow chart 1400 below in FIG. 14.
FIG. 14 illustrates a voice activity detector process 1400 using a voice activity detector to enhance the direction of arrival determination. The voice activity detector process starts at 1402 by initializing the cross spectral density (CSD) and initializing the counter. The next step 1404 has the voice activity detector check to see if there is voice activity. If there is no voice activity, the counter is reset to zero 1406, and the process starts over. If there is voice activity, the next step 1408 checks to see if the state is set. One embodiment of the disclosed invention uses the “RX ONLY” state. Another embodiment may use the “DOUBLE TALK” state. Additional states and/or combinations of states are also possible. If yes, the counter is reset to zero 1410 and the process starts over. If not, then the counter is updated and the CSD's are updated. The next step 1414 is to see if the counter is current (i.e., the local activity is present at least for a couple of frames of audio), if not, then process starts over. If yes, then the SRP-PHAT is calculated and the DOA determination is updated and the counter is set to zero 1418 and the process starts over.
FIG. 15 is a block diagram 1500 showing various components of the post processing module 1501 used to improve the sound quality of the audio sent to the far end. After the echo cancellation from each fixed beam, post processing is applied on each fixed beam independently so as to further reduce residual echo, acoustic noise, and automatically control the output level so as to improve the output sound quality for the far end listener. The post processing 1501 module receives the combined input signals 1504-1 through 1504-M. Each input signal includes 1504-1A as M Fixed Beams from the beamformer (which is also the non-echo cancelled signals), 1504-1B as M combined echo cancelled signals from the AEC, and 1504-1C as M Detector information signals from the Detector. The other input signals 1504-2 through 1504-M are similarly constructed. Starting with the combined echo cancelled beams input signal 1504-1, one operation performed is the non-linear-processing (NLP) 1520-1 process that suppresses the residual echo in the output by looking at the reference signal 1502, echo cancelled signal 1504-1B, non-echo cancelled signal 1504-1A, and detectors information 1504-1C. Another operation performed on the signal is Noise Suppression (NS) 1522-1 to produce an echo suppressed signal. And then, another operation performed on the echo suppressed signal is Automatic Level Control (ALC) 1524-1. The goal for controlling the volume level is to make soft or loud talkers sound at the same volume level. The post processed signal 1506-1 is then sent on to transmission to the far end. The other input signals 1504-2 through 1504-M are similarly processed to produce the other post processed signals 1506-2 through 1506-M. The previously mentioned types of signal processing are techniques that are known in the art and are not covered in further detail in the present disclosure.
FIG. 16 illustrates the computational complexity of various embodiments relative to the number of microphones in a beamforming microphone array. The computational complexity for various configurations and number of microphones was calculated in terms of required million-multiplications per second (MMPS). It can be seen that the computational complexity for all methods increases as the number of microphones increases. However, the increase in the computational complexity for the “beamformer first” configuration and the hybrid configuration is much smaller than that of the “AEC first” configuration. With low computational complexity, and the fact that the implementation of the hybrid configuration has less chance of errors in the echo cancellation as a talker's direction switches, the hybrid configuration represents a good balance between quality and computational complexity for audio conferencing systems.
While the present disclosure has been described herein with respect to certain illustrated and described embodiments, those of ordinary skill in the art will recognize and appreciate that the present invention is not so limited. Rather, many additions, deletions, and modifications to the illustrated and described embodiments may be made without departing from the scope of the invention as hereinafter claimed along with their legal equivalents. In addition, features from one embodiment may be combined with features of another embodiment while still being encompassed within the scope of the invention as contemplated by the inventor. The disclosure of the present invention is exemplary only, with the true scope of the present invention being determined by the included claims.

## Claims

1. A conferencing apparatus with an automatically adapting beamforming microphone array for teleconferencing applications, comprising:
a processor coupled to memory, and storage included in a housing;
a communication element coupled to said processor for communicating with other devices and or communication networks;
a plurality of microphones arranged in said housing and configured as a beamforming microphone array, said beamforming microphone array oriented to cover a plurality of direction vectors and develop a plurality of microphone signals;
an orientation sensor that generates an orientation signal indicative of an orientation of with a predetermined spatial arrangement relative to said beamforming microphone array, said orientation sensor couples to said processor;
wherein said processor executes a series of computing instructions that include the following steps:
adapting a signal-processing characteristic of said beamforming microphone array responsive to said orientation signal;
beamforming to combine said plurality of microphone signals to a plurality of combined signals;
performing an acoustic echo cancelation operation on the plurality of combined signals to generate a plurality of combined echo-canceled signals; and
selecting one or more of said plurality of combined echo-canceled signals for transmission.

2. The claim according to claim 1 further comprising performing a direction-of-arrival determination on said plurality of microphone signals.

3. The claim according to claim 1 further comprising adjusting the signal-processing characteristic by selecting one of a fixed number of pre-determined beam patterns.

4. The claim according to claim 1 further comprising selecting one of a fixed number of pre-determined beam patterns in response to the orientation signal.

5. The claim according to claim 1 further comprising noise filtering the selected one or more said plurality of combined echo-canceled signals.

6. A method of making a conferencing apparatus with an automatically adapting beamforming microphone array for teleconferencing applications, comprising:
coupling a processor, memory, and storage together in a housing;
coupling a communication element to said processor for communicating with other devices and or communication networks;
arranging a plurality of microphones in said housing and configured as a beamforming microphone array, said beamforming microphone array oriented to cover a plurality of direction vectors and develop a plurality of microphone signals;
coupling an orientation sensor to said processor, said orientation sensor generates an orientation signal indicative of an orientation of with a predetermined spatial arrangement relative to said beamforming microphone array;
wherein said processor executes a series of computing instructions that include the following steps:
adapting a signal-processing characteristic of said beamforming microphone array responsive to said orientation signal;
beamforming to combine said plurality of microphone signals to a plurality of combined signals;
performing an acoustic echo cancelation operation on the plurality of combined signals to generate a plurality of combined echo-canceled signals; and
selecting one or more of said plurality of combined echo-canceled signals for transmission.

7. The claim according to claim 6 further comprising performing a direction-of-arrival determination on said plurality of microphone signals.

8. The claim according to claim 6 further comprising adjusting the signal-processing characteristic by selecting one of a fixed number of pre-determined beam patterns.

9. The claim according to claim 6 further comprising selecting one of a fixed number of pre-determined beam patterns in response to the orientation signal.

10. The claim according to claim 6 further comprising noise filtering the selected one or more said plurality of combined echo-canceled signals.

11. A method of using a conferencing apparatus with an automatically adapting beamforming microphone array for teleconferencing applications, comprising:
providing a processor coupled to memory, and storage included in a housing;
communicating with other devices and or communication networks using a communication element coupled to said processor;
configuring a plurality of microphones arranged in said housing as a beamforming microphone array, said beamforming microphone array oriented to cover a plurality of direction vectors and develop a plurality of microphone signals;
generating an orientation signal indicative of an orientation of with a predetermined spatial arrangement relative to said beamforming microphone array with an orientation sensor, said orientation sensor couples to said processor;
wherein said processor executes a series of computing instructions that include the following steps:
adapting a signal-processing characteristic of said beamforming microphone array responsive to said orientation signal;
beamforming to combine said plurality of microphone signals to a plurality of combined signals;
performing an acoustic echo cancelation operation on the plurality of combined signals to generate a plurality of combined echo-canceled signals; and
selecting one or more of said plurality of combined echo-canceled signals for transmission.

12. The claim according to claim 11 further comprising performing a direction-of-arrival determination on said plurality of microphone signals.

13. The claim according to claim 11 further comprising adjusting the signal-processing characteristic by selecting one of a fixed number of pre-determined beam patterns.

14. The claim according to claim 11 further comprising selecting one of a fixed number of pre-determined beam patterns in response to the orientation signal.

15. The claim according to claim 11 further comprising noise filtering the selected one or more said plurality of combined echo-canceled signals.

16. A non-transitory program storage device readable by a computing device that tangibly embodies a program of instructions executable by the computing device to perform a method to use a conferencing apparatus with an automatically adapting beamforming microphone array for teleconferencing applications, comprising:
providing a processor coupled to memory, and storage included in a housing;
communicating with other devices and or communication networks using a communication element coupled to said processor;
configuring a plurality of microphones arranged in said housing as a beamforming microphone array, said beamforming microphone array oriented to cover a plurality of direction vectors and develop a plurality of microphone signals;
generating an orientation signal indicative of an orientation of with a predetermined spatial arrangement relative to said beamforming microphone array with an orientation sensor, said orientation sensor couples to said processor;
wherein said processor executes a series of computing instructions that include the following steps:
adapting a signal-processing characteristic of said beamforming microphone array responsive to said orientation signal;
beamforming to combine said plurality of microphone signals to a plurality of combined signals;
performing an acoustic echo cancelation operation on the plurality of combined signals to generate a plurality of combined echo-canceled signals; and
selecting one or more of said plurality of combined echo-canceled signals for transmission.

17. The claim according to claim 16 further comprising performing a direction-of-arrival determination on said plurality of microphone signals.

18. The claim according to claim 16 further comprising adjusting the signal-processing characteristic by selecting one of a fixed number of pre-determined beam patterns.

19. The claim according to claim 16 further comprising selecting one of a fixed number of pre-determined beam patterns in response to the orientation signal.

20. The claim according to claim 16 further comprising noise filtering the selected one or more said plurality of combined echo-canceled signals.