Presentation is loading. Please wait.

Presentation is loading. Please wait.

Dept. of Biomed. Eng.BME302: Medical InstrumentationKyung Hee Univ. 1 이규락 생체의공학과 2010103805 이규락.

Similar presentations


Presentation on theme: "Dept. of Biomed. Eng.BME302: Medical InstrumentationKyung Hee Univ. 1 이규락 생체의공학과 2010103805 이규락."— Presentation transcript:

1 Dept. of Biomed. Eng.BME302: Medical InstrumentationKyung Hee Univ. 1 이규락 생체의공학과 2010103805 이규락

2 Dept. of Biomed. Eng.BME302: Medical InstrumentationKyung Hee Univ. 2 이규락  심전도 출력과 QRS 검출 Amp +-+- ADC Micro processor Output DSP C language firmware

3 Dept. of Biomed. Eng.BME302: Medical InstrumentationKyung Hee Univ. 3 이규락 Band pass Filtering 미분 제곱 ( 전파정류 ) 적분 Band pass filtering (LPF->HPF) 미분 제곱 Moving window integration Thresholding

4 Dept. of Biomed. Eng.BME302: Medical InstrumentationKyung Hee Univ. 4 이규락 t nTs (n-1)Ts x[n] X[n-1] Raw Data x(t) x[n] Sampling x i [n] H(z) y[n]

5 Dept. of Biomed. Eng.BME302: Medical InstrumentationKyung Hee Univ. 5 이규락 FIR Filter IIR Filter Z transform Difference Equation

6 Dept. of Biomed. Eng.BME302: Medical InstrumentationKyung Hee Univ. 6 이규락 Digital filter coding C language function int MyfirstDF(int d) { static int x1,x2,y1,y2; int y; y=d+(x1 >2)-[(y2+y2+y2)>>>3]; x2=x1; x1=d; y2=y1; y1=d; return y; } // 함수가 끝나도 남아 있어야 하므로 static 으로 선언 //real time 이므로 다음 콜에는 1 만큼 밀려있어야 한다.

7 Dept. of Biomed. Eng.BME302: Medical InstrumentationKyung Hee Univ. 7 이규락 LPF int QRS_LPF(int d) { static int y1=0, y2=0, x[26], n=12; int y; x[n]=x[n+13]=d; y=x[n]-(x[n+6]<<1)+x[n+12]+(y1<<1)-y2; y2=y1; y1=y; if(--n<0) n=12; return y; } D13∙∙∙ D1 (D15) D0 D14 D13∙∙∙ D1D0 D14 Arr[0]Arr[12]Arr[13]Arr[25] Arr[12],Arr[25] 가 최신 데이터면 Arr[11], Arr[24] 가 가장 오래된 데이터이다. ‘Ring Buffer’


Download ppt "Dept. of Biomed. Eng.BME302: Medical InstrumentationKyung Hee Univ. 1 이규락 생체의공학과 2010103805 이규락."

Similar presentations


Ads by Google