THAT Corporation APPLICATION NOTE 102

Similar documents
Input Limiter for ADCs

Improving Loudspeaker Signal Handling Capability

Basic Compressor/Limiter Design with the THAT4305

OBSOLETE. Low Cost Quad Voltage Controlled Amplifier SSM2164 REV. 0

CEM3378/3379 Voltage Controlled Signal Processors

Digital Gain Control with Sonic Imagery Labs 312A Discrete VCA Amplifier

Audio level control with resistive optocouplers.

Programmable analog compandor

LM13600 Dual Operational Transconductance Amplifiers with Linearizing Diodes and Buffers

Chapter 9: Operational Amplifiers

CEM3389 Voltage Controlled Signal Processor

Voltage Monitoring with the isppac30

AD8232 EVALUATION BOARD DOCUMENTATION

INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Description. Vbe MULTI- PLIER

Chapter 9: Operational Amplifiers

LM13700 Dual Operational Transconductance Amplifiers with Linearizing Diodes and Buffers

Digital Potentiometers Selection Guides Don t Tell the Whole Story

Department Analog Secrets Your Subject Mother Never Told You

LBI-30398N. MAINTENANCE MANUAL MHz PHASE LOCK LOOP EXCITER 19D423249G1 & G2 DESCRIPTION TABLE OF CONTENTS. Page. DESCRIPTION...

Quad Current Controlled Amplifier SSM2024

UTC572M LINEAR INTEGRATED CIRCUIT YOUWANG ELECTRONICS CO.LTD PROGRAMMABLE ANALOG COMPANDOR DESCRIPTION ORDERING INFORMATION FEATURES APPLICATIOS

ERICSSONZ LBI-30398P. MAINTENANCE MANUAL MHz PHASE LOCKED LOOP EXCITER 19D423249G1 & G2 DESCRIPTION TABLE OF CONTENTS

1.2 V Ultralow Power High PSRR Voltage Reference ADR280

Analog Synthesizer: Functional Description

Analog CMOS Interface Circuits for UMSI Chip of Environmental Monitoring Microsystem

Low Cost Dual Balanced Line Receiver ICs

THAT 2162 FEATURES APPLICATIONS. Description. Dual Pre-trimmed Blackmer Voltage Controlled Amplifier

High Common-Mode Voltage Difference Amplifier AD629

PowerAmp Design. PowerAmp Design PAD117A RAIL TO RAIL OPERATIONAL AMPLIFIER

VERSATILE AUDIO AGC CIRCUIT Dave Kenward G8AJN

Constant Power Sum Pan Potentiometer with Sonic Imagery Labs 312A Discrete VCA Amplifier

Infrared Communications Lab

XR-2206 Monolithic Function Generator

Practical RTD Interface Solutions

OBSOLETE. High Performance, BiFET Operational Amplifiers AD542/AD544/AD547 REV. B

AN174 Applications for compandors SA570/571 SA571

INTEGRATED CIRCUITS. SA571 Compandor. Product specification 1997 Aug 14 IC17 Data Handbook

ELECTRONOTES APPLICATION NOTE NO Hanshaw Road Ithaca, NY Sept 13, 2013

Description. minimal support circuitry. Fabricated in a controlled amplifiers (VCAs) are high-performance

LM13700 Dual Operational Transconductance Amplifiers with Linearizing Diodes and Buffers


Operational Amplifiers

PowerAmp Design. PowerAmp Design PAD20 COMPACT HIGH VOLTAGE OP AMP

Audio Applications of Linear Integrated Circuits

A 40 MHz Programmable Video Op Amp

ELEC207 LINEAR INTEGRATED CIRCUITS

PowerAmp Design. PowerAmp Design PAD112 HIGH VOLTAGE OPERATIONAL AMPLIFIER

INTEGRATED CIRCUITS. AN145 NE5517/A transconductance amplifier applications Dec

LOGARITHMIC PROCESSING APPLIED TO NETWORK POWER MONITORING

Dual Audio Analog Switches SSM2402/SSM2412

EUA6210 Output Capacitor-less 67mW Stereo Headphone Amplifier

3 Circuit Theory. 3.2 Balanced Gain Stage (BGS) Input to the amplifier is balanced. The shield is isolated

ZXCT1107/1109/1110 LOW POWER HIGH-SIDE CURRENT MONITORS

Minimizing Distortion in Operational Transconductance Amplifiers

Basic Information of Operational Amplifiers

KH103 Fast Settling, High Current Wideband Op Amp

Designing High Power Parallel Arrays with PRMs

RESIDUE AMPLIFIER PIPELINE ADC

LM6361/LM6364/LM6365 Fast VIP Op Amps Offer High Speed at Low Power Consumption

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Linear Integrated Circuits Applications

Specifying A D and D A Converters

IC Preamplifier Challenges Choppers on Drift

Microprocessor-Compatible 12-Bit D/A Converter AD667*

Features MIC2193BM. Si9803 ( 2) 6.3V ( 2) VDD OUTP COMP OUTN. Si9804 ( 2) Adjustable Output Synchronous Buck Converter

MAS.836 HOW TO BIAS AN OP-AMP

LINEAR IC APPLICATIONS

CMOS 12-Bit Serial Input Multiplying DIGITAL-TO-ANALOG CONVERTER

Lecture #3: Voltage Regulator

REV. B. NOTES 1 At Pin 1. 2 Calculated as average over the operating temperature range. 3 H = Hermetic Metal Can; N = Plastic DIP.

High-definition sound processor

Description OA3 OA2. Figure 1. Block Diagram (pin numbers are for DIP only) Table 1. Ordering Information

Lecture #3 Basic Op-Amp Circuits

Bend Sensor Technology Electronic Interface Design Guide

New Rail-to-Rail Output Op Amps Bring Precision Performance to Low Voltage Systems

Minimalist Discrete Hi-Fi Preamp

Description OA3 RMS OUT. Figure 1. THAT4320 equivalent block diagram (QSOP-28 pin assignments shown)

Iout 5. Iout 12. Iout 4. Iout 13

EE 210 Lab Exercise #5: OP-AMPS I

APPLICATION NOTE 695 New ICs Revolutionize The Sensor Interface

Selecting and Using High-Precision Digital-to-Analog Converters

DS1802 Dual Audio Taper Potentiometer With Pushbutton Control

LM6162/LM6262/LM6362 High Speed Operational Amplifier

Capacitive Touch Sensing Tone Generator. Corey Cleveland and Eric Ponce

MAINTENANCE MANUAL AUDIO MATRIX BOARD P29/

UNIT I. Operational Amplifiers

LC2 MOS Complete 12-Bit Multiplying DAC AD7845

Different Digital Method

Introduction to Op Amps By Russell Anderson, Burr-Brown Corp

The simplest DAC can be constructed using a number of resistors with binary weighted values. X[3:0] is the 4-bit digital value to be converter to an

Sensor Interfacing and Operational Amplifiers Lab 3

Physics 303 Fall Module 4: The Operational Amplifier

Department of Mechanical Engineering

AD596/AD597 SPECIFICATIONS +60 C and V S = 10 V, Type J (AD596), Type K (AD597) Thermocouple,

Voltage-to-Frequency and Frequency-to-Voltage Converter ADVFC32

TL082 Wide Bandwidth Dual JFET Input Operational Amplifier

Low voltage LNA, mixer and VCO 1GHz

Chip Name Min VolT. Max Volt. Min. Out Power Typ. Out Power. LM386N-1 4 Volts 12 Volts 250 mw 325 mw. LM386N-3 4 Volts 12 Volts 500 mw 700 mw

Question Paper Code: 21398

Transcription:

THAT Corporation APPLICATION NOTE 0 Digital Gain Control With Analog VCAs Abstract In many cases, a fully analog signal path provides the least compromise to sonic integrity, and ultimately delivers the best sounding audio products at the lowest cost. What is often needed, however, are methods for varying the gain and other parameters of the analog circuitry, under digital control. While several methods are available to the designer, the best combination of sound quality, control range, and control resolution can be obtained from two easily-combined building blocks a high-performance, exponential-control, Voltage Controlled Amplifier (VCA), and a lowcost Digital-to-Analog Converter (DAC). The advantages to this approach are multifold. The analog signal path provides the highest possible dynamic range, reduces or avoids altogether such common digital artifacts as zipper noise, spectral spreading, digital feedthrough, and idle tones, and eliminates the need for a high-resolution Analog-to-Digital Converter (ADC). The exponential gain control of the VCA means that the equal step sizes of an ordinary DAC will translate to gain increments which are of uniform size in decibels. As a result, an inexpensive DAC of relatively low precision (e.g. 8 bits) will provide all the gain range and resolution required for almost any application. This paper explains how to build gain-control blocks using DACs and VCAs, a solution which provides both the convenience and reprogrammability of digital control, and the highest quality audio that comes from the use of an analog signal path. Digital Gain Control With Analog VCAs While digital signals and digital signal processing have grown in popularity in recent years, there are significant advantages to the use of an all-analog signal in professional audio equipment. These include: No digital artifacts such as digital feedthrough and idle tones; No need for an expensive, high-resolution Analog-to-Digital Converter (ADC) At the same time, designers want to take advantage of the convenience and reprogrammability afforded by modern micro-controllers. As we will see, the use of a DAC to manipulate the gain of an exponentially-controlled Voltage Controlled Amplifiers (such as the THAT 80 and THAT 8 families of integrated circuit VCAs) is a near-perfect solution to the problem of digital gain control of analog signals, and provides the following additional advantages over other approaches: Wide gain range, with equal db gain steps An ordinary linearly-controlled gain element will provide gains that increase in equal, but linear, increments. The result is a gain range that is 0-0 -0-30 -40-50 -0 db -70-80 -90-00 -0-0 Effective control range for a -bit MDAC Off Effective control range for a deci-linear VCA and 8-bit DAC Figure. Comparison of control resolution and range for an exponential-control VCA/8-bit DAC, and a -bit MDAC

Page Digital Gain Control with Analog VCAs both severely restricted and whose gain steps, when viewed on a decibel scale, vary widely and inefficiently from one end of its gain range to the other. An exponentially-controlled VCA s linear-indecibels control port characteristic, on the other hand, results in much more efficient use of a DAC s dynamic range. For example, the graph of Figure contrasts a -bit MDAC used as a gain control device, with a THAT 80 or THAT 8 VCA whose gain is controlled by an 8-bit DAC. At the lowest non-zero setting the attenuation of the -bit MDAC is -7dB and its step size is db, while at the upper end of the adjustment range the step size is mdb (0.00 db). Compare this to the THAT VCA whose gain is adjusted from an inexpensive 8-bit DAC: the step size is 0.5 db throughout it entire adjustment range, and that range extends to nearly 8 db (beyond the range of the graph in Figure ). In fact, it would take a 0-bit MDAC to achieve 0 db of control range, and this device, like all linear-control gain elements, would still have a step size of db at its lowest setting. Light sensitive resistors are another example of an analog gain control element, but they are typically limited to about 0dB of attenuation, and tend to exhibit wide variations in their control characteristics. Continuous (rather than discrete) transitions between gain steps The analog VCA is, by nature, a continuous device. By providing some amount of filtering at the VCA's control port, the gain will pass from one gain setting to the next smoothly and in a continuous fashion. As a result, there is no need for the zerocrossing detection required by MDACs and other digital control devices in order to control waveform discontinuities. It should be pointed out that, even with zero-crossing detection, the MDAC will cause an abrupt change in the derivative of the analog signal when the gain is changed in the presence of a signal. A DAC-controlled VCA, on the other hand, while still imposing a derivative change in the waveform, will do so smoothly, without an abrupt transition, resulting in a smoother sound during the gain change. Use of the full dynamic range afforded by the analog power supply An analog signal path with VCA gain control eliminates the need to squeeze the audio through the limits of a digital device s supply rails. As a re- C = 5V = -5V +5V (analog) VCA Input R5 C3 47u R R0* 4 EC+ 7 SYM IN OUT 8 GND U4 EC- 5 THAT8 3 p R4 U OPAMP VCA Output R R7 R8 C 0n CH CH U3 DAC R 7k R R k34 C5 u 78k R3 k49 k00 C4 00n U OPAMP R3 5k Note: Distortion symmetry adjust may be eliminated when using THAT 80 family of trimless VCAs. 0k * Make R0 a +3300 ppm TC resistor for temperature compensation (see Appendix) Figure. Basic DAC-controlled VCA

Rev. /8/99 Page 3 sult, the full dynamic range of the analog supplies is available to the designer. Flexibility Unlike an MDAC, a VCA configured as a gain control element can, with a minimum of additional circuitry, serve simultaneously as a compressor, gate, or other type of dynamics processor. This flexibility can be the source of significant cost savings, particularly in recording consoles and other components with large numbers of audio channels. Typical Application Circuit Digital gain control with no artifacts can be implemented with as little as a VCA, an 8-bit DAC and a smoothing filter, as shown in Figure. THAT Corporation's VCAs are -quadrant multipliers with a linear signal input and an exponential gain-control input. With the use of a dual DAC, one channel will generate the VCA's control signal, while the other channel can be used to generate the symmetry correction voltage for lowest VCA distortion. An alternative to the use of a DAC symmetry trim is the traditional trimpot. Note that the symmetry adjustment may be omitted altogether if using any of the trimless THAT 80 series ICS. Op amp U acts as a control voltage buffer, and sets the control voltage offset. Since this circuit drives the control port through E c -, Gain db E k c c where E c is the voltage at the control port, and k c (the control voltage constant) is approximately equal to. mv/db. R0, it should be noted, is to compensate the VCA s gain against variations in temperature. For more discussion on temperature compensation, see the Appendix at the end of this paper. The DAC in Figure is a generic, multiple, serial 8-bit DAC which can typically be purchased for a few tens of cents per DAC. Unlike the case where analog audio is passing directly through the DAC, the output of this DAC can, and should, be filtered to create continuous transitions between gain settings at the VCA's control port. The parallel combination R and R3 in conjunction with C5 results in 7mS. This combination has proven to provide good audible results in fader-type applications, though the designer should feel free to experiment and find the filter characteristic that suits the project s needs. The DAC output varies from 0 to 4.98 volts, which is scaled by the control voltage buffer to be 0. k 498. V 077. V. 34. k 49. k When this voltage is divided by the VCA s control voltage constant, the resulting gain control range is to Digital Section to Digital Section to Digital Section In-4 VN VN3 VN4 R R7 R8 In5 C 0n +5V (analog) U3 CH CH DAC In VN R 7k R 0k R k34 VCA Input R5 78k R3 k49 C5 u C3 47u R R0 k00 C4 U OPAMP 4 EC+ 7 SYM 8 IN OUT 00n GND EC- 5 3 R3 5k to symmetry (optional) U4 THAT8x Z VN5 Z Dgnd Sgnd Figure 3. Diagram showing noise sources and parasitic impedances

Page 4 Digital Gain Control with Analog VCAs 077. V 7. 3 db..mv db R5 is used to offset the gain control signal by +7.5 db to allow the VCA's gain to be varied from -00 db to +7.5 db in steps of 0.5 db. Grounding Grounding of THAT Corporation's VCAs presents no special difficulties, as long as the local ground is low impedance and noise free. THAT VCAs are current-in, current-out devices, with input current flowing into a virtual ground, and the output current converted into a voltage with a trans-impedance amplifier (e.g. an op amp). As such, no dynamic current flows into the local ground. The internal current mirrors that bias the IC are referenced to ground, and the mirror bias current, drawn through the ground pin, is a few hundred microamps of DC current. The most difficult grounding issues are a) managing the transient current coming from the digital section, and b) keeping the local (signal) ground quiet. Figure 3 is a grounding diagram showing noise sources and parasitic impedances, as well as several differentiated grounds. The boxes labeled Z and Z are the impedance, usually a few tens or hundreds of nano-henries, between signal (Sgnd) and digital (Dgnd) ground. Vn is the digital noise source inside the DAC due to internal coupling. Vn-4 represent noise coupled from the digital section via the DACs control lines. Vn5 is the lumped representation of the noise between digital Dgnd and Sgnd. The DAC should run off a supply that is derived from the analog supply, (labeled +5V (analog) ), and which should be bypassed to Sgnd near the DAC with a high quality ceramic capacitor. In addition, the DAC s reference can be connected directly to this same supply. R and C5, the filter capacitor, should be physically near to the DAC, and the grounded leg of C5 should return to the Dgnd and Agnd pins of the DAC prior to connecting to the remainder of Sgnd, as should the DAC's decoupling capacitor. This will keep the transient currents resulting from Vn in a small loop local to the DAC. Unlike Vn, Vn-4 are referenced to Dgnd, and therefore the resulting currents must return to Note: R3 = 8k7 will result in a zero db reference point at -0dBu n R5 49k9 C D VCA Input R R7 R8 C7 47u R3 8k7 IN IT R9 M0 +5 (analog) OUT 4 RMS CT 5 UB THAT430 C 0n CH CH DAC R4 4k99 C8 0u R 5k R k34 N448 9 8 0 OA C3 47u UD THAT430 R R5 78k R3 k49 C5 u D N448 R 0k 00n 5 4 EC+ SYM 7 IN VCA GND EC- 0 9 R0* k00 C4 OA 8 R7 5R 7 UC THAT430 3 OUT UA THAT430 C 47p R4 OA3 VCA Output Note: All parts shown in bold are contained within a single THAT 430 Dynamics Processor. * Make R0 a +3300 ppm TC resistor for temperature compensation (see Appendix) R 90k9 Dgnd Sgnd Figure 4. Digital gain control with feed-forward limiting function (using THAT430 Analog Engine )

Rev. /8/99 Page 5 Dgnd. The return current will produce a voltage across Z which only affects the noise margins of the digital devices, provided that these currents are kept from flowing through impedances between other analog components. R-8 are intended to minimize this current, but the designer may need to add ferrite beads to further limit high frequency current. Vn5 represents the switching noise that results from other components of the digital circuitry, such as the micro-processor. The resulting noise current follows a path through Z, and does not couple into the signal as long as there is only one connection between Dgnd and Sgnd. Simple design extensions The use of THAT Corporation's VCAs in a design provides an opportunity to include simultaneous dynamic audio processing (compressors, limiters, gates, and the like) with minimal additional circuitry. The circuit of Figure 4 is a simple limiter that can be added to the gain control circuit discussed previously. This circuit is designed around a THAT 430 Analog Engine, a versatile building block integrating a high-performance VCA and RMS-detector combination, along with three general purpose op amps. The 430's RMS detector monitors the VCA's input, and generates a signal that is proportional to the input signal s level in decibels. In this design, the RMS detector s 0 db reference level is set to -0 dbu by making R3 equal to 8.7 k. Internal op amp OA is a threshold detector set for zero volts. When the signal level exceeds -0 dbu, the output of the RMS detector exceeds the threshold and the circuit begins to reduce the VCA's gain. This action implements an above threshold AGC or limiter, and only simple modifications to this basic circuit will result in a wide variety of dynamics processors. Some closing thoughts When designing digitally-controlled analog circuits, exponentially-controlled VCAs provide a simple, cost-effective means to realize a wide variety of dynamic elements. Isolation of the digital and analog signals is easily maintained since the analog signal never has to traverse circuitry referenced to digital ground. The ability to add a smoothing filter to the controlling DAC's output enables artifact-free gain control, while zipper noise and spectral splatter are all but eliminated due to the resultant continuous nature of the gain changes. THAT VCAs provide additional versatility and cost-savings opportunities as a result of their ability to do double-duty, with a single component acting as both gain control and effects processor. Grouping is simplified since exponentially-controlled VCAs at different gain levels can have their gain incremented as a group in like db steps ( as a result of the VCA's linear-in-db control port characteristic) by simply adding the same integer to each VCA's DAC. The overall simplicity and sensibility of VCAs make them the designers choice where digital control of analog signal is desired. Suggested reading Digital Control of Analog Level, Carl Malone, AES 3th International Conference Digitally-Controllable Audio Filters and Equalizers, Gary K. Hebert and Fred Floru, AES 3th International Conference

Page Digital Gain Control with Analog VCAs APPENDIX: PTAT REFERENCE While temperature compensation of VCAs is often unnecessary, the most accurate systems use temperature compensated control voltages. This appendix demonstrates two simple methods of implementing a PTAT (proportional to absolute temperature) voltage reference, either of which can be used in conjunction with a DAC to generate a properly compensated control signal for VCAs. A master reference such as this can be useful when multiple VCAs are to be controlled. Each method generates a Vref+ and a Vref-. Referring to Figures and 4, Vref- replace the connections to R and R5, while Vref+ will connect to the DAC s reference input. Resistors R, R5, and R will need to be scaled by the ratio of Vref to. Note that when either Method A or Method B are employed, R0 should NOT be a TC type resistor. Method A, shown in the upper half of Figure 5, uses +3300ppm/ C resistors to generate the PTAT voltage. Either one or two TC resistors may be used, depending on the degree of compensation desired. When a single TC resistor is used, a +3300ppm/ C resistor is used at the location shown for R7. R9 programs a fixed reference current which develops across R7, the TC resistor. The reference voltage changes at +3300 ppm/ C due to the positive temperature coefficient of R7. This PTAT reference voltage is trimmed via the DAC and R7. Where temperature compensation is necessary, this technique provides a large measure of correction at low cost. Even so, there is slight interaction between the level trim adjustment and the temperature compensation when using only one TC resistor. One may also use a +3300ppm/ C resistor in the trim leg of the circuit (R7) as well as for the feedback resistor. Figure shows the effect of various levels of reference compensation over a 30 C range (54 F) for a VCA at +0dB gain. The line labeled Uncompensated shows a gain variation of ~db over this temperature range for a VCA with an uncompensated reference. +5 (analog) CH CH DAC R7* 4k9 R7* 4k99 R9 5k0 u U9A Method A 3 553 C7 R4 Vref+ u U9B 5 R5 C8 553 7 Vref- * R7 and/or R7 are +3300 ppm TC resistors depending on temperature compensation scheme chosen. See text for details. +5V (analog) CH CH DAC R 49k9 R 4k99 C R R3 C3 Vref- 3 u U7A Vref+ u U7B 5 553 7 553 Method B U LM334 R0 75R 3 Figure 5. Methods for generating a PTAT voltage reference

Rev. /8/99 Page 7 The line labeled Single +3300ppm resistor shows the improvement when temperature compensating with a single TC resistor is used. If +3300ppm/ C resistors are used in both legs of the circuit outlined in Method A, or if Method B ( described in the next paragraph) is used, the residual errors are negligible. Note these results are dependent on the temperature sensing element correctly reflecting the temperature of the VCA. Method B for generating a PTAT voltage reference is shown in the lower half Figure 5. In this technique, an LM334 is configured in the simplest manner possible, making a current source that is directly proportional to absolute temperature. This PTAT current develops across R to generate the PTAT voltage reference. Trimming is through R, the same as before, but since the trim doesn't appear in parallel with the TC element, there is no interaction between the trim and the temperature coefficient. The design equations for using a single LM334 are, assuming the desired Vref = 4.5 V, and with Vr=4mVat5 C (from the LM334 data sheet), Vref 4.5V Iset 90 A, R 4.99 k Vr 0.04 R3 Rset (. 059) (. 059) 75 Iset 900 A Note: Vref = 4.5 volts at 5 C is chosen to allow the reference to change with temperature without exceeding the +5V analog supply of the MDAC..5.0 Uncompensated 0.5 Single +3300ppm resistor Two +3300ppm resistor or LM334 and Ideal PTAT db 0.0 9.5 9.0 8.5 7 7 7 37 47 T Celcius Figure. Gain change vs. Temperature for an uncompensated reference, a partially-compensated reference, and a fully-compensated reference, all at +0 db gain

Page 8 Digital Gain Control with Analog VCAs Notes