Biomedical Instrumentation B2. Dealing with noise

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

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

Digital Filtering: Realization

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

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

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

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

SAMPLING THEORY. Representing continuous signals with discrete numbers

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

Introduction to Wavelet Transform. Chapter 7 Instructor: Hossein Pourghassem

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

Lecture Schedule: Week Date Lecture Title

Design of FIR Filters

System analysis and signal processing

EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM

Discrete Fourier Transform (DFT)

Chapter 2. Signals and Spectra

ECE 2111 Signals and Systems Spring 2012, UMD Experiment 9: Sampling

Biomedical Sensor Systems Laboratory. Institute for Neural Engineering Graz University of Technology

Window Functions And Time-Domain Plotting In HFSS And SIwave

Lecture 2 Review of Signals and Systems: Part 1. EE4900/EE6720 Digital Communications

Digital Signal Processing +


Analog Circuits and Systems

Problems from the 3 rd edition

Digital Filters - A Basic Primer

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

6.555 Lab1: The Electrocardiogram

EE228 Applications of Course Concepts. DePiero

ECE 556 BASICS OF DIGITAL SPEECH PROCESSING. Assıst.Prof.Dr. Selma ÖZAYDIN Spring Term-2017 Lecture 2

Frequency Domain Representation of Signals

Electrical & Computer Engineering Technology

Signals and Filtering

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

2) How fast can we implement these in a system

Data Acquisition Systems. Signal DAQ System The Answer?

BIOMEDICAL SIGNAL PROCESSING (BMSP) TOOLS

Biomedical Engineering Evoked Responses

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

CS3291: Digital Signal Processing

Fourier Transform Pairs

EE 422G - Signals and Systems Laboratory

Fourier Signal Analysis

The Fundamentals of Mixed Signal Testing

Signal Processing Toolbox

Advanced Audiovisual Processing Expected Background

INF4420 Switched capacitor circuits Outline

Qäf) Newnes f-s^j^s. Digital Signal Processing. A Practical Guide for Engineers and Scientists. by Steven W. Smith

Digital Signal Processing for Audio Applications

Outline. Noise and Distortion. Noise basics Component and system noise Distortion INF4420. Jørgen Andreas Michaelsen Spring / 45 2 / 45

Spectrum Analysis - Elektronikpraktikum

Understanding Digital Signal Processing

System Identification & Parameter Estimation

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

ELECTROMYOGRAPHY UNIT-4

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals

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

The quality of the transmission signal The characteristics of the transmission medium. Some type of transmission medium is required for transmission:

UNIT-3. Electronic Measurements & Instrumentation

Development of Electrocardiograph Monitoring System

INF4420. Switched capacitor circuits. Spring Jørgen Andreas Michaelsen

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

DIGITAL SIGNAL PROCESSING WITH VHDL

Reconfigurable Low-Power Continuous-Time Sigma-Delta Converter for Multi- Standard Applications

Sampling Theory. CS5625 Lecture Steve Marschner. Cornell CS5625 Spring 2016 Lecture 7

System on a Chip. Prof. Dr. Michael Kraft

DIGITAL SIGNAL PROCESSING CCC-INAOE AUTUMN 2015

Enhancing Electrocadiographic Signal Processing Using Sine- Windowed Filtering Technique

ENGINEERING FOR RURAL DEVELOPMENT Jelgava, EDUCATION METHODS OF ANALOGUE TO DIGITAL CONVERTERS TESTING AT FE CULS

BME 405 BIOMEDICAL ENGINEERING SENIOR DESIGN 1 Fall 2005 BME Design Mini-Project Project Title

Communications IB Paper 6 Handout 3: Digitisation and Digital Signals

Signal Characteristics

Pulse Code Modulation (PCM)

SIGMA-DELTA CONVERTER

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

Sampling and Signal Processing

New Features of IEEE Std Digitizing Waveform Recorders

CHAPTER. delta-sigma modulators 1.0

+ a(t) exp( 2πif t)dt (1.1) In order to go back to the independent variable t, we define the inverse transform as: + A(f) exp(2πif t)df (1.

CHAPTER 6 INTRODUCTION TO SYSTEM IDENTIFICATION

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

DSP Based Corrections of Analog Components in Digital Receivers

EMBEDDED DOPPLER ULTRASOUND SIGNAL PROCESSING USING FIELD PROGRAMMABLE GATE ARRAYS

Electronic circuits II Example set of questions Łódź 2013

Chapter 2. Fourier Series & Fourier Transform. Updated:2/11/15

Comparative Study of Chebyshev I and Chebyshev II Filter used For Noise Reduction in ECG Signal

Analogue Interfacing. What is a signal? Continuous vs. Discrete Time. Continuous time signals

BIOMEDICAL INSTRUMENTATION PROBLEM SHEET 1

Final Exam Solutions June 7, 2004

Designing and Implementation of Digital Filter for Power line Interference Suppression

Microcomputer Systems 1. Introduction to DSP S

Developer Techniques Sessions

Frequency Domain Analysis

LINEAR MODELING OF A SELF-OSCILLATING PWM CONTROL LOOP

Final Exam Solutions June 14, 2006

DIGITAL FILTERING OF MULTIPLE ANALOG CHANNELS

EECS 452 Midterm Exam Winter 2012

8.2 Common Forms of Noise

Response spectrum Time history Power Spectral Density, PSD

Poles and Zeros of H(s), Analog Computers and Active Filters

Transcription:

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) with an amplitude of up to 50% of full scale deflection (FSD), the peak-to-peak ECG amplitude. Also includes ambient light changes (for PPG) Sensor pop or contact noise: Loss of contact between the sensor and the skin manifesting as sharp changes with saturation at FSD for periods of around 1 s on the ECG (usually due to an electrode being nearly or completely pulled off); Patient sensor motion artifacts: Movement of the electrode away from the contact area on the skin, leading to variations in the impedance between the electrode and skin causing potential variations in the ECG and usually manifesting themselves as rapid (but continuous) baseline jumps or complete saturation for up to 0.5 second; Electromyographic (EMG) noise: Electrical activity due to muscle contractions lasting around 50 ms between dc and 10,000 Hz with an average amplitude of 10% FSD level; Baseline drift: E.g. respiratory motion with an amplitude of ~15% FSD at frequencies drifting between 0.15-0.3 Hz; Hardware electronics noise: Artifacts generated by the signal processing hardware, such as signal saturation; Electrosurgical noise: Noise generated by other medical equipment present in the patient care environment a frequencies between 100 khz and 1 MHz, lasting for approximately 1 and 10 seconds; - may include defibrillation artifact too. Quantization noise: Steps introduced into data Clock drift & missing data: Sampling frequency is not constant always use a real-time OS Aliasing: Spurious frequencies because sampling frequency is too low or data were resampled Signal processing artifacts: (e.g., Gibbs oscillations, IIR filters, ). Other biological sources & sinks :(e.g., non-conductive tissues, fetal/maternal mixture, observer pulse).

Quantisation Noise Imagine a QRS complex The R-peak is always cut-off This leads to additional low and high frequency contributions to the signal

Quantisation Noise Signal to Noise Quantisation Ratio (Q = # bits) E.g. A 16-bit ADC has a maximum signalto-noise ratio of 6.02 16 = 96.3 db. Assumes uniform distribution of signal If not, then reduce: E.g. If a sine wave, then multiply by 2 -½

Aliasing The corresponding behaviour in the time domain is obvious is we consider a sinusoid of frequency f m : f s < 2 f m f s < 2 f m f s = f m Hence we have to sample at least twice every period in order to disambiguate, and so f s > 2 f m, or equivalently ω s > 2 ω m

How fast should we sample the ECG? f s > 2 f m... So what is the highest frequency in the ECG? Think about the idealised ECG S-wave is ½ square = 0.02s = 50Hz

Signal Processing Artifacts Spectral leakage Windowing Harmonics Multiples of the fundamental frequency E.g....

DFT recap: Sampling Sample the time-signal by multiplication with a train of pulses......which corresponds to convolution in the frequency domain

Review: The Fourier Transform Consider some time-domain signal, x(t), which has frequency transform, X(ω) FT FT -1 e ix = cos(x) + isin(x)

Review: time-sampling Sampling x(t) means multiplying it by a pulse train This means convolving X(f) with the FT of the pulse train pulse train time signal Convolved freq. signal

Windowing Multiply by window W(t), or convolve with a sinc W(f) in freq: windowed pulse train time signal FT[window] Convolved freq. signal

The DFT The DFT: The DFT -1:

Where is the heart rate?

Signal Processing Artifacts Filter distortion Finite Impulse Response pass band ripple, amplitude attenuation Infinite Impulse Filters phase distortion

Recap Analogue Filters Kirchoff s laws give: Therefore: Which can be discretised:

Recap Analogue Filters Magnitude of gains:... and phases: Impulse responses: (Inverse Laplace Transform of H... with =RC... i.e. Response of circuit to a Dirac delta (t). Note u(t) is Heaviside function) and a three poles (origin, =1/RC)

Recap Analogue Filters Nonlinear amplification / attenuation Nonlinear phase distortion Different frequencies are delayed by different amounts

Recap Digital Filters A filter transforms the input signal: X is transformed into Y by multiplying by a transfer function H H is composed of two types of coefficients (a & b) The a s multiply the input signal (X) only The b s include the output in the calculation P is the feedforward order and Q the feedback order Poles of filter are found by setting denominator of H equal to zero

Frequency & Phase Response Convert an impulse function to frequency and phase response. E.g. bk ={0.3, 0.7, 0, -0.3, -0.7}

Signal Processing Artifacts Filter distortion Finite Impulse Response pass band ripple, amplitude attenuation Infinite Impulse Filters phase distortion

Gibbs Oscillations / Ringing Consequence of convolving impulse response of window (sinc function) with signal In electrical circuits= oscillation of V or I when electrical pulse causes the parasitic C & L (from other materials on IC)

AR models for spectral estimation The notation AR(p) refers to the autoregressive model of order p. The AR(p) model is written as follows: Y t = a i Y t-i + t (1 i p) where the a i s are the parameters of the model and ε t is a white-noise process with zero mean. An autoregressive model is essentially an infinite impulse response filter which shapes the white-noise input. The poles are the resonances of the filter and correspond to the spectral peaks in the signal.

AR-model vs FFT spectra (for EEG) AR model is parametric Requires only a few coefficients Useful for estimation on short time series

Credits DFT slides Dr David Clifton PSD slide Dr James Pardey