Docsity

SOLVING FOR VOLTAGE AND CURRENT, Exams of Electrical Circuit Analysis

Toggle sidebar
bg1
Chapter 3
Solving for Voltage and Current
−
+
−
+
Figure 3.1: Circuit we can solve using Kirchoff’s and Ohm’s laws
Consider a circuit consisting only of resistors, current sources and voltage sources, for example,
the circuit in Figure 3.1. We already have all the tools we need to find the voltage across, and the
current through, every device in the circuit: Kirchoff’s current and voltage laws (Chapter 1) and
Ohm’s law (Chapter 2). Of course, with more complicated circuits, it gets a bit tricky, because
we’ll have lots of simultaneous equations at play: one for each voltage loop (KCL), one for each
current junction (KVL), and one for each resistor (Ohm’s law). But it can be done, and a more
well-defined version of this strategy is known as nodal analysis.
Nodal analysis always works, but it gets messy easily, and doesn’t provide much insight about
what devices in circuits do. For this reason, after we discuss nodal analysis, we’ll cover a number
of techniques to simplify how we analyse circuits. In practice, nodal analysis is rarely used, and
these latter techniques are much faster—shortcuts, in effect. Most of these are ways to simplify
complicated circuits, so we can do things on inspection. They also provide better intuition on how
we can design circuits to achieve desired ends.
45
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22

Partial preview of the text

Download SOLVING FOR VOLTAGE AND CURRENT and more Exams Electrical Circuit Analysis in PDF only on Docsity!

Chapter 3

Solving for Voltage and Current

Figure 3.1: Circuit we can solve using Kirchoff’s and Ohm’s laws

Consider a circuit consisting only of resistors, current sources and voltage sources, for example, the circuit in Figure 3.1. We already have all the tools we need to find the voltage across, and the current through, every device in the circuit: Kirchoff’s current and voltage laws (Chapter 1) and Ohm’s law (Chapter 2). Of course, with more complicated circuits, it gets a bit tricky, because we’ll have lots of simultaneous equations at play: one for each voltage loop (KCL), one for each current junction (KVL), and one for each resistor (Ohm’s law). But it can be done, and a more well-defined version of this strategy is known as nodal analysis.

Nodal analysis always works, but it gets messy easily, and doesn’t provide much insight about what devices in circuits do. For this reason, after we discuss nodal analysis, we’ll cover a number of techniques to simplify how we analyse circuits. In practice, nodal analysis is rarely used, and these latter techniques are much faster—shortcuts, in effect. Most of these are ways to simplify complicated circuits, so we can do things on inspection. They also provide better intuition on how we can design circuits to achieve desired ends.

46 CHAPTER 3. SOLVING FOR VOLTAGE AND CURRENT

A

B

C D

E

Figure 3.2: Nodes of a circuit

3.1 Nodes and Node Voltages

As we described in Section 1.3.1, a node is a place where two or more devices meet. Recall that in our circuit model abstraction, the lines connecting devices have zero resistance, and so have zero voltage drop along them. We can therefore treat an entire wire (which can have many segments) as a single node, since it doesn’t matter where along an ideal wire we measure voltage—we’ll always get the same voltage. As an example, return to the circuit in Figure 3.1. A good way to find nodes is to pick a point on a wire, and follow the wire in all directions possible until you run into another component. One node might only connect two components, or it might connect many. Figure 3.2 shows the same circuit, with each of the five nodes highlighted in a different color. Recall from Chapter 1 that voltage is a measure of potential difference between two points. It doesn’t really make sense to talk about a voltage “at” a node—it only makes sense to talk about voltage differences between nodes, or the voltage relative to another node. Nonetheless, because this can get cumbersome, it’s common in electrical engineering to choose one node as a reference point, relative to which all other voltages are measured. This reference node is called ground, often abbreviated as GND, and is indicated on circuits with this symbol: Thus, when we say “the voltage at node A is 3.4 V”, what we really mean is “the voltage difference between node A and GND, with the reference direction defined so that + is at node A, is 3.4 V”. It follows that the voltage of GND itself is always 0 V. Node voltage vs device voltage

A voltage “at” a node is called a node voltage, in contrast to the voltage across a device, which is called a device voltage. These are quite distinct ideas, but when we talk about a voltage, we understand from context where it’s a node or a device voltage. For example, in the circuit in Figure 3.3, v 1 and v 2 are device voltages, while vA and vB are node voltages. A device voltage is always equal to the difference between the node voltages on either side (the + side less the − side). For example, v 1 = vA − vB , and v 2 = vB − 0 (the 0 being ground). Choosing a ground node

We can choose any node we want to serve as ground. If you move ground to a different node, all of the node voltages will change (since they’re measured relative to the new ground), but the voltage differences between nodes (including all device voltages) will not change. Figure 3.4 shows the same circuit as in Figure 3.3, but with different nodes chosen as ground. In each case, the node voltages

48 CHAPTER 3. SOLVING FOR VOLTAGE AND CURRENT

Figure 3.5: Choosing ground to have the most connections

V 1 R 5

V 2

R 1

R 2

I 1

R 4

R 3

=

V 1 R

5

V 2 +

R 1

R 2

I 1

R 4

R 3

Figure 3.6: Redrawing circuit with ground at bottom

3.2. NODAL ANALYSIS 49

3.2 Nodal Analysis

Nodal analysis is a method of solving for all voltages and currents in a circuit, which works as follows: Nodal analysis procedure

  1. Choose a ground node.
  2. Label the current of every branch, and the voltage at every node.
  3. For each voltage source, write an expression relating the node voltages on either side of it.
  4. For each resistor, use Ohm’s law to write an expression for current, in terms of node voltages.
  5. For each node, use Kirchoff’s current law to relate the currents entering that node.
  6. Solve the resulting system of simultaneous equations.

In essence, this is a systematized application of Ohm’s law and Kirchoff’s current law, using node voltages (which implicitly use Kirchoff’s voltage law). It’s not as complicated as it first looks. The key step is step 5. If you remember that it’s based around KCL, you’ll find the rest follows naturally, and before you know it you won’t even be thinking of any step other than step 5. The catch is that it can be laborious, particularly the last part, where you might be solving a large system of simultaneous equations, often using techniques from linear algebra. Nodal analysis is best demonstrated by example.

Example 3.1 Find the current i 1 , and the voltages v 1 and v 2 , in the circuit below left.

5 V 3 kΩ

−

v 2

2 kΩ

  • (^) v 1 −

i 1

5 V 3 kΩ

−

v 2

i 2

2 kΩ

  • (^) v 1 −

vA i 1 vB

Solution. Step 1: Choose a ground node. It seems natural to choose the bottom node, as shown above right. Step 2: Label the current of every branch, and the voltage at every node. As well as the existing i 1 , we added a label i 2 , as shown above right. It’s not generally helpful to label the current through voltage sources. As for node voltages, we label vA and vB. We don’t need to label ground, because its voltage is 0 V, by definition. Step 3: For each voltage source, write an expression relating the node voltages on either side of it. There’s one voltage source, which connects to ground on one side and vA on the other: vA − 0 = 5 V =⇒ vA = 5 V. Step 4: For each resistor, use Ohm’s law to write an expression for current, in terms of node voltages. Note that we want these equations to be in terms of node voltages vA, vB , not

3.2. NODAL ANALYSIS 51

Example 3.2 Find the currents i 1 , i 2 , i 3 , i 4 and voltages v 1 , v 2 , v 3 , v 4 in the circuit below.

1 kΩ

v 1

5 V

4 kΩ

  • (^) v − 2

i 2

2 mA

2 kΩ

2 kΩ

4 kΩ

  • (^) v − 3

i 3

3 kΩ

v 4

i 4

Solution. Step 1: Choose a ground node. Again, it seems natural to choose the bottom node. Step 2: Label the current of every branch, and the voltage at every node. We add labels for the remaining currents, except for the voltage source (we’ll come back to this in step 5), as well as node voltage labels, as shown below. To reduce clutter, we’ve removed the device voltage labels, but note that

v 1 = vA − vB , v 2 = vA − vC , v 3 = vD − 0 , v 4 = vD − 0.

1 kΩ

i 1 vB

5 V

vA

4 kΩ (^) i 2 vC

2 mA

2 kΩ (^) i 5 vD

2 kΩ

i 6 4 kΩ^ i 3

3 kΩ

i 4

52 CHAPTER 3. SOLVING FOR VOLTAGE AND CURRENT

Step 3: For each voltage source, write an expression relating the node voltages on either side of it. There’s one voltage source, which connects to ground on one side and vB on the other: vB − 0 = 5 V =⇒ vB = 5 V. Step 4: For each resistor, use Ohm’s law to write an expression for current, in terms of node voltages. Pay attention to reference directions, the first voltage is the node from which the labeled current flows.

i 1 =

vA − vB 1 kΩ

, i 2 =

vA − vC 4 kΩ

, i 3 =

vD − 0 4 kΩ

i 4 =

vD − 0 3 kΩ

, i 5 =

vB − vD 2 kΩ

, i 6 =

vC − vD 2 kΩ

Step 5: For each node, use Kirchoff ’s current law to relate the currents entering that node.

For node A: 0 = i 1 + i 2 For node C: i 2 = i 6 + 2 mA For node D: i 5 + i 6 = i 3 + i 4.

There’s still node B, which isn’t quite as neat, because it involves the current through a voltage source. The most obvious thing to do is just to label that current, is, then write equations for the nodes on both sides of it.

1 kΩ

i 1 vB

5 V

is

vA

4 kΩ (^) i 2 vC

2 mA

2 kΩ (^) i 5 vD

2 kΩ

i 6 4 kΩ^ i 3

3 kΩ

i 4

For node B: is + i 1 = i 5 =⇒ is = i 5 − i 1 For ground: i 3 + i 4 + 2 mA = is,

54 CHAPTER 3. SOLVING FOR VOLTAGE AND CURRENT

we assumed when labeling a reference direction was the opposite to the direction that positive values would match. So conventional, positive current actually flows upwards through the 1 kΩ resistor—which makes sense, because then i 2 is positive. It doesn’t matter which way you choose your reference directions, so long as you follow the passive sign convention (current going into the positive terminal) and you’re careful to stay consistent for your entire analysis. You might also have noticed that, around step 6, things got pretty unwieldy. Solving that system of three simultaneous equations wasn’t much fun—and because you have one KCL equation per node, the bigger the circuit, the more tedious it gets. For this reason, efficient electrical engineers avoid nodal analysis as much as they can. In the remainder of this chapter, we cover shortcuts that we can use to avoid this shenanigans.

Problem 3.1 Find the currents i 1 , i 2 and i 3.

12 V

i 1 kΩ 1 2 .2 kΩ (^) i 3

2 .2 kΩ 24 V

i 2

3.3 Series and Parallel Resistors

Nodal analysis always works, but is cumbersome. To make life easier, there are several techniques we can use to simplify and understand circuits.

3.3.1 Resistors in Series

Recall from Section 1.7 that two devices are in series when a terminal of one is connected only to a terminal of the other. Because these two devices are the only devices connected at this node, the current through each must be the same. This follows from KCL: the sum of currents at the node between the two device must be equal to zero, so the same current must flow out of one device and into the other. Figure 3.7 shows a situation where two devices are in series, and a situation where none of the three devices are in series. When two resistors are connected in series, the voltage across the series combination is just going to be the sum of the voltage across each resistor. But this voltage is i · R 1 and i · R 2 , and the current is the same in the two resistors. So the sum of the voltage across these two devices will be the same as the voltage across a single resistor of (R 1 + R 2 ). This is shown in Figure 3.

V 1 = i ∗ R 1 V 2 = i ∗ R 2 Vtotal = V 1 + V 2 = iR 1 + iR 2 = i(R 1 + R 2 ) = iRtotal Rtotal = R 1 + R 2

3.3. SERIES AND PARALLEL RESISTORS 55

Figure 3.7: Left: Two devices in series; Right: No devices in series

Figure 3.8: Combining resistors in series

3.3. SERIES AND PARALLEL RESISTORS 57

Figure 3.10: Combining resistors in series

Vtotal = i 1 R 1 = i 2 R 2

i 1 = Vtotal R 1

; i 2 = Vtotal R 2

itotal = i 1 + i 2 = Vtotal(

R 1

R 2

Rtotal = Vtotal itotal

R 1

R 2

)−^1 =

R 1 · R 2

R 1 + R 2

This equation can be generalized for multiple resistors in parallel:

Rtotal = (

∑^ N

n=

Rn

)−^1

From this equation, the equivalent resistance of resistors in parallel will be smaller than any of the individual resistors. With parallel connections, the current has more possible paths to take, which means that the ability of the circuit to conduct (conductance) increases, and resistance, which is the reciprocal of conductance, decreases.

3.3.3 Combining Series and Parallel Resistors

Let’s try out what we know about series and parallel resistors to solve for the equivalent resistance between A and B in the circuit shown in Figure 3.11.

58 CHAPTER 3. SOLVING FOR VOLTAGE AND CURRENT

Figure 3.11: Find the equivalent resistance between points A and B

Let’s start by identifying what we know are resistors in series and parallel. R 1 and R 2 are clearly in series, since one terminal of R 1 is connected directly to a terminal of R 2 , with nothing else in the middle. Similarly R 4 and R 5 are in series. We know that we can combine two resistors in series into one resistor by simply adding the resistances, resulting in the circuit in Figure 3.12.

Figure 3.12: Find the equivalent resistance between points A and B - series resistances combined

Now let’s try simplifying some parallel resistors. We can see that R 6 and R 7 are in parallel, since both of their terminals are connected to each other. We can use our parallel resistance equation, Rtotal = (^) RR 66 +·RR^77 , to combine these two resistors into a single 3kΩ resistor. Similarly, R 3 is now in parallel with the combined R 1 and R 2. When two resistors of the same value are parallel to each other, the resulting equivalent resistance is just equal to half of the original resistor value (you can see this by solving the original equation: R 2 2 R =^

R 2 ). Therefore, we can combine the left two branches of the circuit into a single 3kΩ resistor. The result is in Figure 3.13.

60 CHAPTER 3. SOLVING FOR VOLTAGE AND CURRENT

3.4 Voltage and Current Dividers

Sometimes, we have two resistors in series, but we need to find the voltage at the node in the middle of the circuit, or we have two resistors in parallel but we need to find the current through one of the resistors. In both these cases we can do the series or parallel reduction, find the current through the series devices or the voltage across the parallel devices, and then solve for the desired voltage or current. But because these situations arise often, we have a shortcut for analyzing these types of circuits. One of the reasons that they occur often is that they have a useful function. These circuit produce an output voltage or current that is a fraction of the input voltage or current. Thus these circuits are called voltage and current dividers.

3.4.1 Voltage Dividers

In a simple voltage divider made of two resistors connected in series, we want to solve for the voltage drop across each resistor. We will start by solving for the voltage drop across the lower resistor. If we assume that the lower resistor is connected to ground, this is equivalent to the voltage at the intermediate node, Vmid. Since there is only one unknown in this circuit, Vmid we write KCL for this node:

Figure 3.15: A voltage divider

Vtop R 1

Vmid R 1

Vmid R 2

Vmid(

R 1

R 2

Vtop R 1

Vmid = Vtop

1 R 1 1 R 1 +^

1 R 2

= Vtop

R 2

R 1 + R 2

Notice that the output voltage is a fraction of the input voltage, and that fraction is the value of the bottom resistor, over the total resistance of the chain. This makes sense, since the current is going to be set by the total resistance. If most of the series resistance is from the bottom resistor, it will have most of the voltage across it. But as this resistance gets smaller (compared to the total), the voltage across the resistor gets smaller too.

3.4. VOLTAGE AND CURRENT DIVIDERS 61

If we want to solve for the voltage across R 1 instead, we would need to find Vtop − Vmid. We can then rewrite the equations as follows:

Vmid = Vtop

R 2

R 1 + R 2

Vtop − Vmid = Vtop − Vtop

R 2

R 1 + R 2

= Vtop(1 −

R 2

R 1 + R 2

Vtop − Vmid = Vtop

R 1 + R 2 − R 2

R 1 + R 2

Vtop − Vmid = Vtop

R 1

R 1 + R 2

Figure 3.16: Another voltage divider

Question: Sometimes you will have a voltage divider situation by the bottom voltage won’t be ground. Instead, let’s assume it is Vbot. What do you do here? While this situation seems more complicated than the grounded case, it is no harder to solve. You just need to remember that all voltages are relative. We know the voltage drop across R 2 is going to be:

(Vtop − Vbot) ·

R 2

R 1 + R 2

And this is equal the voltage Vmid − Vbot. So Vmid is just going to be:

Vmid = Vbot + (Vtop − Vbot) ·

R 2

R 1 + R 2

Note that if Vbot = 0, this equation simplifies to the same thing we had earlier. Basically, this is telling us that we need to multiply the resistance ratio by the voltage difference across the entire divider, then add the offset from the bottom voltage. In this case, the voltage across the top resistor is equal to:

Vtop − Vmid = (Vtop − Vbot)

R 1

R 1 + R 2

3.4. VOLTAGE AND CURRENT DIVIDERS 63

Figure 3.17: Another voltage divider

Vtotal = i 1 R 1 = i 2 R 2

i 2 = i 1

R 1

R 2

itotal = i 1 + i 2 = i 1 + i 1

R 1

R 2

itotal = i 1 (1 +

R 1

R 2

) = i 1

R 1 + R 2

R 2

i 1 = itotal

R 2

R 1 + R 2

We can flip these equations to find the current through the opposing resistor, i 2 = itotal (^) R 1 R+^1 R 2. This essentially tells us that the fraction of the original current through one resistor is equal to the other resistance, divided by the sum of the two resistances. Notice that equation looks similar the the voltage divider equation, for a current divider, the numerator is the opposite resistor, not the resistor we are measuring the current through. This makes sense, since as the resistance of the resistor increases, it is harder for the current to flow, so the current should go down. If we have multiple resistors in parallel, the fraction of the current through one resistor is equal to the parallel combination of the other resistances, divided by the sum:

iRx = itotal

∑N

n=

1 Rn −^

1 Rx )

− 1

(

∑N

n=

1 Rn ) − 1

Problem 3. Find the currents in each of the resistors in the following circuits.

64 CHAPTER 3. SOLVING FOR VOLTAGE AND CURRENT

3.5 Equivalent Circuits

Honestly, most of the circuits that you will need to deal with when you are making stuff (and not doing homework problems) will be pretty simple, and won’t be hard to analyze. Nodal analysis will always work, and you can make this even easier by reducing the complexity by using series parallel reductions and using current and voltage dividers. But occasionally you will find a circuit that is hard to analyze, or have a design problem where you will need to find a component that makes a voltage or current somewhere else in the circuit to the right value. Here it would be great if you could simplify the rest of the circuit to yield something simple like a voltage divider, when the relationship between the device you can adjust and the value you are interested in is easy to understand. This is especially true when there are some non-linear elements in the circuit, where understanding the region of operation of the non-linear device is important. Fortunately it is almost always possible to create these type of simplifications.

The basic idea behind these simplification is a concept we have used before: creating the iV curve for an electric device. In the previous chapter we created these curves for primitive devices like voltage sources, resistors and diodes, but we also showed how we could model more complicated device like a battery as a combination of a resistor and a voltage source, or a solar cell as a diode in parallel with a current source dependent on the light intensity. What we show in this section is that any combination of linear resistors, voltage sources and current sources can be modelled by a single resistor in series with a single voltage source. This single resistor, single voltage source model is called the Thevenin Equivalent circuit. The iV of any complex linear circuit can also be modeled by a current source in parallel with a resistor, and this model is called the Norton Equivalent circuit. The reason this is possible is simple. If all our devices are have a linear relationship between current and voltage (true for resistors, voltage and current sources) then the resulting relationship between current and voltage of any combinations of these devices will also be linear. This means if we take any two nodes in a linear circuit and pretend that all the components form a new device, see the figure below, this relationship between current and voltage will be a straight line in the i-V plane. This curve can be defined by a line, V = i · R + Vth, where R is a resistance and Vth is a voltage source. This line can also be generated by a voltage source in series with a resistor.