Download Unit 4 PowerPoint Slides

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Mains electricity wikipedia , lookup

History of electromagnetic theory wikipedia , lookup

Buck converter wikipedia , lookup

Stray voltage wikipedia , lookup

Ground (electricity) wikipedia , lookup

Electronic engineering wikipedia , lookup

Signal-flow graph wikipedia , lookup

Electrical substation wikipedia , lookup

Resistive opto-isolator wikipedia , lookup

Regenerative circuit wikipedia , lookup

Fault tolerance wikipedia , lookup

Rectiverter wikipedia , lookup

Current source wikipedia , lookup

Opto-isolator wikipedia , lookup

Flexible electronics wikipedia , lookup

Two-port network wikipedia , lookup

Alternating current wikipedia , lookup

Metadyne wikipedia , lookup

Ohm's law wikipedia , lookup

Integrated circuit wikipedia , lookup

Circuit breaker wikipedia , lookup

Earthing system wikipedia , lookup

Topology (electrical circuits) wikipedia , lookup

Electrical wiring in the United Kingdom wikipedia , lookup

RLC circuit wikipedia , lookup

Network analysis (electrical circuits) wikipedia , lookup

Transcript
EGR 2201 Unit 4
Mesh Analysis



Read Alexander & Sadiku, Sections 3.4
to 3.10.
Homework #4 and Lab #4 due next
week.
Quiz next week.
Mesh Analysis

We’ve seen that nodal analysis is a
systematic method for analyzing
circuits.




It’s based on Kirchhoff’s current law (KCL).
It gives us the node voltages in a circuit.
Once we have these node voltages, we can
find any other voltage or current.
Mesh analysis is another systematic
method for analyzing circuits.



It’s based on Kirchhoff’s voltage law (KVL).
It gives us the mesh currents in a circuit.
Once we have these mesh currents, we
can find any other current or voltage.
Meshes Versus Loops


Recall that a loop is any closed path in a
circuit.
 Example: This circuit has six loops.
A mesh is a loop that does not contain any
other loop within it.
 Example: The circuit above has three
meshes.
Mesh Currents Versus Branch
Currents

A mesh current is a current that we imagine
to travel around a mesh.




You can imagine them to travel in either direction,
but most people assume clockwise.
A branch current is a current that passes
through a branch (i.e., an element).
If we know the values of all the mesh currents
in a circuit, we can compute any branch
current.
In many diagrams, our textbook uses:


Lowercase i and a looping arrow for mesh currents
Uppercase I and a straight arrow for branch currents
Example: Mesh Currents Versus
Branch Currents



In this circuit, the
mesh currents are
labeled i1 and i2.
The branch currents
are labeled I1, I2,
and I3.
Suppose you were
given the values of
the mesh currents.
Then you could easily
compute the branch currents, since:
I1 = i1
and
I2 = i2
and
I3 = i1  i2
Steps in Performing Mesh Analysis on
a Circuit with No Current Sources

Given a circuit with n meshes, without
current sources, follow these steps:
1.
2.
3.
Assign mesh currents i1, i2, …, in to the n
meshes.
Apply KVL to each of the n meshes. Use
Ohm’s law to express the voltages in terms
of mesh currents. Then simplify the
equations.
Solve the resulting n simultaneous
equations to obtain the unknown mesh
currents.
Example: Step 1 (Assign the Mesh
Currents)



Consider this circuit
from the book’s
Example 3.5.
Step 1 has
already been
performed for
us, since the
mesh currents
are labeled i1 and i2.
If an assumed current direction is
wrong, that’s no problem. The math
will still work out.
Example: Step 2 (Apply KVL)
Part 1 of 2
Apply KVL (and
Ohm’s law) to
mesh 1:
15 + 10i2 =
5i1 + 10i1 + 10


Apply KVL (and
Ohm’s law) to mesh 2:
10 + 10i1 = 10i2 + 6i2 + 4i2
Example: Step 2 (Apply KVL)
Part 2 of 2


Next we use algebra to simplify our
equations.
For mesh 1:
15 + 10i2 = 5i1 + 10i1 + 10
becomes

For mesh 2:
10 + 10i1 = 10i2 + 6i2 + 4i2
becomes

15𝑖1 − 10𝑖2 = 5
10𝑖1 − 20𝑖2 = −10
We now have our two equations in two
variables.
Example: Step 3 (Solve)


Next we use any of our methods—
substitution, Cramer’s rule, matrix
inversion, MATLAB—to solve our two
equations in two variables.
Using MATLAB, the solution to
15𝑖1 − 10𝑖2 = 5
10𝑖1 − 20𝑖2 = −10
is
i1 = 1 A
and
i2 = 1 A
Example: Extending the Analysis



Mesh analysis has
given us the values
of the mesh
currents i1 and i2.
We can find all
other currents
and voltages in the
circuit once we
know these mesh currents.
Example: Knowing that i1 = 1 A and
i2 = 1 A, how would we find I3?
Review: Steps in Performing Mesh
Analysis on a Circuit with No Current
Sources

Given a circuit with n meshes, without
current sources, follow these steps:
1.
2.
3.
Assign mesh currents i1, i2, …, in to the n
meshes.
Apply KVL to each of the n meshes. Use
Ohm’s law to express the voltages in terms
of mesh currents. Then simplify the
equations.
Solve the resulting n simultaneous
equations to obtain the unknown mesh
currents.
Circuit Analysis with Simulation
Software



Section 3.8 discusses computer software
named PSpice, which lets you simulate
circuits.
Sinclair’s computers don’t have PSpice
installed, but we have a similar program
named Multisim.
Both are based on open-source code
named SPICE (Simulation Program with
Integrated Circuit Emphasis), which was
first written at the University of
California, Berkeley in the 1970’s.
Starting Multisim
on Our Computers

Start Menu

National Instruments

Circuit Design Suite 13.0
 Multisim 13.0
Where to Find Some Components
in Multisim

DC Independent Voltage Source
Group=Sources > Family=POWER_SOURCES >
DC_POWER

Ground
Group=Sources > Family=POWER_SOURCES > GROUND

DC Independent Current Source
Group=Sources > Family=SIGNAL_CURRENT_SOURCES >
DC_CURRENT

Resistor
Group=Basic > Family=RESISTOR
Where to Find Some Measuring
Instruments in Multisim

Voltmeter
Group=Indicators > Family=VOLTMETER
> VOLTMETER_H
Shown is a horizontal voltmeter. Also available are a
vertical version, as well as versions with the leads
reversed.

Ammeter
Group=Indicators > Family=AMMETER
> AMMETER_H
Shown is a horizontal ammeter. Also available are a
vertical version, as well as versions with the leads
reversed.
Making Sure Your Printouts Fit on
One Page


When you print a Multisim circuit,
Multisim has a nasty habit of spreading
the circuit across several pages. This
wastes paper and makes your diagram
hard to read.
To prevent this, before
you print, do
File > Print Options >
Print sheet setup…
and then click
Fit to page.
Multisim Resources


Tutorial: Inside the program, click Help >
Getting Started.
National Instruments’ Multisim website:




Main site: http://www.ni.com/multisim/
Student version:
http://www.ni.com/multisim/student-edition/
Free 30-day trial: http://www.ni.com/multisim/try/
Demo Video: http://www.ni.com/video/646/en/
What About Circuits with Current
Sources?



As described above, our meshanalysis procedure applies only to
circuits without current sources.
But it’s not hard to extend the
procedure to circuits with current
sources.
The way you handle a current source
depends on whether the source is
located in only one mesh or is shared
by two meshes….
Case 1: A Current Source Located
in Only One Mesh

A current source
located in only
one mesh
is easy to
handle,
because it
immediately
reveals the mesh current in that mesh.
 Example: In the circuit shown, we can
immediately see that i2 = 5 A.
Case 2: A Current Source Shared by
Two Meshes
A current source
shared by two
meshes is
trickier.
 To handle it,
we create a
supermesh
by excluding the
current source
and any elements
in series with it.

How to Handle a Supermesh
We apply KVL and
KCL to the supermesh to get two
equations.
 Example: Here, KVL
around the supermesh gives
20 = 6i1 + 10i2 + 4i2


And KCL gives
i2 = i1 +6
We Still Get Enough Equations
If this circuit did
not have a supermesh, we would
get one equation
by applying KVL
to mesh 1 and
another by applying
KVL to mesh 2.
 With the supermesh, we get one equation
by applying KCL and another by applying
KVL to the supermesh.

MATLAB’s format command



MATLAB’s format command lets you
control the way MATLAB displays
answers (for example, whether to use
engineering notation in answers).
For a list of options, type help format
in MATLAB or see this web page.
By default, the format is set to short.

Usually this works well, but sometimes
format shortg or format shorteng
works better. See example on next slide.
Example: MATLAB’s format command
This is telling you to
multiply each number
displayed below by
0.001. Ugly!
Nicer!
Much nicer!
Nodal Analysis and Mesh Analysis
“By Inspection”
With practice, you’ll become good at
writing down the set of simultaneous
equations that describe a circuit
using either nodal or mesh analysis.
 As discussed in Section 3.6, there is
a shortcut way to write down the
equations quickly by looking at a
circuit without even thinking in
terms of KCL or KVL.

I
won’t expect you to learn this shortcut
method, but you can use it if you wish.
Which Should You Use: Nodal
Analysis or Mesh Analysis?
Most circuits can be analyzed using
either method, and the results from
the two methods will agree with each
other.
 But as discussed in Section 3.7, in
some cases you’ll get the answer with
less work if you’re smart about picking
the better method for your circuit.
 See next slide for example.

Examples: Should You Use Nodal
Analysis or Mesh Analysis?



Recommendation:
 Use nodal analysis for circuits with
fewer nodes than meshes, and use
mesh analysis for circuits with
fewer meshes than nodes.
How many nodes
does this circuit
have?
How many meshes?
Dot Convention to Show
Intersections


These two
wires cross
without
intersecting.
Before we look at the next example, note
that our textbook usually does not follow
the widespread convention of using a dot to
show intersection points between wires.
Examples from Multisim:
These wires
intersect.
More Examples: Should You Use
Nodal Analysis or Mesh Analysis?
As also noted in Section 3.7, mesh
analysis cannot be applied to
nonplanar circuits.
 A circuit is planar if it can be drawn
on a plane with no branches crossing
each other; otherwise it is
nonplanar.
 We will only deal with planar circuits
in this course.

Example of a Planar Circuit

This circuit, in which branches cross,
can be redrawn with no crossing
branches (as on the right below), so
it is a planar circuit.
Crossing branches:
No intersections here.
Example of a Nonplanar Circuit

There is no way to redraw this circuit
without crossing branches, so it is a
nonplanar circuit. So you cannot use
mesh analysis on this circuit.
Crossing branches:
No intersections here.
The Rest of Today’s Class
 Use
the remaining time today to:
 Finish
Lab #4.
 Review the super-node problems
(Problems 3.13 and 3.18) from
Homework #3 and make sure you
understand how to do them.
 Work on Homework #4, which is due at
our next class.
 In preparation for Exam #1, review
earlier homeworks and practice sheets,
and work on your crib sheet.