Top Banner
1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/201 0
46

1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

1EE40 Summer 2010 Hug

EE40Lecture 11Josh Hug

7/19/2010

Page 2: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

2EE40 Summer 2010 Hug

Logistical Things

• Lab 4 tomorrow• Lab 5 (active filter lab) on Wednesday

– Prototype for future lab for EE40– Prelab is very short, sorry.– Please give us our feedback– Google docs for labs and general class

comments now available (link shared via email)– Bring a music player if you have one (if not, you

can use the signal generator in the lab)• HW5 due tomorrow at 2PM• HW6 due Friday at 5PM (also short)• Midterm next Wednesday 7/28

– Focus is heavily on HW4, 5, 6, and Labs P1, 4, 5– Will reuse concepts from HW 1,2,3

Page 3: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

3EE40 Summer 2010 Hug

Logistics

• No lunch today

• Slightly shorter lecture today

• Midterm regrade requests due today

• Office hours Cory 240 2:30-4PM or so

Page 4: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

4EE40 Summer 2010 Hug

iClicker Question #1

Page 5: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

5EE40 Summer 2010 Hug

iClicker Question #2

Page 6: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

6EE40 Summer 2010 Hug

Easy Method for AC Circuits

• We want to find the voltage across the capacitor for the following circuit

• Homogenous solution is easy, since source is irrelevant

• Finding particular solution the usual way (plugging in a guess, finding coefficients that cancel) is painful

Page 7: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

7EE40 Summer 2010 Hug

Easy Method for AC Circuits

Plug into ODE

Plug into ODE

Page 8: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

8EE40 Summer 2010 Hug

Memory Circuits with Exponential Source

Page 9: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

9EE40 Summer 2010 Hug

Inverse Superposition

• Just find real part and we’re done!

Page 10: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

10EE40 Summer 2010 Hug

Real Part of Expression

• Finding the real part of the expression is easy, it just involves some old school math that you’ve probably forgotten (HW5 has complex number exercises)

Page 11: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

11EE40 Summer 2010 Hug

Real Part of Expression

• What we have is basically the product of two complex numbers

• Let’s convert the left one to polar form

Page 12: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

12EE40 Summer 2010 Hug

Real Part of Expression

Page 13: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

13EE40 Summer 2010 Hug

Real Part of Expression

• Thus, particular solution (forced response) of original cosine source is just the real part

Page 14: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

14EE40 Summer 2010 Hug

Easy Method for AC Circuits

Plug into ODE

Write ODEJust as actually writing the ODE isn’t necessary for DC sources, we can avoid the ODE again in AC circuits:

Impedance Analysis

Page 15: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

15EE40 Summer 2010 Hug

Impedance

For a complex exponential source:

Rewrite as:

Looks a lot like…voltage divider

Page 16: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

16EE40 Summer 2010 Hug

Method of Impedance Analysis (without Phasors)

Lugging these complex exponential functions is algebraically annoying

Page 17: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

17EE40 Summer 2010 Hug

Phasors (not in the book!)

Page 18: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

18EE40 Summer 2010 Hug

Phasors

Page 19: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

19EE40 Summer 2010 Hug

Why are phasors useful?

Page 20: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

20EE40 Summer 2010 Hug

Why are phasors useful?

Page 21: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

21EE40 Summer 2010 Hug

Method of Impedance Analysis (with Phasors)

Page 22: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

22EE40 Summer 2010 Hug

Example

Page 23: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

23EE40 Summer 2010 Hug

Example

Page 24: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

24EE40 Summer 2010 Hug

Example

Page 25: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

25EE40 Summer 2010 Hug

Example

Page 26: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

26EE40 Summer 2010 Hug

Example

Not to scale

Page 27: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

27EE40 Summer 2010 Hug

Harder Example

• On board

Page 28: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

28EE40 Summer 2010 Hug

Filters

• Often, we’ll want to build circuits which react differently based on different signal frequencies, e.g.– Splitting audio signals into low and high

portions (for delivery to tweeter and subwoofer)

– Removing noise of a particular frequency (e.g. 60 Hz noise or vuvuzela sound)

– Removing signals except those at a certain frequency

Page 29: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

29EE40 Summer 2010 Hug

Example Filter

Page 30: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

30EE40 Summer 2010 Hug

Transfer Functions

Page 31: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

31EE40 Summer 2010 Hug

Using a Transfer Function

Page 32: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

32EE40 Summer 2010 Hug

Using a Transfer Function (general)

Page 33: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

33EE40 Summer 2010 Hug

Bode Magnitude Plot

Linear Scale Log Scale

Page 34: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

34EE40 Summer 2010 Hug

Bode Magnitude Plot in Context of Circuit

Page 35: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

35EE40 Summer 2010 Hug

Bode Phase Plot

Linear Scale Semilog Scale

Page 36: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

36EE40 Summer 2010 Hug

Bode Phase Plot in Context of Circuit

Page 37: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

37EE40 Summer 2010 Hug

Frequency vs. Time Domain

• Almost always, our signals consist of multiple frequencies

• Examples:– Sound made when you press a buttons on a

phone is two pure sine waves added together (DTMF)

– Antennas on radio theoretically pick up ALL frequencies of ALL transmissions

• Using a technique known as the Fourier Transform, we can convert any signal into a sum of sinusoids– See EE20 for more details

Page 38: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

38EE40 Summer 2010 Hug

Fourier Transform Example

Page 39: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

39EE40 Summer 2010 Hug

Fourier Transform Example

Page 40: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

40EE40 Summer 2010 Hug

Fourier Transform Example

• If we apply a filter with the frequency response on the left to the signal on the right

Then we’ll get:

Page 41: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

41EE40 Summer 2010 Hug

Types of Filters

• Passive Filters– Filters with no sources (i.e. just R, L, and C)– Don’t require power source– Scale to larger signals (no op-amp saturation)– Cheap

• Active Filters– Filters with active elements, e.g. op-amps– More complex transfer function

• No need for inductors (can be large and expensive, hard to make in integrated circuits)

• More easily tunable

– Response more independent of load (buffering)

Page 42: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

42EE40 Summer 2010 Hug

Filter Examples

• On board

Page 43: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

43EE40 Summer 2010 Hug

Manually Plotting

• In this day and age, it is rarely necessary to make our Bode plots manually

• However, learning how to do this will build your intuition for what a transfer function means

• Manual plotting of bode plots is essentially a set of tricks for manually plotting curves on a loglog axis

• We will only teach a subset of the full method (see EE20 for a more thorough treatment)

Page 44: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

44EE40 Summer 2010 Hug

Example Filter

Page 45: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

45EE40 Summer 2010 Hug

Extra Slides

Page 46: 1 EE40 Summer 2010 Hug EE40 Lecture 11 Josh Hug 7/19/2010.

46EE40 Summer 2010 Hug

Why do equivalent Impedances work?