Current-to-Voltage Converter

Hi all,

Does anyone know of a circuit that converts a (linear) current into an exponential voltage of the form V = e^(x) -1 (-1 term necessary to start at 0V).

I've looked at a Sharp application note (vorlon.case.edu/~flm/eecs245/ Datasheets/Sharp%20photodevices.pdf) where on page 6 they have a simple current - to - voltage conversion using photo transistor and op amp. The graph (fig 13B) indicates a somewhat exponential output Voltage - has anyone used this circuit before?

I appreciate the input is light intensity and not current, but was hoping to replace photo transistor with BJT.

Cheers, Ozzy

Reply to
ozzy
Loading thread data ...

to

The following article shows a couple of ways of doing it with diodes and BJT's, but exponentiation is inherently difficult to achieve while maintaining stability against temperature changes and component variability.

formatting link

-- Joe

Reply to
J.A. Legris

to

I don't think that will be exponential... it looks linear down near the origin.

The Ebers-Moll equation gives you an exponetial relation between collector current and base-emitter voltage. Maybe you could get Vbe from some I*R drop and then turn Ic into a voltage with another resistor.

Perhaps there is a clever way to do that.

George H.

Reply to
George Herold

The current in a diode is exponential on voltage. So a current-voltage converter could be followed by a diode-based exponentiator.

Google log antilog circuit

These used to popular for doing analog math, and there were lots of ADI and Burr-Brown app notes, including temperature compensation and such.

What's the application?

John

Reply to
John Larkin

to

John,

An Antilog circuit was described in a national app note. The problem is it requires an input voltage, hence an extra stage and would then require further amplification for my use... seems long winded. I don't have an application in mind at the moment, but just wanted to know if it was possible.

Ozzy

Reply to
ozzy

The simple method is to use a monolithic matched pair with their emitters connected together, drive a constant current through one, and use the collector of the other to make an exponential current source. Then you just shove that into a TIA and you're done:

*----R2R2----* | | | |\ U1 | | | \ | *--------------*----|- \ | | | >---*---0 Out | *---|+ / | +Vref | | / | | GND |/ I_C1 | | R V | 1 I_C1=exp(I_in*R3*e/kT)*(Vref/R1) | R | 1 V_out=R2*I_C1 | | |\ | | | \ U2 I_in | *----------*--------|- \ -> Q1 | | Q2 | | >---* |/ \| | *---|+ / | 0------*---| |----* --- | | / | | |>
Reply to
Phil Hobbs

If you want a circuit that just works, use a PIC. Unless you are after really crude approximation, an analog solution won't be neither simple nor accurate.

Vladimir Vassilevsky DSP and Mixed Signal Design Consultant

formatting link

Reply to
Vladimir Vassilevsky

ry to

2R2----*

=A0 =A0 =A0 =A0 =A0|

=A0|\ =A0U1 =A0|

=A0| \ =A0 =A0 |

| =A0 >---*---0 Out

/

R3*e/kT)*(Vref/R1)

1

=A0 =A0 =A0 =A0 |\

=A0 =A0 =A0 =A0 | \ =A0U2

=A0 =A0| =A0 >---*

=A0*---|+ / =A0 =A0|

=A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0|

=A0 =A0 =A0 =A0 =A0|

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|

*
t

Phil, thanks for the circuit diagram. Just a few questions though:

Would this work for currents in the micro amp range - i'm talking 2uA?

What does TIA stand for?

What font is best to view your circuit?

My thoughts were to get an exponential curve which could then be amplified via an op amp, to get up to 9V. Would a micro power op amp with it's low slew rate seriously distort the output? I guess I could just simulate.

Cheers, Ozzy

Reply to
ozzy

Might be a bit of an issue if you expect it to operate at 100MHz though..

Reply to
Spehro Pefhany

View in any fixed-pitch font such as Courier.

A microamp is in the sweet spot, if you don't expect too much speed. The extrinsic emitter resistance becomes important above a few hundred uA.

You haven't said what you want it for, but I'm guessing some audio effect. You'll definitely want to use a FET input op amp, but I wouldn't do micropower unless you have to.

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics Electro-optics Photonics Analog Electronics

55 Orchard Rd
Briarcliff Manor NY 10510
845-480-2058

email: hobbs (atsign) electrooptical (period) net
http://electrooptical.net
Reply to
Phil Hobbs

If you're converting a current to a voltage with R3 to drive the differential pair, wouldn't you want to use the opposite input? The input to Q1 is low impedance.

Reply to
Bitrex

I_C1 is within +-2 orders of magnitude of I_C2, but you can do a wider

If you're using R3 to convert an input current to a voltage to drive the differential pair, wouldn't you want to use the opposite input? The input to Q1 is low impedance.

Reply to
Bitrex

ry to

2R2----*

=A0 =A0 =A0 =A0 =A0|

=A0|\ =A0U1 =A0|

=A0| \ =A0 =A0 |

| =A0 >---*---0 Out

/

R3*e/kT)*(Vref/R1)

1

=A0 =A0 =A0 =A0 |\

=A0 =A0 =A0 =A0 | \ =A0U2

=A0 =A0| =A0 >---*

=A0*---|+ / =A0 =A0|

=A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0|

=A0 =A0 =A0 =A0 =A0|

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|

*

t- Hide quoted text -

That's nice! Cute idea for temperature control of the differential pair.

George H.

Reply to
George Herold

an

sary to

5/

op

e

-R2R2----*

=A0 =A0 =A0 =A0 =A0 =A0|

=A0 =A0|\ =A0U1 =A0|

=A0 =A0| \ =A0 =A0 |

=A0 | =A0 >---*---0 Out

  • /
/

n*R3*e/kT)*(Vref/R1)

_C1

=A0 =A0 =A0 =A0 |\

=A0 =A0 =A0 =A0 | \ =A0U2

=A0 =A0| =A0 >---*

=A0*---|

  • /
=A0 =A0|

=A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0|

=A0 =A0 =A0 =A0 =A0 =A0|

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|

--
> > =A0 =A0 =A0 =A0 =A0 =A0 |
> > =A0 =A0 =A0 =A0 =A0 =A0 |
> > =A0 =A0 =A0 =A0 =A0 =A0GND
>
> > You do need to temperature control the diff pair, e.g. by using
> > diagonally opposite sections of a MAT-14 for Q1 and Q2, then using the
> > other two as a temperature sensor and a heater, respectively. =A0Pick R=
4
> > to drop a few volts at the maximum desired current, and then pick C1 to
> > make the current source part of the loop stable. =A0It'll work better i=
f
> > I_C1 is within +-2 orders of magnitude of I_C2, but you can do a wider
> > range if you like: =A0+-3 orders is possible if you don't want much spe=
ed
> > and can relax the accuracy requirements.
>
> > Putting in a bit of positive feedback to get rid of the extrinsic
> > emitter resistance R_EE' will help a lot at high collector currents.
>
> > The input voltage will move up and down by some tens of millivolts. =A0=
If
> > you don't want the input voltage to change, you can put another TIA in
> > front of it.
>
> > And if you want the output to be centred somewhere else, put a resistor
> > between Vref and the summing junction of U1.
>
> > Cheers
>
> > Phil Hobbs
>
> > --
> > Dr Philip C D Hobbs
> > Principal Consultant
> > ElectroOptical Innovations LLC
> > Optics Electro-optics Photonics Analog Electronics
>
> > 55 Orchard Rd
> > Briarcliff Manor NY 10510
> > 845-480-2058
>
> > email: hobbs (atsign) electrooptical (period) nethttp://electrooptical.=
net
>
> Phil, thanks for the circuit diagram. Just a few questions though:
>
> Would this work for currents in the micro amp range - i'm talking 2uA?
>
> What does TIA stand for?
>
> What font is best to view your circuit?
>
> My thoughts were to get an exponential curve which could then be
> amplified via an op amp, to get up to 9V. =A0Would a micro power op amp
> with it's low slew rate seriously distort the output? I guess I could
> just simulate.
>
> Cheers,
> Ozzy- Hide quoted text -
>
> - Show quoted text -

TIA =3D Trans-Impedance Amplifier, aka current to voltage converter.  U1
in Phil's circuit.

George H.
Reply to
George Herold

Not sure I understand. R3 will drop several tens of millivolts at most, which is usually within the meaning of 'low impedance' at a given current level. You want a low input impedance when the input is a current.

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics Electro-optics Photonics Analog Electronics

55 Orchard Rd
Briarcliff Manor NY 10510
845-480-2058

email: hobbs (atsign) electrooptical (period) net
http://electrooptical.net
Reply to
Phil Hobbs

I snitched it from an old PMI app note, and have been using it for 20 years or so. It's in every noise canceller I build.

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics Electro-optics Photonics Analog Electronics

55 Orchard Rd
Briarcliff Manor NY 10510
845-480-2058

email: hobbs (atsign) electrooptical (period) net
http://electrooptical.net
Reply to
Phil Hobbs

an

sary to

5/

op

e

---R2R2----*

=A0 =A0 =A0 =A0 =A0 =A0|

=A0 =A0|\ =A0U1 =A0|

=A0 =A0| \ =A0 =A0 |

=A0|

=A0 =A0 |>---*---0 Out

---|+ /

| /

=A0|/

(I_in*R3*e/kT)*(Vref/R1)

R2*I_C1

=A0 =A0 =A0 =A0 =A0 |\

=A0 =A0 =A0 =A0 =A0 | \ =A0U2

\

=A0 =A0 =A0 =A0|>---*

=A0 =A0*---|+ / =A0 =A0|

=A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|

C1 =A0 =A0 =A0 =A0 =A0 =A0|

=A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|

------*

R4

o

if

eed

=A0If

r

.net

.

t- Hide quoted text -

Simpler to just drive the gain input of an AGC amp- they have gone to great lengths to do all the temperature and feedback compensation- a single package solution and cheap. "Easy enough for a caveman" type of thing...

Reply to
Fred Bloggs

If the equation for the differential input voltage is given by deltaVbe = Vt*log (Iref/IC_1), then since the base of Q2 is at ground it looks like from your equation the deltaVbe is meant to be created by the input current at I_in against Q1's base resistor. But as current through Q1 increases, and since the current through Q2 is fixed, the output voltage of the op amp across R4 will decrease to "suck away" the excess current.

It seems like an increasing voltage at Q1's base while the output voltage of the op amp is decreasing to compensate for the increased current would make Q1's input low impedance, and I'm wondering if that needs to be taken into account when sizing R3 in your equation I_C1=exp(I_in*R3*e/kT)*(Vref/R1).

Since the current through Q2 is fixed by feedback, if the voltage at Q2's base increases or decreases the output voltage of the op amp will follow right along, making that input high impedance.

Reply to
Bitrex

Q1's emitter potential is fixed by feedback to be the bias required for Q2 to sink Vref/R1, no more and no less, completely independent of anything Q1 does (within reason). Its base is shunted by a low resistance to ground. How is that going to be high impedance????

Try spicing it if you don't believe me.

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics Electro-optics Photonics Analog Electronics

55 Orchard Rd
Briarcliff Manor NY 10510
845-480-2058

email: hobbs (atsign) electrooptical (period) net
http://electrooptical.net
Reply to
Phil Hobbs

I'm sorry if I'm not explaining myself well - it's Q1 that I'm suggesting has a lower input impedance than Q2, if we can take R3 out of the picture for a moment. I will try it in Spice and see what I get.

Reply to
Bitrex

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.