1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 14

CHAPTER 2 BASIC CIRCUIT ANALYSIS

The equation S A/L shows that the current of a voltaic circuit is subject to a change, by each variation originating either in the mag- nitude of a tension or in the reduced length of a part, which latter is itself again determined, both by the actual length of the part as well as its conductivity and its section. Georg Simon Ohm, 1827, German Mathematician/Physicist

Some History Behind This Chapter Chapter Learning Objectives Georg Simon Ohm (1789–1854) discovered the law that 2-1 Element Constraints (Sect. 2-1) now bears his name in 1827. His results drew heavy crit- Given a two-terminal element with one or more electrical icism and were not generally accepted for many years. variables specified, use the element iv constraint to find Fortunately, the importance of his contribution was even- the magnitude and direction of the unknown variables. tually recognized during his lifetime. He was honored by the Royal Society of England in 1841 and appointed a Pro- 2-2 Connection Constraints (Sect. 2-2) fessor of Physics at the University of Munich in 1849. Given a circuit composed of two-terminal elements: (a) Identify nodes and loops in the circuit. Why This Chapter Is Important Today (b) Identify elements connected in series and in parallel. A circuit is an interconnection of electric devices that per- (c) Use Kirchhoff’s laws (KCL and KVL) to find forms a useful function. This chapter introduces some basic selected signal variables. tools you will need to analyze and design electric circuits. You will also be introduced to several important electric 2-3 Combined Constraints (Sect. 2-3) devices that control currents and voltages in a circuit. These Given a linear resistance circuit, use the element con- devices range from everyday things like batteries to spe- straints and connection constraints to find selected signal cial integrated circuits that meter out predetermined volt- variables. ages or currents. 2-4 Equivalent Circuits (Sect. 2-4) Chapter Sections Given a linear resistance circuit, find an equivalent circuit 2–1 Element Constraints at a specified pair of terminals. 2–2 Connection Constraints 2-5 2–3 Combined Constraints Voltage and Current Division (Sect. 2-5) 2–4 Equivalent Circuits (a) Given a linear resistance circuit with elements con- nected in series or in parallel, use voltage or current 2–5 Voltage and Current Division division to find specified voltages or currents. 2–6 Circuit Reduction (b) Design a voltage or current divider that delivers 2–7 Computer-Aided Circuit Analysis specified output signals.

2-6 Circuit Reduction (Sect. 2-6) Given a linear resistance circuit, find selected signal vari- ables using successive application of series and parallel equivalence, source transformations, and voltage and cur- rent division. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 15

ELEMENT CONSTRAINTS S ECTION 2–1 15

2–1 E LEMENT C ONSTRAINTS A circuit is a collection of interconnected electrical devices. An electrical de- vice is a component that is treated as a separate entity. The rectangular box in i Figure 2–1 is used to represent any one of the two-terminal devices used to + form circuits. A two-terminal device is described by its i–v characteristic; that is, by the relationship between the voltage across and current through the v

device. In most cases the relationship is complicated and nonlinear, so we use Device a linear model that approximates the dominant features of a device. − To distinguish between a device (the real thing) and its model (an approxi- FIGURE 2–1 Voltage and mate stand-in), we call the model a circuit element. Thus, a device is an article current reference marks for a two- of hardware described in manufacturers’ catalogs and parts specifications. An terminal device. element is a model described in textbooks on circuit analysis. This book is no exception, and a catalog of circuit elements will be introduced as we go on. A discussion of real devices and their models is contained in Appendix A. i + THE LINEAR vR The first element in our catalog is a linear model of the device described in − Figure 2–2. The actual i–v characteristic of this device is shown in Figure 2–2(b). To model this curve accurately across the full operating range shown (a) in the figure would require at least a cubic equation. However, the graph in i Figure 2–2(b) shows that a straight line is a good approximation to the i–v Actual characteristic if we operate the device within its linear range. The power rat- ing of the device limits the range over which the i–v characteristics can be Model represented by a straight line through the origin. Linear range 1 For the passive sign convention used in Figure 2–2(a), the equations de- scribing the linear resistor element are R v v Ri or i Gv (2–1) where R and G are positive constants that are reciprocally related. 1 G (2–2) R Power rating limits

The relationships in Eq. (2–1) are collectively known as Ohm’s law. The para- (b) meter R is called resistance and has the unit ohms, . The parameter G is

called conductance, with the unit siemens, S. In earlier times the unit of con- ductance was cleverly called the mho, with a unit abbreviation symbol (ohm spelled backward and the ohm symbol upside down). Note that Ohm’s law presumes that the passive sign convention is used to assign the reference marks to voltage and current. The Ohm’s law model is represented graphically by the black straight Wirewound line in Figure 2–2(b). The i–v characteristic for the Ohm’s law model defines a circuit element that is said to be linear and bilateral. Linear means that the defining characteristic is a straight line through the origin. Elements whose characteristics do not pass through the origin or are not a straight line are said to be nonlinear. Bilateral means that the i–v characteristic curve has odd symmetry about the origin.1 With a bilateral resistor, revers- Carbon or film ing the polarity of the applied voltage reverses the direction but not the (c) FIGURE 2–2 The resistor: (a) Circuit symbol. (b) i– character- 1A curve i = f(v) has odd symmetry if f(−v) = −f(v). istics. (c) Some actual devices. 1353T_c02_014-065.qxd 08:23:2005 3:47 PM Page 16

16 C HAPTER 2 BASIC CIRCUIT ANALYSIS

magnitude of the current, and vice versa. The net result is that we can con- nect a bilateral resistor into a circuit without regard to which terminal is which. This is important because devices such as diodes and batteries are not bilateral, and we must carefully identify each terminal. Figure 2–2(c) shows sketches of discrete resistor devices. Detailed device characteristics and fabrication techniques are discussed in Appendix A. The power associated with the resistor can be found from p = vi. Using Eq. (2–1) to eliminate v from this relationship yields p i2R (2–3) ii or using the same equations to eliminate i yields + + v2 p v2G (2–4) R v Openv Short Since the parameter R is positive, these equations tell us that the power is − − always nonnegative. Under the passive sign convention, this means that the resistor always absorbs power. (a)(b) FIGURE 2–3 Circuit sym- EXAMPLE 2–1 bols: (a) Open-circuit symbol. (b) Short-circuit symbol. A resistor operates as a linear element as long as the voltage and current are within the limits defined by its power rating. Suppose we have a 47-k resistor with a power rating of 0.25 W. Determine the maximum current and voltage that can be applied to the resistor and remain within its linear i operating range.

SOLUTION: i Using Eq. (2–3) to relate power and current, we obtain + OFF v P (open) MAX 0.25 I 2.31 mA v MAX R 47 103 − Similarly, using Eq. (2–4) to relate power and voltage, we obtain Circuit symbol i-v characteristics 3 ■ (a) VMAX RPMAX 47 10 0.25 108 V

PEN AND SHORT CIRCUITS i O The next two circuit elements can be thought of as limiting cases of the lin- ear resistor. Consider a resistor R with a voltage v applied across it. Let’s i calculate the current i through the resistor for different values of resis- tance. If v = 10 V and R = 1 , using Ohm’s law we readily find that i = + ON v (closed) 10 A. If we increase the resistance to 100 , we find i has decreased to v 0.1 A or 100 mA. If we continue to increase R to 1 M, i becomes a very − small 10 A. Continuing this process, we arrive at a condition where R is very nearly infinite and i just about zero. When the current i = 0, we call ∞ Circuit symbol i-v characteristics the special value of resistance (i.e., R = ) an open circuit. Similarly, if (b) we reduce R until it approaches zero, we find that the voltage is very nearly zero. When v = 0, we call the special value of resistance (i.e., R = FIGURE 2–4 The circuit symbol and i–v characteristics of 0 ), a short circuit. The circuit symbols for these two elements are shown an ideal switch: (a) Switch OFF. in Figure 2–3. In circuit analysis the elements in a circuit model are assumed (b) Switch ON. to be interconnected by zero-resistance wire (that is, by short circuits). 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 17

ELEMENT CONSTRAINTS S ECTION 2–1 17

THE IDEAL SWITCH A switch is a familiar device with many applications in electrical engineer- ing. The ideal switch can be modeled as a combination of an open- and a short-circuit element. Figure 2–4 shows the circuit symbol and the i–v char- acteristic of an ideal switch. When the switch is closed,

v 0 and i any value (2–5a) and when it is open,

i 0 and v any value (2–5b) When the switch is closed, the voltage across the element is zero and the element will pass any current that may result. When open, the current is zero and the element will withstand any voltage across its terminals. The power is always zero for the ideal switch, since the product vi = 0 when the switch is either open (i = 0) or closed (v = 0). Actual switch devices have limitations, such as the maximum current they can safely carry when closed and the maximum voltage they can withstand when open. The switch is operated (opened or closed) by some external influence, such as a mechanical motion, Gate temperature, pressure, or an electrical signal.

(a)

Gate APPLICATION EXAMPLE 2–2 The analog switch is an important device found in analog-to-digital in- terfaces. Figures 2–5(a) and 2–5(b) show the two basic versions of the (b) device. In either type the switch is actuated by applying a voltage to the terminal labeled “gate.” The switch in Figure 2–5(a) is said to be nor- Gate mally open because it is open when no voltage is applied to the gate ter- minal and closes when voltage is applied. The switch in Figure 2–5(b) is A said to be normally closed because it is closed when no voltage is ap- C plied to the controlling gate and opens when voltage is applied. Figure 2–5(c) shows an application in which complementary analog B switches are controlled by the same gate. When gate voltage is applied, the (c) upper switch closes and the lower opens so that point A is connected to point C. Conversely, when no gate voltage is applied, the upper switch opens and the lower switch closes to connect point B to point C. In the ana- log world this arrangement is called a double throw switch since point C can ROFF be connected to two other points. In the digital world it is called a two-to- one multiplexer (or MUX) because it allows you to select the analog input (d) at point A or point B under control of the digital signal applied to the gate. In many applications an analog switch can be treated as an ideal switch. In other cases, it may be necessary to account for their nonideal RON characteristics. When the switch is open an analog switch acts like a (e) very large resistance (ROFF), as suggested in Figure 2–5(d). This resis- FIGURE 2–5 9 11 The analog tance is negligible because it ranges from perhaps 10 to 10 . When switch: (a) Normally open model. the switch is closed it acts like a small resistor (RON), as suggested in (b) Normally closed model. (c) Dou- Figure 2–5(e). Depending on other circuit resistances, it may be neces- ble throw model. (d) Model with sary to account for R because it ranges from perhaps 20 to 200 . finite OFF resistance. (e) Model with ON finite ON resistance. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 18

18 C HAPTER 2 BASIC CIRCUIT ANALYSIS

i This example illustrates how ideal switches and can be com- + bined to model another electrical device. It also suggests that no single model can serve in all applications. It is up to the engineer to select a + vS − v model that adequately represents the actual device in each application.

− IDEAL SOURCES (a) The signal and power sources required to operate electronic circuits are i modeled using two elements: voltage sources and current sources. These sources can produce either constant or time-varying signals. The circuit + + symbols and the i–v characteristic of an ideal voltage source are shown in Figure 2–6, while the circuit symbol and i–v characteristic of an ideal cur- VO v − rent source are shown in Figure 2–7. The symbol in Figure 2–6(a) repre- − sents either a time-varying or constant voltage source. The battery symbol in Figure 2–6(b) is used exclusively for a constant voltage source. There is (b) no separate symbol for a constant current source. The i–v characteristic of an ideal voltage source in Figure 2–6(c) is de- i scribed by the following element equations: v vS and i any value (2–6)

The element equations mean that the ideal voltage source produces vS v volts across its terminals and will supply whatever current may be required VO by the circuit to which it is connected. The i–v characteristic of an ideal current source in Figure 2–7(b) is de- scribed by the following element equations: (c) i iS and v any value (2–7) FIGURE 2–6 Circuit sym- bols and i–v characteristic of an ideal The ideal current source produces iS amperes in the direction of its arrow independent voltage source: (a) Time- symbol and will furnish whatever voltage is required by the circuit to which varying. (b) Constant (Battery). it is connected. (c) Constant source i–v characteris- tics. i i − IO

IO, iS v v + (a)

(b) FIGURE 2–7 Circuit symbols and i– characteristic of an ideal in- dependent current source: (a) Time-varying or constant source. (b) Con- stant source i– characteristics. The voltage or current produced by these ideal sources is called a forc- ing function or a driving function because it represents an input that causes a circuit response.

EXAMPLE 2–3 Given an ideal voltage source with the time-varying voltage shown in Figure 2–8(a), sketch its i–v characteristic at the times t = 0, 1, and 2 ms. 1353T_c02_014-065.qxd 7/28/05 11:59 AM Page 19

CONNECTION CONSTRAINTS S ECTION 2–2 19

@t = 0 ms, v = 5 V FIGURE 2–8 vS(t) (V) i @t = 1 ms, v = 0 V 5

01 2 t (ms) 0 −50 +5 v @t = 2 ms, v = −5 V −5

(a) (b)

SOLUTION: i At any instant of time, the time-varying source voltage has only one value. + We can treat the voltage and current at each instant of time as constants rep- + resenting a snapshot of the source i–v characteristic. For example, at t = 0, the vS − v equations defining the i–v characteristic are vS = 5 V and i = any value. Figure 2–8(b) shows the i–v relationship at the other instants of time. Curiously, the − voltage source i–v characteristic at t = 1 ms (vS = 0 and i = any value) is (a) the same as that of a short circuit [see Eq. (2–5a) or Figure 2–3(b)]. ■ RS i PRACTICAL SOURCES + The practical models for voltage and current sources in Figure 2–9 may be + more appropriate in some situations than the ideal models used up to this vS − v point. These circuits are called practical models because they more accurately represent the characteristics of real-world sources than do the − ideal models. It is important to remember that models are interconnec- (b) tions of elements, not devices. For example, the resistance in a model does not always represent an actual resistor. As a case in point, the resistances i

RS in the practical source models in Figure 2–9 do not represent physical − resistors but are circuit elements used to account for resistive effects within the devices being modeled. iS v The linear resistor, open circuit, short circuit, ideal switch, ideal voltage source, and ideal current source are the initial entries in our catalog of cir- + cuit elements. In Chapter 4 we will develop models for active devices like the transistor and OP AMP. Models for dynamic elements like (c) and inductors are introduced in Chapter 6. i − 2–2 C ONNECTION C ONSTRAINTS iS RS v In the previous section, we considered individual devices and models. In this section, we turn our attention to the constraints introduced by interconnec- + tions of devices to form circuits. The laws governing circuit behavior are (d) based on the meticulous work of the German scientist Gustav Kirchhoff (1824–1887). Kirchhoff’s laws are derived from conservation laws as applied FIGURE 2–9 Circuit sym- to circuits. They tell us that element voltages and currents are forced to be- bols for ideal and practical indepen- dent sources: (a) Ideal voltage source. have in certain ways when the devices are interconnected to form a circuit. (b) Practical voltage source. (c) Ideal These conditions are called connection constraints because they are based current source. (d) Practical current only on the circuit connections, not on the specific devices in the circuit. source. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 20

20 C HAPTER 2 BASIC CIRCUIT ANALYSIS

Used in text In this book, we will indicate that crossing wires are connected (electrically tied together) using the dot symbol, as in Figure 2–10(a). Sometimes crossing wires are not connected (electrically insulated) but pass over or under each other. Since we are restricted to drawing wires on a planar surface, we will indicate unconnected crossovers by not placing a dot at their intersection, as indicated in the left of Figure 2–10(b). Other books sometimes show uncon- (a) (b) nected crossovers using the semicircular “hopover” shown on the right of Figure 2–10(b). In engineering systems two or more separate circuits are Control line often tied together to form a larger circuit (for example, the interconnection of two integrated circuit packages). Interconnecting different circuits forms an interface between the circuits. The special jack or interface symbol in (c) (d) Figure 2–10(c) is used in this book because interface connections represent important points at which the interaction between two circuits can be observed or specified. On certain occasions a control line is required to show + 15V a mechanical or other nonelectrical dependency. Figure 2–10(d) shows how this dependency is indicated in this book. Figure 2–10(e) shows how power + 15V supply connections are often shown in electronic circuit diagrams. The im- Implies − plied power supply connection is indicated by an arrow pointing to the supply

voltage, which may be given in numerical (+15 V) or symbolic form (+VCC). The treatment of Kirchhoff’s laws uses the following definitions:

(e) • A circuit is an interconnection of electrical devices. FIGURE 2–10 Symbols • A node is an electrical juncture of two or more devices. used in circuit diagrams: (a) Electri- • A loop is a closed path formed by tracing through an ordered cal connection. (b) Crossover with no sequence of nodes without passing through any node more connection. (c) Jack connection. (d) Control line. (e) Power supply con- than once. nection. While it is customary to designate the juncture of two or more elements as a node, it is important to realize that a node is not confined to a point but includes all the zero-resistance wire from the point to each element. In the circuit of Figure 2–11, there are only three different nodes: A, B, and C. The points 2, 3, and 4, for example, are part of node B, while the points 5, 6, 7, and 8 are all part of node C.

1 i1 2 3 B 4

i2 i3 i4 A i5

8 7 C 6 5

FIGURE 2–11 Circuit for demonstrating Kirchhoff’s current law.

KIRCHHOFF’S CURRENT LAW Kirchhoff’s first law is based on the principle of conservation of charge. Kirchhoff’s current law (KCL) states that the algebraic sum of the currents entering a node is zero at every instant. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 21

CONNECTION CONSTRAINTS S ECTION 2–2 21

In forming the algebraic sum of currents, we must take into account the cur- rent reference direction associated with each device. If the current reference direction is into the node, then we assign a positive sign to the corresponding current in the algebraic sum. If the reference direction is away from the node, we assign a negative sign. Applying this convention to the nodes in Figure 2–11, we obtain the following set of KCL connection equations: − − Node A: i1 i2 = 0 − − + Node B: i1 i3 i4 i5 = 0 (2–8) + + − Node C: i2 i3 i4 i5 = 0

The KCL equation at node A does not mean that the currents i1 and i2 are both negative. The minus signs in this equation simply mean that the refer- ence direction for each current is directed away from node A. Likewise, the equation at node B could be written as i3 i4 i1 i5 (2–9) This form illustrates an alternate statement of KCL: The sum of the currents entering a node equals the sum of the currents leaving the node. There are two algebraic signs associated with each current in the application of KCL. First is the sign given to a current in writing a KCL connection equa- tion. This sign is determined by the orientation of the current reference di- rection relative to a node. The second sign is determined by the actual direction of the current relative to the reference direction. The actual direction is found by solving the set of KCL equations, as illustrated in the following example.

EXAMPLE 2–4

Given i1 = +4 A, i3 = +1 A, i4 = +2 A in the circuit shown in Figure 2–11, find i2 and i5.

SOLUTION: Using the node A constraint in Eq. (2–8) yields i i 4 i 0 1 2 1 2 2 The sign outside the parentheses comes from the node A KCL connection constraint in Eq. (2–8). The sign inside the parentheses comes from the ac- tual direction of the current. Solving this equation for the unknown cur- − rent, we find that i2 = 4 A. In this case, the minus sign indicates that the actual direction of the current i2 is directed upward in Figure 2–11, which is opposite to the reference direction assigned. Using the second KCL equa- tion in Eq. (2–8), we can write i1 i3 i4 i5 ( 4) ( 1) ( 2) i5 0 − which yields the result i5 = 1 A. Again, the signs inside the parentheses are associated with the actual di- rection of the current, and the signs outside come from the node B KCL connection constraint in Eq. (2–8). The minus sign in the final answer means

that the current i5 is directed in the opposite direction from its assigned 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 22

22 C HAPTER 2 BASIC CIRCUIT ANALYSIS

reference direction. We can check our work by substituting the values found into the node C constraint in Eq. (2–8). These substitutions yield i i i i 4 1 2 1 0 2 3 4 5 1 2 1 2 1 2 1 2 as required by KCL. Given three currents, we determined all the remaining currents in the circuit using only KCL without knowing the element constraints. ■

In Example 2–4, the unknown currents were found using only the KCL constraints at nodes A and B. The node C equation was shown to be valid, but it did not add any new information. If we look back at Eq. (2–8), we see that the node C equation is the negative of the sum of the node A and B equations. In other words, the KCL connection constraint at node C is not independent of the two previous equations. This example illustrates the following general principle: In a circuit containing a total of N nodes there are only N − 1 independent KCL connection equations. Current equations written at N − 1 nodes contain all the independent connection constraints that can be derived from KCL. To write these equa- tions, we select one node as the reference or ground node and then write KCL equations at the remaining N − 1 nonreference nodes.

Exercise 2–1 Refer to Figure 2–12. (a) Write KCL equations at nodes A, B, C, and D. − (b) Given i1 = 1 mA, i3 = 0.5 mA, i6 = 0.2 mA, find i2, i4, and i5.

FIGURE 2–12 A i2 B i4 C

i1 i3 i5 i6

D

Answers: − − − − − − (a) Node A: i1 i2 = 0; node B: i2 i3 i4 = 0; node C: i4 i5 i6 = 0; node D: i1 + i3 + i5 + i6 = 0 (b) i2 = 1 mA, i4 = 0.5 mA, i5 = 0.3 mA

KIRCHHOFF’S VOLTAGE LAW The second of Kirchhoff’s circuit laws is based on the principle of conser- vation of energy. Kirchhoff’s voltage law (abbreviated KVL) states that the algebraic sum of all the voltages around a loop is zero at every instant. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 23

CONNECTION CONSTRAINTS S ECTION 2–2 23

For example, three loops are shown in the circuit of Figure 2–13. In writing the algebraic sum of voltages, we must account for the assigned reference marks. As a loop is traversed, a positive sign is assigned to a voltage when we go from a “+” to “−” reference mark. When we go from “−” to “+”, we use a minus sign. Traversing the three loops in Figure 2–13 in the indicated clockwise direction yields the following set of KVL connection equations: Loop 1: v1 v2 v3 0 Loop 2: v3 v4 v5 0 (2–10) Loop 3: v1 v2 v4 v5 0

+ v2 − + v4 − FIGURE 2–13 Circuit for demonstrating Kirchhoff’s voltage law. + + +

v1 Loop 1v3 Loop 2 v5 − − − Loop 3

There are two signs associated with each voltage. The first is the sign given the voltage when writing the KVL connection equation. The second is the sign determined by the actual polarity of a voltage relative to its assigned reference polarity. The actual polarities are found by solving the set of KVL equations, as illustrated in the following example.

EXAMPLE 2–5 − Given v1 = 5 V, v2 = 3 V, and v4 = 10 V in the circuit shown in Figure 2–13, find v3 and v5.

SOLUTION: Inserting the given numerical values into Eq. (2–10) yields the following KVL equation for loop 1: v v v 5 3 v 0 1 2 3 1 2 1 2 1 32 The sign outside the parentheses comes from the loop 1 KVL constraint in Eq. (2–10). The sign inside comes from the actual polarity of the voltage. This equation yields v3 8 V. Using this value in the loop 2, KVL constraint in Eq. (2–10) produces v v v 8 10 v 0 3 4 5 1 2 1 2 5 − The result is v5 = 2 V. The minus sign here means that the actual polarity of v5 is the opposite of the assigned reference polarity indicated in Figure 2–13. The results can be checked by substituting all the aforementioned values into the loop 3 KVL constraint in Eq. (2–10). These substitutions yield 5 3 10 2 0 1 2 1 2 1 2 1 2 as required by KVL. ■ 1353T_c02_014-065.qxd 08:23:2005 3:47 PM Page 24

24 C HAPTER 2 BASIC CIRCUIT ANALYSIS

In Example 2–5, the unknown voltages were found using only the KVL constraints for loops 1 and 2. The loop 3 equation was shown to be valid, but it did not add any new information. If we look back at Eq. (2–10), we see that the loop 3 equation is equal to the sum of the loop 1 and 2 equations. In other words, the KVL connection constraint around loop 3 is not independent of the previous two equations. This example illus- trates the following general principle: In a circuit containing a total of E two-terminal elements and N nodes, there are only E N 1 independent KVL connec- tion equations. Writing voltage summations around a total of E − N + 1 different loops produces all the independent connection constraints that can be derived from KVL. A sufficient condition for loops to be different is that each con- tains at least one element that is not contained in any other loop. In simple circuits with no crossovers, the open space between elements produces E − N + 1 independent loops. However, finding all the loops in a more complicated circuit can be a nontrivial problem.

Exercise 2–2

Find the voltages vx and vy in Figure 2–14.

FIGURE 2–14 + 2 V − + vy −

+ + + vx 6 V 1 V − − −

Answers: vx = + 8 V; vy = + 5 V

Exercise 2–3

Find the voltages vx, vy, and vz in Figure 2–15.

FIGURE 2–15 + 5 V − + 20 V − − 5 V +

+ + + +

40 V vx vy vz − − − −

− 10 V +

Answers: vx = + 25 V; vy = + 5 V; vz = + 10 V. Note: KVL yields the voltage vz even though it appears across an open circuit. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 25

CONNECTION CONSTRAINTS S ECTION 2–2 25

PARALLEL AND SERIES CONNECTIONS Two types of connections occur so frequently in circuit analysis that they deserve special attention. Elements are said to be connected in parallel when they form a loop containing no other elements. For example, loop A in Figure 2–16 contains only elements 1 and 2. As a result, the KVL con- nection constraint around loop A is v1 v2 0 (2–11)

which yields v1 = v2. In other words, in a parallel connection KVL requires equal voltages across the elements. The parallel connection is not restricted to two elements. For example, loop B in Figure 2–16 contains only

elements 2 and 3; hence, by KVL v2 = v3. As a result, in this circuit we have v1 = v2 = v3, and we say that elements 1, 2, and 3 are connected in parallel. In general, then, any number of elements connected between two common nodes are in parallel, and as a result, the same voltage appears across each of them. Existence of a parallel connection does not depend on the graphi- cal position of the elements. For example, the position of elements 1 and 3 could be switched, and the three elements are still connected in parallel.

− + v3 FIGURE 2–16 A parallel connection. 3 Rest of + + A the v1 1 2 v2 B circuit − −

Two elements are said to be connected in series when they have one − A common node to which no other element is connected. In Figure 2–17 ele- + v1 i1 i2 ments 1 and 2 are connected in series, since only these two elements are 1 + connected at node A. Applying KCL at node A yields Rest of the − 2 v2 v3 + i i 0 or i i (2–12) circuit − 1 2 1 2 3 In a series connection, KCL requires equal current through each element. i3 B Any number of elements can be connected in series. For example, element 3 in Figure 2–17 is connected in series with element 2 at node B, and KCL FIGURE 2–17 Aseries requires i2 = i3. Therefore, in this circuit i1 = i2 = i3, we say that elements 1, 2, connection. and 3 are connected in series, and the same current exists in each of the elements. In general, elements are connected in series when they form a single path between two nodes such that only elements in the path are con- nected to the intermediate nodes along the path.

EXAMPLE 2–6 Identify the elements connected in parallel and in series in each of the circuits in Figure 2–18.

SOLUTION: In Figure 2–18(a) elements 1 and 2 are connected in series at node A and elements 3 and 4 are connected in parallel between nodes B and C. In Figure 2–18(b) elements 1 and 2 are connected in series at node A, as are elements 4 and 5 at node D. There are no single elements connected in parallel in this circuit. In Figure 2–18(c) there are no elements connected 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 26

26 C HAPTER 2 BASIC CIRCUIT ANALYSIS

AB in either series or parallel. It is important to realize that in some circuits ■ 2 4 there are elements that are not connected in either series or in parallel. Exercise 2–4 1 3 Identify the elements connected in series or parallel when a short circuit is con- nected between nodes A and B in each of the circuits of Figure 2–18. Answers: Circuit in Figure 2–18(a): Elements 1, 3, and 4 are all in parallel. C Circuit in Figure 2–18(b): Elements 1 and 3 are in parallel; elements 4 and 5 are (a) in series. Circuit in Figure 2–18(c): Elements 1 and 3 are in parallel; elements 4 and 6 are in parallel. A B D 2 4 Exercise 2–5 Identify the elements in Figure 2–19 that are connected in (a) parallel, (b) series, or (c) neither. 1 3 5 Answers: (a) The following elements are in parallel: 1, 8, and 11; 3, 4, and 5. (b) The following elements are in series: 9 and 10; 6 and 7. C (c) Only element 2 is not in series or parallel with any other element.

(b) DISCUSSION: The ground symbol indicates the reference node. When ground symbols are shown at several nodes, the nodes are effectively connected to- gether by a short circuit to form a single node. 6

ABD 910 2 4 8

1 3 5 5 2

4 C 11 (c) 1 37 FIGURE 2–18

6 Multiple grounds form a single node FIGURE 2–19

2–3 C OMBINED C ONSTRAINTS The usual goal of circuit analysis is to determine the currents or voltages at various places in a circuit. This analysis is based on constraints of two dis- tinctly different types. The element constraints are based on the models of the specific devices connected in the circuit. The connection constraints are based on Kirchhoff’s laws and the circuit connections. The element equations 1353T_c02_014-065.qxd 7/28/05 12:00 PM Page 27

COMBINED CONSTRAINTS S ECTION 2–3 27

are independent of the circuit connections. Likewise, the connection equa- A tions are independent of the devices in the circuit. Taken together, however, ix the combination of the element and connection constraints supply the iO equations needed to describe a circuit. + Loop + i v vO R Our study of the combined constraints begins by considering the simple but S −x − important example in Figure 2–20. This circuit is driven by a current source i S B and the resulting responses are current/voltage pairs (ix, vx) and (iO, vO). The reference marks for the response pairs have been assigned using the passive sign convention. To solve for all four responses, we must write four equations. The first FIGURE 2–20 Circuit used two are the element equations to demonstrate combined constraints. ix iS vO RiO (2–13)

The first element equation states that the response current ix and the input driving force iS are equal in magnitude and direction. The second element equation is Ohm’s law relating vO and iO under the passive sign convention. The connection equations are obtained by applying Kirchhoff’s laws. The circuit in Figure 2–20 has two elements (E = 2) and two nodes (N = 2), so we need E − N + 1 = 1 KVL equation and N − 1 = 1 KCL equation. Se- lecting node B as the reference node, we apply KCL at node A and apply KVL around the loop to write − − KCL: ix iO = 0 KVL: vx vO 0 (2–14) We now have two element constraints in Eq. (2–13) and two connection constraints in Eq. (2–14), so we can solve for all four responses in terms

of the input driving force iS. Combining the KCL connection equation and − − the first element equation yields iO = ix = iS. Substituting this result into the second element equation (Ohm’s law) produces vO RiS (2–15)

The minus sign in this equation does not mean that vO is always negative. Nor does it mean the resistance is negative. It means that when the input driving

force iS is positive, then the response vO is negative, and vice versa. This sign reversal is a result of the way we assigned reference marks at the beginning of our analysis. The reference marks defined the circuit input and outputs in

such a way that iS and vO always have opposite algebraic signs. Put differently, Eq. (2–15) is an input-output relationship, not an element i–v relationship.

EXAMPLE 2–7

(a) Find the responses ix, vx, iO, and vO in the circuit in Figure 2–20 when iS = +2 mA and R = 2 k . − (b) Repeat for iS = 2 mA.

SOLUTION:

(a) From Eq. (2–13) we have ix = iS = +2 mA and vO = 2000 iO. From − − Eq. (2–14) we have iO = ix = 2 mA and vx = vO. Combining these re- sults, we obtain v v 2000i 2000 0.002 4 V x O O 1 2 1353T_c02_014-065.qxd 7/28/05 12:00 PM Page 28

28 C HAPTER 2 BASIC CIRCUIT ANALYSIS

i (b) In this case i = i = − 2 mA, i = −i = − (−0.002) = + 2 mA, and A 1 R1 B x S O x v v 2000i 2000 0.002 4 V i − x O O A + v1 i2 1 2 + + This example confirms that the algebraic signs of the outputs vx, vO, and + ■ VO − vA Loop v2 i are always the opposite sign from that of the input driving force i . − − R2 O S C Analyzing the circuit in Figure 2–21 illustrates the formulation of com- bined constraints. We first assign reference marks for all the voltages and currents using the passive sign convention. Then, using these definitions we can write the element constraints as FIGURE 2–21 Circuit used vA VO to demonstrate combined constraints. v1 R1i1 (2–16) v2 R2i2 These equations describe the three devices and do not depend on how the devices are connected in the circuit. The connection equations are obtained from Kirchhoff’s laws. To apply these laws, we must first label the different loops and nodes. The circuit contains E = 3 elements and N = 3 nodes, so there are E − N + 1 = 1 inde- pendent KVL constraints and N − 1 = 2 independent KCL constraints. There is only one loop, but there are three nodes in this circuit. We will se- lect one node as the reference point and write KCL equations at the other two nodes. Any node can be chosen as the reference, so we select node C as the reference node and indicate this choice by drawing the ground symbol there. The connection constraints are KCL: Node A iA i1 0 KCL: Node B i1 i2 0 (2–17) KVL: Loop vA v1 v2 0 These equations are independent of the specific devices in the circuit. They depend only on Kirchhoff’s laws and the circuit connections. This circuit has six unknowns: three element currents and three element voltages. Taken together, the element and connection equations give us six independent equations. For a network with (N) nodes and (E) two- terminal elements, we can write (N − 1) independent KCL connection equations, (E − N + 1) independent KVL connection equations, and (E) el- ement equations. The total number of equations generated is Element equations E KCL equations N − 1 KVL equations E − N + 1 Total 2E The grand total is then (2E) combined connection and element equations, which is exactly the number of equations needed to solve for the voltage across and current through every element—a total of (2E) unknowns.

EXAMPLE 2–8

Find all of the element currents and voltages in Figure 2–21 for VO = 10 V, R1 = 2000 , and R2 = 3000 . 1353T_c02_014-065.qxd 7/28/05 11:21 AM Page 29

COMBINED CONSTRAINTS S ECTION 2–3 29

SOLUTION: Substituting the element constraints from Eq. (2–16) into the KVL connec- tion constraint in Eq. (2–17) produces VO R1i1 R2i2 0

This equation can be used to solve for i1 since the second KCL connection equation requires that i2 = i1. V 10 i O 1 2 mA R1 R2 2000 3000 In effect, we have found all of the element currents since the elements are connected in series. Hence, collectively the KCL connection equations require that iA i1 i2 Substituting all of the known values into the element equations gives vA 10 V v1 R1i1 4 V v2 R2i2 6 V Every element voltage and current has been found. Note the analysis strat- egy used. We first found all the element currents and then used these val- ues to find the element voltages. ■

EXAMPLE 2–9 Use element and connection equations to find the voltages across the resistors in Figure 2–22.

FIGURE 2–22 A i1 100 Ω B

i3 − + v1 iA Loop 2 i2 300 + Ω + + + v 30 V − vA v2 200 Ω − 3 − − Loop 1

C

SOLUTION: A complete description of this circuit involves four element equations and four connection equations. The element equations are v1 100 i1 v2 200 i2 v3 300 i3 vA 30 V The four connection equations are KCL : Node A iA i1 i3 0 KCL : Node B i1 i2 0 KVL : Loop l vA v3 0 KVL : Loop 2 v3 v1 v2 0 1353T_c02_014-065.qxd 7/28/05 11:21 AM Page 30

30 C HAPTER 2 BASIC CIRCUIT ANALYSIS

Combining the last element equation and the KVL equation around loop 1 shows that = = v3 vA 30 V

which is nothing more than a statement that the voltage source and R3 are connected in parallel. Using this result in the loop 2 equation yields v1 v2 v3 30 V. Substituting the first two element equations into this equation produces 100i1 200i2 30 But the KCL equation at node B points out that i1 i2, and this result re- duces to 300i2 30 or i1 i2 0.1 A. Finally, the first two element equa- tions yield v1 100i1 10 V and v2 200i2 20 V In summary, the voltages across the three resistors are v1 10 V, v2 ■ 20 V, and v3 30 V.

Exercise 2–6 In Figure 2–23 i1 200 mA and i3 100 mA. Find the voltage vx.

FIGURE 2–23

Rest of the circuit

i1 100 Ω i3 200 Ω − − + + v1 i2 + v3 vx + v2 Ω − − 50

Answer: vx 35 V

ASSIGNING REFERENCE MARKS In all of our previous examples and exercises, the reference marks for the element currents (arrows) and voltages (+ and −) were given. When refer- ence marks are not shown on a circuit diagram, they must be assigned by the person solving the problem. Beginners sometimes wonder how to assign ref- erence marks when the actual voltage polarities and current directions are unknown. It is important to remember that the reference marks do not indi- cate what is actually happening in the circuit. They are benchmarks assigned at the beginning of the analysis. If it turns out that the actual direction and reference direction agree, then the algebraic sign of the response will be pos- itive. If they disagree, the algebraic sign will be negative. In other words, the sign of the answer together with assigned reference marks tell us the actual voltage polarity or current direction. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 31

COMBINED CONSTRAINTS S ECTION 2–3 31

In this book the reference marks always follow the passive sign convention. This means that for any given two-terminal element we can arbitrarily assign either the + voltage reference mark or the current reference arrow, but not both. For example, we can arbitrarily assign the voltage reference marks to the terminals of a two-terminal device. Once the voltage reference is assigned, however, the passive sign convention requires that the current reference arrow be directed into the element at the terminal with the + mark. On the other hand, we could start by arbitrarily selecting the terminal at which the current reference arrow is directed into the device. Once the current reference is as- signed, however, the passive sign convention requires that the + voltage refer- ence be assigned to the selected terminal. Following the passive sign convention avoids confusion about the di- rection of power flow in a device. In addition, the element constraints, such as Ohm’s law, assume that the passive sign convention is used to assign the voltage and current reference marks to a device. The next example illustrates the assignment of reference marks. EXAMPLE 2–10 Find the voltages across the resistors and current sources in Fig. 2–24(a).

3 A 3 A

− + vB 100 Ω 200 Ω 100 Ω 200 Ω − − + v1 + v3

− + + Ω 2 A 50 5 A 2 A vA v2 50 Ω vC 5 A + − −

(a) (b)

3 A 3 A

− + vB + 100 V − 2 −1 A 100 Ω 2 A 200 Ω 100 Ω B i3 200 Ω A C + −100 V − + 200 V − + v − + v − − i1 1 3 3 A i2 − + + − + + 2 A 250 V −150 V 50 Ω −350 V 5 A Ω 2 A vA 1 v2 50 3 vC 5 A + − − + − −

(d) (c) FIGURE 2–24 1353T_c02_014-065.qxd 08:23:2005 5:21 PM Page 32

32 C HAPTER 2 BASIC CIRCUIT ANALYSIS

SOLUTION: No voltage reference marks are given in Figure 2–24(a), so we assign those shown in Figure 2–24(b). Other choices are possible, of course, but once the

voltage marks for v1, v2, and v3 are assigned, the passive sign convention re- quires that the current reference directions for i1, i2, and i3 be assigned as shown in Figure 2–24(c). KCL can be used to find the resistor currents di- - - = rectly. Using KCL at node A gives 2 i1 3 0; hence i1 1 A . KCL + - = applied at node C yields 3 i3 5 0; hence i3 2 A. Finally, at node B - - = KCL requires i1 i2 i3 0; hence i2 i1 i3 1 2 3 A. Given the three resistor currents, we use Ohm’s law to find the three resis- tor voltages. = =- v1 100 i1 100 V = =- v2 50 i2 150 V v3 100 i3 200 V

The plus on the numerical value of v3 means that the assigned reference marks agree with the actual voltage polarity. The minus sign on the numer-

ical values of v1 and v2 mean that the assigned marks and physical reality disagree. This disagreement does not mean that the assigned marks for v1 and v2 are wrong. Reference marks are not predictions. They are defini- tions that allow us to correctly formulate circuit equations and interpret the numerical results of circuit analysis. The voltages across the current sources can now be found by applying KVL around the three loops shown in Figure 2–24(c). Loop 1 vA v1 v2 0 or vA v1 v2 Loop 2 vB v1 v3 0 or vB v1 v3 Loop 3 vC v2 v3 0 or vC v2 v3 Using the resistor voltages found above we have

v =--100 - -150 = 250 V A 1 2 1 2 =- + = v B 100 200 100 V =- - =- vC 150 200 350 V Figure 2–24(d) shows the numerical values all the voltages and currents, some of which are negative. Again, the negative values do not mean that the volt- age reference marks originally assigned in Figure 2–24(b) are incorrect. ■

2–4 E QUIVALENT C IRCUITS The analysis of a circuit can often be made easier by replacing part of the circuit with one that is equivalent but simpler. The underlying basis for two circuits to be equivalent is contained in their i–v relationships.

Two circuits are said to be equivalent if they have identical i–v characteristics at a specified pair of terminals.

In other words, when two circuits are equivalent the voltage and current at an interface do not depend on which circuit is connected to the interface. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 33

EQUIVALENT CIRCUITS S ECTION 2–4 33

EQUIVALENT RESISTANCE A R1 R2 The two resistors in Figure 2–25(a) are connected in series between a pair + − − of terminals A and B. The objective is to simplify the circuit without alter- Rest of + v1 + v2 ing the electrical behavior of the rest of the circuit. the v i The KVL equation around the loop from A to B is circuit − v v1 v2 (2–18) B Since the two resistors are connected in series, the same current i exists in (a) both. Applying Ohm’s law, we get v1 = R1i and v2 = R2i. Substituting these relationships into Eq. (2–18) and then simplifying yields A v R1i R2i i(R1 R2) + Rest of We can write this equation in terms of an equivalent resistance REQ as the v i R = R + R EQ 1 2 v iREQ where REQ R1 R2 (2–19) circuit − This result means the circuits in Figs. 2–25(a) and 2–25(b) have the same i–v characteristic at terminals A and B. As a result, the response of the rest B

of the circuit is unchanged when the series connection of R1 and R2 is (b) replaced by a resistance REQ. FIGURE 2–25 A series The parallel connection of two conductances in Figure 2–26(a) is the resistance circuit: (a) Original circuit. dual2 of the series circuit in Figure 2–25(a). Again the objective is to (b) Equivalent circuit. replace the parallel connection by a simpler equivalent circuit without altering the response of the rest of the circuit. A KCL equation at node A produces i i1 i2 (2–20) Since the conductances are connected in parallel, the voltage v appears

across both. Applying Ohm’s law, we obtain i1 = G1v and i2 = G2v. Substi- tuting these relationships into Eq. (2–20) and then simplifying yields i vG1 vG2 v(G1 G2)

This result can be written in terms of an equivalent conductance GEQ as A i follows: + Rest of i vGEQ, where GEQ G1 G2 (2–21) i i the v 1 G1 2 G2 This result means the circuits in Figures 2–26(a) and 2–26(b) have the circuit − same i–v characteristic at terminals A and B. As a result, the response of B the rest of the circuit is unchanged when the parallel connection of G1 and G2 is replaced by a conductance GEQ. (a) Since conductance is not normally used to describe a resistor, it is some- times useful to rewrite Eq. (2–21) as an equivalent resistance R = 1/G . EQ EQ A i That is, + R R Rest of = = 1 = 1 = 1 = 1 2 R1 ƒƒR2 REQ (2–22) the v G = G + G G G - G 1 1 R + R EQ 1 2 EQ 1 2 + 1 2 circuit − R1 R2 B (b) 2 Dual circuits have identical behavior patterns when we interchange the roles of the following parameters: (1) voltage and current, (2) series and parallel, and (3) resis- FIGURE 2–26 A parallel tance and conductance. In later chapters we will see duality exhibited by other circuit resistance circuit: (a) Original circuit. parameters as well. (b) Equivalent circuit. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 34

34 C HAPTER 2 BASIC CIRCUIT ANALYSIS

where the symbol “||” is shorthand for “in parallel.” The expression on the far right in Eq. (2–22) is called the product over the sum rule for two resis- tors in parallel. This rule is useful in derivations in which the resistances are left in symbolic form (see Example 2–11), but it is not an efficient algo- rithm for calculating numerical values of equivalent resistance. Caution: The product over sum rule only applies to two resistors con- nected in parallel. When more than two resistors are in parallel, we must use the following general result to obtain the equivalent resistance: 1 1 R (2–23) EQ G EQ 1 1 1 … R1 R2 R3

EXAMPLE 2–11 Given the circuit in Figure 2–27(a),

(a) Find the equivalent resistance REQ1 connected between terminals A and B.

(b) Find the equivalent resistance REQ2 connected between terminals C and D.

FIGURE 2–27 A R1 C

R2 R3

B D

REQ1 (a) REQ2

A R1 C

R2R3 R2+R3

B D

REQ1 REQ2 (b)

SOLUTION:

First we note that resistors R2 and R3 are connected in parallel. Applying the product over sum rule [Eq. (2–22)], we obtain R R R R 2 3 2 3 R2 R3 As an interim step, we redraw the circuit, as shown in Figure 2–27(b). 1353T_c02_014-065.qxd 8/31/05 09:42 PM Page 35

EQUIVALENT CIRCUITS S ECTION 2–4 35

(a) To find the equivalent resistance between terminals A and B, we note

that R1 and the equivalent resistance R2||R3 are connected in series. The total equivalent resistance REQ1 between terminals A and B is REQ1 R1 (R2 R3)

R2R3 REQ1 R1 R2 R3 R1R2 R1R3 R2R3 REQ1 R2 R3 (b) Looking between terminals C and D yields a different result. In this

case R1 is not involved, since there is an open circuit (an infinite resis- tance) between terminals A and B. Therefore, only R2 || R3 affect the resistance between terminals C and D. As a result, REQ2 is simply R R R R R 2 3 EQ2 2 3 R R 2 3 A This example shows that equivalent resistance depends on the pair of ter- minals involved. ■ 80 Ω 30 Ω C 80 Ω One final note on checking numerical calculations of equivalent resis- tance. When several resistances are connected in parallel, the equivalent B 60 Ω resistance must be smaller than the smallest resistance in the connec- 25 Ω tion. Conversely, when several resistances are connected in series, the equivalent resistance must be larger than the largest resistance in the D connection. FIGURE 2–28 Exercise 2–7 Find the equivalent resistance between terminals A–C, B–D, A–D, and B–C in the circuit in Figure 2–27. R1 i A − + Answers: RA–C = R1; RB–D = 0 (a short circuit); RA–D = R1 + R2 || R3; RB–C = + vR Rest of v + R2 || R3; S − v the − circuit Exercise 2–8 B Find the equivalent resistance between terminals A–B, A–C, A–D, B–C, B–D, and C–D in the circuit of Figure 2–28. Circuit A Answers: RA–B = 100 ; RA–C = 70 ; RA–D = 65 ; RB–C = 90 ; RB–D = i A 85 ; RC–D = 55 ; + i Rest of i R S R2 v the − circuit EQUIVALENT SOURCES The practical source models introduced previously are shown in Figure B 2–29. These models consist of an ideal voltage source in series with a resis- Circuit B tance and an ideal current source in parallel with a resistance. We now FIGURE 2–29 Practical determine the conditions under which the practical voltage source and the source models that are equivalent practical current sources are equivalent. when Eq. (2–24) is satisfied. 1353T_c02_014-065.qxd 7/28/05 12:02 PM Page 36

36 C HAPTER 2 BASIC CIRCUIT ANALYSIS

Figure 2–29 shows the two practical sources connected between terminals labeled A and B. A parallel analysis of these circuits yields the conditions for equivalency at terminals A and B. First, Kirchhoff’s laws are applied as Circuit A Circuit B KVL KCL vS vR v iS iR i Next, Ohm’s law is used to obtain Circuit A Circuit B v vR R1i iR R2 Combining these results, we find that the i–v relationships of each of the circuits at terminals A and B are Circuit A Circuit B v v v S i i iS R1 R1 R2 These i–v characteristics take the form of the straight lines shown in Fig- ure 2–30. The two lines are identical when the intercepts are equal. This

requires that vS/R1 = iS and vS = iSR2, which, in turn, requires that R1 R2 R and vS iSR (2–24) When conditions in Eq. (2–24) are met, the response of the rest of the cir- cuit is unaffected when we replace a practical voltage source by an equiva- lent practical current source, or vice versa. Exchanging one practical source model for an equivalent model is called source transformation. Source transformation means that either model will deliver the same voltage and current to the rest of the circuit. It does not mean the two

FIGURE 2–30 The i– i characteristics of practical sources in Fig. 2–29. vS R1 −1 R1

Set equal v vS Circuit A i

iS −1 Set equal R2

v iSR2 Circuit B 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 37

EQUIVALENT CIRCUITS S ECTION 2–4 37

models are identical in every way. For example, when the practical voltage source drives an open circuit, there is no i2R power loss since the current in the series resistance is zero. However, the current in the parallel resistance of a practical current source is not zero when the load is an open circuit. Thus, equivalent sources do not have the same internal power loss even though they deliver the same current and voltage to the rest of the circuit.

EXAMPLE 2–12 10 Ω A Convert the practical voltage source in Figure 2–31(a) into an equiva- lent current source. + − 50 V

SOLUTION: Using Eq. (2–24), we have B R1 R2 R 10 (a) i v R 5 A S S A The equivalent practical current source is shown in Figure 2–31(b). ■

Exercise 2–9 5 A 10 Ω A practical current source consists of a 2-mA ideal current source in parallel with a 0.002-S conductance. Find the equivalent practical voltage source. Answer: The equivalent is a 1-V ideal voltage source in series with a 500- B resistance. (b) FIGURE 2–31 Figure 2–32 shows another source transformation in which a voltage source and resistor in parallel is replaced by a voltage source acting alone. The two circuits are equivalent because i–v constraint at the input to the

rest of the circuit is v = vS in both circuits. In other words, the response of the rest of the circuit is unchanged if a resistor in parallel with a voltage source is removed from the circuit. However, removing the resistor does

reduce the total current supplied by the voltage source by vS/R. While the resistor does not affect the current and voltage delivered to the rest of the circuit, it does dissipate power that must be supplied by the source.

i i + + Rest of vS Rest of v + + S − R v the − v the − circuit − circuit

FIGURE 2–32 Equivalent circuit of a voltage source and a resistor in parallel.

The dual situation is shown in Figure 2–33. In this case a current source connected in series with a resistor can be replaced by a current source acting alone because the i–v constraint at the input to the rest of the cir-

cuit is i = iS for both circuits. In other words, the response of the rest of 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 38

38 C HAPTER 2 BASIC CIRCUIT ANALYSIS

the circuit is unchanged if a resistor in series with a current source is removed from the circuit.

R i i + + Rest of iS Rest of iS v the v the − circuit − circuit

FIGURE 2–33 Equivalent circuit of a current source and a resistor in series.

SUMMARY OF EQUIVALENT CIRCUITS Figure 2–34 is a summary of two-terminal equivalent circuits involving re- sistors and sources connected in series or parallel. The series and parallel equivalences in the first row and the source transformations in the second

FIGURE 2–34 Summary of two-terminal equivalent circuits. Series Parallel

R1 R1R2 R1+R2 R1 R2 R1+R2 R2

(a) (b)

R R vS R iS R + R + − vS − iSR

(c) (d)

R + + iS − vS R − vS iS

(e) (f)

+ − v S2 + v +v iS1 iS2 i +i + − S1 S2 S1 S2 − vS1

(g) (h) 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 39

VOLTAGE AND CURRENT DIVISION S ECTION 2–5 39

row are used regularly in subsequent discussions. The last row in Figure 2–34 presents additional source transformations that reduce series or par- allel connections to a single ideal current or voltage source. Proof of these equivalences involves showing that the final single-source circuits have the same i–v characteristics as the original connections. The details of such a derivation are left as an exercise for the reader.

2–5 V OLTAGE AND C URRENT D IVISION We complete our treatment of series and parallel circuits with a discussion of voltage and current division. These two analysis tools find wide applica- tion in circuit analysis and design.

i VOLTAGE DIVISION R1 Voltage division provides a simple way to find the voltage across each ele- − ment in a series circuit. Figure 2–35 shows a circuit that lends itself to solution + v1 + + by voltage division. Applying KVL around the loop in Figure 2–35 yields + − vS Loop v2 − − R2 vS v1 v2 v3 (2–25) − v + The elements in Figure 2–35 are connected in series, so the same current i 3 exists in each of the resistors. Using Ohm’s law, we find that R3 vS R1i R2i R3i (2–26) FIGURE 2–35 A voltage Solving for i yields divider circuit. v S i (2–27) R1 R2 R3 Once the current in the series circuit is found, the voltage across each resis- tor is computed using Ohm’s law: R v R i 1 v 1 1 S (2–28) R1 R2 R3 R v R i 2 v 2 2 S (2–29) R1 R2 R3 R v R i 3 v 3 3 S (2–30) R1 R2 R3 Looking over these results, we see an interesting pattern. In a series con- nection, the voltage across each resistor is equal to its resistance divided by the equivalent series resistance of the connection times the voltage across the series circuit. Thus, the general expression of the voltage division rule is R 100 Ω 560 Ω k vk vTOTAL (2–31) REQ − + vx In other words, the total voltage divides among the series resistors in propor- + + tion to their resistance over the equivalent resistance of the series connection. 24 V 330 Ω vo − − The following examples show several applications of this rule. − vy + EXAMPLE 2–13 220 Ω Find the voltage across the 330- resistor in the circuit of Figure 2–36. FIGURE 2–36 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 40

40 C HAPTER 2 BASIC CIRCUIT ANALYSIS

SOLUTION: Applying the voltage division rule, we find that 330 v 24 6.55 V ■ O 100 560 330 220

Exercise 2–10

Find the voltages vx and vy in Figure 2–36.

Answers: vx = 11.1 V; vy = 4.36 V

EXAMPLE 2–14 2 kΩ Select a value for the resistor Rx in Figure 2–37 so vO = 8 V.

+ + 10 VR 10 kΩ vO − x − SOLUTION: The unknown resistor is in parallel with the 10-k resistor. Since voltages

across parallel elements are equal, the voltage vO = 8 V appears across FIGURE 2–37 both. We first define an equivalent resistance REQ = Rx || 10 k as R 10000 R x EQ Rx 10000

We write the voltage division rule in terms of REQ as R v EQ O 8 10 REQ 2000 which yields REQ = 8 k . Finally, we substitute this value into the equation ■ defining REQ and solve for Rx to obtain Rx = 40 k .

EXAMPLE 2–15 i = 0 R1 A R3 Use the voltage division rule to find the output voltage vO of the circuit + in Figure 2–38. + − vS R vO 2 SOLUTION: − At first glance it appears that the voltage division rule does not apply, since

the resistors are not connected in series. However, the current through R3 is zero since the output of the circuit is an open circuit. Therefore, Ohm’s FIGURE 2–38 law shows that v3 = R3i3 = 0. Applying KCL at node A shows that the same current exists in R1 and R2, since the current through R3 is zero. Applying KVL around the output loop shows that the voltage across R2 must be equal to vO since the voltage across R3 is zero. In essence, it is as if R1 and R2 were connected in series. Therefore, voltage division can be used and yields the output voltage as R v 2 v O S R1 R2 The reader should carefully review the logic leading to this result because voltage division applications of this type occur frequently. ■ 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 41

VOLTAGE AND CURRENT DIVISION S ECTION 2–5 41

APPLICATION EXAMPLE 2–16 The operation of a potentiometer is based on the voltage division rule. The device is a three-terminal element that uses voltage (potential) divi- Wiper sion to meter out a fraction of the applied voltage. Simply stated, a potentiometer is an adjustable . Figure 2–39 shows the (a) circuit symbol of a potentiometer, sketches of three different types of actual potentiometers, and a typical application.

The voltage vO in Figure 2–39(c) can be adjusted by turning the shaft on the potentiometer to move the wiper arm contact. Using the voltage

division rule, the voltage vO is found as Trimmer R R Single turn TOTAL 1 vO vS (2–32) RTOTAL

Adjusting the movable wiper arm all the way to the top makes R1 zero, Multiple turn and voltage division yields (b) R 0 v TOTAL v v (2–33) O R S S TOTAL R R 1 In other words, 100% of the applied voltage is delivered to the rest of + Total − + vS − RTotal R1 the circuit. Moving the wiper all the way to the bottom makes R equal vO 1 − to RTOTAL, and voltage division yields R R TOTAL TOTAL (c) vO vS 0 (2–34) RTOTAL FIGURE 2–39 The poten- This opposite extreme delivers zero voltage. By adjusting the wiper arm tiometer: (a) Circuit symbol. (b) Ac- tual device. (c) An application. position, we can obtain an output voltage anywhere between zero and

the applied voltage vS. When the wiper is positioned halfway between the top and bottom, we naturally expect to obtain half of the applied volt- ¹⁄₂ age. Setting R1 = RTOTAL yields 1 R R +15 V TOTAL TOTAL v 2 S vO vS (2–35) RTOTAL 2 as expected. The many applications of the potentiometer include vol- ume controls, voltage balancing, and fine-tuning adjustment. 21 kΩ Ω 3.5 k R1 D1 EXAMPLE 2–17

Figure 2–40 shows a programmable voltage divider in which the digital + signals D and D control the divider resistance R and R by opening and 1 0 1 2 vO closing the analog switches shown. Determine the output vO when D0 − 2 kΩ (D1, D0) = (0, 0), (0, 1), (1, 0), and (1, 1). Assume that the analog switches are ideal switches. R2

Ω SOLUTION: 1 k

When (D1, D0) = (0, 0) the upper switch is closed and the lower switch is open. In this configuration the divider resistances are FIGURE 2–40 R1 = 3.5 k ||21 k = 3 k and R2 = 2 k + 1 k = 3 k 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 42

42 C HAPTER 2 BASIC CIRCUIT ANALYSIS

and the output voltage is R 1 v 2 O 15 15 7.5 V R1 R2 2

When (D1, D0) = (0, 1) both switches are closed and the divider resistances are R1 = 3.5 k ||21 k = 3 k and R2 = 1 k and the output voltage is R 1 v 2 O 15 15 3.75 V R1 R2 4

When (D1, D0) = (1, 0) both switches are open and the divider resistances are R1 = 21 k and R2 = 2 k + 1 k = 3 k and the output voltage is R 1 v 2 O 15 15 1.875 V R1 R2 8

Finally, when (D1, D0) = (1, 1) the upper switch is open, the lower switch is closed, and the divider resistances are R1 = 21 k and R2 = 1 k and the output voltage is R 1 v 2 O 15 15 0.682 V R1 R2 22 This example illustrates using digital signals to control an analog signal processor (the divider). ■

A CURRENT DIVISION + Current division provides a simple way to find the current through each i1 i2 i3 element in a parallel circuit. Figure 2–41 shows a parallel circuit that lends

iS G1 G2 G3 v itself to solution by current division. Applying KCL at node A yields − iS i1 i2 i3 The voltage v appears across all three conductances since they are con- nected in parallel. Using Ohm’s law, we can write FIGURE 2–41 A current divider circuit. iS vG1 vG2 vG3 Solving for v yields

i S v G1 G2 G3 Given the voltage v, the current through any element is found using Ohm’s law as 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 43

VOLTAGE AND CURRENT DIVISION S ECTION 2–5 43

G i vG 1 i 1 1 S (2–36) G1 G2 G3 G i vG 2 i 2 2 S (2–37) G1 G2 G3 G i vG 3 i 3 3 S (2–38) G1 G2 G3

These results show that the source current divides among the parallel resistors in proportion to their conductances divided by the equivalent conductances in the parallel connection. Thus, the general expression for the current division rule is G k + ik iTOTAL (2–39) i1 i2 GEQ

Sometimes it is useful to express the current division rule in terms of re- iS R1 R2 v sistance rather than conductance. For the two-resistor case in Figure 2–42, − the current i1 is found using current division as 1 FIGURE 2–42 Two-path G R R i 1 i 1 i 2 i (2–40) current divider circuit. 1 G G S S R R S 1 2 1 1 1 2 R1 R2

Similarly, the current i2 in Figure 2–42 is found to be 1 G R R i 2 i 2 i 1 i (2–41) 2 G G S S R R S 1 2 1 1 1 2 R1 R2 These two results lead to the following two-path current division rule: When a circuit can be reduced to two equivalent resistances in parallel, the current through one resistance is equal to the other resistance divided by the sum of the two resistances times the total current entering the parallel combination. Caution: Equations (2–40) and (2–41) only apply when the circuit is re- duced to two parallel paths in which one path contains the desired current and the other path is the equivalent resistance of all other paths.

EXAMPLE 2–18

Find the current ix in Figure 2–43(a).

SOLUTION:

To find ix, we reduce the circuit to two paths, a path containing ix and a path equivalent to all other paths, as shown in Figure 2–43(b). Now we can use the two-path current divider rule as 6.67 i 5 1.25 A ■ x 20 6.67 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 44

44 C HAPTER 2 BASIC CIRCUIT ANALYSIS

FIGURE 2–43 5 Ω

ix iy iz

5 A 20 Ω 20 Ω 5 Ω

(a)

Equivalent path

ix Equivalent 5 A 20 Ω 6.67 Ω resistance Desired path

(b)

Exercise 2–11

(a) Find iy and iz in the circuit of Figure 2–43(a). (b) Show that the sum of ix, iy, and iz equals the source current. Answers:

(a) iy = 1.25 A, iz = 2.5 A (b) ix + iy + iz = 5 A

Exercise 2–12 The circuit in Figure 2–44 shows a delicate device that is modeled by a 90- equivalent resistance. The device requires a current of 1 mA to operate prop- erly. A 1.5-mA fuse is inserted in series with the device to protect it from overheating. The resistance of the fuse is 10 . Without the shunt resistance

Rx, the source would deliver 5 mA to the device, causing the fuse to blow. Inserting a shunt resistor Rx diverts a portion of the available source current around the fuse and device. Select a value of Rx so only 1 mA is delivered to the device.

FIGURE 2–44 1.5 mA fuse, 10 Ω Shunt resistor Rx 1 mA required

Device 10 mA 100 Ω 90 Ω

Answer: Rx = 12.5 . 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 45

CIRCUIT REDUCTION S ECTION 2–6 45

APPLICATION EXAMPLE 2–19 The R-2R ladder circuit in Figure 2–45 is a binary current divider that finds applications in digital-to-analog signal conversion. The operation of this circuit can be explained using current division together with series and parallel equivalent resistance. The equivalent resistance con- nected to ground at node 3 is 2R 2R R, which means that the equiva- 7 lent resistance seen to the right of node 2 of R R 2R. This in turn means that the total equivalent resistance connected to ground at node 2 is 2R 2R R and hence equivalent resistance seen to the right of 7 node 1 of R R 2R. The net result is that the equivalent resistance seen to the right of each numbered node is 2R.

2R 2R 2R FIGURE 2–45 R-2R bi- nary circuit divider. 1 RR2 3 2R

i1 i2 i3 IREF 2R 2R 2R i1 i2 i3

The reference current IREF entering node 1 divides equally between the two available 2R paths with the result that i1 IREF/2, and the cur- rent into node 2 is also i1 IREF/2. At node 2 this current again divides equally between the two 2R paths with the result that i2 i1/2 IREF/4 and the current into node 3 is i2 IREF/4. Finally, at node 3 this current divides equally once more so that i3 i2/2 IREF/8. In sum, the cur- rents in the 2R resistors connected to ground are all of the form k ik IREF/2 , where k is the node number to which the resistor is con- nected. Thus, the R-2R ladder circuit produces signals (currents in this case) that decrease in a binary fashion as we proceed down the ladder. Clearly the R-2R ladder can be extended to a larger number of nodes. Commercially available integrated circuit ladders have as many

as 8 numbered nodes producing binary currents ranging from IREF/2 to IREF/256. The advantage of this circuit is that it produces this wide range of precisely related signals using only two values of resistance, namely R and 2R. This greatly simplifies the fabrication of the R-2R ladder in integrated circuit form.

2–6 C IRCUIT R EDUCTION The concepts of series/parallel equivalence, voltage/current division, and source transformations can be used to analyze ladder circuits of the type shown in Figure 2–46. The basic analysis strategy is to reduce the circuit to a simpler equivalent in which the output is easily found by voltage or cur- rent division or Ohm’s law. There is no fixed pattern to the reduction process, and much depends on the insight of the analyst. In any case, with circuit reduction we work directly with the circuit model, and so the process gives us insight into circuit behavior. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 46

46 C HAPTER 2 BASIC CIRCUIT ANALYSIS

FIGURE 2–46 A ladder circuit.

With circuit reduction the desired unknowns are found by simplifying the circuit and, in the process, eliminating certain nodes and elements. However, we must be careful not to eliminate a node or element that includes the desired unknown voltage or current. The next three examples illustrate circuit reduction. The final example shows that rearranging the circuit can simplify the analysis.

EXAMPLE 2–20

Use series and parallel equivalence to find the output voltage vO and the A B R input current iS in the ladder circuit shown in Figure 2– 47(a). + iS + − vS 2R R vO SOLUTION: One approach is to combine parallel resistors and use voltage division to − find vO, and then combine all resistances into a single equivalent to find the input current iS. Figure 2–47(b) shows the step required to determine the equivalent resistance between the terminals B and ground. The equivalent resistance of the parallel 2R and R resistors is (a) R 2R 2 R R EQ1 R 2R 3 A R B The reduced circuit in Figure 2– 47(b) is a voltage divider. Notice that the REQ1 two nodes needed to find the voltage v have been retained. The unknown iS O + voltage is found in terms of the source voltage as + v − vS 2R/3 O − 2 R 3 2 v = v = v O 2 S 5 S R + R 3 (b) The input current is found by combining the equivalent resistance found R previously with the remaining resistor R to obtain A EQ2 REQ2 R REQ1

iS 2 5 R R R + − vS 5R/3 3 3 Application of series/parallel equivalence has reduced the ladder circuit to the single equivalent resistance shown in Figure 2–47(c). Using Ohm’s law, the input current is (c) v v S 3 S iS FIGURE 2–47 REQ2 5 R 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 47

CIRCUIT REDUCTION S ECTION 2–6 47

Notice that the reduction step between Figures 2– 47(b) and 2– 47(c) elimi-

nates node B, so the output voltage vO must be calculated before this reduction step is taken. ■

EXAMPLE 2–21

Use source transformations to find the output voltage vO and the input current iS in the ladder circuit shown in Figure 2– 48(a).

X R

+ iS + − vS 2RRvO

Y (a)

X iS +

vS R 2RR vO R −

Y (b)

+

vS 2R/5 vO R −

(c) FIGURE 2–48

SOLUTION: Figure 2 – 48 shows another way to reduce the circuit analyzed in Example 2–20. Breaking the circuit at points X and Y in Figure 2 – 48(a) produces a

voltage source vS in series with a resistor R. Using source transformation, this combination can be replaced by an equivalent current source in paral- lel with the same resistor, as shown in Figure 2 – 48(b). 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 48

48 C HAPTER 2 BASIC CIRCUIT ANALYSIS

Caution: The current source vS/R is not the input current iS, as is indi- cated in Figure 2 – 48(b). Applying the two-path current division rule to the

circuit in Figure 2 – 48(b) yields the input current iS as R v v 3 v i S S S S 2 R 5 5 R R R R 3 3 The three parallel resistances in Figure 2 – 48(b) can be combined into a single equivalent conductance without eliminating the node pair used to

define the output voltage vO. Using parallel equivalence, we obtain GEQ G1 G2 G3 1 1 1 5 R 2R R 2R which yields the equivalent circuit in Figure 2 – 48(c). The current source

vS/R determines the current through the equivalent resistance in Figure 2–48(c). The output voltage is found using Ohm’s law.

v 2R 2 v S v O R 5 5 S Of course, these results are the same as the result obtained in Example 2–20, except that here they were obtained using a different sequence of circuit reduction steps. ■

EXAMPLE 2–22

Find vx in the circuit shown in Figure 2–49(a).

SOLUTION: In the two previous examples the unknown responses were defined at the circuit input and output. In this example the unknown voltage appears across a 10- resistor in the center of the network. The approach is to reduce the circuit at both ends while retaining the 10- resistor defining vx. Applying a source transformation to the left of terminals X–Y and a series reduction to the two 10- resistors on the far right yields the reduced circuit shown in Figure 2–49(b). The two pairs of 20- resistors connected in parallel can be combined to produce the circuit in Figure 2–49(c). At this point there are several ways to proceed. For example, a source transformation at the points W–Z in Figure 2–49(c) produces the circuit in Figure 2–49(d).

Using voltage division in Figure 2–49(d) yields vx.

10 v 7.5 2.5 V x 10 10 10

Yet another approach is to use the two-path current division rule in

Figure 2–49(c) to find the current ix. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 49

CIRCUIT REDUCTION S ECTION 2–6 49

FIGURE 2–49 X − + vx

Ω Ω Ω 15 V 20 10 10 + Ω − 20 10 Ω 20 Ω

Y (a) REQ1 X − + vx

0.75 A 10 Ω 20 Ω 20 Ω 20 Ω 20 Ω

Y (b)

REQ3 REQ2 W − ix + vx

10 Ω

0.75 A 10 Ω 10 Ω

Z (c)

W − + vx

10 Ω 10 Ω + 7.5 V − 10 Ω

Z (d)

10 3 1 i A x 10 10 10 4 4

Then, applying Ohm’s law to obtain vx, ■ vx 10 ix 2.5 V

Exercise 2–13

Find vx and ix using circuit reduction on the circuit in Figure 2–50. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 50

50 C HAPTER 2 BASIC CIRCUIT ANALYSIS

FIGURE 2–50 ix

Ω Ω 20 15 + Ω Ω Ω 2 A 10 30 15 vx −

Answers: vx = 3.33 V; ix = 0.444 A

Exercise 2–14

Find vx and vy using circuit reduction on the circuit in Figure 2–51. R A R − + + vx 1 kΩ 1 kΩ R 2R 2R 1.5 kΩ + vO 6 V − + + Ω Ω Ω v − vS 2.2 k 3.3 k + 3.3 k y 6 V − − −

(a) FIGURE 2–51

A Answers: vx = 3.09 V; vy = 9.21 V R + 2R 2R 2R EXAMPLE 2–23

+ vO − vS Using circuit reduction, find vO in Figure 2–52(a).

− (b) SOLUTION: One way to solve this problem is to notice that the source branch and A the leftmost two-resistor branch are connected in parallel between node R A and ground. Switching the order of these branches and replacing the two resistors by their series equivalent yields the circuit of Figure + 2–52(b). A source transformation yields the circuit in Figure 2–52(c). 2R 2R 2R This circuit contains a current source v /2R in parallel with two 2R resis- vO S vS tances whose equivalent resistance is 2R R − 2R 2R REQ 2R 2R R (c) 2R 2R

Applying a source transformation to the current source vS/2R in parallel A R with REQ results in the circuit of Figure 2–52(d), where + R v v v + 2R S S S − VEQ REQ R vS vO 2R 2R 2 2 − Finally, applying voltage division in Figure 2–52(d) yields

(d) 2R v v v S S ■ FIGURE 2–52 O R R 2R 2 4 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 51

COMPUTER-AIDED CIRCUIT ANALYSIS S ECTION 2–7 51

Exercise 2–15 1.5 kΩ 1 kΩ 1 kΩ Find the voltage across the current source in Figure 2–53. +

v = −0.225 V Ω Ω Answer: S 2.2 k vS 3.3 k 0.1 mA −

2–7 C OMPUTER-AIDED C IRCUIT A NALYSIS FIGURE 2–53 In this book we use three types of computer programs to illustrate computer-aided circuit analysis, namely spreadsheets, math solvers, and circuit simulators. Practicing engineers routinely use these tools to analyze and design circuits, and so it is important to learn how to use them effec- tively. The purpose of having computer examples in this book is to help you develop an analysis style that includes the intelligent use of computer tools. As you develop your style, always keep in mind that computer tools are not problem solvers. You are the problem solver. Computer tools can be very useful, even essential once the problem is defined. But they do not substitute for an understanding of the fundamentals needed to formulate the problem, identify a practical approach, and interpret analysis results. There are 32 worked examples in the text that use computer tools. The spreadsheet examples use Microsoft Excel. The math solver exam- ples use Mathcad by MathSoft and MATLAB by the MathWorks, Inc. The circuit simulation examples use Orcad Family Lite Edition by Cadence Design Systems, Inc, and WorkBench by Interac- tive Image Technologies, Inc. However, keep in mind that our objective is to illustrate the effective use of computer tools rather than develop your ability to operate these specific software programs. Accordingly, this book does not emphasize details of how to operate any of these software tools. We assume that you learned how to operate computer tools in previous courses or have enough familiarity with the WINDOWS operating environment to learn how to do so using online tu- torials or any of a number of commercially available paperback manuals.3 The following discussion gives a brief overview of circuit simulation, since you may be less familiar with this process than with the use of spread- sheets and math solvers.

CIRCUIT SIMULATION Most circuit simulation programs are based on a circuit analysis package called SPICE, which is an acronym for Simulation Program with Inte- grated Circuit Emphasis. The original SPICE program was developed in the 1970s at the University of California at Berkeley. Since then, various companies have added proprietary features to the basic SPICE program to produce an array of SPICE-based commercial products for personal computer and workstation platforms.

3 For example see, PSpice for Linear Circuits, by James A Svoboda, John Wiley & Sons, 2002, or Simulation of Electric Circuits Using Electronic Workbench, James L. Antonakos, Prentice Hall, 2001. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 52

52 C HAPTER 2 BASIC CIRCUIT ANALYSIS

Figure 2–54 is a block diagram summarizing the major features of a SPICE-based circuit simulation program. The inputs are a circuit diagram and the type of analysis required. In contemporary programs the circuit diagram is drawn on the monitor screen using a graphical schematic editor. When the circuit diagram is complete, the input processor performs a schematic capture, a process that documents the circuit in what is called a netlist. To initiate circuit simulation, the input processor sends the netlist and analysis commands to the simulation processor. If the netlist file is not properly prepared, the simulation will not run or (worse) will return erroneous results. Hence, it is important to check the netlist to be sure that the circuit it defines is the one you want to analyze.

FIGURE 2–54 Flow dia- Circuit Netlist gram for circuit simulation programs. diagrams Input Circuit Analysis processor Commands file type

Simulation Analysis Device processor summary Output library file

Analysis Output Response results processor data file

The simulation processor uses the netlist together with data from the device library to formulate a set of equations that describes the circuit. The simulation processor then solves the equations, writes a dc analysis sum- mary to a standard SPICE output file, and writes the other analysis results to a response data file. For simple dc analysis, the desired response data are accessible by examining the SPICE output file. For other types of analysis, the output processor can be used to generate graphical plots of the data in the response data file. In the Orcad Family Lite Edition the input processor is called Orcad Capture, the simulation processor is a version of SPICE called PSpice, and the output processor is called Probe. These three programs allow the cir- cuit diagram to be entered and analysis results viewed graphically on a computer monitor. Electronics WorkBench has three similar functions 60 Ω 90 Ω integrated into a single program called MultiSIM. 50 Ω The following example illustrates a circuit simulation using Orcad. + 15 V − − + vx EXAMPLE 2–24 Ω 90 60 Ω Use Orcad to find the voltage vx across the 50- resistor in the circuit of Fig. 2–55. FIGURE 2–55 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 53

COMPUTER-AIDED CIRCUIT ANALYSIS S ECTION 2–7 53

SOLUTION: This example illustrates the steps involved in using Orcad to analyze a cir- cuit. To begin, open Orcad Capture and the opening screen will come into view. Select File\ New from the main menu. Since this is an analog circuit, select Analog or Mixed A/D. Every new project must have a name, hence the circuit was named “Orcad Exercise.” Drawing the circuit diagram on the monitor screen requires three actions: 1. Selecting the desired element and placing it on the Orcad Cap- ture workspace. 2. Changing the element’s default parameters to the desired values. 3. Connecting the elements together using virtual wires.

Selecting the Place button and Part causes the “Place Part” dialog box to appear. The various elements needed to build the circuit are found by scrolling down the “Part List.” For example, Figure 2–56 shows the “Place Part” dialog box with a resistor selected. Clicking OK causes a resistor to appear on the screen with a default label of “R1” and a default value of “1k.” These default assignments can be changed by double-clicking on the element designator (R1) and the element value (1k). After the resistors and voltage source are selected and arranged in the capture workspace, the circuit is wired using the Place button and selecting Wire.

FIGURE 2–56 Orcad Capture place part menu.

Figure 2–57 shows the circuit diagram as it might appear in Orcad Cap- ture. Note that in an Orcad circuit diagram, connection points are indi- cated by a small dot and are assigned a node number. Orcad (as well as Electronics WorkBench) requires that one of the nodes be chosen as ground. This is done by attaching the ground symbol found under the Place\Ground button to one of the nodes. The ground node is automati- cally assigned the number zero. When the diagram is completed, the circuit is documented using the PSpice button and then by selecting the Create Netlist command. If there are mistakes, the program will issue error messages. Beginning users may receive an error message reporting that one or more nodes are “floating.” 1353T_c02_014-065.qxd 7/28/05 12:03 PM Page 54

54 C HAPTER 2 BASIC CIRCUIT ANALYSIS

FIGURE 2–57 Orcad Cap- ture schematic.

This message generally indicates a violation of one of two SPICE rules: (1) There must be at least two elements connected to every node; or (2) the circuit must include a reference (ground) node. Using the PSpice and View netlist command produces the net list display shown in Figure 2–58. A netlist is a sequence of statements that defines the circuit elements and connections. The first entry in each statement is the element type and name. The next two entries are the nodes to which the element is connected. The remaining entries define the element value(s). For example, the third statement in netlist says that the circuit contains a resistor named R4 connected between node 659 and node 577, FIGURE 2–58 PSpice and whose value is 90 . All SPICE-based programs assign the positive ref- netlist. erence mark for the element voltage to the first node in the element state- ment. For example, the plus reference mark for resistor R1 is at Node 577 and the minus mark is at Node 632. SPICE-based programs use the passive sign convention, so the reference direction for element current is from the first node toward the second node. For example, the reference direction for the current in resistor R2 is from Node 632 toward Node 0 (Ground). Orcad analysis commands are found under PSpice on the main menu. Selecting New Simulation Profile produces the dialog box shown in Figure 2–59. In Orcad each different simulation must be given a name—“dc Analy- sis” in this example. Once a name is provided, a new dialog box appears called “Simulations Settings” containing the various types of analysis that PSpice performs. In the present case we select “Bias Point.”4 This option produces a dc analysis of the circuit and writes the results to the output file. This analysis type is the default option so PSpice always performs a dc analysis even when another analysis type is selected. Also select General Settings. Conclude by selecting OK.

4 In later chapters we will use other analysis options on this menu such as Time Domain (transient), AC Sweep/Noise, and DC Sweep. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 55

COMPUTER-AIDED CIRCUIT ANALYSIS S ECTION 2–7 55

FIGURE 2–59 New simu- lation menu.

To perform the analysis select the PSpice\Run from the main menu. This causes PSpice to analyze the circuit defined by the netlist and to write the calculated dc responses in the output file. When the analysis is com- pleted select View\Output File from the main menu. Paging down through the file we find the data shown in Figure 2–60. The output file lists the volt- age between the numbered nodes and ground, namely v577-0 15 V, v632-0 8.1148 V, and v639-0 6.8852 V. The problem statement in this example asks for the voltage vx across resistor R3 in Figure 2–57. To find this volt- age we apply KVL to the loop formed by R2, R3, and R5. v632-0 vx v659-0 0 Hence, vx v632-0 v659-0 8.1148 6.8852 1.2296 V A nice feature of Orcad is that the calculated voltages and/or currents can be displayed directly on the circuit diagram. To do this, return to the diagram on the Orcad Capture screen and select the V and I buttons on the analysis bar. Se- lecting these buttons produces Figure 2–61 which displays the calculated values of current in each branch and voltage between each node and ground. ■

FIGURE 2–60 Simulation output file. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 56

56 C HAPTER 2 BASIC CIRCUIT ANALYSIS

FIGURE 2–61 Orcad Cap- ture schematic with simulation results.

S UMMARY • An electrical device is a real physical entity, while a circuit element is a mathematical or graphical model that approximates major features of the device. • Two-terminal circuit elements are represented by a circuit symbol and are characterized by a single constraint imposed on the associated cur- rent and voltage variables. • An electrical circuit is an interconnection of electrical devices. The inter- connections form nodes and loops. • A node is an electrical juncture of the terminals of two or more devices. A loop is a closed path formed by tracing through a sequence of devices without passing through any node more than once. • Device interconnections in a circuit lead to two connection constraints: Kirchhoff’s current law (KCL) states that the algebraic sum of currents at a node is zero at every instant; and Kirchhoff’s voltage law (KVL) states that the algebraic sum of voltages around any loop is zero at every instant. • A pair of two-terminal elements are connected in parallel if they form a loop containing no other elements. The same voltage appears across any two elements connected in parallel. • A pair of two-terminal elements are connected in series if they are con- nected at a node to which no other elements are connected. The same current exists in any two elements connected in series. • Two circuits are said to be equivalent if they each have the same i–v con- straints at a specified pair of terminals. 1353T_c02_014-065.qxd 08:23:2005 3:47 PM Page 57

PROBLEMS 57

• Series and parallel equivalence and voltage and current division are important tools in circuit analysis and design. • Source transformation changes a voltage source in series with a resistor into an equivalent current source in parallel with a resistor, or vice versa. • Circuit reduction is a method of solving for selected signal variables in ladder circuits. The method involves sequential application of the series/parallel equivalence rules, source transformations, and the voltage/current division rules. The reduction sequence used depends on the variables to be deter- mined and the structure of the circuit and is not unique.

2–6 The i–v relationship of a nonlinear resistor is P ROBLEMS v 75i 0.2i3. OBJECTIVE 2–1 ELEMENT CONSTRAINTS (SECT. 2–1) (a) Calculate v and p for i ;0.5, ;1, ;2, ;5, and ;10 A. Given a two-terminal element with one or more electrical (b) Find the maximum error in v when the device is variables specified, use the element i-v constraint to find the treated as a 75-Æ linear resistance on the range magnitude and direction of the unknown variables. i 6 0.5 A. See Example 2–1 2–7 A 10-kÆ resistor has a power rating of 0.25 W. Find the 2–1 The current through a 5-kÆ resistor is 12 mA. Find the maximum voltage that can be applied to the resistor. voltage across the resistor. 2–8 A certain type of film resistor is available with resis- 2–2 A 6.2-kÆ resistor dissipates 12 mW. Find the current tance values between 10 and 100 M. The maximum 1 through the resistor. ratings for all resistors of this type are 500 V and ⁄4 W. 2–3 The voltage across and current through a resistor are Show that the voltage rating is the controlling limit for 7 10 V and 2.5 mA. Find the conductance of the resistor. R 1 M , and that the power rating is the controlling limit when R 6 1 MÆ. 2–4 In Figure P2–4 the resistor dissipates 25 mW. Find Rx. 2–9 Figure P2–9 shows the circuit symbol for a class of two- terminal devices called diodes. The iv relationship for a specific pn junction diode is p = 25 mW x i 2 10 16 e40 v 1 1 2 + ; 15 V − Rx (a) Use this equation to find i and p for v 0, 0.1, ;0.2, ;0.4, and ;0.8 V. Use these data to plot the iv characteristic of the element. (b) Is the diode linear or nonlinear, bilateral or nonbilat- FIGURE P2–4 eral, and active or passive? (c) Use the diode model to predict i and p for v 5 V. Do you think the model applies to voltages in this range? Explain. 2–5 In Figure P2–5 find Rx and the power delivered to the resistor. (d) Repeat part (c) for v 5 V. i

+ +

10 mA 50 V Rx v − −

FIGURE P2–5 FIGURE P2–9 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 58

58 C HAPTER 2 BASIC CIRCUIT ANALYSIS

OBJECTIVE 2–2 CONNECTION CONSTRAINTS (SECT. 2–2) + i1 Given a circuit composed of two-terminal elements: v1 (a) Identify nodes and loops in the circuit. − 1 − (b) Identify elements connected in series and in parallel. A i3 + v3 B (c) Use Kirchhoff’s laws (KCL and KVL) to find selected 3 i2 i i signal variables. 4 6 See Examples 2–4, 2–5, 2–6 and Exercises 2–1, 2–2, 2–3, 2–4, + + v4 + 2–5 2 v 4 − 6 v −−2 6 2–10 In Figure P2–10 i2 2 A and i3 5 A. Find i1 and i4. i5 5 D − C v5 +

i4 FIGURE P2–13 B A C 2–14 In Figure P2–13 v 2 5V, v 3 8V, and v 4 3V. i i 1 2 Find v1, v5, and v6. i3 2–15 The circuit in Figure P2–15 is organized around the three signal lines A, B, and C. FIGURE P2–10 (a) Identify the nodes and at least three loops in the circuit (b) Write KCL connection equations for the circuit. (c) If i =-20 mA, i =-12 mA, and i 50 mA, find 2–11 For the circuit in Figure P2–11: 1 2 3 i , i , and i . (a) Identify the nodes and at least two loops. 4 5 6 (b) Identify any elements connected in series or in parallel. (c) Write KCL and KVL connection equations for the A circuit. B C i4 i5 i6 A i3 B 3 i1 i2 i 4 1 2 3 4 5 6

1 2 4

i1 i2 i3 D

C FIGURE P2–15

FIGURE P2–11 2–16 In Figure P2–16 v2 10 V, v3 10 V, and v4 10 V. Find v1 and v5.

= 2–12 In Figure P2–11 i2 10 mA and i4 20 mA. Find + v − + v − i1 and i3. 2 4 2–13 For the circuit in Figure P2–13: (a) Identify the nodes and at least three loops in the + + + circuit. v v v −1 −3 −5 (b) Identify any elements connected in series or in parallel. (c) Write KCL and KVL connection equations for the circuit. FIGURE P2–16 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 59

PROBLEMS 59

2–17 In Figure P2–17 i2 2 A, i3 5 A, and i4 4 A. 2–21 Find vx and ix in Figure P2–21. Find i1 and i5.

4 Ω ix A + i1 i3 Rest of 2 A the vx 10 Ω 5 Ω

circuit i2 −

FIGURE P2–21

i 4 2–22 In Figure P2–22: (a) Use the passive sign convention to assign a voltage B C and current variable to every element. (b) Use KVL to find the voltage across each resistor. i5 (c) Use Ohm’s law to find the current through each FIGURE P2–17 resistor. (d) Use KCL to find the current through each voltage source. 2–18 Use the passive sign convention to assign voltages vari- ables consistent with the currents in Figure P2–17. Write three KVL connection equations using these voltage vari- 50 Ω ables. 2–19 The KCL equations for a three-node circuit are: 100 Ω 100 Ω Node A: i1 i2 i4 0 Node B: i2 i3 i5 0 + + + 5 V − 10 V − 5 V − Node C: i1 i3 i4 i5 0 Draw the circuit diagram and indicate the reference direc- tions for the element currents. FIGURE P2–22

OBJECTIVE 2–3 COMBINED CONSTRAINTS (SECT. 2–3) 2–23 Find vx in Figure P2–23. Given a circuit consisting of independent sources and linear resistors, use the element constraints and connection con- Ω straints to find selected signal variables. 50 See Examples 2–7, 2–8, 2–9, 2–10 and Exercise 2–6 3 A + 2 A vx 100 Ω − 2–20 Find vx and ix in Figure P2–20.

FIGURE P2–23

20 Ω ix + 2–24 Figure P2–24 shows a subcircuit connected to the rest

2 A 50 Ω vx of the circuit at four points. − (a) Use element and connection constraints to find vx and ix. (b) Show that the sum of the currents into the rest of the FIGURE P2–20 circuit is zero. 1353T_c02_014-065.qxd 7/28/05 10:56 AM Page 60

60 C HAPTER 2 BASIC CIRCUIT ANALYSIS

OBJECTIVE 2–4 EQUIVALENT CIRCUITS (SECT. 2–4) Rest of the circuit (a) Given a circuit consisting of linear resistors, find the equivalent resistance between a specified pair of termi- 8 mA nals. (b) Given a circuit consisting of a source-resistor combina- Ω 5 k tion, find an equivalent source-resistor circuit. 5 mA See Example 2–11, 2–12 and Exercises 2–7, 2–8, 2–9 2 kΩ

+ 10 V− + 2–27 Find the equivalent resistance REQ in Figure P2–27. vx 10 kΩ − REQ 15 V + − 50 Ω 100 Ω ix 300 Ω 50 Ω FIGURE P2–24

FIGURE P2–27 2–25 In Figure P2–25 ix 0.5 mA. Find the value of R. 2–28 Find the equivalent resistance REQ in Figure P2–28.

REQ 30 Ω

ix

+ 10 kΩ − 10 kΩ + 160 Ω 15 Ω 30 Ω

4 VR 15 V −− FIGURE P2–28

Rest of the circuit 2–29 Find REQ in Figure P2–29 when the switch is open. Re- peat when the switch is closed. FIGURE P2–25 200 Ω REQ 2–26 Figure P2–26 shows a resistor with one terminal con- Ω nected to ground and the other connected to an arrow. The 100 Ω arrow symbol is used to indicate a connection to one termi- 50 Ω 50 nal of a voltage source whose other terminal is connected to ground. The label next to the arrow indicates the source voltage at the ungrounded terminal. Find the voltage across, FIGURE P2–29 current through, and power dissipated in the resistor. 2–30 In Figure P2–30 find the equivalent resistance between terminals A–B, A–C, A–D, B–C, B–D, and C–D. −12 V A 60 Ω B

20 kΩ i 100 Ω − v + C 100 Ω D

FIGURE P2–26 FIGURE P2–30 1353T_c02_014-065.qxd 08:23:2005 5:09 PM Page 61

PROBLEMS 61

2–31 In Figure P2–31 find the equivalent resistance between 2–36 Select the value of Rx in Figure P2–36 so that terminals A–B, A–C, A–D, B–C, B–D, and C–D. REQ 60 k . A Ω 47 k Rx

40 Ω 30 Ω C 22 kΩ 2 kΩ 40 Ω

B R 60 Ω 80 Ω EQ 10 Ω FIGURE P2–36

D 2–37 Show how to interconnect standard 3.9-k resis- FIGURE P2–31 tors to obtain equivalent resistances of 1 k5%, 5 k5%, and 10 k5%. 2–32 Select a value of RL in Figure P2–32 so that 2–38 Select the value of R in Figure P2–38 so that RAB RL. REQ 25 k . RR A REQ 4R R 10 kΩ L B

10 kΩ RL FIGURE P2–38

2–39 What is the range of REQ in Figure P2–39? 10 kΩ FIGURE P2–32 REQ 1 kΩ 2–33 Repeat Problem 2–32 for REQ 15 k . Caution: RL Ω must be positive. 4 k 1 kΩ 2–34 Find the equivalent practical voltage source at termi- nals A and B in Figure P2–34. FIGURE P2–39 10 Ω A 2–40 Find the equivalent resistance between terminals A and B in Figure P2–40. 5 Ω 2 A

B R RR A B FIGURE P2–34

2–35 In Figure P2–35 the iv characteristic network N is FIGURE P2–40 v 50i 5 V. Find the equivalent practical current source for the network. OBJECTIVE 2–5 VOLTAGE AND CURRENT DIVISION

i (SECT. 2–5) + A (a) Given a circuit with elements connected in series or in parallel, use voltage or current division to find specified N v voltages or currents. (b) Design a voltage or current divider that delivers speci-

− B fied output signals within stated constraints. See Examples 2–13, 2–14, 2–16, 2–17, 2–18 and Exercises FIGURE P2–35 2–10, 2–11, 2–12 1353T_c02_014-065.qxd 08:23:2005 3:47 PM Page 62

62 C HAPTER 2 BASIC CIRCUIT ANALYSIS

2–41 Use voltage division in Figure P2–41 to obtain an ex- (b) What is the relationship between v1 and v2 when pression for vL in terms of R, RL, and vS. i2 0? (c) What is the relationship between i1 and i2 when v1 0 ? (d) What is the relationship between i and i when v 0 ? R 1 2 2

+ + Rest of the circuit v R vL S − R L −

i1 i2 FIGURE P2–41 + + R1 2–42 Use current division in Figure P2–42 to obtain an ex- v1 R2 v2 pression for vL in terms of R, RL, and iS. − − R

FIGURE P2–46 + iS R RL vL − 2–47 Figure P2–47 shows an ammeter circuit consisting of a D’Arsonval meter, a two-position selector switch, and two shunt resistors. A current of 0.5 mA produces full- FIGURE P2–42 scale deflection of the D’Arsonval meter, whose internal resistance is RM 50 . Select the shunt resistance R1 and R2 so that ix 10 mA produces full-scale deflection when 2–43 Find ix in Figure P2–43. the switch is in position A, and ix 50 mA produces full- scale deflection when the switch is in position B. 20 Ω

iz A

ix 5 Ω R1 RM 2 A 30 Ω 6 Ω iy ix B FIGURE P2–43 R2

2–44 Find iy and iz in Figure P2–43. FIGURE P2–47 2–45 Find the range of values of vO in Figure P2–45.

2–48 Select values for R1, R2, and R3 in Figure P 2–48 so 200 Ω the voltage divider produces the two output voltages shown.

+ + Ω Ω R1 20 V − 100 100 vO −

+ + 20 V − R2 FIGURE P2–45 + 10 V 2–46 Figure P2–46 shows a resistance divider connected in a R3 3 V general circuit. − −

(a) What is the relationship between v1 and v2 when i1 0? FIGURE P2–48 1353T_c02_014-065.qxd 08:23:2005 5:09 PM Page 63

PROBLEMS 63

2–49 Select a value of Rx in Figure P2–49 so that 2–53 Use circuit reduction to find vx in Figure P2–53. vL 3 V. 20 Ω 20 Ω Ω 1 k Rx + + 3 12 V A 20 Ω vx 10 Ω 10 Ω 10 Ω 4 + Ω Ω v − 1 k 1 k L − − FIGURE P2–53 FIGURE P2–49

2–54 Use circuit reduction to find vx and ix in Figure P2–54.

2–50 Select a value of Rx in Figure P2–50 so that 6 kΩ 2 kΩ vL 6 V. Caution: Rx must be positive. + 100 Ω + Ω Ω 12 V − 12 k 4 k vx + − 12 V ix + Ω − Rx 50 vL − FIGURE P2–54

FIGURE P2–50 2–55 Use source transformation to find ix in Figure P2–55.

50 Ω OBJECTIVE 2–6 CIRCUIT REDUCTION (SECT. 2–6) ix Given a circuit consisting of linear resistors and an indepen- dent source, find selected signal variables using successive + 10 V 30 Ω 200 mA application of series/parallel equivalence, source transforma- − tions, and voltage/current division. See Example 2–20, 2–21, 2–22, 2–23 and Exercises 2–13, 2–14, 2–15 FIGURE P2–55

2–56 Use source transformation to find ix in Figure P2–56. 2–51 Use circuit reduction to find vx and ix in Figure P2–51. 60 Ω 30 Ω 2R ix ix + + + 12 V− 20 Ω − 12 V

iS RRvx − FIGURE P2–56

FIGURE P2–51 2–57 Use source transformations in Figure P2–57 to relate vO to v1, v2, and v3. 2–52 Use circuit reduction to find ix in Figure P2–52.

vS + 2R + R R R − ix v + + + O R 2R R 2R v1 − v2 − v3 −

FIGURE P2–52 FIGURE P2–57 1353T_c02_014-065.qxd 08:23:2005 3:47 PM Page 64

64 C HAPTER 2 BASIC CIRCUIT ANALYSIS

2–58 The current through RL in Figure P2–58 is 40 mA. Use i iV source transformations to find R . L +

v 50 Ω Ω Ω 100 50 −

10 V + Ω R − 100 L FIGURE P2–61

2–62 Center Tapped Voltage Divider FIGURE P2–58 Figure P2–62 shows a voltage divider with the center tap connected to ground. Derive equations relating

vA and vB to vS, R1, and R2.

2–59 The voltage across RL in Figure P2–58 is 2.5 V. Use source transformations to find RL. A + 2–60 The box in the circuit in Figure P2–60 is a resistor R whose value can be anywhere between 8 k and 80 k. 1 vA − Use circuit reduction to find the range of values of vx . + vS − −

R2 vB + B ix 10 kΩ FIGURE P2–62 + + Ω Ω 50 V − 10 k 10 k vx − 2–63 Combined i v Characteristics Figure P2–63 shows an interconnection of practical volt- age source and a two-terminal network N. The iv rela- tionship of the network N is i 0.01 v 3 A. Find the 1 1 1 2 equivalent practical voltage source of the combination at FIGURE P2–60 terminals A and B.

i1 I NTEGRATING P ROBLEMS A + 50 Ω 2–61 Nonlinear Device Characteristics v1 N The circuit in Figure P2–61 is a parallel combination of a 100 V + − 50- linear resistor and a varistor whose i v characteris- − 5 3 tic is iV 2.6 10 v . For small voltage the varistor cur- B rent is quite small compared to the resistor current. For large voltages the varistor dominates because its current FIGURE P2–63 increases more rapidly with voltage. (a) Plot the iv characteristic of the parallel com- 2–64 Programmable Voltage Divider bination. Figure P2–64 shows a programmable voltage divider in

(b) State whether the parallel combination is linear or which digital inputs b0 and b1 control complementary nonlinear, active or passive, and bilateral or nonbi- analog switches connecting a multitap voltage divider to lateral. the analog output vO. The switch positions in the figure (c) Find the range of voltages over which the resistor cur- apply when digital inputs are low. When inputs go high, rent is at least 10 times as large as the varistor current. the switch positions reverse. Find the analog output = (d) Find the range of voltages over which the varistor cur- voltage for b1, b0 0, 0 , 0, 1 , 1, 0 , and 1, 1 when = 1 2 1 2 1 2 1 2 1 2 rent is at least 10 times as large as the resistor current. VREF 12 V. 1353T_c02_014-065.qxd 08:23:2005 3:47 PM Page 65

INTEGRATING PROBLEMS 65

b0 b1 resistor? What is the percentage error introduced con- necting the voltmeter? (c) A different D’Arsonval meter is available with an R internal resistance of 200 and a full-scale deflection current of 100 A. If the voltmeter in part (a) is re- designed using this D’Arsonval meter, would the VREF R error found in part (b) be smaller or larger? Explain. + − R + A vO − R R1

B R2

v + FIGURE P2–64 x − RM

2–65 Analog Voltmeter Design Figure P2–65(a) shows a voltmeter circuit consisting of a D’Arsonval meter, two series resistors, and a two-position (a) selector switch. A current of IFS 400 A produces full- scale deflection of the D’Arsonval meter, whose internal resistance is RM 25 . 30 kΩ (a) Select the series resistance R1 and R2 so a voltage + vx 50 V produces full-scale deflection when the 50 V − switch is in position A, and voltage vx 10 V pro- duces full-scale deflection when the switch is in posi- 20 kΩ VM tion B. (b) What is the voltage across the 20-k resistor in Figure P2–65(b)? What is the voltage when the (b) voltmeter in part (a) is connected across the 20-k FIGURE P2–65