EE93 – Medical Mobile Devices and Apps

Slides:



Advertisements
Similar presentations
Design of Digital IIR Filter
Advertisements

Chapter 8. FIR Filter Design
7th Lecture Dimitar Stefanov. Recapping Three types electrodes are used for sensing of EMG signals: 1.indwelling (intramuscular) electrodes (single fiber.
EE513 Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Filtering Filtering is one of the most widely used complex signal processing operations The system implementing this operation is called a filter A filter.
So far We have introduced the Z transform
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
LINEAR-PHASE FIR FILTERS DESIGN
Sampling, Reconstruction, and Elementary Digital Filters R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Vital Signs Monitor UConn BME 4900 Vital Signs Monitor Purpose As the population ages, many people are required by their doctors to take vital signs.
Example Problem You are measuring the EEG of a patient and accidently choose two different types of electrodes for EEG lead. One of them has a source impedance.
EECS 20 Chapter 9 Part 21 Convolution, Impulse Response, Filters Last time we Revisited the impulse function and impulse response Defined the impulse (Dirac.
© 2012 Pearson Education. Upper Saddle River, NJ, All rights reserved. Electronic Devices, 9th edition Thomas L. Floyd Electronic Devices Ninth.
Lecture II: Linear Applications of Opamp
AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.
EEE422 Signals and Systems Laboratory Filters (FIR) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Chapter 8 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Medical Applications Electrocardiogram (ECG)
Analogue Electronics II EMT 212/4
Unit III FIR Filter Design
1 Lecture 2: February 27, 2007 Topics: 2. Linear Phase FIR Digital Filter. Introduction 3. Linear-Phase FIR Digital Filter Design: Window (Windowing)
Practical Signal Processing Concepts and Algorithms using MATLAB
0 - 1 © 2010 Texas Instruments Inc Practical Audio Experiments using the TMS320C5505 USB Stick “FIR Filters” Texas Instruments University Programme Teaching.
Chapter 8 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
DSP. What is DSP? DSP: Digital Signal Processing---Using a digital process (e.g., a program running on a microprocessor) to modify a digital representation.
Discrete-Time and System (A Review)
09/16/2010© 2010 NTUST Today Course overview and information.
1 Diagramas de bloco e grafos de fluxo de sinal Estruturas de filtros IIR Projeto de filtro FIR Filtros Digitais.
Coding No. 1  Seattle Pacific University Modulation Kevin Bolding Electrical Engineering Seattle Pacific University.
© 2012 Pearson Education. Upper Saddle River, NJ, All rights reserved. Electronic Devices, 9th edition Thomas L. Floyd Electronic Devices Ninth.
EE Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
MATLAB for Signal Processing The MathWorks Inc. Natick, MA USA Filter Design.
1 BIEN425 – Lecture 10 By the end of the lecture, you should be able to: –Describe the reason and remedy of DFT leakage –Design and implement FIR filters.
ECG Monitor Objective o Provide users an economical ECG monitoring device o Raise awareness to the importance of a healthy heart and living o Allow doctors.
University of Kansas 2004 ITTC Summer Lecture Series Network Analyzer Operation John Paden.
Chapter 7 Finite Impulse Response(FIR) Filter Design
1 Introduction to Digital Filters Filter: A filter is essentially a system or network that selectively changes the wave shape, amplitude/frequency and/or.
FIR Filter Design & Implementation
Quiz 1 Review. Analog Synthesis Overview Sound is created by controlling electrical current within synthesizer, and amplifying result. Basic components:
Chapter 9-10 Digital Filter Design. Objective - Determination of a realizable transfer function G(z) approximating a given frequency response specification.
Lecture#10 Spectrum Estimation
1 Digital Signal Processing Digital Signal Processing  IIR digital filter structures  Filter design.
Mind Control of Systems Designing a system to measure brain waves in order to obtain commands to control the direction of a remote-control car By Gary.
The IIR FILTERs These are highly sensitive to coefficients,
EE 4BD4 Lecture 7 Recording Biopotential Fields. Need for Amplifiers 2.
Portable Real Time ECG Design
Electrocardiography (ECG) Electrocardiogram  The tracing made by an electrocardiograph  Electrocardiograph an instrument for recording the changes.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
Lecture 09b Finite Impulse Response (FIR) Filters
Chapter 6. Digital Filter Structures and Designs Section
Electromyography E.M.G..
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
Physiologic signals Lecture (2).
SIGNAL CONDITIONING Signal conditioning is stage of instrumentation system used for modifying the transduced signal into a usable format for the final.
Lecture: IIR Filter Design
EEE4176 Applications of Digital Signal Processing
EEE422 Signals and Systems Laboratory
Electromyography E.M.G..
LINEAR-PHASE FIR FILTERS DESIGN
Lesson 11: Transducer Electrical Interfaces
Electromyography E.M.G..
Lect5 A framework for digital filter design
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
Amplifiers: A Bio amplifier is an electrophysiological device, a variation of the instrumentation amplifier, used to gather and increase the signal integrity.
8.5 Modulation of Signals basic idea and goals
Chapter 7 Finite Impulse Response(FIR) Filter Design
INTRODUCTION TO THE SHORT-TIME FOURIER TRANSFORM (STFT)
Chapter 7 Finite Impulse Response(FIR) Filter Design
Presentation transcript:

EE93 – Medical Mobile Devices and Apps 60 98 30 bpm % rpm Lecture: Instrumentation & DSP

ECG Waveform on Strip Chart 12-lead – showing in 4 columns by 3 rows One heartbeat cycle 5 mm by 5 mm reference square 0,200 s duration by 0.5 mV amplitude 1 mm by 1 mm reference square 0,040 s duration by 0.1 mV amplitude 1 mV, 10 mm high reference pulse Length: 0.200 s EE93 – Mobile Medical Devices and Apps

EE93 – Mobile Medical Devices and Apps Measuring ECG (3-Lead) 3-lead ECG uses right arm (or chest), left arm (or chest) and left foot Able to obtain PQRST wave Unable to obtain other leads and heart angle 60 98 30 bpm % rpm Source for ECG slides: Computing the Electrical Activity in the Heart: 1 (Monographs in Computational Science and Engineering) by Joakim Sundnes, Glenn Terje Lines, Xing Cai and Bjørn Frederik Nielsen (2007) EE93 – Mobile Medical Devices and Apps

Common Frequencies for ECG Heart rate: 0.67 to 5 Hz (40 to 300 bpm) P-wave: 0.67 to 5 Hz QRS Complex: 10 to 50 Hz T-wave: 1 to 7 Hz High frequency potentials: 100 to 500 Hz EE93 – Mobile Medical Devices and Apps

Common Frequencies for ECG Artifacts & Noise Muscle: 5 Hz to 50 Hz Respiratory: 0.12 to 0.5 Hz (8 to 30 bpm) External Electric: 50 Hz or 60 Hz (AC Line) Other Electrical: > 10 Hz (muscle stimulators, magnetic fields, pacemakers with impedance monitoring) EE93 – Mobile Medical Devices and Apps

EE93 – Mobile Medical Devices and Apps ECG Special Notes Skin-electrode interface – largest source of interference – produces 200 to 300 mV Skin-electrode interference is magnified by motion (patient movement, respiratory variation) Electrical activity of heart – 0.1 to 2 mV EE93 – Mobile Medical Devices and Apps

EE93 – Mobile Medical Devices and Apps Power Spectra of ECG Relative power spectra of QRS complex, P and T waves, muscle noise and motion artifacts based upon an average of 150 bpm Source: http://www.ems12lead.com/wp-content/uploads/sites/42/2014/03/ecg-component-frequencies.jpg EE93 – Mobile Medical Devices and Apps

EE93 – Mobile Medical Devices and Apps ECG Amplifier + + V1 V2 EE93 – Mobile Medical Devices and Apps

EE93 – Mobile Medical Devices and Apps Signal & Noise Model Vnoise + - Vsignal + Vnoise Vsignal EE93 – Mobile Medical Devices and Apps

Instrumentation Amplifier V1 Vout – + V2 R4 R3 R2 R1 R2 R3 R4 EE93 – Mobile Medical Devices and Apps

Instrumentation Amplifier (IA) Provides capability to: Reject common-mode signal components (noise & interference, undesired DC offsets) Amplifies differential-mode signal In practice, rejection of common-mode signal is not complete  common-mode rejection ration (CMRR) EE93 – Mobile Medical Devices and Apps

Instrumentation Amplifier (IA) Provides impedance isolation between bridge transducers and differential amplifier stage Signals V1 and V2 are amplified separately Conditions the signals Provide high CMRR if implemented with diligence EE93 – Mobile Medical Devices and Apps

Instrumentation Amplifier V1 Vout – + V2 R4 R3 R2 R1 R2 R3 R4 EE93 – Mobile Medical Devices and Apps

EE93 – Mobile Medical Devices and Apps Level Shifter RF Wide spread use in medical applications Adds or subtracts a DC offset to or from signal Rs – + V+ Vout + - Vref EE93 – Mobile Medical Devices and Apps

Signal Processing Pulse Indicator Instrumentation Amplifier High Pass Filter Signal Processing WiFi Patient Monitor ECG with Noise Stop Band Filter Square Signal Pulse Detect EE93 – Mobile Medical Devices and Apps

EE93 – Mobile Medical Devices and Apps DSP  IIR Filter  FIR Filter EE93 – Mobile Medical Devices and Apps

EE93 – Mobile Medical Devices and Apps Filter Specification “Ripple” “Effective edge of the filter” “Ripple” EE93 – Mobile Medical Devices and Apps

EE93 – Mobile Medical Devices and Apps DSP Notes IIR filter – has infinite impulse response  need to limit FIR filter – has finite impulse response  hf[n] = 0, n ≥ 0 FIR filter advantages: Can have exact linear phase Always stable (even under quantization) Design methods are reasonable linear Realize efficiently in hardware or software Transients have finite duration Disadvantages Requires higher filter order that IIR to achieve similar performance Delay is typically greater in FIR than IIR counterpart EE93 – Mobile Medical Devices and Apps

FIR Filter Design Notes IIR: H[Ω] = desired IIR filter with impulse h[n] FIR: Transfer function: DTFT: EE93 – Mobile Medical Devices and Apps

EE93 – Mobile Medical Devices and Apps DSP – Analytically hd[n] = w[n]h[n] Where w[n] is a window function  truncates the signal Rectangular window causes abrupt transitions Other windows allow gradual transitions EE93 – Mobile Medical Devices and Apps

EE93 – Mobile Medical Devices and Apps DSP – Other Windows Hanning: Hamming: EE93 – Mobile Medical Devices and Apps

EE93 – Mobile Medical Devices and Apps DSP – Windows Hd(Ω) better approximates H(Ω) when main lobe of filter is narrow in bandwidth and side lobes are small in value Hanning and Hamming, in general have much smaller sidelobes than rectangular window  less ripple in frequency response of FIR filter EE93 – Mobile Medical Devices and Apps

EE93 – Mobile Medical Devices and Apps DSP – Procedure  signal that needs to be filtered Design the filter Normalize the Nyquist rate across the spectrum Generate the filter coefficients in MatLab Use MatLab command fir1 Iterate until you “get an acceptable response” Use MatLab command filter on signal  signal filter in iPad Set up difference equation Use filter coefficients from fir1 Compute filtered signal in code using add/multiply via difference equation Program filter in Objective-C – rather than vDSP framework EE93 – Mobile Medical Devices and Apps