Understand the working of logarithmic amplifiers and their use in compressing wide dynamic range signals for measurement and processing.
The ear perceives sound intensity on a logarithmic scale, and the signal from a photodiode or an antenna can vary by a factor of one million. A logarithmic amplifier compresses this enormous range into an output of a few volts, with a voltage proportional to the logarithm of the input. The same circuit, with roles reversed, calculates the antilogarithm and, with two circuits, the product and ratio of two signals [1][2][3][4].
A diode or a bipolar transistor has an exponential relationship between voltage and current: $I = I_S\,e^{V/V_T}$. Placing the diode in the feedback of an operational amplifier, the current $V_{in}/R$ flowing through it imposes a logarithmic voltage across it: $V_{out} = -V_T\ln\!\left(\dfrac{V_{in}}{R\,I_S}\right)$. The output is negative and varies by $V_T\ln 10 \approx 60\ \mathrm{mV}$ for each decade of the input [1][2][3][4].
The bipolar transistor in feedback, with base at virtual ground, follows the exponential law over a much wider range than the diode, for more than six decades, because the base current does not enter the expression. For this reason, it is the preferred choice in precision circuits [2][3].
The formula contains $V_T = kT/q$ and the saturation current $I_S$, which doubles approximately every $5\ ^\circ\mathrm{C}$. The logarithmic gain varies with temperature and is compensated by a resistor with a positive temperature coefficient, or by a pair of matched transistors receiving the reference voltage: in this configuration $I_S$ is eliminated [2][3][4].
At very low currents, leakage currents and the input bias currents of the operational amplifier become significant, and at high currents, the series resistance of the semiconductor. The input must have only one polarity, because the logarithm is not defined for negative values. For alternating signals, a rectifier is used before the circuit [1][2][4].
By swapping the positions of the diode and the resistor, the antilogarithmic amplifier is obtained, whose output is proportional to $e^{V_{in}/V_T}$. Summing the logarithms of two signals with a summer and then applying the antilogarithm yields the product; subtracting them yields the ratio. With this method, analog multipliers operated before integrated Gilbert cell multipliers [2][3][4].
1. $R = 10\ \mathrm{k\Omega}$, $I_S = 10^{-14}\ \mathrm{A}$ e $V_T = 26\ \mathrm{mV}$.
2. $V_{in} = 1\ \mathrm{mV}$: $V_{out} = -0{,}026\ln(10^{-3}/10^{-10}) = -0{,}419\ \mathrm{V}$.
3. $V_{in} = 10\ \mathrm{mV}$: $-0{,}479\ \mathrm{V}$; $V_{in} = 0{,}1\ \mathrm{V}$: $-0{,}539\ \mathrm{V}$; $V_{in} = 1\ \mathrm{V}$: $-0{,}599\ \mathrm{V}$.
4. Each decade adds $0.026\cdot\ln10 = 59.9\ \mathrm{mV}$ of negative output: three decades of input correspond to $180\ \mathrm{mV}$ of output.
5. At $350\ \mathrm{K}$, with $V_T = 30.2\ \mathrm{mV}$, the variation per decade rises to $69.4\ \mathrm{mV}$: an increase of $16\ \%$ compared to the approximately $300\ \mathrm{K}$.
Sound level meters in decibels, radio receivers with signal strength indicator, photometry, spectroscopy, dynamic range compression, and analog calculation of products and powers.
The useful range is limited by leakage currents and series resistance. The dependence on $T$ requires compensating or thermostating the circuit for precise measurements.
Generating summary…