a DC-Coupled Demodulating 120 MHz Logarithmic Amplifier AD640* signal output at +50 dB (referred to input) is provided to operate AD640s in cascade. The logarithmic response is absolutely calibrated to within ±1 dB for dc or square wave inputs from ± 0.75 mV to ± 200 mV, with an intercept (logarithmic offset) at 1 mV dc. An integral X10 attenuator provides an alternative input range of ± 7.5 mV to ± 2 V dc. Scaling is also guaranteed for sinusoidal inputs. The AD640B is specified for the industrial temperature range of –40°C to +85°C and the AD640T, available processed to MILSTD-883B, for the military range of –55°C to +125°C. Both are available in 20-lead side-brazed ceramic DIPs or leadless chip carriers (LCC). The AD640J is specified for the commercial temperature range of 0°C to +70°C, and is available in both 20-lead plastic DIP (N) and PLCC (P) packages. This device is now available to Standard Military Drawing (DESC) number 5962-9095501MRA and 5962-9095501M2A. FEATURES Complete, Fully Calibrated Monolithic System Five Stages, Each Having 10 dB Gain, 350 MHz BW Direct Coupled Fully Differential Signal Path Logarithmic Slope, Intercept and AC Response are Stable Over Full Military Temperature Range Dual Polarity Current Outputs Scaled 1 mA/Decade Voltage Slope Options (1 V/Decade, 100 mV/dB, etc.) Low Power Operation (Typically 220 mW at ⴞ5 V) Low Cost Plastic Packages Also Available APPLICATIONS Radar, Sonar, Ultrasonic and Audio Systems Precision Instrumentation from DC to 120 MHz Power Measurement with Absolute Calibration Wide Range High Accuracy Signal Compression Alternative to Discrete and Hybrid IF Strips Replaces Several Discrete Log Amp ICs PRODUCT HIGHLIGHTS PRODUCT DESCRIPTION 1. Absolute calibration of a wideband logarithmic amplifier is unique. The AD640 is a high accuracy measurement device, not simply a logarithmic building block. 2. Advanced design results in unprecedented stability over the full military temperature range. 3. The fully differential signal path greatly reduces the risk of instability due to inadequate power supply decoupling and shared ground connections, a serious problem with commonly used unbalanced designs. 4. Differential interfaces also ensure that the appropriate ground connection can be chosen for each signal port. They further increase versatility and simplify applications. The signal input impedance is ~500 kΩ in shunt with ~2 pF. 5. The dc-coupled signal path eliminates the need for numerous interstage coupling capacitors and simplifies logarithmic conversion of subsonic signals. The AD640 is a complete monolithic logarithmic amplifier. A single AD640 provides up to 50 dB of dynamic range for frequencies from dc to 120 MHz. Two AD640s in cascade can provide up to 95 dB of dynamic range at reduced bandwidth. The AD640 uses a successive detection scheme to provide an output current proportional to the logarithm of the input voltage. It is laser calibrated to close tolerances and maintains high accuracy over the full military temperature range using supply voltages from ±4.5 V to ± 7.5 V. The AD640 comprises five cascaded dc-coupled amplifier/limiter stages, each having a small signal voltage gain of 10 dB and a –3 dB bandwidth of 350 MHz. Each stage has an associated full-wave detector, whose output current depends on the absolute value of its input voltage. The five outputs are summed to provide the video output (when low-pass filtered) scaled at 1 mA per decade (50 µA per dB). On chip resistors can be used to convert this output current to a voltage with several convenient slope options. A balanced (continued on page 4) FUNCTIONAL BLOCK DIAGRAM RG1 1kV 17 RG0 16 1kV RG2 15 LOG OUT 14 LOG COM 13 INTERCEPT POSITIONING BIAS 12 +VS COM 18 ATN OUT 19 SIG +IN 20 SIG –IN 1 ATN LO 2 ATN COM 3 FULL-WAVE DETECTOR FULL-WAVE DETECTOR FULL-WAVE DETECTOR FULL-WAVE DETECTOR FULL-WAVE DETECTOR 10dB 10dB 10dB 10dB 10dB 11 SIG +OUT 10 SIG –OUT AMPLIFIER/LIMITER AMPLIFIER/LIMITER AMPLIFIER/LIMITER AMPLIFIER/LIMITER AMPLIFIER/LIMITER 27V 30V ATN COM 4 270V 9 BL2 5 ATN IN 6 BL1 GAIN BIAS REGULATOR 7 SLOPE BIAS REGULATOR 8 ITC –VS *Protected under U.S. patent number 4,990,803. REV. C Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 World Wide Web Site: http://www.analog.com Fax: 781/326-8703 © Analog Devices, Inc., 1999 AD640–SPECIFICATIONS DC SPECIFICATIONS (V = ⴞ5 V, T = +25ⴗC, unless otherwise noted) S Model Parameter TRANSFER FUNCTION A Conditions Min INPUT ATTENUATOR (Pins 2, 3, 4, 5 and 19) Attenuation2 Input Resistance SIGNAL OUTPUT (Pins 10, 11) Small Signal Gain 3 Peak Differential Output 4 Output Resistance Quiescent Output Voltage Differential Differential Min AD640B Typ 500 50 0.8 500 500 50 0.8 25 2 7 1 –2 +0.3 –2 AD640T Typ 200 500 50 0.8 25 2 7 1 +0.3 Max Units 200 –2 25 +0.3 kΩ µV µV/°C µV µV/V µA µA V Pin 5 to Pin 19 Pins 5 to 3/4 20 300 20 300 20 300 dB Ω Either Pin to COM Either Pin to COM 50 ±180 75 –90 50 ± 180 75 –90 50 ± 180 75 –90 dB mV Ω mV –0.3 0.95 TMIN to TMAX +VS = 4.5 V to 7.5 V 1.00 0.002 +V S –1 1.05 –0.3 0.98 1.00 0.002 0.85 TMIN to TMAX ±VS = 4.5 V to 7.5 V 1.0 1.15 0.95 –0.3 0.98 1.00 0.002 0.08 1.00 0.5 0.4 1.05 0.95 0.08 1.00 0.5 0.90 2 –61.5 TMIN to TMAX ±VS = 4.5 V to 7.5 V –60.0 0.004 2 –58.7 –60.5 –60.0 0.004 Pin 8 to COM 0.017 10.0 –0.2 –0.27 2.3 11.75 9.0 0.017 10.0 –0.2 –0.27 2.3 –59.5 –60.5 11.0 9.0 1.000 1.005 0.995 DC LINEARITY VIN ±1 mV to ± 100 mV 0.35 1.2 0.35 0.55 0.55 1.0 2 3 2 3 0.4 0.6 1.2 2.5 3 3.5 TMIN to TMAX ±VS = 4.5 V to 7.5 V TMIN to TMAX ⴞ4.5 0.995 ⴞ7.5 9 35 –2– 15 60 VS –1 1.02 1.02 0.4 1.05 1.10 2 –60.0 0.004 –60.9 8.25 TMIN to TMAX TMIN to TMAX +V S –1 1.02 0.98 0.08 1.00 0.5 1.000 POWER REQUIREMENTS Voltage Supply Range Quiescent Current9 +VS (Pin 12) –VS (Pin 7) Min 300 2 7 1 APPLICATIONS RESISTORS (Pins 15, 16, 17) TOTAL ABSOLUTE DC ACCURACY VIN = ± 1 mV to ±100 mV8 Over Temperature Over Supply Range VIN = ± 0.75 mV to ±200 mV Using Attenuator VIN = ± 10 mV to ± 1 V Over Temperature VIN = ± 7.5 mV to 2 V Max TMIN to TMAX LOGARITHMIC OUTPUT 5 (Pin 14) Voltage Compliance Range Slope Current, IY Accuracy vs. Temperature Accuracy vs. Supply Intercept Voltage 6, V X vs. Temperature Over Temperature vs. Supply Logarithmic Offset (Alt. Definition of VX ) vs. Temperature Over Temperature vs. Supply Intercept Voltage Using Attenuator Zero Signal Output Current 7 ITC Disabled Maximum Output Current Max IOUT = IY LOG |V IN/VX | for VIN = ± 0.75 mV to ± 200 mV dc 1 SIGNAL INPUTS (Pins 1, 20) Input Resistance Input Offset Voltage vs. Temperature Over Temperature vs. Supply Input Bias Current Input Bias Offset Common-Mode Range AD640J Typ –59.5 –59.1 0.017 10.0 –0.2 –0.27 2.3 11.0 V mA %/°C mA %/V mV µV/°C mV µV/V dBV dB/°C dB dB/V mV mA mA mA 1.000 1.005 kΩ 0.6 0.35 0.6 dB 0.55 1.0 0.9 1.7 1.0 2.0 1.0 0.9 1.8 1.0 2.0 dB dB dB dB 0.4 0.6 1.2 1.5 2.0 2.5 0.4 0.6 1.2 1.5 2.0 2.5 dB dB dB ⴞ7.5 V 15 60 mA mA ⴞ4.5 ⴞ7.5 9 35 15 60 ⴞ4.5 9 35 REV. C AD640 AC SPECIFICATIONS (V S = ⴞ5 V, TA = +25ⴗC, unless otherwise noted) Model Parameter Conditions SIGNAL INPUTS (Pins 1, 20) Input Capacitance Noise Spectral Density Tangential Sensitivity Either Pin to COM 1 kHz to 10 MHz BW = 100 MHz 2 2 –72 2 2 –72 2 2 –72 pF nV/√Hz dBm 3 dB BANDWIDTH Each Stage All Five Stages Pins 1 & 20 to 10 & 11 350 145 350 145 350 145 MHz MHz LOGARITHMIC OUTPUTS 5 Slope Current, IY f< = 1 MHz f = 30 MHz f = 60 MHz f = 90 MHz f = 120 MHz Intercept, Dual AD640s 10, 11 f< = 1 MHz f = 30 MHz f = 60 MHz f = 90 MHz f = 120 MHz AC LINEARITY –40 dBm to –2 dBm12 –35 dBm to –10 dBm 12 –75 dBm to 0 dBm 10 –70 dBm to –10 dBm 10 –75 dBm to +15 dBm13 f = 1 MHz f = 1 MHz f = 1 MHz f = 1 MHz f = 10 kHz PACKAGE OPTION 20-Lead Ceramic DIP Package (D) 20-Terminal Ceramic LCC (E) 20-Lead Plastic DIP Package (N) 20-Lead Plastic Leaded Chip Carrier (P) NUMBER OF TRANSISTORS Min AD640J Typ Max AD640B Typ Min Max Min AD640T Typ Max Units 0.96 0.88 0.82 1.0 0.94 0.90 0.88 0.85 1.04 1.00 0.98 0.98 0.91 0.86 1.0 0.94 0.90 0.88 0.85 1.02 0.97 0.94 0.98 0.91 0.86 1.0 0.94 0.90 0.88 0.85 1.02 0.97 0.94 mA mA mA mA mA –90.6 –88.6 –87.6 –86.3 –83.9 –80.3 –86.6 –89.6 –88.6 –87.6 –86.3 –83.9 –80.3 –87.6 –89.6 –88.6 –87.6 –86.3 –83.9 –80.3 –87.6 dBm dBm dBm dBm dBm 0.5 0.25 0.75 0.5 0.5 2.0 1.0 3.0 2.0 3.0 0.5 0.25 0.75 0.5 0.5 1.0 0.5 1.5 1.0 1.5 0.5 0.25 0.75 0.5 0.5 1.0 0.5 1.5 1.0 1.5 dB dB dB dB dB AD640BD AD640BE AD640]N AD640JP AD640TD AD640TE AD640BP 155 155 155 NOTES 1 Logarithms to base 10 are used throughout. The response is independent of the sign of V IN. 2 Attenuation ratio trimmed to calibrate intercept to 10 mV when in use. It has a temperature coefficient of +0.30%/ °C. 3 Overall gain is trimmed using a ± 200 µV square wave at 2 kHz, corrected for the onset of compression. 4 The fully limited signal output will appear to be a square wave; its amplitude is proportional to absolute temperature. 5 Currents defined as flowing into Pin 14. See FUNDAMENTALS OF LOGARITHMIC CONVERSION for full explanation of scaling concepts. Slope is measured by linear regression over central region of transfer function. 6 The logarithmic intercept in dBV (decibels relative to 1 V) is defined as 20 LOG 10 (VX /1 V). 7 The zero-signal current is a function of temperature unless internal temperature compensation (ITC) pin is grounded. 8 Operating in circuit of Figure 24 using ± 0.1% accurate values for RLA and R LB. Includes slope and nonlinearity errors. Input offset errors also included for VIN >3 mV dc, and over the full input range in ac applications. 9 Essentially independent of supply voltages. 10 Using the circuit of Figure 27, using cascaded AD640s and offset nulling. Input is sinusoidal, 0 dBm in 50 Ω = 223 mV rms. 11 For a sinusoidal signal (see EFFECT OF WAVEFORM ON INTERCEPT). Pin 8 on second AD640 must be grounded to ensure temperature stability of intercept for dual AD640 system. 12 Using the circuit of Figure 24, using single AD640 and offset nulling. Input is sinusoidal, 0 dBm in 50 Ω = 223 mV rms. 13 Using the circuit of Figure 32, using cascaded AD640s and attenuator. Square wave input. All min and max specifications are guaranteed, but only those in boldface are 100% tested on all production units. Results from those tests are used to calculate outgoing quality levels. Specifications subject to change without notice. THERMAL CHARACTERISTICS 20-Lead Ceramic DIP Package (D-20) 20-Terminal Ceramic LCC (E-20A) 20-Lead Plastic DIP Package (N-20) 20-Lead Plastic Leaded Chip Carrier (P-20A) REV. C –3– JC (ⴗC/W) JA (ⴗC/W) 25 25 24 28 85 85 61 75 AD640 (continued from page 1) ABSOLUTE MAXIMUM RATINGS* 6. The low input offset voltage of 50 µV (200 µV max) ensures good accuracy for low level dc inputs. 7. Thermal recovery “tails,” which can obscure the response when a small signal immediately follows a high level input, have been minimized by special attention to design details. 8. The noise spectral density of 2 nV/√Hz results in a noise floor of ~23 µV rms (–80 dBm) at a bandwidth of 100 MHz. The dynamic range using cascaded AD640s can be extended to 95 dB by the inclusion of a simple filter between the two devices. Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ± 7.5 V Input Voltage (Pin 1 or Pin 20 to COM) . . . . –3 V to +300 mV Attenuator Input Voltage (Pin 5 to Pin 3/4) . . . . . . . . . . . ± 4 V Storage Temperature Range D, E . . . . . . . . . –65°C to +150°C Storage Temperature Range N, P . . . . . . . . . –65°C to +125°C Ambient Temperature Range, Rated Performance Industrial, AD640B . . . . . . . . . . . . . . . . . . . –40°C to +85°C Military, AD640T . . . . . . . . . . . . . . . . . . . –55°C to +125°C Commercial, AD640J . . . . . . . . . . . . . . . . . . . 0°C to +70°C Lead Temperature Range (Soldering 60 sec) . . . . . . . . +300°C *Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. CHIP DIMENSIONS AND BONDING DIAGRAM Dimensions shown in inches and (mm). ORDERING GUIDE Model Temperature Range Package Description Package Option AD640JN AD640JP AD640BD AD640BE 0°C to +70°C 0°C to +70°C –40°C to +85°C –40°C to +85°C N-20 P-20A D-20 AD640BP AD640TD/883B 5962-9095501MRA AD640TE/883B –40°C to +85°C –55°C to +125°C –55°C to +125°C –55°C to +125°C 20-Lead Plastic DIP 20-Lead PLCC 20-Lead Ceramic DIP 20-Terminal Ceramic LCC 20-Lead PLCC 20-Lead Ceramic DIP 20-Lead Ceramic DIP 20-Terminal Ceramic LCC 20-Terminal Ceramic LCC Die Evaluation Board 13" Tape and Reel 7" Tape and Reel 5962-9095501M2A –55°C to +125°C AD640TCHIPS AD640EB AD640JP-REEL AD640JP-REEL7 –55°C to +125°C 0°C to +70°C 0°C to +70°C E-20A P-20A D-20 D-20 E-20A E-20A P-20A P-20A CONNECTION DIAGRAMS RG0 ITC 8 13 LOG COM BL2 9 12 +VS 11 SIG +OUT SIG –OUT 10 PIN 1 IDENTIFIER ATN IN 5 SIG +IN ATN OUT SIG –IN ATN COM 4 18 CKT COM ATN IN 5 17 RG1 16 RG0 15 RG2 14 LOG OUT RG0 BL1 6 –VS 7 15 RG2 –VS 7 14 LOG OUT ITC 8 12 20 19 RG1 16 11 1 17 AD640 10 2 CKT COM TOP VIEW (Not to Scale) 9 3 18 BL1 6 ITC 8 ATN LO 19 ATN COM ATN OUT 20 AD640 TOP VIEW (Not to Scale) 13 CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the AD640 features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality. –4– 9 10 11 12 13 LOG COM 16 1 SIG +OUT +VS AD640 TOP VIEW 15 RG2 (Not to Scale) 14 LOG OUT –VS 7 BL1 6 2 BL2 SIG –OUT ATN IN 5 RG1 SIG +IN 17 3 ATN COM 4 20-Terminal Ceramic LCC (E) Package LOG COM ATN COM 4 SIG –IN CKT COM +VS 18 ATN LO ATN OUT ATN COM 3 SIG +OUT SIG +IN ATN COM 20 19 BL2 SIG –IN 1 ATN LO 2 20-Lead PLCC (P) Package SIG –OUT 20-Lead Ceramic DIP (D) Package 20-Lead Plastic DIP (N) Package WARNING! ESD SENSITIVE DEVICE REV. C 1.20 1.006 1.010 1.15 1.004 1.005 1.10 1 0.995 0.990 1.05 1.00 0.95 0.85 –60 –40 –20 0 20 40 60 80 100 120 140 TEMPERATURE – 8C INTERCEPT – mV 1.005 1.000 0.995 0.990 12 11 10 9 8 7 –60 –40 –20 0 20 40 60 80 100 120 140 TEMPERATURE – 8C 5.0 5.5 6.0 6.5 7.0 7.5 POWER SUPPLY VOLTAGES – 6 Volts 0.994 4.5 1000.0 Figure 7. DC Logarithmic Transfer Function and Error Curve for Single AD640 +0.4 +0.3 +0.2 0 –0.1 –0.2 –0.3 –60 –40 –20 2.0 2.0 0.5 0 –60 –40 –20 0 20 40 60 80 100 120 140 TEMPERATURE – 8C Figure 8. Absolute Error vs. Temperature, VIN = ⴞ1 mV to ⴞ 100 mV –5– 0 20 40 60 80 100 120 140 TEMPERATURE – 8C Figure 6. Input Offset Voltage Deviation vs. Temperature 2.5 1.0 INPUT OFFSET VOLTAGE DEVIATION WILL BE WITHIN SHADED AREA. +0.1 2.5 1.5 5.0 5.5 6.0 6.5 7.0 7.5 POWER SUPPLY VOLTAGES – 6 Volts Figure 3. Slope Current, IY vs. Supply Voltages ABSOLUTE ERROR – dB OUTPUT CURRENT – mA 2 1 0 Figure 5. Intercept Voltage (Using Attenuator) vs. Temperature ERROR – dB Figure 4. Intercept Voltage, VX, vs. Supply Voltages ABSOLUTE ERROR – dB INTERCEPT VOLTAGE – mV 13 1.010 REV. C 0 20 40 60 80 100 120 140 TEMPERATURE – 8C 14 1.015 1.0 10.0 100.0 INPUT VOLTAGE – mV (EITHER SIGN) 0.998 Figure 2. Intercept Voltage, VX, vs. Temperature Figure 1. Slope Current, I Y vs. Temperature 2.4 2.2 2.0 1.8 1.6 1.4 1.2 1.0 0.8 0.6 0.4 0.2 0 –0.2 –0.4 0.1 1.000 DEVIATION OF INPUT OFFSET VOLTAGE – mV 0.980 –60 –40 –20 1.002 0.996 0.90 0.985 0.985 4.5 SLOPE CURRENT – mA 1.015 INTERCEPT – mV SLOPE CURRENT – mA Typical DC Performance Characteristics–AD640 1.5 1.0 0.5 0 –60 –40 –20 0 20 40 60 80 100 120 140 TEMPERATURE – 8C Figure 9. Absolute Error vs. Temperature, Using Attenuator. VIN = ⴞ10 mV to ⴞ1 V, Pin 8 Grounded to Disable ITC Bias AD640 –Typical AC Performance Characteristics –2.5 –2.5 +1258C 30MHz 60MHz 90MHz 120MHz –1.0 –0.5 +258C –558C –1.5 +1 –558C 0 –1.0 AD640 6VS = 5 VOLTS TEMPERATURE = +258C +1258C –5 –1 +258C +1258C ERROR IN dB –1.5 0 +258C +1258C –2.0 OUTPUT CURRENT – mA OUTPUT CURRENT – mA –2.0 –558C AD640 FREQUENCY = 60MHz 0 –2 –558C 0.5 –50 –40 –30 –20 INPUT LEVEL – dBm –10 0.5 –50 0 Figure 10. AC Response at 30 MHz, 60 MHz, 90 MHz and 120 MHz, vs. dBm Input (Sinusoidal Input) –40 –30 –20 INPUT LEVEL – dBm –10 0 Figure 13. Logarithmic Response and Linearity at 60 MHz, TA for TA = –55 ⴗC, +25 ⴗC, +125 ⴗC 90 1.0 89 INTERCEPT LEVEL – dBm SLOPE CURRENT – mA 88 0.95 0.90 0.85 87 86 85 84 83 82 81 0.80 DC 80 30 60 90 FREQUENCY – MHz 120 150 Figure 11. Slope Current, IY, vs. Input Frequency 0 10 20 30 40 50 60 70 80 90 INPUT FREQUENCY – MHz 100 110 120 Figure 14. Intercept Level (dBm) vs. Frequency (Cascaded AD640s – Sinusoidal Input) 5µs 5µs 20mV 20mV 100 90 10 0% Figure 12. Baseband Pulse Response of Single AD640, Inputs of 1 mV, 10 mV and 100 mV Figure 15. Baseband Pulse Response of Cascaded AD640s, Inputs of 0.2 mV, 2 mV, 20 mV and 200 mV –6– REV. C AD640 CIRCUIT DESCRIPTION LOG OUT The AD640 uses five cascaded limiting amplifiers to approximate a logarithmic response to an input signal of wide dynamic range and wide bandwidth. This type of logarithmic amplifier has traditionally been assembled from several small scale ICs and numerous external components. The performance of these semidiscrete circuits is often unsatisfactory. In particular, the logarithmic slope and intercept (see FUNDAMENTALS OF LOGARITHMIC CONVERSION) are usually not very stable in the presence of supply and temperature variations even after laborious and expensive individual calibration. The AD640 employs high precision analog circuit techniques to ensure stability of scaling over wide variations in supply voltage and temperature. Laser trimming, using ac stimuli and operating conditions similar to those encountered in practice, provides fully calibrated logarithmic conversion. R4 75V Q2 R1 85V R2 85V SIG OUT Q3 Q4 1.09mA 1.09mA 565mA PTAT PTAT Q5 Q6 565mA Q7 Q8 2.18mA PTAT –VS Figure 16. Simplified Schematic of a Single AD640 Stage deviation or ripple in the transfer function of ± 0.15 dB from the ideal response when the input is either a dc voltage or a square wave. The slope of the transfer function is unaffected by the input waveform; however, the intercept and ripple are waveform dependent (see EFFECT OF WAVEFORM ON INTERCEPT). The input will usually be an amplitude modulated sinusoidal carrier. In these circumstances the output is a fluctuating current at twice the carrier frequency (because of the full wave detection) whose average value is extracted by an external low-pass filter, which recovers a logarithmic measure of the baseband signal. Circuit Operation With reference to Figure 16, the transconductance pair Q7, Q8 and load resistors R3 and R4 form a limiting amplifier having a small signal gain of 10 dB, set by the tail current of nominally 2.18 mA at 27°C. This current is basically proportional to absolute temperature (PTAT) but includes additional current to compensate for finite beta and junction resistance. The limiting output voltage is ± 180 mV at 27°C and is PTAT. Emitter followers Q1 and Q2 raise the input resistance of the stage, provide level shifting to introduce collector bias for the gain stage and detectors, reduce offset drift by forming a thermally balanced quad with Q7 and Q8 and generate the detector biasing across resistors R1 and R2. Transistors Q3 through Q6 form the full wave detector, whose output is buffered by the cascodes Q9 and Q10. For zero input Q3 and Q5 conduct only a small amount (a total of about 32 µA) of the 565 µA tail currents supplied to pairs Q3–Q4 and Q5–Q6. This “pedestal” current flows in output cascode Q9 to the LOG OUT node (Pin 14). When driven to the peak output of the preceding stage, Q3 or Q5 (depending on signal polarity) conducts lost of the tail current, and the output rises to 532 µA. The LOG OUT current has thus changed by 500 µA as the input has changed from zero to its maximum value. Since the detectors are spaced at 10 dB intervals, the output increases by By summing the signals at the output of the detectors, a good approximation to a logarithmic transfer function can be achieved. The lower the stage gain, the more accurate the approximation, but more stages are then needed to cover a given dynamic range. The choice of 10 dB results in a theoretical periodic RG2 15 R3 75V SIG IN The complete AD640, shown in Figure 17, includes two bias regulators. One determines the small signal gain of the amplifier stages; the other determines the logarithmic slope. These bias regulators maintain a high degree of stability in the resulting function by compensating for potentially large uncertainties in transistor parameters, temperature and supply voltages. A third biasing block is used to accurately control the logarithmic intercept. 1kV Q10 Q1 Figure 16 is a simplified schematic of one stage of the AD640. All transistors in the basic cell operate at near zero collector to base voltage and low bias currents, resulting in low levels of thermally induced distortion. These arise when power shifts from one set of transistors to another during large input signals. Rapid recovery is essential when a small signal immediately follows a large one. This low power operation also contributes significantly to the excellent long-term calibration stability of the AD640. RG0 16 Q9 COMMON Each of the amplifier/limiter stages in the AD640 has a small signal voltage gain of 10 dB (×3.162) and a –3 dB bandwidth of 350 MHz. Fully differential direct coupling is used throughout. This eliminates the many interstage coupling capacitors usually required in ac applications, and simplifies low frequency signal processing, for example, in audio and sonar systems. The AD640 is intended for use in demodulating applications. Each stage incorporates a detector (a full wave transconductance rectifier) whose output current depends on the absolute value of its input voltage. RG1 1kV 17 LOG COM LOG OUT 14 LOG COM 13 INTERCEPT POSITIONING BIAS 12 +VS COM 18 ATN OUT 19 SIG +IN 20 SIG –IN 1 FULL-WAVE DETECTOR ATN LO 2 3 FULL-WAVE DETECTOR FULL-WAVE DETECTOR FULL-WAVE DETECTOR 10dB 10dB 10dB 10dB 11 SIG +OUT 10dB ATN COM FULL-WAVE DETECTOR 10 SIG –OUT AMPLIFIER/LIMITER AMPLIFIER/LIMITER AMPLIFIER/LIMITER AMPLIFIER/LIMITER AMPLIFIER/LIMITER 27V 30V ATN COM 4 270V 5 ATN IN 6 BL1 GAIN BIAS REGULATOR 7 SLOPE BIAS REGULATOR –VS Figure 17. Block Diagram of the Complete AD640 REV. C –7– 9 BL2 8 ITC 50 µA/dB, or 1 mA per decade. This scaling parameter is trimmed to absolute accuracy using a 2 kHz square wave. At frequencies near the system bandwidth, the slope is reduced due to the reduced output of the limiter stages, but it is still relatively insensitive to temperature variations so that a simple external slope adjustment in restore scaling accuracy. 2.5 +1258C +258C –558C OUTPUT CURRENT – mA 2.0 2 1 0 1.5 –558C +258C –1 –2 +1258C 1.0 ABSOLUTE ERROR – dB The logarithmic function of the AD640 is absolutely calibrated to within ± 0.3 dB (or ± 15 µA) for 2 kHz square-wave inputs of ± 1 mV to ± 100 mV, and to within ± 1 dB between ± 750 µV and ± 200 mV. Figure 18 is a typical plot of the dc transfer function, showing the outputs at temperatures of –55°C, +25°C and +125°C. While the slope and intercept are seen to be little affected by temperature, there is a lateral shift in the endpoints of the “linear” region of the transfer function, which reduces the effective dynamic range. The cause of this shift is explained in Fundamentals of Logarithmic Conversion section. 0.5 0 –0.5 0.1 1.0 10.0 INPUT VOLTAGE – mV 100.0 1000.0 Figure 18. Logarithmic Output and Absolute Error vs. DC or Square Wave Input at T A = –55 °C, +25 °C, Input Direct to Pins 1 and 20 The on chip attenuator can be used to handle input levels 20 dB higher, that is, from ± 7.5 mV to ± 2 V for dc or square wave inputs. It is specially designed to have a positive temperature coefficient and is trimmed to position the intercept at 10 mV dc (or –24 dBm for a sinusoidal input) over the full temperature range. When using the attenuator the internal bias compensation should be disabled by grounding Pin 8. Figure 19 shows the output at –55°C, +25°C, +85°C and +125°C for a single AD640 with the attenuator in use; the curves overlap almost perfectly, and the lateral shift in the transfer function does not occur. Therefore, the full dynamic range is available at all temperatures. The output of the final limiter is available in differential form at Pins 10 and 11. The output impedance is 75 Ω to ground from either pin. For most input levels, this output will appear to have +258C –558C 1 0 2.0 OUTPUT CURRENT – mA The intercept position bias generator (Figure 17) removes the pedestal current from the summed detector outputs. It is adjusted during manufacture such that the output (flowing into Pin 14) is 1 mA when a 2 kHz square-wave input of exactly ± 10 mV is applied to the AD640. This places the dc intercept at precisely 1 mV. The LOG COM output (Pin 13) is the complement of LOG OUT. It also has a 1 mV intercept, but with an inverted slope of –1 mA/decade. Because its pedestal is very large (equivalent to about 100 dB), its intercept voltage is not guaranteed. The intercept positioning currents include a special internal temperature compensation (ITC) term which can be disabled by connecting Pin 8 to ground. 2.5 –1 +858C –2 +1258C 1.5 1.0 ABSOLUTE ERROR – dB AD640 0.5 0 –0.5 1 10 100 INPUT VOLTAGE – mV 1000 10000 Figure 19. Logarithmic Output and Absolute Error vs. DC or Square Wave Input at TA = –55 °C, +25 °C, +85 °C and +125 °C, Input via On-Chip Attenuator roughly a square waveform. The signal path may be extended using these outputs (see OPERATION OF CASCADED AD640s). The logarithmic outputs from two or more AD640s can be directly summed with full accuracy. A pair of 1 kΩ applications resistors, RG1 and RG2 (Figure 17) are accessed via Pins 15, 16 and 17. These can be used to convert an output current to a voltage, with a slope of 1 V/decade (using one resistor), 2 V/decade (both resistors in series) or 0.5 V/decade (both in parallel). Using all the resistors from two AD640s (for example, in a cascaded configuration) ten slope options from 0.25 V to 4 V/decade are available. FUNDAMENTALS OF LOGARITHMIC CONVERSION The conversion of a signal to its equivalent logarithmic value involves a nonlinear operation, the consequences of which can be very confusing if not fully understood. It is important to realize from the outset that many of the familiar concepts of linear circuits are of little relevance in this context. For example, the incremental gain of an ideal logarithmic converter approaches infinity as the input approaches zero. Further, an offset at the output of a linear amplifier is simply equivalent to an offset at the input, while in a logarithmic converter it is equivalent to a change of amplitude at the input—a very different relationship. We assume a dc signal in the following discussion to simplify the concepts; ac behavior and the effect of input waveform on calibration are discussed later. A logarithmic converter having a voltage input VIN and output VOUT must satisfy a transfer function of the form VOUT = VY LOG (VIN/VX) Equation (1) where Vy and Vx are fixed voltages which determine the scaling of the converter. The input is divided by a voltage because the argument of a logarithm has to be a simple ratio. The logarithm must be multiplied by a voltage to develop a voltage output. These operations are not, of course, carried out by explicit computational elements, but are inherent in the behavior of the converter. For stable operation, VX and VY must be based on sound design criteria and rendered stable over wide temperature and supply voltage extremes. This aspect of RF logarithmic amplifier design has traditionally received little attention. When VIN = VX, the logarithm is zero. VX is, therefore, called the Intercept Voltage, because a graph of VOUT versus LOG (VIN) —ideally a straight line—crosses the horizontal axis at this point –8– REV. C AD640 (see Figure 20). For the AD640, VX is calibrated to exactly 1 mV. The slope of the line is directly proportional to VY. Base 10 logarithms are used in this context to simplify the relationship to decibel values. For VIN = 10 VX, the logarithm has a value of 1, so the output voltage is VY. At VIN = 100 VX , the output is 2 VY, and so on. VY can therefore be viewed either as the Slope Voltage or as the Volts per Decade Factor. IDEAL VYLOG (VIN /VX) ACTUAL 2VY SLOPE = VY When the attenuator is not used, the PTAT variation in VX will result in the intercept being temperature dependent. Near 300K (27°C) it will vary by 20 LOG (301/300) dB/°C, about 0.03 dB/°C. Unless corrected, the whole output function would drift up or down by this amount with changes in temperature. In the AD640 a temperature compensating current IYLOG(T/TO) is added to the output. This effectively maintains a constant intercept VXO. This correction is active in the default state (Pin 8 open circuited). When using the attenuator, Pin 8 should be grounded, which disables the compensation current. The drift term needs to be compensated only once; when the outputs of two AD540s are summed, Pin 8 should be grounded on at least one of the two devices (both if the attenuator is used). VY Conversion Range 0 Practical logarithmic converters have an upper and lower limit on the input, beyond which errors increase rapidly. The upper limit occurs when the first stage in the chain is driven into limiting. Above this, no further increase in the output can occur and the transfer function flattens off. The lower limit arises because a finite number of stages provide finite gain, and therefore at low signal levels the system becomes a simple linear amplifier. ACTUAL VIN = VX VIN = 10VX INPUT ON LOG SCALE VIN = 100VX IDEAL Figure 20. Basic DC Transfer Function of the AD640 The AD640 conforms to Equation (1) except that its two outputs are in the form of currents, rather than voltages: IOUT = IY LOG (VIN /VX ) Equation (2) IY the Slope Current, is 1 mA. The current output can readily be converted to a voltage with a slope of 1 V/decade, for example, using one of the 1 kΩ resistors provided for this purpose, in conjunction with an op amp, as shown in Figure 21. 1mA PER DECADE R1 48.7V R2 AD844 C1 330pF 15 14 13 12 11 LOG LOG +VS SIG +OUT OUT COM OUTPUT VOLTAGE 1V PER DECADE FOR R2 = 1kV 100mV PER dB for R2 = 2kV AD640 6 –VS ITC 7 8 SIG BL2 –OUT 9 10 Figure 21. Using an External Op Amp to Convert the AD640 Output Current to a Buffered Voltage Output Intercept Stabilization Internally, the intercept voltage is a fraction of the thermal voltage kT/q, that is, VX = VXOT/TO, where VXO is the value of VX at a reference temperature TO. So the uncorrected transfer function has the form IOUT = IY LOG (VIN TO/VXOT) Equation (3) Now, if the amplitude of the signal input VIN could somehow be rendered PTAT, the intercept would be stable with temperature, since the temperature dependence in both the numerator and denominator of the logarithmic argument would cancel. This is what is actually achieved by interposing the on-chip attenuator, which has the necessary temperature dependence to cause the input to the first stage to vary in proportion to absolute temperature. The end limits of the dynamic range are now totally independent of temperature. Consequently, this is the preferred method of intercept stabilization for applications where the input signal is sufficiently large. REV. C Note that this lower limit is not determined by the intercept voltage, VX ; it can occur either above or below VX, depending on the design. When using two AD640s in cascade, input offset voltage and wideband noise are the major limitations to low level accuracy. Offset can be eliminated in various ways. Noise can only be reduced by lowering the system bandwidth, using a filter between the two devices. EFFECT OF WAVEFORM ON INTERCEPT The absolute value response of the AD640 allows inputs of either polarity to be accepted. Thus, the logarithmic output in response to an amplitude-symmetric square wave is a steady value. For a sinusoidal input the fluctuating output current will usually be low-pass filtered to extract the baseband signal. The unfiltered output is at twice the carrier frequency, simplifying the design of this filter when the video bandwidth must be maximized. The averaged output depends on waveform in a roughly analogous way to waveform dependence of rms value. The effect is to change the apparent intercept voltage. The intercept voltage appears to be doubled for a sinusoidal input, that is, the averaged output in response to a sine wave of amplitude (not rms value) of 20 mV would be the same as for a dc or square wave input of 10 mV. Other waveforms will result in different intercept factors. An amplitude-symmetric-rectangular waveform has the same intercept as a dc input, while the average of a baseband unipolar pulse can be determined by multiplying the response to a dc input of the same amplitude by the duty cycle. It is important to understand that in responding to pulsed RF signals it is the waveform of the carrier (usually sinusoidal) not the modulation envelope, that determines the effective intercept voltage. Table I shows the effective intercept and resulting decibel offset for commonly occurring waveforms. The input waveform does not affect the slope of the transfer function. Figure 22 shows the absolute deviation from the ideal response of cascaded AD640s for three common waveforms at input levels from –80 dBV to –10 dBV. The measured sine wave and triwave responses are 6 dB and 8.7 dB, respectively, below the square wave response—in agreement with theory. –9– AD640 Table I. Input Waveform Peak or RMS Intercept Factor Error (Relative to a DC Input) Square Wave Sine Wave Sine Wave Triwave Triwave Gaussian Noise Either Peak rms Peak rms rms 1 2 1.414(√2) 2.718 (e) 1.569(e/√3) 1.887 0.00 dB –6.02 dB –3.01 dB –8.68 dB –3.91 dB –5.52 dB Logarithmic Conformance and Waveform The waveform also affects the ripple, or periodic deviation from an ideal logarithmic response. The ripple is greatest for dc or square wave inputs because every value of the input voltage maps to a single location on the transfer function and thus traces out the full nonlinearities in the logarithmic response. By contrast, a general time varying signal has a continuum of values within each cycle of its waveform. The averaged output is thereby “smoothed” because the periodic deviations away from the ideal response, as the waveform “sweeps over” the transfer function, tend to cancel. This smoothing effect is greatest for a triwave input, as demonstrated in Figure 22. DEVIATION FROM EXACT LOGARITHMIC TRANSFER FUNCTION – dB 2 SQUARE WAVE INPUT 0 –2 –4 SINE WAVE INPUT –6 –8 TRIWAVE INPUT –10 –80 –70 –60 –50 –40 –30 –20 INPUT AMPLITUDE IN dB ABOVE 1V, AT 10kHz –10 Figure 22. Deviation from Exact Logarithmic Transfer Function for Two Cascaded AD640s, Showing Effect of Waveform on Calibration and Linearity DEVIATION FROM EXACT LOGARITHMIC TRANSFER FUNCTION – dB 4 2 SQUARE WAVE INPUT 0 –2 –4 SINE WAVE INPUT –8 –12 –70 SIGNAL MAGNITUDE AD640 is a calibrated device. It is, therefore, important to be clear in specifying the signal magnitude under all waveform conditions. For dc or square wave inputs there is, of course, no ambiguity. Bounded periodic signals, such as sinusoids and triwaves, can be specified in terms of their simple amplitude (peak value) or alternatively by their rms value (which is a measure of power when the impedance is specified). It is generally better to define this type of signal in terms of its amplitude because the AD640 response is a consequence of the input voltage, not power. However, provided that the appropriate value of intercept for a specific waveform is observed, rms measures may be used. Random waveforms can only be specified in terms of rms value because their peak value may be unbounded, as is the case for Gaussian noise. These must be treated on a case-by-case basis. The effective intercept given in Table I should be used for Gaussian noise inputs. On the other hand, for bounded signals the amplitude can be expressed either in volts or dBV (decibels relative to 1 V). For example, a sine wave or triwave of 1 mV amplitude can also be defined as an input of –60 dBV, one of 100 mV amplitude as –20 dBV, and so on. RMS value is usually expressed in dBm (decibels above 1 mW) for a specified impedance level. Throughout this data sheet we assume a 50 Ω environment, the customary impedance level for high speed systems, when referring to signal power in dBm. Bearing in mind the above discussion of the effect of waveform on the intercept calibration of the AD640, it will be apparent that a sine wave at a power of, say, –10 dBm will not produce the same output as a triwave or square wave of the same power. Thus, a sine wave at a power level of –10 dBm has an rms value of 70.7 mV or an amplitude of 100 mV (that is, √2 times as large, the ratio of amplitude to rms value for a sine wave), while a triwave of the same power has an amplitude which is √3 or 1.73 times its rms value, or 122.5 mV. “Intercept” and “Logarithmic Offset” If the signals are expressed in dBV, we can write the output in a simpler form, as –6 –10 The accuracy at low signal inputs is also waveform dependent. The detectors are not perfect absolute value circuits, having a sharp “corner” near zero; in fact they become parabolic at low levels and behave as if there were a dead zone. Consequently, the output tends to be higher than ideal. When there are enough stages in the system, as when two AD640s are connected in cascade, most detectors will be adequately loaded due to the high overall gain, but a single AD640 does not have sufficient gain to maintain high accuracy for low level sine wave or triwave inputs. Figure 23 shows the absolute deviation from calibration for the same three waveforms for a single AD640. For inputs between –10 dBV and –40 dBV the vertical displacement of the traces for the various waveforms remains in agreement with the predicted dependence, but significant calibration errors arise at low signal levels. IOUT = 50 µA (InputdBV – XdBV) TRIWAVE INPUT –60 –50 –40 –30 –20 INPUT AMPLITUDE IN dB ABOVE 1V, AT 10kHz –10 Figure 23. Deviation from Exact Logarithmic Transfer Function for a Single AD640; Compare Low Level Response with that of Figure 22 Equation (4) where InputdBV is the input voltage amplitude (not rms) in dBV and XdBV is the appropriate value of the intercept (for a given waveform) in dBV. This form shows more clearly why the intercept is often referred to as the logarithmic offset. For dc or square wave inputs, VX is 1 mV so the numerical value of XdBV is –60, and Equation (4) becomes –10– REV. C AD640 IOUT = 50 µA (InputdBV + 60) Equation (5) Erie RPE113-Z5U-105-K50V). Ferrite beads may be used instead of supply decoupling resistors in cases where the supply voltage is low. Alternatively, for a sinusoidal input measured in dBm (power in dB above 1 mW in a 50 Ω system) the output can be written IOUT = 50 µA (InputdBm + 44) Active Current-to-Voltage Conversion Equation (6) The compliance at LOG OUT limits the available output voltage swing. The output of the AD640 may be converted to a larger, buffered output voltage by the addition of an operational amplifier connected as a current-to-voltage (transresistance) stage, as shown in Figure 21. Using a 2 kΩ feedback resistor (R2) the 50 µA/dB output at LOG OUT is converted to a voltage having a slope of +100 mV/dB, that is, 2 V per decade. This output ranges from roughly –0.4 V for zero signal inputs to the AD640, crosses zero at a dc input of precisely +1 mV (or –1 mV) and is +4 V for a dc input of 100 mV. A passive prefilter, formed by R1 and C1, minimizes the high frequency energy conveyed to the op amp. The corner frequency is here shown as 10 MHz. The AD844 is recommended for this application because of its excellent performance in transresistance modes. Its bandwidth of 35 MHz (with the 2 kΩ feedback resistor) will exceed the baseband response of the system in most applications. For lower bandwidth applications other op amps and multipole active filters may be substituted (see, for example, Figure 32 in the APPLICATIONS section). because the intercept for a sine wave expressed in volts rms is at 1.414 mV (from Table I) or –44 dBm. OPERATION OF A SINGLE AD640 Figure 24 shows the basic connections for a single device, using 100 Ω load resistors. Output A is a negative going voltage with a slope of –100 mV per decade; output B is positive going with a slope of +100 mV per decade. For applications where absolute calibration of the intercept is essential, the main output (from LOG OUT, Pin 14) should be used; the LOG COM output can then be grounded. To evaluate the demodulation response, a simple low-pass output filter having a time constant of roughly 500 µs (3 dB corner of 320 Hz) is provided by a 4.7 µF (–20% +80%) ceramic capacitor (Erie type RPE117-Z5U-475-K50V) placed across the load. A DVM may be used to measure the averaged output in verification tests. The voltage compliance at Pins 13 and 14 extends from 0.3 V below ground up to 1 V below +VS. Since the current into Pin 14 is from –0.2 mA at zero signal to +2.3 mA when fully limited (dc input of >300 mV) the output never drops below –230 mV. On the other hand, the current out of Pin 13 ranges from 0.2 mA to +2.3 mA, and if desired, a load resistor of up to 2 kΩ can be used on this output; the slope would then be 2 V per decade. Use of the LOG COM output in this way provides a numerically correct decibel reading on a DVM (+100 mV = +1.00 dB). Effect of Frequency on Calibration The slope and intercept of the AD640 are calibrated during manufacture using a 2 kHz square wave input. Calibration depends on the gain of each stage being 10 dB. When the input frequency is an appreciable fraction of the 350 MHz bandwidth of the amplifier stages, their gain becomes imprecise and the logarithmic slope and intercept are no longer fully calibrated. However, the AD640 can provide very stable operation at frequencies up to about one half the 3 dB frequency of the amplifier stages. Figure 10 shows the averaged output current versus input level at 30 MHz, 60 MHz, 90 MHz and 120 MHz. Figure 11 shows the absolute error in the response at 60 MHz and at temperatures of –55°C, +25°C and +125°C. Figure 12 shows the variation in the slope current, and Figure 13 shows the variation in the intercept level (sinusoidal input) versus frequency. Board layout is very important. The AD640 has both high gain and wide bandwidth; therefore every signal path must be very carefully considered. A high quality ground plane is essential, but it should not be assumed that it behaves as an equipotential plane. Even though the application may only call for modest bandwidth, each of the three differential signal interface pairs (SIG IN, Pins 1 and 20, SIG OUT, Pins 10 and 11, and LOG, Pins 13 and 14) must have their own “starred” ground points to avoid oscillation at low signal levels (where the gain is highest). If absolute calibration is essential, or some other value of slope or intercept is required, there will usually be some point in the user’s system at which an adjustment may be easily introduced. For example, the 5% slope deficit at 30 MHz (see Figure 12) may be restored by a 5% increase in the value of the load resistor in the passive loading scheme shown in Figure 24, or by inserting a trim potentiometer of 100 Ω in series with the feedback resistor in the scheme shown in Figure 21. The intercept Unused pins (excluding Pins 8, 10 and 11) such as the attenuator and applications resistors should be grounded close to the package edge. BL1 (Pin 6) and BL2 (Pin 9) are internal bias lines a volt or two above the –VS node; access is provided solely for the addition of decoupling capacitors, which should be connected exactly as shown (not all of them connect to the ground). Use low impedance ceramic 0.1 µF capacitors (for example, DENOTES A SHORT, DIRECT CONNECTION TO THE GROUND PLANE. ALL UNMARKED CAPACITORS ARE 0.1mF CERAMIC (SEE TEXT) 10V +5V OUTPUT A OUTPUT B NC 20 OPTIONAL TERMINATION RESISTOR SIGNAL INPUT 19 18 17 16 15 14 13 12 11 SIG ATN CKT RG1 RG0 RG2 LOG LOG +VS SIG +IN OUT COM OUT COM +OUT 1kV 1kV 4.7mF RLA 100V 0.1% 4.7mF AD640 SIG ATN ATN ATN ATN –IN LO COM COM IN BL1 –VS 1 2 3 4 5 6 ITC 8 7 NC OPTIONAL OFFSET BALANCE RESISTOR SIG BL2 –OUT 9 10 NC 4.7V –5V NC = NO CONNECT Figure 24. Connections for a Single AD640 to Verify Basic Performance REV. C –11– RLB 100V 0.1% AD640 CASCADED OPERATION explains how the offset can be automatically nulled to submicrovolt levels by the use of a negative feedback network. can be adjusted by adding or subtracting a small current to the output. Since the slope current is 1 mA/decade, a 50 µA increment will move the intercept by 1 dB. Note that any error in this current will invalidate the calibration of the AD640. For example, if one of the 5 V supplies were used with a resistor to generate the current to reposition the intercept by 20 dB, a ± 10% variation in this supply will cause a ± 2 dB error in the absolute calibration. Of course, slope calibration is unaffected. Using Higher Supply Voltages Source Resistance and Input Offset The bias currents at the signal inputs (Pins 1 and 20) are typically 7 µA. These flow in the source resistances and generate input offset voltages which may limit the dynamic range because the AD640 is direct coupled and an offset is indistinguishable from a signal. It is good practice to keep the source resistances as low as possible and to equalize the resistance seen at each input. For example, if the source resistance to Pin 20 is 100 Ω, a compensating resistor of 100 Ω should be placed in series with Pin l. The residual offset is then due to the bias current offset, which is typically under 1 µA, causing an extra offset uncertainty of 100 µV in this example. For a single AD640 this will rarely be troublesome, but in some applications it may need to be nulled out, along with the internal voltage offset component. This may be achieved by adding an adjustable voltage of up to ± 250 µV at the unused input. (Pins l and 20 may be interchanged with no change in function.) In most applications there will be no need to use any offset adjustment. However, a general offset trimming circuit is shown in Figure 25. RS is the source resistance of the signal. Note: 50 Ω rf sources may include a blocking capacitor and have no dc path to ground, or may be transformer coupled and have a near zero resistance to ground. Determine whether the source resistance is zero, 25 Ω or 50 Ω (with the generator terminated in 50 Ω) to find the correct value of bias compensating resistor, RB, which should optimally be equal to RS, unless RS = 0, in which case use RB = 5 Ω. The value of ROS should be set to 20,000 RB to provide a ± 250 µV trim range. To null the offset, set the source voltage to zero and use a DVM to observe the logarithmic output voltage. Recall that the LOG OUT current of the AD640 exhibits an absolute value response to the input voltage, so the offset potentiometer is adjusted to the point where the logarithmic output “turns around” (reaches a local maximum or minimum). The AD640 is calibrated using ±5 V supplies. Scaling is very insensitive to the supply voltages (see dc SPECIFICATIONS) and higher supply voltages will not directly cause significant errors. However, the AD640 power dissipation must be kept below 500 mW in the interest of reliability and long-term stability. When using well regulated supply voltages above ± 6 V, the decoupling resistors shown in the application schematics can be increased to maintain ± 5 V at the IC. The resistor values are calculated using the specified maximum of 15 mA current into the +VS terminal (Pin 12) and a maximum of 60 mA into the –VS terminal (Pin 7). For example, when using ± 9 V supplies, a resistor of (9 V–5 V)/15 mA, about 261 Ω, should be included in the +VS lead to each AD640, and (9 V–5 V)/60 mA, about 64.9 Ω, in each –VS lead. Of course, asymmetric supplies may be dealt with in a similar way. Using the Attenuator In applications where the signal amplitude is sufficient, the onchip attenuator should be used because it provides a temperature independent dynamic range (compare Figures 18 and 19). Figure 26 shows this attenuator in more detail. R1 is a thin-film resistor of nominally 270 Ω and low temperature coefficient (TC). It is trimmed to calibrate the intercept to 10 mV dc (or –24 dBm for sinusoidal inputs), that is, to an attenuation of nominally 20 dBs at 27°C. R2 has a nominal value of 30 Ω and has a high positive TC, such that the overall attenuation factor is 0.33%/°C at 27°C. This results in a transmission factor that is proportional to absolute temperature, or PTAT. (See Intercept Stabilization for further explanation.) To improve the accuracy of the attenuator, the ATN COM nodes are bonded to both Pin 3 and Pin 4. These should be connected directly to the “SIGNAL LOW” of the source (for example, to the grounded side of the signal connector, as shown in Figure 32) not to an arbitrary point on the ground plane. SIG +IN ATN OUT 20 19 RB +5V 17 20 16 AD640 R2 RS (SOURCE RESISTANCE OF TERMINATED GENERATOR) 18 R1 19 FIRST AMPLIFIER R3 AD640 1 R4 2 1 2 3 4 5 SIG –IN ATN LO ATN COM ATN COM ATN IN ROS 20kV INPUT Figure 26. Details of the Input Attenuator –5V Figure 25. Optional Input Offset Voltage Nulling Circuit; See Text for Component Values At high frequencies it may be desirable to insert a coupling capacitor and use a choke between Pin 20 and ground, when Pin 1 should be taken directly to ground. Alternatively, transformer coupling may be used. In these cases, there is no added offset due to bias currents. When using two dc coupled AD640s (overall gain 100,000), it is impractical to maintain a sufficiently low offset voltage using a manual nulling scheme. The section R4 is identical to R2, and in shunt with R3 (270 Ω thin film) forms a 27 Ω resistor with the same TC as the output resistance of the attenuator. By connecting Pin 1 to ATN LOW (Pin 2) this resistance minimizes the offset caused by bias currents. The offset nulling scheme shown in Figure 25 may still be used, with the external resistor RB omitted and ROS = 500 kΩ. Offset stability is improved because the compensating voltage introduced at Pin 20 is now PTAT. Drifts of under 1 µV/°C (referred to Pins 1 and 20) can be maintained using the attenuator. –12– REV. C AD640 to null the input offset and minimize drift due to input bias offset. It is recommended that the input attenuator be used, providing a practical input range of –74 dBV (± 200 µV dc) to +6 dBV (± 2 V dc) when nulled using the adjustment circuit shown in Figure 25. It may occasionally be desirable to attenuate the signal even further. For example, the source may have a full-scale value of ± 10 V, and since the basic range of the AD640 extends only to ± 200 mV dc, an attenuation factor of ×50 might be chosen. This may be achieved either by using an independent external attenuator or more simply by adding a resistor in series with ATN IN (Pin 5). In the latter case the resistor must be trimmed to calibrate the intercept, since the input resistance at Pin 5 is not guaranteed. A fixed resistor of 1 kΩ in series with a 500 Ω variable resistor calibrate to an intercept of 50 mV (or –26 dBV) for dc or square wave inputs and provide a ± 10 V input range. The intercept stability will be degraded to about 0.003 dB/°C. Eliminating the Effect of First Stage Offset Usually, the input signal will be sinusoidal and U1 and U2 can be ac coupled. Figure 28a shows a low resistance choke at the input of U2 which shorts the dc output of U1 while preserving the hf response. Coupling capacitors may be inserted (Figure 28b) in which case two chokes are used to provide bias paths for U2. These chokes must exhibit high impedance over the operating frequency range. OPERATION OF CASCADED AD640S Frequently, the dynamic range of the input will be 50 dB or more. AD640s can be cascaded, as shown in Figure 27. The balanced signal output from U1 becomes the input to U2. Resistors are included in series with each LOG OUT pin and capacitors C1 and C2 are placed directly between Pins 13 and 14 to provide a local path for the RF current at these output pairs. C1 through C3 are chosen to provide the required low-pass corner in conjunction with the load RL. Board layout and grounding disciplines are critically important at the high gain (X100,000) and bandwidth (~150 MHz) of this system. 11 11 20 U2 U1 Alternatively, the input offset can be nulled by a negative feedback network from the SIG OUT nodes of U2 to the SIG IN nodes of U1, as shown in Figure 29. The low-pass response of the feedback path transforms to a closed-loop high-pass response. The high gain (×100,000) of the signal path results in a commensurate reduction in the effective time constant of this network. For example, to achieve a high-pass corner of 100 kHz, the low-pass corner must be at 1 Hz. Cascaded AD640s can be used in dc applications, but input offset voltage will limit the dynamic range. The dc intercept is 6 µV. The offset should not be confused with the intercept, which is found by extrapolating the transfer function from its central “log linear” region. This can be understood by referring to Equation (1) and noting that an input offset is simply additive to the value of VIN in the numerator of the logarithmic argument; it does not affect the denominator (or intercept) VX. In dc coupled applications of wide dynamic range, special precautions must be taken In fact, it is somewhat more complicated than this. When the ac input sufficiently exceeds that of the offset, the feedback becomes ineffective and the response becomes essentially dc coupled. Even for quite modest inputs the last stage will be limiting and the output (Pins 10 and 11) of U2 will be a square wave of about ± 180 mV amplitude, dwelling approximately equal times at its two limit values, and thus having a net average value near zero. Only when the input is very small does the highpass behavior of this nulling loop become apparent. Consequently, the low-pass time constant can usually be reduced considerably without serious performance degradation. The resistor values are chosen such that the dc feedback is adequate to null the worst case input offset, say, 500 µV. There DENOTES A CONNECTION TO THE GROUND PLANE; OBSERVE COMMON CONNECTIONS WHERE SHOWN. ALL UNMARKED CAPACITORS ARE 0.1mF CERAMIC. SEE TEXT FOR VALUES OF NUMBERED COMPONENTS. +5V 1mA/DECADE 10V 10V 10V C2 NC SIGNAL INPUT R1 18 17 16 15 14 13 12 11 SIG ATN CKT RG1 RG0 RG2 LOG LOG +VS SIG +IN OUT COM OUT COM +OUT 1kV 1kV 20 19 18 17 1 2 NC = NO CONNECT 3 4 5 6 16 15 14 12 11 C3 RL= 50V U2 AD640 7 ITC 8 SIG BL2 –OUT 9 10 SIG ATN ATN ATN ATN –IN LO COM COM IN BL1 –VS 1 2 3 4 5 6 7 NC ITC 8 SIG BL2 –OUT 9 10 NC 4.7V 4.7V Figure 27. Basic Connections for Cascaded AD640s REV. C 13 SIG ATN CKT RG1 RG0 RG2 LOG LOG +VS SIG +IN OUT COM OUT COM +OUT 1kV 1kV U1 AD640 SIG ATN ATN ATN ATN –IN LO COM COM IN BL1 –VS R2 OUTPUT –50mV/DECADE 10V C1 19 1 10 a. b. Figure 28. Two Methods for AC-Coupling AD640s The intercept voltage is calculated as follows. First, note that if its LOG OUT is disconnected, U1 simply inserts 50 dB of gain ahead of U2. This would lower the intercept by 50 dB, to –110 dBV for square wave calibration. With the LOG OUT of U1 added in, there is a finite zero signal current which slightly shifts the intercept. With the intercept temperature compensation on U1 disabled this zero signal output is –270 µA (see DC SPECIFICATIONS) equivalent to a 5.4 dB upward shift in the intercept, since the slope is 50 µA/dB. Thus, the intercept is at –104.6 dBV (–88.6 dBm for 50 Ω sine calibration). ITC may be disabled by grounding Pin 8 of either U1 or U2. 20 U2 U1 1 10 20 –13– –5V AD640 14mA must be some resistance at Pins 1 and 20 across which the offset compensation voltage is developed. The values shown in the figure assume that we wish to terminate a 50 Ω source at Pin 20. The 50 Ω resistor at Pin 1 is essential, both to minimize offsets due to bias current mismatch and because the outputs at Pins 10 and 11 can only swing negatively (from ground to –180 mV) whereas we need to cater for input offsets of either polarity. –200mV R1 50V INPUT R3 4.99kV 11 20 20 1 For a sine input of 1 µV amplitude (–120 dBV) and in the absence of offset, the differential voltage at Pins 10 and 11 of U2 would be almost sinusoidal but 100,000 times larger, or 100 mV. The last limiter in U2 would be entering saturation. A 1 µV input offset added to this signal would put the last limiter well into saturation, and its output would then have a different average value, which is extracted by the low-pass network and delivered back to the input. For larger signals, the output approaches a square wave for zero input offset and becomes rectangular when offset is present. The duty cycle modulation of this output now produces the nonzero average value. Assume a maximum required differential output of 100 mV (after averaging in C1 and C2) as shown in Figure 29. R3 through R6 can now be chosen to provide ± 500 µV of correction range, and with these values the input offset is reduced by a factor of 500. Using 4.7 µF capacitors, the time constant of the network is about 1.2 ms, and its corner frequency is at 13.5 Hz. The closed loop high-pass corner (for small signals) is, therefore, at 1.35 MHz. 1 10 –700mV 11 C1 10 C2 U2 U1 R2 50V R4 4.99kV AVE = –40mV R5 4.99kV R6 4.99kV AVE = –140mV 4mA Figure 29. Feedback Offset Correction Network –3 dB frequency of the filter must be above the highest fre quency to be handled by the converter; if not, nonlinearity in the transfer function will occur. This can be seen intuitively by noting that the system would then contract to a single AD640 at very high frequencies (when U2 has very little input). At intermediate frequencies, U2 will contribute less to the output than would be the case if there were no interstage attenuation, resulting in a kink in the transfer function. More complex filtering may be considered. For example, if the signal has a fairly narrow bandwidth, the simple chokes shown in Figure 28 might be replaced by one or more parallel tuned circuits. Two separate tuned circuits or transformer coupling should be used to eliminate all undesirable hf common mode coupling between U1 and U2. The choice of Q for these circuits requires compromise. Frequency sensitive nonlinearities can arise at the edges of the band if the Q is set too high; if too low, the transmission of the signal from U1 to U2 will be affected even at the center frequency, again resulting in nonlinearity in the conversion response. In calculating the Q, note that the resistance from Pins 10 and 11 to ground is 75 Ω. The input resistance at Pins 1 and 20 is very high, but the capacitances at these pins must also be factored into the total LCR circuit. Bandwidth/Dynamic Range Trade-Offs The first stage noise of the AD640 is 2 nV/√Hz (short circuited input) and the full bandwidth of the cascaded ten stages is about 150 MHz. Thus, the noise referred to the input is 24.5 µV rms, or –79 dBm, which would limit the dynamic range to 77 dBs (–79 dBm to –2 dBm). In practice, the source resistances will also generate noise, and the full bandwidth dynamic range will be less than this. PRACTICAL APPLICATIONS A low-pass filter between U1 and U2 can limit the noise bandwidth and extend the dynamic range. The simplest way to do this is by the addition of a pair of grounded capacitors at the signal outputs of U1 (shown as C1 and C2 in Figure 32). The We show here two applications, using cascaded AD640s to achieve a wide dynamic range. As already mentioned, the use of a differential signal path and differential logarithmic outputs R13 1.13kV (SEE TEXT) 4.7V DENOTES A CONNECTION TO THE GROUND PLANE; OBSERVE COMMON CONNECTIONS WHERE SHOWN. ALL UNMARKED CAPACITORS ARE 0.1mF CERAMIC. SEE TEXT FOR VALUES OF NUMBERED COMPONENTS. +6V LOG OUTPUT +50mV/dB U3 AD844 4.7V –6V (LO) R3 100V 68V +6V R4 100V 68V C1 47pF C2 47pF NC 20 R1 19 18 17 16 15 14 13 12 20 11 SIG ATN CKT RG1 RG0 RG2 LOG LOG +VS SIG +IN OUT COM OUT COM +OUT 1kV 1kV SIGNAL INPUT U1 AD640 SIG ATN ATN ATN ATN –IN LO COM COM IN BL1 –VS R2 1 2 3 4 5 6 7 ITC 8 L1 (SEE TEXT) SIG BL2 –OUT 9 19 18 17 16 15 14 12 11 SIG ATN CKT RG1 RG0 RG2 LOG LOG +VS SIG +IN OUT COM OUT COM +OUT 1kV 1kV U2 AD640 SIG ATN ATN ATN ATN –IN LO COM COM IN BL1 –VS 10 13 1 2 3 4 5 6 7 ITC 8 NC SIG BL2 –OUT 9 10 NC 18V NC = NO CONNECT 18V –6V Figure 30. Complete 70 dB Dynamic Range Converter for 50 MHz–150 MHz Operation –14– REV. C AD640 diminishes the risk of instability due to poor grounding. Nevertheless, it must be remembered that at high frequencies even very small lengths of wire, including the leads to capacitors, have significant impedance. The ground plane itself can also generate small but troublesome voltages due to circulating currents in a poor layout. A printed circuit evaluation board is available from Analog Devices (Part Number ADEB640) to facilitate the prototyping of an application using one or two AD640s, plus various external components. A transimpedance op amp (U3, AD844) converts the summed logarithmic output currents of U1 and U2 to a ground referenced voltage scaled 1 V per decade. The resistor R5 is nominally 1 kΩ but is increased slightly to compensate for the slope deficit at the operating frequency, which can be determined from Figure 12. At very low signal levels various effects can cause significant deviation from the ideal response, apart from the inherent nonlinearities of the transfer function already discussed. Note that any spurious signal presented to the AD640s is demodulated and added to the output. Thus, in the absence of thorough shielding, emissions from any radio transmitters or RFI from equipment operating in the locality will cause the output to appear too high. The only cure for this type of error is the use of very careful grounding and shielding techniques. +1 4 LOW-PASS FILTERED OUTPUT – V 0 50 MHz–150 MHz Converter with 70 dB Dynamic Range Figure 30 shows a logarithmic converter using two AD640s which can provide at least 70 dB of dynamic range, limited mostly by first stage noise. In this application, an rf choke (L1) prevents the transmission of dc offset from the first to the second AD640. One or two turns in a ferrite core will generally suffice for operation at frequencies above 30 MHz. For example, one complete loop of 20 gauge wire through the two holes in a Fair-Rite type 2873002302 core provides an inductance of 5 µH, which presents an impedance of 1.57 kΩ at 50 MHz. The shunting effect across the 150 Ω differential impedance at the signal interface is thus fairly slight. –1 3 2 1 0 –70 C4 4.7mF C3 100mF 9.1V +6V TO U1 AND U2 –6V R1 49.9V 2 1/2 AD712 3 U3a 1 R2 R3 50kV 50kV 5 C6 0.1mF TO U3 AND U4 68V +6V 1/2 AD712 6 U3b 9.1V 0.1mF 0 C5 0.1mF +15V 0.1mF –10 This filtering is adequate for input frequencies of 50 MHz or above; more elaborate filtering can be devised for pulse applications requiring a faster rise time. In applications where only a long term measure of the input is needed, C1 and C2 can DENOTES A CONNECTION TO THE GROUND PLANE; OBSERVE COMMON CONNECTIONS WHERE SHOWN. ALL UNMARKED CAPACITORS ARE 0.1mF CERAMIC. –15V –50 –40 –30 –20 INPUT LEVEL – dBm IN 50V 5 ns. These capacitors should be connected directly across Pins 13 and 14, as shown, to prevent high frequency output currents from circulating in the ground plane. A second 5 ns time constant is formed by feedback resistor R5 in conjunction with the transcapacitance of U3. Note that all unused inputs are grounded; this improves the isolation from the outputs back to the inputs. TO U3 AND U4 –60 Figure 31. Logarithmic Output and Nonlinearity for Circuit of Figure 30, for a Sine Wave Input at f = 80 MHz The signal source is optionally terminated by R1. To minimize the input offset voltage R2 should be chosen to match the dc resistance of the terminated source. (However, the offset voltage is not a critical consideration in this ac-coupled application.) +15V 7 R4 200kV R5 200kV LOG OUTPUT +100mV/dB 68V –15V R6 3.3MV 5kV A 3 1/2 AD712 NC 20 OFFSET NULLING FEEDBACK 19 18 17 16 15 14 13 12 11 SIG ATN CKT RG1 RG0 RG2 LOG LOG +VS SIG +IN OUT COM OUT COM +OUT 1kV 1kV 20 C1 (SEE TEXT) 19 18 1 2 5kV 3 4 5 6 17 16 15 14 13 12 2 U4a 11 SIG ATN CKT RG1 RG0 RG2 LOG LOG +VS SIG +IN OUT COM OUT COM +OUT 1kV 1kV 7 8 9 10 C2 (SEE TEXT) SIG ATN ATN ATN ATN SIG –IN LO COM COM IN BL1 –VS ITC BL2 –OUT 1 2 3 4 5 6 7 8 9 NC = NO CONNECT SIGNAL INPUT 18V C8 4.7mF 10 5 –6V Figure 32. Complete 95 dB Dynamic Range Converter REV. C –15– R7 3.3MV B OFFSET NULLING FEEDBACK 1/2 AD712 B 18V 1 C7 4.7mF U2 AD640 U1 AD640 SIG SIG ATN ATN ATN ATN –IN LO COM COM IN BL1 –VS ITC BL2 –OUT ERROR – dB The inverting input of U3 forms a virtual ground, so that each logarithmic output of U1 and U2 is loaded by 100 Ω (R3 or R4). These resistors in conjunction with capacitors C1 and C2 form independent low-pass filters with a time constant of about 6 U4b 7 A AD640 To increase the dynamic range it is necessary to reduce the bandwidth by the inclusion of a low-pass filter at the signal interface between U1 and U2 (Figure 32). To provide operation down to low frequencies, dc coupling is used at the interface between AD640s and the input offset is nulled by a feedback circuit. LOG OUTPUT FROM CIRCUIT OF FIGURE 32 – V Using values of 0.02 µF in the interstage filter formed by capacitors C1 and C2, the hf corner occurs at about 100 kHz. U3 (AD712) forms a 4-pole 35 Hz low-pass filter. This provides operation to signal frequencies below 20 Hz. The filter response is not critical, allowing the use of an electrolytic capacitor to form one of the poles. R1 is restricted to 50 Ω by the compliance at Pin 14, so C3 needs to be large to form a 5 ms time constant. A tantalum capacitor is used (note polarity). The output of U3a is scaled +1 V per decade, and the X2 gain of U3b raises this to +2 V per decade, or +100 mV/dB. The differential offset at the output of U2 is low-pass filtered by R6/C7 and R7/C8 and buffered by voltage followers U4a and U4b. The 16s open loop time constant translates to a closed loop high-pass corner of 10 Hz. (This 2 9 8 0 7 –2 6 5 4 3 2 C1297b–0–12/99 (rev. C) 10 Hz–100 kHz Converter with 95 dB Dynamic Range high-pass filter is only operative for very small inputs; see page 13.) Figure 33 shows the performance for square wave inputs. Since the attenuator is used, the upper end of the dynamic range now extends to +6 dBV and the intercept is at –82 dBV. The noise limited dynamic range is over 100 dB, but in practice spurious signals at the input will determine the achievable range. ERROR FROM IDEAL TRANSFER FUNCTION – dB be increased and U3 can be replaced by a low speed op amp. Figure 31 shows typical performance of this converter. 1 0 –1 –90 –80 –70 –60 –50 –40 –30 –20 –10 31.6m 100m 316m 1m 3.16m 10m 31.6m 100m 316m INPUT AMPLITUDE AT 10kHz 0 1 10 dBV 3.16 V Figure 33. Logarithmic Output and Nonlinearity for Circuit of Figure 32, for a Square Wave Input at f = 10 kHz OUTLINE DIMENSIONS Dimensions shown in inches and (mm). 20-Lead Ceramic DIP (D) Package 20-Lead Plastic DIP (N) Package 0.430 (10.16) 1.070 (27.18) 1 10 0.310 (7.874) TYP 0.300 (7.62) 0.280 (7.11) 20 11 1 PIN 1 10 0.045 (1.143) 0.025 (0.635) PIN 1 1.010 (25.65) 0.990 (25.15) 0.095 (2.41) SEATING PLANE 0.020 (0.51) 0.015 (0.38) 0.054 (1.37) 0.040 (1.01) 0.012 (0.30) 0.008 (0.20) 19 14 18 PIN 1 INDEX 0.050 (1.27) 20 8 0.033 (0.838) TYP SEATING PLANE 0.014 (0.356) 0.008 (0.203) 158 08 4 BOTTOM VIEW 20-Lead PLCC (P) Package 0.173 6 0.008 (4.385 6 0.185) 0.040 3 458 (1.02 3 458) REF 3 PLCS 3 0.105 6 0.015 (2.665 6 0.375) 0.390 6 0.005 SQ (9.905 6 0.125) 0.025 6 0.003 (0.635 6 0.075) 1 9 0.180 (4.572) MAX 0.300 (7.62) 0.350 6 0.008 SQ (8.89 6 0.20) 13 0.100 (2.54) TYP 0.021 (0.533) 0.015 (0.381) 20-Terminal Ceramic LCC (E) Package 0.082 6 0.018 (2.085 6 0.455) 0.300 (7.62) TYP 0.125 (3.18) MIN 0.085 (2.16) 0.210 (5.33) 0.150 (3.81) 0.10 (2.54) 0.250 (6.350) TYP 0.045 6 0.003 (1.143 6 0.076) 0.20 3 458 (0.51 3 458) REF 0.020 (0.51) MAX 3 PIN 1 IDENTIFIER 4 0.020 (0.51) MAX –16– 18 0.050 (1.27) TOP VIEW (PINS DOWN) 8 14 9 0.020 (0.51) MIN 0.035 6 0.01 (0.89 6 0.25) R 19 13 0.029 6 0.003 (0.737 6 0.076) 0.017 6 0.004 (0.432 6 0.101) 0.025 (0.64) MIN 0.353 6 0.003 SQ (8.966 6 0.076) 0.060 (1.53) MIN REV. C PRINTED IN U.S.A. 0.320 (8.13) 0.300 (7.62) 11 20