DSP First, 2/e LECTURE #1 Sinusoids Aug 20161 © 2003-2016, JH McClellan & RW Schafer.

Slides:



Advertisements
Similar presentations
DCSP-3: Fourier Transform (continuous time) Jianfeng Feng
Advertisements

DCSP-3: Fourier Transform Jianfeng Feng Department of Computer Science Warwick Univ., UK
Math Review with Matlab:
Ira Fulton School of Engineering Intro to Sinusoids What is a sinusoid? » Mathematical equation : Function of the time variable : Amplitude : Frequency.
EE2F1 Speech & Audio Technology Sept. 26, 2002 SLIDE 1 THE UNIVERSITY OF BIRMINGHAM ELECTRONIC, ELECTRICAL & COMPUTER ENGINEERING Digital Systems & Vision.
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.
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.
DIGITAL SIGNAL PROCESSING (DSP) VT (D3) VT (D4) VTxxxxxx (D4 LJ-PJJ) HOME Base Gedung.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Fourier series. The frequency domain It is sometimes preferable to work in the frequency domain rather than time –Some mathematical operations are easier.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Prof. Nizamettin AYDIN Advanced 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 Prof. Nizamettin AYDIN Digital Signal Processing.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
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.
Signal Processing for Mechatronics. Textbook Signal Processing First Hardcover – March 8, 2003 by James H. McClellan, Ronald W. Schafer, Mark A. Yoder.
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 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
Instructor: Mian Shahzad Iqbal
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.
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
Continuous-Time Signal Analysis
Lecture 5 Spectrum Representation
Lecture 2 Data and Signals
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
Signal Processing First
LECTURE #4 Phasor Addition Theorem
Digital Signal Processing
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 22 IIR Filters: Feedback and H(z)
Lecture 5A: Operations on the Spectrum
Signal Processing First
Lecture 24 Time-Domain Response for IIR Systems
Presentation transcript:

DSP First, 2/e LECTURE #1 Sinusoids Aug © , JH McClellan & RW Schafer

Aug 2016 © , JH McClellan & RW Schafer 2 License Info for DSPFirst 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

Aug 2016 © , JH McClellan & RW Schafer 3 READING ASSIGNMENTS  This Lecture:  Chapter 2, Sections 2-1 and 2-2  Chapter 1: Introduction  Appendix B: MATLAB  Review Appendix A on Complex Numbers

Aug 2016 © , JH McClellan & RW Schafer 4 CONVERGING FIELDS EE CmpE Math Applications Physics Computer Science BIO

Aug 2016 © , JH McClellan & RW Schafer 5 COURSE OBJECTIVE  Students will be able to:  Understand mathematical descriptions of signal processing algorithms and express those algorithms as computer implementations (MATLAB)  What are your objectives?

Aug 2016 © , JH McClellan & RW Schafer 6 WHY USE DSP ?  Mathematical abstractions lead to generalization and discovery of new processing techniques  Computer implementations are flexible  Applications provide a physical context

Aug 2016 © , JH McClellan & RW Schafer 7 Fourier Everywhere  Telecommunications  Sound & Music  CDROM, Digital Video  Fourier Optics  X-ray Crystallography  Protein Structure & DNA  Computerized Tomography  Nuclear Magnetic Resonance: MRI  Radioastronomy  Ref: Prestini, “The Evolution of Applied Harmonic Analysis”

Aug 2016 © , JH McClellan & RW Schafer 8 LECTURE OBJECTIVES  Write general formula for a “sinusoidal” waveform, or signal  From the formula, plot the sinusoid versus time  What’s a signal?  It’s a function of time, x(t)  in the mathematical sense

Aug 2016 © , JH McClellan & RW Schafer 9 TUNING FORK EXAMPLE  CD-ROM demo  “A” is at 440 Hertz (Hz)  Waveform is a SINUSOIDAL SIGNAL  Computer plot looks like a sine wave  This should be the mathematical formula:

Aug 2016 © , JH McClellan & RW Schafer 10 TUNING FORK A-440 Waveform Time (sec)

Aug 2016 © , JH McClellan & RW Schafer 11 SPEECH EXAMPLE  More complicated signal (BAT.WAV)  Waveform x(t) is NOT a Sinusoid  Theory will tell us  x(t) is approximately a sum of sinusoids  FOURIER ANALYSIS  Break x(t) into its sinusoidal components  Called the FREQUENCY SPECTRUM

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

Aug 2016 © , JH McClellan & RW Schafer 13 DIGITIZE the WAVEFORM  x[n] is a SAMPLED SINUSOID  A list of numbers stored in memory  Sample at 11,025 samples per second  Called the SAMPLING RATE of the A/D  Time between samples is  1/11025 = 90.7 microsec  Output via D/A hardware (at F samp )

Aug 2016 © , JH McClellan & RW Schafer 14 STORING DIGITAL SOUND  x[n] is a SAMPLED SINUSOID  A list of numbers stored in memory  CD rate is 44,100 samples per second  16-bit samples  Stereo uses 2 channels  Number of bytes for 1 minute is  2 X (16/8) X 60 X = Mbytes

Aug 2016 © , JH McClellan & RW Schafer 15  Always use the COSINE FORM  Sine is a special case: SINES and COSINES

Aug 2016 © , JH McClellan & RW Schafer 16 SINUSOIDAL SIGNAL  FREQUENCY  Radians/sec  Hertz (cycles/sec)  PERIOD (in sec)  AMPLITUDE  Magnitude  PHASE

Aug 2016 © , JH McClellan & RW Schafer 17 EXAMPLE of SINUSOID  Given the Formula  Make a plot

Aug 2016 © , JH McClellan & RW Schafer 18 PLOT COSINE SIGNAL  Formula defines A, , and 

Aug 2016 © , JH McClellan & RW Schafer 19 PLOTTING COSINE SIGNAL from the FORMULA  Determine period:  Determine a peak location by solving  Zero crossing is T/4 before or after  Positive & Negative peaks spaced by T/2

Aug 2016 © , JH McClellan & RW Schafer 20 PLOT the SINUSOID  Use T=20/3 and the peak location at t=-4

Aug 2016 © , JH McClellan & RW Schafer 21 TRIG FUNCTIONS  Circular Functions  Common Values  sin(k  ) = 0  cos(0) = 1  cos(2k  ) = 1 and cos((2k+1)  ) = -1  cos((k+0.5)  ) = 0