4
\$\begingroup\$

I have a PCB which includes an SOC with a built-in DAC that connects to an external active high-pass filter which then connects to a Class AB amp IC to drive an audio load.

Using a spectrum analyzer, I measured the idle noise (20 Hz - 20 kHz bandwidth) out of my Class AB amp IC of my total system at ~400 μVRMS. I am trying to calculate this on paper to better understand it.

Referencing equation 8.21 from here, I believe the equation for calculating the expected rms output noise would be:

$$V_{noise_{RMS}} = \sqrt{BW} \cdot \sqrt{ e_{n_{DAC}}^2 \cdot A_{HPF}^2 \cdot A_{AMP}^2 + e_{n_{HPF}}^2 \cdot A_{AMP}^2 + e_{n_{AMP}}^2}$$

Where BW is the system bandwidth, en is the voltage noise density of the component, and A is the gain of the component.

BW has an upper limit of 20 kHz since this is an audio application and a lower limit of 2 kHz (the cutoff of the highpass filter). So,

$$ BW = \sqrt{20\ \mathrm{kHz} - 2\ \mathrm{kHz}} = \sqrt{18\ \mathrm{kHz}} $$

The HPF's noise voltage density is supplied in the datasheet. To find values for the noise voltage density of the DAC and the AMP IC, would it be sufficient to measure their idle RMS output voltages and divide by the square root of the spectrum analyzer measurement bandwidth? For example, I measured 10 μVRMS out of the DAC across 20 kHz bandwidth. Would the DAC noise voltage density then be:

$$ e_{n_{DAC}} = 10\ \mathrm{\mu V_{RMS}} / \sqrt{ 20\ \mathrm{kHz} } = 71\ \mathrm{nV_{RMS}}/\sqrt{\mathrm{Hz}}?$$

My current numbers are off by orders of magnitude so I'd appreciate any help!

Edit: mistakenly forgot to put the 18kHz bandwidth number under a square root

\$\endgroup\$
2
  • \$\begingroup\$ Which PCB with which SOC? "...built-in DAC that connects to an external active high-pass filter" - Exactly what is this 'high pass' filter? "I measured 10 μVRMS out of the DAC across 20 kHz bandwidth" - How did you measure it? What was the measurement for signal+noise? \$\endgroup\$ Aug 26, 2022 at 3:10
  • \$\begingroup\$ What are you driving the DAC wth, when you measure its output noise? \$\endgroup\$ Aug 26, 2022 at 12:14

1 Answer 1

3
\$\begingroup\$

First off, draw a block diagram of your system.

schematic

The total noise output is as you wrote, but there are clarifications to the equation to make is easier to read and show that the noise for the individual components is the output noise spectral density.

$$ e_{no_{SYSTEM}} = \sqrt{BW} \sqrt{(e_{no_{DAC}} \cdot A_{HPF} \cdot A_{AMP})^2 + (e_{no_{HPF}} \cdot A_{AMP})^2 + (e_{no_{AMP}})^2 } $$

This is valid if the noise density is constant over the bandwidth.

\$ \sqrt{BW} = \sqrt{20kHz - 2 kHz} = 134.2 \$ if the HPF is a brick-wall filter. Otherwise, you need to know the noise bandwidth of the HPF.
Perhaps a source of your error is in the bandwidth calculation which is messed up.

Question: How did you measure the output noise and get 400uV RMS with a spectrum analyzer? When measuring total noise you use a voltmeter that has true RMS functionality, then divide the total noise by the square root of the noise bandwidth to get spectral noise density. Perhaps you have a fancy analyzer that can read out total noise over a selected bandwidth, or, you used an oscilloscope's Vrms math function.

The reliable method of quantifying noise with a spectrum analyzer is to set the analyzer to read out in noise density (i.e., \$ V/\sqrt{Hz} \$).

Regarding your question of calculating the noise density of the DAC, your calculation is valid if the noise density is constant over frequency. If the noise and/or gain changes over frequency and/or the noise floor changes when a signal is present, the job gets harder to come up with total noise over the bandwidth number.

\$\endgroup\$
1
  • \$\begingroup\$ Thanks for the detailed response! Thank you for pointing out the bandwidth calculation mistake. In my actual calculations though I did calculate the bandwidth correctly (did not omit the square root) and am still a ways off. To answer your other question: yes, I do have a fancy analyzer (APx525) which can measure rms voltage across different audio bandwidths! Looking at the plots on this device the noise spectrum appears flat beyond the audio bandwidth, so I believe I can assume the noise density is constant over frequency. Thank you again! \$\endgroup\$
    – zigzidane
    Aug 30, 2022 at 16:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.