Pre-Trimmed, Very Low-Voltage Low-Power Analog Engine® IC

THAT 4316

FEATURES APPLICATIONS Pretrimmed VCA and RMS detector Companding noise reduction Wireless microphones Very low supply voltage: 2.7V 5.5V Wireless instrument packs Wireless inear monitors Low supply current: 1.2mA typ. (3.3V) Battery operated dynamics processors Internal Vcc/2 divider and buffer Compressors Limiters Wide dynamic range: 115dB as Noise Gates compander AGCs

Description

The THAT4316 is a singlechip Analog Engine® companding applications as well as sound optimized for very lowvoltage, lowpower operation. modifiers. This makes the 4316 ideal for many low It incorporates a highperformance classAB voltage power dynamics processors including compressors, controlled (VCA) and trueRMSresponding limiters, and gates. level detector. The 16pin QSOP part is aimed at The part was developed as a versatile analog batteryoperated audio applications including com engine, drawing from THAT’s long history and expe panding systems for wireless microphones, wireless rience with such applications. Because both VCA instruments, and inear monitors, as well as dynam control ports and the RMS level detector output are ics processors of all types. The 4316 operates from a independently available, the part is extremely single supply voltage down to 2.7V, drawing only flexible. It can be configured for a wide range of 1.2mA at 3.3V. applications including single and multiband com panders with a wide range of companding ratios, The 4316's trueRMSlevel detector improves the plus compressors, expanders, limiters, AGCs, de sound of the part over averaging or peak detectors in essers, and the like.

VCA VCA NC IN NC OUT EC- EC+ NC VCC 16 15 14 13 12 11 10 9

VCA IN OUT RA EC+ EC- THAT 4316 RMS IN OUT RB CT

1 2 3 4 5 6 7 8 NC RMS NC CT RMS VREF FILT GND IN OUT

Figure 1. THAT4316 block diagram.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation; Document 600177 Rev 00 Document 600177 Rev 00 Page 2 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

SPECIFICATIONS1

Absolute Maximum Ratings2

Positive Supply Voltage (VCC) +6.0V Vref Output Short-Circuit Duration 30 sec

Supply Current (ICC)10 mAOperating Temperature Range (TOP) -40 to +85 ºC

I/O Pin Voltage Supply Voltage Junction Temperature (TJ) -40 to +125 ºC

Ec+, Ec- to Vref Voltage ± 1V Storage Temperature Range (TST) -40 to +125 ºC

Electrical Characteristics3, 4

Parameter Symbol Conditions Min Typ Max Units

Power Supply

Positive Supply Voltage VCC Referenced to GND +2.7 3.3 +5.5 V

Supply Current ICC No Signal

VCC=+3.3 V — 1.2 1.8 mA

VCC=+5 V — 1.3 2.0 mA

Voltage Controlled Amplifier (VCA)3

Max. I/O Signal Current iIN(VCA) + iOUT(VCA) VCC = +3.3 V — 1200 — µApeak

VCC = +5 V — 1600 — µApeak

VCA Gain Range EC+ or EC- used singly -50 — +50 dB

Gain at 0V Control G0 EC+ = EC- = VREF -1.5 0 +1.5 dB

Gain-Control Constant ΔEC /ΔGain (dB) -40 dB to +40 dB — 6.1 — mV/dB

Gain-Control Tempco ΔEC/ΔTCHIP Ref TCHIP=27ºC — +0.33 — %/ºC

4 Output Offset Voltage Change |Δ VOFF(OUT)|R2 = 4.7kΩ 0 dB gain — 315 mV +15 dB gain — 630 mV

Output Noise eN(OUT) 0 dB gain

22Hz~22kHz, R1=R2=4.7 kΩ — -95 -93 dBV

Total Harmonic THD 1kHz 0dB (VIN = -10dBV), EC+ = EC- = Vcc/2 — 0.03 0.15 %

Maximum VCA Control Voltage Ec-,Ec+ Ref: VREF -500 — 500 mV

VCA Control Port Input Impedance EC+, EC- 400 500 600 Ω

Source Impedance at VCA Input 5 Frequency > 320 kHz ——2.5 kΩ

1. All specifications are subject to change without notice. 2. If the device is subjected to stress above the Absolute Maximum Ratings, permanent damage may result. Sustained operation at or near the Absolute Maximum Ratings conditions is not recommended. In particular, like all semiconductor devices, device reliability declines as operating temperature increases.

3. Unless otherwise noted, TA=25ºC, VCC=+3.3V. 4. See Figure 13 for component references. 4. Reference is to output offset with approximately 40 dB VCA gain. 5. Refer to the text in item 4 of the 4316 and 2182 comparison on page 6.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 3 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

Electrical Characteristics (con’t)3

Parameter Symbol Conditions Min Typ Max Units

RMS Level Detector

RMS reference input current iin0 — 7.2 — µArms

Output Voltage at Reference iIN eO(0) iIN = iin0 = 7.2 µA RMS, Ref:VREF -13 0 +13 mV

Output Error at Input Extremes eO(RMS)error iIN = 200 nA RMS -3 ±1 3 dB

iIN = 150 µA RMS -3 ±1 3 dB

Output scale factor Δ eO(RMS)/Δiin (dB) 0.72 µA< iIN(RMS) < 72 µ A — 6.1 — mV/dB

Scale Factor Match to VCA -20 dB < VCA gain < +20 dB

0.72 µA< iIN(RMS) < 72 µ A 0.92 1 1.08

Rectifier Balance Iin =±Iin0 DCIN -1 0 +1 dB

Timing Current IT — 7.2 — µA

Filtering Time Constant τ TCHIP = 27 ºC 3611 X CT s

Output Tempco ΔeO(RMS)/ΔTCHIP Ref TCHIP = 27 ºC — +0.33 — %/ºC

Load Resistance RL -400mV < VOUTRMS< +230mV, Ref:VREF 400 —— Ω

Capacitive Load CL ——100 pF

Vcc/2 Reference Generator 3

VREF Output Current IOUT(VREF) -1.25 — +1.25 mA

VREF Load Capacitance CL(VREF) ——100 pF

VREF Output Voltage VREF No load on VREF Vcc/2-12 Vcc/2 Vcc/2+12 mV

Voltage Divider Resistors RA, RB — 48 — kΩ

Performance as a Compander (through an encode-decode cycle)

Dynamic Range (max signal level)-(no signal A-weighted output noise) — 115 — dB

Distortion THD f = 1 kHz — 0.15 — %

Frequency response -20 dB re: Max Signal 20 Hz ~ 20 kHz — ± 1.5 — dB

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 4 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC REPRESENTATIVE DATA6,7

THD+N [%] dB 1 60

40

20

0

0.1 -20

-40

-60

-80

0.01 Vrms -100 V 0.01 0.1 1 -0.6 -0.4 -0.2 0 0.2 0.4

8 Figure 2. VCA THD+N vs. Level at 0 dB gain . Figure 6. VCA Gain vs. Control Voltage (VEc+VEc).

THD+N [%] dBV -50

1 -60

-70

-80

-90 0.1 -100

-110

dB 0.02 Vrms -120 0.01 0.1 1 2 -100 -80 -60 -40 -20 0 20 40

Figure 3. VCA THD+N vs. Input Level at 15 dB gain 8. Figure 7. VCA Noise vs. Gain 8.

THD+N [%] mV 20 Sample 1 1 Sample 2 15 Sample 3

10

5

0.1 0

-5

0.02 Vrms -10 dB 0.003 0.01 0.1 0.3 -80 -60 -40 -20 0 20

Figure 4. VCA THD+N vs. Input Level at +15 dB gain 8. Figure 8. VCA Offset (at VCA Out in Fig. 13) vs. Gain.

THD+N [%] dBr 1 0.5 +20dB Input:0.5Vrms,1kHz 0dB -40dB 0

-0.5 0.1 -1

-1.5

Hz 0.01 Hz -2 20 200 2k 20k 100 1k 10k 100k

Figure 5. VCA THD+N vs. Frequency at 0dB gain 9. Figure 9. VCA Frequency Response for various Gains10.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 5 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

mV mA 1.5 200

1.4 100

0 1.3

-100 1.2 -200

1.1 -300

V -400 uARMS 1 0.002 0.02 0.2 2 20 200 2000 2.5 3 3.5 4 4.5 5 5.5

Figure 10. RMS Output vs. Input Current iIN. Figure 12. Supply Current vs. Supply Voltage.

mV 38.5 dB 200 27 dB

100 15.5 dB

4 dB 0 -7.5 dB -100 -19 dB

-30.5 dB -200

-300 Hz 20 200 2k 20k

Figure 11. RMS Frequency Response vs. Level 9.

R2

4k99 C2 Ec+ Input 47p VCA Ec- Input VCA Output Input C1 R1 U2 10u 5534 4k99 16 15 14 13 12 11 10 9 C8 100n VCA R3 RA 4k99 IN OUT EC- THAT EC+ C3 4316 100p Vcc RMS RB IN CT OUT

RMS 1234 5678 Input C4 R4 C7 10u 4k99 Vcc 4u7 C6 CT 22u 10u

RMS Output

Figure 13. The 4316 VCA and RMS detector test circuit.

6. Unless otherwise noted, TA=25ºC, VCC=+3.3V, f=1kHz 7. The test circuit is shown in Figure 13. 8. Measured with an Audio Precision System One with 22 kHz bandwidth. 9. Measured with an Audio Precision System One with 80 kHz bandwidth. 10. Measured with an Audio Precision System One with >500 kHz bandwidth.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 6 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC Theory of Operation

The THAT 4316 Analog Engine combines an about 114dBV by the input noise of the output op exponentially controlled VoltageControlled Amplifier amp U2 (a 5534 type) and its feedback resistor. At (VCA) with a trueRMSresponding level detector to 0dB gain, the noise floor is ~ 95 dBV as specified. produce a versatile dynamics processor. The part is In the vicinity of 0dB gain, the noise increases almost implemented in a lowvoltage BiCMOS process. It linearly with the gain. This applies to the whole posi delivers wide bandwidth and excellent audio per tive gain region. As gain drops below 20dB, the formance while consuming less than 4mW when run noise floor decreases more slowly than the gain and ning from 3.3V. tends to saturate below 40dB. For details of the theory of operation of the VCA While the 4316’s VCA circuitry behaves similarly and RMS Detector building blocks, we refer inter to that of the THAT 2180Series, there are several ested readers to THAT Corporation’s data sheets on important differences, as follows: the 2180Series VCAs and the 2252 RMS Level 1. At +3.3 V VCC, approximately 1.2 mA is avail Detector. able from the 4316 for the sum of VCA input and The VCA — in Brief output signal currents. This increases to ~1.6mA at +5V VCC. The VCA in THAT 4316 is based on THAT Corpo 2. A SYM control port (similar to that on the ration’s highly successful complementary logantilog 2180 VCA) exists, but is driven from an internally gain cell topology — The Blackmer™ VCA — as used trimmed current generator. This current flows into in THAT 2180Series IC VCAs. We modified the tra either the positive or negative control port, depend ditional design so that the VCA works in a power ing on the (internal) trimming direction, and must be efficient classAB mode under supply voltages as low supplied by whatever circuitry drives this port. as 2.7V using a BiCMOS process. The VCA symme try is trimmed during wafer probe for minimum dis 3. Each of the 4316 VCA control ports is con tortion. No external adjustment is allowed. nected to an internal 2:1 resistive voltage divider

(internally terminating at VREF). These scale the VCA Input signals are currents in the VCA IN pin (pin gain control constant from the internal ~3mV/dB to 15). This pin is a virtual ground with dc level match the RMS detector output characteristic. The approximately equal to VREF; in normal operation, an control port input impedance is 500Ω ±100Ω, so the input voltage is converted to a current via an appro driving circuitry must be capable of supplying the priately sized resistor. Referencing Figure 13, the required current into this load. VCA input voltage is converted to a current based on the value of R1. Because any current associated with 4. To maintain stability over the wide range of dc offsets present at the input pin (for instance, any possible VCA gains, the 4316 VCA’s internal CMOS dc offset from VREF in the preceding stages) will be amplifier requires that the source modulated by gain changes (thereby becoming audi impedance at the VCA input pin must be kept under ble as thumps), the input pin is normally accoupled 2.5kΩ above 320kHz. R3 and C3 in Figure 13 are pro (C1). vided to accomplish this. See the Applications sec tion for more ideas on how best to address this The VCA output signal (at pin 13) is also a cur issue. rent, in phase with respect to the input current. In normal applications, the output current is converted to a voltage via an external opamp (U2 in Figure 13), The RMS Detector — in Brief where the ratio of the conversion is determined by The 4316’s detector computes RMS level by recti the feedback resistor R2 connected between U2’s out fying the input current signals, converting the recti put and its inverting input. The signal path through fied current to a logarithmic voltage, and applying the VCA and op-amp (from "VCA Input" to "VCA that voltage to an internal logdomain filter. The out Output" in Figure 13) is inverting. Note that this is put signal is a dc voltage proportional to the decibel in contrast to other THAT Corporation ICs featur- level of the RMS value of the input signal current. ing a Blackmer™ VCA (e.g., THAT 4315 or 2180 Some ac component (at twice the input frequency, series), which have a non-inverting signal path. 2fin) remains superimposed on the dc output. The ac signal is attenuated by the internal logdomain filter, The gain of the VCA is controlled by the voltage which constitutes a singlepole rolloff with cutoff applied between EC+ (pin 11) and EC (pin 12). Note determined by an external capacitor. that any unused control port should be connected to VREF. The gain (in decibels) is proportional to (VEC+ – As in the VCA, the detector’s input signals are VEC) (see Figure 6). The constant of proportionality is currents to the RMS IN pin (pin 2). This pin is a vir typically 6.1mV/dB. Note the limits to the control tual ground with dc level equal to VREF, so a resistor voltages at EC+ and EC in the specifications section. is normally used to convert input voltages to the desired current. The level detector is capable of accu The VCA’s noise performance varies with gain in rately resolving signals well below 100nA (see a predictable way as shown in Figure 7. At large Figure 10). However, if the detector is to accurately attenuation (<50dB), the noise floor is limited to track such lowlevel signals, ac coupling is required.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 7 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

Note also that small, lowvoltage electrolytic capaci timing capacitor and the internal current source, IT. tors used for this purpose may create significant A resistor is not normally connected directly to the leakage if they support half the supply voltage, as is CT pin on the 4316. the case when the source is dcreferenced to ground. 3. The 0dB reference input current, or level To ensure good detector tracking to low levels, the match, is equal to approximately IT. However, as in input coupling capacitor's leakage (given the voltage the 2252, the level match will be affected by any addi across it in the application) should be insignificant tional currents drawn from the CT pin. compared to the lowest signal current to be resolved. The internal logdomain filter cutoff frequency is Reference Voltage usually placed well below the frequency range of interest. For an audioband detector, a typical value The 4316 input and output signals, as well as the would be 5Hz, or a 32ms time constant. The filter’s VCA control voltages, must be biased to a reference time constant is determined by an external timing voltage between VCC and ground. For optimal per formance, the reference must have low AC imped capacitor, CT, attached to the CT pin (pin 4), and an ance and noise. The 4316 contains an internal volt internal current source (IT) connected between GND and the CT pin. This current source is fixed at age divider (RA, RB) and buffer amplifier (OA1) for ~7.2μA with a tolerance of ~±20%. The resulting this function, as shown in Figure 14. time constant in seconds is approximately equal to Capacitor C7 is required from the FILT pin (pin 3611 times the value of CT (in farads). Note that, as a 7) to ground. It serves to minimize the influence of result of the mathematics of RMS detection, the the thermal noise of the resistive divider on the rest attack and release time constants are fixed in their of the circuity, as well as to filter out any supply relationship to each other. related noise. A 4.7μF capacitor results in a lowpass The RMS detector is capable of driving large pole of ~1.4Hz with the internal divider impedance of 24kΩ. This is sufficient for most applications. spikes of current into CT when the audio signal at the RMS detector's input increases suddenly. This cur Larger values provide additional filtering at the expense of longer settling times after power is rent is drawn from VCC (pin 9), fed into CT at pin 4, and returns to the power supply through the ground applied. end of CT. If not handled properly through layout and The FILT pin is internally connected to the input bypassing, these currents can mix with the audio, of unity gain buffer OA1. The output of OA1 is avail producing unpredictable and undesirable results. As able at the VREF pin (pin 6). The buffer also drives shown in Figure 13, a local bypassing capacitor, like the requisite internal nodes, including one end of C6, from the VCC pin to the ground end of the timing each of the controlport voltage dividers. Because capacitor CT, is strongly recommended to keep these most of OA1's output current is required to drive the currents out of the ground structure of the circuit. lowimpedance dividers at the VCA control ports, The dc output of the detector is scaled with the designers should take care not to draw too much same constant of proportionality as the VCA gain current externally from this pin. Limit the external control, ~6.1mV/dB. The detector’s 0dB reference current to within +/1.25mA. current (iin0, the RMS input current which causes the Pins 1, 3, 14 and 16, are not connected detector’s output to equal VREF), is approximately internally; we suggest they be connected to VREF in a equal to 7.2μA, the same value as IT. The RMS detec PCB layout so that they provide shielding to the VCA tor output stage is capable of directly driving either and RMS input pins. of the 500Ω VCA control ports to the limits of the detector output voltage. It is also capable of driving up to 100pF of capacitance. Frequency response of the detector (see Figure 11) extends across the audio band for a wide range of input signal levels. Note, however, that it to other internal does fall off at high frequencies at low signal levels. to other VREF circuitry connections VREF EC+ Differences between the 4316’s RMS level detec 6 11 tor and that of the THAT 2252 include the following: OA1 FILT NC 10 7 Vcc 1. The rectifier in the 4316 RMS detector is inter 4u7 nally balanced by design, and cannot be adjusted GND Vcc externally. The residual mismatch in the 4316 will 8 9 not significantly increase rippleinduced Rb Ra in dynamics processors over that caused by the sig nal ripple alone. 2. The time constant of the 4316’s RMS detector is determined by the combination of the external Figure 14. Internal voltage reference generator.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 8 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

Applications

The 4316 provides the basic building blocks for Essentially, its attack time varies, becoming shorter a wide variety of dynamics processing applications: for large level changes than that for small ones. This an exponentially controlled VCA and a logarithmic mimics the behavior of the human ear, resulting in RMS detector. These elements are especially versatile more "musical" response to audio signals than for because the audio performance of designs using average or peak responding detectors. these blocks is determined primarily by the control In companding applications, the "variable" attack loop (or "side chain") from the detector to the VCA time ensures that overloads are kept short in dura control port. Theory of the interconnection of expo tion, because the compressor responds quickly in nentially controlled VCAs and logresponding level cases where a lowlevel audio signal (causing high detectors is covered in THAT Corporation’s design VCA gain) is followed suddenly by a much higher note DN01A, "The Mathematics of Log-Based level signal (which reduces the VCA gain over time as Dynamic Processors". the detector acquires the new level). This minimizes Perhaps the most important application for the the duration of overloads for a given time constant 4316 is wireless audio companding systems. In this when compared to those using average responding data sheet, we cover this application in some detail. detectors. However, many other configurations are possible, Another advantage of RMS detection over average including all those covered within THAT's collection or peak detection is that it is relatively insensitive to of application notes for dynamics processors (though phase shifts in the signal being measured. This is shown with previous VCA/detector parts or Analog particularly helpful in companding applications Engines). For assistance with these and any other because low and highfrequency phase shifts com applications, please contact our applications engi mon in a bandlimited transmission channel cause neers at [email protected]. less difference between the compressor’s detector Noise Reduction (Compander) reading and that of the expander. This ensures better tracking between the expander and detector in real Configurations world applications. A primary use of the 4316 is for noise reduction The combination of insensitivity to phase shift systems, particularly within batteryoperated devices. and variable attack behavior causes companders In these applications, one 4316 is configured for use based on trueRMS detection to sound better than as a compressor (or encoder) to condition audio sig those based on either average or peakresponding nals before feeding them into a noisy channel such as detectors. a radiofrequency (RF) link. A second 4316, config ured as an expander (or decoder), is located at the Versatility in Compander Design receiver end of the noisy channel. The 4316 was designed to facilitate the design of The compressor reduces the dynamic range of a wide variety of companding noise reduction sys the audio signals so that it can fit better through a tems. The RMS detector responds accurately over a channel with limited dynamic range. The expander wide range of input current (Figure 10), while the works in an opposite, complementary fashion to VCA responds accurately to a wide range of gain restore the dynamic range of the original audio sig commands (Figure 6). The RMS output and the VCA nal (as present at the input of the compressor). control inputs are fully configurable, which makes it easy to configure the 4316 for companding ratios As shown in Figure 17, during lowlevel audio different from the traditional 2:1. (See the section passages, the compressor increases signal levels, "3:1 Compander" below for one such example.) bringing them up above the noise floor of the channel. At the receiving end, the expander reduces The 4316 supports a wide range of compander the signal back to its original level, in the process designs (and more), including simple 2:1 wide range attenuating the channel noise. (levelindependent) systems, leveldependent systems with thresholds and varying companding slopes, sys During highlevel audio passages, the compressor tems including noise gating and/or limiting, and sys decreases signal levels, reducing them to fit within tems with varying degrees of preemphasis and filter the headroom limits of the channel. The expander ing in both the signal and control paths. Generally, then increases the signal back to its original level. these variations can be accomplished by conditioning While the channel noise may be increased by this the detector side chain rather than the audio signal action, in a welldesigned compander, the noise floor itself. The audio signal passes through as little as two will be masked by the highlevel audio signal. VCAs and two opamps, and still supports multiple ratios, thresholds, and time constants. Advantages of TrueRMSLevel Detection In this datasheet, we show the part used in three The 4316's RMS detector has the property that it example designs. First is a simple 2:1 companding responds faster to large increases in signal level than noise reduction system. Next, we show a high to small ones. This is because it responds to the performance 2:1 compander with pre and square of the input signal, instead of the signal itself.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 9 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

deemphasis networks in the signal path and pre R2 GC = 20 log R , and (4) emphasis in the detector path. Finally, we present a 10 1 3:1 compander with pre and de emphasis in the RMS0C = 20 log (V0C). (5) signal path and preemphasis in the detector path. 10 INC and OUTC are the compressor’s voltage input VinC One other minor point is that companders and output VoutC in dBV, respectively. GC is the com designed using the 4316 are generally compatible pressor's signal path gain in dB; in Figure 15, GC is with those using other THAT Analog Engine and dis determined by the ratio of R2 to R1 as in Equation 4 crete VCA or RMS detector ICs. For example, a 4316 may be configured as a lowvoltage, lowpower and is 0dB. KC is the linear gain (in V/V) between the consumption compressor for the batterypowered compressor RMS detector output and VCA control in a wireless microphone or instrument port. (KC is 1 in Figure 15 since the detector output is belt pack, and paired with a highervoltage, higher connected directly to the VCA EC port.) Finally, powerconsumption 4301 or 4305 as the comple RMS0C is the dBV value of the detector reference volt mentary expander in the companion ACpowered age, V0C, which causes iin0 (the RMS input reference receiver. current), to flow in the compressor detector’s input.

Simple Compander Design V0c = iin0R3,(6)

Basic 2:1 Encoder where R3 is the detector’s input resistance (4.99kΩ) in Figure 15. Hence, V0C is 35.9mVrms and RMS0C is The encoder in a wireless companding system is 28.9dBV. For this example, the compressor output generally a feedback compressor located in the trans OUTC is always half of INC plus a fixed offset of mitter, operating from a battery supply. Figure 15 (GC+RMS0C)/2, yielding a compression ratio of 2:1. shows a basic 2:1 encoder. The blocks within the The compression ratio (CR), is generally defined in bold outline are the three functional circuits in the Equation 7: 4316, i.e., a VCA, an RMS detector and a reference generator. Following the mathematical simplifica CR = KC + 1.(7) tions taught in DN01A, the steadystate transfer func tion of this circuit is : At the 4316 VCA input, R4 (4.99kΩ) and C5 1 (100pF) comprise the compensation network OUTC = (INC + GC + KC $ RMS0C) (1) (KC+1) required to keep the VCA’s internal amplifier stable where, for all gains. (C2 performs a similar function for U2, neutralizing the VCA's output capacitance plus any OUTC = 20 log10(VoutC), (2) stray layout capacitance appearing at the inverting input of U2.) INC = 20 log10(VinC), (3) The RMS detector output is tied directly to the

VCA’s negative control port, EC. (This is what makes

U1 4316 VCC 9 7

VCC FILT C6 C7 4u7 100n GND VREF R2 8 6 4k99 11 C2

C1 R1 EC+ 47p 15 IN 13 Output VCA OUT Input 1u 4k99 R4 4k99 EC- U2 12 Op-Amp C5 100p 5 C3 R3 OUT 2 IN RMS 1u 4k99 CT VCC 4 C4 C8 10u 22u

Figure 15. Basic 2:1 Compressor using 4316.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 10 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

R11 KC=1, and sets CR at 2:1.) Because the RMS output GE = 20 log10 R10 , and (11) connects to the negativesense control port, EC, this circuit acts as a compressor. C4 (10μF) sets the RMS RMS0E = 20 log10(V0E ). (12) detector time constant to approximately 36msec. As in Equation 1, INE and OUTE are the dBV values of

As described in the Theory of Operation section the expander’s voltage input VinE and output VoutE,

“The RMS Detector In Brief”, the RMS detector is respectively. GE is the expander signal path gain in capable of driving large spikes of current into C4 in dB, which is 0 dB here as well. KE is the gain in lin Figure 15. To prevent these currents from upsetting ear terms (V/V) between the expander detector out circuit grounds, VCC should be bypassed to a point put and VCA control port; it is unity here. RMS0E is very near the grounded end of C4 with a capacitor the dBV value of the expander detector’s reference equal to or greater than the value of C4. 22μF C8 in voltage V0E, which is calculated using Equation 6 with

Figure 15 serves this purpose. The grounded ends of the input resistor R12 (4.99kΩ). As in the encoder, it these two capacitors should be connected together is also 28.9dBV. before being tied to the rest of the ground system. This will ensure that the current spikes flow within Because, in Figure 16, the detector's output is connected directly to the VCA positive control input, the local loop consisting of the two capacitors, and the expander’s output OUTE will always double its stay out of the ground system. This requirement input INE, except for a fixed offset (GE-RMS0E). The applies to the decoder and other applications of the expansion ratio is thus 2:1, and given generally by THAT4316 as well. Equation 13: Basic 2:1 Decoder ER = KE + 1. (13) Figure 16 shows the THAT4316 configured as a 2:1 decoder. This is a feedforward expander Since the 4316 VCA is not stable unless it sees a intended to complement the encoder of Figure 15. It source impedance of 2.5kΩ or less at high frequen is optimized for lowvoltage operation, as might be cies, another compensation network (R13 & C14) is the case for a decoder in an inear monitoring system provided to maintain stability. 47pF C11 maintains which runs from a battery power. The expander stability in U2, just as C2 does Figure 15. steadystate transfer function is: In this instance, the RMS detector output is con

nected to EC+; this reverses the polarity of the control OUTE =(KE + 1)INE + GE KE $ RMS0E, (8) signal relative to the encoder, and makes this circuit where an expander rather than a compressor.

OUTE = 20 log10(VoutE), (9) System Performance The encoder and decoder in Figure 15 and 16 INE = 20 log (VinE), (10) 10 form a compander system. To a first approximation,

U1 4316 VCC 9 7 C15 VCC FILT 4u7 C16 100n R11 GND VREF 8 6 4k99 11 C11

Input C10 R10 EC+ 47p 15 IN 13 Output VCA OUT 1u 4k99 EC- R13 U2 4k99 12 Op-Amp C14 100p 5 C12 R12 OUT 2 IN RMS CT 1u 4k99 VCC

4 C17 C13 22u 10u

Figure 16. Basic 2:1 Expander using 4316.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 11 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

the output of Figure 15 will be connected to the input Encoder Encoder Encoder iin_RMS Decoder Decoder of the Figure 16 expander. (The two are usually con In VCA Out/ VCA Out Gain Decoder Gain nected by an RF link, which should be relatively In transparent within the audio band, except for noise.) (dBV) (In dB) (dBV) (A) (In dB) (dBV) 0 -14 -14 38.00 14 0 Static Performance -10 -9 -19 21.40 9 -10 Assuming that both VCA and RMS detectors -20 -4 -24 12.00 4 -20 -30 1 -29 6.75 -1 -30 match well, as the detectors have identical input -40 6 -34 3.80 -6 -40 resistor values, the reference voltage terms, i.e., -50 11 -39 2.14 -11 -50 KCRMS0C and KERMS0E, in Equations 1 and 8 can -60 16 -44 1.20 -16 -60 cel each other. So the overall compander system -70 21 -49 0.676 -21 -70 transfer function becomes: -80 26 -54 0.380 -26 -80 -90 31 -59 0.214 -31 -90 -100 36 -64 0.120 -36 -100 OUTE = INC + GC + GE (14) With zero dB gain in both the encoder and Table 1. 2:1 compander transfer characteristics. decoder, the compressor input is fully recovered at Encoder Encoder Decoder Decoder the expander output. The behavior of this compand Input Output Input Output ing system is shown in Table 1. The columns labeled Headroom Limit 0 0 Encoder Out and Decoder Out use the previous -10 -10 equations to generate signal and gain values. The -14 -20 -19 -20 Encoder VCA Gain is the difference between Encoder -24 -30 -29 -30 Out and Encoder In; The Decoder VCA Gain is calcu -34 -40 -39 -40 lated similarly using Decoder Out and Decoder In. -44 -50 -49 -50 These two gains have the same absolute value but -54 -60 -59 -60 opposite polarity. The values in the column labeled -64 -70 -70 iin_RMS, which is the detector’s RMS input current, are derived using the equation: -80 Noise Floor -80 -90 -90 EncoderOut -100 -100 10 20 (dBV) , (15) (dBV) iin_RMS = Rin_RMS Figure 17. 2:1 compander butterfly diagram. where Rin_RMS is the detector input resistance (4.99kΩ in Figure 15 and 16). that the expander and compressor detectors will deliver consistently similar level readings despite the Figure 17 presents this data in the form of a bandlimiting in the transmission channel. "butterfly diagram" for the 2:1 compander. Signal lev els are shown from the encoder input, through its Nonetheless, to ensure good dynamic tracking, output, to the decoder output. The encoder com the time constants of both the compressor and presses its input dynamic range by a factor of 2, its expander RMS detectors must be the same. The time CR, while the decoder reverses the process and constants are controlled by the internal timing cur restores the signal back to its original at the decoder rent IT, and the external timing capacitor (C4 and C13 output. Hence, only half of the signal dynamic range in the two schematics). The internal timing current is is required for the transmission channel between the controlled to within ~±20% of its nominal value. encoder and decoder. This tolerance adds to that of the timing capacitors. For the best possible tracking, THAT recommends The encoder VCA gain varies from 14dB to using tighttolerance capacitors. +36dB, which covers half of the input dynamic range as well, while the decoder VCA's gain varies from Another consideration is distortion. At low fre 36dB to +14dB. Both these ranges easily fit within quencies, the compressor RMS detector output con the capabilities of the 4316 VCA. The RMS input cur tains significant ripple at twice of the input frequency rent range is also easily accommodated. (2fin). The amount of this ripple increases as fre Dynamic Performance quency decreases. The ripple adds a timevarying component to the steadystate VCA gain. The ripple While the VCA gains in both the compressor and amplitude modulates the signal in the VCA, resulting expander change with signal levels, of course the in third harmonic distortion (3fin) in the output of the changes are not instantaneous. As noted earlier, the compressor. This amounts to a "squashing" of the RMS detector used in THAT's Analog Engines, tops and bottoms of the input sine wave, since the including the 4316, behaves favorably when faced detector output is the highest during those portions with changing signal levels. Its quick response to of the input signal. sudden overloads ensures that the compressor reacts appropriately to minimize transient overloads The expander RMS detector output generally in the compressor and the subsequent channel. And, contains the same (2fin) ripple in the same phase its insensitivity to phase changes in the signal means relationship to the fundamental as that of the com pressor. And, if the distortion components (at 3fin)

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 12 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

are not phaseshifted with respect to the fundamental dependent due to the associated preemphasis net

(fin), then the ripple in the expander RMS detector works. GC is expressed in the equation below, output will reverse the dynamic effect of that in the R sC10(R6+R7)+1 compressor, and the distortion in the compressor 2 GC = 20 log10 R1 sC10R6+1 . (16) output will be reduced or even canceled in the expander output. But, to make this work, the low The 2nd term inside the log is introduced by the frequency phase shift of the channel must be very signalpath preemphasis network. Its bode plot is small indeed. System designers should bear this in shown in Figure 19. The gain (in dB) shown is the mind if low distortion is important at low ratio of the signal at the output of U3 to its non frequencies. inverting input. The zero frequency f1 and pole fre quency f2 are calculated using the equations: HighPerformance 2:1 Compander 1 f = , (17) 1 2>(R6+R7)C10 While the compander in Figure 15 and Figure 16 1 performs adequately in some applications, a few f . (18) 2 = 2>R6C minor changes can result in substantially improved 10 overall performance. The following compander At frequencies well below f1 (391Hz), the gain is implementation adds pre and de emphasis to the 0dB due to the effect of C10. As frequency increases signal path and preemphasis to the detector path. beyond f1, the gain starts to increase at 6dB/octave, Preemphasis in the encoder signal path helps over then flattens out at f2 (2.34kHz). come the “acqua noise” characteristic of the FM RF So, the lowfrequency (<>f2) gain, GC_HF, is nel. The preemphasis in the detector paths alleviates approximately: highfrequency overload due to the signal path R R +R preemphasis. 2 6 7 GC_HF = 20 log10 R1 R6 { 26dB. (20) HighPerformance 2:1 Encoder The extra 16dB gain at highfrequency is a result of The encoder shown in Figure 18 implements pre the input preemphasis network. emphasis in the signal path by means of a non In the circuit of Figure 18, we implemented the inverting stage with opamp U3, R6, R7, and C10. signalpath preemphasis with an additional opamp Equation 1 from the basic encoder discussion is still in order to minimize noise, rather than with a series valid, but both the signal path gain GC and the detec RC network in parallel with the VCA input resistor tor reference level RMS0C become frequency

U1A 4316 VCC 9 7 C6 VCC FILT 4u7 C7 100n GND VREF R2 8 6

11 15k8 U3 C2 Input Op-Amp C1 R1 EC+ 15 47p IN 13 Output VCA OUT 4u7 4k99 R7 R4 EC- U2 4k99 Op-Amp 4k99 12 R6 C5 R5 C5 1k 100p 47n 2k21 C10 5 R3 OUT 68n C3 2 IN RMS CT 4u7 3k4 VCC 4 C4 C8 10u 22u

Figure 18. Highperformance 2:1 Encoder circuit.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 13 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

The 2nd term inside the logarithm is the RMS detector’s input preemphasis network impedance. (dB) The signal path pre-emphasis The RMS input current is proportional to the recip The detector path pre-emphasis rocal of the impedance. The bode plot for this cur rent (the detector path preemphasis) is also drawn

in Figure 19. Its corner frequencies, f3 and f4, are 16dB expressed in Equation 22 and 23, respectively. 6dB/Oct 8dB 1 f (22) 3 = 2>(R3+R5)C5 1 f = (23) 0 4 2>R5C5 f(Hz) 391604 1.53k 2.34k For the case in Figure 18, at frequencies substan

tially under 604 Hz (f3), the detector’s input net

Figure 19. Bode plot of the signalpath and detector work’s impedance is R3. Hence, RMS0C in that region path preemphasis of the Fig. 18 Encoder. is 32.2dBV. At frequencies substantially above

1.53kHz (f4), the impedance is approximately the R1. This is because, for gains of unity and above, the parallel combination of R3 and R5, i.e., 1.34 kΩ. So 4316 VCA’s dominant noise source is its input noise RMS0C reduces to 40.3dBV, making the detector voltage, so reducing the currenttovoltage conversion more sensitive at high frequencies. Note that the geo impedance at the VCA input results in a proportional metric center frequencies for the signalpath and increase in the output noise. This is undesirable. RMS detector preemphasis networks are about the However, if the preemphasis network is placed in a lownoise buffer stage in front of the VCA, there will same, which is 0.96kHz, i.e., f1f2 = f3f4 . The be less noise at the output of the compressor. detector preemphasis gain is 8dB, about half that of the signal path. The 16dB highfrequency gain added by the signalpath preemphasis increases the compressor's Increasing the detector's sensitivity at high fre output level at high frequencies. This can cause pre quencies through preemphasis causes it to weight mature overload in the transmission channel. This high frequencies more heavily, hence, reducing gain more strongly to high frequencies than to low ones. undesirable effect is offset by the preemphasis in the The right mix of signalpath and detector pre detection path shown in Figure 18. emphasis avoids highfrequency overload which With the addition of the preemphasis, the RMS would otherwise occur. detector’s reference voltage also becomes frequency HighPerformance 2:1 Decoder dependent as in Equation 21: The decoder shown in Figure 20 matches the 1+sC5R5 encoder of Figure 18. It includes a signalpath RMS0C = 20 log10 iin0 $ R3 1+sC5(R3+R5) . (21)

U1A 4316 VCC 9 7 C16 C12 R13 VCC FILT 4u7 C18 68n 1k 100n GND VREF R12 8 6

11 4k99 C11

Input C10 R10 EC+ 15 47p IN 13 Output VCA OUT 1u 15k8 R15 EC- U2 2k49 Op-Amp 12 C19 R11 C15 220p 47n 2k21 5 R14 OUT C13 2 IN RMS CT 4u7 3k4 VCC 4 C14 C17 10u 22u

Figure 20. Highperformance 2:1 Decoder circuit.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 14 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

The same values of R1 and R7 in Figure 18 makes it possible to reuse the signal preemphasis network (dB) Decoder signal-path de-emphasis as part of the deemphasis one at the VCA output in Encoder signal-path pre-emphasis Figure 20. The resulting in deemphasis network ensures that GE is complementary to the encoder GC 16dB 16dB over frequency. Because an identical preemphasis network is employed in the decoder detector path,

the expander detector reference RMS0E is also fre

quency dependent and cancels out the RMS0C in the compander system. 0 Table 2 and Figure 22 show the lowfrequency 391 2.34k f(Hz) transfer characteristics of the highperformance 2:1 companding system. The encoder VCA gain varies between 21dB and +29dB for an input dynamic Figure 21. Bode plots of the Fig. 20 Decoder range of 100dB. At the same time, the RMS detector deemphasis gain and the Fig. 18 Encoder preemphasis gain. current levels iin_RMS varies from 0.26A to 82A and Rin_RMS=R3=3.4kΩ. deemphasis network that has inverse frequency response to that of the encoder's signalpath pre The highfrequency transfer characteristics are emphasis network as in Figure 21. Equation 8 in the shown in Table 3 and Figure 23. Because of the previous section is still applicable. But the signal detector preemphasis, the high frequency signal level at the compressor's output is only 4dB higher path gain GE becomes frequency dependent and is shown in Equation 24. than that at the lower frequencies, even with 16dB signal preemphasis. The VCA gain range changes to

1 R12(sC12R13+1) between 33dB and +17dB, and Rin_RMS=1.34kΩ, and GE = 20 log (24) 10 R10 sC12(R12+R13)+1 iin_RMS shifts up to between 1A and 319.2A. All are well within the reach of the 4316.

Encoder Encoder Encoder iin_RMS Decoder Decoder Encoder Encoder Encoder iin_RMS Decoder Decoder In VCA Out/ VCA Out In VCA Out/ VCA Out Gain Decoder Gain Gain Decoder Gain In In (dBV) (In dB) (dBV) (A) (In dB) (dBV) (dBV) (In dB) (dBV) (A) (In dB) (dBV) 0 -21 -11 81.83 21 0 0 -33 -7 319.2 33 0 -10 -16 -16 46.02 16 -10 -10 -28 -12 179.5 28 -10 -20 -11 -21 25.88 11 -20 -20 -23 -17 100.9 23 -20 -30 -6 -26 14.55 6 -30 -30 -18 -22 56.76 18 -30 -40 -1 -31 8.18 1 -40 -40 -13 -27 31.92 13 -40 -50 4 -36 4.600 -4 -50 -50 -8 -32 17.95 8 -50 -60 9 -41 2.590 -9 -60 -60 -3 -37 10.09 3 -60 -70 14 -46 1.460 -14 -70 -70 2 -42 5.680 -2 -70 -80 19 -51 0.820 -19 -80 -80 7 -47 3.190 -7 -80 -90 24 -56 0.460 -24 -90 -90 12 -52 1.790 -12 -90 -100 29 -61 0.260 -29 -100 -100 17 -57 1.010 -17 -100

Table 2. Highperformance 2:1 compander transfer Table 3. Highperformance 2:1 compander transfer characteristics (f << 391Hz). characteristics (f >> 2.34kHz).

Encoder Encoder Decoder Decoder Encoder Encoder Decoder Decoder Input Output Input Output Input Output Input Output

Headroom Limit Headroom Limit 0 0 0 0 -7 -10 -11 -10 -10 -12 -10 -16 -17 -20 -21 -20 -20 -22 -20 -26 -27 -30 -31 -30 -30 -32 -30 -36 -37 -40 -41 -40 -40 -42 -40 -46 -47 -50 -51 -50 -50 -52 -50 -56 -57 -60 -61 -60 -60 -60 -70 -70 -70 -70 -80 Noise Floor -80 -80 Noise Floor -80 -90 -90 -90 -90 -100 -100 -100 -100 (dBV) (dBV) (dBV) (dBV)

Figure 22. Butterfly diagram of the Highperformance Figure 23. Butterfly diagram of the Highperformance 2:1 compander (f << 391Hz). 2:1 compander (f >> 1.53kHz).

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 15 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

In this design, we set the maximum encoder out channel. And, the preemphasis in the detector mini put level to 7dBV (or 0.63Vpeak). This level is well mizes transient overload that might result from the within the voltage capabilities of most 3.3 or 5 V signalpath preemphasis. opamps used for U2 in Figure 18 and 20. Addition ally, if the designer wishes to limit the voltage swing 3:1 Compander at the VCA's output to prevent overmodulation in the transmission channel, a pair of backtoback silicon The flexible configuration of THAT Corporation’s Analog Engine® ICs allows compression and expan diodes across R12 will accomplish this quite easily, limiting peak swings to about ±0.7V. sion ratios of other than 2:1. This feature can be par ticularly advantageous in situations where RF Compared to the basic 2:1 compander responses bandwidth and power are at a premium. The circuits shown in Figure 17, the signal levels at the encoder in Figure 24 and 25 demonstrate a 3:1 companding output are approximately 3 to 7 dB higher over the system with pre and deemphasis in the signal path, audio frequency range. This is well predicted by and preemphasis in the detector path. Equation 1. For instance, at low frequencies, the 10dB higher gain and over 3dB lower RMS reference The topology of this system is similar to the pre voltage level of the highperformance encoder result vious examples. The transfer functions for a compan in the overall ~3dB higher level at the encoder out der system in Equations 1, 8, and 14 still apply, but put. The selection of the gain and RMS reference because of amplifier U3 (with a gain of 2) between the level is application dependent. It depends on the RMS detector output and the VCA control ports (in dynamic range of source signals, transmission chan both the encoder and decoder), the gain factor nel characteristic and supply level, etc. KC=KE=2, and thus CR=ER=3:1. In the highperformance compander, any noise in We chose an inverting topology for the gain stage the channel is attenuated at high frequencies by the U3 is to minimize the loading to the onchip VREF ~16dB highfrequency attenuation of the decoder generator. Because this inverts the polarity of the signalpath deemphasis network. This makes a dra control voltage, we swapped the VCA control ports matic difference in the perception of the channel (using EC+ for the encoder and EC for the decoder). noise, and improves masking of the channel noise by For the 3:1 compressor, preemphasis in the the signal. detector is even more important than for a 2:1 sys As a result, we observe about 5.3dB (Aweighted) tem. This is because the higher compression ratio improvement in the noise floor of the high perform leads to more aggressive VCA gain variations as input ance 2:1 compander compared to the basic 2:1 com signal levels change. Making the detector more sensi pander. In fact, an even better improvement is tive at high frequencies helps mitigate potential tran expected in reality as the channel noise is not sient overload at the compressor output. when the included in the simulation. But, perhaps more input goes from very low to very high quickly. importantly, the signal path pre and deemphasis Besides that, the detector preemphasis also results combination helps lowfrequency signals better mask in a flatter swept sinewave response from input to the acqua noise of a typical FM transmission output of the compressor.

U1 4316 VCC 97 C6 VCC FILT 4u7 C7 100n GND VREF R2 8 6 205k 11 C2 U2B Input Op-Amp C1 R1 EC+ 15p 15 IN 13 Output VCA OUT 2u2 10k2 R4 EC- U2A R7 3k24 12 Op-Amp R8 C11 C5 10k2 220p 33n 2k87 R5 5 1k13 C3 R3 2 OUT IN RMS 3u3 6k19 CT C10 U3 Op-Amp 47n R9 VCC 2k C12 4 C4 C8 1n 10u 22u R10

4k02

Figure 24. 3:1 Encoder circuit.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 16 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

U1 VCC 4316

9 7 C16 C12 R13 VCC FILT 4u7 C18 47n 1k13 100n R12 GND VREF 8 6 10k2 11 C11

Input C10 R10 EC+ 47p 15 IN 13 Output VCA OUT 100n 205k R15 EC- U2 2k49 Op-Amp C19 R16 C15 12 33n 2k87 220p U3 Op-Amp C13 R14 5 2 OUT IN RMS 3u3 6k19 CT VCC C20 R19 4 2k C14 C17 1n 22u 10u R18

4k02

Figure 25. 3:1 Decoder circuit.

The transfer functions for the frequency The RMS detectors input current varies over a dependent GC and GE in Equations 16 and 20 still narrower range, which follows the channel dynamic apply. In Figure 24, the signal path preemphasis range. At frequencies well below 532 Hz, starts at f1=299Hz and flattens at f2=3kHz. The Rin_RMS=6.19kΩ and iin_RMS varies from 1.19A to encoder lowfrequency signal gain is 26dB. The pre 55.1A; for frequencies above 1.68kHz, Rin_RMS emphasis boosts GC by 20dB. Hence, at f >> f2, the decreases to 1.96kΩ, hence iin_RMS shifts up accord signal gain GC increases to 46dB. ingly to between 3.75A and 174.1A. The detector path preemphasis yields a flat overall frequency Equation 21 for the frequencydependent detec response at the encoder output, so the encoder out tor reference voltage also applies here. The RMS puts at low and high frequencies are the same. detector preemphasis starts at 532Hz and ends at 1.68kHz. And the high frequency boost is about 10 Finally, we set the decoder's maximum output dB, half that of the signal path preemphasis. The level to 9dB (0.5Vpeak) to make it easy to use a diode center frequencies in the signal and detector paths clipper at the VCA output for overmodulation are also set to be the same, ~0.95kHz. The identical protection. detector preemphasis network is employed in the complimentary 3:1 decoder circuit as in Figure 25. Other Dynamics Processor Table 4 and 5 list the transfer characteristics of Configurations the 3:1 compander at low and high frequencies, The same distinguishing features that make the respectively. The amount of preemphasis chosen for 4316 so applicable to companding noise reduction the RMS detector path makes the encoder output lev systems also qualify it for dynamics processors of els stay the same over frequency. So the over many other types. Because of its lowvoltage supply frequency compander level transfer is represented in rails and micro power demand, the 4316 is espe one single butterfly plot, Figure 26. cially applicable to dynamic processors that run As in the previous two compander examples, for from battery power. The 4316 is versatile enough to a 100dB input dynamic range, the channel dynamic be used as the heart of a compressor, expander, range requirement here is also scaled by CR, but noise gate, AGC, deesser, frequencysensitive com here is equal to 33dB: onethird of the input signal pressor, and many other dynamics processors. It is dynamic range. Since the encoder compresses the beyond the scope of this data sheet to provide spe input signal more than that in the 2:1 systems, the cific advice about these many functional classes. But, VCA gain changes over a wider range, i.e., 19dB to we refer interested readers to THAT’s many Design +47dB at low frequencies and 35dB to +32dB at Notes covering compressors, limiters, and other high frequencies, which is twothirds of the input dynamic processors. With minor modifications, most dynamic range. of the teachings of those notes apply directly to the 4316.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 17 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

Encoder Encoder Encoder iin_RMS Decoder Decoder Encoder Encoder Encoder iin_RMS Decoder Decoder In VCA Out/ VCA Out In VCA Out/ VCA Out Gain Decoder Gain Gain Decoder Gain In In (dBV) (In dB) (dBV) (A) (In dB) (dBV) (dBV) (In dB) (dBV) (A) (In dB) (dBV) 0 -19 -9 55.08 19 0 0 -35 -9 174.07 35 0 -10 -13 -13 37.53 13 -10 -10 -28 -13 118.59 28 -10 -20 -6 -16 25.57 6 -20 -20 -22 -16 80.80 22 -20 -30 1 -19 17.42 -1 -30 -30 -15 -19 55.05 15 -30 -40 7 -23 11.870 -7 -40 -40 -8 -23 37.50 8 -40 -50 14 -26 8.080 -14 -50 -50 -2 -26 25.55 2 -50 -60 21 -29 5.510 -21 -60 -60 5 -29 17.410 -5 -60 -70 27 -33 3.750 -27 -70 -70 12 -33 11.860 -12 -70 -80 34 -36 2.560 -34 -80 -80 18 -36 8.080 -18 -80 -90 41 -39 1.740 -41 -90 -90 25 -39 5.500 -25 -90 -100 47 -43 1.190 -47 -100 -100 32 -43 3.750 -32 -100 Table 4. 3:1 compander transfer characteristics at Table 5. 3:1 compander transfer characteristics at f << 299Hz. f >> 3kHz.

Encoder Encoder Decoder Decoder Please check with THAT’s applications engineer Input Output Input Output ing department to see if your application has been Headroom Limit covered yet, and for personalized assistance with 0 0 specific designs. -10 -9 -10 -16 -20 -23 -20 Where to go from here -30 -29 -30 -36 The design of compander systems and dynamics -40 -43 -40 processors is a very intricate art: witness the prolif -50 -50 eration of companding systems, and the many differ -60 -60 ent dynamics processors available in the market -70 -70 today. In the applications section of this data sheet, -80 Noise Floor -80 we offer a few examples of companders as a starting -90 -90 point only. THAT Corporation’s applications engi neering department is ready to assist customers with -100 -100 (dBV) (dBV) suggestions for tailoring and extending these basic circuits to meet specific needs. Figure 26. Butterfly diagram of the 3:1 compander.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 18 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

Package Characteristics

Parameter Symbol Conditions Typ Units

Surface Mount Package

Type See below for pinout and dimensions 16 pin QSOP

Thermal Resistance θJA QSOP package soldered to board 150 ºC/W

Soldering Reflow Profile JEDEC JESD22-A113-D (260 ºC)

Package Information The THAT 4316 pins are listed in Table 6. The part is available in a 16pin QSOP package as shown 1 in Figure 27. D A

Pin Name Pin Number No Internal Connection 1 E RMS IN 2 B G No Internal Connection 3 C CT 4 J H RMS OUT 5

VREF 6 0-8º FILTER 7 I GND 8

VCC 9 ITEM MILLIMETERS INCHES No Internal Connection 10 A 4.80 - 4.98 0.189 - 0.196 B 3.81 - 3.99 0.150 - 0.157 EC+ 11 C 5.79 - 6.20 0.228 - 0.244 EC- 12 D 0.20 - 0.30 0.008 - 0.012 E 0.635 BSC 0.025 BSC VCA OUT 13 G 1.35 - 1.75 0.0532 - 0.0688 No Internal Connection 14 H 0.10 - 0.25 0.004 - 0.010 I 0.40 - 1.27 0.016 - 0.050 VCA IN 15 J 0.19 - 0.25 0.0075 - 0.0098 No Internal Connection 16

Table 6. THAT 4316 pin assignments. Figure 27. Surface mount package QSOP16.

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 19 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

Revision History

Revision Date Changes Page

00 10/12/12 Initial release —

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation Document 600177 Rev 00 Page 20 of 20 THAT4316 PreTrimmed, Very LowVoltage LowPower Analog Engine® IC

Notes

THAT Corporation; 45 Sumner Street; Milford, MA 017571656; USA Tel: +1 508 478 9200; Fax: +1 508 478 0990; Email: [email protected]; Web: www.thatcorp.com Copyright © 2012, THAT Corporation