Outline. Introduction to Biosignal Processing. Overview of Signals. Measurement Systems. -Filtering -Acquisition Systems (Quantisation and Sampling)

Size: px
Start display at page:

Download "Outline. Introduction to Biosignal Processing. Overview of Signals. Measurement Systems. -Filtering -Acquisition Systems (Quantisation and Sampling)"

Transcription

1 Outline Overview of Signals Measurement Systems -Filtering -Acquisition Systems (Quantisation and Sampling) Digital Filtering Design Frequency Domain Characterisations - Fourier Analysis - Power Spectral Density Analysis Time-Frequency Analysis - Spectrogram

2 What is a signal? Physical quantity, varying as a function of an independent variable, which carries information Examples of Biomedical Signals The electrocardiogram (ECG) Source:

3 Examples of Biomedical Signals The electromyogram (EMG) Examples of Biomedical Signals The electroencephalogram (EEG)

4 Applications of Biosignal Processing Types of Signals Continuous-Time and Discrete-Time Continuous Discrete V (t) V k] V ( t ) [ k Uniform (periodic) sampling. Sampling frequency f s = / T

5 Types of Signals Deterministic and Stochastic Deterministic Stochastic Typical Measurement Systems Acquisition Signal processing Interpretation Information extraction

6 Signal Acquisition System Analog-to-digital converter Signal Conditioning A/D Sensors/Transducers e.g. - Amplifier - Filter Sensors/transducers : to pick-up the physical quantity to an electrical signal Amplifier : to amplify a small-amplitude electrical signal to range of several volts Analog filter : to remove high frequencies (anti-aliasing) A/D converter : to convert continuous signal to a discretised and quantised version Filtering Ideal filters let frequency components over the passband pass through undistorted, while components at the stopband are completely cut off. Filter Types u Filter y

7 Filtering Filter properties are described in terms of frequency response and graphically in the form of a Bode plot Frequency Response Function u LTI-System y n d y d a n dt dt y dy dt d u dt d dt n m m... a n n an = b + b + m... m The Laplace Transform u + b m du dt + b m s = jω H ( jω) Filtering Bode Plot Bode Diagram H ( jω) = j ω + 2 Magnitude (db) ω u = 2 rad/sec -5 Phase (deg) Frequency (rad/sec) H ( j2) =.3536 H(j2) = 45 o bode(tf(,[ 2]))

8 Filtering Filter Bandwidth The width of the positive frequency range in which the magnitude response is greater than or equal to.77 (3 db attenuation) of the peak magnitude of a frequency plot -3 db Filtering Filter Order & Sharpness of the roll-off Source:

9 Filtering Analog Filter Implementation Analog-to-Digital (A/D) Conversion A/D Analog signal Anti-aliasing Filter Sampling Quantisation Digital signal

10 Analog-to-Digital (A/D) Conversion A/D Analog signal Anti-aliasing Filter Sampling Quantisation Digital signal x(t) Sample Analog-to-Digital (A/D) Conversion A/D Analog signal Anti-aliasing Filter Sampling Quantisation Digital signal x(t) Sample

11 Analog-to-Digital (A/D) Conversion A/D Analog signal Anti-aliasing Filter Sampling Quantisation Digital signal x(t) Sample Sampling Sampling Theorem An analog signal can be exactly recovered from its samples if the signal is sampled at a sampling rate of f s > 2f max, where f max is the highest frequency contained in the signal If Example x( t) = 3cos(5πt ) + sin(3πt ) cos(πt ) what is the minimum sampling rate which guarantees no loss information?

12 Sampling What if f s < f max Aliasing A 8 Hz-signal, sampled at Hz, appears as 2 Hz How to Prevent Aliasing Use sufficiently high sampling frequency Place an analog anti-aliasing filter in front of the sampler to reject F > F s / 2 G filter ω p ( s) = s + ω p.5.5 (a) -Hz sine + 6-Hz noise (c) prefiltered (a) with ω.5 p = 2 rad/sec time (sec) (b) 28 Hz sampled (a) time (sec) time (sec) (d) 28 Hz sampled (c) time (sec)

13 Anti-Aliasing Filter Avoid designing an anti-aliasing filter too tight against half the sampling frequency In practice, the cut-off frequency (f c ) of the filter may be selected a little above f max. Then, select sampling rate f s > 3f c Digital Filtering General form y( k) = a + b y( k ) a y( k 2)... a + b u( k ) b 2 m n u( k m) z-transform y( k n) +... Y ( z) U ( z) b + b z + a z b a m m = = n n z z B( z) A( z) H(z) - Transfer function

14 Digital Filtering IIR and FIR filters Infinite Impulse Response (IIR) filter: Response is a function of both current and past inputs and past outputs y( k) = n i= Finite Impulse Response (FIR) filter: Response is a function of current and past inputs only i y( k) = a y( k i) + m i= b u( k i) i m i= b u( k i) i Digital Filtering IIR vs FIR filters Pros Cons IIR Requiring a much lower filter order than FIR filters to achieve a specific frequency criterion Nonlinear phase characteristics FIR Always being stable Having linear phase shifts less efficient in terms of computer time and memory than IIR because of their nonrecursive nature

15 Digital Filtering Design ω p Passband edge frequency ω s Stopband edge frequency Passband and stopband attenuation Transition width(s) Some Digital Filters Source:

16 Some MATLAB Tools for filter design Frequency Response/Filter Analysis: freqz, fvtool FIR: fir, fir2, firls, remez IIR: butter, cheby, cheby2, ellip, yulewalk Filter Design & Analysis GUI: fdatool FDATool

17 Frequency Domain Characterisation Why frequency domain? In physiological systems information is often more readily expressed in the frequency domain Noise and information are often more easily separated in frequency domain than in time domain Some algorithms are more efficient when implemented in the frequency domain, e.g. computation of convolution in frequency domain Frequency Domain Analysis The Fourier Transform (FT) method Any signal may be presented as a series of sinusoids of different frequencies, each with an amplitude and phase. Continuous Time Fourier Transform X ( f ) j πft = x( t) e 2 dt j 2πft x( t) = X ( f ) e df 2π

18 Frequency Domain Analysis Example π 3π 5π x( t) =.452cos t.45cos t.62cos t Harmonics, 3 and 5.2 x(t). -. Magnitude Time (sec) π / 2 3π / 2 5π / 2 frequency (rad/sec) Frequency Domain Analysis Example EEG signal Source: D. Simpson, Tutorial on Biomedical Signal Processing

19 Frequency Domain Analysis Discrete Fourier Transform (DFT) The frequency spectrum of a signal is numerically computed using its time samples, providing a discrete spectrum X ( k) = N n= x[ n] e 2πnk j N x[ n] = N N n= X ( k) e 2πnk j N fs frequencies fk = k, k =,,..., N N In practice, DFTs are computed using a high-speed algorithm, known as the Fast Fourier Transform (FFT) Frequency Domain Analysis Example: FFT with N=24, f s = Hz Time(sec) Amplitude Frequency (Hz) Amplitude f = f s / N Frequency (Hz) Ts=.; %sampling time Ts t=[:499]*ts; %time vector x=cos(2*pi*t/)+.5*sin(2*pi*t/5); %signal x N=24; % no. of computational points X=abs(fft(x,N)); %magnitude of FFT of x X=X(:N/2+); F=[:N/2]/N/Ts; figure; subplot(2);plot(t,x); xlabel('time(sec)') subplot(22);plot(f,x); xlabel('frequency (Hz)'); ylabel('amplitude')

20 Frequency Domain Analysis Power Spectral Analysis describes how the power of a signal is distributed with frequency Power/Hz E = Parseval s theorem x( t) 2 dt = X ( f ) 2 df where E the average energy of x(t) Frequency (Hz) Power Spectrum P x ( f ) = FT of the autocorrelation function of x[n] Power Spectral Estimation Estimate PS using FFT Pˆ ( f x k ) = X ( f N k f ) s 2 The periodogram method where X ( f k ) is the DFT of x[n]at f k fs = k, k =,,..., N N

21 Power Spectral Estimation Windowing Extracting a segment of a signal in time is the same as multiplying the signal with a rectangular window Source: Power Spectral Estimation Spectral Leakage Original Signal Window - Windowed Signal Sine frequency Hz + noise Power/frequency (db/hz) Frequency (khz)

22 Power Spectral Estimation How to reduce leakage Using a window type which smoothes the edges of the signal Commonly used windows: Hamming windows Hanning windows Barlett windows Blackman windows Kaiser windows Sine frequency Hz + noise Modified periodogram method Power/frequency (db/hz) Frequency (khz) Power Spectral Estimation Estimate PS by Welch s method Divides the data several segments, possibly overlapping, performs an FFT N each segment, computes the power spectrum, then averages these spectra Averaging Overlap Averaging It reduces noise in the estimated power spectra in exchange for reducing the frequency resolution Source:

23 Power Spectral Estimation Example Periodogram Power Spectral Density Estimate 5 Power/frequency (db/hz) Power/frequency (db/hz) Frequency (Hz) Welch Power Spectral Density Estimate % Generate data fs = ; % Sampling frequency t = (:.3*fs)./fs; % 3 samples A = [2 8]; % Sinusoid amplitudes f = [5;4]; % Sinusoid frequencies xn = A*sin(2*pi*f*t) + 5*randn(size(t)); % Periodogram Hs = spectrum.periodogram('rectangular'); psd(hs,xn,'fs',fs,'nfft',24); % Welch s spectral estimate for 3 segments with % 5% overlap Hs = spectrum.welch('rectangular',5,5); figure; psd(hs,xn,'fs',fs,'nfft',24); Frequency (Hz) Time-Frequency Analysis Fourier analysis assumes stationarity of the signal, e.g. its statistical properties do not change Many signals - particularly those of biological origin - are not stationary. Extract both time and frequency information from the signal

24 Short-Term Fourier Transform (STFT) The Spectrogram Divide signal into stationary segments. Perform Fourier transform on a window of data that slides along the time axis time-frequency function that describes the frequency distribution near time τ STFT( f, τ ) = FT( x( t) w( t τ )) The spectrogram is given by the magnitude of the STFT of the function { x t) } Spectrogra m ( = STFT ( f, τ ) 2 Short-Term Fourier Transform (STFT) The Spectrogram A linear chirp, DC and crossing 5 Hz at t= sec

25 Short-Term Fourier Transform (STFT) The Spectrogram The time-frequency tradeoff: we cannot simultaneously obtain arbitrarily high resolution along both the time and frequency axes. Shortening the data length (N) to improve time resolution will reduce frequency resolution ( f s /N) N=5 N=8 N = 8 N = Frequency 2 8 Frequency Time Time MATLAB Code Ts=.25; fs=/ts; M=5/Ts; %Sampling time %sampling frequency %M = Data length over 5 sec % Generate Data t=:ts:(m-)*ts; y=[cos(2*pi**t) cos(2*pi*25*t) cos(2*pi*5*t) cos(2*pi**t)]; t=[:length(y)-]*ts; %Time vector nfft=[5 8]; %Window widths %Plot the spectrogram for window widths of 5 and 8 for n=:2 N=nfft(n); %Tested window width (N) figure; %Call a new figure specgram(y,n,fs,n,[]); %Plot the spectrogram using current N title(['n = ' num2str(n)]) %Add title end

26 More methods Noise reduction - Optimal filters - Adaptive noise cancellation Time-Frequency -Wigner-Ville - Wavelets Signals and Systems - Correlation and coherence - Modelling (black box vs. physiological) Pattern recognition and classification -Rule-based - Statistical methods -Learning Suggested Reading Oppenheim, A.V. and Schafer, R.W. Discrete-Time signal Processing. Prentice Hall: Engle-wood Cliffs, NJ, 989. Semmlow, J.L. Biosignal and Biomedical Image Processing: MATLAB-Based Applications. CRC, 24. Rangayyan, R.M. Biomedical Signal Analysis: A Case-Study Approach. Wiley-IEEE Press, 2. Bruce, E.N. Biomedical Signal Processing and Signal Modeling. Wiley-Interscience, 2.

Signal Processing Toolbox

Signal Processing Toolbox Signal Processing Toolbox Perform signal processing, analysis, and algorithm development Signal Processing Toolbox provides industry-standard algorithms for analog and digital signal processing (DSP).

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

Digital Filter Design using MATLAB

Digital Filter Design using MATLAB Digital Filter Design using MATLAB Dr. Tony Jacob Department of Electronics and Electrical Engineering Indian Institute of Technology Guwahati April 11, 2015 Dr. Tony Jacob IIT Guwahati April 11, 2015

More information

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title http://elec3004.com Digital Filters IIR (& Their Corresponding Analog Filters) 2017 School of Information Technology and Electrical Engineering at The University of Queensland Lecture Schedule: Week Date

More information

Final Exam Solutions June 14, 2006

Final Exam Solutions June 14, 2006 Name or 6-Digit Code: PSU Student ID Number: Final Exam Solutions June 14, 2006 ECE 223: Signals & Systems II Dr. McNames Keep your exam flat during the entire exam. If you have to leave the exam temporarily,

More information

Understanding Digital Signal Processing

Understanding Digital Signal Processing Understanding Digital Signal Processing Richard G. Lyons PRENTICE HALL PTR PRENTICE HALL Professional Technical Reference Upper Saddle River, New Jersey 07458 www.photr,com Contents Preface xi 1 DISCRETE

More information

CG401 Advanced Signal Processing. Dr Stuart Lawson Room A330 Tel: January 2003

CG401 Advanced Signal Processing. Dr Stuart Lawson Room A330 Tel: January 2003 CG40 Advanced Dr Stuart Lawson Room A330 Tel: 23780 e-mail: ssl@eng.warwick.ac.uk 03 January 2003 Lecture : Overview INTRODUCTION What is a signal? An information-bearing quantity. Examples of -D and 2-D

More information

EE 464 Short-Time Fourier Transform Fall and Spectrogram. Many signals of importance have spectral content that

EE 464 Short-Time Fourier Transform Fall and Spectrogram. Many signals of importance have spectral content that EE 464 Short-Time Fourier Transform Fall 2018 Read Text, Chapter 4.9. and Spectrogram Many signals of importance have spectral content that changes with time. Let xx(nn), nn = 0, 1,, NN 1 1 be a discrete-time

More information

Biomedical Instrumentation B2. Dealing with noise

Biomedical Instrumentation B2. Dealing with noise Biomedical Instrumentation B2. Dealing with noise B18/BME2 Dr Gari Clifford Noise & artifact in biomedical signals Ambient / power line interference: 50 ±0.2 Hz mains noise (or 60 Hz in many data sets)

More information

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters Islamic University of Gaza OBJECTIVES: Faculty of Engineering Electrical Engineering Department Spring-2011 DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters To demonstrate the concept

More information

Biosignal filtering and artifact rejection. Biosignal processing I, S Autumn 2017

Biosignal filtering and artifact rejection. Biosignal processing I, S Autumn 2017 Biosignal filtering and artifact rejection Biosignal processing I, 52273S Autumn 207 Motivation ) Artifact removal power line non-stationarity due to baseline variation muscle or eye movement artifacts

More information

Brief Introduction to Signals & Systems. Phani Chavali

Brief Introduction to Signals & Systems. Phani Chavali Brief Introduction to Signals & Systems Phani Chavali Outline Signals & Systems Continuous and discrete time signals Properties of Systems Input- Output relation : Convolution Frequency domain representation

More information

System Identification & Parameter Estimation

System Identification & Parameter Estimation System Identification & Parameter Estimation Wb2301: SIPE lecture 4 Perturbation signal design Alfred C. Schouten, Dept. of Biomechanical Engineering (BMechE), Fac. 3mE 3/9/2010 Delft University of Technology

More information

Discrete-time Signals & Systems

Discrete-time Signals & Systems Discrete-time Signals & Systems S Wongsa Dept. of Control Systems and Instrumentation Engineering, KMU JAN, 2010 1 Overview Signals & Systems Continuous & Discrete ime Sampling Sampling in Frequency Domain

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

EE 451: Digital Signal Processing

EE 451: Digital Signal Processing EE 451: Digital Signal Processing Stochastic Processes and Spectral Estimation Aly El-Osery Electrical Engineering Department, New Mexico Tech Socorro, New Mexico, USA November 29, 2011 Aly El-Osery (NMT)

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

Experiment 8: Sampling

Experiment 8: Sampling Prepared By: 1 Experiment 8: Sampling Objective The objective of this Lab is to understand concepts and observe the effects of periodically sampling a continuous signal at different sampling rates, changing

More information

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according

More information

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal.

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal. 1 2.1 BASIC CONCEPTS 2.1.1 Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal. 2 Time Scaling. Figure 2.4 Time scaling of a signal. 2.1.2 Classification of Signals

More information

Fourier Methods of Spectral Estimation

Fourier Methods of Spectral Estimation Department of Electrical Engineering IIT Madras Outline Definition of Power Spectrum Deterministic signal example Power Spectrum of a Random Process The Periodogram Estimator The Averaged Periodogram Blackman-Tukey

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

Biosignal filtering and artifact rejection. Biosignal processing, S Autumn 2012

Biosignal filtering and artifact rejection. Biosignal processing, S Autumn 2012 Biosignal filtering and artifact rejection Biosignal processing, 521273S Autumn 2012 Motivation 1) Artifact removal: for example power line non-stationarity due to baseline variation muscle or eye movement

More information

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according

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

Signals and Systems Lecture 6: Fourier Applications

Signals and Systems Lecture 6: Fourier Applications Signals and Systems Lecture 6: Fourier Applications Farzaneh Abdollahi Department of Electrical Engineering Amirkabir University of Technology Winter 2012 arzaneh Abdollahi Signal and Systems Lecture 6

More information

Signal segmentation and waveform characterization. Biosignal processing, S Autumn 2012

Signal segmentation and waveform characterization. Biosignal processing, S Autumn 2012 Signal segmentation and waveform characterization Biosignal processing, 5173S Autumn 01 Short-time analysis of signals Signal statistics may vary in time: nonstationary how to compute signal characterizations?

More information

Design of FIR Filters

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 1 FIR as a

More information

Time Series/Data Processing and Analysis (MATH 587/GEOP 505)

Time Series/Data Processing and Analysis (MATH 587/GEOP 505) Time Series/Data Processing and Analysis (MATH 587/GEOP 55) Rick Aster and Brian Borchers October 7, 28 Plotting Spectra Using the FFT Plotting the spectrum of a signal from its FFT is a very common activity.

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

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3 IJSRD - International Journal for Scientific Research & Development Vol. 3, Issue 03, 2015 ISSN (online): 2321-0613 Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz.

More information

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP DIGITAL FILTERS!! Finite Impulse Response (FIR)!! Infinite Impulse Response (IIR)!! Background!! Matlab functions 1!! Only the magnitude approximation problem!! Four basic types of ideal filters with magnitude

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

Frequency Domain Representation of Signals

Frequency Domain Representation of Signals Frequency Domain Representation of Signals The Discrete Fourier Transform (DFT) of a sampled time domain waveform x n x 0, x 1,..., x 1 is a set of Fourier Coefficients whose samples are 1 n0 X k X0, X

More information

Digital Signal Processing

Digital Signal Processing Digital Signal Processing Fourth Edition John G. Proakis Department of Electrical and Computer Engineering Northeastern University Boston, Massachusetts Dimitris G. Manolakis MIT Lincoln Laboratory Lexington,

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

EE 451: Digital Signal Processing

EE 451: Digital Signal Processing EE 451: Digital Signal Processing Power Spectral Density Estimation Aly El-Osery Electrical Engineering Department, New Mexico Tech Socorro, New Mexico, USA December 4, 2017 Aly El-Osery (NMT) EE 451:

More information

Signal processing preliminaries

Signal processing preliminaries Signal processing preliminaries ISMIR Graduate School, October 4th-9th, 2004 Contents: Digital audio signals Fourier transform Spectrum estimation Filters Signal Proc. 2 1 Digital signals Advantages of

More information

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet Lecture 10: Summary Taneli Riihonen 16.05.2016 Lecture 10 in Course Book Sanjit K. Mitra, Digital Signal Processing: A Computer-Based Approach, 4th

More information

Lecture 4 Biosignal Processing. Digital Signal Processing and Analysis in Biomedical Systems

Lecture 4 Biosignal Processing. Digital Signal Processing and Analysis in Biomedical Systems Lecture 4 Biosignal Processing Digital Signal Processing and Analysis in Biomedical Systems Contents - Preprocessing as first step of signal analysis - Biosignal acquisition - ADC - Filtration (linear,

More information

Fundamentals of Time- and Frequency-Domain Analysis of Signal-Averaged Electrocardiograms R. Martin Arthur, PhD

Fundamentals of Time- and Frequency-Domain Analysis of Signal-Averaged Electrocardiograms R. Martin Arthur, PhD CORONARY ARTERY DISEASE, 2(1):13-17, 1991 1 Fundamentals of Time- and Frequency-Domain Analysis of Signal-Averaged Electrocardiograms R. Martin Arthur, PhD Keywords digital filters, Fourier transform,

More information

Spring 2014 EE 445S Real-Time Digital Signal Processing Laboratory Prof. Evans. Homework #2. Filter Analysis, Simulation, and Design

Spring 2014 EE 445S Real-Time Digital Signal Processing Laboratory Prof. Evans. Homework #2. Filter Analysis, Simulation, and Design Spring 2014 EE 445S Real-Time Digital Signal Processing Laboratory Prof. Homework #2 Filter Analysis, Simulation, and Design Assigned on Saturday, February 8, 2014 Due on Monday, February 17, 2014, 11:00am

More information

EE216B: VLSI Signal Processing. Wavelets. Prof. Dejan Marković Shortcomings of the Fourier Transform (FT)

EE216B: VLSI Signal Processing. Wavelets. Prof. Dejan Marković Shortcomings of the Fourier Transform (FT) 5//0 EE6B: VLSI Signal Processing Wavelets Prof. Dejan Marković ee6b@gmail.com Shortcomings of the Fourier Transform (FT) FT gives information about the spectral content of the signal but loses all time

More information

UNIVERSITY OF SWAZILAND

UNIVERSITY OF SWAZILAND UNIVERSITY OF SWAZILAND MAIN EXAMINATION, MAY 2013 FACULTY OF SCIENCE AND ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING TITLE OF PAPER: INTRODUCTION TO DIGITAL SIGNAL PROCESSING COURSE

More information

Digital Signal Processing

Digital Signal Processing Digital Signal Processing System Analysis and Design Paulo S. R. Diniz Eduardo A. B. da Silva and Sergio L. Netto Federal University of Rio de Janeiro CAMBRIDGE UNIVERSITY PRESS Preface page xv Introduction

More information

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE) Code: 13A04602 R13 B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 (Common to ECE and EIE) PART A (Compulsory Question) 1 Answer the following: (10 X 02 = 20 Marks)

More information

F I R Filter (Finite Impulse Response)

F I R Filter (Finite Impulse Response) F I R Filter (Finite Impulse Response) Ir. Dadang Gunawan, Ph.D Electrical Engineering University of Indonesia The Outline 7.1 State-of-the-art 7.2 Type of Linear Phase Filter 7.3 Summary of 4 Types FIR

More information

Discrete-time Signals & Systems

Discrete-time Signals & Systems Discrete-time Signals & Systems S Wongsa Dept. of Control Systems and Instrumentation Engineering, KMU JAN, 2011 1 Overview Signals & Systems Continuous & Discrete ime Sampling Sampling in Frequency Domain

More information

Digital Processing of Continuous-Time Signals

Digital Processing of Continuous-Time Signals Chapter 4 Digital Processing of Continuous-Time Signals 清大電機系林嘉文 cwlin@ee.nthu.edu.tw 03-5731152 Original PowerPoint slides prepared by S. K. Mitra 4-1-1 Digital Processing of Continuous-Time Signals Digital

More information

Experiment 4- Finite Impulse Response Filters

Experiment 4- Finite Impulse Response Filters Experiment 4- Finite Impulse Response Filters 18 February 2009 Abstract In this experiment we design different Finite Impulse Response filters and study their characteristics. 1 Introduction The transfer

More information

Digital Filters FIR and IIR Systems

Digital Filters FIR and IIR Systems Digital Filters FIR and IIR Systems ELEC 3004: Systems: Signals & Controls Dr. Surya Singh (Some material adapted from courses by Russ Tedrake and Elena Punskaya) Lecture 16 elec3004@itee.uq.edu.au http://robotics.itee.uq.edu.au/~elec3004/

More information

Multirate Digital Signal Processing

Multirate Digital Signal Processing Multirate Digital Signal Processing Basic Sampling Rate Alteration Devices Up-sampler - Used to increase the sampling rate by an integer factor Down-sampler - Used to increase the sampling rate by an integer

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

UNIVERSITY OF CALGARY DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING BIOMEDICAL SIGNAL ANALYSIS ENEL 563

UNIVERSITY OF CALGARY DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING BIOMEDICAL SIGNAL ANALYSIS ENEL 563 UNIVERSITY OF CALGARY DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING BIOMEDICAL SIGNAL ANALYSIS ENEL 563 Total: 50 Marks FINAL EXAMINATION Tuesday, December 13 th, 2005 8:00 A.M. 11:00 A.M. ENA 123 3

More information

Lab 8. Signal Analysis Using Matlab Simulink

Lab 8. Signal Analysis Using Matlab Simulink E E 2 7 5 Lab June 30, 2006 Lab 8. Signal Analysis Using Matlab Simulink Introduction The Matlab Simulink software allows you to model digital signals, examine power spectra of digital signals, represent

More information

Introduction to Wavelet Transform. Chapter 7 Instructor: Hossein Pourghassem

Introduction to Wavelet Transform. Chapter 7 Instructor: Hossein Pourghassem Introduction to Wavelet Transform Chapter 7 Instructor: Hossein Pourghassem Introduction Most of the signals in practice, are TIME-DOMAIN signals in their raw format. It means that measured signal is a

More information

Digital Processing of

Digital Processing of Chapter 4 Digital Processing of Continuous-Time Signals 清大電機系林嘉文 cwlin@ee.nthu.edu.tw 03-5731152 Original PowerPoint slides prepared by S. K. Mitra 4-1-1 Digital Processing of Continuous-Time Signals Digital

More information

Signals and Systems Lecture 6: Fourier Applications

Signals and Systems Lecture 6: Fourier Applications Signals and Systems Lecture 6: Fourier Applications Farzaneh Abdollahi Department of Electrical Engineering Amirkabir University of Technology Winter 2012 arzaneh Abdollahi Signal and Systems Lecture 6

More information

FFT Analyzer. Gianfranco Miele, Ph.D

FFT Analyzer. Gianfranco Miele, Ph.D FFT Analyzer Gianfranco Miele, Ph.D www.eng.docente.unicas.it/gianfranco_miele g.miele@unicas.it Introduction It is a measurement instrument that evaluates the spectrum of a time domain signal applying

More information

Final Exam Practice Questions for Music 421, with Solutions

Final Exam Practice Questions for Music 421, with Solutions Final Exam Practice Questions for Music 4, with Solutions Elementary Fourier Relationships. For the window w = [/,,/ ], what is (a) the dc magnitude of the window transform? + (b) the magnitude at half

More information

EE228 Applications of Course Concepts. DePiero

EE228 Applications of Course Concepts. DePiero EE228 Applications of Course Concepts DePiero Purpose Describe applications of concepts in EE228. Applications may help students recall and synthesize concepts. Also discuss: Some advanced concepts Highlight

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

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

The Fundamentals of FFT-Based Signal Analysis and Measurement Michael Cerna and Audrey F. Harvey

The Fundamentals of FFT-Based Signal Analysis and Measurement Michael Cerna and Audrey F. Harvey Application ote 041 The Fundamentals of FFT-Based Signal Analysis and Measurement Michael Cerna and Audrey F. Harvey Introduction The Fast Fourier Transform (FFT) and the power spectrum are powerful tools

More information

6.555 Lab1: The Electrocardiogram

6.555 Lab1: The Electrocardiogram 6.555 Lab1: The Electrocardiogram Tony Hyun Kim Spring 11 1 Data acquisition Question 1: Draw a block diagram to illustrate how the data was acquired. The EKG signal discussed in this report was recorded

More information

Window Functions And Time-Domain Plotting In HFSS And SIwave

Window Functions And Time-Domain Plotting In HFSS And SIwave Window Functions And Time-Domain Plotting In HFSS And SIwave Greg Pitner Introduction HFSS and SIwave allow for time-domain plotting of S-parameters. Often, this feature is used to calculate a step response

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

International Journal of Modern Trends in Engineering and Research e-issn No.: , Date: 2-4 July, 2015

International Journal of Modern Trends in Engineering and Research   e-issn No.: , Date: 2-4 July, 2015 International Journal of Modern Trends in Engineering and Research www.ijmter.com e-issn No.:2349-9745, Date: 2-4 July, 2015 Analysis of Speech Signal Using Graphic User Interface Solly Joy 1, Savitha

More information

CHAPTER 3 DIGITAL SPECTRAL ANALYSIS

CHAPTER 3 DIGITAL SPECTRAL ANALYSIS CHAPTER 3 DIGITAL SPECTRAL ANALYSIS Shri Mata Vaishno Devi University, (SMVDU), 2013 Page 22 CHAPTER 3 DIGITAL SPECTRAL ANALYSIS 3.1 Introduction The transformation of data from the time domain to the

More information

Concordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu

Concordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu Concordia University Discrete-Time Signal Processing Lab Manual (ELEC442) Course Instructor: Dr. Wei-Ping Zhu Fall 2012 Lab 1: Linear Constant Coefficient Difference Equations (LCCDE) Objective In this

More information

Analyzing A/D and D/A converters

Analyzing A/D and D/A converters Analyzing A/D and D/A converters 2013. 10. 21. Pálfi Vilmos 1 Contents 1 Signals 3 1.1 Periodic signals 3 1.2 Sampling 4 1.2.1 Discrete Fourier transform... 4 1.2.2 Spectrum of sampled signals... 5 1.2.3

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

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems. PROBLEM SET 6 Issued: 2/32/19 Due: 3/1/19 Reading: During the past week we discussed change of discrete-time sampling rate, introducing the techniques of decimation and interpolation, which is covered

More information

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam Date: December 18, 2017 Course: EE 313 Evans Name: Last, First The exam is scheduled to last three hours. Open

More information

Multirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau

Multirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau Multirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau (Also see: Lecture ADSP, Slides 06) In discrete, digital signal we use the normalized frequency, T = / f s =: it is without a

More information

Filters. Phani Chavali

Filters. Phani Chavali Filters Phani Chavali Filters Filtering is the most common signal processing procedure. Used as echo cancellers, equalizers, front end processing in RF receivers Used for modifying input signals by passing

More information

Digital Filters - A Basic Primer

Digital Filters - A Basic Primer Digital Filters A Basic Primer Input b 0 b 1 b 2 b n t Output t a n a 2 a 1 Written By: Robert L. Kay President/CEO Elite Engineering Corp Notice! This paper is copyrighted material by Elite Engineering

More information

DCSP-10: DFT and PSD. Jianfeng Feng. Department of Computer Science Warwick Univ., UK

DCSP-10: DFT and PSD. Jianfeng Feng. Department of Computer Science Warwick Univ., UK DCSP-10: DFT and PSD Jianfeng Feng Department of Computer Science Warwick Univ., UK Jianfeng.feng@warwick.ac.uk http://www.dcs.warwick.ac.uk/~feng/dcsp.html DFT Definition: The discrete Fourier transform

More information

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

Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Spring Semester, Introduction to EECS 2 Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Spring Semester, 2007 6.082 Introduction to EECS 2 Lab #3: Modulation and Filtering Goal:... 2 Instructions:...

More information

Time-Frequency Analysis of Shock and Vibration Measurements Using Wavelet Transforms

Time-Frequency Analysis of Shock and Vibration Measurements Using Wavelet Transforms Cloud Publications International Journal of Advanced Packaging Technology 2014, Volume 2, Issue 1, pp. 60-69, Article ID Tech-231 ISSN 2349 6665, doi 10.23953/cloud.ijapt.15 Case Study Open Access Time-Frequency

More information

Bibliography. Practical Signal Processing and Its Applications Downloaded from

Bibliography. Practical Signal Processing and Its Applications Downloaded from Bibliography Practical Signal Processing and Its Applications Downloaded from www.worldscientific.com Abramowitz, Milton, and Irene A. Stegun. Handbook of mathematical functions: with formulas, graphs,

More information

ECE 5650/4650 Exam II November 20, 2018 Name:

ECE 5650/4650 Exam II November 20, 2018 Name: ECE 5650/4650 Exam II November 0, 08 Name: Take-Home Exam Honor Code This being a take-home exam a strict honor code is assumed. Each person is to do his/her own work. Bring any questions you have about

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

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

Islamic University of Gaza. Faculty of Engineering Electrical Engineering Department Spring-2011

Islamic University of Gaza. Faculty of Engineering Electrical Engineering Department Spring-2011 Islamic University of Gaza Faculty of Engineering Electrical Engineering Department Spring-2011 DSP Laboratory (EELE 4110) Lab#4 Sampling and Quantization OBJECTIVES: When you have completed this assignment,

More information

From Fourier Series to Analysis of Non-stationary Signals - VII

From Fourier Series to Analysis of Non-stationary Signals - VII From Fourier Series to Analysis of Non-stationary Signals - VII prof. Miroslav Vlcek November 23, 2010 Contents Short Time Fourier Transform 1 Short Time Fourier Transform 2 Contents Short Time Fourier

More information

Use Matlab Function pwelch to Find Power Spectral Density or Do It Yourself

Use Matlab Function pwelch to Find Power Spectral Density or Do It Yourself Use Matlab Function pwelch to Find Power Spectral Density or Do It Yourself In my last post, we saw that finding the spectrum of a signal requires several steps beyond computing the discrete Fourier transform

More information

Fourier Transform Analysis of Signals and Systems

Fourier Transform Analysis of Signals and Systems Fourier Transform Analysis of Signals and Systems Ideal Filters Filters separate what is desired from what is not desired In the signals and systems context a filter separates signals in one frequency

More information

CS3291: Digital Signal Processing

CS3291: Digital Signal Processing CS39 Exam Jan 005 //08 /BMGC University of Manchester Department of Computer Science First Semester Year 3 Examination Paper CS39: Digital Signal Processing Date of Examination: January 005 Answer THREE

More information

Chapter 2. Signals and Spectra

Chapter 2. Signals and Spectra Chapter 2 Signals and Spectra Outline Properties of Signals and Noise Fourier Transform and Spectra Power Spectral Density and Autocorrelation Function Orthogonal Series Representation of Signals and Noise

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

Signals, sampling & filtering

Signals, sampling & filtering Signals, sampling & filtering Scientific Computing Fall, 2018 Paul Gribble 1 Time domain representation of signals 1 2 Frequency domain representation of signals 2 3 Fast Fourier transform (FFT) 2 4 Sampling

More information

Signals. Continuous valued or discrete valued Can the signal take any value or only discrete values?

Signals. Continuous valued or discrete valued Can the signal take any value or only discrete values? Signals Continuous time or discrete time Is the signal continuous or sampled in time? Continuous valued or discrete valued Can the signal take any value or only discrete values? Deterministic versus random

More information

SIGMA-DELTA CONVERTER

SIGMA-DELTA CONVERTER SIGMA-DELTA CONVERTER (1995: Pacífico R. Concetti Western A. Geophysical-Argentina) The Sigma-Delta A/D Converter is not new in electronic engineering since it has been previously used as part of many

More information

Aparna Tiwari, Vandana Thakre, Karuna Markam Deptt. Of ECE,M.I.T.S. Gwalior, M.P, India

Aparna Tiwari, Vandana Thakre, Karuna Markam Deptt. Of ECE,M.I.T.S. Gwalior, M.P, India International Journal of Computer & Communication Engineering Research (IJCCER) Volume 2 - Issue 3 May 2014 Design Technique of Lowpass FIR filter using Various Function Aparna Tiwari, Vandana Thakre,

More information

Project 0: Part 2 A second hands-on lab on Speech Processing Frequency-domain processing

Project 0: Part 2 A second hands-on lab on Speech Processing Frequency-domain processing Project : Part 2 A second hands-on lab on Speech Processing Frequency-domain processing February 24, 217 During this lab, you will have a first contact on frequency domain analysis of speech signals. You

More information

Signal Processing. Naureen Ghani. December 9, 2017

Signal Processing. Naureen Ghani. December 9, 2017 Signal Processing Naureen Ghani December 9, 27 Introduction Signal processing is used to enhance signal components in noisy measurements. It is especially important in analyzing time-series data in neuroscience.

More information

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015 Purdue University: ECE438 - Digital Signal Processing with Applications 1 ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015 1 Introduction

More information

Simulation Scenario For Digital Conversion And Line Encoding Of Data Transmission

Simulation Scenario For Digital Conversion And Line Encoding Of Data Transmission Simulation Scenario For Digital Conversion And Line Encoding Of Data Transmission Olutayo Ojuawo Department of Computer Science, The Federal Polytechnic, Ilaro, Ogun State, Nigeria Luis Binotto M.Sc in

More information

(i) Understanding the basic concepts of signal modeling, correlation, maximum likelihood estimation, least squares and iterative numerical methods

(i) Understanding the basic concepts of signal modeling, correlation, maximum likelihood estimation, least squares and iterative numerical methods Tools and Applications Chapter Intended Learning Outcomes: (i) Understanding the basic concepts of signal modeling, correlation, maximum likelihood estimation, least squares and iterative numerical methods

More information