data processing through bio sensors and development of simulation software

32
DATA PROCESSING THROUGH BIOSENSORS AND DEVELOPMENT OF SIMULATION SOFTWARE IN WINDOWS & RT - LINUX

Upload: razin-anik

Post on 19-Jul-2015

595 views

Category:

Engineering


5 download

TRANSCRIPT

DATA PROCESSING THROUGH

BIOSENSORS AND DEVELOPMENT

OF SIMULATION SOFTWARE IN

WINDOWS & RT-LINUX

Team Structure

Supervisor: Dr. Abul Malek Azad

Co-Supervisor: Marzia Alam

Kazi Mohammad Razin

Jonayet Hossain

Mahmudul Hasan Oyon

Background Motivation

Scarcity of medicine testing equipments for pharmaceuticals industry in Bangladesh

High price of accurate medicine testing equipment

Objective

Developing a Standard equipment for pharmaceuticals industry

Cheaper solution

Higher precision accuracy

Real-Time System

Overview

Interfacing Temperature, SPO2 and ECG

Development of Analog processing hardware

Development of Graphical User Interface.

Comparison non real-time & real-time time latancy

Outline

BIO SENSORANALOG SIGNAL

PROCESSING

DSP & DATAACQUISITION

DATA PROCESSING IN

RT-LINUX & WINDOS

LINKIN RT LINUX +

GUI

GUI in WINDOS

&LINUX

Temperature Sensor

Temperature Probe

Brand: Solaris

Origin: China

Model: Unknown

Temperature Measurement Hardware

Temperature = (Voltage – 2.2)/ 0.042

SpO2

SPO2 Finger Sensor

Brand: Solaris

Origin: China

Model: S300A-300105

Oxygen Saturation & Heartbeat Process Circuit

Before After

ECG3-Lead ECG Cable

Brand: Solaris

Origin: China

Model: S1-03C370163

BeforeAfter

ECG

Data Acquisition Card

Advantech USB-4617

16 analog input channels

16-bit & 0.07mv precision Sampling rate up to 200 kS/s 8-ch DI/8-ch DO, 2-ch AO and one 32-bit counter

Implemented Software

Windows Graphical User Interface

Delay Time Measurement (Windows)

Delay Time Measurement (Linux)

Windows Graphical User Interface

MS Visual Studio

.NET Frame Work

C# Language

Advantech Lib: AdvAI.dll

Windows delay Measurement

MS Visual Studio

C++ Language

Advantech Lib: advapi32.dll

Console

Linux delay Measurement

GNU C Compiler

C language

Advantech Module: advdrv_core.ko& usb4716.ko

Console

Windows Delay Time

General purpose OS

Non Real Time Thread Delay

Linux Delay Time

Time precise OS

Soft-Real Time

Hard-Real Time

Delay Time Comparison – No Proc

Sample

No

Total time taken

for 100 samples

(windows)

Microsecond

Average

(windows)

Microsecond

Total time

taken for

100 samples

(Linux)

Microsecon

d

Average

(Linux)

Microsecond

1 39016 390 33274 332

2 38193 381 33077 330

3 36828 368 33172 331

4 37355 373 33271 332

5 38357 383 32921 329

Average 379 Average 332

Delay Time Comparison – 5 Proc

Sample

No

Total time

taken for 100

samples

(windows)

Microsecond

Average

(windows)

Microsecond

Total time

taken for 100

samples

(Linux)

Microsecond

Average

(Linux)

Microsecond

1 40861 408 32801 328

2 40346 403 36885 368

3 41286 412 32755 327

4 40719 407 34475 344

5 40257 402 36558 365

Average 406 Average 346

Delay Time Comparison-10 Proc

Sample

No

Total time taken

for 100 samples

(windows)

Microsecond

Average

(windows)

Microsecond

Total time

taken for

100 samples

(Linux)

Microsecond

Average

(Linux)

Microsecond

1 44000 440 40464 404

2 43656 436 39061 390

3 42963 429 42851 428

4 43590 435 42061 420

5 43052 430 41076 410

Average 434 Average 410

Delay Time Comparison – 15 Proc

Sample

No

Total time taken

for 100 samples

(windows)

Microsecond

Average

(windows)

Microsecond

Total time

taken for

100 samples

(Linux)

Microsecon

d

Average

(Linux)

Microsecon

d

1 50145 501 41446 414

2 54938 549 43608 436

3 48851 488 49070 490

4 56676 566 51667 516

5 53070 530 49191 491

Average 526 Average 469

Comparison Result

Running processesx Windows

(microsecond)

Linux

(microsecond)

No process running 379 332

5 processed running 406 346

10 processed running 434 410

15 processes running 526 469

Comparison of

the Time Latency.

Findings

Making the time sensitivity comparison on signal processing between windows and Linux

Development of time measurement system for data reading through the DAQ card both in windows and Linux

Development of Data processing in Graphical user interface for biomedical device in windows environment

Limitations

We could interface the DAQ system only with one version

of Linux which is RED hat enterprise Linux 4. In other

versions time latency can be changed.

The system is largely dependent on USB-4716. Any other

data acquisition system can reduce or increase the precise

level of data and time.

Future Development

Hardware- software interface implementation for

ECG and SPO2.

Further improvement of out developed software

in LINUX & Windows by adding more options

and database in system.

Project Demonstration

Thank you