DSP First, 2/e Lecture 5 Spectrum Representation.

Slides:



Advertisements
Similar presentations
Chapter 2: Part 1 Phasors and Complex Numbers
Advertisements

Math Review with Matlab:
Lesson 18 Phasors & Complex Numbers in AC
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
Motivation Music as a combination of sounds at different frequencies
1 Prof. Nizamettin AYDIN Advanced Digital Signal Processing 30/09/14.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
Lecture 3 MATLAB LABORATORY 3. Spectrum Representation Definition: A spectrum is a graphical representation of the frequency content of a signal. Formulae:
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Signals & Systems Lecture 11: Chapter 3 Spectrum Representation (Book: Signal Processing First)
OUTLINE Wave Sinusoidal signal review Complex exponential signal
Prof. Nizamettin AYDIN Digital Signal Processing 1.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Chapter 15 AC Fundamentals.
Lecture 13: Complex Numbers and Sinusoidal Analysis Nilsson & Riedel Appendix B, ENG17 (Sec. 2): Circuits I Spring May 13, 2014.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 ECE 3336 Introduction to Circuits & Electronics Note Set #8 Phasors Spring 2013 TUE&TH 5:30-7:00 pm Dr. Wanda Wosik.
Lecture 21 Review: Second order electrical circuits Series RLC circuit Parallel RLC circuit Second order circuit natural response Sinusoidal signals and.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
2008/10/23 System Arch 2008 (Fire Tom Wada) 1 OUTLINE Wave Sinusoidal signal review Complex exponential signal Complex amplitude (phasor) What is Spectrum.
Signals and Systems Lecture 6: Spectral Representation.
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 6 Periodic Signals, Harmonics & Time-Varying Sinusoids.
DSP First, 2/e Lecture 18 DFS: Discrete Fourier Series, and Windowing.
DSP-First, 2/e LECTURE #3 Complex Exponentials and Complex Numbers.
DSP First, 2/e LECTURE #1 Sinusoids Aug © , JH McClellan & RW Schafer.
Chapter 13 The Basic Elements and Phasors. Objectives Be able to add and subtract sinusoidal voltages or currents Use phasor format to add and subtract.
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
Time-Frequency Spectrum
Fourier Series Prof. Brian L. Evans
Signal Processing First
Example 1: Voltage on a capacitor as a function of time.
COMPLEX NUMBERS and PHASORS
Periodic Signals Prof. Brian L. Evans
LECTURE #3 Complex Exponentials & Complex Numbers
Signal Processing First
Lecture 5 Spectrum Representation
The Laplace Transform Prof. Brian L. Evans
Sinusoidal Waveform Phasor Method.
Lecture 14 Digital Filtering of Analog Signals
Lecture 10 Digital to Analog (D-to-A) Conversion
Lecture 9 Sampling & Aliasing
Lecture 8 Fourier Series & Spectrum
LECTURE #2 Phase & Time-Shift Delay & Attenuation
Lecture 13 Frequency Response of FIR Filters
Lecture 18 DFS: Discrete Fourier Series, and Windowing
Lecture 15 DTFT: Discrete-Time Fourier Transform
Signal Processing First
LECTURE #4 Phasor Addition Theorem
Lecture 7C Fourier Series Examples: Common Periodic Signals
Lecture 5: Phasor Addition & Spectral Representation
System Arch 2007 (Fire Tom Wada)
OUTLINE Wave Sinusoidal signal review Complex exponential signal
OUTLINE Wave Sinusoidal signal review Complex exponential signal
Lecture 5A: Operations on the Spectrum
Signal Processing First
Lecture 24 Time-Domain Response for IIR Systems
Lecture 21 Zeros of H(z) and the Frequency Domain
System Arch 2006 (Fire Tom Wada)
Presentation transcript:

DSP First, 2/e Lecture 5 Spectrum Representation

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-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 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 3, Section 3-1  Other Reading:  Appendix A: Complex Numbers  Next Lecture: Ch 3, Sects 3-2, 3-3, 3-7 & 3-8

May 2016 © , JH McClellan & RW Schafer 4 LECTURE OBJECTIVES  Sinusoids with DIFFERENT Frequencies  SYNTHESIZE by Adding Sinusoids  SPECTRUM Representation DIFFERENT  Graphical Form shows DIFFERENT Freqs

May 2016 © , JH McClellan & RW Schafer 5 FREQUENCY DIAGRAM  Want to visualize relationship between frequencies, amplitudes and phases  Plot Complex Amplitude vs. Frequency –100–250 f (in Hz) Complex amplitude Spectral line

May 2016 © , JH McClellan & RW Schafer 6 Another FREQ. Diagram Frequency is the vertical axis Time is the horizontal axis A-440 A musical scale consists of a discrete set of frequencies.

May 2016 © , JH McClellan & RW Schafer 7 MOTIVATION  Synthesize Complicated Signals  Musical Notes  Piano uses 3 strings for many notes  Chords: play several notes simultaneously  Human Speech  Vowels have dominant frequencies  Application: computer generated speech  Can all signals be generated this way?  Sum of sinusoids?

May 2016 © , JH McClellan & RW Schafer 8 Fur Elise WAVEFORM Beat Notes

May 2016 © , JH McClellan & RW Schafer 9 Speech Signal: BAT Periodic  Nearly Periodic in Vowel Region  Period is (Approximately) T = sec

May 2016 © , JH McClellan & RW Schafer 10 Euler’s Formula Reversed  Solve for cosine (or sine)

May 2016 © , JH McClellan & RW Schafer 11 INVERSE Euler’s Formula  What is the “spectrum” representation for a single sinusoid?  Solve Euler’s formula for cosine (or sine)

May 2016 © , JH McClellan & RW Schafer 12 SPECTRUM Interpretation  Cosine = sum of 2 complex exponentials:  One has a positive frequency  The other has negative freq.  Amplitude of each is half as big

May 2016 © , JH McClellan & RW Schafer 13 GRAPHICAL SPECTRUM AMPLITUDE, PHASE & FREQUENCY are labels  7-70 Freq. in rad/s

May 2016 © , JH McClellan & RW Schafer 14 NEGATIVE FREQUENCY  Is negative frequency real?  Doppler Radar provides intuition  Police radar measures speed by using the Doppler shift principle  Let’s assume 400Hz  60 mph  +400Hz means towards the radar  -400Hz means away (opposite direction)  Think of a train whistle

Negative Frequency is still a rotating phasor  View as vector rotating counterclockwise   t  Angle changes vs. time May 2016 © , JH McClellan & RW Schafer 15 Negative frequency  clockwise rotation

General form of sinusoid spectrum  General form:  Amplitudes are multiplied by ½  Complex amplitudes are complex conjugates  Called conjugate symmetry May 2016 © , JH McClellan & RW Schafer 16

May 2016 © , JH McClellan & RW Schafer 17 SPECTRUM Interpretation  Cosine = sum of 2 complex exponentials:  One has a positive frequency  The other has negative freq.  Amplitude of each is half as big

May 2016 © , JH McClellan & RW Schafer 18 Recall SPECTRUM of cosine AMPLITUDE, PHASE & FREQUENCY are labels  7-70 Freq. in rad/s

May 2016 © , JH McClellan & RW Schafer 19 REPRESENTATION of SINE  Sine = sum of 2 complex exponentials:  Positive freq. has phase = -0.5   Negative freq. has phase = +0.5 

May 2016 © , JH McClellan & RW Schafer 20 GRAPHICAL Spectrum of sine EXAMPLE of SINE (has Phase of –  /2) AMPLITUDE, PHASE & FREQUENCY are labels  7-70

May 2016 © , JH McClellan & RW Schafer 21 SPECTRUM ---> SINUSOID  Add the spectrum components: What is the formula for the signal x(t)? –100–250 f (in Hz)

May 2016 © , JH McClellan & RW Schafer 22 Gather (A,  ) information  Frequencies:  -250 Hz  -100 Hz  0 Hz  100 Hz  250 Hz  Amplitude & Phase  4-  /2  7+  /3  100  7-  /3  4+  /2 DC is another name for zero-freq component DC component always has  or  (for real x(t) ) Note the conjugate phase

May 2016 © , JH McClellan & RW Schafer 23 Add Spectrum Components-1  Amplitude & Phase  4 -  /2  7 +  /3  100  7 -  /3  4+  /2  Frequencies:  -250 Hz  -100 Hz  0 Hz  100 Hz  250 Hz

May 2016 © , JH McClellan & RW Schafer 24 Add Spectrum Components –100–250 f (in Hz)

May 2016 © , JH McClellan & RW Schafer 25 Use Euler’s Formula to get REAL sinusoids: Simplify Components

May 2016 © , JH McClellan & RW Schafer 26 FINAL ANSWER So, we get the general form:

May 2016 © , JH McClellan & RW Schafer 27 Example: Synthetic Vowel  Sum of 5 Frequency Components

May 2016 © , JH McClellan & RW Schafer 28 Example: Synthetic Vowel  Sum of 5 Frequency Components

May 2016 © , JH McClellan & RW Schafer 29 SPECTRUM of VOWEL (Polar Format) kk 0.5A k

May 2016 © , JH McClellan & RW Schafer 30 SPECTRUM of VOWEL (Polar Format) 0.5A k kk

May 2016 © , JH McClellan & RW Schafer 31 Vowel Waveform (sum of all 5 components) One epoch or one period Note that the period is 10 ms, which equals 1/f

The VODER by Dudley Resonance controls Stops & plosives May 2016 © , JH McClellan & RW Schafer 32

May 2016 © , JH McClellan & RW Schafer 33 SPECTRUM of VOWEL  Note: Spectrum has 0.5X k (except X DC )  Conjugates in negative frequency

May 2016 © , JH McClellan & RW Schafer 34 Summary: GENERAL FORM

May 2016 © , JH McClellan & RW Schafer 35 GRAPHICAL SPECTRUM AMPLITUDE, PHASE & FREQUENCY are shown  7-70 Freq. in rad/s

Phasor cancellation  Interpretation: cosine is sum of two vectors rotating in opposite directions at same speed May 2016 © , JH McClellan & RW Schafer 36