Engineering:Log amplifier

From HandWiki

A log amplifier, also known as logarithmic amplifier or logarithm amplifier or log amp, is an amplifier for which the output voltage Vout is K times the natural log of the input voltage Vin. This can be expressed as,

[math]\displaystyle{ V_\text{out} = K \ln\left(\frac{V_\text{in}}{V_\text{ref}}\right) }[/math]

where Vref is the normalization constant in volts and K is the scale factor.

The log amplifier gives an output voltage which is proportional to the logarithm of the applied input voltage. To design a log amplifier circuit, high performance op-amps like LM1458, LM771, LM714 are commonly used and a compensated log amplifier may include more than one. In some situations, especially in RF domain, monolithic log amplifiers are also used to reduce number of components and space used, as well improve bandwidth and noise performance.

The log amplifier's operation can be inverted by an exponentiator, such as an op-amp configured for exponential output.[1]

Log amplifier applications

Log amplifiers are used in many ways, such as:

  • To perform mathematical operations like multiplication, division and exponentiation. Multiplication is also sometimes called mixing. This is similar to operation of a slide rule, and is used in analog computers, audio synthesis methods, and some measurement instruments (i.e. power as multiplication of current and voltage).
  • To calculate the dB value of a given quantity.
  • As a True RMS converter.
  • Extending dynamic range of other circuits, like automatic gain control of transmit power in RF circuits, or analog-to-digital converters.

Drawbacks of basic log amplifier configuration

The reverse saturation current for the diode doubles for every ten degree Celsius rise in temperature. Similarly the emitter saturation current varies significantly from one transistor to another and also with temperature. Hence, it is very difficult to set the reference voltage for the circuit.[2]

Basic op-amp diode circuit

Basic op-amp diode log converter

The relationship between the input voltage [math]\displaystyle{ V_\text{in} }[/math] and the output voltage [math]\displaystyle{ V_\text{out} }[/math] is given by:

[math]\displaystyle{ V_{\text{out}} = -V_\text{T} \ln \left(\frac{V_\text{in}}{I_\text{S} \, R} \right) }[/math]

where [math]\displaystyle{ I_\text{S} }[/math] and [math]\displaystyle{ V_\text{T} }[/math] are the saturation current and the thermal voltage of the diode respectively.

The dynamic range of this basic op-amp diode circuit is limited to 40-60 dB because of non-ideal diode characteristics, but the dynamic range can be increased to over 120 dB by replacing the diode with a transistor in a "transdiode" configuration.[3]

Transdiode configuration

A transdiode configuration with a BJT connected in the negative feedback loop.

A necessary condition for successful operation of a log amplifier is that the input voltage, Vin, is always positive. This may be ensured by using a rectifier and filter to condition the input signal before applying it to the log amplifier's input. As Vin is positive, Vout is obliged to be negative (since the op amp is in the inverting configuration) and is large enough to forward bias the emitter-base junction of the BJT keeping it in the active mode of operation. Now,

[math]\displaystyle{ \begin{align} V_\text{BE} &= -V_\text{out} \\ I_\text{C} &= I_\text{S}\left(e^\frac{V_\text{BE}}{V_\text{T}} - 1\right) \approx I_\text{S} e^\frac{V_\text{BE}}{V_\text{T}} \\ \Rightarrow V_\text{BE} &= V_\text{T} \ln\left(\frac{I_\text{C}}{I_\text{S}}\right) \end{align} }[/math]

where [math]\displaystyle{ I_\text{S}\, }[/math] is the saturation current of the emitter-base diode and [math]\displaystyle{ V_\text{T}\, }[/math] is the thermal voltage. Due to the virtual ground at the op amp differential input,

[math]\displaystyle{ I_\text{C} = \frac{V_\text{in}}{R} }[/math], and
[math]\displaystyle{ V_\text{out} = -V_\text{T} \ln \left(\frac{V_\text{in}}{I_\text{S} R}\right) }[/math]

The output voltage is expressed as the natural log of the input voltage. Both the saturation current [math]\displaystyle{ I_\text{S}\, }[/math] and the thermal voltage [math]\displaystyle{ V_\text{T}\, }[/math] are temperature dependent, hence, temperature compensating circuits may be required.

See also

  • Diode
  • Operational amplifier applications § Logarithmic output

References

External links

de:Operationsverstärker#Logarithmus und Exponentialfunktion