Home Topics index


NODAL ANALYSIS


DESCRIPTION

EXAMPLES WITH INDEPENDENT SOURCES

SUPERNODE 

EXAMPLES WITH DEPENDENT SOURCES

SUMMARY


DESCRIPTION


Nodal analysis is more commonly used than mesh or loop analysis for analysing networks. It can be used to determine the unknown node voltages of both planar and non-planar circuits. Nodal equations are usually formed by applying Kirchoff’s Current Law to the nodes with unknown voltages, whereas equations based on Kirchoff’s Voltage Law are used to form the mesh equations. In order to apply nodal analysis to a circuit, the first step is to select a reference node or datum node and then assign a voltage at each of the other nodes with respect to the reference node. In a circuit with dc sources, the node that has the lowest voltage is usually selected as the reference node and then the other node voltages would be positive. Often the node that has the maximum elements connected to it in a circuit tends to be the reference node. Many electronic circuits have a metallic chassis and the reference node, usually the negative terminal of the dc source present in the circuit, happens to be connected to the chassis. It is common practice to connect the chassis to earth terminal of the utility supply. Then the reference node is at earth or ground potential and hence the reference terminal is referred to as the ground terminal, even if it is not earthed. In a power system, the casing of power appliances is usually earthed and the neutral of the utility supply remains connected to earth at the source. The reference node in such a power system is then at zero potential.


In nodal analysis, the voltage at the reference node is assumed to be zero. The voltages at other nodes are expressed with reference to the datum node. Since the unknown node voltages are determined by nodal analysis, it is logical to write the KCL equations at nodes. The procedure can be summarized as follows.

        Select a reference node and treat it to be at zero or ground potential.

        Label the nodes with unknown voltages.

        At each of these nodes, mark currents in the elements as flowing away from the node.

        Form KCL equations and solve the set of simultaneous equations for the unknown voltages.


The voltage across an element can be expressed as the difference of voltages at nodes to which it is connected. Use the passive sign convention and mark the currents to be flowing away from the node at which the KCL is applied. Then the mutual conductance term would have a negative sign whereas the self-conductance at a node would be a positive value. This aspect should become clear after a few examples. It is worth stressing that labelling the nodes and assigning current direction properly are really important. The practice of this technique would enable one to write the KCL equations and the matrix equations by inspection.


Nodal analysis is the ideal technique for analysis when all the sources in a circuit are independent current sources and the first example shows how to analyse such a circuit.

Go to Top of the Page


EXAMPLES WITH INDEPENDENT SOURCES

Worked Example 1

Obtain the unknown node voltages V1 and V2 of the circuit in Fig. 1.

Fig. 1

Solution:

The circuit shown in Fig. 1 is presented again in Fig. 2 to show that there are only three nodes in this circuit and that it is appropriate to select the reference node as shown. It is seen that the node that has the highest number of elements connected to it is the reference or datum node. It turns out that the potential at the datum node is lowest. Let it be assumed that the voltage at the datum node is zero volt.

Fig. 2 

The datum node has been marked and the unknown node voltages have also been labelled. The next task is to form the KCL equations at these nodes.

For the node with the voltage V1, the circuit in Fig. 3 is used. The two nodes with unknown voltages are marked A and B in the circuit shown in Fig. 3.

Fig. 3

At node A, the sum of currents entering it should equal the sum of currents leaving it. Then


ole.gif


It is seen from the circuit in Fig. 3 that



ole1.gif



Substituting for Ia and Ib from equation (2) into equation (1), we get that


ole2.gif



On grouping terms, equation (3) becomes:


ole3.gif



That is,


ole4.gif




 

It is seen that the coefficient of V1 is G11, the sum of conductances connected to node A. This term, G11, reflects the self-conductance connected to node A, whereas the term, G12, is the mutual conductance linking nodes A and B. Note that it has a negative sign.


The KCL equation at node B is obtained from the circuit in Fig. 4.

Fig. 4


ole5.gif


It is seen from the circuit in Fig. 4 that

ole6.gif
Substituting for Ic and Id from equation (7) into equation (6), we get that

ole7.gif


On grouping terms, equation (8) becomes:


ole8.gif


That is,


ole9.gif

It is seen that the coefficient of V2 is G22, the sum of conductances connected to node B. This term, G22, reflects the self-conductance connected to node B, whereas the term, G21, is the mutual conductance linking nodes A and B. Note that it has a negative sign. Equations (5) and (10) can be combined in the form of a matrix equation. We get that

ole10.gif


The square matrix in equation (11) is symmetric, since G12 = G21 and this matrix is known as the nodal conductance matrix. All the terms of this matrix are conductance terms. The solution of equation (11) can be obtained using either Cramer’s rule or Gaussian elimination method. We obtain that V1 = 12 V and V2 = 8 V.

The solution can be verified easily. For the node voltages defined above, the current through the 6 W resistor is 2 A, the current through the 4 W resistor is 1 A, and the current through the 2 W resistor is 4 A. It is seen that the KCL equations at nodes A and B are satisfied.


Worked Example 2


Obtain the unknown node voltages V1 and V2 of the circuit in Fig. 5.

Fig. 5


Solution:

Fig. 6

The KCL equation at node A is:


ole11.gif


                         

Fig. 7                            

The KCL equation at node B is:

ole12.gif

 



These two equations, (12) and (13), can be expressed in the form of a matrix equation.


ole13.gif





 

On solving, we obtain that V1 = 12 Volts and V2 = 8 Volts.


Worked Example 3


Find the current through the 8 W resistor in the circuit shown in Fig. 8.

Fig. 8

Solution:

The only unknown node voltage to be solved for is the voltage at node a. At this node,


ole14.gif




Then Va = 64 V.


It is not appropriate to use the mesh analysis for this problem, because there are four unknowns and the solution would not be as simple as that presented now.


Worked Example 4

Find Va, Vb and Vc marked in the circuit shown in Fig. 9.

Fig. 9


Solution: 


ole15.gif





Since three unknown node voltages have to be determined, three independent equations are required to be formed. By applying KCL to those nodes, three equations can be formed.


KCL equation at node a:

ole16.gif

   


KCL equation at node b:

ole17.gif

 

KCL equation at node c:  

ole18.gif



From equations (15), (16) and (17), we get that


ole19.gif


The solution is: Va = 10 V, Vb = 8 V, and Vc = 2 V.

The set of simultaneous equations can also be solved by elimination. This technique is illustrated below. Equations (15), (16) and (17) can be represented as follows: 

ole20.gif

   




Then

ole21.gif

   


 

 
ole22.gif




ole23.gif

 


 

ole24.gif



 


Go to Top of the Page


Worked Example 5

Find V1, V2 and V3 marked in the circuit shown in Fig. 10.

Fig. 10

Solution:

Fig. 11


Since three unknown node voltages have to be determined, three independent equations are required to be formed. By applying KCL to node 2, one equation can be formed. Since the voltage source is connected to two nodes, the second equation can be formed. The current through the voltage source has been marked as I. Two expressions for I can be formed, one from the KCL applied to node 1 and the other from node 3. By equating these two expressions, the third equation can be formed.

Fig. 12

Current I through the voltage source flows away from node 1 to node 3, as shown in Figs. 11 and 12. Then


ole25.gif

 


That is,


ole26.gif

   



Fig. 13

KCL at node 2:


ole27.gif



Since the voltage source is connected to nodes 1 and 3,


ole28.gif


From equations (27), (28) and (29), we get that


ole29.gif

 

 

This example is used again next to illustrate what a supernode is and how a circuit can be analysed using a supernode.

Go to Top of the Page



SUPERNODE

Fig. 14

By forming a supernode, it may be possible to reduce the number of unknowns by one and the solution thus can become simpler. The circuit diagram used in worked example 5 is re-presented in Fig. 14 with the box enclosed by broken lines forming a supernode. As can be seen, the use of a supernode is appropriate when the circuit contains a floating voltage source. A floating voltage source has neither of its terminals to the datum node. We can apply Kirchoff’s current law to supernode. Then


ole30.gif

 

That is,

ole31

The above equation can be simplified as shown next.


  ole32.gif

KCL at node 2:

  ole33.gif

From equations (30) and (31), we obtain that

 
ole34.gif



 

To form a supernode, we enclose a region and that region becomes a supernode. The algebraic sum of currents incident at the supernode is also to be zero. The use of supernode is useful for circuits containing floating voltage sources . If the floating voltage source is a dependent source, there may be no reduction in the number of equations required to be solved for, but nonetheless the formation of one of the equations may be slightly easier.

Go to Top of the Page



EXAMPLES WITH DEPENDENT SOURCES


Worked Example 7


Obtain voltages V2 and V3 of the circuit in Fig. 15.

Fig. 15

Solution:


Two unknown node voltages have to be determined. One KCL equation can be formed by equating the two expressions for current marked in Fig. 15. The second equation is obtained from the expression for the dependent source.


The KCL equations obtained at nodes 2 and 3 are presented below.


KCL Equation at node 2:


ole35.gif

     


 

KCL Equation at node 3:  


ole36.gif



From equations (32) and (33), we obtain that


ole37.gif


From the circuit in Fig. 15,

 
ole38.gif

  


On solving equations (34) and (35), we obtain that


ole39.gif


 

Worked Example 8

Fig. 16

Find V1, V2 and V3 marked in the circuit shown in Fig. 16.          

Solution:


Since three unknown node voltages have to be determined, three independent equations are required to be formed. By applying KCL to node 2, one equation can be formed. Using dependency of the floating voltage source connected to nodes 1 and 3, the second equation can be formed. The current through the voltage source has been marked as Iy in Fig. 16. Two expressions for Iy can be formed, one from the KCL applied to node 1 and the other from node 3. By equating these two expressions, the third equation can be formed.


KCL at node 2:

ole40.gif

  


Since the voltage source connected to nodes 1 and 3 is dependent on Ia,


ole41.gif





Current Iy through the voltage source flows away from node 1 to node 3. Then


ole42.gif

 


That is,

ole43.gif




From equations (36), (37) and (38), we get that


ole44.gif


It is possible to solve this problem using a supernode. All that is necessary is to obtain equation (8) using a supernode. For this purpose, the circuit in Fig. 16 is re-presented below.



Worked Example 9 

Fig. 17

Find V1, V2 and V3 marked in the circuit shown in Fig. 17.


ole45.gif

 

                                                                                                                                



Solution:


Three unknown node voltages have to be determined and hence three equations have to be formed.


KCL Equation at node 1:


ole46.gif



KCL Equation at node 2:

   
ole47.gif




 

On simplifying, we get that

ole48.gif


KCL equation at node 3: 


ole49.gif



After substituting appropriate expressions for Va and Vb and simplifying, we get that


ole50.gif


From equations (39), (40) and (41), we can obtain the values of V1, V2 and V3.


ole51.gif

 



Worked Example 10

Fig. 18

The task is to find the ratio of output voltage to input voltage, given that the op amp is not ideal. It has a finite gain, a finite input resistance and a finite output resistance.

Solution:

Fig. 19

The first step is to draw the equivalent circuit, using the voltage amplifier model, as shown in Fig. 19.

As shown in Fig. 19, the input resistance is the internal resistance of the op amp between its two input terminals. The voltage across the input resistance is amplified by the op amp with a gain of -A, and the output resistance is in series with the dependent voltage source. In order to solve using nodal analysis, it is necessary to mark the nodes. The voltages at these nodes are marked as VA, VB, and VC.


Fig. 20

We need to form KCL equations at the nodes at which the voltages are not known. The KCL equation at node with voltage VA is shown below.


ole52.gif




The voltage output VC of the dependent source can be expressed in terms of the node voltage VA and the source voltage VA, as shown below.


ole53.gif







The KCL equation at the output node can be obtained, and it is presented below. Since there can be a load connected to the output terminals, it has been included in the circuit in Fig. 21. When the op amp has a non-zero output resistance, the output voltage is a function that has the output resistance, and the load resistance as two of its parameters. . When the op amp has zero output resistance, the output voltage is independent of load resistance.

Fig. 21

ole54.gif



 

Equations (43), (44) and (45) can be combined into one matrix equation, and it is expressed below.


ole55.gif








 

Given numerical values, it is not difficult to get the ratio of output voltage to source voltage. Since it turns out to be a long expression, it is not derived here.

Next it is shown how we can simplify the ratio of output voltage to source voltage progressively, as we drop the non-ideal parameters of the op amp one by one.

Fig. 22


Let the output resistance be zero. Then the matrix simplifies to 2 by 2 matrix, as the output of the dependent source is the output voltage of the circuit, as shown in Fig. 22.


ole56.gif



 



Fig. 23

In addition, if the input resistance is infinite, the equivalent circuit can be drawn, as shown by the circuit in Fig. 23. In this case, the matrix equation, gets simplified, as shown below.

As input resistance tends to infinity and output resistance tends to zero, we get that

ole57.gif





Now we can get the ratio of output voltage to source voltage, as shown below.


ole58.gif

 





Given that the gain of the op amp is a finite value, the gain of the non–inverting amplifier circuit can be expressed by the expression shown above. The same expression was derived in the chapter on devices. This example shows the usefulness of nodal analysis. If this technique is not used, it is much more difficult to obtain the gain of the circuit, if the op amp has a finite gain, a finite input resistance and a finite output resistance.

Go to Top of the Page



SUMMARY


This chapter has shown nodal analysis can be applied to simple circuits and to circuits with dependent sources. The next chapter describes the sources or signals used for exciting an electrical circuit and their properties.

Go to Top of the Page