Fourier Signal Analysis

Size: px
Start display at page:

Download "Fourier Signal Analysis"

Transcription

1 Part 1B Experimental Engineering Integrated Coursework Location: Baker Building South Wing Mechanics Lab Experiment A4 Signal Processing Fourier Signal Analysis Please bring the lab sheet from 1A experiment 7 with you to this lab. 1 Aims & Objectives This experiment introduces some practical applications of the theory covered in Part 1 Maths and Signals. It introduces software spectral analysis (using Octave/Matlab) and uses this to investigate the response of a vibrating system. Issues of choice of sample rate and aliasing distortion will be addressed. 2 Background This experiment is part of the integrated coursework project on the behaviour of buildings in earthquakes. Part 1A experiment 7 looked at the vibration modes and natural frequencies of a model structure. In many experimental situations raw data is captured as a series of time-varying signals (such as force, or acceleration). Very often, this data will require some form of processing before it can be interpreted. This lab session looks at one very common type of transformation: converting signals from the time domain into the frequency domain with a Fourier transform. Fourier series, covered in Part 1 Mathematics, are a means of accomplishing this conversion by decomposing a periodic signal into sine waves. Fourier transforms extend this idea further. 3 Introduction In this experiment, you will output various signals from a PC to the model structure (via the analogue/digital converter and amplifier). Simultaneously, the output from the accelerometers and force transducer are logged on the PC. Once logged, you can process these signals; for example, converting them into the frequency domain. Fourier transforms are not the only means of transforming time-domain signals into the frequency domain, but they are the most widely used. This experiment covers the use of Fourier transforms on digital data, i.e. a data signal composed of discrete points (as opposed to the series covered in 1A, which operated on a continuous signal). It comprises the following activities: 1. Use Octave/Matlab to capture signals from the experimental rig (in response to a sine wave) and display them on a PC (in the time domain). Comment on the form of these signals. 1

2 2. Use a Fourier transform to view these signals in the frequency domain, taking into account the length of the sample used. 3. Repeat steps 1 and 2 for a signal composed of two sine waves. 4. Compute the transfer function of the system in response to a sine-sweep, sampling above the Nyquist rate of the system. 5. Investigate the effect of aliasing by altering the sample rate. 6. Construct a periodic noise input signal as a summation of sinusoids and analyse the response of the system to this input. 7. Write a DFT algorithm and compare the time this takes to run compared to the in-built FFT. 4 Procedure 4.1 Setup This section outlines the general procedure for sending a signal to the card and capturing data from it. You will have to adapt it slightly for each objective. At any point, you can type help [command] to get a short description of any Matlab command (including built-in ones). A page is attached at the end of this lab sheet which gives an outline of the specific functions available for this lab. 4.2 Setting up Matlab The software in this experiment makes use of the functions built into Matlab s data acquisition toolbox. Some extra functions have been written specifically for this lab. First, logon to the PC using your teaching system username and password. To use the extra functions, start Matlab, then change its working directory (the box at the top in the centre) to Z:/1B A4. If for any reason you need to get these files again, they can be downloaded from clicking on the link to Div F IB laboratory information on To start the experiment and set up the A/D converter card, start Matlab and run the command initialise. This sets up the converter card and creates two Matlab objects in and out. Call the function setiorates([time],[sampling rate]); this sets the card to sample for the desired time (in seconds) and sampling frequency in Hz (for example, setiorates(10,300) ) and also creates the variable t, used in generating the data signal. NB it is important to run this command before generating the data signal, so the signal has the right sampling frequency. Create an output signal data out to send to the card. For example, the command data out = sine(5) will create a sine wave of frequency 5 Hz and store it in the data out variable. The command run takes the data stored in data out and sends this to the card. It stores the input data (signal sent to the card from the structure) as the vectors data chn (where n is the number of the channel on the card). The script analyse1 takes the input and output data and displays them on the screen. 2

3 5 Experiment 5.1 Objective 1 Carry out the above procedure using a single sine wave with appropriate times and sampling rates. For now, you are going to study the system in its harmonic state, so the time should be long enough to let any initial transient response decay (this can be determined by looking at the signal recorded after the test). To avoid a phenomenon called aliasing, a suggested sampling rate is 300 Hz. (Hint: for an appropriate sine wave frequency to use, look at the typical range of frequencies analysed in the 1A lab.) Make yourself familiar with the operation of the card and the associated Matlab functions. Investigate using data out =sine(5) and data out=sine(10) as the data sent to the card. Plot the results of the input and output signals on screen. (You can do this either using Matlab s built in plot functions, which gives you more control over the output, or the analyse1 function which does most of it for you with appropriate settings.) Repeat this using a superposition of two sine waves as the signal (e.g., data out = sine(5,10) ). The response of different floors may be observed by changing the channel selector on the amplifier to look at the response of the structure, channel 1 should be set to the force transducer, though you can also experiment with other combinations later. You may notice that the system runs for longer than expected: this is deliberate. The run function actually sends the data twice and logs the response during the second set. This is so that the initial transient response has time to die away and the signal analysed is (nearly) periodic. You can look at the run function to see the details if you wish. Sketch the responses to the single sine wave and the superposition of two sine waves, and comment on any noteworthy features: amplitude amplitude time time 5.2 Objectives 2 & 3 Objective 1 looked at the signals in the time domain, here we look at the signals in the frequency domain. Use the function analyse2 to plot the discrete Fourier transforms of the generated signals (eg 3

4 sine(5),sine(10) and sine(5,10)) and their responses. This function takes the Fourier transform of each signal and scales and plots the results. Look at the position of the peaks in response to a single sine wave and a combination of sine waves also try it with more than two. You should also comment on the amplitudes of the peaks in the spectrum of the response. You will probably notice that there are a number of artefacts present in the transform that you may not expect from the initial signal - these are explored in more detail in the extended exercise on windowing. Some of these are due to a process known as spectral leakage; this occurs as the signal is only sampled for a finite time. Sketch the transforms of the force and the acceleration responses of the structure, and comment on the significance of the peaks: Fourier transform (channel 1) Fourier transform (channel 2) 5.3 Objective 4 Make sure you are familiar with the previous sections and the operation of the system. Use this knowledge to record the transfer function of the system in response to a sine sweep. Set the sampling time to a suitable time to allow initial transients to decay and the sampling rate to a suitable value, ensuring that the sampling rate is at or above the Nyquist frequency (twice the highest frequency of interest).the command sweep will generate the output data for you, and transfer will compute the transfer function of the building (i.e. channel 2 / channel 1. How does this compare with the plot obtained in 1A?). Compare the response-frequency plot with the one you obtained manually (in 1A experiment 7), especially the location of the peaks - the resonant frequencies. How does this compare with the plot obtained in IA? 5.4 Objective 5 Try the above section again, this time changing the sample rate. What do you notice when you sample at a much lower rate (make sure you try sampling so the Nyquist rate is below the highest resonance)? Sketch and comment on the differences between this plot and the previous one, noting the sampling rates used. 4

5 amplitude frequency amplitude frequency 5.5 Objective 6 This part of the lab involves generating an arbitrary signal as a summation of sine waves. Use the random sum function to do this - have a look at the code to see exactly what is going on. Essentially, it is adding together a sequence of sine waves with frequencies up to the Nyquist rate, and giving each one a random phase. A suitable sample of code might be: setiorates(10,300); data out=random sum(); run; transfer; Note the signal to noise ratio might be such that you will need to amplify the signals (eg data out=10*data out). Plot this signal - is it what you might expect? Repeat the analysis in Objective 4, using this signal which has many different frequency components. What do you notice about the Fourier transform of the signal, and the response of the structure? Sketch the Fourier transform for channels 1 or 2 and the corresponding transfer function. 5

6 Fourier transform for channel 1 or 2 Transfer function 5.6 Objective 7 Open the fourier function in the m-file editor; you will see that, to start with, it contains the single command fft(x) (as well as the other lines declaring it as a function). This is an in-built function that performs a Fast Fourier transform. This is a particular algorithm to calculate the discrete Fourier transform of a digital signal. (See appendix for more details.) Replace this with your own algorithm to calculate a discrete Fourier transform (the DFT algorithm - see appendix A). Uncommenting the lines with cputime in will display the time taken for the intervening calculations; try it for both the fft algorithm and a simple DFT and compare the results. (Especially for the fft algorithm, this may display zero time taken with small data series this doesn t necessarily mean it s not working. To get a better result, you could try running each algorithm inside a for loop, e.g. 20 times, and compare them again.) Write down your code for the DFT: What is the difference (as an order-of-magnitude factor) between the time taken for the FFT and the algorithm you have just written? 6

7 Appendix A The Discrete Fourier Transform The frequency analysis of a periodic function was covered in Part IA Mathematics. You will recall that if x(t) is a periodic function with period T, then x(t) may be written as the infinite Fourier series: x(t) = a ( ) ( ) 2πnt 2πnt a n cos + b n sin T T n=1 (1) where a n = 2 T T 0 ( ) 2πnt x(t) cos dt and b n = 2 T T T 0 ( ) 2πnt x(t) sin dt (2) T If the Fourier coefficients are written as a single complex number c n with real part representing the coefficients of the cosine series and imaginary parts representing coefficients of the sine series, we can write the complex form of the Fourier series as x(t) = + c n e ( j2πnt T ) with c n = 1 T T 0 j2πnt ( x(t)e T ) (3) n = 0, 1, 2... We can then extend the ideas of a frequency decomposition to non-periodic signals via the Fourier Transform so that the equivalent of the above discrete equations becomes: X(ω) = x(t)e jωt dt x(t) = 1 X(ω)e jωt dω (4) 2π In order to perform the Fourier transform above by digital computer, it is convenient to sample the arbitrary function x(t) at a series of regularly spaced times to form a series of discrete values which we write as {x m }, where x m = x(m ) and m = 0, 1,..., N 1. It can then be shown that if we imagine our set of N samples is actually a periodic repetition of these N samples, we can find an invertible discrete transform which approximates the Fourier series as follows: 7

8 N 1 i2πkn ( X k = x n e N ) k = 0, 1, 2,..., N 1 (5) x n = 1 N n=0 N 1 k=0 X k e ( i2πkn N ) n = 0, 1, 2,..., N 1 (6) Equation 5 is known as the Discrete Fourier Transform or DFT and equation 6 is the Inverse Discrete Fourier Transform. The Fast Fourier Transform (FFT) Because of its importance in signal analysis, a great deal of effort has gone into implementing the equations in 5 and 6 efficiently. An algorithm called the Fast Fourier Transform is now almost universally used for this purpose. Octave/Matlab for loops You may find that you want to use for loops when programming the DFT alogrithm; the syntax for these in Matlab is different to C++, but they function in a similar way. Using a vector, the syntax is as follows: for x=1:1:100 statements... end This steps through the values 1, 2,3 etc. up to 100, i.e from 1 to 100 in steps of 1. 8

9 Table 1: Matlab Help initialise in out data chn (e.g. data ch1, data ch2 etc.) data out run setiorates(time,rate) sine(frequency1, frequency2...) sweep(frequency1, frequency2) random sum analyse1 analyse2 transfer fourier(signal) Type this at the beginning of the session; sets up the drivers to communicate between Matlab and the data acquisition card. The Matlab object representing the input card. The Matlab object representing the output card. Vectors containing the signal as recorded by the input cards. The signal sent to the output card. This command takes the data stored in data out and sends it to the output card; simultaneously it records the signal on the cards input channels. This sets the sample time and sampling frequency for the input card, and the sampling frequency for the output card. Run this command before generating data out so that the output data has the correct sampled frequency. This generates a sine wave at the specified frequency. The sampling rate is determined by the t variable set in setiorates. If more than one frequency is given, the output is a superposition of the desired frequencies. Generates a sine sweep, starting at f1 and finishing at f2. This generates a signal with frequency components from 1/sample time to the Nyquist frequency, with random phases. This function takes the recorded signals and displays them graphically. This function plots the real part of the Fourier transform of the input and output signals. This script calculates the transfer function of the system and plots the response versus frequency diagram. This function performs the Fourier transform of the function argument. 9

Discrete Fourier Transform (DFT)

Discrete Fourier Transform (DFT) Amplitude Amplitude Discrete Fourier Transform (DFT) DFT transforms the time domain signal samples to the frequency domain components. DFT Signal Spectrum Time Frequency DFT is often used to do frequency

More information

ME scope Application Note 01 The FFT, Leakage, and Windowing

ME scope Application Note 01 The FFT, Leakage, and Windowing INTRODUCTION ME scope Application Note 01 The FFT, Leakage, and Windowing NOTE: The steps in this Application Note can be duplicated using any Package that includes the VES-3600 Advanced Signal Processing

More information

Laboratory Assignment 4. Fourier Sound Synthesis

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

More information

DFT: Discrete Fourier Transform & Linear Signal Processing

DFT: Discrete Fourier Transform & Linear Signal Processing DFT: Discrete Fourier Transform & Linear Signal Processing 2 nd Year Electronics Lab IMPERIAL COLLEGE LONDON Table of Contents Equipment... 2 Aims... 2 Objectives... 2 Recommended Textbooks... 3 Recommended

More information

EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM

EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM Department of Electrical and Computer Engineering Missouri University of Science and Technology Page 1 Table of Contents Introduction...Page

More information

Lecture 3 Complex Exponential Signals

Lecture 3 Complex Exponential Signals Lecture 3 Complex Exponential Signals Fundamentals of Digital Signal Processing Spring, 2012 Wei-Ta Chu 2012/3/1 1 Review of Complex Numbers Using Euler s famous formula for the complex exponential The

More information

Lab 0: Introduction to TIMS AND MATLAB

Lab 0: Introduction to TIMS AND MATLAB TELE3013 TELECOMMUNICATION SYSTEMS 1 Lab 0: Introduction to TIMS AND MATLAB 1. INTRODUCTION The TIMS (Telecommunication Instructional Modelling System) system was first developed by Tim Hooper, then a

More information

ME scope Application Note 02 Waveform Integration & Differentiation

ME scope Application Note 02 Waveform Integration & Differentiation ME scope Application Note 02 Waveform Integration & Differentiation The steps in this Application Note can be duplicated using any ME scope Package that includes the VES-3600 Advanced Signal Processing

More information

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202)

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202) Department of Electronic Engineering NED University of Engineering & Technology LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202) Instructor Name: Student Name: Roll Number: Semester: Batch:

More information

Laboratory Experiment #1 Introduction to Spectral Analysis

Laboratory Experiment #1 Introduction to Spectral Analysis J.B.Francis College of Engineering Mechanical Engineering Department 22-403 Laboratory Experiment #1 Introduction to Spectral Analysis Introduction The quantification of electrical energy can be accomplished

More information

1 Introduction and Overview

1 Introduction and Overview DSP First, 2e Lab S-0: Complex Exponentials Adding Sinusoids Signal Processing First Pre-Lab: Read the Pre-Lab and do all the exercises in the Pre-Lab section prior to attending lab. Verification: The

More information

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS INTRODUCTION The objective of this lab is to explore many issues involved in sampling and reconstructing signals, including analysis of the frequency

More information

Here are some of Matlab s complex number operators: conj Complex conjugate abs Magnitude. Angle (or phase) in radians

Here are some of Matlab s complex number operators: conj Complex conjugate abs Magnitude. Angle (or phase) in radians Lab #2: Complex Exponentials Adding Sinusoids Warm-Up/Pre-Lab (section 2): You may do these warm-up exercises at the start of the lab period, or you may do them in advance before coming to the lab. You

More information

Experiments #6. Convolution and Linear Time Invariant Systems

Experiments #6. Convolution and Linear Time Invariant Systems Experiments #6 Convolution and Linear Time Invariant Systems 1) Introduction: In this lab we will explain how to use computer programs to perform a convolution operation on continuous time systems and

More information

Dynamic Vibration Absorber

Dynamic Vibration Absorber Part 1B Experimental Engineering Integrated Coursework Location: DPO Experiment A1 (Short) Dynamic Vibration Absorber Please bring your mechanics data book and your results from first year experiment 7

More information

Lecture notes on Waves/Spectra Noise, Correlations and.

Lecture notes on Waves/Spectra Noise, Correlations and. Lecture notes on Waves/Spectra Noise, Correlations and. W. Gekelman Lecture 4, February 28, 2004 Our digital data is a function of time x(t) and can be represented as: () = a + ( a n t+ b n t) x t cos

More information

Basic Signals and Systems

Basic Signals and Systems Chapter 2 Basic Signals and Systems A large part of this chapter is taken from: C.S. Burrus, J.H. McClellan, A.V. Oppenheim, T.W. Parks, R.W. Schafer, and H. W. Schüssler: Computer-based exercises for

More information

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises Digital Video and Audio Processing Winter term 2002/ 2003 Computer-based exercises Rudolf Mester Institut für Angewandte Physik Johann Wolfgang Goethe-Universität Frankfurt am Main 6th November 2002 Chapter

More information

ELEC3104: Digital Signal Processing Session 1, 2013

ELEC3104: Digital Signal Processing Session 1, 2013 ELEC3104: Digital Signal Processing Session 1, 2013 The University of New South Wales School of Electrical Engineering and Telecommunications LABORATORY 1: INTRODUCTION TO TIMS AND MATLAB INTRODUCTION

More information

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar Biomedical Signals Signals and Images in Medicine Dr Nabeel Anwar Noise Removal: Time Domain Techniques 1. Synchronized Averaging (covered in lecture 1) 2. Moving Average Filters (today s topic) 3. Derivative

More information

CHAPTER 4 IMPLEMENTATION OF ADALINE IN MATLAB

CHAPTER 4 IMPLEMENTATION OF ADALINE IN MATLAB 52 CHAPTER 4 IMPLEMENTATION OF ADALINE IN MATLAB 4.1 INTRODUCTION The ADALINE is implemented in MATLAB environment running on a PC. One hundred data samples are acquired from a single cycle of load current

More information

Real Analog - Circuits 1 Chapter 11: Lab Projects

Real Analog - Circuits 1 Chapter 11: Lab Projects Real Analog - Circuits 1 Chapter 11: Lab Projects 11.2.1: Signals with Multiple Frequency Components Overview: In this lab project, we will calculate the magnitude response of an electrical circuit and

More information

SAMPLING THEORY. Representing continuous signals with discrete numbers

SAMPLING THEORY. Representing continuous signals with discrete numbers SAMPLING THEORY Representing continuous signals with discrete numbers Roger B. Dannenberg Professor of Computer Science, Art, and Music Carnegie Mellon University ICM Week 3 Copyright 2002-2013 by Roger

More information

ECEn 487 Digital Signal Processing Laboratory. Lab 3 FFT-based Spectrum Analyzer

ECEn 487 Digital Signal Processing Laboratory. Lab 3 FFT-based Spectrum Analyzer ECEn 487 Digital Signal Processing Laboratory Lab 3 FFT-based Spectrum Analyzer Due Dates This is a three week lab. All TA check off must be completed by Friday, March 14, at 3 PM or the lab will be marked

More information

EE 422G - Signals and Systems Laboratory

EE 422G - Signals and Systems Laboratory EE 422G - Signals and Systems Laboratory Lab 3 FIR Filters Written by Kevin D. Donohue Department of Electrical and Computer Engineering University of Kentucky Lexington, KY 40506 September 19, 2015 Objectives:

More information

ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS

ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS Objectives: There are two goals in this laboratory exercise. The first is to reinforce the Fourier series analysis you have done in the lecture portion of this course.

More information

Lab 3 FFT based Spectrum Analyzer

Lab 3 FFT based Spectrum Analyzer ECEn 487 Digital Signal Processing Laboratory Lab 3 FFT based Spectrum Analyzer Due Dates This is a three week lab. All TA check off must be completed prior to the beginning of class on the lab book submission

More information

ECEGR Lab #8: Introduction to Simulink

ECEGR Lab #8: Introduction to Simulink Page 1 ECEGR 317 - Lab #8: Introduction to Simulink Objective: By: Joe McMichael This lab is an introduction to Simulink. The student will become familiar with the Help menu, go through a short example,

More information

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering EIE2106 Signal and System Analysis Lab 2 Fourier series 1. Objective The goal of this laboratory exercise is to

More information

DSP First. Laboratory Exercise #2. Introduction to Complex Exponentials

DSP First. Laboratory Exercise #2. Introduction to Complex Exponentials DSP First Laboratory Exercise #2 Introduction to Complex Exponentials The goal of this laboratory is gain familiarity with complex numbers and their use in representing sinusoidal signals as complex exponentials.

More information

Lab 4 Fourier Series and the Gibbs Phenomenon

Lab 4 Fourier Series and the Gibbs Phenomenon Lab 4 Fourier Series and the Gibbs Phenomenon EE 235: Continuous-Time Linear Systems Department of Electrical Engineering University of Washington This work 1 was written by Amittai Axelrod, Jayson Bowen,

More information

Coming to Grips with the Frequency Domain

Coming to Grips with the Frequency Domain XPLANATION: FPGA 101 Coming to Grips with the Frequency Domain by Adam P. Taylor Chief Engineer e2v aptaylor@theiet.org 48 Xcell Journal Second Quarter 2015 The ability to work within the frequency domain

More information

Data Acquisition Systems. Signal DAQ System The Answer?

Data Acquisition Systems. Signal DAQ System The Answer? Outline Analysis of Waveforms and Transforms How many Samples to Take Aliasing Negative Spectrum Frequency Resolution Synchronizing Sampling Non-repetitive Waveforms Picket Fencing A Sampled Data System

More information

A Brief Introduction to the Discrete Fourier Transform and the Evaluation of System Transfer Functions

A Brief Introduction to the Discrete Fourier Transform and the Evaluation of System Transfer Functions MEEN 459/659 Notes 6 A Brief Introduction to the Discrete Fourier Transform and the Evaluation of System Transfer Functions Original from Dr. Joe-Yong Kim (ME 459/659), modified by Dr. Luis San Andrés

More information

ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

ESE 150 Lab 04: The Discrete Fourier Transform (DFT) LAB 04 In this lab we will do the following: 1. Use Matlab to perform the Fourier Transform on sampled data in the time domain, converting it to the frequency domain 2. Add two sinewaves together of differing

More information

Lab 4 Digital Scope and Spectrum Analyzer

Lab 4 Digital Scope and Spectrum Analyzer Lab 4 Digital Scope and Spectrum Analyzer Page 4.1 Lab 4 Digital Scope and Spectrum Analyzer Goals Review Starter files Interface a microphone and record sounds, Design and implement an analog HPF, LPF

More information

Fall Music 320A Homework #2 Sinusoids, Complex Sinusoids 145 points Theory and Lab Problems Due Thursday 10/11/2018 before class

Fall Music 320A Homework #2 Sinusoids, Complex Sinusoids 145 points Theory and Lab Problems Due Thursday 10/11/2018 before class Fall 2018 2019 Music 320A Homework #2 Sinusoids, Complex Sinusoids 145 points Theory and Lab Problems Due Thursday 10/11/2018 before class Theory Problems 1. 15 pts) [Sinusoids] Define xt) as xt) = 2sin

More information

Topic 2. Signal Processing Review. (Some slides are adapted from Bryan Pardo s course slides on Machine Perception of Music)

Topic 2. Signal Processing Review. (Some slides are adapted from Bryan Pardo s course slides on Machine Perception of Music) Topic 2 Signal Processing Review (Some slides are adapted from Bryan Pardo s course slides on Machine Perception of Music) Recording Sound Mechanical Vibration Pressure Waves Motion->Voltage Transducer

More information

L A B 3 : G E N E R A T I N G S I N U S O I D S

L A B 3 : G E N E R A T I N G S I N U S O I D S L A B 3 : G E N E R A T I N G S I N U S O I D S NAME: DATE OF EXPERIMENT: DATE REPORT SUBMITTED: 1/7 1 THEORY DIGITAL SIGNAL PROCESSING LABORATORY 1.1 GENERATION OF DISCRETE TIME SINUSOIDAL SIGNALS IN

More information

PART I: The questions in Part I refer to the aliasing portion of the procedure as outlined in the lab manual.

PART I: The questions in Part I refer to the aliasing portion of the procedure as outlined in the lab manual. Lab. #1 Signal Processing & Spectral Analysis Name: Date: Section / Group: NOTE: To help you correctly answer many of the following questions, it may be useful to actually run the cases outlined in the

More information

ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

ESE 150 Lab 04: The Discrete Fourier Transform (DFT) LAB 04 In this lab we will do the following: 1. Use Matlab to perform the Fourier Transform on sampled data in the time domain, converting it to the frequency domain 2. Add two sinewaves together of differing

More information

1. In the command window, type "help conv" and press [enter]. Read the information displayed.

1. In the command window, type help conv and press [enter]. Read the information displayed. ECE 317 Experiment 0 The purpose of this experiment is to understand how to represent signals in MATLAB, perform the convolution of signals, and study some simple LTI systems. Please answer all questions

More information

ELECTRONOTES APPLICATION NOTE NO Hanshaw Road Ithaca, NY Nov 7, 2014 MORE CONCERNING NON-FLAT RANDOM FFT

ELECTRONOTES APPLICATION NOTE NO Hanshaw Road Ithaca, NY Nov 7, 2014 MORE CONCERNING NON-FLAT RANDOM FFT ELECTRONOTES APPLICATION NOTE NO. 416 1016 Hanshaw Road Ithaca, NY 14850 Nov 7, 2014 MORE CONCERNING NON-FLAT RANDOM FFT INTRODUCTION A curiosity that has probably long been peripherally noted but which

More information

THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA. Department of Electrical and Computer Engineering. ELEC 423 Digital Signal Processing

THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA. Department of Electrical and Computer Engineering. ELEC 423 Digital Signal Processing THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA Department of Electrical and Computer Engineering ELEC 423 Digital Signal Processing Project 2 Due date: November 12 th, 2013 I) Introduction In ELEC

More information

Integrators, differentiators, and simple filters

Integrators, differentiators, and simple filters BEE 233 Laboratory-4 Integrators, differentiators, and simple filters 1. Objectives Analyze and measure characteristics of circuits built with opamps. Design and test circuits with opamps. Plot gain vs.

More information

CHAPTER 6 INTRODUCTION TO SYSTEM IDENTIFICATION

CHAPTER 6 INTRODUCTION TO SYSTEM IDENTIFICATION CHAPTER 6 INTRODUCTION TO SYSTEM IDENTIFICATION Broadly speaking, system identification is the art and science of using measurements obtained from a system to characterize the system. The characterization

More information

ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM

ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM Spring 2018 What to Turn In: ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM Dr. Havlicek Submit your solution for this assignment electronically on Canvas by uploading a file to ECE-2713-001 > Assignments

More information

EE 791 EEG-5 Measures of EEG Dynamic Properties

EE 791 EEG-5 Measures of EEG Dynamic Properties EE 791 EEG-5 Measures of EEG Dynamic Properties Computer analysis of EEG EEG scientists must be especially wary of mathematics in search of applications after all the number of ways to transform data is

More information

1 ONE- and TWO-DIMENSIONAL HARMONIC OSCIL- LATIONS

1 ONE- and TWO-DIMENSIONAL HARMONIC OSCIL- LATIONS SIMG-232 LABORATORY #1 Writeup Due 3/23/2004 (T) 1 ONE- and TWO-DIMENSIONAL HARMONIC OSCIL- LATIONS 1.1 Rationale: This laboratory (really a virtual lab based on computer software) introduces the concepts

More information

Post-processing using Matlab (Advanced)!

Post-processing using Matlab (Advanced)! OvGU! Vorlesung «Messtechnik»! Post-processing using Matlab (Advanced)! Dominique Thévenin! Lehrstuhl für Strömungsmechanik und Strömungstechnik (LSS)! thevenin@ovgu.de! 1 Noise filtering (1/2)! We have

More information

A Faster Method for Accurate Spectral Testing without Requiring Coherent Sampling

A Faster Method for Accurate Spectral Testing without Requiring Coherent Sampling A Faster Method for Accurate Spectral Testing without Requiring Coherent Sampling Minshun Wu 1,2, Degang Chen 2 1 Xi an Jiaotong University, Xi an, P. R. China 2 Iowa State University, Ames, IA, USA Abstract

More information

Spectrum Analysis - Elektronikpraktikum

Spectrum Analysis - Elektronikpraktikum Spectrum Analysis Introduction Why measure a spectra? In electrical engineering we are most often interested how a signal develops over time. For this time-domain measurement we use the Oscilloscope. Like

More information

Signal Processing First Lab 02: Introduction to Complex Exponentials Multipath. x(t) = A cos(ωt + φ) = Re{Ae jφ e jωt }

Signal Processing First Lab 02: Introduction to Complex Exponentials Multipath. x(t) = A cos(ωt + φ) = Re{Ae jφ e jωt } Signal Processing First Lab 02: Introduction to Complex Exponentials Multipath 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

More information

System analysis and signal processing

System analysis and signal processing System analysis and signal processing with emphasis on the use of MATLAB PHILIP DENBIGH University of Sussex ADDISON-WESLEY Harlow, England Reading, Massachusetts Menlow Park, California New York Don Mills,

More information

Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback

Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback PURPOSE This lab will introduce you to the laboratory equipment and the software that allows you to link your computer to the hardware.

More information

Memorial University of Newfoundland Faculty of Engineering and Applied Science. Lab Manual

Memorial University of Newfoundland Faculty of Engineering and Applied Science. Lab Manual Memorial University of Newfoundland Faculty of Engineering and Applied Science Engineering 6871 Communication Principles Lab Manual Fall 2014 Lab 1 AMPLITUDE MODULATION Purpose: 1. Learn how to use Matlab

More information

Chapter 5 Window Functions. periodic with a period of N (number of samples). This is observed in table (3.1).

Chapter 5 Window Functions. periodic with a period of N (number of samples). This is observed in table (3.1). Chapter 5 Window Functions 5.1 Introduction As discussed in section (3.7.5), the DTFS assumes that the input waveform is periodic with a period of N (number of samples). This is observed in table (3.1).

More information

The Fast Fourier Transform

The Fast Fourier Transform The Fast Fourier Transform Basic FFT Stuff That s s Good to Know Dave Typinski, Radio Jove Meeting, July 2, 2014, NRAO Green Bank Ever wonder how an SDR-14 or Dongle produces the spectra that it does?

More information

Problem Set 1 (Solutions are due Mon )

Problem Set 1 (Solutions are due Mon ) ECEN 242 Wireless Electronics for Communication Spring 212 1-23-12 P. Mathys Problem Set 1 (Solutions are due Mon. 1-3-12) 1 Introduction The goals of this problem set are to use Matlab to generate and

More information

Lab S-8: Spectrograms: Harmonic Lines & Chirp Aliasing

Lab S-8: Spectrograms: Harmonic Lines & Chirp Aliasing DSP First, 2e Signal Processing First Lab S-8: Spectrograms: Harmonic Lines & Chirp Aliasing Pre-Lab: Read the Pre-Lab and do all the exercises in the Pre-Lab section prior to attending lab. Verification:

More information

DIGITAL SIGNAL PROCESSING TOOLS VERSION 4.0

DIGITAL SIGNAL PROCESSING TOOLS VERSION 4.0 (Digital Signal Processing Tools) Indian Institute of Technology Roorkee, Roorkee DIGITAL SIGNAL PROCESSING TOOLS VERSION 4.0 A Guide that will help you to perform various DSP functions, for a course in

More information

It is the speed and discrete nature of the FFT that allows us to analyze a signal's spectrum with MATLAB.

It is the speed and discrete nature of the FFT that allows us to analyze a signal's spectrum with MATLAB. MATLAB Addendum on Fourier Stuff 1. Getting to know the FFT What is the FFT? FFT = Fast Fourier Transform. The FFT is a faster version of the Discrete Fourier Transform(DFT). The FFT utilizes some clever

More information

ELT COMMUNICATION THEORY

ELT COMMUNICATION THEORY ELT 41307 COMMUNICATION THEORY Matlab Exercise #1 Sampling, Fourier transform, Spectral illustrations, and Linear filtering 1 SAMPLING The modeled signals and systems in this course are mostly analog (continuous

More information

Physics 1021 Experiment 3. Sound and Resonance

Physics 1021 Experiment 3. Sound and Resonance 1 Physics 1021 Sound and Resonance 2 Sound and Resonance Introduction In today's experiment, you will examine beat frequency using tuning forks, a microphone and LoggerPro. You will also produce resonance

More information

(i) Sine sweep (ii) Sine beat (iii) Time history (iv) Continuous sine

(i) Sine sweep (ii) Sine beat (iii) Time history (iv) Continuous sine A description is given of one way to implement an earthquake test where the test severities are specified by the sine-beat method. The test is done by using a biaxial computer aided servohydraulic test

More information

Advanced Audiovisual Processing Expected Background

Advanced Audiovisual Processing Expected Background Advanced Audiovisual Processing Expected Background As an advanced module, we will not cover introductory topics in lecture. You are expected to already be proficient with all of the following topics,

More information

Reading: Johnson Ch , Ch.5.5 (today); Liljencrants & Lindblom; Stevens (Tues) reminder: no class on Thursday.

Reading: Johnson Ch , Ch.5.5 (today); Liljencrants & Lindblom; Stevens (Tues) reminder: no class on Thursday. L105/205 Phonetics Scarborough Handout 7 10/18/05 Reading: Johnson Ch.2.3.3-2.3.6, Ch.5.5 (today); Liljencrants & Lindblom; Stevens (Tues) reminder: no class on Thursday Spectral Analysis 1. There are

More information

INTEGRATING AND DECIPHERING SIGNAL BY FOURIER TRANSFORM

INTEGRATING AND DECIPHERING SIGNAL BY FOURIER TRANSFORM INTEGRATING AND DECIPHERING SIGNAL BY FOURIER TRANSFORM Yoyok Heru Prasetyo Isnomo 1, M. Nanak Zakaria 2, Lis Diana Mustafa 3 Electrical Engineering Department, Malang State Polytechnic, INDONESIA. 1 urehkoyoy@yahoo.co.id,

More information

G(f ) = g(t) dt. e i2πft. = cos(2πf t) + i sin(2πf t)

G(f ) = g(t) dt. e i2πft. = cos(2πf t) + i sin(2πf t) Fourier Transforms Fourier s idea that periodic functions can be represented by an infinite series of sines and cosines with discrete frequencies which are integer multiples of a fundamental frequency

More information

TRANSFORMS / WAVELETS

TRANSFORMS / WAVELETS RANSFORMS / WAVELES ransform Analysis Signal processing using a transform analysis for calculations is a technique used to simplify or accelerate problem solution. For example, instead of dividing two

More information

Signals A Preliminary Discussion EE442 Analog & Digital Communication Systems Lecture 2

Signals A Preliminary Discussion EE442 Analog & Digital Communication Systems Lecture 2 Signals A Preliminary Discussion EE442 Analog & Digital Communication Systems Lecture 2 The Fourier transform of single pulse is the sinc function. EE 442 Signal Preliminaries 1 Communication Systems and

More information

Response spectrum Time history Power Spectral Density, PSD

Response spectrum Time history Power Spectral Density, PSD A description is given of one way to implement an earthquake test where the test severities are specified by time histories. The test is done by using a biaxial computer aided servohydraulic test rig.

More information

Objectives. Abstract. This PRO Lesson will examine the Fast Fourier Transformation (FFT) as follows:

Objectives. Abstract. This PRO Lesson will examine the Fast Fourier Transformation (FFT) as follows: : FFT Fast Fourier Transform This PRO Lesson details hardware and software setup of the BSL PRO software to examine the Fast Fourier Transform. All data collection and analysis is done via the BIOPAC MP35

More information

15-8 1/31/2014 PRELAB PROBLEMS 1. Why is the boundary condition of the cavity such that the component of the air displacement χ perpendicular to a wall must vanish at the wall? 2. Show that equation (5)

More information

Introduction. Chapter Time-Varying Signals

Introduction. Chapter Time-Varying Signals Chapter 1 1.1 Time-Varying Signals Time-varying signals are commonly observed in the laboratory as well as many other applied settings. Consider, for example, the voltage level that is present at a specific

More information

Electrical & Computer Engineering Technology

Electrical & Computer Engineering Technology Electrical & Computer Engineering Technology EET 419C Digital Signal Processing Laboratory Experiments by Masood Ejaz Experiment # 1 Quantization of Analog Signals and Calculation of Quantized noise Objective:

More information

EET 223 RF COMMUNICATIONS LABORATORY EXPERIMENTS

EET 223 RF COMMUNICATIONS LABORATORY EXPERIMENTS EET 223 RF COMMUNICATIONS LABORATORY EXPERIMENTS Experimental Goals A good technician needs to make accurate measurements, keep good records and know the proper usage and limitations of the instruments

More information

Outline. Discrete time signals. Impulse sampling z-transform Frequency response Stability INF4420. Jørgen Andreas Michaelsen Spring / 37 2 / 37

Outline. Discrete time signals. Impulse sampling z-transform Frequency response Stability INF4420. Jørgen Andreas Michaelsen Spring / 37 2 / 37 INF4420 Discrete time signals Jørgen Andreas Michaelsen Spring 2013 1 / 37 Outline Impulse sampling z-transform Frequency response Stability Spring 2013 Discrete time signals 2 2 / 37 Introduction More

More information

Laboratory Assignment 5 Amplitude Modulation

Laboratory Assignment 5 Amplitude Modulation Laboratory Assignment 5 Amplitude Modulation PURPOSE In this assignment, you will explore the use of digital computers for the analysis, design, synthesis, and simulation of an amplitude modulation (AM)

More information

BIOMEDICAL SIGNAL PROCESSING (BMSP) TOOLS

BIOMEDICAL SIGNAL PROCESSING (BMSP) TOOLS BIOMEDICAL SIGNAL PROCESSING (BMSP) TOOLS A Guide that will help you to perform various BMSP functions, for a course in Digital Signal Processing. Pre requisite: Basic knowledge of BMSP tools : Introduction

More information

Engineering Thesis. The use of Synchronized Phasor Measurement to Determine Power System Stability, Transmission Line Parameters and Fault Location

Engineering Thesis. The use of Synchronized Phasor Measurement to Determine Power System Stability, Transmission Line Parameters and Fault Location Engineering Thesis The use of Synchronized Phasor Measurement to Determine Power System Stability, Transmission Line Parameters and Fault Location By Yushi Jiao Presented to the school of Engineering and

More information

6.02 Practice Problems: Modulation & Demodulation

6.02 Practice Problems: Modulation & Demodulation 1 of 12 6.02 Practice Problems: Modulation & Demodulation Problem 1. Here's our "standard" modulation-demodulation system diagram: at the transmitter, signal x[n] is modulated by signal mod[n] and the

More information

YEDITEPE UNIVERSITY ENGINEERING FACULTY COMMUNICATION SYSTEMS LABORATORY EE 354 COMMUNICATION SYSTEMS

YEDITEPE UNIVERSITY ENGINEERING FACULTY COMMUNICATION SYSTEMS LABORATORY EE 354 COMMUNICATION SYSTEMS YEDITEPE UNIVERSITY ENGINEERING FACULTY COMMUNICATION SYSTEMS LABORATORY EE 354 COMMUNICATION SYSTEMS EXPERIMENT 3: SAMPLING & TIME DIVISION MULTIPLEX (TDM) Objective: Experimental verification of the

More information

Advanced Lab LAB 6: Signal Acquisition & Spectrum Analysis Using VirtualBench DSA Equipment: Objectives:

Advanced Lab LAB 6: Signal Acquisition & Spectrum Analysis Using VirtualBench DSA Equipment: Objectives: Advanced Lab LAB 6: Signal Acquisition & Spectrum Analysis Using VirtualBench DSA Equipment: Pentium PC with National Instruments PCI-MIO-16E-4 data-acquisition board (12-bit resolution; software-controlled

More information

Discrete Fourier Transform

Discrete Fourier Transform 6 The Discrete Fourier Transform Lab Objective: The analysis of periodic functions has many applications in pure and applied mathematics, especially in settings dealing with sound waves. The Fourier transform

More information

6 Sampling. Sampling. The principles of sampling, especially the benefits of coherent sampling

6 Sampling. Sampling. The principles of sampling, especially the benefits of coherent sampling Note: Printed Manuals 6 are not in Color Objectives This chapter explains the following: The principles of sampling, especially the benefits of coherent sampling How to apply sampling principles in a test

More information

4 Experiment 4: DC Motor Voltage to Speed Transfer Function Estimation by Step Response and Frequency Response (Part 2)

4 Experiment 4: DC Motor Voltage to Speed Transfer Function Estimation by Step Response and Frequency Response (Part 2) 4 Experiment 4: DC Motor Voltage to Speed Transfer Function Estimation by Step Response and Frequency Response (Part 2) 4.1 Introduction This lab introduces new methods for estimating the transfer function

More information

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class Description In this project, MATLAB and Simulink are used to construct a system experiment. The experiment

More information

Introduction to signals and systems

Introduction to signals and systems CHAPTER Introduction to signals and systems Welcome to Introduction to Signals and Systems. This text will focus on the properties of signals and systems, and the relationship between the inputs and outputs

More information

Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Fall Semester, Introduction to EECS 2

Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Fall Semester, Introduction to EECS 2 Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Fall Semester, 2006 6.082 Introduction to EECS 2 Lab #2: Time-Frequency Analysis Goal:... 3 Instructions:... 3

More information

EXPERIMENT 8: LRC CIRCUITS

EXPERIMENT 8: LRC CIRCUITS EXPERIMENT 8: LRC CIRCUITS Equipment List S 1 BK Precision 4011 or 4011A 5 MHz Function Generator OS BK 2120B Dual Channel Oscilloscope V 1 BK 388B Multimeter L 1 Leeds & Northrup #1532 100 mh Inductor

More information

Fourier Theory & Practice, Part I: Theory (HP Product Note )

Fourier Theory & Practice, Part I: Theory (HP Product Note ) Fourier Theory & Practice, Part I: Theory (HP Product Note 54600-4) By: Robert Witte Hewlett-Packard Co. Introduction: This product note provides a brief review of Fourier theory, especially the unique

More information

MTE 360 Automatic Control Systems University of Waterloo, Department of Mechanical & Mechatronics Engineering

MTE 360 Automatic Control Systems University of Waterloo, Department of Mechanical & Mechatronics Engineering MTE 36 Automatic Control Systems University of Waterloo, Department of Mechanical & Mechatronics Engineering Laboratory #1: Introduction to Control Engineering In this laboratory, you will become familiar

More information

LAB #7: Digital Signal Processing

LAB #7: Digital Signal Processing LAB #7: Digital Signal Processing Equipment: Pentium PC with NI PCI-MIO-16E-4 data-acquisition board NI BNC 2120 Accessory Box VirtualBench Instrument Library version 2.6 Function Generator (Tektronix

More information

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b Exam 1 February 3, 006 Each subquestion is worth 10 points. 1. Consider a periodic sawtooth waveform x(t) with period T 0 = 1 sec shown below: (c) x(n)= u(n). In this case, show that the output has the

More information

Signal Processing for Digitizers

Signal Processing for Digitizers Signal Processing for Digitizers Modular digitizers allow accurate, high resolution data acquisition that can be quickly transferred to a host computer. Signal processing functions, applied in the digitizer

More information

Topic 6. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith)

Topic 6. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith) Topic 6 The Digital Fourier Transform (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith) 10 20 30 40 50 60 70 80 90 100 0-1 -0.8-0.6-0.4-0.2 0 0.2 0.4

More information

Physics 115 Lecture 13. Fourier Analysis February 22, 2018

Physics 115 Lecture 13. Fourier Analysis February 22, 2018 Physics 115 Lecture 13 Fourier Analysis February 22, 2018 1 A simple waveform: Fourier Synthesis FOURIER SYNTHESIS is the summing of simple waveforms to create complex waveforms. Musical instruments typically

More information

LabVIEW and MatLab. E80 Teaching Team. February 5, 2008

LabVIEW and MatLab. E80 Teaching Team. February 5, 2008 LabVIEW and MatLab E80 Teaching Team February 5, 2008 LabVIEW and MATLAB Objectives of this lecture Learn LabVIEW and LabVIEW s functions Understand, design, modify and use Virtual Instruments (VIs) Construct

More information

Harmonic Distortions Analyzer for Power Rectifiers

Harmonic Distortions Analyzer for Power Rectifiers The 18 th National Conference on Electrical Drives CNAE 016 Harmonic Distortions Analyzer for Power Rectifiers Gheorghe-Eugen Subtirelu 1 1 Faculty of Electric Engineering, University of Craiova, Romania

More information