A diode-connected transistor is actually the world's simplest feedback
amplifier. V_CE adjusts itself to be exactly what V_BE has to be in
order to draw the exact amount of collector current applied. That's why
they're such accurate logging devices.
They work great at low frequency and decent current levels, but even a 5
GHz transistor like the BFT25A will run out of bandwidth when you get
down to the nanoamps. (I discovered this experimentally.) ;)
For the OP's problem, I'd vote for a log-antilog based on a matched quad
NPN such as a MAT14 or LM3046 (which is a quint).
Of course the input and output are both in volts, so you're really
computing Vref**2/Vin. You need two V_BE's derived from Vref (either
two diodes in series or one and a 2x amplifier), subtract the Vin one,
and then exponentiate the result. It's best to buffer the Vref side
with an op amp, because otherwise the variable current on the output
side will cause an error. (Same thing on the output of the subtraction..)
The tempco goes away to leading order, I think, because the I_S term
varies slowly with collector current, and the eV_BE/kT term cancels
since the sum of the V_BEs is the same in both branches.
Cheers
Phil Hobbs
--
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics
160 North State Road #203
Briarcliff Manor NY 10510
hobbs at electrooptical dot net
http://electrooptical.net