Ajantha College and School Students Science Projects materials The Great in project

"In the name of Allah, most
Gracious, most Compassionate"


044 4213 1795


+91 91764 16648   +91 9042 686793

Log amplifier

Log amplifier.

Log amplifier is a linear circuit in which the output voltage will be a constant times the natural logarithm of the input. The basic output equation of a log amplifier is v Vout = K ln (Vin/Vref); where Vref is the constant of normalisation, and K is the scale factor. Log amplifier finds a lot of application in electronic fields like multiplication or division (they can be performed by the addition and subtraction of the logs of the operand), signal processing, computerised process control, compression, decompression, RMS value detection etc. Basically there are two log amp configurations: Opamp-diode log amplifier and Opamp-transistor log.

Opamp-diode log amplifier.


The schematic of a simple Opamp-diode log amplifier is shown above. This is nothing but an opamp wired in closed loop inverting configuration with a diode in the feedback path. The voltage across the diode will be always proportional to the log of the current through it and when a diode is placed in the feedback path of an opamp in inverting mode, the output voltage will be proportional to the negative log of the input current. Since the input current is proportional to the input voltage, we can say that the output voltage will be proportional to the negative log of the input voltage.

According to the PN junction diode equation, the relationship between current and voltage for a diode is
Id = Is (e(Vd/Vt)-1)…………(1)
Where Id is the diode current, Is is the saturation current, Vd is the voltage across the diode and Vt is the thermal voltage.

Since Vd the voltage across the diode is positive here and Vt the thermal voltage is a small quantity, the equation (1) can be approximated as
Id = Is e(Vd/Vt)…………………(2)

Since an ideal opamp has infinite input resistance, the input current Ir has only one path, that is through the diode. That means the input current is equal to the diode current Id.
=> Ir = Id ………………….(3)

Since the inverting input pin of the opamp is virtually grounded, we can say that
Ir = Vin/R

Since Ir = Id (from equation (3) )
Vin/R = Id …………………..(4)

Comparing equation (4) and (2) we have
Vin/R = Is e(Vd/Vt)

i.e. Vin = Is R e(Vd/Vt)……………(5)

Considering that the negative of the voltage across diode is the output voltage Vout (see the circuit diagram (fig1)), we can rearrange the equation (5) to get

Vout = -Vt In(Vin/IsR)