Design and Development of Real-Time Patient Monitoring System.
Design and Development of Real-Time Patient Monitoring System.
Design and Development of Real-Time Patient Monitoring System.
CHAPTER - 1
PREAMBLE
1.1 Introduction
In todays healthcare practice, physicians have a need to monitor more than one medical parameter for patients that are either hospitalized or leading their normal daily activities at home or at work but in need of constant medical care. Telemedicine (health-care delivery where physicians examine distant patients using mobile communication technologies) has been heralded as one of several possible solutions to some of the medical dilemmas that face many developing countries. The traditional way of providing Telemedicine services is to transmit biomedical signals from a patient to a hospital using landlines, such as the PSTN and integrated services digital network. While examining the current state of telemedicine in developing country India, telemedicine has brought a plethora of benefits to the populace of India, especially those living in rural and remote areas (constituting about 70% of Indias population) [1]. Objective of this project is to propose a wireless stand-alone a novel approach to patient monitoring is introduced.
1.4 Methodology
The methodology includes consideration of a combination of wireless techniques, particularly the exploitation of cellular networks, types of clinical data for transmission and system memory storage. The system presented here contains GSM/GPRS modem for remote wireless communication and customized E-med software application designed using Microsoft Visual Studio for process the data in management unit. The patient monitoring device is connected to processing unit (computer) using RS232 serial communication, GSM for communication from base station to other mobile telephones and central monitoring unit, LAN to clinicians. This project makes use of health sensors as input to the system is simulated inputs, since actual sensors are costly and the main aim of the project is to bring out the idea that how the control system can be designed to monitor the patient health status. Many sequences of events that take place in development and implementation are explained throughout this report
G. Virone and A. Wood has presented a paper on An Assisted Living Oriented Information System Based on a Residential Wireless Sensor Network for health monitoring explains system architecture for smart healthcare based on an advanced Wireless Sensor Network (WSN) [5]-[6]. It specifically targets assisted-living residents and others who may benefit from continuous, remote health monitoring.
Many patient remote monitoring devices were reported in the literature [7]. A wireless telemedicine procedure was reported in [1], [8]. The unit helps physician to perform a computer-aided bedside patient monitoring is applied in areas where real-time vital function analysis takes place. Modern bedside monitoring requires not only the networking of bedside monitors with a central monitor but also other standard communication interfaces, to monitor the medical condition of a large number of patients. A protocol receives the temperature and pressure of a patient using a mobile device that is attached to the patients body via short messaging system (SMS) message [9]-[10].
The mobile device does not have data logging capabilities, nor does it have download and diagnosis features. The clinical usefulness of a wireless personal digital assistant (PDA) based on a GPRS-capable cellular phone and an Internet application for remote monitoring of real-time vital signs was discussed in [2], [11]-[12]. A wireless PDA-based physiological monitoring system for patient transport that uses wireless local area network (WLAN) technology to transmit patients biosignals in real-time to a remote central management unit was presented in [13]-[28].
Apart from the above mentioned papers and books there are some websites and documents which have gone though and are mentioned in the references (chapter 9). Some of the updates and recent changes are learnt from internet download.
Most of the above systems do not have real-time logging capabilities, and automatic handling of emergency and rescue situations. The medical cases that can be managed more efficiently by adopting wireless Telemedicine.The proposed work is to communicating with their physician and biomedical signals are transmitted in real-time to the physician or hospital network. New technologies are also coming up and research in the above field is still going on. Some noted recent developments and research work are in progress.
VTU Extension Centre, @UTL, Bangalore 4
CHAPTER - 2
WIRELESS TELEMEDICINE
2.1 Introduction
AS FIVE-YEAR-OLD Thejas lay in bed in the consulting room at the Aragonda Apollo Hospital in the remote village of Aragonda, India about 170 km from Chennai, India, doctors first diagnosed a murmur in the heart and he was put on a color Doppler. As the color Doppler images were transmitted to the hospital in Chennai using special electronic communication. Pediatric Cardiologist Prem Shekhar diagnosed the case as Sallots Tetrology (multiple congenital defect of the heart). After a few hours of consultation with the surgeons and the hospital chairman. Dr.Pratap C.reddy, the child was transfferd to the Chenni Apollo Hospital for surgery. Dr.Reddy commented, this facility has heralded telemedicine in India and that as a special case, Thejas would be operated free of cost and all the expenses borne by the hospital.1
This real-life example reflects one of many success stories like Online Telemedicine Research Institute (OTRI, Gujarat) has made a great impact on the lives of people living in the western part of India. On January 27, 2001 an earthquake devastated the western city of Bhuj and left thousands dead and many more homeless. Within a day, the OTRI in Ahmedabad, about 300 km from Bhuj, established satellite telephone links and set up all the equipment necessary to provide emergency medical care through telemedicine.
The telemedicine diffusion in India, where patients in remote areas are diagnosed and treated for numerous medical conditions. Telemedicine is defined as the use of telecommunication technology (involving audio, video, and graphic data) to deliver health-care services, health education, and administrative services to sites that are physically distant from the host or educator. This chapter gives present condition how telemedicine is changing the delivery of medical services in India and then stat-of-art technologies for wireless telemedicine.
This real story is selected from telemedicine diffusion case study in India [1].
Typical Telemedicine setup in India Local Connection Remote Connection (Optional) ISRO Supported VSAT connection 2mbps
ISDN 128 kbps CHC City...2 Medical Data & Image distribution Client
Polycam/ Webcam
guidelines is a key component of the most recent idea of monitoring system. This DSS uses agent technology and provides clinicians as well as patients and their relatives with relevant medical information. Its suggestions are based on medical knowledge embedded into the guidelines, on input from the treating physician, on the patients history that is retrieved from the electronic healthcare record. Vital parameters gathered from sensors and transmitted wirelessly, as well as patient feedback are both also used as input for the DSS, If the patients state is identified as a potentially critical one, an alert is generated and propagated, triggering local reactions [3]-[5].
Additionally, the development of reliable communication protocols according to data privacy requirements, the semantically enriched patient data and their integration into the hospital information system and the electronic healthcare record. The emergence of internet technologies and telemedicine also opens new scales and makes new demands on patient monitoring. Home-care monitoring offers faster, more effective and cost-saving rehabilitation and mobilization of patients. Telecare monitors can provide both halter and on-line, noninvasive monitoring of vital functions. Wireless patient monitoring systems not only increase the mobility of patients and medical personnel but also improve the quality of health care. With respect to the remote monitoring of patients, many groups have demonstrated the transmission of vital biosignals using various wireless technologies. In some methods cellular phones used to transmit vital signs from the ambulance to the hospital, either in store-and-forward mode or in real-time mode.
2.4 State-of-the-Art
Most of existing systems patient monitors belong to the so-called first generation systems with traditional and quit reliable signal interpretation capabilities. Decision support and interactivity as a higher level of signal interpretation are the features of the second and third-generation monitors. These systems provide more advanced, usually knowledge based signal interpretation. From architectural point of view, many existing systems support the networking of bedside monitors to a central monitor via a vendor-specific communication interface. The signal interpretation features of the central monitoring are usually more advanced than the bedside monitors. However, there are several standards for transmitting various types of medical information.
VTU Extension Centre, @UTL, Bangalore 9
The medical information bus (single communication channel) is the only existing standard that deals with the low level communication technology between bedside medical devices. Although the medical information bus specifies all the seven open system interconnection protocol layers. The medical information sharing was designed in an object-oriented way, considering the most important requirements on bedside networks: plug-and-play and fast reconfiguration, ease-of-use, reliable fault diagnostic and patient safety.
Patient Unit
10
Security/Encryption 128-bit authentication key and 8-128 bit encryption key [8]. Wired equivalent privacy (WEP) protocol with RC4 Encryption algorithm [2], [15]-[16]. Three tier security with A3 algorithm for user authentication, A8 Ciphering Key Generating Algorithm and A5 Ciphering Algorithm for Data Encryption [2], [12]. f8 UMTS Confidentiality Algorithm and f9 UMTS integrity algorithm [8]. Table 2.1: Security and encryption for wireless technologies
GPRS
3G
Some applications of wireless telemedicine have involved the transmission of data using down-link channels. i.e., from hospital to clinician. There is probably a greater need for uplink channels, e.g., sending signals from a patient during emergency situations or nonemergency situations, in many systems, the implementation principles have been demonstrated earlier but there are limitations that merit further research, including the replacement of an infrared link with a Bluetooth link between the patients monitor unit and the mobile telephone. Most previous wireless telemedicine projects have focussed on the use of GSM, but the adoption of GPRS is relatively new. Its major advantage is that it enables the transmission of both data and speech. It is essential that a patients received data are archived and accessible to clinicians when required. The data includes the international mobile subscriber identification number, which is unique to the subscriber identity model card in the telephone. By using a password, a clinician can log on to access that patients database. GSM is a wireless platform that uses radio frequencies, since the radio medium can be accessed by anyone, authentication of users to prove that they are who they claim to be, is a very important element of a mobile network. Authentication involves two functional entities, the SIM card in the mobile, and the Authentication Centre (AuC). Each subscriber is given a secret key, one copy of which is stored in the SIM card and the other in the AuC.
11
12
CHAPTER - 3
13
Furthermore, at the consultation terminals such as wireless PDAs or laptops, the medical staffs can use them either to monitor the physiological parameters and waveforms of a remote patient online or to access his or her case history through the wireless connection to the management unit. Connection in the studied hospital scenario has been established by LAN technology with speed up to 10Mb/s. An access point acts as a bridge for the network data to be transmitted to and received from the existing wired hospital network; it allows efficient sharing network resources throughout an entire building. The transition of data between a mobile unit and a management unit is serves as the client server architecture. In the propose design, the mobile unit, central monitoring unit serves as the client end and the management unit serves as the server end. Communication depends on the transmit ion control protocol for error-free medical data transmission. All users are required to enter a user name and password to the system via a remote authentication dial-in user service server. In addition, a robust algorithm is implemented in the designed C#.Net program, permitting both central unit and management unit to perform end-to-end encryption.
rang radio-frequency (RF), GSM and GPRS have been investigated [3], [7]-[8], [17], as shown in table 3.1.
Technology IrDA (Infrared) HomeRF (Home Radio Frequency) Bluetooth IEEE 802.15(Personal Area Network) WLAN (Wireless Local Area Network) IEEE 802.11a IEEE 802.11b IEEE 802.11g MAN(Metropolitan Area Network) IEEE 802.16(line-of-sight) IEEE 802.16a(non-line-of-sight) LMDS(Local Multi-point Distribution Service) DECT(Digital Enhanced Cordless Telecommunication)
Data Rate 4Mbps 1Mbps 723 Kbps 54Mbps 11Mbps 54Mbps <75Mbps <75 Mbps 34-38Mbps 736 Kbps
Frequency IR Spectrum 2.4GHz 2.4GHz 5GHz 2.4GHz 2.4GHz 10-66 GHz 2-11 GHz 26 GHz 1.88 GHz
In order to reduce the complexity of the mentioned system and investigate the applicability of that, in the first step a prototype GSM based telemedicine system was designed and developed, which is presented here. It is essential that a patients received data are archived and accessible to clinicians when required. The data includes the international Mobile Subscriber Identity number, which is unique to the Subscriber Identity Module card in the telephone. By using a Password, a clinician log on to access that patients information (e.g. database). The GSM/GPRS modem SIMCOM SIM300 module is used here SIM300 is a Triband GSM/GPRS engine that works on frequencies EGSM 900 MHz, DCS 1800 MHz and PCS 1900 MHz. SIM300 features GPRS multi-slot class 10/ class 8 (optional) and supports the GPRS coding schemes CS-1, CS-2, CS-3 and CS-4 [18]. The project is mainly focused on the use of GSM, but with the evolution of cellular networks from the second generation such as GSM, to GPRS and enhanced data rate for global evolution (EDGE), then to 3G, more services can be designed and modelled for next-generation mobile telemedicine applications, it makes easy to feature enhancement. The maximum theoretical data rates of these technologies are presented in table 3.2.
15
Maximum Theoretical Data Rates 9.6Kbps 141.2Kbps 384Kbps 2Mbps Table 3.2: Mobile Technologies
Frequency Spectrum 900/1800/1900MHz 900/1800/1900 MHz 900/1800/1900 MHz 1885 MHz 2200 MHz
GPRS represents an enhancement of GSM. Adoption of GPRS is relatively new [8], [12]. Its major advantage is that it enables the transmission of both data and speech.
16
In AT89s8252 microcontroller does not have internal Analogue-to-Digital converter (ADC), thats why ADC0816 8-Bit P Compatible A/D Converters with 16Channel Multiplexer is used. This ADC having 8bit resolution with Conversion Time is 100 s [19]. The sensor output voltage is given to the ADC. The microcontroller receives ADC output, after processing the received data. It will forward it to the computer (management unit) using RS232 serial communication. This makes precise conversions from the voltage readings to meaningful biophysical values.
VTU Extension Centre, @UTL, Bangalore 17
Using Keil software (IDE for microcontroller) Programming the microcontroller [20]. The device was programmed such that it converts samples of analogue signal data from the sensor voltage terminal into a series of hex values. Another set of functional requirements has been specified for the E-Med software application in computer.
18
CHAPTER - 4
Each of the unit explained in detail with circuit and software data flow diagram.
19
Single-Chip Microcontroller
RS-232
Backend Database
Biosensors
Acquisition model
PDA
GSM Modem
Laptop Computer
Figure 4.1: Architecture of the patient monitoring system. The development of a monitoring system requires an appropriate analogue source. In reality, the vital signals originate from human parts and are measured with electrodes or catheters. The development of a patient monitor requires a reproducible and easy-tocontrol signal source. The system presented here contains the following links: 1. Monitoring device connected to processing unit (computer) using RS232 serial cable. 2. GSM modem for mobile communication. 3. LAN to central monitor unit, for data share.
20
21
P1: Is an 8-bit bi-directional I/O port, Some Port 1 pins provide additional functions that are listed in table 4.1. In our project P1 mainly used as clock generator (P1.0) for ADC (i.e. 1 MHz clock frequency)
Port Pin P1.0 P1.1 P1.4 P1.5 P1.6 P1.7 Alternate Functions T2 (external count input to Timer/Counter 2), clock-out T2EX (Timer/Counter 2 capture/reload trigger and direction control) SS (Slave port select input) MOSI (Master data output, slave data input pin for SPI channel) MISO (Master data input, slave data output pin for SPI channel) SCK (Master clock output, slave clock input pin for SPI channel)
Table 4.1: Port 1 Alternate functions P3: Port 3 is also an 8-bit bi-directional I/O port; Port 3 also serves the functions of various special features of the AT89S8252, as shown in the following table 4.2. In our project P3 mainly used for serial communication and hardware interrupt generate purpose. For more information please refer appendix E.
Port Pin P3.0 P3.1 P3.2 P3.3 P3.4 P3.5 P3.6 P3.7 Alternate Functions RXD (serial input port) TXD (serial output port) INT0 (external interrupt 0) INT1 (external interrupt 1) T0 (timer 0 external input) T1 (timer 1 external input) WR (external data memory write strobe) RD (external data memory read strobe)
Programming AT89s8252 Intel hex file is a widely used file format designed to standardize the loading of executable machine codes into a ROM chip. Therefore, loaders that come with every burner (programmer) support the Intel hex file format. While in many newer Windowsbased assemblers the Intel hex file is produced automatically (by selecting right setting). In our work Keil Vision3 (IDE and Debugger) is used for debug the program and hex file generate. Keil Vision3 main menu is as shown in figure 4.4.ProLoad software is used for load Intel hex file to chip memory by using Atmel programmer kit (1001-3456 v2).Software program design flow for AT89s8252 C is explained at the end of this chapter. This programming C manly include core control of acquisition unit.
VTU Extension Centre, @UTL, Bangalore 23
Timer/Counter 2 or to output a 50% duty cycle clock ranging from 61 Hz to 4 MHz (for a 16-MHz operating frequency). To configure the Timer/Counter 2 as a clock generator, bit C/T2 (T2CON.1)1 must be cleared and bit T2OE (T2MOD.1)
1
(T2CON.2) starts and stops the timer. The clock-out frequency depends on the oscillator frequency and the reload value of Timer 2 capture registers1 (RCAP2H, RCAP2L), as shown in the following equation. ...... (4.1)
For to get 1MHz we have to configure RCAP2H = 0XFF; RCAP2L = 0xFD, for 11.0592MHz AT89s8252 C oscillator frequency. The ADC0816 chip allows us to monitor up to 8 different analog inputs using only a single chip. The 16 analog input channels are multiplexed and selected according to table 4.3 using four address pins, A, B, C and D. In ADC0816 requires Vref(+) and Vref(-) set the reference voltage. If Vref(-)= Gnd and Vref(+) =5V, the step size is 5V/256= 19.53mV. Therefore, to get a 10mV step size we need to set Vref(+) =2.56V and Vref(-)=Gnd as shown in table 4.4. From figure 4.5, notice the ALE pin, we use A, B, C and D addresses to select IN0-IN15, and activate ALE to latch in the address. SC is the start of conversion. EOC is for end-of-conversion, and OE is for output enable. Table 4.4 shows the step size relation to the Vref voltage.
Selected Analog Channel IN0 IN1 IN2 IN3 IN4 IN5 IN6 IN7 IN8 IN9 IN10 IN11 IN12 IN13 IN14 IN15 All Channels OFF Address Line D L L L L L L L L H H H H H H H H X C L L L L H H H H L L L L H H H H X B L L H H L L H H L L H H L L H H X A L H L H L H L H L H L H L H L H X Expansion Control H H H H H H H H H H H H H H H H L
Steps to program the ADC0816 The following are steps to get data from an ADC0816. 1. Select an analog channel by providing bits to A, B, C and D addresses according to table 4.3. 2. Activate the ALE (address latch enable) pin. It needs an L-to-H pulse to latch in the address. As shown in figure 4.5. 3. 4. Activate SC (start conversion) by an L-to-H pulse to initial conversion. Monitor EOC (end of conversion) to see whether conversion is finished. H-to-L output indicates that the data is converted and is ready to be picked up. 5. Activate OE (output enable) to read data out of the ADC chip. An Lto-H pulse to the OE pin will bring digital data out of the chip.
26
4.2.4 Sensors
Three-leads of each sensor, LM35DZ for measure Body Temperature (BT), two square trimming potentiometers for Heart Rate (HR) and Blood Pressure (BP) each.
PIN1 +Vs Supply Voltage PIN2 Vout Output PIN3 GND Ground
Vout
Plastic Package
Temperature Range Accuracy Output Scale -55 C to +150 C -55 C to +150 C +1.0 C +1.5 C +1.0 C +1.5 C +2 C 10mV/C 10mV/C 10mV/C 10mV/C 10mV/C
Table 4.5: LM35 temperature selection series selection guide Connection Diagrams
VTU Extension Centre, @UTL, Bangalore 27
Interfacing the LM35DZ to the AT89S8252 The output of the sensor is linear voltage change; we need to convert these signals to meaning full decimal values by using ADC0816. Since the ADC0816 has 8-bit resolution with a maximum of 256 (28) steps and the LM35 produces 10mV for every degree of temperature change, we can condition Vin of the ADC0816 to produce a Vout of 2560mV (2.56V) for full-scale output. Therefore, in order to produce the full-scale Vout of 2.56 V for the ADC0816, we need to set Vref=2.56V. This makes Vout of the ADC0816 correspond directly to the temperature as monitored by the LM35. See table 4.6 for Temperature v/s Vout for ADC0816. Figure 4.7 shows the connection of temperature sensor to ADC0816.
Temp. (C) Vin (mV) Vout (D7-D0) 0 1 2 3 10 30 35 40 0 10 20 30 100 300 350 400 0000 0000 0000 0001 0000 0010 0000 0011 0000 1010 0001 1110 0010 0011 0010 1000
Table 4.6: Temperature vs. Vout for ADC0816 What is body temperature? Body temperature is a measure of the body's ability to generate and get rid of heat. Normal human body temperature, also known as normothermia or euthermia, is a concept that depends upon the place in the body at which the measurement is made. The value of 36.8 C 0.7 C or 98.2 F 1.3 F is the common oral measurement. The sensor will generate this readings by touching black body of the sensor, its requires about 3 to 4 sec reaction time. While during test period normal BT 36C was represented by ADC is 0010 0100 (0x24). A temperature set point is the level at which the body attempts to maintains its temperature. When the set point is raised, the result is a fever (>38 C).
VTU Extension Centre, @UTL, Bangalore 28
+5V
ADC0816
Vcc 2 MSB
-1
AT89S8252
2-1MSB
LM35 DZ
Dout
Port 2
2-8LSB 28 CH16 2.56v V [+] REF 20 Address /Control Pins GND CLK GND VREF[-]
2-8LSB
P1.0 (T2)
GND
Figure 4.7: AT89S8252 connection to ADC0816 and Temperature sensor Most fevers are caused by infectious disease. If temperature is raised sensor representation will rise in 10mV for every C. If set point is not raised, then the result is hyperthermia, which can result in heat stroke or related conditions. In hypothermia (<32 C), the body temperature drops below that required for normal metabolism and bodily functions.
4.2.6 Measuring Body Heart Rate (HR) and Blood Pressure (BP)
Blood Pressure and Heart beat input to the system is simulated input by Square Trimming Potentiometer (3296 W - 1 - 103). It is a variable 10K Trimming Potentiometer is as shown in figure 4.8. Its require 25 trimming rotations for full-scale reading. If you rotate clock wise, the wiper position will change, this makes linear change in output voltage of pot, and then Vout is fed in to the input channel 6 of the ADC0816 for measure Heart beat. Another pot Vout is fed in to the input channel 11, for measure Blood Pressure. Output of the ADC is as shown in table 4.7. What is heart rate? Heart rate is the number of heart beats per minute; the times per minute that the heart contracts. when resting, the average adult human heart beats at about 70 beats per minute (bpm) in males and 75 bpm in females.
VTU Extension Centre, @UTL, Bangalore 29
PIN1 +Vs Supply Voltage PIN2 Vout Output PIN3 GND Ground
Figure 4.8: Trimming Potentiometer Pot output ADC output (D7-D0) 0V 10 mV 20 mV 0000 0000 0000 0001 0000 0010
5V
1111 1111
Table 4.7: Pot Vout vs. ADC0816 output Maximum heart rate, the highest number of times your heart can contract in one minute, or the heart rate that a person could achieve during maximal physical exertion. In our project we taken 120bpm are Maximum heart, as shown in table 4.8. Bradycardia is defined as a heart rate less than 60 beats per minute, here we taken below 50 bpm as a critical condition. While during test period normal Heart beat (HB) 70bpm (beats per mint) was represented by ADC is 0100 0110 (0x46). This normal HB taken as threshold level. If we rotate trimming terminal that varies ADC output. If ADC output is above the 0x78, reading taken as maximum heart rate. Below 0x32 noted as a critical condition. These values are taken without calibration. Category Normal Above normal Below normal Heart beat (HB) in bpm Digital representation (ADC Vout) 70 >120 <50 0x46 0x78 0x32
Blood pressure (BP) is the pressure (force per unit area) exerted by circulating blood on the walls of blood vessels, Today blood pressure values are still reported in millimetres of mercury (mmHg), For each heartbeat, blood pressure varies between systolic and diastolic pressures. Systolic pressure is peak pressure in the arteries, which occurs near the beginning of the cardiac cycle when the ventricles are contracting. Diastolic pressure is minimum pressure in the arteries, which occurs near the end of the cardiac cycle when the ventricles are filled with blood. An example of normal measured values for a resting, healthy adult human is 115 mmHg systolic and 75 mmHg diastolic (written as
115
/75 mmHg, and spoken as "one fifteen over seventy-five"). In our project we only
consider systolic blood pressure, that can represented by second Trimming Potentiometer is as shown in figure 4.8. Category Normal Above normal Below normal systolic, mmHg Digital representation (ADC Vout) 90-120 >120 90 0x5A-0x78 >0x78 0x5A
While during test period normal BP 115bpm (beats per mint) was represented by ADC is 0111 0011 (0x73). This normal BP taken as threshold level. If we rotate trimming terminal that varies ADC output. If ADC output is above the 0x78, reading taken as high BP (Prehypertension). Below 0x5A noted as a low BP (Hypotension) condition as shown in table 4.9. These values are taken without calibration.
31
Start
No
No
End
32
CHAPTER 5
User commands
Database
Figure 5.1: Architecture of the management unit For management unit E-med software is implemented on a Windows XP platform and developed by the Microsoft Visual Studio 2005 windows application builder using C# language , Visual Studio main menu as shown in figure 5.2. The program receives the data from the acquisition unit, displays BT, HR and BP waveforms on the screen, check for parameters criticality and stores the data in the local database. In this work, a MSSQL database system is set up to manage the raw data of BTs, HRs and BPs, patients information, and the doctors diagnosis in a real-time. The database can also be accessed from authorized terminals through GSM network. Moreover the vital-sign signal can be delivered in real-time to a mobile platform for sharing data.
VTU Extension Centre, @UTL, Bangalore 33
Figure 5.2: Visual Studio Main Menu The waveforms are plotted in a 723 X 373 pixels window, which plots three parameters in a same window with different color-code. The plot is done by amplitude on Y-axis and time on X-axis. Graph is refreshing for every 6 point values of each sensor parameters. The program also supports the selection of leads, the replay of waveforms, analysis of raw data and the scaling of amplitude and time. Both mobile unit and management unit have an alarm setting window which enables the medical staff to set up the alarm threshold of BT, HR and BP individually according to the physiological status of the patient. When the recorded vital signs are beyond the present limits, the mobile unit would trigger an alarm automatically by sending warning SMSs to the monitoring station and a warning window will pop-up the screen.
Params. Readings SMS Msg. Abnormal Readings Alert SMS Msg. Condition Analysis Time
Persistence Time
Figure 5.3: Communication protocol designed to handle abnormal readings in monitored patients. GSM technology uses Time Division Multiple Access (TDMA) with 8 time slots per frame hence supporting 8 simultaneous users at any given time [33]. GSM modem is programmed by using AT Commands in E-med software [35]. For more information please refer appendix A and B. In abnormal situations, the communication protocol is such that acquisition unit reports unusual readings, such that excessive BT, HR or BP conditions, correlated with time of the day. A persistence time is allotted before reporting an alert SMS message to the physicians monitoring system. This persistence time is necessary to avoid any unnecessary reaction to a sporadic reading that is not representative of the actual patient health condition. The E-med software analyzes the reported data and correlates it to the patients known illness, the previously reported data, and the time of the day the abnormal readings were reported, and may choose to instruct the patient, or alternatively the caregiver, again through an SMS message to take the necessary actions that can be life saving before healthcare professionals intervene. This novel design allows monitoring several patients at the same time, unlike the wireline solution presented in earlier days. The monitoring and data reporting take place nearly real-time. This relives incapable patients from needing to go in-person to the physicians office. It also gives the healthcare professionals the ability to react promptly to life-threatening situations, in a proactive way that involves the patients themselves. Data flow in the CMU is presented at the end of this chapter, section 5.3.
VTU Extension Centre, @UTL, Bangalore 35
LAN
Laptop Computer
PDA
36
5.3
Start
Get the hospital and physician contact details for communication and emergency alarm set.
Select monitor parameters, and computer ports for acquisition, GSM communication.
Initialization of acquisition board, GSM modem for communication B Get the sensors data from acquisition model. .
No
37
Yes
No Process, plot and store (Database) the data. Peripheral Activation GSM Communication (authorization, real-time data transfer, presents condition, changing prescription clinical guide-line etc...)
No
End
38
CHAPTER 6
39
computer. Normal readings are periodically reported to physicians monitoring system in the form of an SMS via the general packet radio service (GPRS) modem. The GPRS modem is interfaced with the computer via the standard RS-232 serial port. GSM technology uses Time Division Multiple Access (TDMA) with 8 time slots per frame hence supporting 8 simultaneous users at any given time with a speed of 9.6 Kbps. This chapter consists of all the possible snapshots and photos taken during the entire process of implementing Real-time Patient monitoring system. Figure 6.2 shows the Login form for providing data security against unauthorized access. Figure 6.6 shows the Hospital & physician contact details form for communication and emergency alarm set. Figure 6.8 shows the form that contain Patient details include monitoring parameters and prescription. Figure 6.10 Main monitoring and communication form with successful generation of alert signal by sending and receiving SMS. Example Blood pressure parameter is above the threshold auto alert SMS send to the CMU and receive authentication (e.g. prescription change etc...). Figure 6.11. Shows the Patient monitoring parameter Database form. Figure 6.12 and 6.13 shows the snapshot and photos with messages.
40
Project Snapshots:
41
Contact information
Figure 6.6: Hospital & Doctor contact details form communication and emergency alert.
42
Figure 6.7: Message box (incorrect contact number i.e. it may be GSM modem or Phone number).
Patient description Port selection for GSM communication and acquisition model
Figure 6.9: Message box (incorrect contact number i.e. it may be GSM modem or Phone number).
VTU Extension Centre, @UTL, Bangalore 43
Figure 6.10: Main monitoring and communication with successful generation of alert signal by sending and receiving SMS.
Communicated information.
45
www.intagliosystems .com
46
47
CHAPTER 7
hospital scenario
allows the transmission of medical data in a real-time. As evidenced by the literature outlined in chapter 2, the system is expected to become a novel approach aid to monitoring and diagnosis as well as a convenient means of communication. The main benefit of the system from the signal interpretation point of view is in the design of the central monitor. The central monitoring allows the real-time access of bedside data via standard hardware and software interface. We believe this system design will greatly enhance quality of life, health, and security for those in assisted-living communities.
Future Work:
In this work GSM is used, but the adoption of GPRS is relatively new. A feature telemedicine provides to adopt mobile GPRS, 3G standards, its major advantage is that it enable the transmission of both data and speech, which allow much more data to be transmitted, like high-resolution digital radiographic images or large volume MR/ CT images; audio and video signals.
48
BIBLIOGRAPHY
References: [1] Amrita pal,victor W.A.Mbarika, Fay Cobb-Payton,Pratim Datta and Scott McCoy "Telemedicine Diffusion in developing Country: The Case of India(March 2004) ", Information Technology in Biomedicine, IEEE Transactions on Volume 9, No.1, March. 2005 Page(s):59 64. [2] Y. Lin, I-C. Jan, Ko, P.C.-I., Y. Yu Chen, J.-M. Wong and G.-W Jan, " A wireless PDA-based physiological monitoring system for patient transport", Information Technology in Biomedicine, IEEE Transactions on Volume 8, Issue 4, Dec. 2004 Page(s):439 447. [3] Andreas Hein,Oliver Nee, Detlev Willemsen,Thoas Scheffold,Asuman Dogac Gokce Banu Laleci ,SAPHIRE-Intelligent Healthcare Monitoring based on Semantic Interoperability Platform-The Homecare Scenario, 1st European Conference on eHealth(ECEH06),Fribourg,Switzerland,October 12-13, 2006.Submitted (30.03.2006) Page(s): 1-10. [4] Y Jasemian, E Toft, L Arendt-Nielsen, Real-time remote monitoring cardiac patients at distance, Department of Health Science & Technology, Aalborg University,2nd Open ECG Workshop 2004, Berlin, Germany,S-7-1 Page(s):48-50. [5] G. Virone, A. Wood, L. Selavo, Q. Cao, An Assisted Living Oriented Information System Based on a Residential Wireless Sensor Network, Department of Computer Science, University of Virginia, Proceedings of the 1st Distributed Diagnosis and Home Healthcare (D2H2) Conference Arlington, Virginia, USA, April 2-4, 2006 Page(s): 95-100. Available: http://marc.med.virginia.edu/ [6] G. Virone, A. Wood, L. Selavo, Q. Cao, L. Fang, T. Doan, Z. He, R. Stoleru, S. Lin, and J.A. Stankovic, An Advanced Wireless Sensor Network for Health Monitoring, Department of Computer Science, University of Virginia. Page(s): 1-4. [7] Han-Chang Wu Chao-Hung Lin Kuang-Ching Wang Shao-Cheng Wang , A
mobile system for real-time patient-monitoring with integrated physiological signal processing, Engineering in Medicine and Biology, 1999, IEEE Transactions on Volume 2, October 1999 Page(s): 712 . [8] Mohd fadlee A.Rasid and Bryan Woodward Bluetooth Telemedicine Processor for Multichannel Biomedical Signal Transmission via Mobile Cellular Networks, IEEE Transaction on Information Technology in Biomedicine, Vol.9, No.1, March 2005 Page(s): 35-42.
VTU Extension Centre, @UTL, Bangalore 49
[9] Taha Landolsi , A. R. Al-Ali and Yousef Al-Assaf, Wireless Stand-alone Portable Patient Monitoring and Logging System, Computer Standards & Interfaces, journal of communications, vol. 2, no. 4, June 2007 page(s) 65-70. [10] GSM standards available on: http://www.3gpp.org. [11] Carlos H.Salvador,Mario Pascual Carrasco,Miguel A.GonZalez de Mingo,Adolfo Munoz Carrero,Airmed-Cardio:A GSM and Internet Services-Based System for outof-Hospital Follow-Up of Cardiac Patients, IEEE Transaction on Information Technology in Biomedicine,Vol.9,No.1,March 2005 Page(s): 73-84. [12] P. Klootwijk, S. P. Nelwan, T. B. Van Dam and S. H. Meij, " Wireless (GPRS-Based) mobile real-time patient monitoring", Journal of the American College of Cardiology, Volume 41, Issue 6, Supplement 2, 19 March 2003, Page 528. [13] Jianchu Yao,Ryan Schmitz and steve Warren , A Wearable Point-of-Care System for home Use That Incorporates Plug-and-Play and Wireless Standards, IEEE Transaction on Information Technology in Biomedicine,Vol.9,No.3, September 2005 Page(s): 363-371. [14] Robert A. Dennis and Sanjiv S.Gambhir,InternetQuestion and Answer (iQ&A):A Web-Based Survey Technology, IEEE Transaction on Information Technology in Biomedicine,Vol.4,No.2, June 2000 Page(s): 116-125. [15] Patrick O. Bobbie, Chaitanya Deosthale, Walter Thain, Telemedicine: a mote-based data acquisition system for real time health monitoring, Department of Electrical and Computer Engineering Technology Southern Polytechnic State University. [16] Sotiris A.Pavlopoulos and Anastasios N.Delopoulos, Designing and Implementing the Transition to a fully digital Hospital, IEEE Transaction on Information Technology in Biomedicine,Vol.3,No.1,March 1999 Page(s): 6-19. [17] SP Nelwan,TB van Dam,P Klootwijk,SH Meij, Ubiquitous Mobile Access to Realtime Patient Monitoring Data, Computers in Cardiology 2002 Page(s): 557-560. [18] Product Manual guide,SIM300 AT Command Set SOFTWARE SPECIFICATION, Version: 01.06, DocId: SIM300_ATC_v1.06, Copyright SIMCOM Limited. 2004. [19] For Datasheets http://www.national.com/ds/. [20] Manual guide of Keil software Users Guide (C51 Microcontroller Development Tools), Vision2 V2.36, Keil Software. Inc 1995-2003. [21] Peter varady, Zoltan benyo and balazs benyo An Open Architecture patient monitoring System Using Standard Technologies, IEEE Transaction on Information Technology in Biomedicine,Vol.6,No.1,March 2002 Page(s): 95-98.
VTU Extension Centre, @UTL, Bangalore 50
[22] Jianguo Zhang,Johannes,Real-Time Teleconsultation with High-Resolution and Large-Volume Medical Images for Collaborative Healthcare, IEEE Transaction on Information Technology in Biomedicine,Vol.4,No.2, June 2000 Page(s): 178-185. [23] Glen C.Crumley,Noel E.evans,William G.Scanlon,The Design and performance of a 2.5-GHz Telecommand Link for Wireless Biomedical Monitoring,IEEE Transaction on Information Technology in Biomedicine,Vol.4,No.4,Dec 2000 Page(s): 285-291. [24] Keng Siau,Health Care Informatics, IEEE Transaction on Information Technology in Biomedicine, Vol.7, No.1, March 2003 Page(s): 1-7. [25] Kevin Hung,yuan-Ting Zhang, Implementation of a WAP-Based Telemedicine System for Patient Monitoring, IEEE Transaction on Information Technology in Biomedicine,Vol.7,No.2, June 2003 Page(s): 101-107. [26] Vicente Moret-Bonillo,Eduardo Mosqueira-Rey and Amparo Alonso-Betanzos, Information Analysis and Validation of Intelligent Monitoring Systems in Intensive Care Units, IEEE Transaction on Information Technology in Biomedicine,Vol.1, No.2, June 1997 Page(s): 87-99. [27] Miroslav Bojovic and Dragan Bojic, MobilePDR: A Mobile Medical Information System Featuring Update via Internet, IEEE Transaction on Information Technology in Biomedicine,Vol.9,No.1,March 2005 Page(s): 1-3. [28] Matthew S.Brown,Sumit K.Shah,Richard C.Pais,Yeng-Zhong Lee, Database Design and Implementation for Quantitative Image Analysis Research ,IEEE Transaction on Information Technology in Biomedicine,Vol.9,No.1,March 2005 Page(s): 99-107. [29] Robert S.H.Istepanian,Guest Editorial Introduction to the Special Section on MHealth: Beyond Seamless Mobility and Global Wireless Health-Care Connectivity, IEEE Transaction on Information Technology in Biomedicine, Vol.8, No.4, Dec 2004 Page(s): 405-413.
[30]
Muhammad Ali Mazidi, Janice Gillispie Mazidi, Rolin D. McKinlay, THE 8051 MICROCONTROLLER AND EMBEDDED SYSTEMS, Published by Person Education, 2nd edition, 2008.
51
APPENDIX A
GSM Technology
A.1 Introduction
GSM is a wireless platform that uses radio frequencies, currently GSM is one of the worlds most widely deployed and fastest growing digital cellular standard. It is one of the most successful digital mobile telecommunication systems. There are over 250 million GSM subscribers world-wide two thirds of the worlds digital mobile population. The unique roaming features of GSM allow cellular subscribers to use their services in any GSM service area in the world in which their provider has a roaming agreement. GSM-enabled phones have a "smart card" inside called the Subscriber Identity Module (SIM). The SIM card is personalized to the user. It identifies the users account to the network and provides authentication, which allows appropriate billing. GSM has been designed for speech services. It uses circuit switched transmission, reserving one radio channel for the users traffic. It also uses cells which enables it to reuse different frequencies. GSM provides almost complete coverage in Western Europe, and growing coverage in the Americas, Asia and elsewhere. GSM networks presently operate in three different frequency ranges. These are: 1. GSM 900 (also called GSM) - operates in the 900 MHz frequency range and is the most common in Europe and the world. 2. GSM 1800 (also called PCN (Personal Communication Network), and DCS 1800) operates in the 1800 MHz frequency range and is found in a rapidly-increasing number of countries including France, Germany, UK, and Russia. 3. GSM 1900 (also called PCS (Personal Communication Services), PCS 1900 and DCS 1900) the only frequency used in the United States and Canada for GSM. GSM standard circuit is a digital data bearer service offering 9.6kb/s. This data transmission in these networks is regarded as too slow and often too expensive for many applications. The cost is the total time that the user occupied that channel even though he was using the channel all the time. The performance of services such as Internet Applications in a cellular environment is typically characterized by the low available bandwidth, and an inefficient use of the rare air link capacity. Furthermore, long connection setup delay is a problem for bursty services requiring occasional data transfers.
VTU Extension Centre, @UTL, Bangalore 52
53
APPENDIX B
AT Command set software specification
GSM modems are widely used in mobile phones. The working of the modem can be controlled by AT commands. Modem stands for Modulation and demodulation. For long distance data transfers using communication lines such as a telephone, serial data communication requires a modem to modulate (convert 0s and 1s to signals like audio tones) and demodulate (convert from audio tones to 0s and 1s). The AT command set is the industry standard set of commands used for setting up and communicating with a modem. The AT commands set of the most GSM mobile phones are same. Some of AT command set discussed bellow.
Note: Software Flow control should not be used for data calls where binary data will be transmitted or received (e.g. TCP/IP) as the DTE interface may interpret binary data as flow control characters.
Hardware flow control (RTS/CTS flow control) Hardware flow control achieves the data flow control by controlling the RTS (Ready to Send) / CTS (Clear to Send) signal line. When the data transfer should be suspended, the CTS line is set inactive until the transfer from the receiving buffer has completed. When the receiving buffer is ok to receive more data, CTS goes active once again. To achieve hardware flow control, ensure that the RTS/CTS lines are present on your application platform.
Command AT+CMGD AT+CMGF AT+CMGL AT+CMGR AT+CMGS AT+CMGW AT+CMSS AT+CMGC AT+CNMI AT+CPMS AT+CRES AT+CSAS AT+CSCA AT+CSCB AT+CSDH AT+CSMP AT+CSMS
Description DELETE SMS MESSAGE SELECT SMS MESSAGE FORMAT LIST SMS MESSAGES FROM PREFERRED STORE READ SMS MESSAGE SEND SMS MESSAGE WRITE SMS MESSAGE TO MEMORY SEND SMS MESSAGE FROM STORAGE SEND SMS COMMAND NEW SMS MESSAGE INDICATIONS PREFERRED SMS MESSAGE STORAGE RESTORE SMS SETTINGS SAVE SMS SETTINGS SMS SERVICE CENTER ADDRESS SELECT CELL BROADCAST SMS MESSAGES SHOW SMS TEXT MODE PARAMETERS SET SMS TEXT MODE PARAMETERS SELECT MESSAGE SERVICE
55
AT+CMGD=1 text mode (+CMGF=1): +CMGS=1 text is entered <ctrl-Z/ESC> ESC quits without sending
56
APPENDIX C
RS232 serial communication
The IBM compatible series of personal computers use the RS-232 interface as the serial port. The 9-pin serial port pin out is located in the Table C.1 below. RS-232 uses Asynchronous Framing [Known data width, 8bits]. Normally the RS-232 interface is asynchronous. RS-232 is rated to operate up to 20kbps. The maximum RS-232 cable length is a little less than 20 meters. RS-232 Pin out: The RS-232 specification only defines the pin-out for a 25 pin D connector; however, the 9-pin is used more often (defined by EIA-574). The serial port found on personal computer uses a 9-pin connector. Most computer systems have only one serial port. The RS-232 pin out is provided below.
Pin 1 2 3 4 5 6 7 8 9 DB-9 Connector Pin Out Signal Name Signal Description CD Carrier Detect RxD Receiver Data TxD Transmit Data DTR Data Terminal Ready GND Signal Ground / Common DSR Data Set Ready RTS Request To Send CTS Clear To Send RI Ring Indicator
Figure C.1: DB-9 9-pin connector RS-232 Serial port signal description TxD: Transmit Data; the data sent from the data terminal and received by the data set. RxD: Receive Data; the data sent from the data set and received by the data terminal. DTR: Data Terminal Ready; used by the data terminal to signal to the data sent that it is ready for operation, active high. DSR: Data Set Ready; used by the data set to signal to the data terminal that it is ready for operation and ready to receive data, active high. RTS: Request To Send; used by the data terminal to signal the data set that it may begin sending data. The data set will not send out data without this signal, active high. CTS: Clear To Send; used by the data set to signal the data terminal that it may begin sending data. The data terminal will not send out data without this signal.CD: Carrier Detect; used CD: Carrier Detect; used by the data set to indicate to indicate to the data terminal that the data set has detected a carrier (of another device). RI:Ring Indicator; user by the data set to indicate to the data terminal that a ringing condition has been detected. GND: Ground; the common return for all signals on the interface.
VTU Extension Centre, @UTL, Bangalore 57
APPENDIX D
D.1 AT89s8252 Microcontroller Features:
Compatible with MCS51 Products 8K Bytes of In-System Reprogrammable Downloadable Flash Memory SPI Serial Interface for Program Downloading Endurance: 1,000 Write/Erase Cycles 2K Bytes EEPROM Endurance: 100,000 Write/Erase Cycles 4V to 6V Operating Range Fully Static Operation: 0 Hz to 24 MHz Three-level Program Memory Lock 256 x 8-bit Internal RAM 32 Programmable I/O Lines Three 16-bit Timer/Counters Nine Interrupt Sources Programmable UART Serial Channel SPI Serial Interface Low-power Idle and Power-down Modes Interrupt Recovery from Power-down Programmable Watchdog Timer Dual Data Pointer Power-off Flag
D.2 Description
The AT89S8252 is a low-power, high-performance CMOS 8-bit microcontroller with 8K bytes of downloadable Flash programmable and erasable read-only memory and 2K bytes of EEPROM. The device is manufactured using Atmels high-density nonvolatile memory technology and is compatible with the industry-standard 80C51 instruction set and pin out. The on-chip downloadable Flash allows the program memory to be reprogrammed In-System through an SPI serial interface or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with downloadable Flash on a monolithic chip, the Atmel AT89S8252 is a powerful microcontroller, which provides a highly-flexible and cost-effective solution to many embedded control applications.
VTU Extension Centre, @UTL, Bangalore 58
Figure D.1: Block Diagram of AT89s8252 C The AT89S8252 provides the following standard features: 8K bytes of downloadable Flash, 2K bytes of EEPROM, 256 bytes of RAM, 32 I/O lines, programmable watchdog timer, two data pointers, three 16-bit timer/counters, a six-vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator, and clock circuitry. In addition, the AT89S8252 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port, and interrupt system to continue functioning. The Power-down mode saves the RAM contents but freezes the oscillator, disabling all other chip functions until the next external interrupt or hardware reset. The downloadable Flash can be changed a single byte at a time and is accessible through the SPI serial interface. Holding RESET active forces the SPI bus into a serial programming interface and allows the program memory to be written to or read from unless lock bits have been activated.
VTU Extension Centre, @UTL, Bangalore 59
Bit
Function Not implemented, reserved for future use. Timer 2 Output Enable bit. When set, this bit allows Timer 2 to be configured as an up/down counter. Table D.2: T2MOD Timer 2 Mode Control Register
60
Bit
Symbol Function TF2 EXF2 Timer 2 overflow flag set by a Timer 2 overflow and must be cleared by software. TF2 will not be set when either RCLK = 1 or TCLK = 1. Timer 2 external flag set when either a capture or reload is caused by a negative transition on T2EX and EXEN2 = 1. When Timer 2 interrupt is enabled, EXF2 = 1 will cause the CPU to vector to the Timer 2 interrupt routine. EXF2 must be cleared by software. EXF2 does not cause an interrupt in up/down counter mode (DCEN = 1). Receive clock enable. When set, causes the serial port to use Timer 2 overflow pulses for its receive clock in serial port Modes 1 and 3. RCLK = 0 causes Timer 1 overflows to be used for the receive clock. Transmit clock enable. When set, causes the serial port to use Timer 2 overflow pulses for its transmit clock in serial port Modes 1 and 3. TCLK = 0 causes Timer 1 overflows to be used for the transmit clock. Timer 2 external enables. When set, allows a capture or reload to occur as a result of a negative transition on T2EX if Timer 2 is not being used to clock the serial port. EXEN2 = 0 causes Timer 2 to ignore events at T2EX. Start/Stop control for Timer 2. TR2 = 1 starts the timer.
RCLK
TCLK
EXEN2
TR2 C/T2
Timer or counter select for Timer 2. C/T2 = 0 for timer function. C/T2 = 1 for external event counter (falling edge triggered). CP/RL2 Capture/Reload select. CP/RL2 = 1 causes captures to occur on negative transitions at T2EX if EXEN2 = 1. CP/RL2 = 0 causes automatic reloads to occur when Timer 2 overflows or negative transitions occur at T2EX when EXEN2 = 1. When either RCLK or TCLK = 1, this bit is ignored and the timer is forced to auto-reload on Timer 2 overflow. Table D.1: T2CON Timer/Counter 2 Control Register
D.4 ADC0816
8-Bit P Compatible A/D Converters with 16-Channel Multiplexer General Description The ADC0816, ADC0817 data acquisition component is a monolithic CMOS device with an 8-bit analog-to-digital converter, 16-channel multiplexer and microprocessor compatible control logic. The 8-bit A/D converter uses successive approximation as the conversion technique. The converter features a high impedance chopper stabilized comparator, a 256R voltage divider with analog switch tree and a successive approximation register. The 16-channel multiplexer can directly access any one of 16VTU Extension Centre, @UTL, Bangalore 61
single-ended analog signals, and provides the logic for additional channel expansion. Signal conditioning of any analog input signal is eased by direct access to the multiplexer output, and to the input of the 8-bit A/D converter. The device eliminates the need for external zero and full-scale adjustments. Easy interfacing to microprocessors is provided by the latched and decoded multiplexer address inputs and latched TTL TRI-STATE outputs. The design of the ADC0816, ADC0817 has been optimized by incorporating the most desirable aspects of several A/D conversion techniques. The ADC0816, ADC0817 offers high speed, high accuracy, minimal temperature dependence, excellent long-term accuracy and repeatability, and consumes minimal power. These features make this device ideally suited to applications from process and machine control to consumer and automotive applications. For similar performance in an 8-channel, 28-pin, 8-bit A/D converter, see the ADC0808. Features Easy interface to all microprocessors Operates ratio metrically or with 5 VDC or analog span adjusted voltage reference 16-channel multiplexer with latched control logic Outputs meet TTL voltage level specifications 0V to 5V analog input voltage range with single 5V supply No zero or full-scale adjust required Standard hermetic or molded 40-pin DIP package
Temperature range 40C to +85C or 55C to +125C Latched TRI-STATE output Direct access to comparator in and multiplexer out for signal conditioning ADC0816 equivalent to MM74C948
Key Specifications Resolution 8 Bits Total Unadjusted Error LSB and 1 LSB Single Supply 5 VDC Low Power 15 mW Conversion Time 100 s
63
APPENDIX E
E.1 LM35
Precision Centigrade Temperature Sensors General Description The LM35 series are precision integrated-circuit temperature sensors, whose output voltage is linearly proportional to the Celsius (Centigrade) temperature. The LM35 thus has an advantage over linear temperature sensors calibrated in Kelvin, as the user is not required to subtract a large constant voltage from its output to obtain convenient Centigrade scaling. The LM35 does not require any external calibration or trimming to provide typical accuracies of 14C at room temperature and 34C over a full 55 to +150C temperature range. Low cost is assured by trimming and calibration at the wafer level. The LM35s low output impedance, linear output, and precise inherent calibration make interfacing to readout or control circuitry especially easy. It can be used with single power supplies, or with plus and minus supplies. As it draws only 60 A from its supply, it has very low self-heating, less than 0.1C in still air. The LM35 is rated to operate over a 55 to +150C temperature range, while the LM35C is rated for a 40 to +110C range (10 with improved accuracy). The LM35 series is available packaged in hermetic TO-46 transistor packages, while the LM35C, LM35CA, and LM35D are also available in the plastic TO-92 transistor package. The LM35D is also available in an 8-lead surface mount small outline package and a plastic TO-220 package.
Figure E.1: Basic Centigrade Temperature Sensor Features Calibrated directly in Celsius (Centigrade) Linear + 10.0 mV/C scale factor 0.5C accuracy guarantee able (at +25C) Rated for full 55 to +150C range Suitable for remote applications Low cost due to wafer-level trimming
VTU Extension Centre, @UTL, Bangalore 64
Operates from 4 to 30 volts Less than 60 A current drain Low self-heating, 0.08C in still air Nonlinearity only 14C typical Low impedance output, 0.1 W for 1 mA load
Absolute Maximum Ratings Supply Voltage +35V to 0.2V Output Voltage +6V to 1.0V Output Current 10 mA Storage Temp.; TO-46 Package, 60C to +180C TO-92 Package, 60C to +150C SO-8 Package, 65C to +150C TO-220 Package, 65C to +150C Lead Temp.: TO-46 Package, (Soldering, 10 seconds) 300C TO-92 and TO-220 Package, (Soldering, 10 seconds) 260C SO Package Vapor Phase (60 seconds) 215C Infrared (15 seconds) 220C Specified Operating Temperature Range: Tmin to Tmax LM35, LM35A 55C to +150C LM35C, LM35CA 40C to +110C LM35D 0C to +100C
Figure E.3: Product specification Resistance (Ohms) 10 20 50 100 200 500 1000 2000 5000 10000 20000 Resistance Code 100 200 500 101 201 501 102 202 502 103 203