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 DESCRIPTION
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
FUNCTIONAL BLOCK DIAGRAM
COM
RG1RG0
1kV
18
171614
1kV
RG2
15
LOG OUT
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.
PRODUCT HIGHLIGHTS
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.
(continued on page 4)
LOG COM
13
INTERCEPT POSITIONING BIAS
12
+V
S
FULL-WAVE
DETECTOR
AMPLIFIER/LIMITER
270V
5
ATN IN
SIG +IN
SIG –IN
19
20
1
2
27V
3
30V
4
ATN OUT
ATN LO
ATN COM
ATN COM
*Protected under U.S. patent number 4,990,803.
6
BL1
FULL-WAVE
DETECTOR
10dB10dB
AMPLIFIER/LIMITER
GAIN BIAS REGULATOR
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.
Model AD640J AD640B AD640T
ParameterConditionsMinTypMaxMinTypMaxMinTypMaxUnits
SIGNAL INPUTS (Pins 1, 20)
Input CapacitanceEither Pin to COM222pF
Noise Spectral Density1 kHz to 10 MHz222nV/√Hz
Tangential SensitivityBW = 100 MHz–72–72–72dBm
3 dB BANDWIDTH
Each Stage350350350MHz
All Five StagesPins 1 & 20 to 10 & 11145145145MHz
LOGARITHMIC OUTPUTS
Slope Current, I
Y
5
f< = 1 MHz0.961.01.040.981.01.020.981.01.02mA
f = 30 MHz0.880.941.000.910.940.970.910.940.97mA
f = 60 MHz0.820.900.980.860.900.940.860.900.94mA
f = 90 MHz0.880.880.88mA
f = 120 MHz0.850.850.85mA
Intercept, Dual AD640s
10, 11
f< = 1 MHz–90.6–88.6–86.6–89.6–88.6–87.6–89.6–88.6–87.6dBm
f = 30 MHz–87.6–87.6–87.6dBm
f = 60 MHz–86.3–86.3–86.3dBm
f = 90 MHz–83.9–83.9–83.9dBm
f = 120 MHz–80.3–80.3–80.3dBm
AC LINEARITY
–40 dBm to –2 dBm
–35 dBm to –10 dBm
–75 dBm to 0 dBm
–70 dBm to –10 dBm
–75 dBm to +15 dBm
12
12
10
10
13
f = 1 MHz0.52.00.51.00.51.0dB
f = 1 MHz0.251.00.250.50.250.5dB
f = 1 MHz0.753.00.751.50.751.5dB
f = 1 MHz0.52.00.51.00.51.0dB
f = 10 kHz0.53.00.51.50.51.5dB
Logarithms to base 10 are used throughout. The response is independent of the sign of VIN.
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 LOG10 (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 R
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.
and R
LA
Includes slope and nonlinearity errors. Input offset errors also included for
LB.
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.
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 dy-
namic range using cascaded AD640s can be extended to 95 dB
by the inclusion of a simple filter between the two devices.
Lead Temperature Range (Soldering 60 sec) . . . . . . . . +300°C
*Stresses above those listed under Absolute Maximum Ratings may cause perma-
nent 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.
ORDERING GUIDE
TemperaturePackagePackage
ModelRangeDescriptionOption
AD640JN0°C to +70°C20-Lead Plastic DIPN-20
AD640JP0°C to +70°C20-Lead PLCCP-20A
AD640BD–40°C to +85°C20-Lead Ceramic DIPD-20
AD640BE–40°C to +85°C20-Terminal Ceramic
LCCE-20A
AD640BP–40°C to +85°C 20-Lead PLCCP-20A
AD640TD/883B–55°C to +125°C 20-Lead Ceramic DIPD-20
5962-9095501MRA –55°C to +125°C 20-Lead Ceramic DIPD-20
AD640TE/883B–55°C to +125°C 20-Terminal Ceramic
LCCE-20A
5962-9095501M2A –55°C to +125°C 20-Terminal Ceramic
LCCE-20A
AD640TCHIPS–55°C to +125°CDie
AD640EBEvaluation Board
AD640JP-REEL0°C to +70°C13" Tape and ReelP-20A
AD640JP-REEL70°C to +70°C7" Tape and ReelP-20A
SIG +IN
ATN OUT
CKT COM
RG1
RG0
RG2
LOG OUT
LOG COM
+V
S
SIG +OUT
ATN COM
ATN IN
BL1
–V
ITC
4
5
6
7
S
8
ATN COM
ATN LO
SIG –IN
3 2 1 20 19
SIG +IN
PIN 1
IDENTIFIER
AD640
TOP VIEW
(Not to Scale)
9 10 11 12 13
BL2
SIG –OUT
SIG +OUT
S
+V
ATN OUT
18
CKT COM
17
RG1
16
RG0
15
RG2
14
LOG OUT
LOG COM
ATN COM
ATN IN
BL1
–V
ITC
4
5
6
7
S
8
ATN COM
ATN LO
SIG –IN
SIG +IN
2
20 191
3
AD640
TOP VIEW
(Not to Scale)
910111213
BL2
SIG –OUT
S
+V
SIG +OUT
ATN OUT
18
17
16
15
14
LOG COM
CKT COM
RG1
RG0
RG2
LOG OUT
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.
REV. C–4–
Typical DC Performance Characteristics–AD640
4.55.05.56.06.57.07.5
POWER SUPPLY VOLTAGES – 6 Volts
SLOPE CURRENT – mA
1.006
1.004
1.002
1.000
0.998
0.996
0.994
–60 –40 –20 0 20 40 60 80 100 120 140
TEMPERATURE – 8C
DEVIATION OF INPUT OFFSET VOLTAGE – mV
0
–0.1
+0.4
+0.3
+0.2
+0.1
–0.2
–0.3
INPUT OFFSET VOLTAGE
DEVIATION WILL BE WITHIN
SHADED AREA.
2.5
2.0
1.5
1.0
0.5
–60 –40 –20 0 20 40 60 80 100 120 140
TEMPERATURE – 8C
0
ABSOLUTE ERROR – dB
1.015
1.010
1.005
1
0.995
0.990
SLOPE CURRENT – mA
0.985
0.980
–60 –40 –20 0 20 40 60 80 100 120 140
TEMPERATURE – 8C
Figure 1. Slope Current, IY vs.
Temperature
1.015
1.010
1.005
1.000
0.995
INTERCEPT VOLTAGE – mV
0.990
0.985
4.55.05.56.06.57.07.5
POWER SUPPLY VOLTAGES – 6 Volts
1.20
1.15
1.10
1.05
1.00
INTERCEPT – mV
0.95
0.90
0.85
–60 –40 –20 0 20 40 60 80 100 120 140
TEMPERATURE – 8C
Figure 2. Intercept Voltage, VX, vs.
Temperature
14
13
12
11
10
INTERCEPT – mV
9
8
7
–60 –40 –20 0 20 40 60 80 100 120 140
TEMPERATURE – 8C
Figure 3. Slope Current, IY vs.
Supply Voltages
Figure 4. Intercept Voltage, VX, vs.
Supply Voltages
2.4
2.2
2.0
1.8
1.6
1.4
1.2
1.0
0.8
0.6
0.4
0.2
OUTPUT CURRENT – mA
0
–0.2
–0.4
0.11.01000.010.0100.0
INPUT VOLTAGE – mV
(EITHER SIGN)
Figure 7. DC Logarithmic Transfer
Function and Error Curve for Single
AD640
REV. C–5–
2
1
0
ERROR – dB
Figure 5. Intercept Voltage (Using
Attenuator) vs. Temperature
2.5
2.0
1.5
1.0
ABSOLUTE ERROR – dB
0.5
0
–60 –40 –20 0 20 40 60 80 100 120 140
TEMPERATURE – 8C
Figure 8. Absolute Error vs. Temperature, V
= ⴞ1 mV to ⴞ100 mV
IN
Figure 6. Input Offset Voltage
Deviation vs. Temperature
Figure 9. Absolute Error vs.
Temperature, Using Attenuator.
V
= ⴞ10 mV to ⴞ1 V, Pin 8
IN
Grounded to Disable ITC Bias
AD640
+258C
+1258C
–558C
+1258C
–558C
+258C
+1258C
–558C
–558C
INPUT LEVEL – dBm
–2.5
0
–500
OUTPUT CURRENT – mA
–2.0
–1.5
–1.0
–5
0.5
–40–30–20–10
+1
0
–1
–2
+1258C
+258C
AD640
FREQUENCY = 60MHz
ERROR IN dB
INPUT FREQUENCY – MHz
INTERCEPT LEVEL – dBm
90
80
012010 20100 110
89
87
86
85
84
88
30 40 50 60 70 80 90
83
82
81
10
0%
5µs
5µs
20mV
20mV
100
90
–2.5
–2.0
–1.5
–1.0
–0.5
OUTPUT CURRENT – mA
0
0.5
–50–30–20–100
–Typical AC Performance Characteristics
30MHz
60MHz
90MHz
120MHz
AD640 6VS = 5 VOLTS
TEMPERATURE = +258C
–40
INPUT LEVEL – dBm
Figure 10. AC Response at 30 MHz, 60 MHz, 90 MHz and
120 MHz, vs. dBm Input (Sinusoidal Input)
1.0
0.95
0.90
SLOPE CURRENT – mA
0.85
0.80
DC30
6090120150
FREQUENCY – MHz
Figure 11. Slope Current, IY, vs. Input Frequency
Figure 13. Logarithmic Response and Linearity at 60 MHz,
T
for TA = –55ⴗC, +25ⴗC, +125ⴗC
A
Figure 14. Intercept Level (dBm) vs. Frequency
(Cascaded AD640s – Sinusoidal Input)
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
REV. C–6–
CIRCUIT DESCRIPTION
Q3 Q4Q5
Q6
Q7
Q8
1.09mA
PTAT
1.09mA
PTAT
R2
85V
565mA
Q2
R1
85V
Q1
Q9
LOG OUT
565mA
Q10
LOG COM
2.18mA
PTAT
R4
75V
R3
75V
SIG OUT
SIG IN
COMMON
–V
S
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.
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.
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.
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.
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
COM
RG1RG0
1kV
18
171614
1kV
RG2
15
LOG OUT
AD640
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 abso-
lute 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 fol-
lowers 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
LOG COM
13
INTERCEPT POSITIONING BIAS
12
+V
S
FULL-WAVE
DETECTOR
10dB10dB
AMPLIFIER/LIMITER
GAIN BIAS REGULATOR
ATN OUT
ATN COM
ATN COM
19
20
SIG +IN
SIG –IN
1
ATN LO
2
3
4
27V
30V
FULL-WAVE
DETECTOR
5
ATN IN
AMPLIFIER/LIMITER
270V
6
BL1
Figure 17. Block Diagram of the Complete AD640
REV. C–7–
FULL-WAVE
DETECTOR
10dB
AMPLIFIER/LIMITER
FULL-WAVE
DETECTOR
AMPLIFIER/LIMITER
7
–V
S
FULL-WAVE
DETECTOR
10dB10dB
AMPLIFIER/LIMITER
SLOPE BIAS REGULATOR
11
10
9
8
SIG +OUT
SIG –OUT
BL2
ITC
AD640
INPUT VOLTAGE – mV
2.5
0
1
OUTPUT CURRENT – mA
10100100010000
1
0
–1
–2
2.0
1.5
1.0
0.5
–0.5
+258C
+858C
+1258C
–558C
ABSOLUTE ERROR – dB
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.
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.
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 af-
fected 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.
2.5
2.0
1.5
1.0
0.5
OUTPUT CURRENT – mA
0
–0.5
0.1
1.010.0100.01000.0
INPUT VOLTAGE – mV
Figure 18. Logarithmic Output and Absolute Error vs. DC
or Square Wave Input at T
= –55°C, +25°C, Input Direct
A
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
+1258C
–558C
–558C
+258C
+1258C
+258C
2
1
0
–1
–2
ABSOLUTE ERROR – dB
Figure 19. Logarithmic Output and Absolute Error vs. DC
or Square Wave Input at T
+125
°
C, Input via On-Chip Attenuator
= –55°C, +25°C, +85°C and
A
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 V
and output V
IN
must satisfy a transfer func-
OUT
tion of the form
V
= VY LOG (VIN/VX)Equation (1)
OUT
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, V
and VY must be based on
X
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 V
the Intercept Voltage, because a graph of V
= VX, the logarithm is zero. VX is, therefore, called
IN
versus LOG (VIN)
OUT
—ideally a straight line—crosses the horizontal axis at this point
REV. C–8–
AD640
(see Figure 20). For the AD640, VX is calibrated to exactly
1 mV. The slope of the line is directly proportional to V
. Base
Y
10 logarithms are used in this context to simplify the relationship to decibel values. For V
value of 1, so the output voltage is V
output is 2 V
, and so on. VY can therefore be viewed either as
Y
= 10 VX, the logarithm has a
IN
. At VIN = 100 VX, the
Y
the Slope Voltage or as the Volts per Decade Factor.
IDEAL
ACTUAL
Y
INPUT ON
X
LOG SCALE
2V
V
0
Y
Y
V
Y
ACTUAL
LOG (VIN/VX)
SLOPE = V
VIN = VXVIN = 10VXVIN = 100V
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:
I
= IY LOG (VIN/VX)Equation (2)
OUT
I
the Slope Current, is1 mA. The current output can readily be
Y
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
R1
48.7V
C1
330pF
+V
LOG
LOG
COM
OUT
AD640
–V
ITC BL2
S
6
7
9
8
DECADE
1115141312
SIG
S
+OUT
SIG
–OUT
10
R2
AD844
OUTPUT VOLTAGE
1V PER DECADE
FOR R2 = 1kV
100mV PER dB
for R2 = 2kV
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, V
= VXOT/TO, where VXO is the value of V
X
X
at a reference temperature TO. So the uncorrected transfer
function has the form
I
= IY LOG (VIN TO/VXOT)Equation (3)
OUT
Now, if the amplitude of the signal input V
could somehow be
IN
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 nowtotally independent of temperature. Consequently, this is the
preferred method of intercept stabilization for applications
where the input signal is sufficiently large.
When the attenuator is not used, the PTAT variation in V
X
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 I
LOG(T/TO)
Y
is added to the output. This effectively maintains a constant
intercept V
. This correction is active in the default state (Pin
XO
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).
Conversion Range
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.
Note that this lower limit is not determined by the intercept
voltage, V
; it can occur either above or below VX, depending
X
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.
REV. C–9–
AD640
Table I.
InputPeakInterceptError (Relative
Waveformor RMSFactorto a DC Input)
Square WaveEither10.00 dB
Sine WavePeak2–6.02 dB
Sine Waverms1.414(√2)–3.01 dB
TriwavePeak2.718 (e)–8.68 dB
Triwaverms1.569(e/√3)–3.91 dB
Gaussian Noiserms1.887–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.
2
0
–2
–4
–6
TRANSFER FUNCTION – dB
–8
DEVIATION FROM EXACT LOGARITHMIC
–10
–70–60–50–40–30–20–10
–80
INPUT AMPLITUDE IN dB ABOVE 1V, AT 10kHz
SQUARE WAVE INPUT
SINE WAVE INPUT
TRIWAVE INPUT
Figure 22. Deviation from Exact Logarithmic Transfer
Function for Two Cascaded AD640s, Showing Effect of
Waveform on Calibration and Linearity
4
2
0
–2
–4
–6
–8
TRANSFER FUNCTION – dB
–10
DEVIATION FROM EXACT LOGARITHMIC
–12
–70–60–50–40–30–20–10
INPUT AMPLITUDE IN dB ABOVE 1V, AT 10kHz
SQUARE WAVE INPUT
SINE WAVE INPUT
TRIWAVE INPUT
Figure 23. Deviation from Exact Logarithmic Transfer
Function for a Single AD640; Compare Low Level
Response with that of Figure 22
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.
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. Through-
Ω
out 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
I
= 50 µA (Input
OUT
where Input
and X
is the appropriate value of the intercept (for a given
dBV
is the input voltage amplitude (not rms) in dBV
dBV
dBV
– X
)Equation (4)
dBV
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, V
is 1 mV so the numerical value of X
X
dBV
is –60,
and Equation (4) becomes
REV. C–10–
I
= 50 µA (Input
OUT
+ 60)Equation (5)
dBV
Alternatively, for a sinusoidal input measured in dBm (power in
dB above 1 mW in a 50 Ω system) the output can be written
I
= 50 µA (Input
OUT
+ 44)Equation (6)
dBm
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 +V
. Since the current into Pin 14 is from –0.2 mA at
S
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).
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).
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)
SIGNAL
INPUT
OPTIONAL
TERMINATION
RESISTOR
OFFSET BALANCE
OPTIONAL
RESISTOR
20
SIG
+IN
SIG
–IN
ATN
CKT
OUT
COM
ATNLOATN
COM
2
RG1 RG0 RG2 LOG
ATN
COM
41091
1kV 1kV
AD640
ATN
IN
151314161918171112
OUT
–V
BL1BL2ITC
68753
Figure 24. Connections for a Single AD640 to Verify Basic Performance
AD640
Erie RPE113-Z5U-105-K50V). Ferrite beads may be used
instead of supply decoupling resistors in cases where the supply
voltage is low.
Active Current-to-Voltage Conversion
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 volt-
age 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 resis-
tor) 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).
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.
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 feed-
back resistor in the scheme shown in Figure 21. The intercept
NC
LOG
+VSSIG
COM
S
NC
NC = NO CONNECT
+OUT
SIG
–OUT
NC
10V
4.7mF
4.7V
R
LA
100V
0.1%
+5V
–5V
4.7mF
OUTPUT A
OUTPUT B
R
LB
100V
0.1%
REV. C–11–
AD640
43215
1718192016
ATN
COM
SIG
–IN
SIG
+IN
ATN
COM
ATN
LO
ATN
IN
R3
R4
R1
R2
ATN
OUT
FIRST
AMPLIFIER
INPUT
AD640
can be adjusted by adding or subtracting a small current to the
output. Since the slope current is 1 mA/decade, a 50 µA incre-
ment 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.
Source Resistance and Input Offset
The bias currents at the signal inputs (Pins 1 and 20) are typi-
cally 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. R
is the source resistance of the signal. Note: 50 Ω
S
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, R
should optimally be equal to R
= 5 Ω. The value of R
use R
B
, unless RS = 0, in which case
S
should be set to 20,000 RB to
OS
, which
B
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).
R
S
(SOURCE RESISTANCE
OF TERMINATED
GENERATOR)
R
B
20
19
AD640
12
CASCADED OPERATION explains how the offset can be
automatically nulled to submicrovolt levels by the use of a negative feedback network.
Using Higher Supply Voltages
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 stabil-
ity. 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 +V
–V
terminal (Pin 12) and a maximum of 60 mA into the
S
terminal (Pin 7). For example, when using ±9 V supplies, a
S
resistor of (9 V–5 V)/15 mA, about 261 Ω, should be included in
the +V
in each –V
lead to each AD640, and (9 V–5 V)/60 mA, about 64.9 Ω,
S
lead. Of course, asymmetric supplies may be dealt
S
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 “SIG-NAL 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.
+5V
20kV
–5V
R
OS
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
Figure 26. Details of the Input Attenuator
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 R
omitted and R
B
= 500 kΩ. Offset sta-
OS
bility 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.
REV. C–12–
AD640
20
1
U2
U1
11
10
20
1
U2
U1
11
10
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.
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 R
. Board layout and
L
grounding disciplines are critically important at the high gain
(X100,000) and bandwidth (~150 MHz) of this system.
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 compensa-
tion 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.
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) V
. In dc coupled applica-
X
tions of wide dynamic range, special precautions must be taken
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.
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.
a. b.
Figure 28. Two Methods for AC-Coupling AD640s
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 re-
sponse. 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.
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 high-pass 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 ade-
quate 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.
10V10V
C1
OUT
–V
131416
1220
LOG
+VSSIG
COM
S
NC
18
19
SIG
ATN
+IN
SIGNAL
INPUT
R1
NC = NO CONNECT
REV. C–13–
OUT
SIG
ATNLOATN
–IN
R2
2
1711
CKT
RG1 RG0 RG2 LOG
COM
ATN
COM
COM
15
1kV 1kV
U1 AD640
ATN
BL1BL2ITC
IN
6875341091
Figure 27. Basic Connections for Cascaded AD640s
+OUT
–OUT
4.7V
SIG
SIG
+IN
SIG
–IN
18
19
ATN
CKT
OUT
COM
ATNLOATN
COM
2
10V10V
C2
131416
LOG
COM
1220
+VSSIG
1kV 1kV
15
OUT
1711
RG1 RG0 RG2 LOG
U2 AD640
ATN
COM
ATN
IN
–V
BL1BL2ITC
S
6875341091
1mA/DECADE
NC
+OUT
SIG
–OUT
NC
4.7V
OUTPUT
–50mV/DECADE
C3
RL= 50V
+5V
–5V
AD640
20
1
11
10
U2
U1
AVE = –140mV
INPUT
R1
50V
R2
50V
AVE = –40mV
R3
4.99kV
R5
4.99kV
–200mV
–700mV
4mA
14mA
20
1
11
10
C1
C2
R4
4.99kV
R6
4.99kV
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.
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 differentaverage 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.
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.
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
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.
R3
100V
68V
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.
PRACTICAL APPLICATIONS
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
(SEE TEXT)
+6V
68V
1.13kV
U3
AD844
4.7V
–6V
4.7V
R4
100V
+6V
LOG
OUTPUT
+50mV/dB
(LO)
SIGNAL
INPUT
C1
47pF
20
R1
SIG
ATN
CKT
+IN
OUT
SIG
ATNLOATN
–IN
R2
Figure 30. Complete 70 dB Dynamic Range Converter for 50 MHz–150 MHz Operation
NC = NO CONNECT
COM
COM
2
RG1 RG0 RG2 LOG
ATN
COM
41091
151314161918171112
1kV 1kV
U1 AD640
ATN
BL1BL2ITC
IN
LOG
OUT
–V
68753
+VSSIG
COM
S
NC
+OUT
SIG
–OUT
18V
L1
(SEE
TEXT)
–6V
18V
20
SIG
+IN
SIG
–IN
ATN
CKT
OUT
COM
ATNLOATN
COM
2
RG1 RG0 RG2 LOG
1kV 1kV
U2 AD640
ATN
ATN
41091
BL1BL2ITC
IN
COM
C2
47pF
151314161918171112
LOG
OUT
–V
68753
+VSSIG
COM
S
NC
+OUT
SIG
–OUT
NC
REV. C–14–
AD640
INPUT LEVEL – dBm IN 50V
0–60–50–40–30–20–10
0
+1
–1
ERROR – dB
4
1
0
–70
LOW-PASS FILTERED OUTPUT – V
2
3
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.
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.
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.
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.)
Note that all unused inputs are grounded; this improves the
isolation from the outputs back to the inputs.
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.
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
Figure 31. Logarithmic Output and Nonlinearity for Circuit
of Figure 30, for a Sine Wave Input at f = 80 MHz
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.
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
+15V
–15V
+15V
0.1mF
0.1mF
–15V
5kV
A
OFFSET
NULLING
FEEDBACK
5kV
B
NC = NO CONNECT
REV. C–15–
DENOTES A CONNECTION TO THE GROUND PLANE;
OBSERVE COMMON CONNECTIONS WHERE SHOWN.
ALL UNMARKED CAPACITORS ARE 0.1mF CERAMIC.
TO U3
AND U4
20
SIG
+IN
SIG
–IN
9.1V
19
ATN
OUT
ATNLOATN
+6V
TO U1
AND U2
–6V
9.1V
TO U3
AND U4
1711
18
CKT
RG1 RG0 RG2 LOG
COM
ATN
COM
COMBL1BL2ITC–V
SIGNAL INPUT
15
OUT
1kV 1kV
U1 AD640
ATN
491210
IN
68753
131416
LOG
COM
S
12
+VSSIG
+OUT
SIG
–OUT
Figure 32. Complete 95 dB Dynamic Range Converter
68V
18V
+6V
C1
(SEE
TEXT)
C2
(SEE
TEXT)
–6V
68V
18V
C3
100mF
20
SIG
+IN
SIG
–IN
R1
49.9V
NC
ATN
CKT
OUT
RG1 RG0 RG2 LOG
COM
1kV 1kV
U2 AD640
ATNLOATN
ATN
COM
491
ATN
COMBL1BL2ITC–V
2
C4
4.7mF
1/2
AD712
2
U3a
3
151314161918171112
OUT
IN
68753
1
LOG
COM
S
R2
50kVR350kV
C6
0.1mF
+VSSIG
+OUT
SIG
–OUT
10
0.1mF
R6
3.3MV
R7
3.3MV
C5
5
6
R5
200kV
AD712
U3b
200kV
C7
4.7mF
C8
4.7mF
1/2
R4
3
2
5
6
7
AD712
U4a
AD712
U4b
LOG
OUTPUT
+100mV/dB
1/2
1
OFFSET
NULLING
FEEDBACK
1/2
7
B
A
AD640
INPUT AMPLITUDE AT 10kHz
–1
–90
31.6m
LOG OUTPUT FROM CIRCUIT
OF FIGURE 32 – V
0
1
2
3
4
5
6
7
8
9
–80
100m
–70
316m
–601m–50
3.16m
–40
10m
–30
31.6m
–20
100m
–10
316m01103.16
dBV
V
–2
0
2
ERROR FROM IDEAL
TRANSFER FUNCTION – dB
20
110
11
PIN 1
0.250
(6.350)
TYP
1.070 (27.18)
0.310
(7.874)
TYP
0.014 (0.356)
0.008 (0.203)
0.180
(4.572)
MAX
0.300 (7.62)
TYP
158
08
SEATING
PLANE
0.045 (1.143)
0.025 (0.635)
0.021 (0.533)
0.015 (0.381)
0.100
(2.54)
TYP
0.125 (3.18)
MIN
0.033
(0.838)
TYP
0.017 6 0.004
(0.432 6 0.101)
0.029 6 0.003
(0.737 6 0.076)
0.025 (0.64) MIN
0.060 (1.53) MIN
0.020 (0.51) MIN
R
0.035 6 0.01
(0.89 6 0.25)
0.173 6 0.008
(4.385 6 0.185)
0.105 6 0.015
(2.665 6 0.375)
3
PIN 1
IDENTIFIER
4
19
18
8
9
14
13
TOP VIEW
(PINS DOWN)
0.020 (0.51)
MAX
0.050
(1.27)
0.045 6 0.003
(1.143 6 0.076)
0.353 6 0.003
(8.966 6 0.076)
SQ
0.390 6 0.005
(9.905 6 0.125)
SQ
0.020
(0.51)
MAX
be increased and U3 can be replaced by a low speed op amp.
Figure 31 shows typical performance of this converter.
10 Hz–100 kHz Converter with 95 dB Dynamic Range
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.
Using values of 0.02 µF in the interstage filter formed by capaci-
tors 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
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.
C1297b–0–12/99 (rev. C)
Figure 33. Logarithmic Output and Nonlinearity for Circuit
of Figure 32, for a Square Wave Input at f = 10 kHz
0.320 (8.13)
0.300 (7.62)
0.095
(2.41)
SEATING
PLANE
Dimensions shown in inches and (mm).
20-Lead Ceramic DIP (D) Package
0.430 (10.16)
20
1
PIN 1
0.020 (0.51)
0.015 (0.38)
1.010 (25.65)
0.990 (25.15)
0.10
(2.54)
11
10
0.054 (1.37)
0.040 (1.01)
0.300 (7.62)
0.280 (7.11)
0.085
(2.16)
0.210 (5.33)
0.150 (3.81)
0.012 (0.30)
0.008 (0.20)
0.300 (7.62)
20-Terminal Ceramic LCC (E) Package
0.082 6 0.018
(2.085 6 0.455)
0.350 6 0.008
(8.89 6 0.20)
13
0.050
(1.27)
14
PIN 1
INDEX
8
9
BOTTOM VIEW
SQ
0.040 3 458
(1.02 3 458)
19
REF 3 PLCS
18
20
0.025 6 0.003
1
(0.635 6 0.075)
4
3
0.20 3 458
(0.51 3 458)
REF
OUTLINE DIMENSIONS
20-Lead Plastic DIP (N) Package
20-Lead PLCC (P) Package
PRINTED IN U.S.A.
REV. C–16–
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.