Designing Information Devices and Systems I Spring 2018 Lecture Notes Note 11

Similar documents
Designing Information Devices and Systems I Fall 2017 Official Lecture Notes Note 13

ECE 1311: Electric Circuits. Chapter 2: Basic laws

Kirchhoff's Laws and Circuit Analysis (EC 2)

Circuit Theory I Basic Laws

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note Introduction: Op-amps in Negative Feedback

COOKBOOK KVL AND KCL A COMPLETE GUIDE

Electric Circuits I. Nodal Analysis. Dr. Firas Obeidat

Lecture #3. Review: Power

INTRODUCTION TO ELECTRONICS

Electric Current. Note: Current has polarity. EECS 42, Spring 2005 Week 2a 1

UNIVERSITY OF ALABAMA Department of Physics and Astronomy. PH / LeClair Fall Circuits Exercises

Review of Circuit Analysis

Chapter 2. Engr228 Circuit Analysis. Dr Curtis Nelson

Notes for course EE1.1 Circuit Analysis TOPIC 4 NODAL ANALYSIS

Notes on Electricity (Circuits)

Designing Information Devices and Systems I Spring 2015 Note 11

DC CIRCUIT ANALYSIS. Loop Equations

QUIZ 1 SOLUTION. One way of labeling voltages and currents is shown below.

Engineering Fundamentals and Problem Solving, 6e

Analysis of a single-loop circuit using the KVL method

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note Resistive Touchscreen - expanding the model

Direct Current Circuits. February 18, 2014 Physics for Scientists & Engineers 2, Chapter 26 1

CHARGES IN AN ELECTRIC FIELD

Brian Blais Quick Homemade Guide to Circuits

Notes on Electricity (Circuits)

Chapter 20 Electric Circuits

Physics 1402: Lecture 10 Today s Agenda

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science : Circuits & Electronics Problem Set #1 Solution

Series & Parallel Resistors 3/17/2015 1

CURRENT SOURCES EXAMPLE 1 Find the source voltage Vs and the current I1 for the circuit shown below SOURCE CONVERSIONS

ELECTRICAL THEORY. Ideal Basic Circuit Element

POLYTECHNIC UNIVERSITY Electrical Engineering Department. EE SOPHOMORE LABORATORY Experiment 2 DC circuits and network theorems

Notes for course EE1.1 Circuit Analysis TOPIC 3 CIRCUIT ANALYSIS USING SUB-CIRCUITS

ECE 2100 Circuit Analysis

SPS Presents: A Cosmic Lunch!

Outline. Week 5: Circuits. Course Notes: 3.5. Goals: Use linear algebra to determine voltage drops and branch currents.

THERE MUST BE 50 WAYS TO FIND YOUR VALUES: AN EXPLORATION OF CIRCUIT ANALYSIS TECHNIQUES FROM OHM S LAW TO EQUIVALENT CIRCUITS

Discussion Question 6A

R R V I R. Conventional Current. Ohms Law V = IR

Kirchhoff s laws. Figur 1 An electric network.

Introductory Circuit Analysis

In this lecture, we will consider how to analyse an electrical circuit by applying KVL and KCL. As a result, we can predict the voltages and currents

Your Comments. I have three midterms this week; specifically, two tomorrow. I am studying for chemistry and calculus tonight.

ES250: Electrical Science. HW1: Electric Circuit Variables, Elements and Kirchhoff s Laws

Physics Circuits: Series

Consider the following generalized simple circuit

Physics 142 Steady Currents Page 1. Steady Currents

Direct Current (DC) Circuits

Symbol Offers Units. R Resistance, ohms. C Capacitance F, Farads. L Inductance H, Henry. E, I Voltage, Current V, Volts, A, Amps. D Signal shaping -

EE292: Fundamentals of ECE

Lecture 1. Electrical Transport

DC STEADY STATE CIRCUIT ANALYSIS

Resistor. l A. Factors affecting the resistance are 1. Cross-sectional area, A 2. Length, l 3. Resistivity, ρ

Direct-Current Circuits. Physics 231 Lecture 6-1

Module 2. DC Circuit. Version 2 EE IIT, Kharagpur

Lecture Notes on DC Network Theory

Chapter 16. Current and Drift Speed. Electric Current, cont. Current and Drift Speed, cont. Current and Drift Speed, final

Notes for course EE1.1 Circuit Analysis TOPIC 10 2-PORT CIRCUITS

Voltage Dividers, Nodal, and Mesh Analysis

EE301 RESISTANCE AND OHM S LAW

EIT Review. Electrical Circuits DC Circuits. Lecturer: Russ Tatro. Presented by Tau Beta Pi The Engineering Honor Society 10/3/2006 1

Lab 4 Series and Parallel Resistors

Tactics Box 23.1 Using Kirchhoff's Loop Law

Chapter 3: Electric Current and Direct-Current Circuit

Look over Chapter 26 sections 1-7 Examples 3, 7. Look over Chapter 18 sections 1-5, 8 over examples 1, 2, 5, 8, 9,

Power lines. Why do birds sitting on a high-voltage power line survive?

Basic Laws. Bởi: Sy Hien Dinh

Capacitance. A different kind of capacitor: Work must be done to charge a capacitor. Capacitors in circuits. Capacitor connected to a battery

6. MESH ANALYSIS 6.1 INTRODUCTION

ANNOUNCEMENT ANNOUNCEMENT

REUNotes08-CircuitBasics May 28, 2008

EE40 KVL KCL. Prof. Nathan Cheung 09/01/2009. Reading: Hambley Chapter 1

in series Devices connected in series will have the same amount of charge deposited on each capacitor. But different potential difference. That means

Analysis of Mesh Circuit Using Linear Algebra

P1: Basics - Things you now know that you didn t know you knew (25 pts)

Module 2. DC Circuit. Version 2 EE IIT, Kharagpur

Lecture 3 BRANCHES AND NODES

Chapter 28. Direct Current Circuits

Physics for Scientists & Engineers 2

4.2 Graphs of Rational Functions

Solution: Based on the slope of q(t): 20 A for 0 t 1 s dt = 0 for 3 t 4 s. 20 A for 4 t 5 s 0 for t 5 s 20 C. t (s) 20 C. i (A) Fig. P1.

Designing Information Devices and Systems I Spring 2017 Babak Ayazifar, Vladimir Stojanovic Midterm 2. Exam location: 145 Dwinelle, last SID# 2

mywbut.com Mesh Analysis

Course Updates.

Kirchhoff s Rules. Kirchhoff s rules are statements used to solve for currents and voltages in complicated circuits. The rules are

R 2, R 3, and R 4 are in parallel, R T = R 1 + (R 2 //R 3 //R 4 ) + R 5. C-C Tsai

Tutorial #4: Bias Point Analysis in Multisim

Chapter 18 Electric Currents

E1.1 Analysis of Circuits ( ) Revision Lecture 1 1 / 13

E40M Charge, Current, Voltage and Electrical Circuits KCL, KVL, Power & Energy Flow. M. Horowitz, J. Plummer, R. Howe 1

Electric Circuits Part 2: Kirchhoff s Rules

Basic Electrical Circuits Analysis ECE 221

20.2 Design Example: Countdown Timer

first name (print) last name (print) brock id (ab17cd) (lab date)

General Physics (PHY 2140)

Lecture Outline Chapter 21. Physics, 4 th Edition James S. Walker. Copyright 2010 Pearson Education, Inc.

Writing Circuit Equations

Chapter 4: Techniques of Circuit Analysis

Electrical Technology (EE-101-F)

In this unit, we will examine the movement of electrons, which we call CURRENT ELECTRICITY.

Transcription:

EECS 16A Designing Information Devices and Systems I Spring 2018 Lecture Notes Note 11 11.1 Context Our ultimate goal is to design systems that solve people s problems. To do so, it s critical to understand how we go from real-world events all the way to useful information that the system might then act upon. The most common way an engineered system interfaces with the real world is by using sensors and/or actuators that are often composed of electronic circuits; these communicate via electrical signals to processing units, which are also composed of entirely electronic circuits. In order to fully understand and design a useful system, we will need to first understand Electrical Circuit Analysis. In this note, we will be intentionally ignoring the underlying physics of electrical circuits, and will instead focus on a standard procedure and set of rules that will allow us to systemically solve such circuits, (i.e., given a circuit diagram, solve for all of the relevant electrical quantities in that circuit). The reason for this approach is that one does not need to understand any real physics in order to be able to analyze electrical circuits, and in fact, impartial or incorrect physical intuition often leads to errors and then confusion. By abstracting the physics away during the analysis step, we hope to emphasize that the analysis in and of itself is simply a matter of taking a visual diagram (representing an electrical circuit) and applying a set of rules to it that will convert the diagram in to a set of (linear) equations that can then be solved using the techniques we have developed in the first module. 11.2 Basic Circuit Quantities Let s start with some definitions of basic quantities present in an electrical circuit. Current is the flow of electrons in the circuit, and voltage is the potential energy (per charge) between two points in the circuit. This potential energy is what causes charge to flow (ie. causes current). esistance is the material s tendency to resist the flow of current. EECS 16A, Spring 2018, Note 11 1

Quantity Symbol Units Voltage V Volts (V) Current I Amperes (A) esistance Ohms (Ω) We use these quantities in a Circuit Diagram, a collection of elements where each has some voltage across it and some current through it. This is an important distinction; voltage, or electric potential, is only defined relative to another point. A simple analogy could be described using elevation. A mountain s summit could be 9000ft above sea level (where sea level would be the reference of an elevation of 0 ft). Instead, if we choose the bottom of the ocean as the reference point (elevation of 0 ft), then there will still be 9000ft between sea level and the summit of the mountain, but the elevation at the mountain referenced to the bottom of the ocean would not be 9000ft (it would be much greater). Voltage can be thought of in the same way as it is also a relative value. As a shorthand, we will sometimes (later in this class) refer to a voltage at a particular point, but if we do so, we are implicitly using some other known point as a reference against which the voltage at that single point is being measured. Often times, this reference point is called ground. 11.3 Basic Circuit Elements A list of some of the most common circuit elements follows. For each, their common schematic representation, the defining relationship between the voltage across the element and the current through it ( IV elationship ), and a graphical example of that relationship is given. Wire: The most common element in a schematic is the wire, drawn as a solid line The IV relationship for a wire is: V elem = 0 A wire is an ideal connection with zero voltage across it. = The current through a wire can take any value, and is determined by the rest of the circuit. Symbol IV Curve V elem esistor: The IV relationship of a resistor is called Ohm s Law. V elem = I The voltage across a resistor is determined by Ohm s Law. = V The current through a resistor is determined by Ohm s Law. EECS 16A, Spring 2018, Note 11 2

IV Curve Symbol V elem Open Circuit: This element is the dual of the wire. V elem = The voltage across an open circuit can take any value, and is determined by the rest of the circuit. = 0 No current is allowed to flow through an open circuit. Symbol IV Curve Velem Voltage Source: A voltage source is a component that forces a specific voltage across its terminals. The and sign indicates which direction the voltage is pointing. The voltage difference between the terminal and the terminal is always equal to, no matter what else is happening in the circuit. V elem = The voltage across the voltage source is always equal to the source value. = The current through a voltage source is determined by the rest of the circuit. Symbol IV Curve V elem EECS 16A, Spring 2018, Note 11 3

Current Source: A current source forces current in the direction specified by the arrow indicated on the schematic symbol. The current flowing through a current source is always equal to I s, no matter what else is happening in the circuit. Note the duality between this element and the voltage source. V elem = The voltage across a current source is determined by the rest of the circuit. = I s The current through a current source is always equal to the source value. Symbol IV Curve I s V elem 11.4 ules for Circuit Analysis The following rules govern the behavior of the circuit. They can be used to set up the relationships among the various circuit variables that we will use when solving the circuit (i.e., finding all of the voltages and currents in the circuit). 11.4.1 Kirchhoff s Current Law (KCL) A place in a circuit where two or more of the above circuit elements meet is called a junction. KCL states that the net current flowing out of (or equivalently, into) any junction of a circuit is identically zero. To put this more simply, the current flowing into a junction must equal the current flowing out of that junction. i 1 i 3 For example, consider the circuit shown above. We define current flowing out of the junction to be positive, and therefore, current flowing into the junction is negative. For example, from the left branch, there is i 1 current flowing into the junction, so there is i 1 current flowing out of the junction. Similarly, there is current flowing out of the junction and i 3 current flowing out of the junction. Therefore, the currents must satisfy (i 1 ) ( ) i 3 = 0 or i 1 = i 3 (1) EECS 16A, Spring 2018, Note 11 4

11.4.2 Kirchhoff s Voltage Law (KVL) Kirchhoff s Voltage Law states that the sum of voltages across the elements connected in a loop must be equal to zero. As we will see later, this is equivalent to saying "what goes up must come down". We actually will not use KVL in the analysis procedure we outline next, but we include it here both for completeness, and so that you have an additional rule available to double check your final answers. V B V A Loop V C Figure 1: KVL illustration Mathematically, KVL states that: V k = 0. (2) Loop When adding the voltage drops around the loop we must follow a convention. If the arrow corresponding to the loop goes into the of an element we subtract the voltage across that element. Conversely, if the arrow goes into the - of an element, we add the votage across that element. Following this convention for the example in Figure 1 we find: Note that if we had defined the loop in the opposite direction, V A V B V C = 0. (3) V A V C V B = 0. (4) 11.4.3 Ohm s Law and esistors As already described when we introduced resistors as an element, for these elements, the voltage across them is directly proportional to the current that flows through them, where the proportionality constant is the "resistance" () of the device. This relationship is known as Ohm s Law. The unit of is Volts/Amperes, or more commonly Ohms (Ω). V elem =. (5) 11.5 Circuit Analysis Algorithm Within this module, we will learn how to take a real world system and build a circuit diagram that models the behavior of that system (so that we can eventually design our own systems). In this note, however, EECS 16A, Spring 2018, Note 11 5

we will assume that we have already found or been given an accurate model (i.e., a circuit diagram), and will be focusing on how to analyze that model. Specifically, once you have or are given an accurate circuit diagram, you should be able to follow the given analysis algorithm to solve the circuit (i.e., compute all of the voltages and currents) correctly. Circuits are deterministic; if you follow the steps accurately and completely, the math will work. As an example, we will use the following diagram, which consists of a voltage source, a resistor and two wires. Since there are four elements, each with two terminals, and since these elements must be connected in a closed loop, there are four junctions in this circuit (one at each corner of the diagram below). For the sake of clarity, after each step of the analysis algorithm you will be shown what the current circuit diagram would look like. When you perform the algorithm on your own, however, you do not need to redraw the circuit each time; instead you can simply label/annotate a single diagram. Step 1: Pick a junction and label it as u = 0 ( ground ), meaning that we will measure all of the voltages in the rest of the circuit relative to this point. u = 0 Step 2: Label all remaining junctions as some u i, representing the voltage at each junction relative to the zero junction/ground. u 2 u 3 Step 3: Label the current through every element in the circuit i n. Every element in the circuit that was listed above should have a current label, including ideal wires. (As we will describe later, once you have some familiarity with the procedure there are simplifications we can make to avoid the need to label the current in every single wire, but we describe here the most complete version of the algorithm so that you can always return to this if you ever have any doubt about whether a certain EECS 16A, Spring 2018, Note 11 6

simplification is valid or not.) The direction of the arrow indidates which direction of current flow you are considering to be positive. At this stage of the algorithm, you can pick the direction of all of the current arrows arbitrarily - as long as you are consistent with this choice and follow the rules described in the rest of this algorithm, the math will work out correctly. u 2 i 1 i4 i 3u3 It may be worth noting at this point that we only label the current once for each element because KCL also holds within the element itself - i.e., the current that enters an element must be equal to the current that exits that same element. Step 4: Add / labels on each element that indicate the direction with which voltage will be measured across that element while following the Passive Sign Convention (discussed below). u 2 i 1 i 4 i 3 u 3 11.5.1 Passive sign convention As mentioned previously, the and signs we drew across each of our elements indicate the manner in which we intend to measure the voltage across that element. (In other words, similar to what we did with the current arrow, the and signs here define the direction that we will be measuring the voltage across that element. If in this circuit the voltage rises when going from the sign to the sign, the voltage we measure will be a positive value; if on the other hand in this circuit the voltage drops when going from the to the sign, the voltage we measure will be negative.) For reasons that we will explain later, the passive sign convention tells us what the relationship between the way in which we measure the voltage and the direction in which we assume the current flows must be. Specifically, the passive sign convention dictates that positive current should enter the positive terminal and exit the negative terminal of an element. Below is an example for a resistor: V elem As long as this convention is followed consistently, it does not matter which direction you arbitrarily assigned each element current to; the voltage referencing will work out to determine the correct final sign. EECS 16A, Spring 2018, Note 11 7

Step 5: Set up the relationship A x = b, where x is comprised of the unknown circuit variables we want to solve for (currents and node potentials). A will be an n n matrix where n is equal to the number of unknown variables. For the circuit above, we have 3 unknown potentials (u) and 4 unknown currents (i), therefore we form a 7 7 matrix. i 1 i 3 i 4 = u 2 u 3 Step 6: Use KCL to fill in as many Linearly Indpendent rows of A and b as possible. Let s begin by writing KCL equations for every junction in the circuit. i 1 = 0 i 3 = 0 i 3 i 4 = 0 i 4 i 1 = 0 Notice the last equation we get is linearly dependent on the first three - you can see this by adding all three of the first equations to each other and multiplying the entire result by -1. In order to end up with a square and invertible A matrix, we will therefore omit this equation. Note that in general, if you use KCL at every junction, you will get one linearly dependent equation, and so you can typically simply skip one junction; skipping the junction that has been labeled as ground is a common choice. 1 1 0 0 0 0 0 i 1 0 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 i 3 0 i 4 = u 2 u 3 Step 7: Use the IV relationships of each of the elements to fill in the remaining equations (rows of A and values of b). In this example, we can use IV relations to find four more equations. We know that the difference in potentials across the voltage source must be the voltage on the voltage source. We also know that the voltage across the resistor is equal to the current times the resistance, from Ohm s Law. For the wires, we know the difference in potential is 0. Thus, we have the following equations. 0 = u 2 = 0 u 2 u 3 = i 3 u 3 0 = 0 EECS 16A, Spring 2018, Note 11 8

Our matrix is then: 1 1 0 0 0 0 0 i 1 0 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 i 3 0 0 0 0 0 1 0 0 i 4 = 0 0 0 0 1 1 0 0 0 0 0 0 1 1 u 2 0 0 0 0 0 0 0 1 u 3 0 It is worth pausing at this point to highlight why the procedure always works, and in particular, why we will always have as many equations as we do unknowns. If a circuit has m elements in it and n junctions, there will be (n1) u s (since we have defined one of them as ground/zero), and m currents (one for each element). Since each element has a defining I-V relationship, Step 7 will provide us with m equations. Similarly, with n junctions, we will get (n 1) linearly independent KCL equations from Step 6. As a side note, the order of Steps 6 and 7 can be interchanged - in fact, you may want to do Step 7 (IV relations) first since when you then come back to Step 6 (KCL) you just have to fill in as many equations using KCL as needed to make the A matrix square. At this point the analysis procedure is effectively complete - all that s left to do is solve the system of linear equations (by applying Gaussian Elimination, inverting A, etc.) to find the values for the u s and i s. i 1 / / i 3 / i 4 = / u 2 u 3 0 11.6 Simplifying the Circuit Analysis Procedure While the analysis procedure we described in the previous section will always work, and introducing the procedure at this level of comprehensiveness is necessary to ensure that one can always follow it successfully, as is most likely clear, even for very simple circuits the procedure will quickly involve a large number of variables and hence large matrices. Fortunately, we can substantially reduce the number of variables by noticing two things: 1. There is no voltage drop across wires. Therefore, the node potentials at two end of a wire are always equal. 2. When a junction involved only two elements, KCL tells us that the current flowing in through the first element must equal the current flowing out through the second element. The next two sections describe in more detail how we can use these observations to simplify solving a circuit. EECS 16A, Spring 2018, Note 11 9

11.6.1 Labeling Nodes Instead of Junctions Since wires always have zero voltage drop across them, there is no specific need for us to keep track of the voltage (relative to ground) on the two sides of a wire separately. In other words, every junction within a set of junctions that are connected to each other only by wires can be labeled with a single voltage variable u. A set of such junctions connected to each other only via wires is defined as a node. (Formally, a node is defined as a region of the circuit that is "equipotential" - i.e., that has no voltage drop across it - but it should hopefully be clear that our earlier definition meets exactly this criteria.) As an example, let s consider the circuit we were analyzing, but return to Steps 1 and 2. As shown below, the junctions between the bottm wire and the voltage source as well as between the bottom wire and the resistor are all actually a single node, and we can label that entire node as being ground. Similarly, the junctions between the top wire and the voltage source as well as between the top wire and the resistor are all actually a single node, and hence we can label that entire node as. When we followed the original analysis procedure (where the voltage across the wire was treated as an unknown quantity to be solved) on this circuit, we ended up with three unknown u s; by labeling only the nodes, we have brought this down to a single unknown u ( ). In general, since wires are abundant in circuit diagrams, labeling only the nodes (instead of the junctions) will indeed substantially reduce the number of variables. 11.6.2 Trivial Junctions Let s consider for a moment all junctions that involve only two elements (which is what we are refering to when we titled this subsection as "trivial" junctions). In this case, KCL dictates that the current entering that junction must be equal to the current exiting that junction; since no other elements are involved, this implies that the currents flowing through the two elements must be equal to each other (as long as we chose the direction of current flow to be the same of course - if not, the currents will simply be opposite in sign). Given this fact, another simplification to be made in our analysis procedure is to label the currents only in the non-wire elements in our circuit. We should then keep track of the fact that a wire connected via a trivial junction to an elements must carry the same current as the element. In other words, we should then only use KCL on either (1) non-trivial junctions involving more than 2 components or (2) trivial junctions between an element and a wire where the current carried on the wire has already been assumed to equal that of a different element. eturning to our example, if we repeat Step 3 (and assume we make use of the simplification made in the previous subsection), we would now label only the current through the voltage source and through the resistor. EECS 16A, Spring 2018, Note 11 10

i 1 With this simplified approach, when we return to Step 6 (KCL), we would apply this at e.g. the junction in the upper right hand corner of the diagram (between the top wire and the top of the resistor), which would result in the equation: i 1 = or i 1 = 0 (6) i 1 11.6.3 Summary of Simplified Procedure Step 1: Pick a node and label it as u = 0 ( ground ), meaning that we will measure all of the voltages in the rest of the circuit relative to this point. Step 2: Label all remaining nodes as some u i, representing the voltage at each node relative to the ground node. Step 3: Label the current through every non-wire element in the circuit i n. Step 4: Add / labels (indicating direction of voltage measurement) on each non-wire element by following the passive sign convention. Step 5: Set up the relationship A x = b, where x is comprised of the u i s and i n s defined in the previous steps. Step 6: If there are m non-wire elements in the circuit and n nodes (including the ground node), use KCL on (n 1) junctions to fill in (n 1) rows of A and b. Step 7: Use the IV relationships of each of the m non-wire elements to fill in the remaining m equations (rows of A and values of b). Solve! EECS 16A, Spring 2018, Note 11 11