
Customarily, logarithmic amplifiers exploit the V/I characteristic of a pn junction or approximate a log function in a piecewise-linear fashion. Both approaches suffer from inherent limitations. A pn junction's V/I characteristic has large temperature coefficients requiring ad hoc compensation circuitry. Piecewise-linear approximations exhibit discontinuities in their first derivatives
The circuit in Fig 1 is a true log amp having no junction-generated thermal terms for which to compensate and no discontinuities in its first derivative over its full useful range.
Commutating amp IC1, voltage reference IC5, capacitor C1, and resistors R1 through R3 make an oscillator having a frequency (f) of

The voltage at point A in the circuit (also see Fig 2a) exhibits a true exponential form. The circuit then compares this voltage with the input voltage, VIN, yielding a square wave whose duty cycle increases with VIN (peak values are ±VREF (see Fig 2b)). Lowpass filtering then produces the final output
which after numerical substitution yields
The constants in Eq 1 depend only on the values of R1 and R2. Because of symmetry, the circuit produces an output for both positive and negative values of VIN such that VOUT always obeys Eqs 2, 3, and 4.