What is the correct way to use the node voltage method in circuit analysis?

In summary: So if the voltage at point A is higher than the voltage at point B, current will flow from A to B. If the voltage at point A is lower than the voltage at point B, current will flow from B to A. So, in part B, the direction of current flow is determined by the direction of the voltage drop across the resistance.
  • #1
Marcin H
306
6

Homework Statement


Screen Shot 2016-09-04 at 12.17.09 PM.png


Homework Equations


Node Voltage Method
V=IR

The Attempt at a Solution


So I am very confused about the node voltage method. For this example, the first equation makes sense to me. Current in equals current out. 6A in and then the rest makes sense. Is this how you do node voltage method? Just look at the currents going in and out? And then forming equations? If so the second equation doesn't make sense to me. I was told by another student who took circuit analysis that the second equation I wrote in the picture below is correct. I don't understand why. It doesn't follow the current in = current out logic. I was also told that current leaving the node is positive and entering is negative, but that logic doesn't seem to agree with the "correct" equation. With that logic I would get:

(V2-0)/2 + 2A - (V2-V1)/3 = 0

Why is that wrong?

Solution: EDIT* Using the equations in the picture, I get values of V1=16V and V2=4V. So I get nice values, but I am still not sure why this works if this is the correct method. Sorry for the multiple edits. I kept messing up my matrix
New Doc 18.jpg
 
Last edited:
Physics news on Phys.org
  • #2
Don't get caught up in what's supposed to be positive and what's supposed to be negative here. The core of the nodal equations is that the total current entering the node is the same as the total current exiting a node. In this case, you clearly have 2 A leaving the node because of the current source, but if you want the current from the current source to be the current that is entering the node, you must make that negative to change its direction. The other two currents are straightforward as in the first equation.

Marcin H said:
(V2-0)/2 + 2A - (V2-V1)/0 = 0

I assume you meant the denominator to be 3 in the third term here. So it starts off well. You've got that ##V_2/2## and that's leaving the node. You've got the 2 A, which is also leaving the node. Now move the third term on the other side. Is ##(V_2 - V_1)/3## the current entering the node?
 
  • #3
axmls said:
Now move the third term on the other side. Is (V2−V1)/3(V2−V1)/3(V_2 - V_1)/3 the current entering the node?

The way I wrote it: (V2-V1)/3 would mean that the current is leaving the node. Which is wrong right? Current is entering the node there. Should it be (V1-V2)/3 and then add it to the other side? So:

(V2-0)/2 + 2A = (V1-V2)/3

Is that correct?
 
  • #4
Yes, that is correct, but I must emphasize here: don't get overly concerned with where the current is really entering or leaving. You can choose to treat any path as the current leaving or the current entering. That is, you can treat the current source, for example, as either 2 A leaving or -2 A entering. If you chose wrong, the current you get at the end will be negative, but that's alright.

Personally, I think the best way to do it is to write it as "the sum of all the currents leaving a node is 0." That makes sense, of course, there's not going to be any net current produced in a node--every bit of current that enters will also leave, so there is no net current leaving. That way, you don't have to worry about what's going in and what's going out: simply write every current as leaving the node, add it all up, and set it equal to 0. It's the same thing, but you don't get caught up in the question of what's entering and what's leaving.
 
  • Like
Likes Marcin H
  • #5
Ok, that clears it up more. I will use that method from now on then. Do you know what I could say for part C? I'm not too sure how the answer relate there.
In Part A I got V1=16V and V2=4V
In Part B I got V0=-16V and V2=12V

i understand why the V2's are different. Because the grounds change you are looking at the potential across different points in the circuit. But what is the reason for V1=-VO? Assuming I did this correctly, what does that mean exactly? Does this show the correct direction of current flow through the circuit? Does this mean that putting the ground at V1 will give you incorrect voltages? What I get from this is that current is definitely flowing down towards V0.
 
  • #6
Well, in part B, the polarity between V0 and V1 is just flipped, isn't it?

Marcin H said:
Does this show the correct direction of current flow through the circuit?

When you actually calculate the currents, the "correct direction" is simply the direction that makes their flow positive. That doesn't mean a negative answer is wrong.
 
  • #7
axmls said:
Well, in part B, the polarity between V0 and V1 is just flipped, isn't it?

Yes it is. So my answer makes sense then. Ok cool.

[/QUOTE]When you actually calculate the currents, the "correct direction" is simply the direction that makes their flow positive. That doesn't mean a negative answer is wrong.[/QUOTE]
Ok so does that mean that V1 is not or should not be used as ground or something? Does this mean that V0 is the correct node to have a ground at? I'm confused about what this question is getting at.
 
  • #8
Marcin H said:
Ok so does that mean that V1 is not or should not be used as ground or something? Does this mean that V0 is the correct node to have a ground at? I'm confused about what this question is getting at.

The biggest thing to take away is that voltage is always measured relative to some reference, so a voltage by itself means nothing. You can generally choose what that reference is. As far as actual grounds in real life circuits, that will make more sense once you've gotten farther into your curriculum.
 

Related to What is the correct way to use the node voltage method in circuit analysis?

What are nodal equations and why are they important?

Nodal equations are mathematical expressions used in circuit analysis to determine the voltage at each node in a circuit. They are important because they allow us to understand how different components in a circuit affect each other and how to design more efficient and effective circuits.

How do I write nodal equations?

To write nodal equations, you need to follow these steps:1. Identify all the nodes in the circuit.2. Assign a variable to represent the voltage at each node.3. Apply Kirchhoff's Current Law to each node to determine the current flowing into and out of it.4. Use Ohm's Law to relate the current and voltage at each node.5. Write an equation for each node, equating the sum of currents to zero.

What is the difference between nodal analysis and mesh analysis?

Nodal analysis is based on Kirchhoff's Current Law and is used to determine the voltage at each node in a circuit. Mesh analysis, on the other hand, is based on Kirchhoff's Voltage Law and is used to determine the current in each loop of a circuit. While nodal analysis is more suitable for circuits with several parallel branches, mesh analysis is more suitable for circuits with several series branches.

How do I solve nodal equations?

To solve nodal equations, you can use various methods such as the matrix method, the determinant method, or the Gaussian elimination method. Whichever method you choose, the basic steps are to set up and solve a system of equations using the nodal equations, and then substitute the values back into the equations to find the unknown voltages.

What are some common mistakes to avoid when using nodal equations?

Some common mistakes to avoid when using nodal equations include:- Forgetting to include all nodes in the circuit.- Using incorrect signs for the currents and voltages.- Incorrectly applying Kirchhoff's Current Law.- Not properly labeling the variables used in the equations.- Not checking the final solution for accuracy.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
10
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
6
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
15
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
6
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Electrical Engineering
Replies
3
Views
946
Back
Top