
VARMAX (V)
VOLUME–VARDIFF
VARDIFF (V)
–
+
VOLUME (V)
NO
YES
VAROUT_VOLUME (V) = VOLUME (V) – VARDIFF (V)
VAROUT_VOLUME (V) = VARMAX (V)
Is VARMAX>
(VOLUME–VARDIFF)
?
SLOS407E – FEBRUARY 2003 – REVISED JANUARY 2011
www.ti.com
The trip point, where the gain actually changes, is different depending on whether the voltage on the VOLUME
terminal is increasing or decreasing as a result of hysteresis about each trip point. The hysteresis ensures that
the gain control is monotonic and does not oscillate from one gain step to another. A pictorial representation of
the volume control can be found in
Figure 43. The graph focuses on three gain steps with the trip points defined
in the first and second columns of
Table 1 for class-D gain. The dotted lines represent the hysteresis about each
gain step.
The timing of the volume control circuitry is controlled by an internal 60 Hz clock. This clock determines the rate
at which the gain changes when adjusting the voltage on the external volume control pins. The gain updates
every 4 clock cycles (nominally 67 ms based on a 60 Hz clock) to the next step until the final desired gain is
reached. For example, if the TPA3004D2 is currently in the +0.53 db class-D gain step and the VOLUME pin is
adjusted for maximum gain at +36 dB, the time required for the gain to reach 36dB is 14 steps x 67ms/step =
0.938 seconds. Referencing
Table 1, there are 14 steps between the +0.53 dB gain step and the maximum gain
step of +36 dB.
VARDIFF and VARMAX Operation
The TPA3004D2 allows the user to specify a difference between the class-D gain and VAROUT gain. This is
desirable to avoid any listening discomfort when plugging in headphones. When interfacing with the variable
outputs, the VARDIFF and VARMAX pins control the VAROUT channel gain proportional to the gain set by the
voltage on the VOLUME pin. When VARDIFF=0 V, the difference between the class-D gain and the VAROUT
gain is 16 dB. As the voltage on the VARDIFF terminal is increased, the VAROUT channel gain decreases.
Internal to the TPA3004D2 device, the voltage on the VARDIFF terminal is subtracted from the voltage on the
VOLUME terminal and this value is used to determine the VAROUT gain.
Some audio systems require that the gain be limited in the VAROUT mode to a level that is comfortable for
headphone listening. The VARMAX terminal controls the maximum gain for the VAROUT channels.
The functionality of the VARDIFF and VARMAX pin are combined to fix the VAROUT channel gain. A block
diagram of the combined functionality is shown in
Figure 42. The value obtained from the block diagram for
VAROUT_VOLUME is a DC voltage that can be used in conjunction with
Table 2 to determine the VAROUT
channel gain.
Table 2 lists the gain in VAROUT mode as determined by the VAROUT_VOLUME voltage in
reference to the voltage on VREF.
Figure 42. Block Diagram of VAROUT Volume Control
26
Copyright 2003–2011, Texas Instruments Incorporated