INTEGRATED CIRCUITS SA571 Compandor Product specification IC17 Data Handbook 1997 Aug 14 Philips Semiconductors Product specification Compandor SA571 DESCRIPTION PIN CONFIGURATION The SA571 is a versatile low cost dual gain control circuit in which either channel may be used as a dynamic range compressor or expandor. Each channel has a full-wave rectifier to detect the average value of the signal, a linerarized temperature-compensated variable gain cell, and an operational amplifier. D, and N Packages1 RECT CAP 1 1 16 RECT CAP 2 RECT IN 1 2 15 AG CELL IN 1 3 14 AG CELL IN 2 GND 4 13 VCC 12 INV. IN 2 The SA571 is well suited for use in cellular radio and radio communications systems, modems, telephone, and satellite broadcast/receive audio systems. INV. IN 1 5 RES. R3 1 6 11 OUTPUT 1 7 10 OUTPUT 2 THD TRIM 1 8 9 FEATURES • Complete compressor and expandor in one IChip • Temperature compensated • Greater than 110dB dynamic range • Operates down to 6VDC • System levels adjustable with external components • Distortion may be trimmed out • Dynamic noise reduction systems • Voltage-controlled amplifier RECT IN 2 RES. R3 2 THD TRIM 2 TOP VIEW NOTE: 1. SOL - Released in Large SO Package Only. SR00675 Figure 1. Pin Configuration APPLICATIONS • Cellular radio • High level limiter • Low level expandor—noise gate • Dynamic filters • CD Player ORDERING INFORMATION TEMPERATURE RANGE ORDER CODE DWG # 16-Pin Plastic Small Outline Large (SOL) DESCRIPTION -40 to +85°C SA571D SOT162-1 16-Pin Plastic Dual In-Line Package (DIP) -40 to +85°C SA571N SOT38-4 BLOCK DIAGRAM R3 THD TRIM ∆G IN INVERTER IN R3 20k R2 20k VARIABLE GAIN – VREF R4 30k 1.8V RECT IN OUTPUT + R1 10k RECTIFIER RECT CAP SR00676 Figure 2. Block Diagram 1997 Aug 14 2 853-0812 18285 Philips Semiconductors Product specification Compandor SA571 ABSOLUTE MAXIMUM RATINGS SYMBOL VCC PARAMETER RATING Maximum operating voltage 571 TA Operating ambient temperature range SA PD Power dissipation UNITS VDC 18 -40 to +85 °C 400 mW AC ELECTRICAL CHARACTERISTICS VCC = +6V, TA = 25°C; unless otherwise stated. LIMITS SYMBOL PARAMETER SA5715 TEST CONDITIONS MIN VCC Supply voltage ICC Supply current IOUT Output current capability SR Untrimmed Trimmed Internal reference voltage Output DC Expandor output noise Unity gain level6 V 4.8 mA mA 0.5 0.1 1.65 Untrimmed No signal, 15Hz-20kHz1 1kHz -1.5 V/µs 2.0 % ±5 ±15 % 1.8 1.95 V ±30 ±150 mV 20 60 µV 0 +1.5 dBm +20, -50 mV Gain change2, 4 ±0.1 Reference drift4 +2, -25 Resistor drift4 +8, -0 Tracking error (measured relative to value at unity gain) equals [VO - VO (unity gain)] dB - V2dBm Rectifier input, V2 = +6dBm, V1 = 0dB +0.2 V2 = -30dBm, V1 = 0dB +0.2 dB % dB Channel separation 60 NOTES: 1. Input to V1 and V2 grounded. 2. Measured at 0dBm, 1kHz. 3. Expandor AC input change from no signal to 0dBm. 4. Relative to value at TA = 25°C. 5. Electrical characteristics for the SA571 only are specified over -40 to +85°C temperature range. 6. 0dBm = 775mVRMS. 1997 Aug 14 18 3.2 ±.5 Resistor tolerance shift3 MAX ±20 Output slew rate Gain cell distortion2 TYP 6 No signal UNITS 3 -1, +1.5 dB Philips Semiconductors Product specification Compandor SA571 bias current for the ∆G cell. The low tempco of this type of reference provides very stable biasing over a wide temperature range. CIRCUIT DESCRIPTION The SA571 compandor building blocks, as shown in the block diagram, are a full-wave rectifier, a variable gain cell, an operational amplifier and a bias system. The arrangement of these blocks in the IC result in a circuit which can perform well with few external components, yet can be adapted to many diverse applications. COMPRESSOR INPUT LEVEL OR EXPANDOR OUTPUT LEVEL (dBm) The typical performance characteristics illustration shows the basic input-output transfer curve for basic compressor or expander circuits. The full-wave rectifier rectifies the input current which flows from the rectifier input, to an internal summing node which is biased at VREF. The rectified current is averaged on an external filter capacitor tied to the CRECT terminal, and the average value of the input current controls the gain of the variable gain cell. The gain will thus be proportional to the average value of the input signal for capacitively-coupled voltage inputs as shown in the following equation. Note that for capacitively-coupled inputs there is no offset voltage capable of producing a gain error. The only error will come from the bias current of the rectifier (supplied internally) which is less than 0.1µA. |V IN V REF | avg G R1 or | V IN | avg G R1 The speed with which gain changes to follow changes in input signal levels is determined by the rectifier filter capacitor. A small capacitor will yield rapid response but will not fully filter low frequency signals. Any ripple on the gain control signal will modulate the signal passing through the variable gain cell. In an expander or compressor application, this would lead to third harmonic distortion, so there is a trade-off to be made between fast attack and decay times and distortion. For step changes in amplitude, the change in gain with time is shown by this equation. G(t) (G initial G final) e t G final ; 10k x C RECT +10 0 –10 –20 –30 –40 –50 –60 –70 –80 –40 –30 –20 –10 0 +10 COMPRESSOR OUTPUT LEVEL OR EXPANDOR INPUT LEVEL (dBm) SR00677 Figure 3. Basic Input-Output Transfer Curve TYPICAL TEST CIRCUIT VCC = 15V 0.1µF 10µF 13 The variable gain cell is a current-in, current-out device with the ratio IOUT/IIN controlled by the rectifier. IIN is the current which flows from the ∆G input to an internal summing node biased at VREF. The following equation applies for capacitively-coupled inputs. The output current, IOUT, is fed to the summing node of the op amp. V IN V REF V IN I IN R2 R2 6.11 20k 2.2µF 20k ∆G V1 7.10 3.14 VO VREF A compensation scheme built into the ∆G cell compensates for temperature and cancels out odd harmonic distortion. The only distortion which remains is even harmonics, and they exist only because of internal offset voltages. The THD trim terminal provides a means for nulling the internal offsets for low distortion operation. 2.2 10k V2 30k 2.15 4 The operational amplifier (which is internally compensated) has the non-inverting input tied to VREF, and the inverting input connected to the ∆G cell output as well as brought out externally. A resistor, R3, is brought out from the summing node and allows compressor or expander gain to be determined only by internal components. 1.16 2.2 5.12 8.2k 8.9 200pF SR00678 Figure 4. Typical Test Circuit The output stage is capable of ±20mA output current. This allows a +13dBm (3.5VRMS) output into a 300Ω load which, with a series resistor and proper transformer, can result in +13dBm with a 600Ω output impedance. INTRODUCTION Much interest has been expressed in high performance electronic gain control circuits. For non-critical applications, an integrated circuit operational transconductance amplifier can be used, but when high-performance is required, one has to resort to complex discrete circuitry with many expensive, well-matched components. A bandgap reference provides the reference voltage for all summing nodes, a regulated supply voltage for the rectifier and ∆G cell, and a 1997 Aug 14 +20 4 Philips Semiconductors Product specification Compandor SA571 rectifier and ∆G cell (located at the right of R1 and R2) have the same potential. The THD trim pin is also at the VREF potential. This paper describes an inexpensive integrated circuit, the SA571 Compandor, which offers a pair of high performance gain control circuits featuring low distortion (<0.1%), high signal-to-noise ratio (90dB), and wide dynamic range (110dB). Figure 7 shows how the circuit is hooked up to realize an expandor. The input signal, VIN, is applied to the inputs of both the rectifier and the ∆G cell. When the input signal drops by 6dB, the gain control current will drop by a factor of 2, and so the gain will drop 6dB. The output level at VOUT will thus drop 12dB, giving us the desired 2-to-1 expansion. CIRCUIT BACKGROUND The SA571 Compandor was originally designed to satisfy the requirements of the telephone system. When several telephone channels are multiplexed onto a common line, the resulting signal-to-noise ratio is poor and companding is used to allow a wider dynamic range to be passed through the channel. Figure 5 graphically shows what a compandor can do for the signal-to-noise ratio of a restricted dynamic range channel. The input level range of +20 to -80dB is shown undergoing a 2-to-1 compression where a 2dB input level change is compressed into a 1dB output level change by the compressor. The original 100dB of dynamic range is thus compressed to a 50dB range for transmission through a restricted dynamic range channel. A complementary expansion on the receiving end restores the original signal levels and reduces the channel noise by as much as 45dB. Figure 8 shows the hook-up for a compressor. This is essentially an expandor placed in the feedback loop of the op amp. The ∆G cell is setup to provide AC feedback only, so a separate DC feedback loop is provided by the two RDC and CDC. The values of RDC will determine the DC bias at the output of the op amp. The output will bias to: R DC1 R DC2 V OUT DC 1 R4 THD TRIM The significant circuits in a compressor or expander are the rectifier and the gain control element. The phone system requires a simple full-wave averaging rectifier with good accuracy, since the rectifier accuracy determines the (input) output level tracking accuracy. The gain cell determines the distortion and noise characteristics, and the phone system specifications here are very loose. These specs could have been met with a simple operational transconductance multiplier, or OTA, but the gain of an OTA is proportional to temperature and this is very undesirable. Therefore, a linearized transconductance multiplier was designed which is insensitive to temperature and offers low noise and low distortion performance. These features make the circuit useful in audio and data systems as well as in telecommunications systems. EXPANSION OUTPUT R4 30k IG RECTIN R1 10k VREF 7,10 1.8V VCC PIN 13 GND PIN 4 1,16 CRECT SR00680 Figure 6. Chip Block Diagram (1 of 2 Channels) R3 *CIN1 Figure 6 shows the block diagram of one half of the chip, (there are two identical channels on the IC). The full-wave averaging rectifier provides a gain control current, IG, for the variable gain (∆G) cell. The output of the ∆G cell is a current which is fed to the summing node of the operational amplifier. Resistors are provided to establish circuit gain and set the output DC bias. COMPRESSION 5,12 ∆G 3,14 2,15 INVIN 6,11 R3 20k R2 20k GIN BASIC CIRCUIT HOOK-UP AND OPERATION INPUT LEVEL +20 R3 8,9 R2 ∆G – + VIN VOUT R4 VREF *CIN2 R1 NOTE: 2 R 3 V IN (avg) R1 R2 IB IB = 140µA *CRECT GAIN OUTPUT LEVEL 0dB 0dB –40 –40 SR00681 *EXTERNAL COMPONENTS –20 Figure 7. Basic Expander V REF 1 R DCTOT 30k 1.8V NOISE –80 The output of the expander will bias up to: R3 V V OUT DC 1 R 4 REF –80 SR00679 Figure 5. Restricted Dynamic Range Channel V REF The circuit is intended for use in single power supply systems, so the internal summing nodes must be biased at some voltage above ground. An internal band gap voltage reference provides a very stable, low noise 1.8V reference denoted VREF. The non-inverting input of the op amp is tied to VREF, and the summing nodes of the 1997 Aug 14 1 20k 1.8V 30k 3.0V The output will bias to 3.0V when the internal resistors are used. External resistors may be placed in series with R3, (which will affect the gain), or in parallel with R4 to raise the DC bias to any desired value. 5 Philips Semiconductors Product specification Compandor SA571 have typical NPN βs of 200 and PNP βs of 40. The a’s of 0.995 and 0.975 will produce errors of 0.5% on negative swings and 2.5% on positive swings. The 1.5% average of these errors yields a mere 0.13dB gain error. R2 ∆G R1 * RDC CIN At very low input signal levels the bias current of Q2, (typically 50nA), will become significant as it must be supplied by Q5. Another low level error can be caused by DC coupling into the rectifier. If an offset voltage exists between the VIN input pin and the base of Q2, an error current of VOS/R1 will be generated. A mere 1mV of offset will cause an input current of 100nA which will produce twice the error of the input bias current. For highest accuracy, the rectifier should be coupled into capacitively. At high input levels the β of the PNP Q6 will begin to suffer, and there will be an increasing error until the circuit saturates. Saturation can be avoided by limiting the current into the rectifier input to 250µA. If necessary, an external resistor may be placed in series with R1 to limit the current to this value. Figure 11 shows the rectifier accuracy vs input level at a frequency of 1kHz. * CF CRECT* R * DC * CDC R3 VOUT VIN R4 VREF NOTES: GAIN 1 R1 R2 IB 2 2R 3 V INavg IB = 140µA External components SR00682 Figure 8. Basic Compressor V+ I = VIN / R1 V+ Q3 Q7 R1 Q4 Q5 VIN RS 10k CR R1 10k D1 VIN Q1 Q2 IG RS 10k Q6 I1 Q8 Q9 I2 CR SR00684 V– Figure 9. Rectifier Concept NOTE: IG 2 CIRCUIT DETAILS—RECTIFIER V IN avg R 1 SR00683 Figure 10. Simplified Rectifier Schematic Figure 9 shows the concept behind the full-wave averaging rectifier. The input current to the summing node of the op amp, VINR1, is supplied by the output of the op amp. If we can mirror the op amp output current into a unipolar current, we will have an ideal rectifier. The output current is averaged by R5, CR, which set the averaging time constant, and then mirrored with a gain of 2 to become IG, the gain control current. At very high frequencies, the response of the rectifier will fall off. The roll-off will be more pronounced at lower input levels due to the increasing amount of gain required to switch between Q5 or Q6 conducting. The rectifier frequency response for input levels of 0dBm, -20dBm, and -40dBm is shown in Figure 12. The response at all three levels is flat to well above the audio range. Figure 10 shows the rectifier circuit in more detail. The op amp is a one-stage op amp, biased so that only one output device is on at a time. The non-inverting input, (the base of Q1), which is shown grounded, is actually tied to the internal 1.8V VREF. The inverting input is tied to the op amp output, (the emitters of Q5 and Q6), and the input summing resistor R1. The single diode between the bases of Q5 and Q6 assures that only one device is on at a time. To detect the output current of the op amp, we simply use the collector currents of the output devices Q5 and Q6. Q6 will conduct when the input swings positive and Q5 conducts when the input swings negative. The collector currents will be in error by the a of Q5 or Q6 on negative or positive signal swings, respectively. ICs such as this ERROR GAIN dB +1 0 –1 –40 –20 0 RECTIFIER INPUT dBm Figure 11. Rectifier Accuracy 1997 Aug 14 6 SR00685 Philips Semiconductors Product specification Compandor SA571 I C1 GAIN ERROR (dB) I C2 –20dBm I OUT –40dBm 3 I C4 I C3 I 1 I IN I 1 I IN plus the relationships IG=IC3+IC4 and IOUT=IC4-IC3 will yield the multiplier transfer function, INPUT = 0dBm 0 IG I1 I IN V IN I G R2 I1 This equation is linear and temperature-insensitive, but it assumes ideal transistors. 10k 4 1MEG VOS = 5mV FREQUENCY (Hz) SR00686 3 4mV % THD Figure 12. Rectifier Frequency Response vs Input Level VARIABLE GAIN CELL Figure 13 is a diagram of the variable gain cell. This is a linearized two-quadrant transconductance multiplier. Q1, Q2 and the op amp provide a predistorted drive signal for the gain control pair, Q3 and Q4. The gain is controlled by IG and a current mirror provides the output current. 3mV 2 2mV 1 1mV .34 –6 0 +6 INPUT LEVEL (dBm) The op amp maintains the base and collector of Q1 at ground potential (VREF) by controlling the base of Q2. The input current IIN (=VIN/R2) is thus forced to flow through Q1 along with the current I1, so IC1=I1+IIN. Since I2 has been set at twice the value of I1, the current through Q2 is: SR00688 Figure 14. ∆G Cell Distortion vs Offset Voltage If the transistors are not perfectly matched, a parabolic, non-linearity is generated, which results in second harmonic distortion. Figure 14 gives an indication of the magnitude of the distortion caused by a given input level and offset voltage. The distortion is linearly proportional to the magnitude of the offset and the input level. Saturation of the gain cell occurs at a +8dBm level. At a nominal operating level of 0dBm, a 1mV offset will yield 0.34% of second harmonic distortion. Most circuits are somewhat better than this, which means our overall offsets are typically about mV. The distortion is not affected by the magnitude of the gain control current, and it does not increase as the gain is changed. This second harmonic distortion could be eliminated by making perfect transistors, but since that would be difficult, we have had to resort to other methods. A trim pin has been provided to allow trimming of the internal offsets to zero, which effectively eliminated I2-(I1+IIN)=I1-IIN=IC2. The op amp has thus forced a linear current swing between Q1 and Q2 by providing the proper drive to the base of Q2. This drive signal will be linear for small signals, but very non-linear for large signals, since it is compensating for the non-linearity of the differential pair, Q1 and Q2, under large signal conditions. V+ I1 140µA second harmonic distortion. Figure 15 shows the simple trim network required. Figure 16 shows the noise performance of the ∆G cell. The maximum output level before clipping occurs in the gain cell is plotted along with the output noise in a 20kHz bandwidth. Note that the noise drops as the gain is reduced for the first 20dB of gain reduction. At high gains, the signal to noise ratio is 90dB, and the total dynamic range from maximum signal to minimum noise is 110dB. R2 20k Q1 VIN Q2 Q3 I2 (= 2I1) 280µA OUT VCC IG V– NOTE: I Q4 IIN I I V IN G G I I 1 IN I2 R2 R SR00687 3.6V Figure 13. Simplified ∆G Cell Schematic 6.2k 20k To THD Trim The key to the circuit is that this same predistorted drive signal is applied to the gain control pair, Q3 and Q4. When two differential pairs of transistors have the same signal applied, their collector current ratios will be identical regardless of the magnitude of the currents. This gives us: 1997 Aug 14 ≈200pF SR00689 Figure 15. THD Trim Network 7 Philips Semiconductors Product specification Compandor SA571 RESISTORS +20 Inspection of the gain equations in Figures 7 and 8 will show that the basic compressor and expander circuit gains may be set entirely by resistor ratios and the internal voltage reference. Thus, any form of resistors that match well would suffice for these simple hook-ups, and absolute accuracy and temperature coefficient would be of no importance. However, as one starts to modify the gain equation with external resistors, the internal resistor accuracy and tempco become very significant. Figure 19 shows the effects of temperature on the diffused resistors which are normally used in integrated circuits, and the ion-implanted resistors which are used in this circuit. Over the critical 0°C to +70°C temperature range, there is a 10-to-1 improvement in drift from a 5% change for the diffused resistors, to a 0.5% change for the implemented resistors. The implanted resistors have another advantage in that they can be made the size of the diffused resistors due to the higher resistivity. This saves a significant amount of chip area. OUTPUT (dBm) 0 MAXIMUM SIGNAL LEVEL –20 90dB 110dB –40 –60 –80 NOISE IN 20kHz BW –100 –40 –20 VCA GAIN (0dB) 0 SR00690 Figure 16. Dynamic Range 140Ω / 1.15 NORMALIZED RESISTANCE Control signal feedthrough is generated in the gain cell by imperfect device matching and mismatches in the current sources, I1 and I2. When no input signal is present, changing IG will cause a small output signal. The distortion trim is effective in nulling out any control signal feedthrough, but in general, the null for minimum feedthrough will be different than the null in distortion. The control signal feedthrough can be trimmed independently of distortion by tying a current source to the ∆G input pin. This effectively trims I1. Figure 17 shows such a trim network. DIFFUSED RESISTOR 1.10 1kΩ / 1.05 1.00 ÇÇÇÇÇÇ LOW TC IMPLANTED RESISTOR 1% ERROR BAND .95 –40 VCC 0 40 80 120 TEMPERATURE Figure 19. Resistance vs Temperature R-SELECT FOR 3.6V 470k TO PIN 3 OR 14 100k SR00691 Figure 17. Control Signal Feedthrough OPERATIONAL AMPLIFIER The main op amp shown in the chip block diagram is equivalent to a 741 with a 1MHz bandwidth. Figure 18 shows the basic circuit. Split collectors are used in the input pair to reduce gM, so that a small compensation capacitor of just 10pF may be used. The output stage, although capable of output currents in excess of 20mA, is biased for a low quiescent current to conserve power. When driving heavy loads, this leads to a small amount of crossover distortion. I2 I1 Q6 Q1 –IN Q2 +IN D1 OUT D2 CC Q2 Q3 Q4 SR00692 Figure 18. Operational Amplifier 1997 Aug 14 8 SR00693 Philips Semiconductors Product specification Compandor SA571 SO16: plastic small outline package; 16 leads; body width 7.5 mm 1997 Aug 14 9 SOT162-1 Philips Semiconductors Product specification Compandor SA571 DIP16: plastic dual in-line package; 16 leads (300 mil) 1997 Aug 14 10 SOT38-4 Philips Semiconductors Product specification Compandor SA571 DEFINITIONS Data Sheet Identification Product Status Definition Objective Specification Formative or in Design This data sheet contains the design target or goal specifications for product development. Specifications may change in any manner without notice. Preliminary Specification Preproduction Product This data sheet contains preliminary data, and supplementary data will be published at a later date. Philips Semiconductors reserves the right to make changes at any time without notice in order to improve design and supply the best possible product. Product Specification Full Production This data sheet contains Final Specifications. Philips Semiconductors reserves the right to make changes at any time without notice, in order to improve design and supply the best possible product. Philips Semiconductors and Philips Electronics North America Corporation reserve the right to make changes, without notice, in the products, including circuits, standard cells, and/or software, described or contained herein in order to improve design and/or performance. Philips Semiconductors assumes no responsibility or liability for the use of any of these products, conveys no license or title under any patent, copyright, or mask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise specified. Applications that are described herein for any of these products are for illustrative purposes only. Philips Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification. LIFE SUPPORT APPLICATIONS Philips Semiconductors and Philips Electronics North America Corporation Products are not designed for use in life support appliances, devices, or systems where malfunction of a Philips Semiconductors and Philips Electronics North America Corporation Product can reasonably be expected to result in a personal injury. Philips Semiconductors and Philips Electronics North America Corporation customers using or selling Philips Semiconductors and Philips Electronics North America Corporation Products for use in such applications do so at their own risk and agree to fully indemnify Philips Semiconductors and Philips Electronics North America Corporation for any damages resulting from such improper use or sale. Copyright Philips Electronics North America Corporation 1997 All rights reserved. Printed in U.S.A. Philips Semiconductors 811 East Arques Avenue P.O. Box 3409 Sunnyvale, California 94088–3409 Telephone 800-234-7381 1997 Aug 14 11