Linear Circuit Analysis
1. Introduction
2. Basic Concepts
- Charge, current, and voltage
- Power and energy
- Linear circuits
- Linear components
- Loops and nodes
- Series and parallel
- R, L & C combinations
- V & I combinations
3. Simple Circuits
- Ohm's law
- Kirchhoff's current law
- Kirchhoff's voltage law
- Single loop circuits
- Single node-pair circuits
- Voltage division
- Current division
4. Nodal and Mesh Analysis
5. Additional Analysis Techniques
- Superposition
- Source transformation
- The $V_{test}/I_{test}$ method
- Norton equivalent
- Thévenin equivalent
- Max power transfer
6. AC Analysis
7. Magnetically Coupled Circuits
8. Polyphase Systems
9. Operational Amplifiers
10. Laplace Transforms
11. Time-Dependent Circuits
- Introduction
- Inductors and capacitors
- First-order transients
- Nodal analysis
- Mesh analysis
- Laplace transforms
- Additional techniques
12. Two-Port Networks
Appendix
Mesh Analysis
Mesh analysis is a method based Kirchhoff's voltage law that can be used to compute the currents flowing in each branch of a circuit. The technique is based on the fact that, if a circuit has $n$ minor meshes, the $n$ mesh currents can be found by solving a system of $n$ independent equations that can be obtained by applying KVL, in which the voltage across each component is computed based on its voltage-current characteristic. If the circuit contains $m$ current sources (notice that in the case of current sources the voltage vs. current is a multivalue function), $m$ equations will be the current constrained equations of each current source, as described below.
Algorithm
Assume we have a circuit with $n$ meshes (excluding the outer mesh), $m$ current sources and $c$ control variables.
Step 1. Identify the meshes in the circuit. The outer mesh is selected as a reference mesh (i.e. the mesh current of the outer loop is equal to 0).
Step 2. Label the currents at each of the $n$ meshes with $i_1$, $i_2$, ..., $i_n$.
Step 3. Write the system of mesh analysis equations, which will have $n+c$ equations ($m$ current constrained equations, $n-m$ KVL equations, and $c$ equations for the control variables). It is a good practice to write the $n+c$ equations in the order specified below:
A. Write $m$ current constrained equations. Write one current constrained equations for each current source $$\begin{equation}I_i=i_{i1}+i_{i2}\end{equation}$$ where $i=1,...,m$ and $i_{i1}+i_{i2}$ is the algebraic sum of the two mesh currents adjacent to source $m$ going in reference with the direction of the current source. When all mesh currents are considered to be in the same direction (usually clockwise), one mesh current will usually enter with a plus sign, while the other with a minus sign in this formula.
B. Write $c$ equations for control variables. Express each control variable (that usually appear in the definition of dependent sources) in terms of the $n$ mesh currents.
C. Write KVL equations for regular meshes. Write KVL for each of regular mesh that does not connect a current source. When writing KVL, the current through each resistor (or impedance in the case of AC circuits) should be computed using Ohm's law.
D. Write KVL equations for supermeshes. Write KVL for each supermesh. As before, when writing KVL, the current through each resistor (or impedance) should be computed using Ohm's law.
Step 4. Solve the system on mesh analysis equations to compute the $n$ mesh currents and $c$ control variables.
Step 5. Compute the sought variables.
More details
-
A supermesh is a mesh formed by combining two or more meshes that include one or more current sources inside the combined mesh; the combined mesh cannot include any current source on its branches.
Usually, we need to write equations for supermeshes whenever we have current sources that are not part of the outer mesh and, by the combined mesh does not contain any current source on it borders.
Since a supermesh contains current sources inside itself, we cannot assign a single current to the supermesh.
Fig. 1 shows an example of a circuit with one supermesh. Current source $I_2$ results in a supermesh formed by combining $i_4$ and $i_5$. Notice that the combined supermesh is shown in red and does not contain any current sources on its branches. Current source $I_1$ does not result in a supermesh because the supermesh that it had created made by combining $i_1$ and $i_2$ would contain current source $2I_x$ on its branches. If the $2I_x$ source was a resistor, current source $I_1$ would result in another supermesh. The KVL equation for the supermesh shown in Fig. 1 is $$\begin{equation}V_1+i_5 R_5+(i_4-i_2)R_4=0\end{equation}$$
Fig. 1. Example of a circuit with one supermesh formed by combining meshes $i_4$ and $i_5$. Current source $I_1$ does not result in a supermesh, although it is not part of the outer mesh. - The number of KVL equations that we write at steps 3.C and 3.D should be $n-m$.
- Sometimes, it is convenient to add the equations for the sought variables to the $n+c$ mesh analysis equations. In this case, the solution of the system will also contain the values of the sought variables.
- It is not mandatory to chose the outer mesh as a reference mesh. In principle, one could chose any mesh as the reference mesh and include the outer mesh as a regular mesh. However, this is almost never done in practice when solving mesh analysis problems.
- Mesh analysis can be used to analyze both linear and nonlinear circuits, DC and AC circuits, as well as time-dependent circuits. In the case of DC circuits we obtain a system of equations with real coefficients; in the case of AC circuits we obtain a system of equations with complex coefficients; in the case or time-dependent problems we obtain a system of integro-differential equations (which can usually be reduced to a system of ordinary differential equations).
How to compute the sought variables?
The sought variables can usually be expressed directly in terms of the mesh currents.
- The current flowing through a branch of the circuit can be expressed as the difference of the neighboring two mesh currents. For instance, current $I_x$ in Fig. 1 is $I_x=i_4-i_3$.
- The voltage across a resistor can be computed using Ohm's law as a function of the current going through the resistor and the resistance. For instance, the voltage from left to right across resistor $R_1$ in Fig. 1 is $V_{R_1}=R_1 i_3$.
- The voltage across a current source can be computed indirectly, by writing KVL for a loop which contains the current source. In this way, we compute the sum of all the voltage drops around the loop, and by isolating the term associated with the current source we obtain its voltage. For instance, to compute voltage $V_0$ across current source $I_2$ in Fig. 1, we can write that $$\begin{equation}V_0 = I_5 R_5\end{equation}$$ Or, we can also write $$\begin{equation}V_0 = -V_1+(i_2-i_4)R_4\end{equation}$$
-
The power dissipated by a resistor can be found by computing the current going through the resistor, say $I_R$, and using $P=R I_R^2$. For instance, the power dissipated by resistor $R_3$ in Fig. 1 is $(i_1-i_3)^2/R_3$.
-
The power generated by a current source can be computed by multiplying the the current of the source by the voltage from node where the current goes out of the source to the node where current gets in the source. For instance, the power generated by source $I_2$ in Fig. 1 is $P_g=I_2\cdot(-V_0)$ (where $I_0$ was computed above).
-
The power generated by a voltage source can be computed by multiplying the the voltage of the source by the current going from the negative to the positive terminal of the source. For instance, the power generated by source $V_1$ in Fig. 1 is $P_g=V_1(i_3-i_4)$.
Examples of Solved Problems
-
DC analysis
Circuit with 3 nodes, 2 loops, 1 voltage source, 1 current source, 3 resistors (numerical): I0
Circuit with 4 loops, 2 voltage sources, 1 current source, 6 resistors, supermesh (numerical): I0&P
Circuit with 5 loops, 2 voltage sources, 2 current sources, 6 resistors, 1 dependent source, supermesh (numerical): V0&P
-
Time-dependent analysis
Circuit with 3 loops, 1 voltage source, 1 current source, 2 resistors, 1 inductor, 1 capacitor (numerical in s-domain): I0
Circuit with 3 loops, 1 voltage source, 1 current source, 2 resistors, 1 inductor, 1 capacitor, 1 dependent source (numerical in s-domain): I0
Circuit with 2 loops, 2 voltage sources, 1 resistor, 1 inductor, 1 capacitor (analytical, write system of ODEs with nonzero IC): I0
Circuit with 4 loops, 2 voltage sources, 1 current source, 2 resistors, 1 inductor, 1 capacitor (analytical, write system of ODEs with nonzero IC): I0&V0
-
DC mesh analysis (analytical)
Circuit with 2 loops, 2 voltage sources, 3 resistors (analytical): I0
Circuit with 2 loops, 1 voltage source, 1 current source, 3 resistors (analytical): I0
Circuit with 2 loops, 1 voltage source, 1 current source, 3 resistors, 1 dependent source (analytical): V0
Circuit with 3 loops, 2 voltage sources, 4 resistors (analytical): I0&V0
Circuit with 3 loops, 1 voltage source, 1 current source, 4 resistors (analytical): I0&V0
Circuit with 3 loops, 1 voltage source, 1 current source, 4 resistors, 1 dependent source (analytical): I0&V0&P
Circuit with 3 loops, 1 voltage source, 1 current source, 4 resistors (analytical): I0&P
Circuit with 4 loops, 2 voltage sources, 1 current source, 5 resistors, 1 dependent source (analytical): V0&P
Circuit with 4 loops, 2 voltage sources, 1 current source, 6 resistors, supermesh (analytical): I0&P
Circuit with 5 loops, 2 voltage sources, 2 current sources, 6 resistors, 2 dependent sources, supermesh (analytical): P
Circuit with 6 loops, 2 voltage sources, 2 current sources, 9 resistors, 2 dependent sources, supermeshes (analytical): P
-
DC mesh analysis (numerical)
Circuit with 3 nodes, 2 loops, 2 voltage sources, 3 resistors (numerical): I0
Circuit with 3 nodes, 2 loops, 1 voltage source, 1 current source, 3 resistors (numerical): I0
Circuit with 3 nodes, 2 loops, 1 voltage source, 1 current source, 3 resistors, 1 dependent source (numerical): I0
Circuit with 3 nodes, 3 loops, 2 voltage sources, 4 resistors (numerical): V0
Circuit with 3 nodes, 3 loops, 1 voltage source, 1 current source, 4 resistors (numerical): V0
Circuit with 3 nodes, 3 loops, 1 voltage source, 1 current source, 4 resistors, 1 dependent source (numerical): I0
Circuit with 4 nodes, 4 loops, 2 voltage sources, 1 current source, 5 resistors (numerical): I0&V0
Circuit with 4 nodes, 4 loops, 2 voltage sources, 1 current source, 5 resistors, 1 dependent source (numerical): I0&V0
Circuit with 4 loops, 2 voltage sources, 1 current source, 6 resistors, supermesh (numerical): I0&P
Circuit with 5 loops, 2 voltage sources, 2 current sources, 6 resistors, 1 dependent source, supermesh (numerical): V0&P
Circuit with 6 loops, 2 voltage sources, 2 current sources, 9 resistors, 2 dependent sources, supermeshes (numerical): P
-
DC mesh analysis (numerical)
Circuit with 3 nodes, 2 loops, 2 voltage sources, 3 resistors (numerical design): V0&I0
Circuit with 3 nodes, 2 loops, 1 voltage source, 1 current source, 3 resistors (numerical design): V0&I0
Circuit with 3 nodes, 2 loops, 1 voltage source, 1 current source, 3 resistors, 1 dependent source (numerical design): V0&I0
Circuit with 3 nodes, 3 loops, 2 voltage sources, 4 resistors (numerical design): V0&I0
Circuit with 3 nodes, 3 loops, 1 voltage source, 1 current source, 4 resistors (numerical design): V0&I0
Circuit with 3 nodes, 2 loops, 1 voltage source, 1 current source, 4 resistors, 1 dependent source (numerical design): V0&I0
Circuit with 4 nodes, 4 loops, 2 voltage sources, 1 current source, 5 resistors (numerical design): I0&V0
Circuit with 4 loops, 2 voltage sources, 1 current source, 5 resistors, 1 dependent source (numerical design): I0&V0
Circuit with 4 loops, 2 voltage sources, 1 current source, 6 resistors, 1 dependent source (numerical design): I0&V0
Circuit with 5 loops, 1 voltage source, 1 current source, 6 resistors, 1 dependent source, supermesh (numerical design): I0&V0
Circuit with 6 loops, 2 voltage sources, 2 current sources, 9 resistors, 2 dependent sources, supermeshes (numerical design): I0&V0