Nodal and Mesh Analysis
In questa pagina 4
Two systematic methods to solve a linear resistive network without writing all equations (KCL, KVL and constitutive equations). In both, one family of Kirchhoff laws is satisfied automatically by the choice of the unknowns, so it disappears from the system. Abbreviations: IVS = ideal independent voltage source, ICS = ideal independent current source, = number of branches (two-terminal elements), = number of nodes, = number of meshes of a planar network.
1. Nodal analysis (nodal potential method)
1.1 Setting
Take a network of two-terminal elements that are all ICSs and ideal resistors. If somewhere an IVS is in series with an ideal resistor, that series connection can be replaced by the equivalent parallel connection of an ICS and an ideal resistor (see the source conversion in Network TheoremsThe substitution theorem lets a branch be replaced by a source imposing its own solution, Thevenin and Norton reduce any linear two-terminal network to a source with a resistor (series or parallel), and superposition is the tool used in their proofs.Network Theorems →). For now it is assumed that there is no branch with an IVS (non-zero prescribed voltage) without an ideal resistor in series; the general case is the modified method of section 1.4.
The network is linear. The full system is made of
- KCL: independent equations, ;
- KVL: independent equations, ;
- constitutive equations of the ICSs and of the ideal resistors, and , with the appropriate voltage and current reference directions: equations.
1.2 Idea of the method
- Voltages are potential differences between pairs of nodes, and the potential is defined up to a constant. The constant is fixed by choosing one node as the reference node (or ground node) and giving it zero potential. The unknowns are the other node potentials.
- With the reference node at zero, the potential of any other node equals the voltage between that node (sign ) and the reference node (sign ): this voltage is also called a node voltage.
- The voltage of the -th branch, which lies between nodes R and S (potentials and ), is with the sign if is equal to and the sign if is equal to .
- Writing the voltages as potential differences makes the KVLs automatically satisfied, so the KVLs are removed from the system.
- The KCLs are written at the nodes other than the reference node: an independent set is obtained by writing the KCLs at all nodes except one chosen arbitrarily. In each KCL the element equations are used and the voltages are replaced by potential differences.
Result: equations in unknowns.
1.3 Example and practical rule
Example from the lecture: a network with three nodes 1, 2, 3 and three resistors, between node 1 and node 3, between node 2 and node 3, between node 1 and node 2, with two ICSs and . Take node 3 as reference, . KCL at nodes 1 and 2 (currents leaving the node taken with their sign), together with the element equations, gives
(here is the voltage of resistor , not a node potential). The voltages as potential differences, with , are , , . Hence
Practical rule. Choose a reference node at zero potential. For each of the other nodes, the equation of the generic node is written directly as
where and are the potentials of nodes and and
- = sum of the conductances of the ideal resistors with one terminal connected to node (self-conductancealways positive, it multiplies the unknown of the node itself);
- = conductance between nodes and (mutual conductanceenters with a minus sign, it multiplies the potential of the other node);
- = algebraic sum of the prescribed currents of the ICSs connected to node : a prescribed current is taken with its sign if its current reference direction is entering node , with the opposite sign otherwise.
In the example above is the self-conductance of node 1 and the mutual conductance between nodes 1 and 2, as the rule predicts.
1.4 Modified nodal analysis
If the network contains a branch made of an IVS with non-zero prescribed voltage and no ideal resistor in series, the method is modified.
- Introduce the current of the IVS (with a chosen reference direction).
- Write the nodal equations treating the IVS as an ICS with prescribed current : The sign of follows the same rule as for any ICS: is taken with its sign if its reference direction is entering node , with the opposite sign otherwise.
- Add one equation for the IVS: its voltage, with the reference direction consistent with the symbol, is equal to the prescribed voltage , and is written as a function of the potentials of the nodes the IVS is connected to.
This gives equations in unknowns (the node potentials and ). With several such IVSs, each one adds its current as an unknown and one voltage equation: equations plus one per IVS.
1.5 Worked exercise (modified nodal analysis)
DC steady state. Data: , , , . Find the power absorbed by .
Network (nodes A, B, C, D, deduced from the equations of the lecture): the IVS is between A and B; between B and C; between B and D; between C and D; between D and A; the ICS between A and C, leaving node C. There are 4 nodes, .
Choose A as reference, . The IVS is connected directly between A and B with no resistor in series, so the modified method is used: the current of the IVS is introduced, with the source convention (preferred for a voltage source), entering node B. The equations are
(the second has because leaves node C). With the numbers,
Substitute in the first three equations and multiply them by 30:
Multiply the second by 5 and add it to the third: . Solution:
With the reference direction of from B to C: , so the absorbed power is
2. Mesh currents (introduction)
Consider a planar network with a connected planar graph. A mesh current is an auxiliary quantity: a current that flows through all the elements of a mesh and only those, closing on itself. It is drawn as an almost-closed line along the perimeter of the mesh, with an arrow giving its reference direction.
Example from the lecture: a graph with nodes 1 and 2 and three branches between them, with branch currents . There are two meshes, with mesh currents (through and ) and (through and ).
Rule. The current of a branch is the algebraic sum of the mesh currents flowing through it: a mesh current whose reference direction agrees with that of the branch current is taken with its sign, otherwise with the opposite sign. In the example
KCL is automatic. Each mesh current closes on itself, so it satisfies KCL; all together they do as well. Check at node 1:
General form. For a connected planar network of two-terminal elements, the meshes are , with mesh currents , all with the same orientation (all clockwise or all counterclockwise). For a branch current :
- branch not shared between two meshes: , with if the reference direction of agrees with that of ;
- branch shared between adjacent meshes and : , with if the reference direction of agrees with that of .
Because all mesh currents have the same orientation, the current in a shared branch is a difference.
3. Mesh current method
3.1 Setting
Take a network of two-terminal elements that are all IVSs and ideal resistors, with a connected planar graph. A parallel connection of an ICS and an ideal resistor can be replaced by the equivalent series connection of an IVS and an ideal resistor. For now it is assumed that there is no branch with an ICS (non-zero prescribed current) without an ideal resistor in parallel; the general case is the modified method (section 3.4).
The full system: KVL equations, KCL equations, and constitutive equations and .
3.2 Procedure
- Take the mesh currents , one per mesh, all with the same orientation (for example clockwise).
- Write the branch currents in terms of the mesh currents. The KCLs are automatically satisfied and are removed from the system.
- Write the KVL for each of the meshes, moving along the mesh in agreement with the mesh current, using the element equations and the mesh currents. A voltage crossed from to is taken with its sign, otherwise with the opposite sign.
Result: equations in unknowns.
3.3 Example and practical rule
Example from the lecture: a planar network with resistors and IVSs and , two meshes with clockwise mesh currents and , shared between them. The KVLs, with the element equations, are
and the branch currents are , , . Substituting:
Practical rule. For a planar network with all mesh currents oriented the same way, the equation of the generic mesh is
- = sum of the resistances in mesh (self-resistancealways positive, it multiplies the mesh current of the mesh itself);
- = resistance of the branch common to meshes and (mutual resistanceenters with a minus sign, it multiplies the mesh current of the other mesh);
- = algebraic sum of the prescribed voltages of the IVSs on mesh : a prescribed voltage is taken with its sign if, moving along the mesh in agreement with the mesh current of mesh , the IVS is crossed from to , with the opposite sign otherwise.
Nodal analysis and mesh analysis are dual: , , , and the sign conventions for the sources are mirror images (current entering the node, voltage crossed from to ).
3.4 Modified mesh current method
If the network contains a branch with an ICS with non-zero prescribed current and no ideal resistor in parallel:
- Introduce the voltage of the ICS.
- Write the mesh equations treating the ICS as an IVS with prescribed voltage : The sign of follows the rule for an IVS: is taken with its sign if, moving along mesh in agreement with its mesh current, is crossed from to , otherwise with the opposite sign.
- Add one equation for the ICS: its current, with the reference direction consistent with the symbol, equals the prescribed current , and is written as a function of the mesh currents flowing through that branch.
This gives equations in unknowns (the mesh currents and ). With several such ICSs, each adds its voltage as an unknown and one current equation.
3.5 Worked exercise (same network as 1.5)
DC steady state, , , , . Find the power exchanged by the ICS .
The network is the one of section 1.5. It is planar with 3 meshes (): mesh 1 contains , and ; mesh 2 contains , and ; mesh 3 contains , and . All mesh currents are clockwise. The voltage of the ICS is introduced with the source convention (preferred for a current source). The modified mesh equations are
With the numbers:
Add the first two equations (this eliminates ) and keep the third and fourth:
Substituting : Multiplying the second by and adding to the first gives . Therefore
With the source convention for the ICS, (positive: the ICS supplies 120 W).
3.6 Proposed exercise, solved with both methods
DC steady state. Data: , , , . Find the power absorbed by . The network has two IVSs (, ), one ICS () and four resistors.
Solution 1: modified mesh current method. Three clockwise mesh currents ; the voltage of the ICS has the source convention.
The fourth gives . Substituting in the first and third: so , , and from the second . The current of (reference as in the figure) is , and
Solution 2: modified nodal analysis. There are 5 nodes (A, B, C, D, E); reference node A. Both IVSs have no resistor in series, so their currents and are introduced (source convention). Equations deduced from the lecture:
Solving in order: ; ; from the second ; from the third ; from the fourth ; from the first . Then and , the same as with the mesh method.
4. Comparison of the two methods
| Nodal analysis | Mesh current method | |
|---|---|---|
| Unknowns | node potentials | mesh currents |
| Laws written | KCL at nodes | KVL on meshes |
| Law automatic | KVL (voltages are potential differences) | KCL (currents are mesh-current combinations) |
| Basic sources | ICS and resistors | IVS and resistors |
| Problem source | IVS without series resistor (add and one equation) | ICS without parallel resistor (add and one equation) |
| Needs planar graph | no | yes |
Choose the method with fewer unknowns for the network at hand. Related: Network TheoremsThe substitution theorem lets a branch be replaced by a source imposing its own solution, Thevenin and Norton reduce any linear two-terminal network to a source with a resistor (series or parallel), and superposition is the tool used in their proofs.Network Theorems →.
Versione ripasso
Counting. meshes, independent KCLs, equations in the full system.
Nodal analysis (ICSs and resistors, unknowns)
- Reference node at ; node voltage = potential. Voltage of a branch between R and S: . KVL then holds automatically.
- Equation of node : . = sum of conductances at node (self), = conductance between and (mutual), = sum of ICS currents entering node .
- IVS with no series resistor (modified): add its current as unknown, write the right-hand side as (sign: if enters the node), and add the equation . Total equations in unknowns.
- IVS in series with a resistor: convert to ICS () in parallel with .
Mesh current method (IVSs and resistors, unknowns)
- All mesh currents with the same orientation. Branch current = (unshared) or (shared). KCL then holds automatically.
- Equation of mesh : . = sum of IVS voltages crossed from to following the mesh current.
- ICS with no parallel resistor (modified): add its voltage as unknown, right-hand side (same rule as an IVS), and add the equation giving the ICS current in terms of mesh currents. Total equations.
- ICS in parallel with a resistor: convert to IVS in series with the resistor.
Results to remember (same network, V, A). Nodal: , , V, A, W. Mesh: , , A, V, W supplied.
Typical mistakes
- Using the sign of the wrong way round: current entering the node is positive, leaving is negative.
- Forgetting the extra equation ( in the nodal case, in the mesh case) when the source has no series or parallel resistor.
- Writing mutual terms with a plus sign: they are subtracted.
- Writing the KVL of a mesh with different orientations for different mesh currents: keep them all clockwise (or all counterclockwise).
- Computing a power from the wrong voltage: first find the branch voltage as a potential difference (), then use .