Skip to main content

Log Amplifier

CI

CircuitSim

·

Created Oct 3, 2026

·

Updated Oct 3, 2026

Preview will appear once the owner saves the schematic
Details

Components

4


Schematic

Yes


Simulation

DC sweep


Copies

Not copied yet

About this circuit

Use a diode in the feedback path to obtain an output that changes logarithmically with positive input voltage.

Circuit notes

Log Amplifier

Use a diode in the feedback path to obtain an output that changes logarithmically with positive input voltage.

V1 sweeps positive input voltage from 10 mV to 1 V in 10 mV steps. R1 = 10 kΩ converts it to approximately 1–100 µA. The feedback diode carries that current and sets a negative output voltage. Its saturation current is 10 fA and emission coefficient is 1 at 27 °C.

ID≈VinR1I_D\approx\frac{V_{\mathrm{in}}}{R_1} Vout≈−nVTln⁡(VinR1IS)V_{\mathrm{out}}\approx-nV_T\ln\left(\frac{V_{\mathrm{in}}}{R_1 I_S}\right)

The output becomes more negative as input rises, roughly −0.48 V to −0.60 V. Equal ratios of input voltage produce approximately equal output-voltage changes. Only positive input is valid for this one-diode topology. Temperature, diode matching and amplifier offsets make practical logarithmic amplifiers more involved.

Read the results. The saved DC sweep chart and table show each bias point. The first voltage probe is green and the second red. The first current probe is blue; a second current probe is purple.

Model limits. The three-terminal op-amp model has implicit ±12 V output limits, 200,000 low-frequency gain and 10 MHz gain-bandwidth product. Supply pins are intentionally absent in this functional model. In Schmitt-trigger and relaxation/integrator oscillator examples, the switching amplifier uses a 100 kHz gain-bandwidth setting to resolve transitions cleanly at the saved time step. It omits detailed slew-rate, input common-mode, output-current and thermal limits.

Try it. Set R1 to 20 kΩ; halving the diode current changes the output by about 18 mV. Restore the original values after comparing the results.

Components used

Components used
4 components
NameManufacturerMPNCountType

Resistor

Generic

—

2

Official

DC Voltage Source

Generic

—

1

Official

Diode

Generic

—

1

Official

Try this circuit yourself

Free to get started. No download — runs in your browser with a full SPICE engine.