Skip to content

Commit 81a8cce

Browse files
committed
docs(audio): optimizing adc_mic hardware reference
1 parent c57eef2 commit 81a8cce

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

docs/en/audio/adc_mic.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ Features
1515
Reference Circuit
1616
------------------
1717

18-
The external reference circuit is shown below. Customers can choose between transimpedance amplifier or inverting/non-inverting amplifier circuits to amplify the MIC input signal. For more design reference information about front-end MIC amplifiers, please refer to `Single-Supply, Electret Microphone Pre-Amplifier Reference Design <https://www.ti.com/lit/ug/tidu765/tidu765.pdf>`__.
18+
The external reference circuit is shown below. You can choose between transimpedance amplifier or inverting/non-inverting amplifier circuits to amplify the MIC input signal. In most cases, using a transimpedance amplifier can achieve better signal-to-noise ratio. In this example, R29 is used to add DC bias for the MIC, using the general-purpose op-amp LMV321 as the operational amplifier, with R26 and C19 forming a feedback circuit to make the op-amp work in transimpedance amplification mode, where the resistance and capacitance are adjusted according to the MIC sensitivity. R31 and R30 are used to set the midpoint voltage to avoid crossover distortion, and R27 and R32 are used to provide DC bias to avoid distortion during ADC sampling. For more design reference information about front-end MIC amplifiers, please refer to `Single-Supply, Electret Microphone Pre-Amplifier Reference Design <https://www.ti.com/lit/ug/tidu765/tidu765.pdf>`__.
1919

2020
.. note::
21-
- Bias: The ADC side needs midpoint bias (such as Vref/2), and AC coupling on the op-amp output side to avoid DC saturation of the ADC.
22-
- Power supply: It is recommended to use LDO for MIC power supply regulation to avoid power supply fluctuations affecting ADC sampling. If external LDO is not used, please add separate RC filtering on the power supply side.
23-
- It is recommended to select MIC with sensitivity greater than -46dB to avoid ADC sampling errors due to insufficient MIC sensitivity. Adjust the amplification factor according to the microphone sensitivity.
21+
- Bias: ADC midpoint bias is necessary (such as Vref/2) to avoid ADC sampling distortion. By default, ESP32-C3's Vref is approximately 0.9V.
22+
- Power supply: It is recommended to use LDO for MIC power supply regulation to avoid power supply fluctuations affecting ADC sampling. If external LDO is not used, please add separate RC filtering on the power supply side (in this example, R28 and C23 are used for filtering). It is recommended that MIC and op-amp have independent power supplies.
23+
- It is recommended to select MIC with sensitivity greater than -46dB to avoid low signal-to-noise ratio after amplification. Adjust the amplification factor according to the microphone sensitivity.
2424

2525
.. figure:: ../../_static/audio/adc_mic_hardware_ref_design.png
2626
:align: center

docs/zh_CN/audio/adc_mic.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ADC 麦克风
22
==============
33
:link_to_translation:`en:[English]`
44

5-
使用 ADC 采集模拟麦克风数据,无需使用外部的音频 codec 芯片,适用于对采样率要求不太高且成本敏感的应用。在代码结构上采用 `esp_codec_dev <https://components.espressif.com/components/espressif/esp_codec_dev>`__ 的工程模式。
5+
使用 ADC 采集模拟麦克风数据,无需使用外部的音频 codec 芯片,适用于对采样精度要求不太高且成本敏感的应用。在代码结构上采用 `esp_codec_dev <https://components.espressif.com/components/espressif/esp_codec_dev>`__ 的工程模式。
66

77
特性
88
------
@@ -15,12 +15,12 @@ ADC 麦克风
1515
参考电路
1616
----------
1717

18-
外部参考电路如下,客户可以选择跨阻放大器或者同相/反相放大电路对 MIC 输入信号进行放大。关于前端 MIC 放大器的更多设计参考信息,请参考 `Single-Supply, Electret Microphone Pre-Amplifier Reference Design <https://www.ti.com/lit/ug/tidu765/tidu765.pdf>`__。
18+
外部参考电路如下,可以选择跨阻放大器或者同相/反相放大电路对 MIC 输入信号进行放大。在大多数情况下,使用跨阻放大器可以取得更佳的信噪比,在本示例中 R29 用于为 MIC 添加直流偏置,使用通用运放 LMV321 作为运算放大器,通过 R26 与 C19 构成反馈电路,使运放工作在跨阻放大模式,其中阻容根据 MIC 的灵敏度进行调整。R31 与 R30 用于设定中位电压,以避免交越失真,R27 与 R32 用于提供直流偏置,避免 ADC 采集时失真。关于前端 MIC 放大器的更多设计参考信息,请参考 `Single-Supply, Electret Microphone Pre-Amplifier Reference Design <https://www.ti.com/lit/ug/tidu765/tidu765.pdf>`__。
1919

2020
.. note::
21-
- 偏置:ADC 端要有中点偏置(如 Vref/2),并在运放输出侧 AC 耦合,避免直流顶死 ADC
22-
- 电源:MIC 供电最好使用 LDO 进行稳压,避免电源波动影响 ADC 采样。如果不使用外部 LDO,请在电源侧进行单独的 RC 滤波。
23-
- 推荐选择灵敏度大于 -46dB 的 MIC,避免 MIC 灵敏度不足导致 ADC 采样误差。并根据麦克风的灵敏度调整放大倍数
21+
- 偏置:ADC 端的中点偏置是必须的(如 Vref/2),避免 ADC 采集失真,默认情况下 ESP32-C3 的 Vref 约为 0.9V
22+
- 电源:MIC 供电最好使用 LDO 进行稳压,避免电源波动影响 ADC 采样。如果不使用外部 LDO,请在电源侧进行单独的 RC 滤波(在本示例中 R28 与 C23 用于滤波), MIC 推荐与运放独立供电
23+
- 推荐选择灵敏度大于 -46dB 的 MIC,避免放大后的信噪比过低。并根据 MIC 的灵敏度调整放大倍数
2424

2525
.. figure:: ../../_static/audio/adc_mic_hardware_ref_design.png
2626
:align: center

0 commit comments

Comments
 (0)