Home/Analog Electronics/Op-amp applications/Logarithmic amplifier
Logarithmic amplifier using Op-Amp (IC 741) – Virtual Lab
A logarithmic amplifier uses the exponential current–voltage relation of a diode. With the diode as the feedback element, the output voltage is proportional to the logarithm of the input voltage.
Aim
To build a logarithmic amplifier using IC 741 and a diode, and verify that the output is proportional to the logarithm of the input.
Circuit components
| Component | Value | Purpose |
|---|---|---|
| IC 741 | OA1 | — |
| R1 | 10 kΩ | Converts Vin into a current |
| D1 | 1N4148 | Feedback element |
Supply: ±12 V dual power supply. Instruments: function generator and two-channel digital storage oscilloscope, all on the virtual bench.
Theory
Because the − input is a virtual ground, the input current is Vin/R1. All of this current flows through the diode, whose voltage is therefore n VT ln(I/IS). The output is the negative of the diode voltage, so it depends on the logarithm of the input.
Each tenfold increase in Vin changes the output by only about 100 mV, so a very wide range of input voltages is compressed into a small output range. The circuit works only for positive inputs; a negative input reverse-biases the diode.
Log amplifiers are temperature sensitive because both VT and IS change with temperature. Practical designs use matched transistors and temperature compensation.
Procedure
- Open the Op-Amp Trainer Kit simulator; it starts with the Logarithmic amplifier application selected.
- In Guided mode follow the highlighted connections to place the components from the parts bank and wire the circuit on the kit, or wire it yourself in Free mode.
- Set the dual power supply to ±12 V and switch it on.
- Switch on the function generator and set: Triangle, 4 Vpp, 200 Hz, offset +2.6 V (0.6 V to 4.6 V).
- Connect CH1 and CH2 of the oscilloscope as shown and set: CH1 1 V/div, CH2 0.1 V/div with position offsets, 1 ms/div.
- Observe that the output stays near −0.5 V while the input changes from 0.6 V to 4.6 V.
- Note the curved (logarithmic) shape of the output.
- Record Vo at several input values and plot Vo against log Vin: it should be a straight line.
- Capture the oscilloscope screen and compare it with the expected result below.
Expected result
As the input rises from 0.6 V to 4.6 V the output changes only from about −0.46 V to −0.55 V, following a logarithmic curve of about 100 mV per decade.
Viva questions
- Why does a log amplifier need a positive input only?
- The diode must be forward biased; a negative input would reverse-bias it and break the feedback.
- How is an antilog amplifier made?
- By interchanging the diode and the resistor, so that the input voltage drives the diode and the output is proportional to its exponential current.
- Give applications of log amplifiers.
- Signal compression, decibel measurement, analog multiplication and division (log, add, antilog).
Other op-amp applications
Linear amplifiers
Integrator and differentiator
Comparators and waveform generators
Active filters
Non-linear circuits
All applications run on the Op-Amp Trainer Kit 3D virtual lab.