Deriving a Logarithmic Amplifier: V=ClnI

  • Thread starter Thread starter smuscat
  • Start date Start date
  • Tags Tags
    Amplifier
Click For Summary
SUMMARY

The discussion focuses on the derivation of a logarithmic amplifier characterized by the equation V = C ln I, where C is a constant. Participants clarify the relationship between the output voltage (Vout), input voltage (Vin), and input resistance (R), leading to the expression Vout = -C ln(Vin/R) = K ln(Vin), with K being a constant dependent on R. Key points include the importance of recognizing R as a constant in the logarithmic relationship and the implications of diode characteristics on the amplifier's performance, particularly regarding temperature coefficients and the diode equation.

PREREQUISITES
  • Understanding of logarithmic functions and their properties
  • Familiarity with diode equations, specifically i = iS (e^(V/V0) - 1)
  • Knowledge of operational amplifier circuits and feedback mechanisms
  • Basic principles of Ohm's Law and its application in electronic circuits
NEXT STEPS
  • Study the diode equation in detail, focusing on its implications for amplifier design
  • Learn about temperature coefficients in semiconductor devices and their effects on circuit performance
  • Explore the derivation of logarithmic amplifiers using NPN transistors as alternatives to diodes
  • Investigate the practical limitations of resistor values in logarithmic amplifier circuits
USEFUL FOR

Electrical engineers, circuit designers, and students studying analog electronics who are interested in understanding the principles and applications of logarithmic amplifiers.

smuscat
Messages
31
Reaction score
0
I am trying to understand the derivation of a logarithmic amplifier as shown in the figure attached.

The diode has a non linear characteristics represented by V=ClnI,where C is a constant.
Then since the current through the feed back loop is the same as the current through the input resistance and the potential difference across the diode is -Vout,we have

Vout=-Cln(Vin/R)=Kln(Vin) where R is input resistance.

What I can't understand is the step in bold,what mathematical rule is used between the two equations?

Thank you in advanced .
 

Attachments

  • amplifier.JPG
    amplifier.JPG
    9 KB · Views: 418
Physics news on Phys.org
Vout = -Vdiode = _____

Can you take it from there?

EDIT:

smuscat said:
What I can't understand is the step in bold,what mathematical rule is used between the two equations?

Just realized, there are three equations highlighted in bold. Which 2 equations do you mean?
 
Write down the current across a diode as a function of the voltage (hint-it is an exponential). It turns out that an "ideal" diode is better represented by a NPN transistor, with the collector and base tied together for the anode, and the emitter for the cathode. Unfortunately, the logarithmic amplifier made from diodes has a temperature coefficient due to (kT/q) in your equation (another hint).
 
Nothing adds up:

V_{out} = -C \ ln(V_{in}/R)

V_{out} = -C \ ( ln \ V_{in} - ln \ R )

V_{out} = -C \ ln \ V_{in} + C \ ln \ R \neq K\ ln \ V_{in}

In addition, why are there dimensioned units in the log argument?

You need better source material--the equation is beyond wrong.
 
Last edited:
Good catch Phrak, I completely missed that :redface:
 
Bob S said:
Write down the current across a diode as a function of the voltage (hint-it is an exponential). It turns out that an "ideal" diode is better represented by a NPN transistor, with the collector and base tied together for the anode, and the emitter for the cathode. Unfortunately, the logarithmic amplifier made from diodes has a temperature coefficient due to (kT/q) in your equation (another hint).

I tried to think about it given V=clnI make I subject of the formula gives I=e^v/c but I can't go any further unfortunately.
 
Redbelly98 said:
Good catch Phrak, I completely missed that :redface:

I seem to recall someone by the name of Redbelly guiding me out of a big whopper of a mistake not too long ago. :smile:
 
Last edited:
smuscat said:
Vout=-Cln(Vin/R)=Kln(Vin) where R is input resistance.

What I can't understand is the step in bold,what mathematical rule is used between the two equations?

I believe the third expression has presumed R is a constant. Specifically, K is chosen for a certain R. It shouldn't be written that way (all three expression equal) because the second equals sign has that qualification (that R is a constant and its effect is included in K) but the first equals sign does not have that qualification.

Phrak said:
In addition, why are there dimensioned units in the log argument?

Good catch. Its really a ratio with the denominator constant (at a given temperature). See http://en.wikipedia.org/wiki/Diode_modelling
 
fleem said:
I believe the third expression has presumed R is a constant. Specifically, K is chosen for a certain R. It shouldn't be written that way (all three expression equal) because the second equals sign has that qualification (that R is a constant and its effect is included in K) but the first equals sign does not have that qualification.



Good catch. Its really a ratio with the denominator constant (at a given temperature). See http://en.wikipedia.org/wiki/Diode_modelling

First thanks for your replay

I understood your first point that R (input resistance) is included in K but I can't understand is how R is included in K.In the previous post by Phark showed that
Vout=-ClnVin+ClnR is not equal to KlnVin.Can you state the steps how you concluded that?

Sorry for my luck of understanding.
Thanks
 
  • #10
smuscat said:
I understood your first point that R (input resistance) is included in K but I can't understand is how R is included in K.

That was what I thought at first too, but Phrak showed us that it is wrong. R could be included in an additive constant, but not in a multiplier because of the properties of logarithms.

Have you been told the diode equation, which is the basis for this discussion?

For a diode,

i = iS (eV / V0 - 1)​

where iS and V0 are constants for a particular diode.

But, iS is often in the nA or pA range for many diodes, so the "-1" can be ignored when the current is much higher than that. With that approximation we have

i = iS eV / V0

To get the correct equation for gain in the op-amp circuit, you need to do 2 more things:

  • Solve the above equation for V
  • Use Ohm's law for the resisitor R to get i in terms of Vin and R

As a final step, you could also combine all the constants in the final equation into just 1 or 2 constants such as C1 and C2. Remember that R is also considered as a constant in this particular circuit.
 
  • #11
Redbelly98 said:
That was what I thought at first too, but Phrak showed us that it is wrong. R could be included in an additive constant, but not in a multiplier because of the properties of logarithms.

Have you been told the diode equation, which is the basis for this discussion?

For a diode,

i = iS (eV / V0 - 1)​

where iS and V0 are constants for a particular diode.

But, iS is often in the nA or pA range for many diodes, so the "-1" can be ignored when the current is much higher than that. With that approximation we have

i = iS eV / V0

To get the correct equation for gain in the op-amp circuit, you need to do 2 more things:

  • Solve the above equation for V
  • Use Ohm's law for the resisitor R to get i in terms of Vin and R

As a final step, you could also combine all the constants in the final equation into just 1 or 2 constants such as C1 and C2. Remember that R is also considered as a constant in this particular circuit.

I tried follow the above steps by Redbelly,please tell if I did wrong or not

given I=Ise^Vout/Vo

I made Vout subject of the formula gives Vo(lnI-lnIs)=Vout

using Ohms Law did I in terms of V and R

Vo(lnVin/R-lnIs)=Vout

Vo(lnVin-lnRIs)=Vout

VolnVin-VolnRIs=V (I think that VolnRIs ~ 0 ,because Is is approx 0)

Therefore VolnVin=Vout or KlnVin=Vout

Thanks for all
 
  • #12
smuscat said:
I tried follow the above steps by Redbelly,please tell if I did wrong or not

given I=Ise^Vout/Vo

I made Vout subject of the formula gives Vo(lnI-lnIs)=Vout

using Ohms Law did I in terms of V and R

Vo( ln(Vin/R) - ln(Is) )=Vout

Vo( ln(Vin) - ln(R Is) )=Vout

Vo lnVin - Vo ln(R Is) = V
Looks good up to here.

(I think that Vo ln(R Is) ~ 0 ,because Is is approx 0)
Not quite. If Is is "≈0", then ln(R Is) would tend to -∞, not zero.

As I see it, the ln(R Is) term should be kept, and perhaps incorporated into a single constant if you wish. This does disagree with the equation given in Post #1.
 
  • #13
Thank you for your replay the final answer is I think VolnVin-C=Vout

Might the equation be KlnVin=Vout or VolnVin=Vout for a particular R I think?
In other words Voln(RIs)~0

Thank you for your help!
 
  • #14
Technically yes, for a particular R in suitable units ... but this would not be a practical value for R.

We would need R Is = 1, in some system of units, for the ln to be zero. But for realistic values of Is of 10-12 to 10-8 Amps, R would have to be between 108 to 1012 ohms! It's simply not practical to use such large resistor values in most circuits.

So there really needs to be a constant term added (or subtracted) in the expression.
 
  • #15
Thanks to everybody, many thanks in particular to Redbelly98.
Gooday!
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
15
Views
2K
  • · Replies 25 ·
Replies
25
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K