Transimpedance Operational Amplifier Simulation circuit help

Click For Summary

Discussion Overview

The discussion revolves around the analysis and simulation of a transimpedance operational amplifier circuit. Participants are addressing the derivation of the relationship between output voltage and input current, calculations involving specific resistor values, and modeling the circuit using PSPICE. The conversation includes theoretical derivations, algebraic manipulations, and circuit analysis techniques.

Discussion Character

  • Homework-related
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Participants discuss deriving the relationship between output voltage (V) and input current (I), with some proposing that V = kI and attempting to find k in terms of resistors R1, R2, and Rf.
  • There is ambiguity in the algebraic expression for k, with some participants suggesting the need for clearer notation and questioning the sign of k based on the expected behavior of the circuit.
  • Calculations for the input current I are debated, with some participants noting that the calculated current appears too large and questioning the sign based on the negative output voltage.
  • Different approaches to circuit analysis are presented, including KCL (Kirchhoff's Current Law) at the junction of resistors R1 and R2, with some participants expressing confusion about the correct application of nodal analysis.
  • Participants suggest using symbolic derivation rather than numerical substitution to avoid errors in calculations, particularly when small differences can significantly affect the outcome.
  • There is a discussion about the potential drop across the feedback resistor Rf and its implications for the nodal equations being formulated.
  • Some participants express uncertainty about how to incorporate the feedback resistor Rf into their equations and how to express the relationship between the input current I and the voltage V1 at the node.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct derivation of k or the calculations for the input current I. Multiple competing views and methods for analysis are presented, and the discussion remains unresolved regarding the correct approach to the circuit analysis.

Contextual Notes

Participants highlight limitations in their derivations, including potential errors in the order of operations, assumptions about the signs of voltages and currents, and the need for clearer definitions of variables used in the equations.

CNC101
Messages
30
Reaction score
0

Homework Statement



(a) Derive the relationship
between the output voltage V and the input current I; i.e. if V = kI
find k in terms of R1, R2 and Rf.

(b) Calculate the current I if Rf = 10 MΩ, R1 = 90 kΩ, R2 = 10 kΩ
and V –0.1 V.

(c) Model the circuit using PSPICE [using an ideal opamp]
and use the model to confirm the calculation made in (b).

Homework Equations


upload_2016-1-30_20-22-37.png


The Attempt at a Solution


(a) V= KI, K= R2/ R2+ (Rf*R1/Rf+R1)

(b) I= V/K , I= -0.1/(10k/10k+(90k*10M/90k+10M), I= -0.992A (too big a current?)

(c)
upload_2016-1-30_20-38-24.png


Im not sure how to complete this schematic, I need to check current calculation in (b). I don't kow what "Vin" is. Any help is greatly appreciated as I have no training on this software.
 
Physics news on Phys.org
In part (a) the syntax in your algebraic expression for K is ambiguous: the order of operations is not clear. Use parentheses to make the order of operations unambiguous. It also seems unlikely that the output voltage would be positive if ##I## is positive. Shouldn't K have a negative value? The input current ##I## should impose a potential drop across the feedback resistor, pushing the junction of R1 and R2 negative.

Can you show your derivation of K?

For part (b), yes, that current looks to be too big and of the wrong sign. Note that the given output voltage is negative.

For part (c) you should be able to use a current source at the input. Set it to the value you calculate in part (b) and check the resulting output voltage V.
 
Ok, for (a) my derivation of "K" is that Rf (feedback resistor) is in parallel with R2, so I have (Rf*R2)/(Rf+R2) = (10*10^6*10*10^3)/(10*10^6+10*10^3) = 1. Using the voltage divider rule I have -(R1/(R1+1)) = K (where 1= (Rf*R2)/(Rf+R2)). Thats my relationship for K, for (b) I have V=KI, I=V/K therefore -0.1/-(90*10^3/(90*10^3+1)) =0.1A which is positive but still too large considering it is a transimpedance circuit that measures very small currents.
 
You should avoid plugging in numbers and rounding before the very end when you have values where small differences can be important to the behavior of the system. A purely symbolic derivation is safer. Also, I think you've lost several orders of magnitude in calculating the value of Rf || R2. It should be closer to 10 kΩ, not 1 Ω .

By using the voltage divider rule you're ignoring the current ##I## that's injected into the junction of R1 and R2.

I get a different value for K, one that is negative and quite large.

Instead, try KCL node analysis at the junction of R1 and R2, and note that the voltage there is fixed by the potential drop across Rf (v1 in the image below).

upload_2016-1-31_9-22-26.png
 
KCL node analysis at the junction of R1 and R2, I have (V1-Vout)/R1 for I1 and for I2 I have (Vout-V1)/R2.
 
CNC101 said:
KCL node analysis at the junction of R1 and R2, I have (V1-Vout)/R1 for I1 and for I2 I have (Vout-V1)/R2.
And what's your related expression for I, the current through Rf?
 
CNC101 said:
...and for I2 I have (Vout-V1)/R2.

Ohms law for R2 results in I2=-V1/R2.
 
  • Like
Likes   Reactions: NascentOxygen
Well according to KCL, I1+I2=I so V1/R1-V1/R2= I
 
CNC101 said:
Well according to KCL, I1+I2=I so V1/R1-V1/R2= I
Nope and nope.

Both I and i2 are shown flowing into the node, while only i1 flows out. So i1 = i2 + I. That means i1 - i2 = I. Also, R1 and R2 terminate at different nodes at different potentials (R1 terminates at the output node that has potential V), so you can't write V1/R1 - V1/R2 = I. You need to write the node equation that takes into account the nodes where the branches terminate.
 
  • #10
If R1 terminates at the output node then that's Vout/R1 and R2 terminates at the central node so that's -V1/R2, and for Rf is V1/Rf. Since I1=I+I2 then Vout/R1=-V1/R2+V1/Rf.
 
  • #11
No, in nodal analysis you write the current on a branch between two nodes as the potential difference between the nodes divided by the branch resistance. So for example if there was a resistance R between a node at potential Va and another node at potential Vb, then the current flowing from node A to node B through resistance R would be given by (Va - Vb)/R.
 
  • #12
Well for that I have (V1-Vout)/R1 + (V1-Vout)/R2 + (Vin-V1)/Rf assuming the reference node V1.
 
  • #13
CNC101 said:
Well for that I have (V1-Vout)/R1 + (V1-Vout)/R2 + (Vin-V1)/Rf assuming the reference node V1.
R2 connects between v1 and ground (0V), not Vout. You already know the current coming from the Vin node as ##I##, so you don't need to know Vin. Nodal analysis uses a sum of current terms (it's KCL at a node), and ##I## is the known current in that particular branch.
 
  • #14
If I have- (V1-Vout)/R1+(0-V1)/R2 =0 for my nodal equation, where does Rf come in? As I need to find K in terms of all 3 resistors.
 
  • #15
CNC101 said:
If I have- (V1-Vout)/R1+(0-V1)/R2 =0 for my nodal equation, where does Rf come in? As I need to find K in terms of all 3 resistors.
There are three branches meeting at node v1. You need three currents... which one's missing in your equation?
 
  • #16
Well its "I" flowing through Rf, Which is V1/Rf, So the three currents therefore are (V1-Vout)/R1+(0-V1)/R2 + V1/Rf =0
 
  • #17
True, but look at the diagram I posted in post #4. That current is a given quantity (well, a given symbolic quantity anyways).
 
  • #18
Are we talking about representing V1/Rf as simply "I" in our nodal equation? If so how is Rf represented for my derivation of K? Thanks for your patience.
 
  • #19
CNC101 said:
Are we talking about representing V1/Rf as simply "I" in our nodal equation? If so how is Rf represented for my derivation of K? Thanks for your patience.
Yes, you need both an "I" and and "Rf" eventually. Since "I" is a given you can use it as though it were a constant. So plugging it into the node equation you have (summing currents leaving the node):

##\frac{v1 - 0}{R_2} + \frac{v1 - Vout}{R_1} - I = 0##

Now since ##I## is a given quantity you can find a value for v1 separately. Just follow the path from the input to the v1 node. What potential drop can you see?
 
  • #20
The p.d is across the Rf resistor from the input to V1 node, and V1 represents the p.d.
 
  • #21
CNC101 said:
The p.d is across the Rf resistor from the input to V1 node, and V1 represents the p.d.
Right. So write the corresponding expression for v1. v1 = ?
 
  • #22
Well V1=I*Rf. So the nodal equation is (V1-Vout)/R1+(V1-0)/R2-(I*Rf)
 
  • #23
CNC101 said:
Well V1=I*Rf. So the nodal equation is (V1-Vout)/R1+(V1-0)/R2-(I*Rf)
Ah, no and no :frown:

What's the direction of the potential drop from the input across the resistor Rf? Is it a positive or negative change in potential? In other words, will the change cause v1 to be positive (above the potential at the input) or negative (below the potential at the input)?

For the node equation, don't substitute a voltage for a current! I*Rf would be a voltage. Leave the ##I## alone! It's a given value, so don't complicate it. What you really want to do is get rid of the v1 in the node expression. That's why we're looking at finding v1 via the current ##I## and the drop across Rf.
 
  • #24
The p.d has a negative potentional, not too sure how to remove V1. In terms of (V1-Vout)/R1+(V1-0)/R2= 0, I get Vout=V1((R1/R2)+1). If its a negative p.d, does V1 in that equation become Vout= -I*Rf(R1/R2+1)
 
  • #25
You left out the ##I## current in the node equation; There are three terms as I wrote in post #19.

To remove V1 from the node equation you find it a different way and use that to replace it. That's why you want to find the potential V1 using the current ##I## and the resistance ##R_f##.
 
  • #26
If you mean to replace V1 in the nodal equation with I*Rf i.e
(I*Rf-Vout)/R1+(I*Rf-0)/R2-I= 0 , then I am stuck at a dead end :(
 
  • #27
CNC101 said:
If you mean to replace V1 in the nodal equation with I*Rf i.e
(I*Rf-Vout)/R1+(I*Rf-0)/R2-I= 0 , then I am stuck at a dead end :(
Why?

First of all, you seem to be stuck on getting the sign right for the relationship between ##I## and V1. I flows from left to right through ##R_f## causing a drop in potential. The left end of ##R_f## is at zero potential thanks to the input of the opamp being held at zero potential. That means V1 must be: ##V1 = - I R_f##. Note the negative sign!

upload_2016-2-1_19-14-28.png


Second, you end up with a single equation containing both ##I## and ##V_{out}##. Isn't that ideal? Just rearrange it to solve for ##V_{out}## in terms of ##I##, or vice versa.
 
  • #28
Ok, (-I*Rf-Vout)/R1+(-I*Rf-0)/R2-I= 0 transposes as Vout=-I*Rf(R1/R2+1) to which I= 1nA.

To get the Simetrix schematic I am having trouble running a simulation as I keep getting errors (as seen in the command shell) and I have no idea, as a novice, how to rectify it. I need to probe "Vout" using the current generator featuring current 1n amps.

schem1.png
 
  • #29
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.
Presumably you've made a simplification based on a justified numerical approximation along the way?
To get the Simetrix schematic I am having trouble running a simulation as I keep getting errors (as seen in the command shell) and I have no idea, as a novice, how to rectify it. I need to probe "Vout" using the current generator featuring current 1n amps.
I'm not familiar with that simulation software. Looking at your schematic, I think you should turn your current source around so that the current is injected into the input. Check the polarity of the power supply connections to the TL072.
 
  • #30
Wel the simulation works however the voltage outcome is disappointing as you can see:

schem1.2.png
 

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
4K
  • · Replies 34 ·
2
Replies
34
Views
6K