Audio AI JAGORA

Beamforming da Microphone Arrays

Beamforming yana haɗa sigina daga makirufo da yawa a wurare da aka sani don sa sauti daga hanya guda da aka zaɓa ya ƙaru yayin da sauti daga sauran hanyoyi ke ɓacewa ƙasa da ƙashi.

Saurara wannan jagoraAI da ake ba da labari · ~8 min

A wannan shafi9 min karatu
  1. Dubawa
  2. Mabuɗin ɗaukar hoto
  3. Zurfafa nutsewa
  4. Sarrafa wani tsarin delay-and-sum na makirufo biyu
  5. Aiwatar da Gaskiyar Duniya
  6. Makomar Ƙwararren Ƙwararren Ƙwararren Ƙwararren Ƙwararren Ƙwararren Ƙwararren Ƙwararren Ƙwararren Ƙwaƙwalwa
  7. Sanya shi a aikace
  8. Sources da ƙarin karatu
  9. Ci gaba da Bincike
  10. Tambayoyin da ake yawan yi

Dubawa

Shi ne yadda masu magana masu wayo, na'urorin taimakon ji da tsarin taron suna zaɓar murya a cikin ɗakin da ke da hayaniya, kuma sabbin nau'ikan suna amfani da hanyoyin sadarwa na ƙwaƙwalwa don tantance inda maganar take kafin tsarin ya yi tacewa.

Mabuɗin ɗaukar hoto

  1. Beamforming yana jinkirta da nauyin sigina daga makirufo da yawa don sa sauti daga hanya guda ya ƙaru kuma sauran hanyoyi su ɓace ƙasa da ƙashi.
  2. Delay-and-sum tare da abubuwa 10 yana ba da kusan ninki goma na ƙaruwa a sigina-zuwa-ruwa a kan hayaniya da ba su da alaƙa, bisa ga misalin da MathWorks ya bayar.
  3. MVDR yana riƙe da ƙaruwa ɗaya zuwa manufa yayin da yake rage ƙarfin fitarwa, wanda ke sanya ƙusoshi a kan manyan tushen tsangwama ta atomatik.
  4. Makirufo da aka sanya fiye da rabi na tsawon igiyar sauti suna haifar da aliasing na sarari, wanda ke ƙirƙirar ƙwayoyin hayaniya a hanyoyi marasa daidai.
  5. Na'urorin taimakon ji masu shugabanci suna inganta sautin da ke gabatar da fuska da kusan 3 dB a rayuwa ta ainihi, musamman idan mai magana yana cikin kusan ƙafa 10.

Zurfafa nutsewa

A microphone array is a set of two or more microphones mounted at fixed, known positions, for example a ring of seven on top of a smart speaker. Beamforming is the signal processing that combines their outputs into one channel that listens mainly in a chosen direction, the look direction. It works like a spotlight for sound: speech from the target direction is reinforced while noise, music and other voices from elsewhere are reduced. Nothing physically moves; the beam is steered entirely in software, which is why one device can follow a person walking around a room.

The simplest method is delay-and-sum. Sound travels at about 343 meters per second, so a voice arriving from the left reaches the leftmost microphone slightly before the rightmost one. The delay between two microphones equals their spacing times the cosine of the arrival angle, divided by the speed of sound; for microphones 5 centimeters apart and sound arriving end-on, that is about 146 microseconds. Delay-and-sum shifts each channel by the delay expected for the look direction, so the target lines up perfectly, then adds the channels. The aligned target adds coherently, while noise that differs at each microphone adds up only partially. MathWorks' worked example shows the payoff: with 10 elements, the array gain is 10, so output signal-to-noise ratio is about ten times that of a single sensor for uncorrelated noise.

In practice audio beamformers work in the frequency domain. The signal is cut into short frames and converted with a Fourier transform into frequency bins, and each bin gets its own complex weight per microphone, which applies a phase shift and gain. This matters because a fixed time delay corresponds to a different phase at every frequency. Geometry sets hard limits. If microphones are more than half a wavelength apart, the array cannot tell some directions apart and produces ghost beams, an effect called spatial aliasing; at 8 kHz the wavelength is about 4.3 centimeters, so spacing must stay near 2 centimeters to avoid it. At low frequencies, where wavelengths are meters long, a small array barely differs from one microphone, so its beam is very wide.

Adaptive beamformers go further by also learning where the noise is. The minimum variance distortionless response (MVDR) beamformer chooses weights that keep the look direction at exactly unit gain, the distortionless constraint, while making total output power as small as possible. Since the target must pass unchanged, the only way to lower output power is to suppress everything else, so MVDR automatically places deep nulls on strong interferers. In MathWorks' example it put deep nulls on interferers at 30 and 50 degrees while keeping 0 dB gain toward a target at 45 degrees, where plain delay-and-sum let the interference mask the signal. The linearly constrained minimum variance (LCMV) beamformer generalizes this with several constraints at once.

Deep learning changed how the look direction is found. In 2016 Heymann, Drude and Haeb-Umbach at Paderborn University, and separately Erdogan and colleagues at MERL, trained neural networks to estimate a mask, a value for every time-frequency point saying how likely it is to be speech rather than noise. The masks are used to estimate the spatial statistics of speech and of noise, which in turn give MVDR weights without knowing the talker's angle in advance. Google described neural networks that perform the multichannel processing jointly with acoustic modeling in its 2017 paper on Google Home, reporting 8 to 28% fewer word errors relative to the existing production system. Apple's December 2018 article on HomePod described a six-microphone chain of echo cancellation, mask-based multichannel Wiener filtering, dereverberation and blind source separation, with the "Hey Siri" detector choosing the best output stream. Apple reported word error rate improvements of about 40% for reverberant speech, 74% in loud background noise and 61% with a competing talker.

Compared with single-microphone noise suppression, beamforming has an advantage that no single-channel model can match: it uses where the sound comes from, not just what it sounds like. A linear beamformer such as MVDR also adds little distortion to the target, which is why it is popular in front of speech recognizers. The trade-off is hardware: more microphones, synchronized sampling and careful placement. Hearing aids show the scale of benefit with only two microphones per ear. Laurel Christensen's 2013 review in The Hearing Review puts first-order directional benefit at about 3 dB in real life, notes that linking the microphones on both ears narrows the beam from about 60 to about 45 degrees, and reports that this added about 1 dB in speech-shaped noise but nothing measurable in babble.

Beamforming has well-known failure modes. Reverberation is the biggest: in a room, a voice reaches the array directly and also via many reflections from every wall, and reflected energy arriving from all sides cannot be removed by aiming. The Hearing Review notes that directional hearing aids help mainly when the talker is within about 10 feet, inside the critical distance where direct sound dominates. Diffuse noise, such as a crowded restaurant, has no single direction to null, so adaptive hearing aids fall back to a fixed pattern. Steering errors are dangerous for MVDR: in MathWorks' example, aiming at 43 degrees when the talker was at 45 made MVDR treat the talker as interference and suppress it, which is called signal self-nulling. Moving talkers, microphone mismatch and loudspeaker echo add further error.

What it takes in practice depends on the product. A hearing aid manages with two microphones a few millimeters apart and tight power limits. A smart speaker uses six or seven microphones in a ring of a few centimeters, multichannel echo cancellation so it can hear while playing music, and enough compute to run continuously; Apple says its HomePod front end uses less than 15% of one core of a 1.4 GHz A8 chip. MVDR itself requires estimating and inverting a small covariance matrix, one row and column per microphone, for every frequency bin, a modest cost on modern chips. The harder engineering is mechanical: keeping microphones matched, sealed from internal vibration and placed according to the spacing rules.

04Misali na aiki

Sarrafa wani tsarin delay-and-sum na makirufo biyu

  1. Samu makirufo biyu da ke da tazara santimita 5 a kan layi kuma mai magana a kusurwar digiri 60 daga wannan layin, tare da sautin da ke tafiya a mita 343 a kowanne dakika.

  2. Lissafa jinkiri: 0.05 sau cos(60 digiri) raba da 343, wanda yake 0.025 / 343, kusan microseconds 73.

  3. A matakin samfurin 48 kHz, wannan yana nufin microseconds 73 sau 48,000 a dakika, kusan samfur 3.5, don haka a yi amfani da matattara jinkiri na ƙashi ko canjin matakin lokaci a fannin mita.

  4. Jinkirta makirufo na farko da wannan adadi don siginar mai magana ta daidaita a cikin tashoshi biyu, sannan a haɗa tashoshin biyu.

  5. Duba aliasing: rabi na tsawon igiya yana daidai da 343 / (2 f), don haka tazara santimita 5 tana da aminci har zuwa kusan kHz 3.4.

  6. Fitar da hayaniya daga wani kusurwa daban kuma a kwatanta matakin sa a fitarwa da matakin a makirufo guda ɗaya.

Abin da yake nunawa

A beam aimed at 60 degrees. Verify it by playing a test tone from 60 degrees and from another angle: the on-target tone should keep its level after averaging, while noise from other directions and uncorrelated microphone noise should drop, up to about 3 dB for two microphones.

Aiwatar da Gaskiyar Duniya

Amazon's Echo uses a seven-microphone circular array with beamforming, noise reduction and echo cancellation; in April 2017 Amazon offered the same design to other device makers as the Alexa 7-Mic Far-Field Development Kit.

Apple's HomePod runs a six-microphone front end with multichannel echo cancellation, mask-based noise reduction and source separation, using under 15% of one A8 processor core, according to Apple's 2018 research article.

Google Home's speech recognizer, launched in November 2016, uses neural networks that perform multichannel processing jointly with acoustic modeling, cutting word errors 8 to 28% relative to the earlier production system.

Hearing aids with directional microphones improve the signal-to-noise ratio of speech from the front by about 3 dB in real-life measurements, with more benefit when noise sits behind the listener.

Mask-based MVDR beamforming, published by MERL and Paderborn University researchers in 2016, lets a neural network locate speech so the beamformer can aim at a talker whose direction is unknown.

Makomar Ƙwararren Ƙwararren Ƙwararren Ƙwararren Ƙwararren Ƙwararren Ƙwararren Ƙwararren Ƙwararren Ƙwaƙwalwa

Since the mask-based beamformers of 2016, the line between beamforming and neural networks has kept blurring. Google's 2017 Google Home paper already trained multichannel processing jointly with recognition, and Apple's 2018 HomePod system combined classical filters with neural speech-presence estimates and stream selection driven by a wake-word detector. Open problems remain the ones physics imposes: heavy reverberation, diffuse noise with no direction to null, moving talkers and tiny devices whose microphones sit too close together to separate low frequencies. Hearing-aid research illustrates the limits; the 2013 Hearing Review analysis found that a narrower binaural beam added about 1 dB in one noise type and nothing in babble, so narrower is not automatically better for listeners who also need awareness of their surroundings. Active research directions include arrays formed from separate devices such as phones in a meeting room, which face clock-synchronization problems, and end-to-end networks that learn spatial filtering directly from raw multichannel audio. Whether learned approaches will fully replace explicit beamformers, or keep wrapping classical MVDR-style filters that are easy to analyze and add little distortion, is not settled.

Sanya shi a aikace

Me ya sa yake da mahimmanci

  • Shiga ku isa. Yana inganta samun dama ta hanyar rubutu, ba da labari, da mu'amalar murya.
  • Kudin da kasafin kuɗi. Ƙungiyoyin kafofin watsa labaru na iya jigilar sauti mai gogewa cikin sauri tare da ƙaramin kasafin kuɗi.
  • Gudu da sikelin. Tsarin fuskantar abokin ciniki na iya aiwatar da hulɗar magana a mafi girman ma'auni.

A kula

  • Rashin amfani da murya da haɗarin kwaikwaya yana ƙaruwa lokacin da aka rasa izini.
  • Daidaituwa na iya faɗuwa cikin lafuzza, yaruka, ko mahalli masu hayaniya.
  • Ana iya kuskuren sauti na roba don ingantacciyar magana ba tare da bayyananniyar lakabi ba.

Matakai na gaba

  1. Sami tabbataccen izini don ɗaukar murya, cloning, da sake amfani.
  2. Gwajin ingantattun masu magana daban-daban da yanayin baya.
  3. Ƙayyade lokacin da dole ne ɗan adam ya duba ko ya amince da abubuwan da aka fitar.
  4. Yi lakabin sauti na roba da kuma adana bayanan da aka tabbatar don yin lissafi.

Sources da ƙarin karatu

  1. Apple Machine Learning ResearchOptimizing Siri on HomePod in Far-Field Settings
  2. Amazon Alexa Developer BlogBringing Far-Field Voice Technology from the Amazon Echo to Third-Party Devices
  3. ISCA Archive (Interspeech 2017)Acoustic Modeling for Google Home
  4. MERL (Interspeech 2016)Improved MVDR beamforming using single-channel mask prediction networks
  5. Paderborn University (ICASSP 2016)Neural Network Based Spectral Mask Estimation for Acoustic Beamforming
  6. MathWorksConventional and Adaptive Beamformers
  7. The Hearing ReviewThe Evolution of Directionality: Have Developments Led to Greater Benefit for Hearing Aid Users?

Ci gaba da Bincike

Wasikar kyauta

Samu bayanin AI na yau da kullun

Labarun AI guda uku da aka tabbatar a kowace safiya ta ranar mako, an rubuta su da Ingilishi a sarari. Kyauta har abada, babu talla.

Imel guda ɗaya kowace rana. Cire rajista a danna ɗaya. Ba mu taɓa siyarwa ko raba adireshin ku ba.

Gwada kanka

Take the Beamforming and Microphone Arrays quiz

Amsa kai tsaye kan kowace amsa, da takardar shedar raba gardama tare da tabbataccen ID da zarar kun wuce kwas.

Fara tambayoyi

Taimakawa ilimin AI kyauta. AI Understanding ba riba ce ta 501(c)(3) - babu talla, babu bangon biya, har abada. Ba da gudummawa

Tambayoyin da ake yawan yi

Menene Beamforming da Microphone Arrays?

Beamforming combines the signals from several microphones at known positions so that sound from one chosen direction adds up while sound from other directions partly cancels. It is how smart speakers, hearing aids and conference systems pick out a voice across a noisy room, and modern versions use neural networks to decide where the speech is before the array does the filtering.

Wane alama ta zahiri ke yin amfani da farko?

Sauti yana kaiwa kowane mic a lokuta daban-daban; beamforming yana amfani da waɗannan jinkirin don tace ta hanya.

Menene mafi sauƙi dabarar ƙirar katako da ake kira?

Jinkiri-da- jimla suna daidaita sigina daga inda aka nufa kuma yana ƙara su don ƙarfafa juna.

What is the defining constraint in an MVDR beamformer?

MVDR imposes a distortionless-response constraint for the target and minimizes output power subject to it.

Ta yaya beamforming ke da alaƙa da kashe hayaniyar microphone guda ɗaya?

Beamforming yana ƙara tacewa na jagora/tsara wanda hanyoyin tashoshi ɗaya ba zasu iya bayarwa ba, don haka suna aiki tare.

Why can microphone spacing that is too large create spatial aliasing?

At high frequencies, widely spaced microphones can sample phase ambiguously, making different directions appear alike.