Solve Nodal Analysis Circuit: Find Voltage in All Nodes

AI Thread Summary
The discussion focuses on solving a circuit using nodal analysis to find the voltages at all nodes. The user created two supernodes and derived equations for three nodes, but encountered discrepancies between their calculated voltages and those obtained from LTSpice simulations. The issue was identified as a mistake in the mathematical expressions, particularly in the ordering of operations without proper parentheses. After correcting the equations, the user successfully resolved the circuit. Proper notation and attention to mathematical operations are emphasized as crucial for accurate nodal analysis.
asgerbj
Messages
12
Reaction score
0
I need to solve this circuit using nodal analysis (find the voltage in all nodes), but i need the actual equations used to solve it.
http://dl.dropbox.com/u/202411/p2/circuit328.png
All supplied information is there.

What I've done is to create 2 supernodes, like this
http://dl.dropbox.com/u/202411/p2/circuit328-calc.png

And write the following equations for the three nodes that i have left.
\frac{V1}{2k}+\frac{V1-V2+6}{2k}= 9mA
\frac{V2}{1k}+ 9mA +\frac{V2+6-V1}{2k}+\frac{V2+6-V3}{1k}= 2mA
\frac{V3-V2+6}{1k}+\frac{V3}{1k}+\frac{V3+89}{1k}+2mA = 0

When i try to solve these equations i get V1 = -5.8V, V2=-23V, V3=-40V
I tried to draw the circuit in LTSpice, and the result should be V1=2V, V2=-20V, V3=-35V

What did i do wrong? I've been trying to redo the circuit several times for more than 1½ hour now, but don't get the right answer.
 
Last edited by a moderator:
Physics news on Phys.org
It's a good idea to get into the habit of putting parentheses around the terms corresponding to supernode sub-nodes. That way mathematical operation ordering is maintained when you write your expressions. In your first node equation, for example, note that V1 - V2 + 6 is not the same as V1 - (V2 + 6) :wink:
 
gneill said:
It's a good idea to get into the habit of putting parentheses around the terms corresponding to supernode sub-nodes. That way mathematical operation ordering is maintained when you write your expressions. In your first node equation, for example, note that V1 - V2 + 6 is not the same as V1 - (V2 + 6) :wink:

oh god... i can't believe i spend so much time on this... .. thanks, that solved it :)
 

Similar threads

Back
Top