# Lab 1. The Fourier Transform

Save this PDF as:

Size: px
Start display at page:

## Transcription

1 Lab 1. The Fourier Transform Introduction In the Communication Labs you will be given the opportunity to apply the theory learned in Communication Systems. Since this is your first time to work in the Communications Lab, the intent of this experiment is to help you become familiar with the lab equipment and Communications Lab procedures. Purpose As a result of performing this lab, the student will understand How to create signals using MatLab, The relationship between the time and frequency domains as shown by performing Fourier analyses of assigned signals, The relationships between sampling rate, aliasing, signal reconstruction, pulse duty cycle, etc., and The differences between Fourier Transform, Discrete Fourier Transform, and Fast Fourier Transform. A secondary purpose of this lab is to introduce you to the tools and procedures that will be required for successful completion of the Communications Labs. The tools include MatLab, LabVIEW, PSpice (a simulation software), and the Lab test equipment. Prelab In this lab you will examine the time and frequency domain representation of a signal using Matlab. Matlab provides the FFT, FFT2, IFFT, IFFT2 and FFTSHIFT functions for converting signals between the time and frequency domains. Templates for the files are available on the Communications Lab Web Site: The Read-Only files with.tem extensions are the ones you are looking for. Rename them to <filename.m> and then, using Windows Explorer files properties, remove the Read-only attribute. To use these files, you will modify functions and variables, then observe the outputs. During the lab you will plot the signals in the time domain using MatLab. In your report, be sure to comment on your results. Make sure you provide a title for each plot, and properly label the x and y axes. An explanation of how to title and label graphs is given later in this procedure. As you plan to represent signals using MatLab, a key item to remember is that MatLab functions work on signals in discrete-time. As a result, you will use the DFT (Discrete Fourier Transform) rather than a continuous function Fourier Transform. You may want Lab 1-1

2 to review the pages which discuss DFT in your Communications Systems text. Matlab uses the Fast Fourier Transform, or FFT, algorithm to implement the DFT. You will find information in the Matlab manual for more specific usage of commands. To learn how to use the fft function type >> help fft at the Matlab command line. FFT Discrete Fourier transform. FFT(X) is the discrete Fourier transform of vector X. If the length of X is a power of two, a fast radix-2 fast-fourier transform algorithm is used. If the length of X is not a power of two, a slower non-power-of-two algorithm is employed. FFT(X,N) is the N-point FFT, padded with zeros if X has less than N points and truncated if it has more. If X is a matrix, the FFT operation is applied to each column. See also IFFT, FFT2, IFFT2, FFTSHIFT. Another useful command, especially after you have created many variables, is whos: Example: >> help whos MatLab will show the usage of built-in function whos : WHOS is a long form of WHO. It lists each variables in the current workspace, together with information about its size, density, complexity, etc. Finally, clear all purges all the variables you have assigned. Prelab1.1: Creating a sine wave 1) Generate a sine wave with a signal frequency, f o, of 1 Hz, and an amplitude of 1 volt peak to peak. A sinusoidal, real-valued signal, is described by three parameters: frequency, amplitude, and phase. The mathematical model of the signal in time is y( t) = A sin( 2 pi f t + φ ), 0 t < T [sec] (1.1) o where A is the amplitude, f o is the signal frequency in Hertz, t is the time, and φ is initial phase. Because MatLab creates waveforms from a series of discrete points, you must generate sufficient samples to make the waveform look like an analog signal. After the waveform is created, the plot command will display an analog-like plot from the discrete data points. Begin creating the sine wave by defining 100 data points over a period of 3 seconds: >> t = 0 : 3*1/100 : 3*(1-1/100) ; Lab 1-2

3 Note: A semicolon prevents the vector from being echoed to the screen after you enter the command. Now you can create the sine wave. For this first sine wave, use f o = 1 [Hz], an initial phase of 0, and amplitude of 1 volt peak-to-peak: >> yt = 4 * sin ( 2 * pi * t + 0 ); Plot will display the waveform you just created: >> plot ( t, yt ) The following two commands label the axes: >> xlabel ( 'time [sec]' ) >> ylabel ( 'amplitude [volt]' ) Finish the plot by providing a title: title ( '1 Hz Sine Wave' ) Now it's your turn. 2) Generate a sinusoidal signal with following definition: A = 10 Vpp, f o = 1000 Hz, sampling time T s = milliseconds, φ = π/4, starting time = 0, and ending time = 2 milliseconds. You can verify the number of data points by using the MatLab built-in functions size or length: >> size(t) or >> length(t) The time sequence is made regarding for the sampling time. Now you can generate a time sequence about the requirement for the array length: >> t = [0: 1000] / fs ; or t = linspace (0, 0.002, 1000 ) ; where fs is a sampling time for the time sequence. Find the value of the last element for the time sequence. Include a plot of this sine wave in your report. Prelab 1.2: The Frequency Spectrum of Sine wave. The mathematical model of a sampled (discrete valued) sine wave is y( t) = A sin( 2 pi f n* T + φ ) for n = 0,1,2,..., N-1 o where, A defines its amplitude, f o its frequency, n is the sample number, φ defines the relative phase at n = 0, and N is the signal length 1) Generate a sine wave. Use the following values: T s = 10 µsec, A = 5 Vpp, f o = 1000 Hz, and 0 t 2 msec. You will need to determine the number of data points by dividing the time period by the sampling time. s Lab 1-3

4 Add AWGN(Additive White Gaussian Noise) to the time domain signal in order to make the output more like the practical output of oscilloscope: >> y = A * sin ( 2*pi*fo*t )+ 0.2*randn ( 1, length ( t ) ); After you create y(t), plot the FFT of y(t), that is, Y(f). You will compare the time domain and frequency domain output of Matlab with those you observe in the lab. You can use a 512-point FFT for better resolution: >> Y = fft ( y, 512 ) ; >> plot ( Y ) You can see that a problem exists due to the fact that the output of the FFT function is a complex valued vector. MATLAB plots complex numbers on the two-dimensional complex plane, which is not the plot you are trying to generate. What is usually significant in communications is the magnitude of the frequency domain representation. You can plot the magnitude of the FFT by using MatLab's abs function: >> plot ( abs ( Y ) ) Matlab sets axes automatically unless a user defines them. To define the x- and y-axis in order to see the plot in detail: >> axis ( [ ] ) Now the graph looks like a frequency domain plot. However it still does not look like the sinc pulse that we would expect to see. This is because MATLAB presents frequency components from f = 0 to f = f s (i.e. from DC to the sampling frequency). However, we are used to seeing the plots range from f = -f s /2 to f = +f s /2. This problem can be overcome by using the fftshift function. To get help on this function type: >> help fftshift Plot the magnitude using the fftshift function to move the dc component to the center of the display: >> plot ( abs ( fftshift ( Y ) ) ) Now the plot is starting to look like the expected Fourier transform. However, the x-axis is still not correct. The x-axis should be scaled to display frequencies from -fs/2 to fs/2. Since the sample period is 10 µsec, the sample frequency is 100 KHz. Create a separate vector that contains frequencies (in units of KHz) for the x-axis as follows: >> L = length ( Y ) ; >> x = 100 * ( ( 0 : L-1 ) / L -.5 ) ; Try the plot again, but this time use the x-axis that you just created: >> plot ( x, fftshift ( abs ( Y ) ) ) This produces a plot of magnitude versus frequency. If you want the output to look more like the display you see with the oscilloscope, instead of using fftshift, you must define the x-axis in the following way: >> f = 100 * ( ( 0 : L/2-1 ) / L ) ; Lab 1-4

5 >> Y = fft ( y, 512 ) ; >> plot ( f, abs ( Y ( 1 : L/2 ) ) To increase the resolution of FFTs, use zero padding. As you see in the usage of fft, Matlab make fft can implement zero padding. If the user defines a larger value than the length of the input signal, the function fft gives the FFT output of a zero padded input signal. This is explained in Appendix D. You can also use a logarithmic scale for the magnitude of spectra. To see the magnified data of magnitude: >> plot ( f, 20 * log10 ( abs ( Y ( 1 : L/2 ) ) ) ) 2) Generate the following signal and plot its frequency spectrum. Determine the appropriate sampling rate and find the significant signal frequency of the waveform from the FFT. y(t) = 1.5sin(2π*50*t) + 5cos(2π 100 t) + 3sin(2π*200*t), 0 t 01. sec Prelab 1.3: The Frequency Spectrum of a pulse Unit impulse signal: x = [ ] corresponds to mathematical definition: δ [n] = 1, n = 0 = 0, n = 1, 2,..., N-1 1) Using the Matlab built-in function fft to see DFTs, plot the magnitude of a DFT. The steps below illustrate how to plot the magnitude. Start by creating a vector x with N = 8 points. You do not need to take the frequency range for the x-axis into consideration when you plot the FFT of the impulse for this procedure. >> x = [ ] ; >> plot ( x ) >> X = fft ( x ) ; >> X = fftshift ( X ) ; Use the Matlab function stem to display discrete data. If you just use the command plot, then the impulse looks like triangular pulse. >> plot ( abs ( X ) ) >> stem ( abs ( X ) ) 2) You can use the Matlab function ifft to reconstruct the time domain signal. The usage of ifft is similar to that of fft: >> X = fft ( x ) >> xi = ifft ( X ) >> stem ( real ( xi ) ) Note: Since there are both real and imaginary components in the FFT, you must specify that you want to graph the real part of xi. 3) Repeat steps 1) and 2) for input signals which are a) all ones: x = [ ] ; Lab 1-5

6 b) shifted impulse: x = [ ] ; c) three point boxcar: x = [ ] ; d) symmetric boxcar: x = [ ] ; Then, observe the each signal output and compare the values of their FFT outputs. You can combine the plots into one graph. To create one plot for the time domain and frequency domain impulse response function use the function subplot. Subplot(m,n,p) or subplot(mnp) can be used to observe two plots in an easier way at the same time in Matlab: >> subplot ( 211 ) >> stem ( x ) >> subplot ( 212 ) >> stem (abs ( X ) ) For more information, type help subplot at Matlab command line. Note that here abs specifies the absolute value, or magnitude, of X. Prelab 1.4: The Frequency Spectrum of Rectangular Pulse 1) In this section of the prelab you will generate the FFT of rectangular wave pulses. Use the m-files that you created in Prelab 1.2 for this procedure. Find the FFTs of the rectangular waves using the same parameters as in Prelab ) Also plot FFTs for rectangular waves with non-symmetrical duty cycles: 20%, 35%, and 75%. Use one plane of the FFT to make the outputs look like those of oscilloscope. In your lab report, comment on the spectral harmonics created by varying the duty cycle. You may need to increase the resolution of your FFTs to be able to distinguish the differences caused by varying the duty cycle. Determine the distance between spectral harmonics. To see more spectral harmonics in the FFTs, you will need to increase the points calculated by the FFT, that is, the input value N for the function fft. 3) Reconstruct the signals using ifft: >> X = fft ( x ) ; >> xi = ifft ( X ) ; Since the output xi is complex value, you must view the real part of xi to be able to compare the re-created signal with the original time domain signal: >> plot ( t, real ( xi ) ) 4) Starting with the rectangular wave sequence, create a sequence with a sampling rate of 32 points per symbol period. a) Generate two complete cycles of the sequence so that you can see two pulses. Find the FFT of this sequence. Lab 1-6

7 b) Reduce the sampling rate to 16 points per period. Find the FFT of this sequence. c) Reduce the sampling rate 8 and 4 points per period and plot the FFTs of these signals. d) Reconstruct each of the above FFTs using IFFT. Use stem to plot each of the reconstructed signals. e) Compare the plots of the reconstructed signals and explain the differences you observe between them. 5) Repeat step 4) for the sine wave that you generated for prelab 2.1, changing the sampling time as explained below. Complete this procedure after you generate a sine wave of the 64 data points for one cycle. >> newy1 = y ( 1:2:128 ) ; % 32-points for the first sequence >> newy2 = y ( 1:4:128 ) ; % 16-points for the second sequence >> newy3 = y ( 1:8:128 ) ; % 8-points for the third sequence >> newy4 = y( 1:16:128 ) ; % 4-points for the fourth sequence Lab 1-7

8 Lab Parts required for this lab: No components required for Lab q 1.1. The spectrum of a sine wave, and the effect of aliasing (From the HP Product Note : FFT Lab Experiments Notebook - reproduced by permission from Hewlett Packard.) 1. Connect the function generator to channel 1 of the oscilloscope. Select a 2 V pp (i.e., 1 V pp displayed on the function generator) sinusoidal signal with a frequency of 1 KHz. Use "Autoscale" to display the waveform. 2. Depress the "+/-" key on the oscilloscope and then select the "On" entry under the "Function 2" menu. This will display the FFT of the time-domain waveform. Next, eliminate the trace of the waveform from the screen by depressing the "1" key and then selecting "Off" under the "1" menu entry. Use the "Time/Div" control to select an effective sampling rate of 10 KSa/s (thousand samples per second). 3. Adjust the settings of the FFT. Select the "Menu" entry under the "Function 2" menu. Select the "FFT Menu" entry and then "Autoscale FFT". Record the frequency span under "Freq Span" of the displayed spectra. Explain the relationship between this value and the effective sampling rate. 4. Using the signal's generator frequency control, progressively increase the frequency of the signal to roughly 4 KHz, allowing the FFT display to stabilize at several points along the way. You should see the peak lobe of the FFT display move to the right as the signal frequency is increased. Using "Cursors" "Find Peaks", complete the following table: Frequency Generator frequency (KHz) Cursor f1 frequency (KHz) Continue to slowly increase the sinusoid's frequency. Aliasing occurs as the frequency of the sinusoid exceeds 5 KHz. As the frequency is swept from 5 KHz to 10 KHz, the main-lobe moves to left on the display. As the sinusoid's frequency is swept from 10 KHz to 15 KHz, the main lobe moves to the right on the FFT display. Complete the following table: Frequency Generator frequency (KHz) Cursor f1 frequency (KHz) Lab 1-8

9 6. Assuming ideal sampling and using the theoretical spectra of a sine wave, plot the spectra of the sampled waveform when its frequency is 2.5, 6, and 11 KHz and the sampling frequency is 10 KHz. What values would show the reading for cursor f1 when the frequency of the waveform is 53 KHz? 78 KHz? Create spectral plots to display your conclusions. 1.2 Analyzing square and rectangular waves. In this section you will create a square wave, and then observe changes in the output spectrum as the duty cycle of the square wave is changed. 1. Connect a 2 V pp (actual value) square wave with a frequency of 10 KHz to channel 1 of the oscilloscope. Use "Autoscale" to display the waveform. 2. Activate the FFT function and turn off channel 1 as in step 2 of the previous section. Use the "Time/Div" knob to select a sampling rate of 500 KSa/s. Autoscale the FFT as described in step 3 of section 2.1. Notice that the amplitude of the spectral lines decreases monotonically. 3. Decrease the sampling rate to 200 KSa/s. At this point you should see 5 spectral lines. Using "Cursors" and "Find Peaks" determine: f1 frequency (KHz) f2 frequency (KHz) frequency (KHz) 4. When the duty cycle is changed from 50% (square wave), the signal becomes a periodic pulse instead of a square wave form, causing the envelope of the spectra to take on the shape of the sinc function. On the function generator, change the duty cycle of the signal to 20% by depressing the keys "Shift" "Offset" and then either by rotating the knob or by entering the number using "Enter Number". 5. Notice that the amplitude of the spectral components is no longer decreasing monotonically, and that there is a gap between the fourth and fifth spectral lines. Using "Cursors" and "Find Peaks", complete the table: f1 frequency (KHz) f2 frequency (KHz) frequency (KHz) Also, determine the frequency which corresponds to the missing pulse, i.e., which would occur in the separation between the fourth and fifth spectral lines. Select both f1 f2 as active cursors (both will highlighted), then adjust f1 to coincide with the fourth spectral line. f2 will be at the frequency of the missing component. Lab 1-9

10 6. Repeat step 5, with the duty cycle set to 25%. Notice that the number of spectral lines between gaps has changed. What is the relationship between the frequency of the missing spectral line, the period of the square wave, and the duty cycle of the square wave? 7. Repeat step 5 with the duty cycle set to 75%. Compare these results with those obtained in steps 5 and 6. Explain the results you observed. 8. Calculate the frequencies of the mission spectral lines for a duty cycle of 40%? Verify your answer by displaying the FFT on the oscilloscope. Hint: Recall that the envelope of the spectrum must be sinc shaped, and observe the display carefully. Report In this lab you analyzed sine and square/rectangular waves in the time domain and in the frequency domain. You also observed aliasing. 1. Answer the questions from the Lab and the Prelab. 2. Define a rule for preventing/detecting aliasing Don't forget to turn in a diskette containing your Matlab equations with your lab report. Lab 1-10

### SAMPLE: EXPERIMENT 10 Bandpass Filter / Fourier Analysis

SAMPLE: EXPERIMENT 10 Bandpass Filter / Fourier Analysis ---------------------------------------------------------------------------------------------------- This experiment is an excerpt from: Electric

### Fast Fourier Transforms and Power Spectra in LabVIEW

Application Note 4 Introduction Fast Fourier Transforms and Power Spectra in LabVIEW K. Fahy, E. Pérez Ph.D. The Fourier transform is one of the most powerful signal analysis tools, applicable to a wide

### Lab 3 - Using the Agilent 54621A Digital Oscilloscope as a Spectrum Analyzer Electronics Fundamentals using the Agilent 54621A Oscilloscope

Lab 3 - Using the Agilent 54621A Digital Oscilloscope as a Spectrum Analyzer Electronics Fundamentals using the Agilent 54621A Oscilloscope By: Walter Banzhaf University of Hartford Ward College of Technology

### EELE445 - Lab 2 Pulse Signals

EELE445 - Lab 2 Pulse Signals PURPOSE The purpose of the lab is to examine the characteristics of some common pulsed waveforms in the time and frequency domain. The repetitive pulsed waveforms used are

### Chapter 3 Discrete-Time Fourier Series. by the French mathematician Jean Baptiste Joseph Fourier in the early 1800 s. The

Chapter 3 Discrete-Time Fourier Series 3.1 Introduction The Fourier series and Fourier transforms are mathematical correlations between the time and frequency domains. They are the result of the heat-transfer

### INTRODUCTION TO ARBITRARY/FUNCTION GENERATOR

Page 1 of 7 INTRODUCTION TO ARBITRARY/FUNCTION GENERATOR BEFORE YOU BEGIN PREREQUISITE LABS Introduction to MATLAB Introduction to Oscilloscope EXPECTED KNOWLEDGE Ohm s law & Kirchhoff s laws Operation

### Laboratory Assignment 4. Fourier Sound Synthesis

Laboratory Assignment 4 Fourier Sound Synthesis PURPOSE This lab investigates how to use a computer to evaluate the Fourier series for periodic signals and to synthesize audio signals from Fourier series

### The Oscilloscope, the Signal Generator and Your Filter s Test Setup SGM 5/29/2013

The Oscilloscope, the Signal Generator and Your Filter s Test Setup SGM 5/29/2013 1. Oscilloscope A multimeter is an appropriate device to measure DC voltages, however, when a signal alternates at relatively

### I. Purpose. 1. Introduce the measurement of sinusoids (ac voltages) using the oscilloscope 2. Introduce the operation of the function generator

Updated 17 AUG 2016 Name: Section: I. Purpose. 1. Introduce the measurement of sinusoids (ac voltages) using the oscilloscope 2. Introduce the operation of the function generator II. Equipment. Keysight

### Discrete Fourier Series & Discrete Fourier Transform Chapter Intended Learning Outcomes

Discrete Fourier Series & Discrete Fourier Transform Chapter Intended Learning Outcomes (i) Understanding the relationships between the transform, discrete-time Fourier transform (DTFT), discrete Fourier

### EXPERIMENT 6 CLIPPING AND CLAMPING DIODE CIRCUITS

EXPERIMENT 6 CLIPPING AND CLAMPING DIODE CIRCUITS OBJECTIVES To understand the theory of operation of the clipping and clamping diode circuits. To design wave shapes that meet different circuits needs.

### Lab #9: AC Steady State Analysis

Theory & Introduction Lab #9: AC Steady State Analysis Goals for Lab #9 The main goal for lab 9 is to make the students familar with AC steady state analysis, db scale and the NI ELVIS frequency analyzer.

### Chapter 5. Basic Filters

Chapter 5 Basic Filters 39 CHAPTER 5. BASIC FILTERS 5.1 Pre-Lab The answers to the following questions are due at the beginning of the lab. If they are not done at the beginning of the lab, no points will

### Electrical Resonance

Electrical Resonance (R-L-C series circuit) APPARATUS 1. R-L-C Circuit board 2. Signal generator 3. Oscilloscope Tektronix TDS1002 with two sets of leads (see Introduction to the Oscilloscope ) INTRODUCTION

### 10: FOURIER ANALYSIS OF COMPLEX SOUNDS

10: FOURIER ANALYSIS OF COMPLEX SOUNDS Amplitude, loudness, and decibels Several weeks ago we found that we could synthesize complex sounds with a particular frequency, f, by adding together sine waves

### University of Rhode Island Department of Electrical and Computer Engineering ELE 436: Communication Systems. FFT Tutorial

University of Rhode Island Department of Electrical and Computer Engineering ELE 436: Communication Systems FFT Tutorial 1 Getting to Know the FFT What is the FFT? FFT = Fast Fourier Transform. The FFT

### The Fourier Analysis Tool in Microsoft Excel

The Fourier Analysis Tool in Microsoft Excel Douglas A. Kerr Issue March 4, 2009 ABSTRACT AD ITRODUCTIO The spreadsheet application Microsoft Excel includes a tool that will calculate the discrete Fourier

### Experiment 3: Double Sideband Modulation (DSB)

Experiment 3: Double Sideband Modulation (DSB) This experiment examines the characteristics of the double-sideband (DSB) linear modulation process. The demodulation is performed coherently and its strict

### ENGR 210 Lab 11 Frequency Response of Passive RC Filters

ENGR 210 Lab 11 Response of Passive RC Filters The objective of this lab is to introduce you to the frequency-dependent nature of the impedance of a capacitor and the impact of that frequency dependence

### SGN-1158 Introduction to Signal Processing Test. Solutions

SGN-1158 Introduction to Signal Processing Test. Solutions 1. Convolve the function ( ) with itself and show that the Fourier transform of the result is the square of the Fourier transform of ( ). (Hints:

### B3. Short Time Fourier Transform (STFT)

B3. Short Time Fourier Transform (STFT) Objectives: Understand the concept of a time varying frequency spectrum and the spectrogram Understand the effect of different windows on the spectrogram; Understand

### Fourier Theory-Frequency Domain and Time Domain

Name Date ----------~----------------- ------------------ Fourier Theory-Frequency Domain and Time Domain OBJECTVES 1. Learn how a square wave can be produced from a series of sine waves at different frequencies

### 2 Background: Fourier Series Analysis and Synthesis

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL and COMPUTER ENGINEERING ECE 2025 Spring 2001 Lab #11: Design with Fourier Series Date: 3 6 April 2001 This is the official Lab #11 description. The

### RightMark Audio Analyzer

RightMark Audio Analyzer Version 2.5 2001 http://audio.rightmark.org Tests description 1 Contents FREQUENCY RESPONSE TEST... 2 NOISE LEVEL TEST... 3 DYNAMIC RANGE TEST... 5 TOTAL HARMONIC DISTORTION TEST...

### Fourier Analysis. Nikki Truss. Abstract:

Fourier Analysis Nikki Truss 09369481 Abstract: The aim of this experiment was to investigate the Fourier transforms of periodic waveforms, and using harmonic analysis of Fourier transforms to gain information

### Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev LAB 1 - Introduction to USRP - 1-1 Introduction In this lab you will use software reconfigurable RF hardware from National

Measurement Lab Fourier Analysis Last Modified 9/5/06 Any time-varying signal can be constructed by adding together sine waves of appropriate frequency, amplitude, and phase. Fourier analysis is a technique

### Using GNU Radio Companion: Tutorial 4. Using Complex Signals and Receiving SSB

Using GNU Radio Companion: Tutorial 4. Using Complex Signals and Receiving SSB This tutorial is a guide to receiving SSB signals. It will also illustrate some of the properties of complex (analytic) signals

### Analog and Digital Signals, Time and Frequency Representation of Signals

1 Analog and Digital Signals, Time and Frequency Representation of Signals Required reading: Garcia 3.1, 3.2 CSE 3213, Fall 2010 Instructor: N. Vlajic 2 Data vs. Signal Analog vs. Digital Analog Signals

### ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

WHAT IS AN FFT SPECTRUM ANALYZER? ANALYZER BASICS The SR760 FFT Spectrum Analyzer takes a time varying input signal, like you would see on an oscilloscope trace, and computes its frequency spectrum. Fourier's

### EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS

1 EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS The oscilloscope is the most versatile and most important tool in this lab and is probably the best tool an electrical engineer uses. This outline guides

### Lab 3: Introduction to Data Acquisition Cards

Lab 3: Introduction to Data Acquisition Cards INTRODUCTION: In this lab, you will be building a VI to display the input measured on a channel. However, within your own VI you will use LabVIEW supplied

### Lab 4 Sampling, Aliasing, FIR Filtering

47 Lab 4 Sampling, Aliasing, FIR Filtering This is a software lab. In your report, please include all Matlab code, numerical results, plots, and your explanations of the theoretical questions. The due

### Signal Processing First Lab 01: Introduction to MATLAB. 3. Learn a little about advanced programming techniques for MATLAB, i.e., vectorization.

Signal Processing First Lab 01: Introduction to MATLAB Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in the Pre-Lab section

### Lab 4 Band Pass and Band Reject Filters

Lab 4 Band Pass and Band Reject Filters Introduction During this lab you will design and build three filters. First you will build a broad-band band-pass filter by cascading the high-pass and low-pass

### 070905/ThomasMunther Halmstad University School of Information Science, Computer and Electrical Engineering

795/ThomasMunther Halmstad University School of Information Science, Computer and Electrical Engineering Simple exercises in Matlab I Start matlab by clicking the matlab icon! Enter the window named command

### Laboratory #2: AC Circuits, Impedance and Phasors Electrical and Computer Engineering EE University of Saskatchewan

Authors: Denard Lynch Date: Aug 30 - Sep 28, 2012 Sep 23, 2013: revisions-djl Description: This laboratory explores the behaviour of resistive, capacitive and inductive elements in alternating current

### Lab 1: The Digital Oscilloscope

PHYSICS 220 Physical Electronics Lab 1: The Digital Oscilloscope Object: To become familiar with the oscilloscope, a ubiquitous instrument for observing and measuring electronic signals. Apparatus: Tektronix

### CM2202: Scientific Computing and Multimedia Applications Fourier Transform 1: Digital Signal and Image Processing Fourier Theory

CM2202: Scientific Computing and Multimedia Applications Fourier Transform 1: Digital Signal and Image Processing Fourier Theory Prof. David Marshall School of Computer Science & Informatics Fourier Transform

### Figure 1. Front Panel of Function Generator

Equipment Introduction: Part I - Introduction to the Function Generator Overview: The function generator is used to generate a wide range of alternating-current (AC) signals. A diagram of the Leader LFG-1300S

### 9 Measurements on Transmission Lines

Measurements on Transmission Lines Power and Attenuation Measurements Although a variety of instruments measure power, the most accurate instrument is a power meter and a power sensor. The sensor is an

### ADC Familiarization. Dmitry Teytelman and Dan Van Winkle. Student name:

Dmitry Teytelman and Dan Van Winkle Student name: RF and Digital Signal Processing US Particle Accelerator School 15 19 June, 2009 June 16, 2009 Contents 1 Introduction 2 2 Exercises 2 2.1 Measuring 48

### Frequency Domain Analysis

Exercise 4. Frequency Domain Analysis Required knowledge Fourier-series and Fourier-transform. Measurement and interpretation of transfer function of linear systems. Calculation of transfer function of

### Auto-Tuning Using Fourier Coefficients

Auto-Tuning Using Fourier Coefficients Math 56 Tom Whalen May 20, 2013 The Fourier transform is an integral part of signal processing of any kind. To be able to analyze an input signal as a superposition

### UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE. Department of Electrical and Computer Engineering

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering Experiment No. 5 - Gain-Bandwidth Product and Slew Rate Overview: In this laboratory the student will explore

### Laboratory 4: Feedback and Compensation

Laboratory 4: Feedback and Compensation To be performed during Week 9 (Oct. 20-24) and Week 10 (Oct. 27-31) Due Week 11 (Nov. 3-7) 1 Pre-Lab This Pre-Lab should be completed before attending your regular

### Design the prototype (Week 2 3) 2010 Oregon State University ECE 323 Manual Page 15

SECTION TWO Design the prototype (Week 2 3) 2010 Oregon State University ECE 323 Manual Page 15 SECTION OVERVIEW In this section, you will design the schematic for your prototype USB powered audio amplifier.

### Introduction to Digital Signals using MATLAB

Linguistics 582 Louis Goldstein Introduction to Digital Signals using MATLAB I. Digital representation of audio signals An audio signal can be represented digitally as a sequence of sample values, each

### R f. V i. ET 438a Automatic Control Systems Technology Laboratory 4 Practical Differentiator Response

ET 438a Automatic Control Systems Technology Laboratory 4 Practical Differentiator Response Objective: Design a practical differentiator circuit using common OP AMP circuits. Test the frequency response

### Lecture 1-4: Harmonic Analysis/Synthesis

Lecture 1-4: Harmonic Analysis/Synthesis Overview 1. Classification of waveform shapes: we can broadly divide waveforms into the classes periodic (repeat in time) and aperiodic (don't repeat in time).

### Electrical Resonance RLC circuits

Purpose: To investigate resonance phenomena that result from forced motion near a system's natural frequency. In this case the system will be a variety of RLC circuits. Theory: You are already familiar

### Part 2: Receiver and Demodulator

University of Pennsylvania Department of Electrical and Systems Engineering ESE06: Electrical Circuits and Systems II Lab Amplitude Modulated Radio Frequency Transmission System Mini-Project Part : Receiver

### PHYSICS 176 UNIVERSITY PHYSICS LAB II. Experiment 4. Alternating Current Measurement

PHYSICS 176 UNIVERSITY PHYSICS LAB II Experiment 4 Alternating Current Measurement Equipment: Supplies: Oscilloscope, Function Generator. Filament Transformer. A sine wave A.C. signal has three basic properties:

### The R-C series circuit

School of Engineering Department of Electrical and Computer Engineering 332:224 Principles of Electrical Engineering II Laboratory Experiment 4 The C series circuit 1 Introduction Objectives To study the

### Matlab GUI for WFB spectral analysis

Matlab GUI for WFB spectral analysis Jan Nováček Department of Radio Engineering K13137, CTU FEE Prague Abstract In the case of the sound signals analysis we usually use logarithmic scale on the frequency

### Frequency Response of FIR Filters

Frequency Response of FIR Filters Chapter 6 This chapter continues the study of FIR filters from Chapter 5, but the emphasis is frequency response, which relates to how the filter responds to an input

### Data Communications Prof. Ajit Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture # 03 Data and Signal

(Refer Slide Time: 00:01:23) Data Communications Prof. Ajit Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture # 03 Data and Signal Hello viewers welcome

### The Fast Fourier Transform (FFT) and MATLAB Examples

The Fast Fourier Transform (FFT) and MATLAB Examples Learning Objectives Discrete Fourier transforms (DFTs) and their relationship to the Fourier transforms Implementation issues with the DFT via the FFT

### Fourier Analysis. A cosine wave is just a sine wave shifted in phase by 90 o (φ=90 o ). degrees

Fourier Analysis Fourier analysis follows from Fourier s theorem, which states that every function can be completely expressed as a sum of sines and cosines of various amplitudes and frequencies. This

### Digital to Analog Conversion Using Pulse Width Modulation

Digital to Analog Conversion Using Pulse Width Modulation Samer El-Haj-Mahmoud Electronics Engineering Technology Program Texas A&M University Instructor s Portion Summary The purpose of this lab is to

### Introduction to Oscilloscopes Lab Experiment

A collection of lab exercises to introduce you to the basic controls of a digital oscilloscope in order to make common electronic measurements. Revision 1.0 Page 1 of 18 Table of Contents LABORATORY EXPERIMENT

### Moving Average Filters

CHAPTER 15 Moving Average Filters The moving average is the most common filter in DSP, mainly because it is the easiest digital filter to understand and use. In spite of its simplicity, the moving average

### Analysis/resynthesis with the short time Fourier transform

Analysis/resynthesis with the short time Fourier transform summer 2006 lecture on analysis, modeling and transformation of audio signals Axel Röbel Institute of communication science TU-Berlin IRCAM Analysis/Synthesis

### MATRIX TECHNICAL NOTES

200 WOOD AVENUE, MIDDLESEX, NJ 08846 PHONE (732) 469-9510 FAX (732) 469-0418 MATRIX TECHNICAL NOTES MTN-107 TEST SETUP FOR THE MEASUREMENT OF X-MOD, CTB, AND CSO USING A MEAN SQUARE CIRCUIT AS A DETECTOR

### Spectral Analysis Using a Deep-Memory Oscilloscope Fast Fourier Transform (FFT)

Spectral Analysis Using a Deep-Memory Oscilloscope Fast Fourier Transform (FFT) For Use with Infiniium 54830B Series Deep-Memory Oscilloscopes Application Note 1383-1 Table of Contents Introduction........................

### SR2000 FREQUENCY MONITOR

SR2000 FREQUENCY MONITOR THE FFT SEARCH FUNCTION IN DETAILS FFT Search is a signal search using FFT (Fast Fourier Transform) technology. The FFT search function first appeared with the SR2000 Frequency

### RF Measurements Using a Modular Digitizer

RF Measurements Using a Modular Digitizer Modern modular digitizers, like the Spectrum M4i series PCIe digitizers, offer greater bandwidth and higher resolution at any given bandwidth than ever before.

### In modern electronics, it is important to be able to separate a signal into different

Introduction In modern electronics, it is important to be able to separate a signal into different frequency regions. In analog electronics, four classes of filters exist to process an input signal: low-pass,

### Fourier Series Analysis

School of Engineering Department of Electrical and Computer Engineering 332:224 Principles of Electrical Engineering II aboratory Experiment 6 Fourier Series Analysis 1 Introduction Objectives The aim

### EE 442. Lab Experiment No. 1 1/12/2007. Introduction to the Function Generator and the Oscilloscope

EE 442 Lab Experiment No. 1 1/12/2007 Introduction to the Function Generator and the Oscilloscope 1 I. INTRODUCTION EE 442 Laboratory Experiment 1 The purpose of this lab is to learn the basic operation

### EXPERIMENT 4:- MEASUREMENT OF REACTANCE OFFERED BY CAPACITOR IN DIFFERENT FREQUENCY FOR R-C CIRCUIT

Kathmandu University Department of Electrical and Electronics Engineering BASIC ELECTRICAL LAB (ENGG 103) EXPERIMENT 4:- MEASUREMENT OF REACTANCE OFFERED BY CAPACITOR IN DIFFERENT FREQUENCY FOR R-C CIRCUIT

### The Algorithms of Speech Recognition, Programming and Simulating in MATLAB

FACULTY OF ENGINEERING AND SUSTAINABLE DEVELOPMENT. The Algorithms of Speech Recognition, Programming and Simulating in MATLAB Tingxiao Yang January 2012 Bachelor s Thesis in Electronics Bachelor s Program

### Charge and Discharge of a Capacitor

Charge and Discharge of a Capacitor INTRODUCTION Capacitors 1 are devices that can store electric charge and energy. Capacitors have several uses, such as filters in DC power supplies and as energy storage

### Design of FIR Filters

Design of FIR Filters Elena Punskaya www-sigproc.eng.cam.ac.uk/~op205 Some material adapted from courses by Prof. Simon Godsill, Dr. Arnaud Doucet, Dr. Malcolm Macleod and Prof. Peter Rayner 68 FIR as

### ECE438 - Laboratory 9: Speech Processing (Week 2)

Purdue University: ECE438 - Digital Signal Processing with Applications 1 ECE438 - Laboratory 9: Speech Processing (Week 2) October 6, 2010 1 Introduction This is the second part of a two week experiment.

### Notes for ORCAD PSpice ECE 65 Created by: Kristi Tsukida (Spring 2006) Edited by: Eldridge Alcantara (Winter 2009) Updated (Fall 2009)

Notes for ORCAD PSpice ECE 65 Created by: Kristi Tsukida (Spring 2006) Edited by: Eldridge Alcantara (Winter 2009) Updated (Fall 2009) 1 OVERVIEW This tutorial will teach you all you need to know about

### Lab 2: Fourier Analysis

Lab : Fourier Analysis 1 Introduction (a) Refer to Appendix D for photos of the apparatus Joseph Fourier (1768-1830) was one of the French scientists during the time of Napoleon who raised French science

### Using MATLAB to Solve Differential Equations

ECE 350 Linear Systems I MATLAB Tutorial #3 Using MATLAB to Solve Differential Equations This tutorial describes the use of MATLAB to solve differential equations. Two methods are described. The first

### The Calculation of G rms

The Calculation of G rms QualMark Corp. Neill Doertenbach The metric of G rms is typically used to specify and compare the energy in repetitive shock vibration systems. However, the method of arriving

### High Quality Integrated Data Reconstruction for Medical Applications

High Quality Integrated Data Reconstruction for Medical Applications A.K.M Fazlul Haque Md. Hanif Ali M Adnan Kiber Department of Computer Science Department of Computer Science Department of Applied Physics,

### ENGR 210 Lab 4 Use of the Function Generator & Oscilloscope

ENGR 210 Lab 4 Use of the Function Generator & Oscilloscope In this laboratory you will learn to use two additional instruments in the laboratory, namely the function/arbitrary waveform generator, which

### ELEC 2020 EXPERIMENT 6 Zener Diodes and LED's

ELEC 2020 EXPERIMENT 6 Zener Diodes and LED's Objectives: The experiments in this laboratory exercise will provide an introduction to diodes. You will use the Bit Bucket breadboarding system to build and

### Lab 3: Sounds in MATLAB

Lab 3: Sounds in MATLAB EE299 Winter 2008 Due: In lab, on or before 1 February 2008. Objectives In this lab we will cover: Representing, playing and plotting sound signals in MATLAB If statements and functions

### A Primer for the ESyst Analog Systems ilab James Hardison - Document version 1.0

A Primer for the ESyst Analog Systems ilab James Hardison - hardison@mit.edu Document version 1.0 This document is intended as an introduction to the ESyst Analog Systems ilab. The functionality of this

### MATERIALS. Multisim screen shots sent to TA.

Page 1/8 Revision 0 9-Jun-10 OBJECTIVES Learn new Multisim components and instruments. Conduct a Multisim transient analysis. Gain proficiency in the function generator and oscilloscope. MATERIALS Multisim

### CIRCUITS LABORATORY EXPERIMENT 3. AC Circuit Analysis

CIRCUITS LABORATORY EXPERIMENT 3 AC Circuit Analysis 3.1 Introduction The steady-state behavior of circuits energized by sinusoidal sources is an important area of study for several reasons. First, the

### ECE 2201 PRELAB 2 DIODE APPLICATIONS

ECE 2201 PRELAB 2 DIODE APPLICATIONS P1. Review this experiment IN ADVANCE and prepare Circuit Diagrams, Tables, and Graphs in your notebook, prior to coming to lab. P2. Hand Analysis: (1) For the zener

### Department of Electronics and Communication Engineering 1

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING III Year ECE / V Semester EC 6502 PRINCIPLES OF DIGITAL SIGNAL PROCESSING QUESTION BANK Department of

### International Journal of Advanced Research in Computer Science and Software Engineering

Volume 2, Issue 8, August 2012 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Development of

### Filters and Waveform Shaping

Physics 333 Experiment #3 Fall 211 Filters and Waveform Shaping Purpose The aim of this experiment is to study the frequency filtering properties of passive (R, C, and L) circuits for sine waves, and the

### 9: FILTERS, ANALYSIS OF PERIODIC SOUNDS

9: FILTERS, ANALYSIS OF PERIODIC SOUNDS A. Introduction Some weeks you synthesized (put together) complex periodic signals with harmonic components. It is also possible to analyze (take apart) a complex

### DIODE CIRCUITS LABORATORY. Fig. 8.1a Fig 8.1b

DIODE CIRCUITS LABORATORY A solid state diode consists of a junction of either dissimilar semiconductors (pn junction diode) or a metal and a semiconductor (Schottky barrier diode). Regardless of the type,

### FIR Filter Design. FIR Filters and the z-domain. The z-domain model of a general FIR filter is shown in Figure 1. Figure 1

FIR Filters and the -Domain FIR Filter Design The -domain model of a general FIR filter is shown in Figure. Figure Each - box indicates a further delay of one sampling period. For example, the input to

### Digital image processing

Digital image processing The two-dimensional discrete Fourier transform and applications: image filtering in the frequency domain Introduction Frequency domain filtering modifies the brightness values

### Implementation of FIR Filter using Adjustable Window Function and Its Application in Speech Signal Processing

International Journal of Advances in Electrical and Electronics Engineering 158 Available online at www.ijaeee.com & www.sestindia.org/volume-ijaeee/ ISSN: 2319-1112 Implementation of FIR Filter using

### Advantages of High Resolution in High Bandwidth Digitizers

Advantages of High Resolution in High Bandwidth Digitizers Two of the key specifications of digitizers are bandwidth and amplitude resolution. These specifications are not independent - with increasing

### EE 311: Electrical Engineering Junior Lab Active Filter Design (Sallen-Key Filter)

EE 311: Electrical Engineering Junior Lab Active Filter Design (Sallen-Key Filter) Objective The purpose of this experiment is to design a set of second-order Sallen-Key active filters and to investigate

### " = R # C. Create your sketch so that Q(t=τ) is sketched above the delineated tic mark. Your sketch. 1" e " t & (t) = Q max

Physics 241 Lab: Circuits DC Source http://bohr.physics.arizona.edu/~leone/ua/ua_spring_2010/phys241lab.html Name: Section 1: 1.1. Today you will investigate two similar circuits. The first circuit is