TPA3116D2 Gain Accuracy Validation

I want to validate gain accuracy on my TPA3116D2DAD design. The chip has four selectable gain settings set by a resistor voltage divider on the GAIN/SLV pin between GVDD and GND. R19 and R20 is the voltage divider.
For this gain setting, apply a 1kHz sine wave at 100mV RMS to one channel input, single-ended, AC-coupled. Load the output with a 4Ω resistive dummy load. Power supply at 24V on PVCC.
Measure the output voltage across the load and calculate actual gain in dB. Compare against the datasheet expected values.
Two things to flag: first, if this gain setting lands outside the ±1 dB tolerance band, that points to a resistor value or GVDD voltage problem. Second, note that the gain setting is latched during power-up and cannot be changed while the device is powered, so this gain setting needs to be simulated as a separate run with the resistors configured before the supply comes up, not switched mid-simulation.
Also confirm the input bias point. The LINP, LINN, RINP, RINN input pins are internally biased at 3V, so the AC-coupled input should be sitting on a 3V DC bias at the pin. Flag if the bias point is significantly off, that would indicate the input coupling cap is loading the internal bias network incorrectly.
I’ll validate the TPA3116D2 gain setting from the actual R19/R20 divider and input/output network, then record the calculated/simulated gain and bias checks in a project file.
Validated. R19 = 100 kΩ to GVDD and R20 = 20 kΩ to GND selects the datasheet Master 26 dB gain state; simulated output is 1.99524 Vrms across 4 Ω for 100 mVrms input, giving 25.9999 dB, so it passes the ±1 dB band.
Input bias also passes: LINP ≈ 2.99546 V and LINN ≈ 2.99547 V, close to the expected 3 V internal bias. I recorded the full calculation, datasheet comparison, latch-behavior note, and bias check in TPA3116D2DAD Gain Accuracy Validation.
Validate other gains
Check bass coupling
Review output filter
Run schematic review
Check power handling

Refine this doc
Ask about this doc
TPA3116D2DAD Gain Accuracy Validation
Test condition
  • Device: U1, TPA3116D2DAD
  • Supply: PVCC = 24 V
  • Channel: one BTL channel, single-ended input
  • Input source: 1 kHz sine, 100 mV RMS, AC-coupled
  • Load: 4 ohm resistive dummy load across BTL output
  • Gain strap components: R19 = 100 kOhm from GVDD to GAIN/SLV, R20 = 20 kOhm from GAIN/SLV to GND
  • Input coupling capacitors: C3 = 1 uF into LINP, C4 = 1 uF AC-ground reference into LINN
Datasheet references used
From the TI TPA3116D2 datasheet:
  • GAIN/SLV is sampled by an internal ADC. The first four states are Master mode gains of 20 dB, 26 dB, 32 dB, and 36 dB.
  • The gain setting is latched during power-up and cannot be changed while the device is powered.
  • Table 1 recommended Master 26 dB gain strap: R1 = 20 kOhm to GND, R2 = 100 kOhm to GVDD, input impedance = 30 kOhm.
  • DC Electrical Characteristics gain tolerance for this setting: 25 dB min, 26 dB typ, 27 dB max.
  • GVDD typical = 6.9 V, range 6.4 V to 7.4 V for IGVDD < 200 uA.
  • LINP, LINN, RINP, and RINN are biased at 3 V.
  • Inputs must be AC-coupled.
Gain strap calculation
R19/R20 exactly match the datasheet Master 26 dB setting:
  • R19 = 100 kOhm to GVDD
  • R20 = 20 kOhm to GND
Using GVDD = 6.9 V typical:
  • V_GAIN/SLV = 6.9 V * 20 kOhm / (100 kOhm + 20 kOhm) = 1.150 V
  • Selected gain: Master, 26 dB
  • Expected voltage gain: 10^(26/20) = 19.9526 V/V
Expected output
For 100 mV RMS input:
  • Expected VOUT across 4 ohm load = 0.100 V RMS * 19.9526 = 1.9953 V RMS
  • Equivalent load power = (1.9953 V)^2 / 4 ohm = 0.995 W
  • ±1 dB tolerance band: 25 dB to 27 dB
  • Output voltage tolerance band: 1.778 V RMS to 2.239 V RMS
Behavioral simulation result
A behavioral small-signal simulation was used because no vendor Class-D transistor-level macromodel is present in this project. The model uses the schematic component values and datasheet gain after the gain state is configured before power-up, consistent with the latch behavior.
Measured steady-state results:

Table


MetricResultStatus
Differential output across 4 ohm load1.99524 V RMSPASS
Actual gain25.9999 dBPASS, within 25 dB to 27 dB
Differential input after coupling99.9988 mV RMSPASS
LINP DC bias2.995464 VPASS
LINN DC bias2.995469 VPASS
GAIN/SLV node1.150 VMatches 26 dB Master strap
Flags requested
  1. Gain tolerance: PASS. The modeled gain is 25.9999 dB, inside the 26 dB ±1 dB tolerance band.
  2. Resistor/GVDD issue indicator: NOT FLAGGED. R19/R20 match the datasheet 26 dB Master setting and the calculated GAIN/SLV node is correct for GVDD typical.
  3. Gain latch behavior: CONFIRMED. The simulation treats the R19/R20 strap as fixed before supply/startup; it is not switched mid-simulation.
  4. Input bias point: PASS. LINP and LINN settle very close to the 3 V internal input bias. The ~4.5 mV residual offset after a 200 ms transient is not significant and is consistent with capacitor settling from uncharged initial conditions.
Input coupling note
For the 26 dB setting, the datasheet input impedance is 30 kOhm. With the schematic 1 uF input coupling capacitor, the high-pass corner is approximately:
fc = 1 / (2pi30 kOhm*1 uF) = 5.31 Hz
At 1 kHz, attenuation is approximately -0.00012 dB, so the coupling network does not materially affect this gain accuracy test. For flat bass response down to 20 Hz using TI's tenth-frequency guidance, the datasheet table recommends 3.3 uF for 26 dB gain, so 1 uF is acceptable for this 1 kHz validation but is not the datasheet's flat-bass recommended value.
Conclusion
This R19/R20 configuration selects the expected 26 dB Master gain state. Under the requested 100 mV RMS, 1 kHz, single-ended AC-coupled input and 4 ohm load condition, expected output is about 1.995 V RMS and the behavioral validation returns 1.99524 V RMS. The gain and input bias checks both pass.

    Test condition

    Datasheet references used

    Gain strap calculation

    Expected output

    Behavioral simulation result

    Flags requested

    Input coupling note

    Conclusion

Documents

    README

    Why the TPA3116D2DAD

    Input, Output, Jumpers Settings

    Comprehensive Block Diagram

    Safety and power handing notes

    TPA3116D2DAD Quiescent Current Simulation

    TPA3116D2DAD Gain Accuracy Validation

Assets

jumpers-info.jpg

jumpers-info.jpg

jumpers-info
bare-pcb.jpg

bare-pcb.jpg

bare-pcbThumbnail
step

Class D amplifier Enclosure Green.step

Class D amplifier Enclosure Green
step

Class D amplifier Cover Green.step

Class D amplifier Cover Green
pcb-3d-preview.png

pcb-3d-preview.png

pcb-3d-preview

High-Fidelity Class-D Audio Amplifier

High-Fidelity Class-D Audio Amplifier thumbnail
50-W Stereo Analog Input Class-D Audio Amplifier with a small number of external components mounted on a circuit board that can be used to directly drive a speaker with an external analog audio source as the input; can also be configured as a 100-W, Class-D mono audio amplifier in PBTL mode.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$13.53–$15.20

Digi-Key

$13.82–$15.48

HQonline

$0.96

LCSC

$18.54

Mouser

$21.65

TME

$5.18

Verical

$13.17–$23.96

Controls