15
June 7, 2010 1 RPS Hardware and Software Optimization of BABSMOM System FIR Filter s1150072 Yumiko Kimezawa Research Progress Seminar

Research Progress Seminar

Embed Size (px)

DESCRIPTION

Outline Digital filter FIR filter Why is an FIR filter used ? Structure of an FIR filter Data flow diagram Future work June 7, 2010 RPS

Citation preview

Page 1: Research Progress Seminar

June 7, 2010 1RPS

Hardware and Software Optimization of BABSMOM System

FIR Filter

s1150072 Yumiko Kimezawa

Research Progress Seminar

Page 2: Research Progress Seminar

Outline

• Digital filter• FIR filter• Why is an FIR filter used ?• Structure of an FIR filter• Data flow diagram• Future work

June 7, 2010 RPS 2

Page 3: Research Progress Seminar

Raw ECG/EKGData ROM

VirtualExternalMemory

LEDController

Graphic LCD Controller

SlaveCPU

Slave CPU Memory

Timer Master CPUMemory

MasterCPUTimerShared

MemoryFIR Filter

GraphicLCDLED JTAG

UART

PPD Module Master Module

ADC 1

ADC 12

FIR 1

FIR 12

Buffer

ECGSignal

Analysis

ExternalMemory

1:Signal reading 2:Filtering 3:Analysis

P = # mV Q = # mVR = # mV S = # mV T = # mV U = # mV Interval = # ms

4:Display

June 7, 2010 3RPS

Page 4: Research Progress Seminar

Digital filter

June 7, 2010 RPS 4

•Digital filter Mathematical processing to digital signalNoise rejectionWaveform extraction

•FIR filter- Finite Impulse Response filter

•IIR filter- Infinite Impulse Response filter

There are two main types of a digital filter are

This ECG/EKG system uses an FIR filter.

Page 5: Research Progress Seminar

FIR filter

June 7, 2010 RPS 5

FIR filter•One of the ways to configure a digital filter

•A liner phase

an oscillation does not happen

•Inherent stability

a distortion of waveform does not happen

•Impulse response is finite

Page 6: Research Progress Seminar

Why is an FIR filter used ?

June 7, 2010 RPS 6

The data from analog/digital converter is finite and discrete digital signal.

This ECG/EKG system use FIR filter.

Page 7: Research Progress Seminar

Structure of an FIR filter

June 7, 2010 RPS 7

An FIR filter is shown by the following difference equation.

NnNnn xaxaxany 110][

N

iinixa

0

nx][ny),,1,0( Niai

N

: Input signals

: Output signals

: Filter order

: Filter coefficient

It shows the way to process signals.

Page 8: Research Progress Seminar

Data flow diagram

June 7, 2010 RPS 8

The FIR filter is composed of three parts.

1Z 1Z 1Z

nx 1nx 2nx Nnx

0a 1a 2a Na

][ny

Figure: The basic block diagram for an FIR filter of N order.

Page 9: Research Progress Seminar

Data flow diagram

June 7, 2010 RPS 9

1Z 1Z 1Z

nx 1nx 2nx Nnx

0a 1a 2a Na

][ny

Delay element- temporal delay- delay signal for one clock for

sampling

Page 10: Research Progress Seminar

Data flow diagram

June 7, 2010 RPS 10

1Z 1Z 1Z

nx 1nx 2nx Nnx

0a 1a 2a Na

][ny

Page 11: Research Progress Seminar

Data flow diagram

June 7, 2010 RPS 11

1Z 1Z 1Z

nx 1nx 2nx Nnx

0a 1a 2a Na

][ny

Multiplier- multiply filter coefficient by an input

signal

Page 12: Research Progress Seminar

Data flow diagram

June 7, 2010 RPS 12

1Z 1Z 1Z

nx 1nx 2nx Nnx

0a 1a 2a Na

][ny

Page 13: Research Progress Seminar

Data flow diagram

June 7, 2010 RPS 13

1Z 1Z 1Z

nx 1nx 2nx Nnx

0a 1a 2a Na

][ny

Adder-Add output result from all

multiplier

Page 14: Research Progress Seminar

Difference equation

June 7, 2010 RPS 14

An FIR filter is shown by the following difference equation.

NnNnn xaxaxany 110][

N

iinixa

0

nx][ny),,1,0( Niai

N

: Input signals

: Output signals

: Filter order

: Filter coefficient

1Z 1Z 1Z

nx 1nx 2nx Nnx

0a 1a 2a Na

][ny

Page 15: Research Progress Seminar

Future work

• Understand current ECG Algorithm- Pam Tompskins

• Understand new algorithm developed last year- Period-Peak Detection (PPD) Algorithm

June 7, 2010 RPS 15