# SPICE simulation of voltage multiplier using log and antilog amplifier

I am trying to simulate a voltage multiplier circuit for positive DC input using logarithmic amplifiers and inverting adder implemented by op-amps(uA-741) and non-ideal diodes. The first stage takes the natural log of two inputs, which is summed by the inverting adder in the second stage, inverted using a unity gain inverting stage, and finally sent to an antilog stage to get the product of two signals. I have no problem with the temperature-dependency of the configuration and so am trying to keep it simple.

The circuit seems fine until the last stage, where the forward biased diode forces a voltage differential(about 433 mV) between the two input terminals of the op-amp thus saturating the output. This is obviously happening because the input to the exponential stage is too high.

I am aware there was a similar problem posed in the following link: Analog multiplier using logarithmic and anti-logarithmic opamp issue

However, the poster could not provide sufficient information about his inputs, component models etc. to get a proper answer. Someone suggested raising the resistances which for me has failed to solve the problem. Thanks in advance. The problem is that to get 1 V across the diode (D10?) requires about 2 A through it. And 2 A through the 10 kohm feedback resistor R11 would require 20 kV at the output of the final stage amplifier. (And of course in the real world these voltages and currents would quickly burn out these devices)

So you want to reduce the gain of the preceding stages.

You can't do that by just blindly increasing all resistor values. You have to adjust them appropriately to lower the gain. That would mean doing one or more of:

• Lower R7 or R12
• Increase R13
• Increase R8 and R9
• Increase R2 and R6

(Or, to get your simulation working, use much lower input values, like 0.5 and 0.2 V)

• I've tried this. Reducing the gain of the previous stages doesn't give me the output I want. for example halving the gain gives me an output which is the square root of the product. But I want the output to be PROPORTIONAL to the input – Md Ajwaad Zaman Quashef Nov 12 '17 at 10:10
• @MdAjwaadZamanQuashef, the thing is, the value "1 V" isn't especially important to the diode. You're trying to multiply 2 V x 5 V and get 10 V, but the circuit might think you're multiplying 2000 mV x 5000 mV and want to get 10,000,000 mV. You need to work out how to re-scale the output of the log amp to get the proper scaling so that you're multiplying values in volts, not millivolts (or some other arbitrary scale factor). – The Photon Nov 12 '17 at 13:55
• The place to do this is probably by adjusting R2, R6, and R11 (equally). – The Photon Nov 12 '17 at 13:57

Having used log/antilog in log-sweep-generator, I recall the need to provide a temperature-compensated bias voltage to the final opamp.