Your SlideShare is downloading. ×
Design  of embedded remote monitoring terminal based on 3G network
Design  of embedded remote monitoring terminal based on 3G network
Design  of embedded remote monitoring terminal based on 3G network
Design  of embedded remote monitoring terminal based on 3G network
Design  of embedded remote monitoring terminal based on 3G network
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Design of embedded remote monitoring terminal based on 3G network

269

Published on

For more papers visit @ www.nanocdac.com

For more papers visit @ www.nanocdac.com

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
269
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Proceedings of the 2011 IEEEIICMEInternational Conference on Complex Medical EngineeringMay 22 - 25, Harbin, ChinaDesign of Embedded Remote Monitoring Terminal Basedon 3G NetworkZhongbao Peng1,2,3Chao HU2,31. School of Electronic and Information EngineeringSouth China University of TechnologyGuangzhou, ChinaJingsheng Liao2,3Tianhai Chang12. Shenzhen Institutes of Advanced TechnologyChinese Academy of SciencesShenzhen, China3. The Chinese University of Hong KongHong Kong, Chinapzbquan@163.com chao.hu@siat.ac.cnAbstract-In the paper we describe the terminal of remotemonitoring system based on embedded and 3G network. Itimplements the acquisition of physiological parameters such asthe ECG, blood pressure, respiration, blood oxygen, and sendsthe read-time data to remote doctor workstation for display andstorage through the 3G network. This paper discusses Linuxsystem migration of the monitoring terminal, design of devicedriver, 3G wireless module and standardized software interface.Keywords-3G Network, remote monitor, Embedded, WirelessI. INTRODUCTIONWith the rapid development of science and technology,the quality of peoples lives and health level enhancesunceasingly. Meanwhile, the aging of the popUlation isbecoming a global phenomenon. As the demographic surveyshows, China is entering the aging society. Along with thequickening process of aging population, lots of elderly peoplesuffered from all sorts of chronic diseases, and healthproblems of elderly people also became the focus of attention.Chronic diseases are persistent or recurring conditions thatrequire care for a long time and that limit the patientsactivities. So the monitoring system between individual andhospital are very helpful for these patients [1-3]. In addition,based on the demand of improving the doctors workefficiency in the hospital, it also makes remote monitoringsystem more and more attractive. Therefore, the design of aremote monitoring system is very necessary.At present, the terminal of remote monitoring system thatbased on either PC or wired cant satisfy clinical needs, whichare usually cumbersome and expensive, inconvenience in use.The coming of 3G era make a portable telemonitoring systemwith high data transfer rate possible [4-6], at the same time,the advance of embedded microprocessor technology enableus to design low cost and compatible system with sufficientdata processing capability.The paper presents the design of the 3G embedded remotemonitoring system, which implements the acquisition ofphysiological parameters such as the ECG, blood pressure,oxygen, and sends the read-time data to remote doctorworkstation for display and storage through the 3G network.978-1-4244-9324-1/11/$26.00 ©2011 IEEE 274js.liao@siat.ac.cn thchang@scut.edu.cn�en the exception of patients physiological is happened, itwIll report the situation to the doctor, so that patients can beget treatment in time, but also save medical expense.II. THE OVERVIEW OF THE SYSTEMThe diagram of the embedded remote monitoring systembased on 3G network is shown in figure 1. It mainly includestwo parts: family monitoring terminal and doctorsworkstations [7].Working principle: the family monitoring terminal ismainly composed of multiple physiological parametersmonitor circuit, the embedded system that based on S3C2440�d 3G communication module. Family monitoring terminalImplements the acquisition of physiological parameters suchas the ECG, blood pressure, blood oxygen, respiration,temperature. The embedded system are used to process andstore these physiological parameters, display them in LCD,transmit these data through 3G wireless modules. The doctorworkstation will store and display data coming from remotemonitoring terminal, and can remotely administer theseterminals by sending control commands through network, sothat can monitor the patient real-timely.III. THE DESIGN OF THE SYSTEMA. The overview ofmonitoring terminal hardwareConsidering factors of system such as stability and cost,monitoring terminal adopts Samsungs microprocessorS3C2440 as control core. The system hardware is composedof five parts. There are: physiology information acquisitionmodule, the ARM processor, periphery connection circuit, 3Gcommunication module and touch screen interface.S3C2440 is a section microprocessor of Samsung basedon ARM920T core of 16/32 RISC [8], which contains a lowp�,,:er, sampling maintain, 8 channel, 10-bit ADCCAnalog-toDIgItal Converter). Sampling rare can reach 500K SPS in 2.5MHz conversion clock. Periphery circuit consists of 64MSDRAM and 128M Nand Flash data storage that using largecapacity high-speed FLASH ROM to store variousAuthorized licensed use limited to: IEEE Xplore. Downloaded on January 24,2012 at 17:09:07 UTC from IEEE Xplore. Restrictions apply.
  • 2. nCG ModuleBlood Oxygen ModuleBlood PressureModuleRespiration ModuleL-____--l:IIIIRemote Monitoring Terminal :I------------r=[j=:====:=================--L_____ .P!!t!!b.!�_________�c.!��o.!:�s.!a.!i2!_____:Figure 1. Schematic diagram of the system.ApplicationSoftware Interface................._._._._-_._-----_._._-_................._._._._._._._._._._._....-..............._-------..._---_._._._................._._._._.Figure 2. Software hierarchical structure.physiological data in real time for few days. Besides largeFlash capacity provide a guarantee for data security, the outsideenlarge SO card can guarantee of the data gathering for a longtime.B. The overview ofsoftware designSoftware component mainly includes Linux embeddedoperating systems, drivers and network transmissionapplications. Software hierarchical structure is as shown infigure 2:Linux operating system is a very popular embeddedsystem at present, which is characterized by completely free,open-source, flexible cutting, network supporting. So wechoose Linux as the software platform of family monitoringterminal. The drivers such as ADC driver [9-11], serial portsscan etc, realize the underlying function and provide supportfor upper software interfaces. 30 module achieves thefunction of Wireless network connections for system.Software interface layer provides a unified operation interface,which will improve the maintainability of the program andscalability.275Application LayerSoftware InterfaceLaverDriver LayerDevice LayerIV. THE DESIGN OF SYSTEM SOFTWAREA. The design ofsoftware interfaceIntegrating modules such as Blood pressure, blood oxygen,ECO, breathing module into the system, we must provide aunified software interface to improve the scalability of system.Each device module corresponds to the device t structure,device t structure diagram is as follows:device t I paramJeeder_tI ctl tFigure 3. device_t structure.Dev info t is used to describe general information ofequipme�t. (parser_t is used in system calls to realizeequipment specific data analysis; l_signal_feeder_t is thesignal data interface which is supplied by device for systemcalls; I-param_feeder_t is the data parameters interface whichis supplied by device for system calls; I_ctU is theAuthorized licensed use limited to: IEEE Xplore. Downloaded on January 24,2012 at 17:09:07 UTC from IEEE Xplore. Restrictions apply.
  • 3. readO lyarseu->parserO[§J,,,,,,,,,t=> Parser datal_signal_feeder_t->write_signaIO:-1_ctrl->send_cmdO,,:Lead switchFigure 4. ECG data transmission and standard leads switching process.control interface of instruction which is received by devicefrom system calls. To realize UJarser_t, I_signaljeeder_t,I�aramjeeder_t, I ctI t interface, according to theequipment characteristics and set NULL if you dont use.Take ECG module for example, ECG module should berealized: 1) I�arser_t interface for system call to parseequipment data; 2) I_signal_feeder_t interface, and assignsystem callback to write_signal, device module can transfersignal data to the system through the callback function; 3)1_ctI_t, used to receive switching commands of standard leads.Typical process is shown in figure 4.B. Lima system customizationAs the use of embedded Linux is very flexible, users cancut and customize it on the basis of need. The main steps areas follows:1) Establish crossover development environment in Linux.2) Set target board of makefile files for the ARCH: = armin kernel source. And the set cross-compiling tools address.3) Use the command of make menconfig into kernelconfiguration.Compile the kernel, establish kernel image files.C. ADC driverFor the external devices, it is essential to write devicedrivers for working in Linux environment. Take ADC driverfor example, this ADC driver support 2 channels samplingsimultaneously, which support periodic sampling of timerdriven. Each channel can set ADC frequency of and buffersize alone. The design thought of ADC driver are as follows:first is to initialize equipment, including sampling channels,prescaler frequency, sampling rate, registering ADC interruptand the size of the KFIFO [12]. When the timer interrupts,ADC begin to collect data and the data is preserved in kernelbuffer.AID converter driver is typical character driver, offeringflow control interface for application. The operating method ofthe file_operation struct is initialized as follows:Static struct file_operations dev_fops = {owner: THIS_MODULE,open: s3c2440_adc_open,read:S3c2440 adc readioctI: s3c2410 adc ioctIrelease:S3c2440_adcJelease,276}S3c2440_adc_open function is to finish settings andinitialization of related timer registers when opened at the firsttime, ADC initialization and registered interrupts for timer andADC. Timer interrupt handling procedures is used toimplement for launching AD sampling, sampling data incharacter is stored in kernel buffer. S3c2440 adc read is usedfor the AID data in kernel buffer to transfer to user space inshort integer. S3c241O_adc_ioctI is used to implement variouscontrol command, including changing sampling channelnumber, sampling rate, etc. As contrary as S3c2440_adc_open,S3c2440_adcJelease is mainly used for resource release anddevice closed. The driver obtains major device number usingdynamic allocation mechanism, so could not create devicenode previously. In order to load the device driver usingdynamic major device number, call a simple script replace thecommand of insmod. Read Iproc/devices after call insmod inthe script in order to obtain major device number which is newassigned, and create device file accordingly, application getECG data by accessing to ECG device.D. 3G communication module(1) The introduction of the PPPPPP(Point-to-Point Protocol) is utilized to establish aconnection between 3G module and the gateway in this project.PPP is a kind of link layer Protocol based on TCP/IP Protocol.The layer provides full-duplex operation and transmits packetsin sequence. The PPP is one of the most widely used protocolsin WAN, which has the advantage of sample, userauthentication, IP address allocation.(2) PPP dialup tools in Linux3G card itself does not support PPP, so require a series oftools for PPP dialup (such as chat, pppd, etc) to realize PPPprotocol and Linux kernel support. With the network script of3G dialup, the terminal can be networked to the doctorworkstation.(3) USB mode switchThere are multiform methods of connection between 3Gmodule and host, such as RS232 interface, USB to serial portand so on. 3G module establishes physical electricalconnection s with client terminal by use of USB to serial port.Authorized licensed use limited to: IEEE Xplore. Downloaded on January 24,2012 at 17:09:07 UTC from IEEE Xplore. Restrictions apply.
  • 4. Figure 5.The prototype of remote monitoring termial. Figure 6. The waveform of I lead ECG.Figure 7. The waveform of 0 lead ECG. Figure 8.The waveform of 1II1ead ECG.Figure 9. Doctor workstation resultBut at present, to make 3G card work in the USB to serialmode under linux environment, there are two methods. One isto modify USB driver in linux kernel, and then recompile thekernel. In this way, if you change other card, you have to repairand recompile the kernel driver.The other is to use tools in userspace and convert storage mode to serial port mode, whichneeds the support of related DLL. Considering all elements, weadopt the second method in this project. In linux platformcommon conversion tools such as usb - modeswitch, need thesupport of dynamic repository of libusb. Usb - modeswitch anddynamic repository of libusb need to undertake cross­compiling in linux so that generate executable grogram that issuited to target board .Critical code:pppd connect chat -v "" "AT" "" "ATDT#777CONNECT user CARD password CARD Idev/ttyUSBO230400 nodetach crtscts debug usepeerdns defaultroute277First pppd program calls chat conversation program,whose purpose is to dialup and wait for the trip. Thenaccording to user name and password that you entered, startpppd in the server, verify identity, and end chat conversationprogram. Pppd program continues the work instead of chat,establishes the PPP connection with pppd in server.V. TEST AND RESULTSThe whole system has been basically designed and tested.Figure 5 shows the monitoring terminal based on 3GNetwork, including ECG module ,blood pressure module,blood oxygen module and so on.Wireless data transmission of the whole system is in realtime tested from remote monitoring terminal to the doctorworkstation with no mistakes. Figure 6, 7, 8 respectivelydisplay I lead ECG, II lead ECG and III lead ECG waveformsthrough the transmission of 3G wireless Network.Authorized licensed use limited to: IEEE Xplore. Downloaded on January 24,2012 at 17:09:07 UTC from IEEE Xplore. Restrictions apply.
  • 5. In the remote workstation, the doctor monitoring softwareusing C # received data from family monitor terminal, andstored data in a database, which is also responsiblemaintenance and management for medical record database. Itincludes waveforms of ECG, blood pressure, respiration, bloodoxygen and measured parameter value. The results of bloodoxygen signal at the doctor monitoring workstation is shown asFigure 9.VI. CONCLUSION AND FUTURE WORKThis paper introduces the design of remote monitoringterminal, which is a combination of modem embeddedtechnology, communication technology and medical sensortechnology. The system implements the acquisition ofphysiological parameters such as the ECG, blood pressure,blood oxygen, etc, for long periods, and realizes real-timewireless monitoring, which has overcome traditional monitorfeature, such as simple, single parameter, huge volume and soon. At present we has completed the prototype of remotemonitoring terminal that based on 3G and embedded Linux,which has small, powerful, easy to use, low cost and othercharacteristics, making the remote monitoring system have awide range of applications and good market prospects.In the future, we will do more jobs to complete our system:1) Improve the stability of network connection further andprovide secure high capacity data storage.2) Design the mechanism of handing errors for system,which will make the operations more user-friendly andintelligent.3) The provision of log function, operation procedures andrecords error message.ACKNOWLEDGMENT278This work is supported by the grants from National Sc. &Tech. Pillar Program(2008BAI65B21), the Guangdong/CASCooperation Project(2009B091300160), Shenzhen Sc. & Tech.Research Funds, and the Knowledge Innovation Eng. Funds ofCAS. The authors would like to thank for Yuanqi Liu, YangYang, Mingkai Chen, and Bin Xus valuable comments thatimproved the quality of the paper significantly.REFERENCES[1] Lin Shaojie, Lai Lijuan and Wu Xiaoming, Miniaturization of wearableECG monitoring moduler, Beijing biomedical engineering, 28(2), 2009.[2] Wang Chaohong, Wu, Kai and Wu Xiaoming, Research and applicationof wearable physiological detecting technology, Journal of clinicalrehabilitative tissue engineering research, 11(22),2007.[3] Wang Jingcan, Guo Xingming, Li Lice and Tan Xin, Designing clientserver of wearable telemonitor system for ECG, Microcomputerinformation, 24(32), 2008.[4] P. Rubel, J. Fayn, G. Nollo, "Toward personal eHealth in cardiology.Results from the EPIMEDICS telemedicine project," J Electrocardiol,vol. 38 Suppl, pp. 100-6, 2005.[5] M. F. Rasid and B. Woodward, "Bluetooth telemedicine processor formultichannel biomedical signal transmission via mobile cellularnetworks," IEEE Trans Inf Technol Biomed, vol. 9, pp. 35-43, 2005.[6] K. Hung and Y. T. Zhang, "Implementation of a WAP-basedtelemedicine system for patient monitoring," IEEE Trans Inf TechnolBiomed, vol. 7, pp. 101-7, 2003.[7] Qinwu Zhou, Pengcheng Jiang, Zixiong Qu, Design and Implementationof Portable Multi-Parameter Tele-Monitor Terminal Based on S3C241Oa,International Conference on Biomedical Engineering and Informatics,2009. pp. 1 - 4.[8] Samsung Electronics Co Ltd. Users Manual S3C2440A VO.l2 [M].March,2004.[9] Alessandro Rubini,Jonathan Corbet, "LINUX Device Drivers"[M] .Beijing: China Electric Power Press, 2002.[10] Li yafeng, "Embedded Linux based on ARM-Case development ofdevice drivers"[M]. China Electric Power Press, 2008.[11] Farsight embedded training centers, "Embedded linux applicationdevelopmen"[M], Beijing: Posts & Telecom Press. 2009.[12] HUO Cheng-yu, NING Xin-bao, BIAN Chun-hua.Portable ECGMonitor Based on Embedded Technology[J].COMPUTERENGINEERING,2008,34(17)Authorized licensed use limited to: IEEE Xplore. Downloaded on January 24,2012 at 17:09:07 UTC from IEEE Xplore. Restrictions apply.

×