Voice Assistant PCBA: MEMS Microphone Array Layout & Echo Cancellation Guide

Architecture of a Modern Voice Assistant PCBA
- Acoustic front-end (MEMS array): It is made of multiple surface-mount MEMS (Micro-Electro-Mechanical Systems) digital or analogue microphones in linear, triangular, or circular geometries for spatial beamforming.
- An audio DSP or a System on a Chip (SoC): It runs Acoustic Echo Cancellation (AEC), Direction of Arrival (DOA) estimation, Blind Source Separation (BSS) and local Wake-Word Engines (WWE).
- Power Amplifiers (PA) & Audio Output: Internal speakers driven by Class-D or Class-D/H amplifiers, with output power from 3W up to more than 30W.
- The Power Management Unit: PMU consists of switched-mode power supplies (SMPS) and low-dropout (LDO) regulators distributing several rails of power to high-current speakers and ultra-sensitive acoustic sensors.

1. PDM Trace Length Matching for Digital MEMS Microphone Arrays
Trace Length Matching Rules
- FS tech recommends that all lines which carry PDM Clock CLK and Data DATA signals should be matched with a trace length tolerance of ± 50 mils (±1.27 mils) across the array.
- The skew limit is where signals on FR-4 microstrip inner/outer layers propagate at 150 ps/inch (6ps/mm). By matching within ± 50 mils, the traces’ skew was kept under 7.5 picoseconds to keep the clock-to-data jitter many orders of magnitude below the MEMS microphone sampling aperture.
- It is not advisable to daisy-chain the PDM clock lines across more than two microphones. Buffered fan-out buffers or termination resistors should be utilized.
- To drive four or more digital microphones, a clock distribution tree or multi-output buffer آیسیها should be used to ensure that all CLK branches have a similar capacitive load.

Matching Impedance and Avoiding Crosstalk
- Make sure to route all PDM CLK و DATA lines as single-ended امپدانس کنترل شده traces with a target nominal impedance between 50Ω± 10%.
- Install a dampening resistor in series on the CLK line as close as possible to the driving DSP/Codec pin. Use a resistor in the range of 22Ω to 33Ω. The ringing and overshoot caused by capacitive loads from MEMS packages is damped.
- Enforce the 3W Rule (spacing between the center of traces should be not less than the 3-time width of the traces) between PDM CLK, PDM DATA and neighbouring high-speed communication buses (e.g. SPI, I2C, Wi-Fi SDIO or USB). Avoid routing PDM data traces directly in parallel with switching power lines or antenna feedlines.
- All PDM traces must run over a solid reference plane i.e., GND, and must not cut into the IC ground. Do not route PDM lines across plane splits. Crossing a ground gap leads to high-loop inductance. This can cause heavy EMI radiated emissions and clock jitter.
2. Class-D Amplifier vs. Microphone Structural Isolation
- Acoustic feedback is when some sound travelling through air from the speaker cone enters the acoustic port of the mic.
- Mechanical vibration is energized via the enclosure and rubber gaskets, frame, and بستر PCB خودش.

Mechanical Isolation Techniques for PCBA
Milling PCBs and Isolation Slots.
Arrangement and Spacing of Components
Acoustic Gasket and Boot Design
PCB Thickness and mass loading
3. Noise Floor Management of Far-Field Voice Wake-Up (< 10mV Ripple)
Voice wake-up far-field solutions are engineered to detect weak acoustic signals up to 3 to 7 meters away. When the microphone is that far away, the sound pressure level (SPL) of the human voice at the microphone port may fall below 30dB SPL. It is imperative to have an ultra-low electrical noise floor on the PCBA to enable consistent triggering of the wake-word under such adverse circumstances.
The major source of noise affecting the microphone SNR is the high-frequency noise from DC-DC buck converters, Class-D output stage, and RF bursts from Wi-Fi/بلوتوث modules.

Power Supply Ripple Requirements for MEMS Microphones
Whereas MEMS microphones have PSRR specifications of 60-80dB at 1kHz, this rejection property deteriorates significantly in frequencies ranging from 100kHz to 2MHz – the very range of operation of the switching frequency for SMPS buck converters. Once the power rail ripple reaches the threshold of 20mV to 50mV, switching noise gets past the rejection provided by the microphone and heterodynes into the audible range, increasing the noise floor, effectively blinding far-field wake-word algorithms.
FS Tech Power Routing Guidelines for Microphone VDD:
- Noise and ripple on the microphone VDD rail must be kept less than 10mVp-p across a 20Hz to 20MHz measurement bandwidth with a target of 3mVp-p in the audio bandwidth 20Hz – 20kHz.
- It’s important never to power MEMS microphones from a master switching regulator and not to share the 3.3V / 1.8V rail driving the SoC/Wi-Fi module. It is recommended to pass mic power through a dedicated high PSRR, ultra-low-noise, low-dropout regulator to give (> 70 dB) PSRR at (1MHz).
- Pi filter networks, including either C-L-C or C-R-C networks, can be employed. For every microphone package, place a ferrite bead, for example, 600 Omega @ 100 MHz, or a 10 Omega small resistor in series before the decoupling capacitors.
- Put one 1uF ceramic cap for low-frequency bulk storage and one 100nF or 10pF cap with low ESL to decouple high-frequency RF to ground, within 2mm of the MEMS VDD pin. Use short, wide vias to connect the ground side of these decoupling caps directly to a quiet analog ground plane.

4. MEMS Microphone Acoustic Port Design & PCB Routing
The frequency response and total harmonic distortion (THD) of Top-Port and Bottom-Port digital MEMS microphones depend on the physical interface of the PCB substrate and acoustic chamber.
Acoustic Port Hole Design Rules
A drilled hole (directly through the PCBA dielectric layers) allows bottom-port microphones to capture sound:
- The acoustic port hole on the PCB must have the diameter recommended by the manufacturer (usually 0.5mm to 0.8 mm). Holes which are too small will increase the acoustic resistance, thus increasing the thermal noise and shifting of resonance. Holes which are too large may negatively affect the integrity of the solder ring.
- The acoustic hole itself shall be an Unplated (NPTH) hole, rather than a plated through-hole, to prevent copper from flaking into the MEMS acoustic cavity.
- For the acoustic hole on the primary mounting layer, there shall be an annular copper ring that is soldered to the ground pad of the microphone package, which must not have any breaks. It creates an airtight acoustic seal and creates a 360-degree Faraday cage that prevents RF noise from leaking into the chamber.

5. Acoustic Echo Cancellation (AEC) Hardware-Software Integration
AEC is a technique that works on audio captures and achieves suppression of echo. When this device plays audio at the level of 85 dB SPL, and the user speaks at the level of 60 dB SPL, AEC removes the already known speaker output signal from the microphone input signal. Hence, the user’s voice is left for processing.
Nonetheless, hardware accuracy is a key reliance of AEC. When the PCBA layout generates clock drift, non-linear distortion, or phase latency, the AEC algorithm fails, causing wake-words to be missed or voices to be clipped.

Hardware Requirements for AEC Performance
For high AEC performance, the hardware has to be designed to meet three strict conditions.
Hardware Loopback Reference Track I2S-TDM Synchronization
The AEC engine requires a digital copy of the audio that is delayed and exactly synchronized with what is sent to the Class-D amplifier.
Zero latency drift indicates that the host DSP must clock the digital microphone PDM/I2S input bus and the speaker Class-D I2S output bus from exactly the same master clock (MCLK). Separate crystal oscillators for the audio input and audio output stages should never be used. Even a drift of a few parts per million (PPM) of the oscillator causes the sample phase to slip, which destroys AEC reference tracking as time progresses.
Low Distortion in Amplifier Linearity Causes
When the amplifier clips, saturates, or has a high total harmonic distortion (THD+N> 1%), non-linear harmonics will be present in the first-order acoustic environment, which the linear AEC adaptive filter cannot model or subtract.
Choose Class-D amplifiers with feedback loops that keep the THD+N < 0.1% under full power. Confirm that the supply rails that are used to power Class D PA (PVCC) must have sufficient bulk decoupling (large low-ESR electrolytic or ceramic banks) to avoid the dropping of Class D supply rails against heavy dynamic bass hits.
Linearity of Microphone Phase Response
To ensure effective spatial filtering, all microphones in an array must have matching phase sensitivity. FS Tech suggests that MEMS microphones should be specified to have tight matching in terms of sensitivity (e.g., ±1 dB or better) and phase (e.g., ±2° in the 200 Hz – 4 kHz range) to limit the overhead needed for adaptive DSP tuning.
6. Amazon AVS & Google Assistant Audio Certification Requirements
Before mass production and gaining access to native cloud ecosystems, a voice assistant device must pass third-party hardware certification testing. For example, third parties may perform Amazon Alexa Voice Service (AVS) Qualification or Google Assistant Audio Testing.
Certification laboratories use calibrated head-and-torso simulator (HATS) and SoundPower surround noise speaker arrays in a specialized semi-anechoic chamber to ensure the performance of hardware that is fully assembled. The success or failure rate in these crucial testing categories depends directly on PCBA design.

Key Certification Test Requirements
Double – Talk Wake – Word Performance
The hardest test is the ability of the voice assistant to detect its wake-word (either “Alexa” or “Hey Google”) while loud music plays at maximum volume (85 dBA at 1 meter).
- Failure Modes:PCB vibration or amplifier clipping failure modes.
- Mitigation:Make sure that the PDM lines (especially the lines connected to the device) have matched lengths and make use of structural vibration isolation slots on the board. Make sure that the LDO power rails are clean with low ripple.
Testing in Background Noise Condition
During the test, external speakers will produce diffuse sounds (pink noise, pub noise, washing-up sound, etc.) while trying to cause a device to trigger.
- Failure Modes: Improper microphone array geometry or ripple at the power supply degrades the dynamic range.
- Mitigation: Make sure that ripple in the منبع تغذیهdoes not exceed 10mVp-p, so that the full dynamic range of the microphone is preserved, and its Signal-to-Noise Ratio is 64 dB-68 dB or above.
The amount of noise distortion
In the absence of enclosure or PCB cavity seal leakage, the system frequency response should be flat in the primary vocal range (300 Hz to 8 kHz) without any sharp resonance spikes.
Why Choose FS Tech for Voice Assistant PCBA Manufacturing?
Common PCBA Design Mistakes That Break Voice Wake-Up Performance
- Async Clock Domains: Having individual crystal oscillators for the input microphone PDM/I2S and output Class-D I2S speaker. Parts per million (PPM) deviation in the frequency will render useless the acoustic echo cancellation (AEC) reference tracking and the filter process of the DSP.
- Lack of Isolation Slots in Structural Design: No isolation slots milled between the PA output and the microphone array. The direct vibration on the FR-4 from the class-D amp creates non-linear harmonic distortions that cannot be filtered using AEC.
- Inadequate Decoupling for Class-D Power Supply Rails: Insufficient bulk decoupling (low ESR capacitors) on the PVCC rail. Bass impulses cause sagging in the supply rail, making the amp clip (THD+N > 1%) and rendering the AEC algorithm ineffective.
- Neglecting NPTH Rules: با استفاده از plated through-holes (PTH) for bottom-port microphone acoustic inlets. Flakes from the copper plating may fall onto the MEMS diaphragm during reflow, thus changing its frequency response.
🔍 Optimize Your Design with DFM
Get a professional DFM review to eliminate manufacturability risks, reduce costs, and speed up production. Our experts are ready to help.
نتیجهگیری
تسریع راهاندازی جهانی
با PCBA قابل اعتماد
راه حل یک مرحله ای: ساخت PCB، منبع یابی، مونتاژ SMT، آزمایش و لجستیک جهانی.
چرخش سریع، کنترل کیفیت دقیق.
FAQs about Voice Assistant PCBA
- The speaker driver generates strong distortion that results in acoustic vibrations. These non-linear vibrations reach the MEMS diaphragm through the PCB substrate.
- Microphone input (PDM) and amplifier output (I²S) are driven by asynchronous sampling clocks that break AEC latency tracking.
- Power amplifier clipping occurs when the amplifier stage produces a high value of total harmonic distortion (THD+N > 1 percent); being non-linear, these harmonics cannot be modeled by the DSP filter, which is linear.
با FS Technology همکاری کنید، از خدمات حرفهای PCBA بهرهمند شوید
وبلاگهای مرتبط
Table of Contents How to Read a Circuit Board: A Complete Step-by-Step Guide for Engineers and Technicians (2026) Printed Circuit Board Assemblies (PCBAs) form the
The Ultimate Guide to WiFi Extenders: Technology, Market Trends, and PCBA Manufacturing Insights Think about this: you are conducting an important video conference, and then
Table of Contents What Is SMT? Surface Mount Technology Explained for PCBA This article was originally published in June 2022 and last updated on August
Table of Contents Voice Assistant PCBA: MEMS Microphone Array Layout & Echo Cancellation Guide In today’s smart home hubs, AI edge devices, vehicle infotainment and
Table of Contents How to Generate PCB Gerber Files: A Complete Walkthrough for Altium, KiCad, and Eagle This article was originally published in Aug 2023
Table of Contents What is the PCB Meaning in Electronics? This article was originally published in July 2022 and last updated on June 25, 2026.