Lecture 6 Periodic Signals, Harmonics & Time-Varying Sinusoids

Slides:



Advertisements
Similar presentations
1 Chapter 16 Fourier Analysis with MATLAB Fourier analysis is the process of representing a function in terms of sinusoidal components. It is widely employed.
Advertisements

Ira Fulton School of Engineering Intro to Sinusoids What is a sinusoid? » Mathematical equation : Function of the time variable : Amplitude : Frequency.
Intro to Fourier Analysis Definition Analysis of periodic waves Analysis of aperiodic waves Digitization Time-frequency uncertainty.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
8/27/2015 © 2003, JH McClellan & RW Schafer 1 Signal Processing First Lecture 8 Sampling & Aliasing.
Where we’re going Speed, Storage Issues Frequency Space.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
1 Prof. Nizamettin AYDIN Advanced Digital Signal Processing 30/09/14.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Fourier Representations of Signals & Linear Time-Invariant Systems Chapter 3.
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.
Signals & Systems Lecture 13: Chapter 3 Spectrum Representation.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Digital Signal Processing
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Fourier Series & Transforms
Signals & Systems Lecture 17: Chapter 3 Spectrum Representation.
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 #3 Complex Exponentials and Complex Numbers.
DSP First, 2/e LECTURE #1 Sinusoids Aug © , JH McClellan & RW Schafer.
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
Time-Frequency Spectrum
Fourier Series Prof. Brian L. Evans
Signal Processing First
Example 1: Voltage on a capacitor as a function of time.
Lecture 11 FIR Filtering Intro
Periodic Signals Prof. Brian L. Evans
LECTURE #3 Complex Exponentials & Complex Numbers
Signal Processing First
Lecture 12 Linearity & Time-Invariance Convolution
MECH 373 Instrumentation and Measurements
Continuous-Time Signal Analysis
Lecture 5 Spectrum Representation
The Laplace Transform Prof. Brian L. Evans
Sampling and Reconstruction
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 17 DFT: Discrete Fourier Transform
Lecture 15 DTFT: Discrete-Time Fourier Transform
LECTURE 18: FAST FOURIER TRANSFORM
Signal Processing First
LECTURE #4 Phasor Addition Theorem
Signal Processing First
Lecture 7C Fourier Series Examples: Common Periodic Signals
Lecture 10: Fourier Analysis of Periodic Signals
Lecture 5: Phasor Addition & Spectral Representation
Lecture 5A: Operations on the Spectrum
Lecture 7: Spectral Representation
Signal Processing First
LECTURE 18: FAST FOURIER TRANSFORM
Lecture 21 Zeros of H(z) and the Frequency Domain
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Presentation transcript:

Lecture 6 Periodic Signals, Harmonics & Time-Varying Sinusoids DSP First, 2/e Lecture 6 Periodic Signals, Harmonics & Time-Varying Sinusoids

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 Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer READING ASSIGNMENTS This Lecture: Chapter 3, Sections 3-2 and 3-4 Chapter 3, Sections 3-6 and 3-7 Next Lectures: Fourier Series ANALYSIS Sections 3-4 and 3-5 Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer LECTURE OBJECTIVES Signals with HARMONIC Frequencies Add Sinusoids with fk = kf0 Second Topic: FREQUENCY can change vs. TIME Introduce Spectrogram Visualization (spectrogram.m) (plotspec.m) Chirps: Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer Signals Studied So Far Sinusoids Sum of sinusoids of same frequency General form: (finite) sum of sinusoids Periodic signals In this lecture Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer SPECTRUM DIAGRAM Recall Complex Amplitude vs. Freq 100 250 –100 –250 f (in Hz) Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer SPECTRUM for PERIODIC ? Nearly Periodic in the Vowel Region Period is (Approximately) T = 0.0065 sec Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer Harmonic Signal Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Define FUNDAMENTAL FREQ Main point: for periodic signals, all spectral lines have frequencies that are integer multiples of the fundamental frequency Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Harmonic Signal Spectrum Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Periodic Signal: Example Fundamental frequency Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer Harmonic Spectrum (3 Freqs) 3rd 5th What is the fundamental frequency? 10 Hz Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer POP QUIZ: FUNDAMENTAL Here’s another spectrum: 10.4 24 –10.4 –24 f (in Hz) What is the fundamental frequency? (0.1)GCD(104,240) = (0.1)(8)=0.8 Hz Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer IRRATIONAL SPECTRUM SPECIAL RELATIONSHIP to get a PERIODIC SIGNAL NON-PERIODIC SIGNAL Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Harmonic Signal (3 Freqs) T=0.1 PERIODIC Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer NON-Harmonic Signal NOT PERIODIC Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer FREQUENCY ANALYSIS Now, a much HARDER problem Given a recording of a song, have the computer write the music Can a machine extract frequencies? Yes, if we COMPUTE the spectrum for x(t) During short intervals Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Time-Varying FREQUENCIES Diagram Frequency is the vertical axis Time is the horizontal axis Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer SIMPLE TEST SIGNAL C-major SCALE: stepped frequencies Frequency is constant for each note IDEAL Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer SPECTROGRAM SPECTROGRAM Tool MATLAB function is spectrogram.m SP-First has plotspec.m & spectgr.m ANALYSIS program Takes x(t) as input Produces spectrum values Xk Breaks x(t) into SHORT TIME SEGMENTS Then uses the FFT (Fast Fourier Transform) Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer SPECTROGRAM EXAMPLE Two Constant Frequencies: Beats Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer AM Radio Signal Same form as BEAT Notes, but higher in freq Aug 2016 © 2003-2016, JH McClellan & RW Schafer

SPECTRUM of AM (Amplitude Modulation) SUM of 4 complex exponentials: –672 –648 648 672 f (in Hz) What is the fundamental frequency? 648 Hz ? 24 Hz ? Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer STEPPED FREQUENCIES C-major SCALE: successive sinusoids Frequency is constant for each note IDEAL Aug 2016 © 2003-2016, JH McClellan & RW Schafer

SPECTROGRAM of C-Scale Sinusoids ONLY From SPECTROGRAM ANALYSIS PROGRAM ARTIFACTS at Transitions Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Spectrogram of LAB SONG Sinusoids ONLY Analysis Frame = 40ms ARTIFACTS at Transitions Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Overlapping Sections in Spectrograms (useful in Labs) 50% overlap is common Consider edge effects when analyzing a short sinusoid SECTION LOCATIONS MIDDLE of SECTION is REFERENCE TIME Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Spectrogram of BAT (plotspec) Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Time-Varying Frequency Frequency can change vs. time Continuously, not stepped FREQUENCY MODULATION (FM) CHIRP SIGNALS Linear Frequency Modulation (LFM) VOICE Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer New Signal: Linear FM Called Chirp Signals (LFM) Quadratic phase Freq will change LINEARLY vs. time Example of Frequency Modulation (FM) Define “instantaneous frequency” QUADRATIC Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer INSTANTANEOUS FREQ Definition For Sinusoid: Derivative of the “Angle” Makes sense Aug 2016 © 2003-2016, JH McClellan & RW Schafer

INSTANTANEOUS FREQ of the Chirp Chirp Signals have Quadratic phase Freq will change LINEARLY vs. time Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer CHIRP SPECTROGRAM Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer CHIRP WAVEFORM Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer OTHER CHIRPS y(t) can be anything: y(t) could be speech or music: FM radio broadcast Aug 2016 © 2003-2016, JH McClellan & RW Schafer

SINE-WAVE FREQUENCY MODULATION (FM) Look at CD-ROM Demos in Ch 3 Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Problem Solving Skills Math Formula Sum of Cosines Amp, Freq, Phase Recorded Signals Speech Music No simple formula Plot & Sketches S(t) versus t Spectrum MATLAB Numerical Computation Plotting list of numbers Aug 2016 © 2003-2016, JH McClellan & RW Schafer