Lecture 3 MATLAB LABORATORY 3. Spectrum Representation Definition: A spectrum is a graphical representation of the frequency content of a signal. Formulae:

Slides:



Advertisements
Similar presentations
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: Response to a Sinusoidal Input Frequency Analysis of an RC Circuit.
Advertisements

Lecture 7: Basis Functions & Fourier Series
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.
Math Review with Matlab:
Han Q Le© ECE 3336 Introduction to Circuits & Electronics Lecture Set #10 Signal Analysis & Processing – Frequency Response & Filters Dr. Han Le ECE Dept.
MM3FC Mathematical Modeling 3 LECTURE 4 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
Lecture 8: Fourier Series and Fourier Transform
MM3FC Mathematical Modeling 3 LECTURE 1
Signals, Fourier Series
Chapter 4. Amplitude Modulation Husheng Li The University of Tennessee.
Continuous Time Signals All signals in nature are in continuous time.
Discrete Time Periodic Signals A discrete time signal x[n] is periodic with period N if and only if for all n. Definition: Meaning: a periodic signal keeps.
Chapter 4 The Fourier Series and Fourier Transform.
Chapter 15 Fourier Series and Fourier Transform
ES250: Electrical Science
infinity-project.org Engineering education for today’s classroom 53 Design Problem - Digital Band Build a digital system that can create music of any.
Frequency Domain Representation of Sinusoids: Continuous Time Consider a sinusoid in continuous time: Frequency Domain Representation: magnitude phase.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
Lecture 1 Signals in the Time and Frequency Domains
Motivation Music as a combination of sounds at different frequencies
1 Prof. Nizamettin AYDIN Advanced Digital Signal Processing 30/09/14.
Fourier Transforms Section Kamen and Heck.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Signals & Systems Lecture 11: Chapter 3 Spectrum Representation (Book: Signal Processing First)
1 I. Phasors (complex envelope) representation for sinusoidal signal narrow band signal II. Complex Representation of Linear Modulated Signals & Bandpass.
CISE315 SaS, L171/16 Lecture 8: Basis Functions & Fourier Series 3. Basis functions: Concept of basis function. Fourier series representation of time functions.
Wireless and Mobile Computing Transmission Fundamentals Lecture 2.
OUTLINE Wave Sinusoidal signal review Complex exponential signal
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 11: Modulation Ken Greenebaum.
Fundamentals of Electric Circuits Chapter 18 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Lecture 25 Introduction to steady state sinusoidal analysis Overall idea Qualitative example and demonstration System response to complex inputs Complex.
Eeng Chapter 5 AM, FM, and Digital Modulated Systems  Phase Modulation (PM)  Frequency Modulation (FM)  Generation of PM and FM  Spectrum of.
Fourier series: Eigenfunction Approach
Fourier Series Kamen and Heck.
Course Outline (Tentative) Fundamental Concepts of Signals and Systems Signals Systems Linear Time-Invariant (LTI) Systems Convolution integral and sum.
1 ECE 3336 Introduction to Circuits & Electronics Note Set #8 Phasors Spring 2013 TUE&TH 5:30-7:00 pm Dr. Wanda Wosik.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Chapter 2. Signals and Linear Systems
Signals & Systems Lecture 13: Chapter 3 Spectrum Representation.
NARROW-BAND FREQUENCY MODULATION
Unit 8 Phasors.
Lecture 21 Review: Second order electrical circuits Series RLC circuit Parallel RLC circuit Second order circuit natural response Sinusoidal signals and.
Demodulation of DSB-SC AM Signals
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.
 Circuits in which the source voltage or current is time-varying (particularly interested in sinusoidally time-varying excitation, or simply, excitation.
Chapter 2. READING ASSIGNMENTS This Lecture: Chapter 2, pp Appendix A: Complex Numbers Appendix B: MATLAB or Labview Chapter 1: Introduction.
Chapter 2. Signals and Linear Systems
Synthesizing a Clarinet Nicole Bennett. Overview  Frequency modulation  Using FM to model instrument signals  Generating envelopes  Producing a clarinet.
EE104: Lecture 6 Outline Announcements: HW 1 due today, HW 2 posted Review of Last Lecture Additional comments on Fourier transforms Review of time window.
Signals & Systems Lecture 17: Chapter 3 Spectrum Representation.
DSP First, 2/e Lecture 5 Spectrum Representation.
Fourier Series Prof. Brian L. Evans
COMPLEX NUMBERS and PHASORS
Periodic Signals Prof. Brian L. Evans
LECTURE #3 Complex Exponentials & Complex Numbers
Lecture 5 Spectrum Representation
EE Audio Signals and Systems
Sinusoids: continuous time
LECTURE #2 Phase & Time-Shift Delay & Attenuation
Fundamentals of Electric Circuits Chapter 18
Signal Processing First
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
System Arch 2006 (Fire Tom Wada)
Presentation transcript:

lecture 3 MATLAB LABORATORY 3

Spectrum Representation Definition: A spectrum is a graphical representation of the frequency content of a signal. Formulae: Sum Of Sinusoidal Signals N x(t)= A o + ∑ A k cos(2*pi*f k *t + ø k ) k=1 = N X o + Re{ ∑ X k exp(j*2*pi*f k *t)} k=1

Where X o = A o is a real constant, and X k = A k exp(j* ø k ) is the complex amplitude (i.e. the phasor) for the complex exponential frequency f k. The spectrum is also a graphical presentation of the individual sinusoidal components that make up the signal.

Spectrum of Sinusoids Sinusoids are very important as they are basic building blocks for making more complicated signals. The most important and powerful method of producing new signals from sinusoids is the additive linear combination. Where a signal is created by adding together a constant and N sinusoids of different frequencies, amplitude and phase.

Formulae : N x(t)=A o + ∑ A k cos(2*pi*f k *t + ø k ) k=1 Where each amplitude, phase and frequency can be chosen independently. In Phasor representation x(t) can also be represented as: N x(t)= X o + ∑ Re { X k exp(j*2*pi*f k *t)} K=1 Example 3.1

Where X o = A o represents a real constant component, and each phasor X k = A k exp(j* ø k ) represents the magnitude and phase of a rotating phasor whose frequency is f k. Using Inverse Euler formula we can write x(t) as N x(t)=X o + ∑ {X k /2 exp(j*2*pi*f k *t) + X k */2 exp k=1 (-j*2*pi*fk*t)}

We define the two sided spectrum of a signal composed of sinusoids as in above x(t) to be the set of 2N+1 complex phasors and 2N+1 frequencies that specify the signal representation of x(t). The definition of spectrum is just set of pairs { (X o,0), (1/2 X 1,f 1 ), (1/2 X 1 *,- f 1 ) …………} Each pair (1/2X k,f k ) indicates the size and relative phase of the sinusoidal component contributing at frequency f k.

It is common to refer spectrum as the frequency domain representation of the signal. The frequency domain representation simply gives the information required to synthesize the signal. Example: x(t) = cos(200*pi*t -pi/3) + 8cos(500*pi*t+pi/2) Applying inverse Euler’s formula we get x(t) = exp(-j*pi/3) exp(j*2*pi*100*t) + 7 exp(j*pi/3) exp(- j*2*pi*100*t) + 4 exp(j*pi/2) exp(j*2*pi*250*t) + 4 exp(- j*pi/2) exp(- j*2*pi*250*t)

The spectrum of the signal is the set of five rotating phasors represented by { (10,0), (7 exp(- j*pi/3),100), (7 exp( j*pi/3),-100), (4 exp(j*pi/2),250) (4exp(- j*pi/2, -250) } The constant component of the signal, often called as the DC component can be expressed as a complex exponential signal with zero frequency i.e. 10 exp(j*0*t) =10. >> f =[-250,-100,0,100,250]; >> y =[4,7,10,7,4]; >> stem(f,y) >> axis([ ,0 15 ])

Graphical plot of the spectrum A plot of the spectrum contains frequency component represented by a straight line at that frequency. And its length is given by the magnitude of the corresponding phasor. This simple but effective plot makes easy two things 1) The relative location of the frequencies 2) The relative amplitudes of the sinusoidal components.

A general procedure to compute and plot the spectrum for any given signal. It is necessary to express the signals as complex exponentials (by using inverse Euler relation) And then plot the complex amplitude of each of the positive and negative frequency components at the corresponding frequency. In other words the process of analyzing the signal to find its spectral components involves simply looking at an equation and picking off the amplitude, phase and frequency

Beat Notes When two sinusoidal signals of different frequencies are multiplied,then it creates an interesting audio effect called a Beat note. This interesting sound can be best heard by picking one of the frequencies to be very small. Another use of multiplying sinusoids is for Modulation.

To plot spectrum of a signal the signal should be expressed as additive linear combination of complex exponential signal. And a product of two sinusoids can be written as sum of complex exponential signal by using inverse Euler formula. Beat notes are also produced by adding two sinusoids with nearly identical frequencies, e.g., by playing two neighboring piano keys.

As the previous example suggests that the sum of two sinusoids can also be written as a product. Let x(t)=cos(2*pi*f 1 *t) +cos(2*pi*f 2 *t) The two frequencies are expressed as f 1 =f c – f Δ f 2 =f c + f Δ Where fc is the center frequency and f Δ is the deviation frequency. fc = (f 1 +f 2 )/2 f Δ = (f 1 -f 2 )/2.

After the use of Euler formula to the equation we obtain the equation of x(t) as x(t)=2*cos(2*pi*f Δ *t)*cos(2*pi*f c *t) Let f c =200 and f Δ =20 >> t=0:1/2000:0.1; >> x=2*cos(2*pi*20*t).*cos(2*pi*200*t); >> plot(t,x) >> sound(x,2000)

If we listen to such x(t) we can hear that the f Δ Variation causes the signal to fade in and fade out because of the signal envelope falling and rising. This is the phenomenon called Beating of tones in music. If f Δ is reduced to 9Hz we can see that the envelope of the 200Hz tone changes slowly. >> t=0:1/2000:0.1; >> x=2*cos(2*pi*9*t).*cos(2*pi*200*t); >> plot(t,x) >> sound(x,2000)

The time interval between nulls of the envelops is ½(1/f Δ ),so the more closely spaced the sinusoids,the slower the envelope variation. Musicians use this phenomenon as an aid in tuning two instruments to the same pitch. When two notes are close but not identical in frequency, the beating phenomenon is heard. As on pitch is changed to become closer and closer to the other,this effect disappears,and the two instruments are then in tune.

Amplitude Modulation Multiplying two sinusoids is also useful in modulation for communication systems. Amplitude Modulation is the process of multiplying a low frequency signal with a frequency sinusoid. In other words changing the amplitude of the high frequency signal according to the change in the message signal to be transmitted is called as amplitude modulation. Where the high frequency signal is called as the carrier signal and its frequency is called as carrier frequency.

Example say v(t)=(5+2*cos(40*pi*t)) x(t)=v(t)*cos(400*pi*t) >> t=0:1/2000:0.1; >> x=(5+2*cos(40*pi*t)).*cos(2*pi*200*t); >> plot(t,x) The primary difference between this Amplitude modulated signal and the beat signal is that the envelope never goes to zero as the case of beat signal.

In the frequency domain the Am signal spectrum is nearly same as the beat signal,the only difference being a large term at f = f c Where f c is the center frequency. HW: Problem 3.1, Exercise 3.1