DSP-First, 2/e LECTURE #3 Complex Exponentials and Complex Numbers.

Slides:



Advertisements
Similar presentations
Complex Representation of Harmonic Oscillations. The imaginary number i is defined by i 2 = -1. Any complex number can be written as z = x + i y where.
Advertisements

EECS 20 Appendix B1 Complex Numbers Last time we Characterized linear discrete-time systems by their impulse response Formulated zero-input output response.
CIE Centre A-level Pure Maths
Complex numbers.
Lesson 18 Phasors & Complex Numbers in AC
1 Prof. Nizamettin AYDIN Digital Signal Processing.
ELECTRIC CIRCUIT ANALYSIS - I
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
Complex Numbers, Sinusoidal Sources & Phasors ELEC 308 Elements of Electrical Engineering Dr. Ron Hayne Images Courtesy of Allan Hambley and Prentice-Hall.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
The Complex Plane; DeMoivre's Theorem- converting to trigonometric form.
Copyright © 2009 Pearson Education, Inc. CHAPTER 8: Applications of Trigonometry 8.1The Law of Sines 8.2The Law of Cosines 8.3Complex Numbers: Trigonometric.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Lecture 13: Complex Numbers and Sinusoidal Analysis Nilsson & Riedel Appendix B, ENG17 (Sec. 2): Circuits I Spring May 13, 2014.
Lecture 25 Introduction to steady state sinusoidal analysis Overall idea Qualitative example and demonstration System response to complex inputs Complex.
Complex Numbers. 1 August 2006 Slide 2 Definition A complex number z is a number of the form where x is the real part and y the imaginary part, written.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 ELECTRICAL TECHNOLOGY EET 103/4  Define and explain sine wave, frequency, amplitude, phase angle, complex number  Define, analyze and calculate impedance,
1 ECE 3336 Introduction to Circuits & Electronics Note Set #8 Phasors Spring 2013 TUE&TH 5:30-7:00 pm Dr. Wanda Wosik.
Section 8.1 Complex Numbers.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
SOLVING TRIGONOMETRIC EQUATIONS Dr. Shildneck Spring, 2015.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Digital Signal Processing
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Chapter 2. READING ASSIGNMENTS This Lecture: Chapter 2, pp Appendix A: Complex Numbers Appendix B: MATLAB or Labview Chapter 1: Introduction.
DSP First, 2/e Lecture 11 FIR Filtering Intro. May 2016 © , JH McClellan & RW Schafer 2 License Info for DSPFirst Slides  This work released.
DSP First, 2/e Lecture 7 Fourier Series Analysis.
DSP First, 2/e Lecture 5 Spectrum Representation.
DSP First, 2/e Lecture 6 Periodic Signals, Harmonics & Time-Varying Sinusoids.
DSP First, 2/e Lecture 18 DFS: Discrete Fourier Series, and Windowing.
DSP First, 2/e LECTURE #1 Sinusoids Aug © , JH McClellan & RW Schafer.
EE301 Phasors, Complex Numbers, And Impedance. Learning Objectives Define a phasor and use phasors to represent sinusoidal voltages and currents Determine.
DSP First, 2/e Lecture 16 DTFT Properties. June 2016 © , JH McClellan & RW Schafer 2 License Info for DSPFirst Slides  This work released under.
Lecture 19 Spectrogram: Spectral Analysis via DFT & DTFT
Lecture 6 Periodic Signals, Harmonics & Time-Varying Sinusoids
Sinusoidal Excitation of Circuits
Vectors, Roots of Unity & Regular Polygons
Lesson 1: Phasors and Complex Arithmetic
Example 1: Voltage on a capacitor as a function of time.
Start Up Day 54 PLOT the complex number, z = -4 +4i
COMPLEX NUMBERS and PHASORS
Periodic Signals Prof. Brian L. Evans
LECTURE #3 Complex Exponentials & Complex Numbers
ECE 3301 General Electrical Engineering
Complex Numbers Real part Imaginary part
Lecture 5 Spectrum Representation
Lecture 14 Digital Filtering of Analog Signals
Sinusoids: continuous time
Lecture 8 Fourier Series & Spectrum
LECTURE #2 Phase & Time-Shift Delay & Attenuation
Alexander-Sadiku Fundamentals of Electric Circuits
Chapter 2 Complex Numbers
2. 2 The V-I Relationship for a Resistor Let the current through the resistor be a sinusoidal given as Is also sinusoidal with amplitude amplitude.
Lecture 15 DTFT: Discrete-Time Fourier Transform
Signal Processing First
LECTURE #4 Phasor Addition Theorem
Warm Up – 1/2 - Thursday.
Lecture 7C Fourier Series Examples: Common Periodic Signals
Trigonometric (Polar) Form of Complex Numbers
Lecture 5A: Operations on the Spectrum
Signal Processing First
Complex Numbers What if we want to add two sinusoids?
Lecture 24 Time-Domain Response for IIR Systems
Lecture 21 Zeros of H(z) and the Frequency Domain
Presentation transcript:

DSP-First, 2/e LECTURE #3 Complex Exponentials and Complex Numbers

May 2016 © , JH McClellan & RW Schafer 2 License Info for SPFirst Slides  This work released under a Creative Commons License with the following terms:Creative Commons License  Attribution  The licensor permits others to copy, distribute, display, and perform the work. In return, licensees must give the original authors credit.  Non-Commerical  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 Full Text of the License  This (hidden) page should be kept with the presentation

May 2016 © , JH McClellan & RW Schafer 3 READING ASSIGNMENTS  This Lecture:  Chapter 2, Sects. 2-3 to 2-5  Appendix A: Complex Numbers  Appendix B: MATLAB  Next Lecture: Complex Exponentials

May 2016 © , JH McClellan & RW Schafer 4 LECTURE OBJECTIVES  Introduce more tools for manipulating complex numbers  Conjugate  Multiplication & Division  Powers  N-th Roots of unity

May 2016 © , JH McClellan & RW Schafer 5 LECTURE OBJECTIVES  Phasors = Complex Amplitude  Complex Numbers represent Sinusoids  Next Lecture: Develop the ABSTRACTION:  Adding Sinusoids = Complex Addition  PHASOR ADDITION THEOREM

WHY? What do we gain?  Sinusoids are the basis of DSP,  but trig identities are very tedious  Abstraction of complex numbers  Represent cosine functions  Can replace most trigonometry with algebra  Avoid all Trigonometric manipulations May 2016 © , JH McClellan & RW Schafer 6

May 2016 © , JH McClellan & RW Schafer 7 COMPLEX NUMBERS  To solve: z 2 = -1  z = j  Math and Physics use z = i  Complex number: z = x + j y x yz Cartesian coordinate system

May 2016 © , JH McClellan & RW Schafer 8 PLOT COMPLEX NUMBERS Real part: Imaginary part:

May 2016 © , JH McClellan & RW Schafer 9 COMPLEX ADDITION = VECTOR Addition

May 2016 © , JH McClellan & RW Schafer 10 *** 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

May 2016 © , JH McClellan & RW Schafer 11 POLAR RECTANGULAR  Relate (x,y) to (r,  ) Need a notation for POLAR FORM Most calculators do Polar-Rectangular

May 2016 © , JH McClellan & RW Schafer 12 Euler’s FORMULA  Complex Exponential  Real part is cosine  Imaginary part is sine  Magnitude is one

May 2016 © , JH McClellan & RW Schafer 13 Cosine = Real Part  Complex Exponential  Real part is cosine  Imaginary part is sine

May 2016 © , JH McClellan & RW Schafer 14 Common Values of exp( j  )  Changing the angle

May 2016 © , JH McClellan & RW Schafer 15 COMPLEX EXPONENTIAL  Interpret this as a Rotating Vector   t  Angle changes vs. time  ex:  rad/s  Rotates  in 0.01 secs

May 2016 © , JH McClellan & RW Schafer 16 Cos = REAL PART So, Real Part of Euler’s General Sinusoid

May 2016 © , JH McClellan & RW Schafer 17 COMPLEX AMPLITUDE General Sinusoid Sinusoid = REAL PART of complex exp: z(t)=(Ae j  )e j  t Complex AMPLITUDE = X, which is a constant

May 2016 © , JH McClellan & RW Schafer 18 POP QUIZ: Complex Amp  Find the COMPLEX AMPLITUDE for:  Use EULER’s FORMULA:

May 2016 © , JH McClellan & RW Schafer 19 POP QUIZ-2: Complex Amp  Determine the 60-Hz sinusoid whose COMPLEX AMPLITUDE is:  Convert X to POLAR:

May 2016 © , JH McClellan & RW Schafer 20 COMPLEX CONJUGATE (z*)  Useful concept: change the sign of all j’s  RECTANGULAR: If z = x + j y, then the complex conjugate is z* = x – j y  POLAR: Magnitude is the same but angle has sign change

COMPLEX CONJUGATION May 2016 © , JH McClellan & RW Schafer 21  Flips vector about the real axis!

May 2016 © , JH McClellan & RW Schafer 22 USES OF CONJUGATION  Conjugates useful for many calculations  Real part:  Imaginary part:

May 2016 © , JH McClellan & RW Schafer 23 Z DRILL (Complex Arith)

May 2016 © , JH McClellan & RW Schafer 24 Inverse Euler Relations  Cosine is real part of exp, sine is imaginary part  Real part:  Imaginary part:

May 2016 © , JH McClellan & RW Schafer 25 Mag & Magnitude Squared  Magnitude Squared (polar form):  Magnitude Squared (Cartesian form):  Magnitude of complex exponential is one:

May 2016 © , JH McClellan & RW Schafer 26 COMPLEX MULTIPLY = VECTOR ROTATION  Multiplication/division scales and rotates vectors

May 2016 © , JH McClellan & RW Schafer 27 POWERS  Raising to a power N rotates vector by Nθ and scales vector length by r N

MORE POWERS  May 2016 © , JH McClellan & RW Schafer 28

May 2016 © , JH McClellan & RW Schafer 29 ROOTS OF UNITY  We often have to solve z N =1  How many solutions?

ROOTS OF UNITY for N=6  Solutions to z N =1 are N equally spaced vectors on the unit circle!  What happens if we take the sum of all of them? May 2016 © , JH McClellan & RW Schafer 30

May 2016 © , JH McClellan & RW Schafer 31 Sum the Roots of Unity  Looks like the answer is zero (for N=6)  Write as geometric sum

May 2016 © , JH McClellan & RW Schafer 32  Needed later to describe periodic signals in terms of sinusoids (Fourier Series)  Especially over one period Integrate Complex Exp

BOTTOM LINE  CARTESIAN: Addition/subtraction is most efficient in Cartesian form  POLAR: good for multiplication/division  STEPS:  Identify arithmetic operation  Convert to easy form  Calculate  Convert back to original form May 2016 © , JH McClellan & RW Schafer 33

May 2016 © , JH McClellan & RW Schafer 34 Harder N-th Roots  Want to solve z N = c  where c is a complex number

May 2016 © , JH McClellan & RW Schafer 35 Euler’s FORMULA  Complex Exponential  Real part is cosine  Imaginary part is sine  Magnitude is one

May 2016 © , JH McClellan & RW Schafer 36 Real & Imaginary Part Plots PHASE DIFFERENCE =  /2

May 2016 © , JH McClellan & RW Schafer 37 COMPLEX EXPONENTIAL  Interpret this as a Rotating Vector   t  Angle changes vs. time  ex:  rad/s  Rotates  in 0.01 secs

May 2016 © , JH McClellan & RW Schafer 38 Rotating Phasor See Demo on CD-ROM Chapter 2

May 2016 © , JH McClellan & RW Schafer 39 AVOID Trigonometry  Algebra, even complex, is EASIER !!!  Can you recall cos(  1 +  2 ) ?  Use: real part of e j  1  2  = cos(  1 +  2 )

May 2016 © , JH McClellan & RW Schafer 40 MULTIPLICATION  CARTESIAN: use polynomial algebra  POLAR: easier because you can leverage the properties of exponentials  Multiply the magnitudes and add the angles

May 2016 © , JH McClellan & RW Schafer 41 DIVISION  CARTESIAN: use complex conjugate to convert to multiplication:  POLAR: simpler to subtract exponents

May 2016 © , JH McClellan & RW Schafer 42 Complex Numbers  WHY? need to ADD sinusoids  Use an ABSTRACTION  Complex Amplitude, X, has mag & phase  Complex Exponential  Euler’s Formula