# 1 Mesh Analysis Discussion D2.4 Chapter 2 Section 2-8.

## Presentation on theme: "1 Mesh Analysis Discussion D2.4 Chapter 2 Section 2-8."— Presentation transcript:

1 Mesh Analysis Discussion D2.4 Chapter 2 Section 2-8

2 Mesh Analysis Mesh analysis applies KVL to find unknown currents. It is only applicable to planar circuits (a circuit that can be drawn on a plane with no branches crossing each other). A mesh is a loop that does not contain any other loops. The current through a mesh is known as the mesh current. Assume for simplicity that the circuit contains only voltage sources.

3 Mesh Analysis Steps 1.Assign mesh currents i 1, i 2, i 3, … i l, to the l meshes, 2.Apply KVL to each of the l meshes and use Ohm’s law to express the voltages in terms of the mesh currents, 3.Solve the l resulting simultaneous equations to find the mesh currents.

4 Example Number of nodes, n = Number of branches, b = Number of loops, l = 7 10 4

5 Example Apply KVL to each mesh Mesh 1: Mesh 2: Mesh 3: Mesh 4:

6 Mesh 1: Mesh 2: Mesh 3: Mesh 4: Mesh 1: Mesh 2: Mesh 3: Mesh 4: Express the voltage in terms of the mesh currents:

7 Mesh 1: Mesh 2: Mesh 3: Mesh 4: Mesh 1: Mesh 2: Mesh 3: Mesh 4:

8 Mesh 1: Mesh 2: Mesh 3: Mesh 4:

9 is an l x l symmetric resistance matrix is a 1 x l vector of mesh currents is a vector of voltages representing “known” voltages

10 The matrix R is symmetric, r kj = r jk and all of the off-diagonal terms are negative or zero. Writing the Mesh Equations by Inspection The v k (the k th component of the vector v) = the algebraic sum of the independent voltages in mesh k, with voltage rises taken as positive. The r kj terms are the negative sum of the resistances common to BOTH mesh k and mesh j. The r kk terms are the sum of all resistances in mesh k.

11 MATLAB Solution of Mesh Equations

12 Test with numbers

13 Test with numbers

14 MATLAB Run

15 PSpice Simulation MATLAB:

16 What happens if we have independent or dependent current sources in the circuit? 1.Write the mesh equations in the same way we did for circuits with only independent or dependent voltage sources. 2.Express the current of each independent or dependent current source in terms of the mesh currents. 3.Rewrite the equations with all unknown mesh currents on the left hand side of the equality and all known voltages on the r.h.s of the equality.

17 Example Write mesh equations by inspection.

18

19 MATLAB Run A A V i1i1 i2i2 vava

20 PSpice Simulation MATLAB: i1i1 vava i2i2 i1i1 vava i2i2 + -

21 Nodal Analysis vs Mesh Analysis If the circuit is nonplanar we must use nodal analysis. If the circuit is planar, there are two principle considerations: – The number of equations we need to write. – The information we need in the circuit. For example, do we want to find a current or a voltage?

22 The Number of Mesh Equations If the circuit has only voltage sources or current sources in parallel with resistances (that is, current sources that can be exchanged for voltage sources) then after we have exchanged the current sources, we have to write l mesh equations and the fundamental theorem of network topology tells us that:

23 The Number of Nodal Equations We also know that if the circuit has only current sources or voltage sources in series with resistances (that is, sources that can be transformed to current sources) then after we have transformed the voltage sources, the number of nodal equations is (n - 1). If we are not interested in the currents through voltage sources or voltages across current sources we may be able to reduce the number of equations we have to write.

24 Example Transform voltage sources into current sources b = n = 7 3

25 Example Write nodal equations

26 Example

27 Example

28 Example Transform current source into a current source and write mesh equations

29 Example

30 Example

31 Example