Log amplifier

Last updated

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,

Contents

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:

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 Op-Amp Logarithmic Amplifier.svg
Basic op-amp diode log converter

The relationship between the input voltage and the output voltage is given by:

where and 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. Logamp.svg
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,

where is the saturation current of the emitter-base diode and is the thermal voltage. Due to the virtual ground at the op amp differential input,

, and

The output voltage is expressed as the natural log of the input voltage. Both the saturation current and the thermal voltage are temperature dependent, hence, temperature compensating circuits may be required.

See also

Related Research Articles

<span class="mw-page-title-main">Multivibrator</span> Electronic circuit used to implement two-state devices

A multivibrator is an electronic circuit used to implement a variety of simple two-state devices such as relaxation oscillators, timers, latches and flip-flops. The first multivibrator circuit, the astable multivibrator oscillator, was invented by Henri Abraham and Eugene Bloch during World War I. It consisted of two vacuum tube amplifiers cross-coupled by a resistor-capacitor network. They called their circuit a "multivibrator" because its output waveform was rich in harmonics. A variety of active devices can be used to implement multivibrators that produce similar harmonic-rich wave forms; these include transistors, neon lamps, tunnel diodes and others. Although cross-coupled devices are a common form, single-element multivibrator oscillators are also common.

<span class="mw-page-title-main">Operational amplifier</span> High-gain voltage amplifier with a differential input

An operational amplifier is a DC-coupled high-gain electronic voltage amplifier with a differential input and, usually, a single-ended output. In this configuration, an op amp produces an output potential that is typically 100,000 times larger than the potential difference between its input terminals. The operational amplifier traces its origin and name to analog computers, where they were used to perform mathematical operations in linear, non-linear, and frequency-dependent circuits.

<span class="mw-page-title-main">Comparator</span> Device that compares two voltages or currents

In electronics, a comparator is a device that compares two voltages or currents and outputs a digital signal indicating which is larger. It has two analog input terminals and and one binary digital output . The output is ideally

<span class="mw-page-title-main">Gain (electronics)</span> Ability of a circuit to increase the power or amplitude of a signal

In electronics, gain is a measure of the ability of a two-port circuit to increase the power or amplitude of a signal from the input to the output port by adding energy converted from some power supply to the signal. It is usually defined as the mean ratio of the signal amplitude or power at the output port to the amplitude or power at the input port. It is often expressed using the logarithmic decibel (dB) units. A gain greater than one, that is, amplification, is the defining property of an active component or circuit, while a passive circuit will have a gain of less than one.

<span class="mw-page-title-main">Negative-feedback amplifier</span> Type of electronic amplifier

A negative-feedback amplifier is an electronic amplifier that subtracts a fraction of its output from its input, so that negative feedback opposes the original signal. The applied negative feedback can improve its performance and reduces sensitivity to parameter variations due to manufacturing or environment. Because of these advantages, many amplifiers and control systems use negative feedback.

<span class="mw-page-title-main">Differential amplifier</span> Electrical circuit component which amplifies the difference of two analog signals

A differential amplifier is a type of electronic amplifier that amplifies the difference between two input voltages but suppresses any voltage common to the two inputs. It is an analog circuit with two inputs and and one output , in which the output is ideally proportional to the difference between the two voltages:

<span class="mw-page-title-main">Schmitt trigger</span> Electronic comparator circuit with hysteresis

In electronics, a Schmitt trigger is a comparator circuit with hysteresis implemented by applying positive feedback to the noninverting input of a comparator or differential amplifier. It is an active circuit which converts an analog input signal to a digital output signal. The circuit is named a trigger because the output retains its value until the input changes sufficiently to trigger a change. In the non-inverting configuration, when the input is higher than a chosen threshold, the output is high. When the input is below a different (lower) chosen threshold the output is low, and when the input is between the two levels the output retains its value. This dual threshold action is called hysteresis and implies that the Schmitt trigger possesses memory and can act as a bistable multivibrator. There is a close relation between the two kinds of circuits: a Schmitt trigger can be converted into a latch and a latch can be converted into a Schmitt trigger.

<span class="mw-page-title-main">Voltage divider</span> Linear circuit that produces an output voltage that is a fraction of its input voltage

In electronics, a voltage divider (also known as a potential divider) is a passive linear circuit that produces an output voltage (Vout) that is a fraction of its input voltage (Vin). Voltage division is the result of distributing the input voltage among the components of the divider. A simple example of a voltage divider is two resistors connected in series, with the input voltage applied across the resistor pair and the output voltage emerging from the connection between them.

<span class="mw-page-title-main">Common collector</span>

In electronics, a common collector amplifier is one of three basic single-stage bipolar junction transistor (BJT) amplifier topologies, typically used as a voltage buffer.

A current mirror is a circuit designed to copy a current through one active device by controlling the current in another active device of a circuit, keeping the output current constant regardless of loading. The current being "copied" can be, and sometimes is, a varying signal current. Conceptually, an ideal current mirror is simply an ideal inverting current amplifier that reverses the current direction as well. Or it can consist of a current-controlled current source (CCCS). The current mirror is used to provide bias currents and active loads to circuits. It can also be used to model a more realistic current source.

<span class="mw-page-title-main">Current source</span> Electronic circuit which delivers or absorbs electric current regardless of voltage

A current source is an electronic circuit that delivers or absorbs an electric current which is independent of the voltage across it.

The precision rectifier is a configuration obtained with an operational amplifier in order to have a circuit behave like an ideal diode and rectifier. It is very useful for high-precision signal processing. With the help of a precision rectifier the high-precision signal processing can be done very easily.

This article illustrates some typical operational amplifier applications. A non-ideal operational amplifier's equivalent circuit has a finite input impedance, a non-zero output impedance, and a finite gain. A real op-amp has a number of non-ideal features as shown in the diagram, but here a simplified schematic notation is used, many details such as device selection and power supply connections are not shown. Operational amplifiers are optimised for use with negative feedback, and this article discusses only negative-feedback applications. When positive feedback is required, a comparator is usually more appropriate. See Comparator applications for further information.

<span class="mw-page-title-main">Operational transconductance amplifier</span>

The operational transconductance amplifier (OTA) is an amplifier whose differential input voltage produces an output current. Thus, it is a voltage controlled current source (VCCS). There is usually an additional input for a current to control the amplifier's transconductance. The OTA is similar to a standard operational amplifier in that it has a high impedance differential input stage and that it may be used with negative feedback.

<span class="mw-page-title-main">Clamper (electronics)</span>

A clamper is an electronic circuit that fixes either the positive or the negative peak excursions of a signal to a defined voltage by adding a variable positive or negative DC voltage to it. The clamper does not restrict the peak-to-peak excursion of the signal (clipping); it moves the whole signal up or down so as to place its peaks at the reference level.

In electronic systems, power supply rejection ratio (PSRR), also supply-voltage rejection ratio, is a term widely used to describe the capability of an electronic circuit to suppress any power supply variations to its output signal.

The Miller theorem refers to the process of creating equivalent circuits. It asserts that a floating impedance element, supplied by two voltage sources connected in series, may be split into two grounded elements with corresponding impedances. There is also a dual Miller theorem with regards to impedance supplied by two current sources connected in parallel. The two versions are based on the two Kirchhoff's circuit laws.

<span class="mw-page-title-main">Transimpedance amplifier</span> Amplifier that converts current to voltage

In electronics, a transimpedance amplifier (TIA) is a current to voltage converter, almost exclusively implemented with one or more operational amplifiers. The TIA can be used to amplify the current output of Geiger–Müller tubes, photo multiplier tubes, accelerometers, photo detectors and other types of sensors to a usable voltage. Current to voltage converters are used with sensors that have a current response that is more linear than the voltage response. This is the case with photodiodes where it is not uncommon for the current response to have better than 1% nonlinearity over a wide range of light input. The transimpedance amplifier presents a low impedance to the photodiode and isolates it from the output voltage of the operational amplifier. In its simplest form a transimpedance amplifier has just a large valued feedback resistor, Rf. The gain of the amplifier is set by this resistor and because the amplifier is in an inverting configuration, has a value of -Rf. There are several different configurations of transimpedance amplifiers, each suited to a particular application. The one factor they all have in common is the requirement to convert the low-level current of a sensor to a voltage. The gain, bandwidth, as well as current and voltage offsets change with different types of sensors, requiring different configurations of transimpedance amplifiers.

The operational amplifier integrator is an electronic integration circuit. Based on the operational amplifier (op-amp), it performs the mathematical operation of integration with respect to time; that is, its output voltage is proportional to the input voltage integrated over time.

A comparator is an electronic component that compares two input voltages. Comparators are closely related to operational amplifiers, but a comparator is designed to operate with positive feedback and with its output saturated at one power rail or the other. If necessary, an op-amp can be pressed into service as a poorly performing comparator, but its slew Rate will be impaired.

References

  1. https://www.ti.com/lit/an/snoa575b/snoa575b.pdf [ bare URL PDF ]
  2. RMS-to-DC Conversion Just Got Easy Linear Technology, Design Note 288, 2002
  3. "MT-077 Tutorial: Log Amp Basics" (PDF). Analog Devices . 2009. Archived (PDF) from the original on 2022-10-29. Retrieved 2023-06-28.