Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t}...

33
Circuits and Systems I LECTURE #2 Phasor Addition Prof. Dr. Volkan Cevher LIONS/Laboratory for Information and Inference Systems lions@epfl

Transcript of Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t}...

Page 1: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Circuits and Systems I

LECTURE #2 Phasor Addition Prof. Dr. Volkan Cevher LIONS/Laboratory for Information and Inference Systems

lions@epfl

Page 2: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

License Info for SPFirst Slides

•  This work released under a Creative Commons License with the following terms:

•  Attribution §  The licensor permits others to copy, distribute, display, and perform

the work. In return, licensees must give the original authors credit. •  Non-Commercial

§  The licensor permits others to copy, distribute, display, and perform the work. In return, licensees may not use the work for commercial purposes—unless they get the licensor's permission.

•  Share Alike §  The licensor permits others to distribute derivative works only under

a license identical to the one that governs the licensor's work. •  Full Text of the License •  This (hidden) page should be kept with the presentation

Page 3: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Outline - Today

•  Today <> Section 2-6 Lab 1!

•  Next week <> Section 3-1 Section 3-2

Section 3-3 Section 3-7 Section 3-8

•  Recommended self-study next week +

–  Appendix A: Complex Numbers read

–  Appendix B: MATLAB read

Page 4: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Lecture Objectives

•  Phasors = Complex Amplitude –  Complex Numbers represent Sinusoids

§  Develop the ABSTRACTION: §  Adding Sinusoids = Complex Addition § PHASOR ADDITION THEOREM

tjjtj eAeXetz ωϕω )()( ==

Page 5: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Lecture Objectives

•  Phasors = Complex Amplitude –  Complex Numbers represent Sinusoids

§  Develop the ABSTRACTION: §  Adding Sinusoids = Complex Addition § PHASOR ADDITION THEOREM

CSI Progress Level:

Page 6: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Do You Remember The Complex Numbers?

•  To solve: z2 = -1 –  z = j –  Math and Physics use z = i

•  Complex number: z = x + j y

x

y z Cartesian coordinate system

Lab 2 warm-up

Page 7: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Polar Form

•  Vector Form –  Length =1 –  Angle = θ

•  Common Values §  j has angle of 0.5π §  -1 has angle of π §  - j has angle of 1.5π §  also, angle of -j could be -0.5π = 1.5π -2π §  because the PHASE is AMBIGUOUS

Page 8: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Polar <> Rectangular

•  Relate (x,y) to (r,θ) rθx

y

Need a notation for POLAR FORM

( )xyyxr1

222

Tan−=

+=

θ

θθ

sincosryrx

==

Most calculators do Polar-Rectangular

Page 9: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Euler’s Formula

•  Complex Exponential –  Real part is cosine –  Imaginary part is sine –  Magnitude is one

)sin()cos( θθθ jrrre j +=

)sin()cos( θθθ je j +=

Page 10: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Complex Exponential

•  Interpret this as a Rotating Vector –  θ = ωt –  Angle changes vs. time –  ex: ω=20π rad/s –  Rotates 0.2π in 0.01 secs

)sin()cos( tjte tj ωωω +=

)sin()cos( θθθ je j +=

Page 11: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

cos = Real Part

Real Part of Euler’s }{)cos( tjeet ωω ℜ=

General Sinusoid )cos()( ϕω += tAtx

So,

}{}{)cos( )(

tjj

tj

eAeeAeetA

ωϕ

ϕωϕω

ℜ=

ℜ=+ +

Page 12: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Real Part Example

Answer:

Evaluate:

{ }tjj eAeetA ωϕϕω ℜ=+ )cos(

{ }tjjeetx ω3)( −ℜ=

{ }{ } )5.0cos(33

)3()(5.0 πωωπ

ω

−=ℜ=

−ℜ=− teee

ejetxtjj

tj

Page 13: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Complex Amplitude

Then, any Sinusoid = REAL PART of Xejωt

{ } { }tjjtj eAeeXeetx ωϕω ℜ=ℜ=)(

General Sinusoid

{ }tjj eAeetAtx ωϕϕω ℜ=+= )cos()(Complex AMPLITUDE = X

ϕω jtj AeXXetz ==)(

Page 14: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Z DRILL (Complex Arith)

Page 15: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

How to AVOID Trigonometry

•  Algebra, even complex, is EASIER !!! •  Can you recall cos(θ1+θ2) ?

•  Use: real part of ej(θ1+θ2) = cos(θ1+θ2)

Page 16: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Recall Euler’s FORMULA

•  Complex Exponential –  Real part is cosine –  Imaginary part is sine –  Magnitude is one

)sin()cos( tjte tj ωωω +=

)sin()cos( θθθ je j +=

Page 17: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Real & Imaginary Part Plots

PHASE DIFFERENCE = π/2

Page 18: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Complex Exponential

•  Interpret this as a Rotating Vector –  θ = ωt –  Angle changes vs. time –  ex: ω=20π rad/s –  Rotates 0.2π in 0.01 secs

e jjθ θ θ= +cos( ) sin( )

)sin()cos( tjte tj ωωω +=

Page 19: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Rotating Phasor

See Demo on CD-ROM Chapter 2

Page 20: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Cos = REAL PART

cos(ωt) =ℜe e jω t{ }Real Part of Euler’s

x(t)= Acos(ωt +ϕ)General Sinusoid

Acos(ω t +ϕ) =ℜe Ae j (ω t+ϕ){ }=ℜe Ae jϕe jω t{ }

So,

Page 21: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Complex Amplitude

x(t)= Acos(ωt +ϕ)=ℜe Ae jϕejω t{ }General Sinusoid

z(t)= Xejωt X = AejϕComplex AMPLITUDE = X

x(t)=ℜe Xe jω t{ }=ℜe z(t){ }Sinusoid = REAL PART of (Aejφ)ejωt

Page 22: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

POP QUIZ: Complex Amp

•  Find the COMPLEX AMPLITUDE for:

•  Use EULER’s FORMULA:

π5.03 jeX =

)5.077cos(3)( ππ += ttx

{ }{ }tjj

tj

eee

eetxππ

ππ

775.0

)5.077(

3

3)(

ℜ=

ℜ= +

Page 23: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Want to Add Sinusoids

•  ALL SINUSOIDS have SAME FREQUENCY •  HOW to GET {Amp,Phase} of RESULT ?

Page 24: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Add Sinusoids

•  Sum Sinusoid has SAME Frequency

Page 25: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Phasor Addition Rule

Get the new complex amplitude by complex addition

Page 26: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Phasor Addition Proof

Page 27: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

POP QUIZ: Add Sinusoids

•  ADD THESE 2 SINUSOIDS:

•  COMPLEX ADDITION:

π5.00 31 jj ee +

)5.077cos(3)(

)77cos()(

2

1

ππ

π

+=

=

ttx

ttx

Page 28: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

POP QUIZ (answer)

•  COMPLEX ADDITION:

•  CONVERT back to cosine form:

j 3 = 3e j0.5π

1

31 j+ 3/231 πjej =+

)77cos(2)( 33ππ += ttx

Page 29: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Add Sinusoids Example

tm1

tm2

tm3

)()()( 213 txtxtx +=

)(1 tx

)(2 tx

Page 30: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Convert Time-Shift to Phase •  Measure peak times:

–  tm1=-0.0194, tm2=-0.0556, tm3=-0.0394

•  Convert to phase (T=0.1) –  φ1=-ωtm1 = -2π(tm1 /T) = 70π/180, –  φ2= 200π/180

•  Amplitudes –  A1=1.7, A2=1.9, A3=1.532

Page 31: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Phasor Add: Numerical

•  Convert Polar to Cartesian –  X1 = 0.5814 + j1.597 –  X2 = -1.785 - j0.6498 –  sum = –  X3 = -1.204 + j0.9476

•  Convert back to Polar –  X3 = 1.532 at angle 141.79π/180 –  This is the sum

Page 32: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

Add Sinusoids

VECTOR (PHASOR) ADD

X1

X2

X3

Page 33: Circuits and Systems I - LIONS | EPFL and Systems I LECTURE #2 ... POP QUIZ: Complex Amp ... {j j t} j t e e e x t e e π π π π 0.5 77 (77 0.5 ) 3 ( ) 3 = ...

•  Next week <> Section 3-1 Section 3-2 Section 3-3 Section 3-7 Section 3-8

LAB TIME NOW!