AD8307
LO G AMP TH EO RY
continue indefinitely in both directions. T he dotted line shows
that the effect of adding an offset voltage VSHIFT to the output is
to lower the effective intercept voltage VX. Exactly the same
alteration could be achieved raising the gain (or signal level)
ahead of the log amp by the factor VSHIFT /VY. For example, if
VY is 500 mV per decade (that is, 25 mV/dB, as for the AD8307),
an offset of +150 mV added to the output will appear to lower
the intercept by two tenths of a decade, or 6 dB. Adding an
offset to the output is thus indistinguishable from applying an
input level that is 6 dB higher.
Logarithmic amplifiers perform a more complex operation than
that of classical linear amplifiers, and their circuitry is signifi-
cantly different. A good grasp of what log amps do, and how
they do it, will avoid many pitfalls in their application. T he
essential purpose of a log amp is not to amplify, though amplifi-
cation is utilized to achieve the function. Rather, it is to com-
press a signal of wide dynamic range to its decibel equivalent. It
is thus a measurement device. A better term might be logarith-
mic converter, since its basic function is the conversion of a
signal from one domain of representation to another, via a precise
nonlinear transformation.
T he log amp function described by Equation 1 differs from that
of a linear amplifier in that the incremental gain ∂VOUT /∂VIN is a
very strong function of the instantaneous value of VIN, as is
apparent by calculating the derivative. For the case where the
logarithmic base is e, we have:
Logarithmic compression leads to situations that may be con-
fusing or paradoxical. For example, a voltage offset added to
the output of a log amp is equivalent to a gain increase ahead of
its input. In the usual case where all the variables are voltages,
and regardless of the particular structure, the relationship between
the variables can be expressed as:
∂V
VY
OUT
=
(2)
∂VIN
VIN
VOUT = VY log (VIN /VX)
where:
VOUT is the output voltage,
(1)
T hat is, the incremental gain is inversely proportional to the
instantaneous value of the input voltage. T his remains true for
any logarithmic base, which is chosen as 10 for all decibel-
related purposes. It follows that a perfect log amp would be
required to have infinite gain under classical small-signal (zero-
amplitude) conditions. Less ideally, this result indicates that,
whatever means are used to implement a log amp, accurate
response under small-signal conditions (that is, at the lower end
of the dynamic range) demands the provision of a very high
gain-bandwidth product. A further consequence of this high
gain is that, in the absence of an input signal, even very small
amounts of thermal noise at the input of a log amp will cause a
finite output for zero input, resulting in the response line curving
away from the ideal shown in Figure 19 toward a finite baseline,
which can be either above or below the intercept. Note that the
value given for this intercept may be an extrapolated value, in
which case the output may not cross zero, or even reach it, as is
the case for the AD8307.
VY is called the slope voltage; the logarithm is usually taken
to base-ten (in which case VY is also the volts-per-decade),
VIN is the input voltage,
and
VX is called the intercept voltage.
All log amps implicitly require two references, here VX and VY,
which determine the scaling of the circuit. T he absolute accu-
racy of a log amp cannot be any better than the accuracy of its
scaling references. Equation 1 is mathematically incomplete in
representing the behavior of a demodulating log amp such as
the AD8307, where VIN has an alternating sign. However, the
basic principles are unaffected, and we can safely use this as our
starting point in the analyses of log amp scaling which follow.
While Equation 1 is fundamentally correct, a simpler formula is
appropriate for specifying the calibration attributes of a log amp
like the AD8307, which demodulates a sine wave input:
V
OUT
5V
Y
4V
VOUT = VSLOPE (PIN – P0)
where:
(3)
Y
V
SHIFT
3V
2V
V
Y
Y
Y
LOWER INTERCEPT
VOUT is the demodulated and filtered baseband (video or
RSSI) output,
VSLOPE is the logarithmic slope, now expressed in volts/dB
(typically between 15 and 30 mV/dB),
LOG V
IN
PIN is the input power, expressed in decibels relative to some
reference power level,
V
= 0
OUT
–2
= 10 V
X
2
4
= 10 V
IN X
+80dBc
V
V
= V
X
0dBc
V
= 10 V
V
IN
IN
IN
X
–40dBc
+40dBc
and
–2V
P0 is the logarithmic intercept, expressed in decibels relative
Y
to the same reference level.
Figure 19. Ideal Log Am p Function
T he most widely used reference in RF systems is decibels above
1 mW in 50 Ω, written dBm. Note that the quantity (PIN – P0) is
just dB. T he logarithmic function disappears from the formula
because the conversion has already been implicitly performed in
stating the input in decibels. T his is strictly a concession to popu-
lar convention: log amps manifestly do not respond to power
(tacitly, power absorbed at the input), but, rather, to input
Figure 19 shows the input/output relationship of an ideal log
amp, conforming to Equation 1. T he horizontal scale is loga-
rithmic and spans a wide dynamic range, shown here as over
120 dB, or six decades. T he output passes through zero (the
log-intercept) at the unique value VIN = VX and would ideally
become negative for inputs below the intercept. In the ideal
case, the straight line describing VOUT for all values of VIN would
REV. A
–7–