How Do We Figure Out the Voltages and Currents? Diode Solar Volt - - PowerPoint PPT Presentation

how do we figure out the voltages and currents
SMART_READER_LITE
LIVE PREVIEW

How Do We Figure Out the Voltages and Currents? Diode Solar Volt - - PowerPoint PPT Presentation

How Do We Figure Out the Voltages and Currents? Diode Solar Volt Li Bat R Cell Conv In this set of lecture notes well develop methods to analyze circuits. M. Horowitz, J. Plummer, R. Howe 2 Useless Box Lab Project #2 Concepts


slide-1
SLIDE 1
slide-2
SLIDE 2
  • M. Horowitz, J. Plummer, R. Howe

2

How Do We Figure Out the Voltages and Currents?

In this set of lecture notes we’ll develop methods to analyze circuits.

Solar Cell Li Bat Volt Conv

Diode R

slide-3
SLIDE 3
  • M. Horowitz, J. Plummer, R. Howe

3

Useless Box Lab Project #2

  • Concepts

– Finite State Machines – Digital Logic – Binary numbers – CMOS Gate – Programming

  • Devices

– Motors – Switches – nMOS – pMOS In Lab 2, you’ll build more complex circuits involving switches, motors and transistors. In this set of lecture notes, we develop a toolbox to analyze circuit voltages and currents and also, introduce EveryCircuit, a circuit simulator.

slide-4
SLIDE 4
  • M. Horowitz, J. Plummer, R. Howe

4

Reading For These Topics

  • Reader, Chapter 3 (except 3.5)
  • A&L

– 3.1 3.2 – Node voltages – 3.3/3.3.1 – Nodal analysis – 3.5 – Superposition

slide-5
SLIDE 5
slide-6
SLIDE 6
  • M. Horowitz, J. Plummer, R. Howe

6

Solving For Voltages and Currents

  • Given a circuit, and device models

– Want to solve for device voltages and currents

  • Be lazy or efficient

– With the least work possible

  • KVL means

– Not all device voltages are independent – Can we formulate the problem differently

  • Reduce the number of variables we need to deal with?
slide-7
SLIDE 7
  • M. Horowitz, J. Plummer, R. Howe

11

An Example

slide-8
SLIDE 8
  • M. Horowitz, J. Plummer, R. Howe

12

An Example

slide-9
SLIDE 9
  • M. Horowitz, J. Plummer, R. Howe

13

Another Example

slide-10
SLIDE 10
  • M. Horowitz, J. Plummer, R. Howe

14

A More Complicated Example

+

  • Vo

Io

R5 R4 R3 R2 R1 R6

Step 1 (a) Identify the nodes with at least 3 branches (b) Select one of them as the reference node (c) Label the rest of the nodes with voltages V1, V2, …

slide-11
SLIDE 11
  • M. Horowitz, J. Plummer, R. Howe

15

Result of Step 1

+

  • Vo

Io

R5 R4 R3 R2 R1 R6

Step 2 Apply KCL at each of the nodes you labeled in step 1

V3 V2 V1

slide-12
SLIDE 12
  • M. Horowitz, J. Plummer, R. Howe

16

Steps 3 and 4, Combined

Node 2 Node 3 Node 1

  • F. T. Ulaby and M. M. Maharbiz, Circuits, NSTP, 2009, pp. 83-85.
slide-13
SLIDE 13
  • M. Horowitz, J. Plummer, R. Howe

17

Step 5

  • Solve the resulting nodal equations:
  • F. T. Ulaby and M. M. Maharbiz, Circuits, NSTP, 2009, pp. 83-85.
slide-14
SLIDE 14
  • M. Horowitz, J. Plummer, R. Howe

18

slide-15
SLIDE 15
  • M. Horowitz, J. Plummer, R. Howe

19

How To Reduce Circuit Complexity

  • Fewer variables is better

– Could be fewer nodes – Could be fewer devices

  • Can we break the circuit into pieces

– Look at a sub-circuit – Replace that sub-circuit with a simpler equivalent

  • We’ll look at several examples
slide-16
SLIDE 16
  • M. Horowitz, J. Plummer, R. Howe

20

Series Combinations

  • Two resistors in series (“share a current”)

– The voltage across the combination is the sum of the device voltages – The current through the devices is the same – So the effective resistance of the series is R = R1 + R2

  • So we can replace series resistors

– With a single equivalent resistor – Removes a node voltage and device from

  • ur equations!

R1 R2

slide-17
SLIDE 17
  • M. Horowitz, J. Plummer, R. Howe

21

Parallel Combinations

  • Two resistors in parallel

– The total current through parallel resistors is the sum of the currents through the two resistors – The voltage across each resistor is the same … they “share a voltage” – So the effective resistance of parallel resistors is:

1/R = 1/R1 + 1/R2 R = (R1·R2) / (R1+R2)

R1 R2

slide-18
SLIDE 18
  • M. Horowitz, J. Plummer, R. Howe

22

Using Series and Parallel Combinations to Simplify Circuits

Example: Find the resistance between node a and node b

slide-19
SLIDE 19
  • M. Horowitz, J. Plummer, R. Howe

23

Example

  • Notice that some circuits have multiple connections to gnd.

– This just means that they are all connected together.

  • Look at the circuit to see if there are new simplifications
  • Assume R = 1 kΩ

+

  • Vs
slide-20
SLIDE 20
  • M. Horowitz, J. Plummer, R. Howe

24

But What About This Circuit?

  • R3 and R4 are in series

– But I need to find the voltage at the node I will eliminate – “collapse and then expand”

  • First eliminate the node to simplify the circuit
slide-21
SLIDE 21
  • M. Horowitz, J. Plummer, R. Howe

25

First Solve for the Voltage at Node B R’ = ?

Node A Node B

slide-22
SLIDE 22
  • M. Horowitz, J. Plummer, R. Howe

26

Then Solve for the Voltage at Node C

slide-23
SLIDE 23
  • M. Horowitz, J. Plummer, R. Howe

27

Voltage Divider

  • First simplify circuit to a single resistor and find the current I
  • Then use the current to find the voltage Va

+

  • a

V V

a =

R1 R2

I

I =

slide-24
SLIDE 24
  • M. Horowitz, J. Plummer, R. Howe

28

Current Divider

  • In this case simplify the circuit to a single resistor, then

find voltage across each resistor and use it to find the current through each resistor I R1 R2 I1 I2 a

slide-25
SLIDE 25
  • M. Horowitz, J. Plummer, R. Howe

29

Intuition on Dividers

  • Voltage divider: R2 = 10 R1 … what is Va = VR2 in terms of V?
  • Current divider: R2 = 10 R1 … what is I2 in terms of I?
slide-26
SLIDE 26
  • M. Horowitz, J. Plummer, R. Howe

30

Challenge Problem

  • Want to find the voltage at each output.

– Assume left-most resistor is driven to 1V

  • Doesn’t look series parallel, or is it?

– Can we reduce it to a single resistor with our rules?

V1 V2 V3 V4 1V

slide-27
SLIDE 27
  • M. Horowitz, J. Plummer, R. Howe

31

Challenge Problem

– Collapse/expand approach works:

V1 V2 V3 V4 1V

slide-28
SLIDE 28
  • M. Horowitz, J. Plummer, R. Howe

32

Learning Objectives

  • Understand how to solve for device voltage and currents

– First label node voltages (KVL) – Solve current equations at each node (KCL) – Called nodal analysis

  • Be able to break a large circuit into smaller circuits

– This is standard divide and conquer approach

  • Recognize some common circuit patterns

– Which reduce the complexity of the circuit you need to solve – Start with series and parallel resistors

slide-29
SLIDE 29
  • M. Horowitz, J. Plummer, R. Howe

33

Nodal Analysis Review

VA is known … what is it? Steps 1 is complete (ref. and node labels.) Step 2 label branch currents leaving nodes B and C Step 3 Apply KCL; Step 4 use device equations for branch currents; Step 5: solve

slide-30
SLIDE 30
  • M. Horowitz, J. Plummer, R. Howe

34

Nodal Analysis with Current Sources - Review

I

slide-31
SLIDE 31
  • M. Horowitz, J. Plummer, R. Howe

35

Series-Parallel Reduction - Review

We connect a 2 V battery between nodes 1(+) and 2 (-). What current flows through the batter? What is the voltage difference between node 2 and node 3?

2 Ω 1 Ω 5 Ω

3

slide-32
SLIDE 32
  • M. Horowitz, J. Plummer, R. Howe

36

Series-Parallel Reduction - Review

2 Ω 1 Ω 5 Ω

3

slide-33
SLIDE 33
  • M. Horowitz, J. Plummer, R. Howe

37

How Do We Figure Out Voltages and Currents? Solar Cell Li Bat Volt Conv

Diode R

slide-34
SLIDE 34
  • M. Horowitz, J. Plummer, R. Howe

38

EveryCircuit

slide-35
SLIDE 35
  • M. Horowitz, J. Plummer, R. Howe

39

Circuit Debugging

  • For future labs you will be building more complex circuits

– You will build these circuits using breadboards

  • These circuits will contain many different components

– Including transistors with three connections

  • Sometimes these circuits won’t work the way you expect

– Perhaps your circuit is wrong – Or perhaps you just connected it up wrong – How do you debug it in either case?

slide-36
SLIDE 36
  • M. Horowitz, J. Plummer, R. Howe

40

Circuit Simulator

  • We create a program to estimate how our circuit will behave
  • The program shows the wiring in a nice way

– and makes it easy to probe the voltage and current – It has built-in voltage and current meters

  • It also makes it easy to change component values

– So you can tune/play with your circuit

  • You are going to use an easy-to-use simulator: EveryCircuit
slide-37
SLIDE 37
  • M. Horowitz, J. Plummer, R. Howe

41

Every Circuit http://everycircuit.com/app/

slide-38
SLIDE 38
  • M. Horowitz, J. Plummer, R. Howe

42

  • Simple simulator that we will use for circuits

Every Circuit http://everycircuit.com/app/

slide-39
SLIDE 39
  • M. Horowitz, J. Plummer, R. Howe

43

Quick Use Notes

  • To connect two nodes, select one node, then select another node.
  • To delete a single wire in a node, select the node, then select the

wire, then press Delete.

  • To maximize schematic area in browser window (remove circuit

explorer on the left and circuit details on the right) click the right- most icon in the menu below the schematic.

slide-40
SLIDE 40
  • M. Horowitz, J. Plummer, R. Howe

44

Every Circuit’s Keyboard Shortcuts

  • R : Rotate selected device
  • F : Flip selected device
  • A : Adjust parameter of a selected device
  • T : Toggle selected switch
  • W : Add / remove voltage of selected node or current of selected device

to / from oscilloscope

  • S : Adjust simulation speed
  • Esc : deselect all
  • Arrows : move selected component or workspace
  • Plus / Minus : zoom in / out
  • Space : start or pause simulation
  • Delete : delete selected device or cut selected wire
  • Ctrl + Z : Undo
  • Ctrl + Y : Redo
slide-41
SLIDE 41
  • M. Horowitz, J. Plummer, R. Howe

45

Activate Your License

  • http://everycircuit.com/licensekeyactivation

259825287547 (Good during spring quarter)

slide-42
SLIDE 42
  • M. Horowitz, J. Plummer, R. Howe

46

Superposition For Linear Circuits

  • Reason:

– Resistors, voltage, and current sources are linear – Resulting equations are linear

  • What’s the benefit?

– Superposition enables the analysis of several simpler circuits in place of one complicated circuit

slide-43
SLIDE 43
  • M. Horowitz, J. Plummer, R. Howe

47

Applying Superposition

  • Calculate the response of the circuit for each independent source at

a time, with the other’s turned off

  • What happens when we turn off a source?

– Voltage sources: have 0 V (are shorted … replace by a wire) – Current sources: have 0 current (are opened … replace by a broken wire)

V I +

  • V

I +

  • V

I +

  • V

I +

  • V

I +

  • V

I +

  • =

+

X X

  • pen-circuited

so I = 0 short-circuited so V = 0

slide-44
SLIDE 44
  • M. Horowitz, J. Plummer, R. Howe

48

  • We need to “zero-out” sources into order to find the sub-circuits

(one per source)

  • Find the current I

Applying Superposition

  • F. T. Ulaby and M. M. Maharbiz, Circuits, NSTP, 2009, p. 97.
slide-45
SLIDE 45
  • M. Horowitz, J. Plummer, R. Howe

49

  • We need to “zero-out” sources into order to find the sub-circuits

(one per source)

Applying Superposition

  • F. T. Ulaby and M. M. Maharbiz, Circuits, NSTP, 2009, p. 97.

Sub-circuit 1: V0 shorted Sub-circuit 2: I0 opened I1 = I2 = I = I1 + I2=

slide-46
SLIDE 46
  • M. Horowitz, J. Plummer, R. Howe

50

Learning Objectives

  • EveryCircuit can solve your circuits, so you can be sure your

homework and prelab answers are correct!

  • Superposition is a powerful tool for handling multiple sources
  • We end up doing more (one per source), but simpler circuits
  • We are becoming proficient at single-source circuits – doing

them quickly and knowing we’re right

  • Add up the results from the sub-circuits to find the voltage or

current we’re looking for in the complicated circuit

slide-47
SLIDE 47
slide-48
SLIDE 48
slide-49
SLIDE 49
  • M. Horowitz, J. Plummer, R. Howe

9

Beware of Gnd (Ground)

  • Since voltages are all relative

– Often designs will declare one voltage to be the reference – We generally call this voltage ground (gnd)

  • There is also something called “earth ground”

– And this is the voltage of a metal pipe running through the earth – This is the voltage of the round hole on 3 pronged grounded power outlet

  • Not all nodes labeled gnd are connected to earth ground

– And not all earth gnds are at exactly the same potential

slide-50
SLIDE 50
  • M. Horowitz, J. Plummer, R. Howe

10

Nodal Analysis: The General Solution Method

1. Label all the nodes (VA, VB, or V1, V2, etc.), after selecting the node you choose to be Gnd. 2. Label all the branch currents (i1, i2, etc.) and choose directions for each of them 3. Write the KCL equations for every node except the reference (Gnd)

  • Sum of the device currents at each node must be zero

4. Substitute the equations for each device’s current as a function of the node voltages, when possible 5. Solve the resulting set of equations

slide-51
SLIDE 51
slide-52
SLIDE 52
slide-53
SLIDE 53
slide-54
SLIDE 54
slide-55
SLIDE 55
slide-56
SLIDE 56
  • M. Horowitz, J. Plummer, R. Howe

16

Steps 3 and 4, Combined

Node 2 Node 3 Node 1

  • F. T. Ulaby and M. M. Maharbiz, Circuits, NSTP, 2009, pp. 83-85.
slide-57
SLIDE 57
  • M. Horowitz, J. Plummer, R. Howe

17

Step 5

  • Solve the resulting nodal equations:
  • F. T. Ulaby and M. M. Maharbiz, Circuits, NSTP, 2009, pp. 83-85.
slide-58
SLIDE 58