**Log amplifier** or **logarithmic amplifier** is an electronic circuit that produces output that is proportional to the logarithm of the applied input. Basically it performs mathematical operation of a logarithm. In this article, we will see the different log amplifier circuits, its working and log amplifier applications. Basically two circuits are there to perform the logarithmic function. First, using diode and op-amp and second, using BJT and op-amp.

**Contents**show

## Log amplifier using diode and op-amp

Diode, resistor and op-amp used in the log amplifier as shown in figure 1. The input V_{i }is applied through resistor R at the inverting terminal. V_{o} is the output voltage. The non-inverting terminal of the op-amp is connected to the ground. This means that the voltage of the non-inverting terminal is zero volts.

### Analysis

The analysis of the log amplifier is shown in figure 2. Since the op-amp is ideal and negative feedback is present, the voltage of the inverting terminal (V_{−}) is equal to the voltage of the non-inverting terminal (V_{+} = 0V), according to the **virtual short concept**.

V_{− }= V_{+} = 0V

The currents entering both terminals of the op-amp are zero since the op-amp is ideal.

Let current I flows through the resistor R.

(1)

and diode current ,

(2)

where = forward bias voltage across diode D

Apply KCL at node **P**

(3)

and

Therefore, equation (2) becomes

(4)

From equation (1), (3) and (4), we have

Therefore, we have

**Note:** The above circuit is valid only for .

**Note:** The negative sign in the output signifies that there is a 180° phase difference between output and the applied input.

## Log amplifier using diode and transistor

Another circuit comprises of a BJT (NPN) T, resistor (R) and op-amp used as the log amplifier as shown in figure 3. The input V_{i }is applied through resistor R at the inverting terminal. V_{o} is the output voltage. The non-inverting terminal of the op-amp is connected to the ground. This means that the voltage of the non-inverting terminal is zero volts.

### Analysis

The analysis of the log amplifier is shown in figure 4. Since the op-amp is ideal and negative feedback is present, the voltage of the inverting terminal (V_{−}) is equal to the voltage of the non-inverting terminal (V_{+} = 0V), according to the **virtual short concept**.

V_{− }= V_{+} = 0V

The currents entering both terminals of the op-amp are zero since the op-amp is ideal.

Let current I flows through the resistor R.

(5)

and collector current ,

(6)

where

and I_{s} = Reverse saturation current of emitter-base junction

As we know that

since I_{B} ≅ 0 A

Therefore

(7)

Apply KCL at node **P**

(8)

and

Therefore, equation (6) becomes

(9)

From equation (5), (7), (8) and (9), we have

Therefore, we have

**Note:** The negative sign in the output signifies that there is a 180° phase difference between output and the applied input.

## Log amplifier Applications

1. It is used for measuring the signal strength.