www.ti.com
LOG104
SBOS243B
6
FIGURE 6. Current Inverter/Current Source.
10M
+25mV
100k
–
2.5V
+2.5V
OPA335
100
I
1
= 2.5nA to 1mA
I
2
= 2.5nA
V
OUT
C
C
1G
to 2.5k
REF3025
8
3
1
5
6
V
–
LOG104
4
3
2.5V
V+
V+
Chopper Op Amp
GND
FIGURE 5. Current Source with Offset Compensation.
Figure 5 shows a low-level current source using a series
resistor. The low offset op-amp reduces the effect of the
LOG104
’
s input offset voltage.
FREQUENCY RESPONSE
The frequency response curves seen in the Typical Charac-
teristics Curves are shown for constant DC I
1
and I
2
with a
small-signal AC current on one input.
The 3dB frequency response of the LOG104 is a function of
the magnitude of the input current levels and of the value of the
frequency compensation capacitor. See Typical Characteristic
Curve
“
3dB Frequency Response
”
for details.
The transient response of the LOG104 is different for in-
creasing and decreasing signals. This is due to the fact that
a log amp is a nonlinear gain element and has different gains
Q
B
National
LM394
I
IN
I
OUT
D
1
OPA703
D
2
Q
A
2N2905
I
REF
R
REF
2N2905
+15V
–
15V
I
REF
=
6V
R
REF
3.6k
6V
IN834
FIGURE 3. Temperature Compensated Current Source.
SETTING THE REFERENCE CURRENT
When the LOG104 is used to compute logarithms, either I
1
or
I
2
can be held constant and becomes the reference current to
which the other is compared.
V
OUT
is expressed as:
V
OUT
= (0.5V)
log (I
1
/I
2
)
(1)
I
REF
can be derived from an external current source (such as
shown in Figure 3), or it may be derived from a voltage
source with one or more resistors. When a single resistor is
used, the value may be large depending on I
REF
. If I
REF
is
10nA and +2.5V is used:
R
REF
= 2.5V/10nA = 250M
A
1
+
R
2
R
1
+5V
R
3
V
REF
= 100mV
R
3
>> R
2
I
REF
–
V
OS
1
FIGURE 4. T Network for Reference Current.
A voltage divider may be used to reduce the value of the
resistor (as shown in Figure 4). When using this method, one
must consider the possible errors caused by the amplifier
’
s
input offset voltage. The input offset voltage of amplifier A
1
has a maximum value of 1.5mV, making V
REF
a suggested
value of 100mV.
(2)
at different levels of input signals. Smaller input currents
require greater gain to maintain full dynamic range, and will
slow the frequency response of the LOG104.
FREQUENCY COMPENSATION
Frequency compensation for the LOG104 is obtained by
connecting a capacitor between pins 3 and 8. The size of the
capacitor is a function of the input currents, as shown in the
Typical Characteristic Curves (Minimum Value of Compen-
sation Capacitor). For any given application, the smallest
value of the capacitor which may be used is determined by
the maximum value of I
2
and the minimum value of I
1
. Larger
values of C
C
will make the LOG104 more stable, but will
reduce the frequency response.
In an application, highest overall bandwidth can be achieved
by detecting the signal level at V
OUT
, then switching in
appropriate values of compensation capacitors.
NEGATIVE INPUT CURRENTS
The LOG104 will function only with positive input currents
(conventional current flows into pins 1 and 8). In situations
where negative input currents are needed, the circuits in
Figures 6, 7, and 8 may be used.