Discussion D2.4a September 2006 Chapter 2 Section 2-8

Slides:



Advertisements
Similar presentations
Kirchhoff’s Laws.
Advertisements

Kirchhoff’s Laws Three Examples
Chapter 19 Methods of AC Analysis. 2 Dependent Sources Voltages and currents of independent sources –Not dependent upon any voltage or current elsewhere.
ECE 3336 Introduction to Circuits & Electronics
DC CIRCUIT ANALYSIS: NODE AND MESH METHOD
Lecture 261 Nodal Analysis. Lecture 262 Example: A Summing Circuit The output voltage V of this circuit is proportional to the sum of the two input currents.
1 Nodal Analysis Discussion D2.3 September 2006 Chapter 2 Section 2-7.
ECE201 Lect-91 Nodal Analysis (3.1) Dr. Holbert February 22, 2006.
Methods of Analysis PSUT 1 Basic Nodal and Mesh Analysis Al-Qaralleh.
1 AC Nodal and Mesh Analysis Discussion D11.1 Chapter 4 4/10/2006.
1 Exam 1 Review Chapters 1, 2, 9. 2 Charge, q Recall Coulomb’s Law Unit: Newton meter 2 / coulomb 2 volt meter / coulomb Charge on an electron (proton)
Systematic Circuit Analysis Nodal Analysis Chapter 4 Section 1.
Lecture 281 Loop Analysis. Lecture 282 Loop Analysis Nodal analysis was developed by applying KCL at each non-reference node. Loop analysis is developed.
S.Norr - UMD - Fall, 2005 ECE 2006 Lecture for Chapter 4 S.Norr.
Chapter 8 Methods of Analysis. 2 Constant Current Sources Maintains same current in branch of circuit –Doesn’t matter how components are connected external.
7/2/20151 T-Norah Ali Al-moneef king saud university.
Methods of Analysis Eastern Mediterranean University 1 Methods of Analysis Mustafa Kemal Uyguroğlu.
1 Chapter 3 Methods of Analysis Copyright © 2013 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Mesh Analysis Discussion D2.4 Chapter 2 Section 2-8.
METHODS OF ANALYSIS Mesh Analysis Nodal analysis.
Objective of Lecture Provide step-by-step instructions for mesh analysis, which is a method to calculate voltage drops and mesh currents that flow around.
1 Chapter 3 Methods of Analysis Copyright © 2013 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The second systematic technique to determine all currents and voltages in a circuit IT IS DUAL TO NODE ANALYSIS - IT FIRST DETERMINES ALL CURRENTS IN A.
Objective of Lecture Provide step-by-step instructions for mesh analysis, which is a method to calculate voltage drops and mesh currents that flow around.
Chapter 8 Methods of Analysis. Constant Current Sources Maintains the same current in the branch of the circuit regardless of how components are connected.
Review Part 3 of Course. Passive Circuit Elements i i i + -
Current, Resistance,Voltage Electric Power & Energy Series, Parallel & Combo Circuits with Ohm’s Law, Combo Circuits with Kirchoff’s Laws Review for Chapters.
EE212 Passive AC Circuits Lecture Notes 2a EE 212.
1 Exam 1 Review Chapters 1, 2, 9. 2 Charge, q Recall Coulomb’s Law Unit: Newton meter 2 / coulomb 2 volt meter / coulomb Charge on an electron (proton)
BYST Circuit -F2003: Nodal and Mesh Analysis 92 CPE220 Electric Circuit Analysis Chapter 3: Nodal and Mesh Analyses.
METHODS OF CIRCUIT ANALYSIS
9 Kirchhoff’s Laws Chapter Topics Covered in Chapter 9
1 ENGG 1015 Tutorial Circuit Analysis 5 Nov Learning Objectives  Analysis circuits through circuit laws (Ohm’s Law, KCL and KVL) News  HW1 deadline (5.
ENGR. VIKRAM KUMAR B.E (ELECTRONICS) M.E (ELECTRONICS SYSTEM ENGG:) MUET JAMSHORO 1 KIRCHHOFF’S VOLTAGE LAW.
Methods of Analysis Chapter 3. Introduction We are now prepared to apply Ohm’s law and Kirchhoff’s laws to develop two powerful techniques for circuit.
305221, Computer Electrical Circuit Analysis การวิเคราะห์วงจรไฟฟ้าทาง คอมพิวเตอร์ 3(2-3-6) ณรงค์ชัย มุ่งแฝงกลาง คมกริช มาเที่ยง สัปดาห์ที่ 3 Nodal.
KIRCHHOFF’S LAWS & COMBINATIONS OF RESISTORS
Chapter 19 DC Circuits. Objective of the Lecture Explain Kirchhoff’s Current and Voltage Laws. Demonstrate how these laws can be used to find currents.
LOOP ANALYSIS The second systematic technique to determine all currents and voltages in a circuit IT IS DUAL TO NODE ANALYSIS - IT FIRST DETERMINES ALL.
Fundamentals of Electric Circuits
Mesh Analysis Introducing Supermeshes!!!. Mesh Analysis A mesh is a loop with no other loops within it; an independent loop. Mesh analysis provides another.
EEE1012 Introduction to Electrical & Electronics Engineering Chapter 2: Circuit Analysis Techniques by Muhazam Mustapha, July 2010.
The second systematic technique to determine all currents and voltages in a circuit IT IS DUAL TO NODE ANALYSIS - IT FIRST DETERMINES ALL CURRENTS IN A.
Mesh Analysis Introducing Supermeshes!!!. Mesh Analysis A mesh is a loop with no other loops within it; an independent loop. Mesh analysis provides another.
Simultaneous Equations Can use matrix maths to solve linear simultaneous equations Arise from: –Electric Circuits Kirchoff’s laws –Fluid Dynamics.
Review of Last Class  Calculation of Input Resistance The Equivalent Change of electric Current source  Voltage source Key Points and Difficult Points.
Chapter 2-2 Nodes and Paths KCL and KVL. Node A node: is a point where two or more circuit elements meet. Kirchhoff’s Current Law (KCL): This law states.
Techniques of Circuit Analysis 1 Electrical Circuits CEN270.
Method 2a: KVL & KCL Kirchhoff’s Voltage Law (KVL)
Chapter 3 Methods of Analysis
Power and Energy Consider the product of voltage and current. V  I
Chapter 3 Methods of Analysis
Discussion D2.3 Chapter 2 Section 2-7
Fakulti Kejuruteraan Elektrik
Previous Lecture 22 Branch Current Method Loop Current Method.
Introducing Supernodes!!!
AC Nodal and Mesh Analysis
Chapter 4-1 Terminology and rules Node Voltage Review Matrix
Current Directions and
The Node-Voltage Method
Kirchoff’s Laws.
Review Node Voltage Method
Kirchoff’s Laws.
Chapter 3 Methods of Analysis
Nodal and Mesh Analysis
Chapter 9.
Kirchhoff’s Laws.
Kirchhoff’s Laws.
KIRCHHOFF’s VOLTAGE LAW
Chapter 3 – Methods of Analysis
Presentation transcript:

Discussion D2.4a September 2006 Chapter 2 Section 2-8 Mesh Analysis Discussion D2.4a September 2006 Chapter 2 Section 2-8

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.

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

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

Example The l loop currents are i = [i1 i2 i3 i4] The n-1 node voltages are vn = [vn1 vn2 vn3 vn4 vn5 vn6] The b branch currents are ib = [ib1 ib2 ib3 ib4 ib5 ib6 ib7 ib8 ib9 ib10]

Example We will solve mesh equations for the l loop currents i = [i1 i2 i3 i4] Then we can calculate the b branch currents from

Example We can also solve for the n-1 node voltages from the loop currents (or branch currents)

Example Solving mesh equations for the l loop currents i = [i1 i2 i3 i4] Apply KVL to each mesh 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: Mesh 1: Mesh 2: Mesh 3: Mesh 4:

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

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

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

Writing the Mesh Equations by Inspection The matrix R is symmetric, Rkj = Rjk and all of the off-diagonal terms are negative or zero. The Rkk terms are the sum of all resistances in mesh k. The Rkj terms are the negative sum of the resistances common to BOTH mesh k and mesh j. The ki (the ith component of the vector k) = the algebraic sum of the independent voltages in mesh i, with voltage rises taken as positive.

MATLAB Solution of Mesh Equations

Test with numbers

Test with numbers

MATLAB Run

PSpice Simulation MATLAB:

Let's write a general MATLAB program to solve this problem Inputs: Vs1, Vs2 Find all voltages and currents

function mesh1(r,Vs1,Vs2) % PowerPoint mesh-1 example % Discussion D2.4 % r is a 1 x 8 vector of resistances % Vs1 and Vs2 = the known dc voltage sources % mesh1(r,Vs1,Vs2) % R = [r(1)+r(5)+r(7) -r(7) -r(5) 0; -r(7) r(2)+r(6)+r(7) 0 -r(6); -r(5) 0 r(3)+r(5) 0; 0 -r(6) 0 r(4)+r(6)+r(8)] k = [Vs2; 0; -Vs1; Vs1] i = inv(R)*k vn = zeros(1,6); vn(1) = -i(3)*r(3); vn(2) = Vs2-i(3)*r(3); vn(3) = Vs1+(i(1)-i(2))*r(7); vn(4) = i(4)*(r(4)+r(8)); vn(5) = i(4)*r(8); vn(6) = Vs1; vn ib = zeros(1,10); ib(1) = -i(3); ib(2) = i(1); ib(3) = i(1); ib(4) = i(2); ib(5) = i(4); ib(6) = i(4); ib(7) = i(3)-i(1); ib(8) = i(2)-i(4); ib(9) = i(1)-i(2); ib(10) = i(3)-i(4); ib

MATLAB Run

What happens if we have independent current sources in the circuit? Assume temporarily that the voltage across each current source is known and write the mesh equations in the same way we did for circuits with only independent voltage sources. Express the current of each independent current source in terms of the mesh currents and replace one of the mesh currents in the equations. Rewrite the equations with all unknown mesh currents and voltages on the left hand side of the equality and all known voltages on the r.h.s of the equality.

Example Write mesh equations by inspection.

MATLAB Run i1 A i2 A va V

PSpice Simulation va + - i2 i1 i1 MATLAB: i2 va

Let's write a general MATLAB program to solve this problem Inputs: Find all voltages and currents Note that

Example The l loop currents are i = [i1 i2 i3] The n-1 node voltages are vn = [vn1 vn2 vn3] The b branch currents are ib = [ib1 ib2 ib3 ib4 ib5 ib6]

Example We will solve mesh equations for the loop currents and unknown voltage va iiv = [i1 i2 va] Then we can calculate the n-1 node voltages from

Example We can also calculate the b branch currents from

Expand matrix with

These can be written in matrix form as

function mesh2(r,Vs1,Is1) % PowerPoint mesh-2 example % Discussion D2.4 % r is a 1 x 4 vector of resistances % Vs1 is a known dc voltage source % Is1 is a known dc current source % mesh2(r,Vs1,Is1) R = [r(1)+r(3) -r(3) 0; -r(3) r(2)+r(3)+r(4) 0; -r(1) -r(2) 1] k = [Vs1-r(1)*Is1; -r(2)*Is1; (r(1)+r(2))*Is1] iiv = inv(R)*k i(1) = iiv(1); i(2) = iiv(2); i vn = zeros(1,3); vn(1) = Vs1; vn(2) = i(2)*r(4); vn(3) = (i(1)-i(2))*r(3); vn ib = zeros(1,6); ib(1) = i(1); ib(2) = -Is1; ib(3) = i(2); ib(4) = i(1)+Is1; ib(5) = -i(2)-Is1; ib(6) = i(1)-i(2); ib

Do same problem as before mesh2(r,Vs1,Is1)

MATLAB Run