lecture 81 loop (mesh) analysis (3.2) prof. phillips february 17, 2003

26
lecture 8 1 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

Post on 18-Dec-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 1

Loop (Mesh) Analysis (3.2)

Prof. Phillips

February 17, 2003

Page 2: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 2

Loop Analysis

• Nodal analysis was developed by applying KCL at each non-reference node.

• Loop analysis is developed by applying KVL around loops in the circuit.

• Loop (mesh) analysis results in a system of linear equations which must be solved for unknown currents.

Page 3: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 3

Example: A Summing Circuit

• The output voltage V of this circuit is proportional to the sum of the two input voltages V1 and V2.

• This circuit could be useful in audio applications or in instrumentation.

• The output of this circuit would probably be connected to an amplifier.

Page 4: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 4

Summing Circuit

Solution: Vout = (V1 + V2)/3

+

Vout

1k

1k

1k

V1 V2

+–

+–

Page 5: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 5

Steps of Mesh Analysis

1. Identify mesh (loops).

2. Assign a current to each mesh.

3. Apply KVL around each loop to get an equation in terms of the loop currents.

4. Solve the resulting system of linear equations.

Page 6: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 6

Mesh 2

1k

1k

1k

Identifying the Meshes

V1 V2Mesh 1+–

+–

Page 7: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 7

Steps of Mesh Analysis

1. Identify mesh (loops).

2. Assign a current to each mesh.

3. Apply KVL around each loop to get an equation in terms of the loop currents.

4. Solve the resulting system of linear equations.

Page 8: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 8

1k

1k

1k

Assigning Mesh Currents

V1 V2I1 I2

+–

+–

Page 9: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 9

Steps of Mesh Analysis

1. Identify mesh (loops).

2. Assign a current to each mesh.

3. Apply KVL around each loop to get an equation in terms of the loop currents.

4. Solve the resulting system of linear equations.

Page 10: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 10

Voltages from Mesh Currents

R

I1

+ –VR

VR = I1 R

R

I1

+ –VR

I2

VR = (I1 - I2 ) R

Page 11: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 11

KVL Around Mesh 1

-V1 + I1 1k + (I1 - I2) 1k = 0

I1 1k + (I1 - I2) 1k = V1

1k

1k

1k

V1 V2I1 I2

+–

+–

Page 12: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 12

KVL Around Mesh 2

(I2 - I1) 1k + I2 1k + V2 = 0

(I2 - I1) 1k + I2 1k = -V2

1k

1k

1k

V1 V2I1 I2

+–

+–

Page 13: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 13

Steps of Mesh Analysis

1. Identify mesh (loops).

2. Assign a current to each mesh.

3. Apply KVL around each loop to get an equation in terms of the loop currents.

4. Solve the resulting system of linear equations.

Page 14: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 14

Matrix Notation

• The two equations can be combined into a single matrix/vector equation.

2

1

2

1

k1k1k1

k1k1k1

V

V

I

I

Page 15: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 15

Solving the Equations

Let: V1 = 7V and V2 = 4V

Results:

I1 = 3.33 mA

I2 = -0.33 mA

Finally

Vout = (I1 - I2) 1k = 3.66V

Page 16: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 16

Another Example

1k

2k

2k

12V 4mA

2mA

I0

+–

Page 17: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 17

Mesh 2

Mesh 3

Mesh 1

1. Identify Meshes

1k

2k

2k

12V 4mA

2mA

I0

+–

Page 18: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 18

2. Assign Mesh Currents

I1 I2

I31k

2k

2k

12V 4mA

2mA

I0

+–

Page 19: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 19

Current Sources

• The current sources in this circuit will have whatever voltage is necessary to make the current correct.

• We can’t use KVL around the loop because we don’t know the voltage.

• What to do?

Page 20: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 20

Current Sources

• The 4mA current source sets I2:

I2 = -4 mA

• The 2mA current source sets a constraint on I1 and I3:

I1 - I3 = 2 mA

• We have two equations and three unknowns. Where is the third equation?

Page 21: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 21

1k

2k

2k

12V 4mA

2mA

I0

I1 I2

I3

The Supermesh surrounds this source!

The Supermesh

does not include this

source!

+–

Page 22: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 22

KVL Around the Supermesh

-12V + I3 2k + (I3 - I2)1k + (I1 - I2)2k = 0

I3 2k + (I3 - I2)1k + (I1 - I2)2k = 12V

Page 23: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 23

Matrix Notation

• The three equations can be combined into a single matrix/vector equation.

V12

mA2

mA4

1k2k2k1k2k

101

010

3

2

1

I

I

I

Page 24: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 24

Solve Using MATLAB

>> A = [0 1 0; 1 0 -1;

2e3 -1e3-2e3 2e3+1e3];

>> v = [-4e-3; 2e-3; 12];

>> i = inv(A)*v

i = 0.0012

-0.0040

-0.0008

Page 25: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 25

Solution

I1 = 1.2 mA

I2 = -4 mA

I3 = -0.8 mA

I0 = I1 - I2 = 5.2 mA

Page 26: Lecture 81 Loop (Mesh) Analysis (3.2) Prof. Phillips February 17, 2003

lecture 8 26

Class Examples