Intelligent Medicine Case for Dosing Monitoring and Support

Similar documents
Intelligent Frozen Shoulder Self-Home Rehabilitation Monitoring System

Contour Diabetes app User Guide

Table of Contents. Contour Diabetes App User Guide

Sign Language Interpretation Using Pseudo Glove

Broadcasting live and on demand relayed in Japanese Local Parliaments. Takeshi Usuba (Kaigirokukenkyusho Co.,Ltd)

Intelligent Sensor Systems for Healthcare: A Case Study of Pressure Ulcer TITOLO. Prevention and Treatment TESI. Rui (April) Dai

Emergency Monitoring and Prevention (EMERGE)

Care that makes sense Designing assistive personalized healthcare with ubiquitous sensing

The intelligent space for the elderly Implementation of fall detection algorithm

CHAPTER 6 DESIGN AND ARCHITECTURE OF REAL TIME WEB-CENTRIC TELEHEALTH DIABETES DIAGNOSIS EXPERT SYSTEM

USING THE MINIMED 670G SYSTEM. Instructions for the Experienced MiniMed 630G System User

Speech to Text Wireless Converter

Gesture Recognition using Marathi/Hindi Alphabet

Author(s)Kanai, H.; Nakada, T.; Hanbat, Y.; K

LIGHTING AND NOISE CHECKLIST SCORING

Real-time ECG monitoring system for the assessment of rural cardiac patients

VPAT Summary. VPAT Details. Section Telecommunications Products - Detail. Date: October 8, 2014 Name of Product: BladeCenter HS23

GlucCell TM SYSTEM USER S GUIDE Ver 2.1 CELL CULTURE GLUCOSE METER. Important Information. Intended Use. Caution. About the System

Enhanced Asthma Management with Mobile Communication

SPEECH TO TEXT CONVERTER USING GAUSSIAN MIXTURE MODEL(GMM)

Mini UPS and Power Sensor. Power Output Cord. Power Input Port. Switch Port

AVR Based Gesture Vocalizer Using Speech Synthesizer IC

TWO HANDED SIGN LANGUAGE RECOGNITION SYSTEM USING IMAGE PROCESSING

A Comparison of Collaborative Filtering Methods for Medication Reconciliation

USING THE MINIMED 670G SYSTEM

HIWIN Thesis Award 2007

Introduction. Ethical Impact Analysis

Diabetes Management Software V1.3 USER S MANUAL

Cancer Cells Detection using OTSU Threshold Algorithm

Phone Number:

Android based Monitoring Human Knee Joint Movement Using Wearable Computing

Chapter 2. Development of a portable device for tele-monitoring. of physical activities during sleep

The 29th Fuzzy System Symposium (Osaka, September 9-, 3) Color Feature Maps (BY, RG) Color Saliency Map Input Image (I) Linear Filtering and Gaussian

Unsupervised MRI Brain Tumor Detection Techniques with Morphological Operations

Epilepsy Sensor Transmitter

COMPARATIVE STUDY ON FEATURE EXTRACTION METHOD FOR BREAST CANCER CLASSIFICATION

Wearable Video Monitoring of People with Age Dementia: Video Indexing at the Service of Healthcare

Desktop Fitting Guide for Phonak Brio 3

A Simple Portable ECG Monitor with IOT

Edge Detection Techniques Using Fuzzy Logic

User s Manual Blood Glucose Meter

Results & Statistics: Description and Correlation. I. Scales of Measurement A Review

Internet Hub WLAN/3G/4G. Internet Cloud. Figure 1: U-Healthcare system overview

MODELING AND SIMULATION OF FUZZY BASED AUTOMATIC INSULIN DELIVERY SYSTEM

Comparison of Mamdani and Sugeno Fuzzy Interference Systems for the Breast Cancer Risk

ISSN: [Jain * et al., 7(4): April, 2018] Impact Factor: 5.164

Artificial Intelligence Based Diabetes Management System

Noise-Robust Speech Recognition Technologies in Mobile Environments

CS 2310 Software Engineering Final Project Report. Arm Motion Assessment for Remote Physical Therapy Using Kinect

Segmentation of Tumor Region from Brain Mri Images Using Fuzzy C-Means Clustering And Seeded Region Growing

Improvement of PC Hearing Support System: The Use of One-USB-OS

IMPLEMENTATION OF AN AUTOMATED SMART HOME CONTROL FOR DETECTING HUMAN EMOTIONS VIA FACIAL DETECTION

Early Detection of Lung Cancer

BMMC (UG SDE) IV SEMESTER

LifelogExplorer: A Tool for Visual Exploration of Ambulatory Skin Conductance Measurements in Context

Agitation sensor based on Facial Grimacing for improved sedation management in critical care

ear Inc: George Tsai, MinHong Zhou, Rick Liu, Daniel Tang, Aaron Lee School of Engineering Science Simon Fraser University

Real-time Heart Monitoring and ECG Signal Processing

Design and Implementation study of Remote Home Rehabilitation Training Operating System based on Internet

User Manual Verizon Wireless. All Rights Reserved. verizonwireless.com OM2260VW

EARLY STAGE DIAGNOSIS OF LUNG CANCER USING CT-SCAN IMAGES BASED ON CELLULAR LEARNING AUTOMATE

Connected to my Health

LUNG CANCER continues to rank as the leading cause

THE HOOK EXERCISE MANUAL

Detection and Recognition of Sign Language Protocol using Motion Sensing Device

User s Manual Blood Glucose Meter

COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET) DETECTION OF ACUTE LEUKEMIA USING WHITE BLOOD CELLS SEGMENTATION BASED ON BLOOD SAMPLES

Lung Region Segmentation using Artificial Neural Network Hopfield Model for Cancer Diagnosis in Thorax CT Images

Content Part 2 Users manual... 4

User Manual. RaySafe i2 dose viewer

Proposal of a Method for Promotion of Continuous Pro-Environmental Behavior with Easy Communication

Lung Tumour Detection by Applying Watershed Method

GlucCell TM SYSTEM USER S GUIDE ver 2.3 CELL CULTURE GLUCOSE METER. Important Information. Intended Use. Caution. About the System

Empirical Research Methods for Human-Computer Interaction. I. Scott MacKenzie Steven J. Castellucci

Online hearing test Lullenstyd Audiology :

You can use this app to build a causal Bayesian network and experiment with inferences. We hope you ll find it interesting and helpful.

IJREAS Volume 2, Issue 2 (February 2012) ISSN: LUNG CANCER DETECTION USING DIGITAL IMAGE PROCESSING ABSTRACT

Development of novel algorithm by combining Wavelet based Enhanced Canny edge Detection and Adaptive Filtering Method for Human Emotion Recognition

Energy Saving using Scenario based Sensor Selection on Medical Shoes

Finger spelling recognition using distinctive features of hand shape

OneTouch Reveal Web Application. User Manual for Patients Instructions for Use

Automatic Detection of Anomalies in Blood Glucose Using a Machine Learning Approach

Tools For Interactive Learning And Self- Management Of Diabetes

Mobile App User Guide

Katsunari Shibata and Tomohiko Kawano

ACTUAL SITUATION OF VENTILATION DESIGN AND EVALUATION USING CONTAMINATION AREA RATIO OF SMOKING ROOMS

Automated Assessment of Diabetic Retinal Image Quality Based on Blood Vessel Detection

Retrospective Cohort Study for the Evaluation of Life- Style Risk Factors in Developing Metabolic Syndrome under the Estimated Abdominal Circumference

Intelligent Shoulder Joint Home-Based Self-Rehabilitation Monitoring System

An intelligent car driving based on fuzzy target with safety zone

Using Technology to Support Frail Elderly in the Community. Lessons Learned from Cokato Charitable Trust and Other Communities

Plug-and-play goes online

User Manual second language

International Journal for Science and Emerging

Sleeptracker Application User Guide

Quantitative Evaluation of Edge Detectors Using the Minimum Kernel Variance Criterion

BC380. The New Standard in Body Composition Analysis BODY COMPOSITION ANALYZER

Hand Gesture Recognition and Speech Conversion for Deaf and Dumb using Feature Extraction

Home Office Solutions By: Laura Cervantes QAS 515 3/26/03

Item Analysis Explanation

Transcription:

The 2010 IEEE/RSJ International Conference on Intelligent Robots and Systems October 18-22, 2010, Taipei, Taiwan Intelligent Medicine Case for Dosing Monitoring and Support Takuo Suzuki and Yasushi Nakauchi Abstract In Japan, the number of elderly persons who take medicine regularly has been increasing due to population aging. Since they can have the serious accidents caused by incorrect medication, we propose a medication monitoring system to detect incorrect medication. The system is composed of an intelligent medicine case, house-embedded sensors, and a database server. The case recognizes whether an elderly person has picked up correct medicine from its storage space to confirm the quantity of dosing. The case also estimates the present living condition of him/her to confirm the timing of dosing. By using the results, the case can evaluate the adequacy of medication. The sensors collect the information necessary for living condition estimation. The server accumulates the adequacy into its database. By using the system, caretakers can check the adequacy through a web interface and can receive an emergency e-mail if the adequacy becomes too low. We used background subtraction method for quantity confirmation and fuzzy inference method for timing confirmation. We confirmed that the case was able to detect 4 types of medicines in its storage space with considerable accuracy and the system was able to confirm 11 common timings with satisfactory accuracy by experiments. I. INTRODUCTION Recently, the total number of recipients who take medicines regularly has been increasing in aging societies like Japan. They sometimes induce the serious accidents caused by incorrect medication such as overdose because of their cognitive deterioration. To prevent incorrect medication, their caretakers check their conditions about medication by visiting every time they take medicines. However, lack of caretakers is also a social problem in aging societies. Therefore, some medication monitoring systems have been developed for assisting caretakers in monitoring the conditions anytime and anywhere. For example, Context-Aware Pill Bottle can sense whether a recipient have taken the pill bottle by a set time with IC tag and reader. And, it can transfer the information to caretakers by lighting the LEDs of medication monitor [1]. Although conventional medication monitoring systems can confirm the type of medicine, they cannot confirm the quantity of medicine. Also, they can confirm dosing timing about medicine which should be taken during a set time period (e.g. from 7 a.m. to 8 a.m.), but they cannot confirm dosing timing precisely because many medicines should be taken according to the daily activities of a recipient such as eating and sleeping (see Table I). This work was supported by the Bureau of Social Welfare and Public Health, the Tokyo Metropolitan Government. T. Suzuki and Y. Nakauchi are with Department of Intelligent Interaction Technologies, Graduate School of Systems and Information Engineering, University of Tsukuba, 1-1-1 Tennodai, Tsukuba, Ibaraki 305-8573, Japan {takuo, nakauchi}@hri.iit.tsukuba.ac.jp Caretakers should check the quantity and timing of dose every time a recipient takes medicines because mistakes of quantity and timing induce serious accidents. Therefore, medication monitoring system should confirm the quantity and timing of dose, and then it should inform the caretakers of the information. If the system can confirm them precisely, the caretakers can collect enough information necessary for monitoring. Moreover, the system may assist the recipient in taking medicines without any misdirection. In this paper, we propose an intelligent medicine case (imec) that can confirm the quantity and timing of dose. The case recognizes how medicines are taken by using a couple of sensors embedded in itself. The case also estimates the living condition of a recipient by using a lot of sensors embedded in the recipient s house. The history of medication confirmed by the case is accumulated in a database server so that the caretakers check via the Internet. This paper is organized as follows. In Section I, we described the background and purpose. Section II provides the design concept of imec and its system including confirmation algorithm. Section III presents how to implement the system and Section IV shows the experimental results. Finally, our conclusions are summarized in Section V. TABLE I COMMON TIMINGS OF DOSE Timings Labels Explanations After sleeping AS 30 minutes after sleeping Before eating breakfast BE (B) 30 minutes before breakfast During eating breakfast DE (B) During breakfast After eating breakfast AE (B) 30 minutes after breakfast Before eating lunch BE (L) 30 minutes before lunch During eating lunch DE (L) During lunch After eating lunch AE (L) 30 minutes after lunch Before eating dinner BE (D) 30 minutes before dinner During eating dinner DE (D) During dinner After eating dinner AE (D) 30 minutes after dinner Before sleeping BS 30 minutes before sleeping II. SYSTEM DESIGN These days some caretakers use a medicine organizer in order to check whether a recipient has taken medicines when they visit the recipient s house. Most of conventional medicine organizers have 28 divided storage spaces (for 4 times a day and for 7 days a week). Each divided storage 978-1-4244-6676-4/10/$25.00 2010 IEEE 3471

space is specified the timings of dose such as before eating breakfast on Monday. The caretakers stock the correct quantities of medicines into each divided storage space periodically at least once a week. If medication monitoring system can detect medicines in each divided storage space, the caretakers can monitor the quantities anytime and anywhere. Also, if the system can estimate the living condition of the recipient in the house, the caretakers can monitor the timings. We propose an intelligent medicine case (imec) and its system (imec System) for realizing above functions. The imec has a interface for setting the medication schedule of a recipient (i.e. the types, quantities, and timings of medicines on prescription), a couple of sensors for detecting medicines in its storage space, and a computer for estimating the living condition of the recipient. Also, the imec has a display and a speaker for assisting the recipient. We assume that it is too difficult to estimate the living condition only by using the imec. Therefore, the imec use inexpensive wireless sensors (the Ubiquitous Sensors) placed in the recipient s house to collect the information needed for living condition estimation. The imec is managed by a database server (imec Server). Since the server accumulates the adequacy of dose as medication history, the caretakers can check the information by accessing the server. Next, we explain the operational procedure of the system with Fig. 1. First, the caretakers set the correct timings into each divided storage space of the imec and stock medicines in the corresponding spaces. The Ubiquitous Sensors always senses the living activities of the recipient and sends its sensing data to the imec. The imec receives the data and always estimates the living condition of the recipient by inference algorithm. The recipient takes medicines from the imec regularly (e.g. three times a day). When the recipient picks up medicines, the imec evaluates the adequacy of type, quantity and timing. If the adequacy is incorrect, the imec notifies risks of incorrect medication to the caretakers via the imec Server. The imec uploads the information onto the imec Server periodically. The caretakers restock medicines when the storage space of the imec is empty. imec server Caretakers Fig. 1. imec Recipient s house Ubiquitous sensors Living condition estimation Configuration of imec System Recipient A. imec Since caretakers restock the correct quantities of medicines into each divided storage space, we conceive that imec just have to recognize the presence of medicines in each space to confirm the quantities. For example, imec can judge that the quantity is correct if all medicines in appropriate divided storage space picked up. And, imec can judge that the quantity is incorrect if some medicines in appropriate divided storage space picked up. Therefore, imec recognizes partition walls which divide the storage space, and then detects medicines in each space. We assume that camera is the best sensor for recognition and detection because it is inexpensive and manageable. And, it can obtain sufficient information for recognition and detection at once by capturing the bottom side image of the storage space. However, camera is susceptible to ambient light. Accordingly, we fit a opaque black flap over the storage space. We assume that imec can recognize the partition walls by Hough transform because they are expressed as straight or curve lines in the image. Also, we assume that imec can detect medicines by background subtraction because the background of the image is almost constant. imec can confirm the timings about medicines which should be taken during a specified time period by comparing the set time of dose with the current time of the computer. For example, imec can judge that the adequacy of timing is correct if medicines which should be taken between 7:00 a.m. and 8:00 a.m. pick up at 7:30 a.m. B. Ubiquitous Sensors As explained above, imec can confirm the timings about medicines which should be taken during a specified time period. However, imec cannot confirm the timings about medicines which should be taken according to the living condition of the recipient. For confirming precisely, imec needs to estimate the living condition and compare with the correct timing. For example, imec can judge that the adequacy of timing is correct if medicines which should be taken during breakfast pick up when the recipient is eating breakfast. We defined the living condition when the recipient neither eat nor sleep as NT: neutral condition. Since the living activities before eating breakfast is similar to them before eating lunch and before eating dinner, imec estimates 7 kinds of living condition (i.e. BE, DE, AE, BS, DS: During Sleeping, AS, and NT). And then, imec make a classification into the category B, L, and D if imec estimates that the recipient is in BE, DE, or AE condition. By these processes, imec can confirm the timing automatically. We assume that humans estimate the living condition based on the habit of the recipient. In the case of the recipient who tend to use a microwave oven in 3 minutes before eating, humans can judge that the recipient may be in before eating condition now after he/she uses the microwave oven 3 minutes ago. It means that imec can estimate the living condition by inference rules. The inputs of rules are the recipient s position and the usage states of 3472

appliances and furniture, and the outputs of rules are the potential possibilities of living conditions. And, we assume that the present living condition is the living condition that the possibility of it is higher than the possibilities of the other living conditions. The Ubiquitous Sensors means inexpensive ON-OFF state sensors for measuring the recipient s position and the usage states of appliances and furniture. The sensors accumulate ON-state time every constant time interval, and transmits the information (i.e. sensing data) to imec via radio wave. We can place the sensors on appropriate locations because they have also long-lasting battery. To collect useful information for estimation, we place the sensors in the locations related to eating and sleeping such as the door of refrigerator, the faucet of kitchen unit, the surface of bed, the ceiling of toilet, etc. Humans change the sensing data to subjective feature quantities and calculate the possibilities of 7 living conditions based on the feature quantities. As the feature quantities, we define degrees of presence and absence for the recipient s position and degrees of use and nonuse for the usage states. We assume that these human senses are expressed as fuzzy sets shown in Fig. 2. Because, the degree of presence when a sensor reacts 50 seconds in 60 seconds is little different from them when the sensor reacts 55 seconds in 60 seconds. imec can convert the sensing data to the degrees by using the fuzzy sets. For example, the degree of presence or use are 1.0 if the ON-state time is over the upper threshold and are if the ON-state time is under the lower threshold. Degree [-] Fig. 2. 1.0 Lower limit Absence Nonuse Upper limit ON-state time rate [-] Presence Use 0.5 1.0 Fuzzy sets for calculating degrees of feature quantities The inference rules associate all sensors with 7 living conditions. Since the living activities before and after eating is depend on the person, imec creates the rules for each recipient by supervised learning. For learning, imec needs a lot of learning instances that is composed of true (i.e. actual) living condition and the sending data. By using learning instance, imec calculates the lift values of rules for extracting only effective rules. If the lift value of a rule is 1.0 or less, the sensor of the rule is not relative to the living condition of the rule. The potential probabilities of rules are related to the confidence values of the rules. If the confidence value of a rule is near to 1.0, imec can judge that the recipient is in the living condition of the rule after the sensor of the rule responds. We think that imec can classify into the 3 categories (B, L, and D) based on the current time because each during eating condition seldom occur together. By using learning instance, the occurrence distributions of 3 during eating condition are obtained as shown in Fig. 3. Since there are a significant difference in the dispersion of each occurrence distribution, the dividing time of Mahalanobis generalized distance between 2 categories is calculated as a distinction time. The distinction time between breakfast and lunch (t BL ), between lunch and dinner (t LD ), and between dinner and breakfast (t DB ) are obtained. If imec estimates that the recipient is in the DE condition between t DB and t BL, it estimates that he/she is during eating breakfast. Probability [%] 100 Breakfast t BL t Lunch LD t DB Dinner 0 0 12 24 Fig. 3. Time [h] Meal category distinction We summarize the procedure of living condition estimation with Fig. 4. First, the Ubiquitous Sensors measures the ON-state time and calculates the ON-state time rates in a predetermined time interval. Second, imec converts the rates to degrees of presence (or use) and absence (or nonuse) by using fuzzy sets. Third, imec obtains the possibility of some living condition corresponding to the degrees per rule. Fourth, imec aggregates all possibilities of the rules per living condition, and calculates the overall possibility of some living state by centroid method. The possibilities of the other living conditions are calculated in the same way. Finally, imec estimates the living condition which has the maximum possibility among 7 living conditions as the present living condition. If imec estimates that the recipient is in BE, DE, and AE conditions, it also distinguishes 3 meal categories. C. imec Server imec must transmit the information about the adequacy of type, quantity, and timing to the caretakers, but it has only compact computer. Therefore, we use imec Server to transmit the information instead of imec. Since it is important to confirm not only the latest confirmation result but also past confirmation results for medication monitoring, imec Server receives the adequacy from imec periodically, and accumulates the information in its database. Also, it receives and accumulates the internal condition of imec so that the caretakers check if imec needs to restock medicines. We assume that web interface is useful for monitoring because the caretakers can check the adequacy by using personal computer or cellar phone. When imec detects signs of incorrect medication, imec should notify risks of incorrect medication to caretakers automatically and immediately. Since e-mail is easy to receive by using cellar phone, we assume that e-mail is the most appropriate way for realizing 3473

Rules of some living condition which have high left values 1.0 1.0 1.0... 1.0 1.0 1.0 ON-state time rate Potential possibility Wireless device (base station) Compact computer Touch display Overall possibility of some living condition 1.0 Fig. 4. Illustration of living condition estimation method USB camera Storage space Fig. 5. Appearance of imec (intelligent medicine case) this function. The signs are detected by comparing the present living condition and the meal category with the correct dosing timing as shown in Table II. If the adequacy is incorrect, imec sends e-mail to caretakers via imec Server. Preset timing TABLE II INCORRECT MEDICATION DETECTION Estimated condition If Classified category Presence of medicine Then Adequacy of dose NT - Absence Incorrect Before eating BE (B) Presence Correct breakfast BE (B) Absence Correct DE (B) Presence Incorrect The imec detects partition walls for recognizing the divided storage spaces. First, the imec captures a background image as shown in Fig. 6 (a) when there is no medicines in the space, and than removes the lens distortion by approximating the distortion as 7th-degree equation. Second, the imec calculates the edge strength of the image by using Sobel filter. Third, the straight lines in the image are detected by Hough transform. Finally, imec returns the distortion into the image. The curve lines on the image show the partition walls (see black lines in Fig. 6 (b)). imec recognizes the areas which are surrounded by curve lines as the spaces. A. imec III. IMPLEMENTATION We developed a imec as shown in Fig. 5. When its flap is open, the divided storage space will appear. The imec was made of black acrylic boards except the bottom plate of the storage space. Since a camera (VF0490, Creative) was placed on the bottom plate of the imec and the bottom plate of the space was made of a transparent acrylic board, the camera can capture the bottom side image of the space. As light sources, white LEDs which are covered with diffusion caps were placed under the space. A touch display is embedded in the flap for setting the schedule into every divided storage space. And a speaker is also embedded in the front side for assisting the recipient in taking medicine. In addition, the imec has an open-close sensor for measuring the flap condition. (a) Background image Fig. 6. (b) Recognized storage spaces Result example of storage space recognition The imec detects medicine in each storage space as follows. First, the imec captures a medicine image as shown in Fig. 7 (a) every time the flap is closed, and then converts the image into a grey scale image by simple average method. Second, the imec subtracts the gray scale values of each pixel in the medicine image from them in the background image. Finally, the imec converts the image which is composed of subtracted gray scale values to a binary image by a constant threshold. The high values in the image represent the presence of medicine as white pixels in Fig. 7 (b). If there are enough white pixels in the area of a storage space, imec judges that there is some medicines in the storage space. 3474

Presence sensor Seat sensor (a) Medicine image (b) Detected medicines Fig. 7. Result example of medicine detection The caretakers set the schedule by using the setting interface as shown in Fig. 8. The imec presents the interface on the touch display and shows the divided storage spaces recognized by the above processes at the upper left of the interface. If the caretakers touch a virtual divided storage space that they want to change the schedule, they can select the space intuitively. And, they change the schedule by touching and dragging the text lists displayed at the bottom of the interface. The caretakers can choose 2 kinds of criterion about timing: timing based on living condition and timing based on the clock time. Fig. 8. B. Ubiquitous Sensors Setting Interface on Touch Display As sensors of the Ubiquitous Sensors, we used 6 kinds of sensors: seat, presence, open-close, water flow, push, and light sensors. We make the Ubiquitous Sensors by connecting these sensors to the ports of wireless devices (SunSPOT, Sun Microsystems). The Ubiquitous Sensors calculates the ON-state times of the sensors in past 10 seconds, and then transmits the sensing data to the imec. We installed the Ubiquitous Sensors in 33 locations related to eating and sleeping as shown in Fig. 9. We obtained fuzzy sets expressing the human sense about presence and use by questionnaires. For example, we asked 10 subjects how long ON-state time do you need to feel totally that a recipient was in the place installed a sensor and how long ON-state time do you need to feel totally that a recipient was not in the place installed a sensor to every sensors measuring the recipient s position. As results, the degrees of presence and absent are almost proportionate to the ON-state times. The limits of fuzzy sets about the degrees of use and nonuse are obtained in the same way. Light sensor Fig. 9. Open-close sensor Ubiquitous Sensors placed in recipient house The imec use the sensing data in past 30 minutes for living condition estimation because late sensing data is even more relevant to the present living condition than the previous one. We determined the lower limit of the lift value at 1.0 in order to generate inference rules as many as possible. By trial and error processes, we related the confidence values of the rules to the potential possibilities of the rules as follows. From to 0.1, from 0.1 to 0.2, from 0.2 to 0.8, from 0.8 to 0.9, and from 0.9 to 1.0 are 0, 0.25, 0.50, 0.75, and 1.00 respectively. C. imec Server The Windows Server 2003 was installed on the imec Server. The server sends e-mail by using the Internet Information Services of the operating system. We also installed MySQL database for accumulating the adequacy and Apache HTTP Server for managing the web interface. The server provides the monitoring interface as shown in Fig. 10. This interface shows the present condition of medication in the top, the past conditions of medication in the middle, and the storage condition of the imec in the bottom. If a exclamation mark is selected, the details is displayed. This interface is written in PHP language for connecting to the imec Server. (a) Recipient condition Fig. 10. (b) imec condition Medication monitoring interface 3475

A. Medicine Confirmation IV. EXPERIMENT We conducted experiments for evaluating the proposed storage space recognition and medicine detection methods. Experiment procedure is as follows. The 28 divided storage spaces are recognized before experiments. We asked 3 students (24-year-old healthy male) to stock each space with medicine, and then pick up the medicine from each space one by one. We also asked the subjects to use 4 kinds of medicines: powder, tablet, capsule, and ODP (One-Dose Packaging) type. As results, the powder, tablet, capsule, and ODP type medicines were detected 98, 100, 100, 100 % respectively. This results proved that the imec can recognize the presence of medicines with absolute accuracy and can evaluate the adequacy of the quantity. But, the imec failed to detect the powder type medicine when it leaned against the partition walls of the divided storage space. B. Timing Confirmation We also conducted experiments for evaluating the proposed living condition estimation and meal category distinction methods. We asked 5 students (healthy male from 22 and 25 years old) to live for 8 days in the virtual house which is installed the Ubiquitous Sensors. We also asked to record the start and end time of eating and them of sleeping for creating learning instances (i.e. the true present living conditions). The distinction times and inference rules are generated by using the instances, and estimation accuracy is calculated by cross-validation method every students. As results, individualized inference rules are obtained per student. For example, the imec obtained a following rule: student A could be in the BE condition after he open the door of the microwave oven from 3 minutes ago to 1 minute ago. In the case of student A, the distinction time between dinner and breakfast is calculated at 1:44 and the distinction time between breakfast and lunch is calculated at 10:10. Figure 11 shows a part of the estimation results of student A. He began to make breakfast around 7:00, and then the imec estimated that he was in the BE condition. The BE condition between 1:44 and 10:10 was recognized as the BE (B) condition. True NT BE (B) DE (B) As shown in Fig. 12, the average estimation rates of many common timings are more than 75 % accuracy. These results mean that the imec can evaluate the timing about medicine which should be taken along with eating and sleeping activities. However, the rates of the AE conditions is too low relatively. Because the activities after eating vary widely from day to day. We were apprehensive that the imec don t collect sufficient information for estimation. Estimation Accuracy [%] 100 80 60 40 20 0 AS BE DE AE BE DE AE BE DE AE BS (Breakfast) (Lunch) (Dinner) Fig. 12. Living State Results of living condition estimation V. CONCLUSION In this paper, we proposed an imec (intelligent medicine case) that confirm the quantity of dosing by detecting medicine in its storage space, confirm the timing of dosing by estimating the present living condition of a recipient, and allow caretakers to check the adequacy of medication anywhere. Also, the imec send e-mail to caretakers if the adequacy becomes too low. For realizing these functions, we placed the Ubiquitous Sensors (house-embedded wireless sensor) to collect the information necessary for living condition estimation, and made an imec Server (database sever) for providing monitoring interfaces. We confirmed that the imec was able to detect 4 types of medicines in its storage space by background subtraction method and was able to estimate the living condition by fuzzy inference method. As future works, we will strengthen the imec so that it recognizes the type and quantity of dosing precisely. And, we will improve estimation rates by reconsidering the type, number and location of the Ubiquitous Sensors toward practical use. Possibility [-] 0.7 0.65 0.6 0.55 0.5 0.45 6:40 Fig. 11. 6:50 7:00 7:10 7:20 7:30 7:40 7:50 8:00 Time [h] Result example of living condition estimation NT BE DE AE BS DS AS REFERENCES [1] A. Agarawala, S. Greenberg, G. Ho, The Context-Aware Pill Bottle and Medication Monitor, ACM Proceedings of the 6th International Conference on Ubiquitous Computing (UBICOMP2004), 2004. [2] T. Suzuki, Y. Nakauchi, Dosing Monitoring System Using imec and Ubiquitous Sensors, IEEE Proceedings of the 31th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC2009), pp.6163-6166, 2009. [3] L. Atallah, B. Lo, R. Ali, R. King, G. Yang, Real-Time Activity Classification Using Ambient and Wearable Sensors, IEEE Transactions on Information Technology in Biomedicine, Vol.13, No.6, pp.1031-1039, 2009. [4] Y. Yuan, Z. Maio, S. Hu, Real-Time Human Behavior Recognition in Intelligent Environment, IEEE Proceedings of the 8th International Conference on Signal Processing (ICSP2006), Vol.3, pp.16-10, 2006. 3476