So you have two inverting log amp circuits using U1 and U2 where...
U1_Vout = -Vt * ln(V1 / R1 / Is1) U2_Vout = -Vt * ln(V2 / R2 / Is2)
NOTE:
U1_Vout is the output voltage of U1
U2_Vout is the output voltage of U2
Vt = 26mV at room temperature
Is1 is the reverse saturation current for the diode (base emitter) junction of Q1
Is2 is the reverse saturation current for the diode (base emitter) junction of Q2
U3 is used as an inverted summing amplifier. Its output is...
U3_Vout = -(U1Vout + U2_Vout)
U3_Vout = Vt * ln(V1 / R1 / Is1) + Vt * ln(V2 / R2 / Is)
U3_Vout = Vt * ln(V1 * V2 / R1/ R2/ Is1/ Is2)
Finally U4 is used as an exponentiator.
U4_Vout = -R5 * Is3 * e^(U3_Vout/Vt)
U4_Vout = -R5 * Is3 * e^(Vt * ln(V1 * V2 / R1/ R2/ Is1/ Is2) / Vt)
Simplifying gives...
U4_Vout = -R5 * Is3 * V1 * V2 / R1/ R2/ Is1/ Is2
What you typically want from a multiplier is …
U4_Vout = V1 * V2 / 1V
But you have an extra factor F in the equation.
U4_Vout = V1 * V2 / 1V * F
Where...
F = (1V * R5 / R1 / R2 * Is3 / Is1 / Is2)
The solution is to multiply the output by 1/F. You can easily do that by simply adding a resistor from -9V9V to the minus terminal on you summing amplifier (U3). This will generate a constant offset in the output of the summing amplifier. The constant offset into the exponentiator will then show up as multiplication/division by a constant factor.
In your simulation lets assume that your transistors are all identical so Is1 = Is2 = Is3. Therefore...
1/F = 10K * Is / 1V
We need to find an offset voltage X that can be put into U4 such that …
1/F = 10K * Is / 1V = e^(X/Vt)
X = Vt * ln(10K * Is / 1V)
We know from your simulation that the output of U1 and U2 was 603mV
606mV= Vt * ln(1V / 10K / Is)
Solving for Is gives...
Is = 1V / 10K / e^(606mV / 26mV)
Therefore …
X = 26mV * ln(e^(606mV / 26mV)) = 606mV (exactly one diode drop)
Therefore the resistor you need to add is …
R = 9V / 606mV * 10K = 148.5K ohms
If you were implementing this as a real circuit the diodes would not all be perfectly matched. In that case the calculated value of R is approximate, and you would probably need a variable resistor to trim the gain of the circuit.