AD8307
(the log intercept) at the unique value VIN = VX and ideally
LOG AMP THEORY
becomes negative for inputs below the intercept. In the ideal
case, the straight line describing VOUT for all values of VIN
continues indefinitely in both directions. The 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 by 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 (25 mV/dB), an offset of +150 mV added
to the output appears to lower the intercept by two tenths of a
decade, or ꢀ dB. Adding an offset to the output is thus
Logarithmic amplifiers perform a more complex operation than
that of classical linear amplifiers, and their circuitry is significantly
different. A good grasp of what log amps do and how they work
can prevent many pitfalls in their application. The essential
purpose of a log amp is not to amplify, though amplification is
utilized to achieve the function. Rather, it is to compress a
signal of wide dynamic range to its decibel equivalent. It is thus
a measurement device. A better term might be logarithmic
converter, since its basic function is the conversion of a signal
from one domain of representation to another, via a precise
nonlinear transformation.
indistinguishable from applying an input level that is ꢀ dB higher.
The 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 δ,
Logarithmic compression leads to situations that can be
confusing 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:
δVOUT
δVIN
VY
VIN
(2)
=
VOUT = VY log (VIN/VX )
where:
OUT is the output voltage.
(1)
That is, the incremental gain is inversely proportional to the
instantaneous value of the input voltage. This remains true for
any logarithmic base, which is chosen as 10 for all decibel
related purposes. It follows that a perfect log amp is 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 cause a finite output
for zero input. This results in the response line curving away
from the ideal shown in Figure 21 toward a finite baseline,
which can be either above or below the intercept. Note that the
value given for this intercept can be an extrapolated value, in
which case the output can not cross zero, or even reach it, as is
the case for the AD8307.
V
VY is the slope voltage; the logarithm is usually taken to base 10
(in which case VY is also the volts per decade).
V
IN is the input voltage.
VX is the intercept voltage.
All log amps implicitly require two references, here, VX and VY,
which determine the scaling of the circuit. The absolute
accuracy 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 this can be safely used as the
starting point in the analyses of log amp scaling.
V
OUT
5V
4V
3V
2V
V
Y
Y
Y
Y
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
SHIFT
LOWER INTERCEPT
VOUT = VSLOPE (PIN – P0)
where:
OUT is the demodulated and filtered baseband (video or
RSSI) output.
SLOPE is the logarithmic slope, now expressed in V/dB (typically
between 15 mV/dB and 30 mV/dB).
IN is the input power, expressed in decibels relative to some
(3)
Y
LOG V
IN
V
= 0
V
OUT
–2
= 10
2
4
X
V
= V
X
V
V
V
= 10 V
V
= 10 V
IN
0dBc
IN
–40dBc
X
IN
X
IN
+80dBc
+40dBc
V
–2V
Y
Figure 21. Ideal Log Amp Function
P
Figure 21 shows the input/output relationship of an ideal log
amp, conforming to Equation 1. The horizontal scale is
logarithmic and spans a wide dynamic range, shown here as
over 120 dB, or six decades. The output passes through zero
reference power level.
P0 is the logarithmic intercept, expressed in decibels relative to
the same reference level.
Rev. C | Page 9 of 24