











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!












The process of analyzing circuits can sometimes be a difficult task to do. Examining a circuit with the node or loop methods can reduce the amount of time required to get important information on a circuit. These analyses apply Kirchhoff's laws in a step-by-step approach to solve for unknown voltages and current. Once these values are obtained, further information such as electrical power can be analyzed.
This module introduces Kirchhoff's laws and their relation to circuit analysis. Different methods for analysis are explained, covering both node and mesh analysis. These processes are explained in detail to provide an understanding of how to analyze circuits.
In 1847, Gustav Kirchhoff formulated his voltage law and current law. These laws were derived from the conservation of charge and conservation of energy laws and applied to circuits. These laws are used to develop equations for circuit analysis.
Kirchhoff current law states that the algebraic sum of all currents entering a node of a circuit is always zero. A node in a circuit is the place where circuit elements are connected together. The direction of the current must be considered during the analysis. If the current is entering the node, the current should be subtracted from the algebraic
sum. Likewise, if the current is directed away or out from a node then the current is said to be positive. Another simpler way to analyze the current is to set the sum of the currents directed away from the node equal to the sum of the currents directed towards the node.
The following circuit can be analyzed with KCL.
Figure 1: KCL Analysis of a Circuit
The node in the center of this circuit involves four currents. The sum of the two currents entering the node (the current from elements A and D) are equal to the two currents leaving the node (towards elements B and C). Analyzing the center node of this circuit shows
Kirchhoff's voltage law states that the algebraic sum of the voltages around any loops in
reference node. Usually, if a circuit contains a ground, whichever node the ground is connected to is selected as the reference node. This is used to find the voltage differences at each other node in the circuit with respect to the reference.
Figure 3: DC circuit showing nodes.
Ideally we set the voltage to 0 V at the reference node to simplify calculations, however it can be set to any value as long as the other nodes account for the different reference voltage. Solving the node equations can provide us with the node voltages.
The node equations are obtained by completing two things:
Figure 4 below shows an example of a DC circuit with current and voltage sources. It contains 3 nodes a , b and c , as well as the reference node at the grounded connection.
Figure 4: DC Circuit with Voltage and Current Sources
Here, node c is an example of a supernode which is a connection between two nodes via an independant or dependant voltage source. Because supernodes are connected to a voltage source we can find their voltage immediately. In this case, with the ground at , the voltage across the source will be , therefore. Similarily,
node a is related to node b as a supernode,. We can substitute and
into our KCL equations to solve for.
Calculate the KCL equations at node a in figure 3. The current source is directing current into node a , and we will assume the current flows away from a towards node b and c. The KCL equation for node a is
The current across the resistor represented by the node voltages is found through Ohm's law as the potential across the element divided by the resistance. Note the assumed direction of the current to ensure the correct polarity of the difference in potential.
Figure 5: Mesh circuit
This circuit has 2 meshes in it, outlined in green and blue dotted lines. The currents
and are the currents around a mesh. In places where the currents affect each other,
such as in figure 5, take the sum of the currents but consider the directions. Here, if
we examine the green mesh, the current through will be because is going in
the opposite direction as.
The method behind mesh analysis is to examine the mesh in terms of the voltages of each element and express that with the mesh currents. Using Ohm's law , we can express the voltage across as. Use this approach across a circuit applying KVL
to find the mesh equations, then you can use these equations to solve for unknown current.
In the case where a dependent source is present in a circuit, the controlled current or voltage of that source must also be expressed by the mesh currents. Examine the circuit and find which part of the circuit controls the dependent source and express that voltage or current with the mesh currents that affect it.
Figure 6: Circuit with dependent source
In this circuit, a dependent source generates voltage depending on the current at. We want to express this in terms of the mesh currents. Examining the circuit shows that the current is equal to the mesh current. Therefore the dependent source will force volts into the system, and now mesh analysis can be performed to solve for the remaining unknowns.
Both analyses are appropriate in most cases. Mesh analysis should not be used in instances where the circuit has a crossover. In this case, the nodal method should be used. A reliable way to determine which method to use comes from the number of equations that each will generate. It would be a better choice to use mesh analysis if the circuit contained more nodes than meshes, and if the opposite is true then use nodal analysis.
Examples with MapleSim
Problem Statement : Determine the node voltages for the circuit in the following figure when , , , , , , , , and .
, and represent the voltages at nodes a , b and c respectively.
We will begin with the KCL equation for node a. The currents and are entering the
node, and assume the currents through the resistors leading to the ground are leaving the node.
Rearranging this by extracting the node voltages leaves
Use the same method to solve for the node equation at b.
Solving for the node voltages,
For node c , the KCL equation will be
Again, rearranging this to isolate the coefficients of , and will complete our
matix.
This can be solved easily as a matrix with Maple using the solve command. Otherwise, use substitution and elimination with the KCL equations to solve for the values of the node voltages.
Thus the potential of the node voltages are , and.
Step 1: Insert Components
Drag the following components into a new workspace.
Component Location
Electrical > Analog
Common
(6 required)
Electrical > Analog
Common
(3 required)
Electrical > Analog
Sources > Current
Step 2 : Connect the components.
'Inspector' tab to ensure the voltage at each spot will be measured.
Step 4 : Run Simulation
Run the simulation. Measure the value of the plots that the probes generate to obtain the values of the node voltages.
Problem Statement : Consider the following circuit. A voltmeter reads -7.2 volts across the dependent source. Find the gain A of the current-controlled voltage source.
Figure 10: Mesh analysis of a circuit
Data:
Solution:
First draw the meshes to be examined in the circuit. They are labelled in green with current and red with below.
Figure 11: Label meshes
Consider the dependent source. It is supplying a voltage in the opposite direction to the reading from the voltmeter. From this, we can infer the voltage of the source element.
The dependent current is between both meshes. We can represent this current in
terms of the mesh currents.
Now that we can represent the dependent source in terms of the mesh currents, apply KVL to obtain the equations. Mesh analysis on the green loop shows,
Which simplifies to show the current.
Component Location
Electrical > Analog
Common
(2 required)
Electrical > Analog
Common
(2 required)
Electrical > Analog
Sources > Voltage
Step 2 : Connect the components.
Connect the components as shown in the diagram below.
Figure 12: MapleSim model
The current source on the right is replacing the dependent voltage because the question supplied the voltage across the element. It will be easier to use the known value.
Note that the direction of the probe arrow is dependent on the direction you moved to connect the nodes. For example, here the top node was connected to the bottom node instead of the bottom connecting to the top, so the arrow points downwards. It is an assumption made by the program.
Step 3 : Set Up the Circuit
block and change the parameter on the 'Inspector' tab.
'Inspector' tab, deselect the voltage ' v ' and select the current ' i '. An arrow will show up at the probe designating which direction the program assumes the current will be travelling. If the current is negative, then it is travelling in the opposite direction of the arrow.
Step 3 : Run Simulation
Run the simulation. The probe will return the value of. Divide the voltage across the
dependent source by the current to get the magnitude of the gain.
Step 4 : Check the Solution
To check your solution,
Controlled > CCV) in place of the right voltage source. On the
'Inspector' tab, set the gain to 4.