NODAL ANALYSIS. Circuits Nodal Analysis 1 M H Miller



Similar documents
Circuits 1 M H Miller

Circuit Analysis using the Node and Mesh Methods

Nodal and Loop Analysis

Basic Laws Circuit Theorems Methods of Network Analysis Non-Linear Devices and Simulation Models

Series and Parallel Resistive Circuits

Analysis of a single-loop circuit using the KVL method

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Mesh-Current Method (Loop Analysis)

Basic Electronics Prof. Dr. Chitralekha Mahanta Department of Electronics and Communication Engineering Indian Institute of Technology, Guwahati

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes

S-Parameters and Related Quantities Sam Wetterlin 10/20/09

Lecture Notes: ECS 203 Basic Electrical Engineering Semester 1/2010. Dr.Prapun Suksompong 1 June 16, 2010

Linear Programming Notes V Problem Transformations

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

The Basics of FEA Procedure

Linear Programming. Solving LP Models Using MS Excel, 18

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

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

The Graphical Method: An Example

Experiment #5, Series and Parallel Circuits, Kirchhoff s Laws

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

Electrical Fundamentals Module 3: Parallel Circuits

Series and Parallel Circuits

THE DIMENSION OF A VECTOR SPACE

Experiment NO.3 Series and parallel connection

V out. Figure 1: A voltage divider on the left, and potentiometer on the right.

A Short Guide to Significant Figures

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

120 CHAPTER 3 NODAL AND LOOP ANALYSIS TECHNIQUES SUMMARY PROBLEMS SECTION 3.1

Resistors in Series and Parallel

1. Introduction and Chapter Objectives

Kirchhoff s Laws Physics Lab IX

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

LINEAR EQUATIONS IN TWO VARIABLES

47 Numerator Denominator

Solving Systems of Linear Equations

TECHNIQUES OF. C.T. Pan 1. C.T. Pan

2.1 Introduction. 2.2 Terms and definitions

Lecture 7 Circuit analysis via Laplace transform

Unified Lecture # 4 Vectors

DC mesh current analysis

Lecture 3: Finding integer solutions to systems of linear equations

Lecture L3 - Vectors, Matrices and Coordinate Transformations

OPRE 6201 : 2. Simplex Method

The last three chapters introduced three major proof techniques: direct,

Solving simultaneous equations using the inverse matrix

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

3.Basic Gate Combinations

Example: Determine the power supplied by each of the sources, independent and dependent, in this circuit:

Introduction to Matrix Algebra

Student Exploration: Circuits

3. Mathematical Induction

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

Parallel and Series Resistors, Kirchoff s Law

Introduction to the Smith Chart for the MSA Sam Wetterlin 10/12/09 Z +

6 Series Parallel Circuits

Solving Systems of Two Equations Algebraically

Chapter 11 Number Theory

8 Square matrices continued: Determinants

Mathematical Induction

Kirchhoff's Current Law (KCL)

5544 = = = Now we have to find a divisor of 693. We can try 3, and 693 = 3 231,and we keep dividing by 3 to get: 1

Transistor Amplifiers

Solutions of Linear Equations in One Variable

Duality in Linear Programming

Resistors in Series and Parallel

5 Homogeneous systems

Exponents and Radicals

Lecture - 4 Diode Rectifier Circuits

1.2 Solving a System of Linear Equations

Practical Guide to the Simplex Method of Linear Programming

Continued Fractions and the Euclidean Algorithm

Preamble. Kirchoff Voltage Law (KVL) Series Resistors. In this section of my lectures we will be. resistor arrangements; series and

Chapter 7 Direct-Current Circuits

Series and Parallel Circuits

Field-Effect (FET) transistors

Linear Programming Notes VII Sensitivity Analysis

6.4 Normal Distribution

Dependent Sources: Introduction and analysis of circuits containing dependent sources.

5.5. Solving linear systems by the elimination method

Bipolar Transistor Amplifiers

6.3 Conditional Probability and Independence

Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving

1 The Brownian bridge construction

Lab 7: Operational Amplifiers Part I

Systems of Linear Equations

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES

Convolution. The Delta Function and Impulse Response

Notes on Determinant

Solving Simultaneous Equations and Matrices

Solution of Linear Systems

Equations, Inequalities & Partial Fractions

Frequency Response of Filters

Math 4310 Handout - Quotient Vector Spaces

Chapter 5. Parallel Circuits ISU EE. C.Y. Lee

Basic numerical skills: EQUATIONS AND HOW TO SOLVE THEM. x + 5 = = (2-2) = = 5. x = 7-5. x + 0 = 20.

So let us begin our quest to find the holy grail of real analysis.

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.

6. Block and Tackle* Block and tackle

Transcription:

NODAL ANALYSIS A branch of an electric circuit is a connection between two points in the circuit. In general a simple wire connection, i.e., a 'short-circuit', is not considered a branch since it is known directly that there is no voltage drop across a short-circuit and the current in the short-circuit is whatever is required to satisfy KCL. Although it is neither required, nor always desirable, ordinarily for simplicity each branch contains a single circuit element. A node is a point of connection of two or more branches. In general 'dangling' branches, i.e., branches each of which is connected only to a single node are assumed to have been removed from the circuit insofar as analysis of the circuit is concerned. Dangling branches are known directly to have at most a constant voltage drop (e.g., a voltage source) and carry no current. Finally it is assumed that the circuit does not have 'separate parts', i.e., consist of two or more electrically disconnected parts. It must be possible to trace a path along circuit branches between any two nodes. For circuits with separate parts each part can be analyzed separately. In practice these conditions are rarely violated. A circuit is analyzed by application of KVL, KCL, and the volt-ampere relations for the circuit branch elements. Nothing else is needed nor used. The three requirements are applied until a sufficient number of independent equations are obtained to solve for all branch voltages and all branch currents. This is far more subtle a procedure in practice than it sounds. An electric circuit usually involves many branches and many nodes, and a haphazard search for a sufficient number of independent equations can be quite enervating. Therefore we consider various ways of undertaking a circuit analysis with the general aim of assuring that a solution will be found with a minimum effort to do so. One way to solve a circuit problem is simply to guess at the answer. This is not a facetious suggestion. There are circumstances when guessing is inappropriate, most circumstances in fact, but there are other occasions when it is quite appropriate and even preferable. The reason for mentioning this option is to assert (without proof) a mathematical 'existence' theorem, which states that a) There is always a solution for a linear circuit analysis problem (assuming a consistent circuit description as described above). (Well, almost always. Circuit analysis deals with idealized elements, and these can be assembled in redundant, in contradictory, and in indeterminate combinations. For example it is possible for a circuit to include a loop formed from only voltage sources. The sum of the source voltages around the loop must satisfy KVL. Now imagine a current circulating around this loop. KVL is not involved in this circulation. KCL is satisfied; at each node the loop current leaving one source enters the neighboring source. And the source constitutive relations impose no constraints on the current. All these remarks apply whatever the current magnitude; any current can be specified. In reality this condition does not occur; all real voltage sources include some series resistance. As it happens even for idealized circuit elements a loop of voltage sources almost never is encountered. Two exceptions occur. First there is the pedagogical mention of the possibility, as in this case. Occasionally a loop of voltage sources is encountered in a computer analysis; circuit analysis programs preview a circuit specification to detect and point out such anomalies. And require correction before proceeding. The usual reason for this sort of encounter is an error in specifying circuit connections. If a voltage source loop is vital a small but finite resistance (1 picoohm?) can be inserted in series with a source. Circuits Nodal Analysis 1 M H Miller

Another circumstance where idealized elements introduce indeterminacy is where, for example, the circuit can be divided into two groups of branches with only current sources connecting the two groups. The sum of the currents in the connecting sources must satisfy KCL, i.e. there is no net current leaving one group of branches or the other. The upper diagram in the figure following illustrates such a case. The lower circuit simply separates the two sets without contravening KCL. KVL is not compromised; the constitutive relations for the idealized current sources permit any necessary voltage across a source. This also is a situation that does not occur for real sources. A computer analysis program will detect this anomaly as well; if it is a pedagogical requirement add a large but finite resistance (1 gigaohm?) in parallel with the current sources. We handle such circumstances simply by ignoring them. They are invariably rare, when they do occur it is usually because of an error, and in any case are more or less readily resolved. b) That solution is unique; it may assume different descriptive forms but all of these forms will be mathematically equivalent and can be converted one to any another if desired; c) A necessary and sufficient test for a validity of a solution is that it satisfies KCL, KVL, all the branch volt-ampere relations, and any initial conditions placed on the circuit. (Initial conditions are something we deal with later in connection with circuit elements yet to be discussed; for the circuits dealt with for the present they will be automatically satisfied. Basically the initial conditions take account of the net energy if any supplied to the circuit prior to the time at which the analysis undertaken is assumed to begin.) There is naturally a certain reassurance in knowing beforehand that finding a solution is possible, that there is only one solution to look for, and that there is a well-defined test to verify that a proposed solution is indeed the solution. In fact in most cases proposing a solution and testing it for validity are essentially done concurrently as part of the analysis procedure. If KCL, KVL, and the branch voltampere relations are used (correctly!) to solve for the circuit voltages and currents then the solution is automatically validated. Circuits Nodal Analysis 2 M H Miller

As is noted before recognition of items a), b), and c) above is the principal reason for suggesting, not entirely facetiously, educated guessing as a method of circuit analysis. Every so often, as we will see later, guessing is the easiest way to go. Ordinarily however there is an overriding advantage to using an organized procedure, which is known a priori to obtain the solution with a minimum of effort. One of these methods is called a 'nodal' or 'node-to-datum' analysis. Because it involves a possible complication that requires a modest special consideration it is convenient to place one temporary constraint on the circuits to which the analytical procedure is applied, and that is that a voltage source branch is required to have a finite series resistance as well. As a practical matter this will always be so, and as a computational subterfuge a resistor whose resistance is so small as to have negligible quantitative effect on circuit voltages and currents can be introduced to satisfy the letter of the requirement. However even in the theoretical limit in which the series resistance is zero the constraint can, and in due time will be, be lifted. Nevertheless, for the moment, no voltage source is allowed without an accompanying series resistor. Suppose a circuit involves B branches and N nodes. Here is an algorithm to calculate all the branch voltages and currents. Step # 1: Select one node as the reference (datum or 'ground') node. The choice is theoretically arbitrary, but usually a particular node will stand out as a particularly convenient candidate for nomination as the reference. Most of the time, for reasons to be seen, the convenient choice for the reference node will be a node with the greatest number of branch connections. Step #2: Define I ij as the current directed from node I to node j. Apply KCL to each node in turn of the circuit except the reference node; KCL automatically is satisfied at the datum if it is satisfied at all the other nodes. This provides N-1 independent equations involving the B branch currents of the form (for node i) There are N-1 such equations, that is the index i ranges over all the nodes except the datum. For the sake of making a point imagine the node equations written one by one. As each new equation is written it must involve a branch current not involved in any of the previous equations; there will be previously unused branches connecting to the 'new' node. Hence each successive equation will be independent of its predecessors. Of course 'independence' is a property of the equations and not of the order in which they are written; the equations will be independent no matter what order they are written in. Step #3: Choose the minimum number of voltage variables needed to express all the branch voltage drops. The easy way to do this is to choose as the variables the voltage drop from each node to the datum node. It is conventional to omit an explicit reference to the datum node, leaving this to be understood. Actually the voltage variables each may be chosen independently as a voltage rise or a voltage drop. Theoretically this doesn't matter. As a practical matter however there is strong reason to choose the variables either all as rises or all as drops. One immediate convenience of this choice is that there is no need to keep individual track of whether a particular variable is a rise or a drop. But there is further advantage to uniformity, as will be seen later. The voltage drop across any branch can be expressed in terms of no more than two node voltages. For a branch one of whose nodes is connected to the datum the voltage drop across that branch is the node voltage at the other node. Otherwise the drop from node a to node b is equal to the voltage at node a (i.e., node a to datum) - the voltage drop at node b (datum to node Circuits Nodal Analysis 3 M H Miller

b). There are N-1 node voltage variables, exactly the number of independent node equations in item 2. Step #4: Express each branch current in terms of the branch voltage using the branch volt-ampere relations, and substitute in the N-1 KCL node equations. The result is a set of N-1 independent equations in N-1 node voltage variables, and these can be solved by any of several methods; Cramer's Rule, Gauss Elimination, etc. Example Consider the application of a nodal analysis to the circuit drawn below. The reference node (the datum) is indicated by the ground symbol. There are four nodes (right-angle corners and short-circuit connections do not of course affect the topological connection information conveyed), and so there are three nodal (KCL) equations to write. The node variables to be used are the three voltage drops e 1, e 2 and e 3. These voltage drops are understood to be from a node to the datum, and with this understanding there is no need to clutter the diagram with explicit ± signs. (One could use voltage rise from the node to the datum as the variable. This would result in values for branch voltages and currents that are the negative of those calculated for a voltage-drop choice. But since the polarity markers are reversed the two sets of solutions are different descriptions of precisely the same things.) We can skip writing the KCL equations formally. The analysis is so straightforward that we can substitute for the currents from the branch volt-ampere relations directly. Thus consider the KCL equation for node (subscript) 1. There are four branches attached to node 1, and so four terms in the KCL equation. Suppose we write the KCL equation in the form Sum of the source currents in = Sum of the branch currents out There is a certain conceptual advantage to this form of KCL; it separates the sources which 'excite' the circuit from the branch currents which result from the excitation. Obtaining the left side of the equation is straightforward; there is one source which inserts 1 ampere into the node (more generally a volume of space enclosing the node), and another which inserts 2 amperes. The other side of the equation is only slightly more involved to obtain. Consider for example the current flowing out of node 1 through the 4 Ω branch. The voltage drop from node 1 to node 3 is e1 - e3. This is obtained by a straightforward application of KVL; the voltage drop from node 1 to node 2 is equal to the voltage drop from node 1 to the datum plus the voltage drop from the datum to node 3. The latter voltage drop is minus the drop from node 3 to the datum. Hence the current flowing out of node 1 in the 4 Ω branch is (e1 - e3)/4. Similarly, by direct inspection, the current flowing out of node 1 through the 1 Ω branch is (e1 - e2)/1. Hence 1 + 2 = (e 1 - e 3 )/4 + (e 1 - e 2 )/1 Similarly for node 2 0 = (e 2 - e 1 )/1 +e 2 /2 + (e 2 - e 3 /8 Circuits Nodal Analysis 4 M H Miller

and for node 3-2 = (e 3 - e 1 )/4 + (e 3 - e 2 )/8 + e 3 /5 After algebraic simplification the three independent equations in three unknowns are 3 = 1.25 e 1 - e 2-0.25e 3 0 = - e 1 + 1.625e 2-0.125e 3-2 = - 0.25e 1-0.125e 2 + 0.575e 3 Solving (Gauss elimination or Cramer's Rule or computer-aided analysis): e 1 = 4.1374 v I 20 = 1.229 a e 2 = 2.458 v I 30 = -0.22901 a e 3 = -1.145 v I 12 = 1.6794 a I 23 = 0.45038 a I 13 = 1.3206 a It is not a bad idea to verify KCL at the three nodes, and to calculate a branch current or two from the node voltages and compare with the listed values. The illustrative circuit has no voltage source branches, an arbitrary constraint that was imposed earlier. As was noted at the time the constraint really is not necessary, and was stated mostly for purposes of sensitizing you to the observations to be made now. The singular aspect of a voltage source branch in a nodal analysis is that it introduces a node 'variable' which need not be used in the algorithmic procedure. If the voltage source is between a node and the datum then the node voltage is equal to the source voltage, and it is not necessary to treat that node voltage as an unknown. If the voltage source is connected between two nodes neither of which is the datum then one node voltage is readily calculated if the other is known by a simple addition (or subtraction). There are several ways of treating a voltage source branch, some more convenient for machine computation than for 'hand' calculation. A direct 'fix' for the presence of a voltage source branch is to consider the branch current as an independent variable in addition to the node voltages. Of course that requires an additional independent equation for a solution to be possible. But the source branch voltage provides such an equation. In the illustrative circuit for example the voltage source branches offset the introduction of two current variables with the two equations e1 = 1 and e1 - e3 = 2 (or e3 = -1). A disadvantage of this method for hand calculations, not so bad really for 'small' problems, is that the number of equations to be solved is increased. The node equations for the example circuit expressed in matrix form are: Circuits Nodal Analysis 5 M H Miller

Note the inclusion of the voltage source currents as independent variables, and the addition of the two source strength equations. An alternative procedure more convenient for hand calculations directly incorporates the fact that the voltage source strengths effectively reduce the number of unknown node voltages. The idea is illustrated below. First select a set of voltage sources (if any) which form a voltage source tree, i.e., any voltage source branch in the tree can be reached from any other voltage source branch using only voltage source branches; such a tree is enclosed by a loop in the diagram. The sources so enclosed form a 'supernode', a closed volume containing only voltage source branches. If one of the enclosed voltage sources is connected to the datum node then the associated (non-datum) node voltage is known; for example one can write for the illustration e 1 = 1. Depending on your preference you may remove e 1 from the set of node voltage variables, substituting where necessary its known value, or keep it as a variable and include e 1 = 1 as an independent equation. We can write a KCL equation for the supernode that does not involve the current through either voltage source as shown. Thus the current out of the supernode into node 3 is -i a + i c + i d, and these currents can be expressed in terms of the node voltages. Moreover the current out of the supernode at node 1 is i a + i b, which can be expressed in terms of node voltages, and KCL applied to the supernode is ( i a + i c + i d ) + (i a + i b ) = 0. The explanation is a bit extended, but in practice this equation would be written in terms of the node voltages directly by inspection. The voltage expression for e 1, the above supernode KCL equation, and a third KCL equation for node 2 provide three independent equations to determine the three node voltages. If a circuit contains more Circuits Nodal Analysis 6 M H Miller

than one voltage source tree a supernode is formed for each tree. In general circuit whose analysis is amenable to hand calculation will not have very many voltage sources, and circuits analyzed by computer do not require any special handling of this sort. It is a useful exercise to solve for the node voltages ( e 1 = 1v, e 2 = 0.54v, and e 3 = -1v) and verify in a few instances that KVL and KCL are satisfied. You might also write KCL equations for each node introducing temporary source branch currents, and then verify that the supernode KCL equation amounts simply to adding the equations for each 'internal' node of the supernode For machine computations a simpler tactic is not uncommon. Many machine programs simply prohibit a simple voltage source as a branch element. They require a circuit element such as a resistor to be placed in series with a voltage source, and these then force a simple relationship between the branch current, the source strength, and the branch node voltages. For 'real' circuits this is not a problem since in practice voltage sources inevitably have an internal series resistance. For idealized circuits or for some computational purposes a series resistor is not desired. One way out of this conflict is to insert a series resistor but to make the resistance have negligible effect on the computations, e.g., use the smallest non-zero resistance value in the circuit multiplied by, say,10-6. With some care this satisfies the computation program requirements without affecting any significant digits in computed values. (Indeed in some instances an analysis program will do this sort of thing automatically if you omit the resistor.) As it happens computer programs often impose a similar requirement on current sources; a resistor in parallel with the source is required. This is less of a problem because it is acceptable to specify a resistor with infinite resistance, in effect an open-circuit, to satisfy this requirement. Supplementary Example Involving a Controlled Source The voltage-controlled current source in the circuit below introduces only a modest adjustment in the nodal analysis. The dependent current source is treated as is any node current, except that the source strength depends on a voltage in another part of the circuit. Simply observe that the control voltage Vx is a branch voltage and it can be expressed in terms of node voltages as e2 e3. This replacement can be done in the course of writing the equation. Node 1: 1 = (e 1 - e 3 )/4 + (e 1 - e 2 )/1-2(e 2 - e 3 ) Node 2: 0 = (e 2 - e 1 )/1 + e 2 /2 + (e 2 - e 3 )/8 Node 3: 0 = (e 3 - e 1 )/4 + (e 3 - e 2 )/8 +e 3 /5 +2(e 2 - e 3 ) After algebraic simplification the three independent equations in three unknowns are 1 = 1.25 e 1-3.0e 2 +1.75e 3 0 = - e 1 + 1.625e 2-0.125e 3 0 = - 0.25e 1-1.825e 2-1.425e 3 Solving (Gauss elimination or Cramer's Rule or computer-aided analysis): e 1 = 2.1009 v I 20 = 0.70347 a Circuits Nodal Analysis 7 M H Miller

e 2 = 1.4069 v e 3 = 1.4826 v I 30 = 0.29653 a I 12 = 0.69401 a I 23 = -0.94637 a I 13 = 0.15457 a Circuits Nodal Analysis 8 M H Miller