Engineering Transimpedance Operational Amplifier Simulation circuit help

Click For Summary
The discussion focuses on deriving the relationship between output voltage (V) and input current (I) in a transimpedance operational amplifier circuit. Participants clarify the derivation of the constant K in terms of resistors R1, R2, and Rf, emphasizing the importance of correct order of operations in calculations. Current calculations appear to yield unexpectedly high values, prompting a reevaluation of assumptions and the use of nodal analysis for accuracy. Simulation difficulties are noted, with suggestions to use ideal op-amp models and correct current source configurations for better results. The thread concludes with discussions on numerical approximations and their impact on simulation outcomes, highlighting the importance of precision in circuit analysis.
  • #31
Try changing the op amp type to an ideal op amp. The software should have an ideal op amp in the parts list.
 
Physics news on Phys.org
  • #32
With 1nA of input current, what does your formula predict the output to be? Try it with a few μA.
 
  • #33
FYI, I set up and ran a simulation under LTSpice in about two minutes and obtained the predicted results.
 
  • #34
With LTspice and a precision operational amplifier model, I have -100.088mV which I think is close enough. Simetrix required a voltage controlled voltage source to create ideal opamp conditions which just got confusing.

op amp.png
 
  • #35
CNC101 said:
With LTspice and a precision operational amplifier model, I have -100.088mV which I think is close enough. Simetrix required a voltage controlled voltage source to create ideal opamp conditions which just got confusing.
That result is almost exactly right if you don't make a numerical approximation simplifications in the expression for K. An exact value for K would yield 100.09 mV for the output voltage.
 
  • #36
Could you explain what you mean by Numerical approximation simplification, cheers :)
 
  • #37
CNC101 said:
Could you explain what you mean by Numerical approximation simplification, cheers :)
In post #28 you wrote:

CNC101 said:
Ok, (-I*Rf-Vout)/R1+(-I*Rf-0)/R2-I= 0 transposes as Vout=-I*Rf(R1/R2+1) to which I= 1nA.

Which is true if you've made the assumption that ##\frac{(R_1 + R_2)}{R_2} R_f >> R_1##, which is a pretty good approximation in this case.

The exact expression is:

##V_{out} = -I \left[ \frac{(R_1 + R_2)}{R_2} R_f + R_1 \right]##
 
  • #38
Well my exact expression was -I(R1(Rf/R2)+1)+R)=V Which gave me 0.9991nA which on the simulation, Vo is shy by just 0.002mV compared to 0.09mV!
 
  • #39
Hi guys,

Just thought I would chime in in case as a semi novice like me is reading this thread and to make sure there is nothing wrong with what I have done or if there is a situation where it would be none sense. Hopefully one of you clever lads will be able to put me right.
I got the 1nA just from doing ohms law. We know there is -0.1V across R1 and R2 so R1 must drop -0.09V and R2 must drop -0.01V. We can also agree that R2 is in parallel with RF which also much have the -0.01V volt drop. There for I=0.01/10*10^6 = 1*10^9. Then if you transpose the Vout= -Rf/Rin*Vin formula and substitute Rf*(R1+R2)/Rf+(R1+R2) for Rf and put Rin as 1 (this was me using half educated reason because 0 would bugger the whole thing up) you get 1.01*10^-6 V for the input voltage which I think was mentioned earlier.
Did I get lucky here? or is that a reasonable way to do it? because If I am honest I haven't done your methods for years and couldn't be arsed having to re learn it haha.

Cheers
 
  • #40
Rafeng404 said:
We know there is -0.1V across R1 and R2 so R1 must drop -0.09V and R2 must drop -0.01V.
How do you know that? There's a junction between R1 and R2 where there's a third connection (to Rf), and you can't make the assumption that it doesn't interfere with the potential drop ratio without justification. In the case of the given problem with the given component values it is possible to make such a justification, but if those values had been different it might not have been the case.

If you submitted your working for marking without providing such a justification, you'd very likely lose points.
 
  • #41
gneill said:
How do you know that? There's a junction between R1 and R2 where there's a third connection (to Rf), and you can't make the assumption that it doesn't interfere with the potential drop ratio without justification. In the case of the given problem with the given component values it is possible to make such a justification, but if those values had been different it might not have been the case.

If you submitted your working for marking without providing such a justification, you'd very likely lose points.

Thank you for your reply, just so that I understand you correctly, in this case, as we know all the values it is ok to do what I did?
 
  • #42
Rafeng404 said:
Thank you for your reply, just so that I understand you correctly, in this case, as we know all the values it is ok to do what I did?
Yes, just be sure to state clearly why your assumption/approximation is valid.
 
  • #43
Will do, thank you.
 
  • #44
Hi All,

My attempt is a little different, could any of you guys confirm I've gone about this one the right way?

Using KCL at V-
I=(0-Vx)/Rf
Vx=-I*Rf

Using KCL at Vx
((Vx-Vout)/R1)+(Vx/R2)=0
(R2*Vx)-(R2*Vout)+(R1*Vx)=0
Vout=(R1+R2/R2)Vx
Vout=-(R1+R2/R2)I*Rf
Vout=-kI
k=(R1+R2/R2)Rf

I=-((Vout*R2)/((R1+R2)Rf))
I=-((0.1*(10k))/((90k+10k)10M))=-1nF

Any advice would be greatly appreciated...Thanks!
 
  • #45
Is I = +1nF or -1nF?
 
  • #46
gneill said:
The exact expression is:

##V_{out} = -I \left[ \frac{(R_1 + R_2)}{R_2} R_f + R_1 \right]##

When I substitute 0.1 V for Vout and solve for I.
The result is, I = -1/1,900,000 A

I do not think this is the correct answer.
 
  • #47
dave pallamino said:
Hi All,

My attempt is a little different, could any of you guys confirm I've gone about this one the right way?

Using KCL at V-
I=(0-Vx)/Rf
Vx=-I*Rf

Using KCL at Vx
((Vx-Vout)/R1)+(Vx/R2)=0
(R2*Vx)-(R2*Vout)+(R1*Vx)=0
Vout=(R1+R2/R2)Vx
Vout=-(R1+R2/R2)I*Rf
Vout=-kI
k=(R1+R2/R2)Rf

I=-((Vout*R2)/((R1+R2)Rf))
I=-((0.1*(10k))/((90k+10k)10M))=-1nF

Any advice would be greatly appreciated...Thanks!

Your KCL equation at Vx: ((Vx-Vout)/R1)+(Vx/R2)=0

is incomplete. It should be: ((Vx-0)/Rf)+((Vx-Vout)/R1)+(Vx/R2)=0

Also, the units in your final answer should be in nA, not nF.
 
  • #48
gneill said:
The exact expression is:

##V_{out} = -I \left[ \frac{(R_1 + R_2)}{R_2} R_f + R_1 \right]##

Hi, would it be possible to run through the steps of getting from

(((-IRf)-0) / R2) + (((-IRf) - V) / R1) - I = 0 through to the above?

Initially I would tend to x R1 to remove one of the denominators and get to:

(-IRfR1/R2) + (-IRf - V) - IR1 = 0 but then I forget. I usually use my Stroud engineering mathemtics textbook as a reference but I don't have it with me.

Thanks.
 

Similar threads

Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
1
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 34 ·
2
Replies
34
Views
5K