this invention is now described by way of example with reference to the figures in the following paragraphs . list 1 is a part list so that the reference numerals in the figures may be easily referred to . objects , features , and aspects of the present invention are disclosed in or are apparent from the following description . it is to be understood by one of ordinary skilled in the art that the present discussion is a description of exemplary embodiments only , and is not intended as limiting the broader aspects of the present invention , which broader aspects are embodied in the exemplary constructions . fig1 shows a medical device ( 10 ) of this invention , which is in contact with the skin 50 of a patient . the device has at least one sensor ( 12 ) for measuring at least one parameter from the patient . some parameters , for example temperature , relative humidity , ph , and concentration of medication / drug / salts / fatty acid on the skin , can be measured from the skin of the patient . conventional sensors can be used for obtaining these parameters . for example , the following sensors can be used for this invention : a temperature sensor is used to measure the temperature on the skin surface . temperature can be one of the parameters to determine the appropriate time to deliver the medicine to the treated area based on the elevation in local skin temperature beyond a certain threshold . a thermal couple can be used associated with another temperature sensor for cold junction reference to the ambient environment . another type of temperature sensor is the transistor type sensor wherein it makes use of the fact that resistivity of the transistor changes with temperature . by monitoring the resistivity , the temperature can be deduced . the contact pressure applied by a cuff to the treated area will increase when there is inflammation on the treated area . a force sensor is applied to measure this pressure difference between inflamed and normal situations . this force sensor can be made of a semiconductor material , for example silicon , which will change its resistance when a force is applied . a constant voltage is applied to measure the variation in electrical current , which reflects the force change on the contact area . a humidity sensor is used to measure the local moisture above the skin surface when the medicine is applied . this information can be used as a parameter to optimize the drug delivery time , dose , and rate . a relative humidity sensor is made of a capacitor with polymer as a dielectric material . this polymer will change its dielectric constant when absorbing moisture , hence , variation in the measured capacitance of the capacitor reflects the humidity change . this capacitance difference will be translated to an electrical voltage by a driving circuit as a measurement of humidity change . the constructions of these sensors are known in the art , and therefore , would not be further discussed here . other parameters , for example , concentration of chemicals including arthritis drug and / or insulin , on skin surface could be measured by a suitable sensor to determine the penetration rate of the chemical through the skin . there are existing sensors that can create minimal discomfort to the patient when measuring these parameters . for example , many existing devices for measuring blood glucose level of patients suffering from diabetes can create less discomfort in most cases . the sensor would be specific for a given chemical . gelling agents and carbomer resins could also be detected by suitable sensors . gelling agents are additives ( usually in powder form ) used to thicken and stabilize various liquid preparations , for example cosmetic cream . these gelling agents are usually hygroscopic in nature . when added to various liquid preparations , these polymers can swell to many times their original volume as they can absorb and retain water . such swollen particles remain discrete in various mucilaginous or colloidal dispersions . the gelling agents provide the liquid with texture through formation of a gel . on the other hand , a gel is a colloidal system in which a porous network of interconnected particles spans the volume of a liquid medium . in general , gels are apparently solid , jelly - like materials . both by weight and volume , gels are mostly liquid in composition and thus exhibit densities similar to liquids , however have the structural coherence of a solid . an example of a common gel is edible gelatin . typical gelling agents include natural gums , starches , pectins , agar - agar and gelatin . often they are based on polysaccharides or proteins . further examples of gelling agents include : alginic acid ( e400 ), sodium alginate ( e401 ), potassium alginate ( e402 ), ammonium alginate ( e403 ), calcium alginate ( e404 )— polysaccharides from brown algae agar ( e406 , a polysaccharide obtained from red seaweeds ) carrageenan ( e407 , a polysaccharide obtained from red seaweeds ) locust bean gum ( e410 , a natural gum from the seeds of the carob tree ) pectin ( e440 , a polysaccharide obtained from apple or citrus - fruit ) gelatine ( e441 , made by partial hydrolysis of animal collagen ) carbomer 940 is a specific type of resins of the carbomer series that is commonly used in cosmotic industry and acted as an emulsifying agent . these resins have low toxicity . these carbomer resins (- 910 , - 934 , - 934p , - 940 , - 941 , and - 962 ) are synthetic , high molecular weight , nonlinear polymers of acrylic acid cross - linked with a polyalkenyl polyether . they are chemically similar to each other , differing only in ascending molecular weights ( which range from carbomer - 910 to carbomer - 962 ). they contain between 98 . 7 % and 99 . 9 % acrylic acid . when dried at 80 ° c . for one hour , they contain not less than 56 . 0 % and not more than 68 . 0 % carboxylic acid (— cooh ) groups . the general structural formula is : further details of carbomer resins can be found in the article “ final report on the safety assessment of carbomers - 934 , - 910 , - 934p , - 940 , - 941 , and - 962 ” in “ polymers for personal care ”, which is incorporated herein as a reference . although the size of the sensors ( 12 ) should not affect the working of this invention , it would be apparent to a person skilled in the art that compact sensors are generally preferred . some pressure , temperature and humidity sensors are made from micro - electrical mechanical systems mems and typically these are very small on the order of a few millimeter square and several millimeter thick . they can be conveniently incorporated into the system without taking much room and causing discomfort to users . suitable sensors may include ntc thermistor ec95 ( thermocouple ) from ge ™, ad590 series from analog devices ™, and fot - hero from fiso technologies for sensing temperatures ; px305 / 315 series from omega ™ and npc - 100 from ge ™ for sensing pressure ; capactive smd humidity sensor hc103 / 105 and hmx2200 from hygometrix ™ for sensing humidity . the medical device ( 10 ) further includes an analyzer or controller ( 14 ) for analyzing the information obtained from the sensor ( 12 ), and determining what actions from the medical device are required to be performed on the patient . the controller ( 14 ) may be in the form of analog / digital converter , signal processor , microcontroller or cpu with suitable analog / digital converter and signal processor . the logical structure of the controller ( 14 ) is shown in fig2 . after the parameters are measured and collected by the sensor ( 12 ), the parameters will then be analyzed by the controller ( 14 ). the controller ( 14 ) will then determine appropriate actions to be performed on the patient by the medical device ( 10 ) according to the analysis . temperature , pressure , and humidity are measured by the respective sensors . when each of these measurements exceeds the predetermined threshold or tolerance levels , drug and or electrical stimulus could be applied to the affected area to sooth pain and reduce temperature of swollen area from inflammation due to arthritis attack . fig3 shows a flowchart of the operation of the sensors and the actuators of the device of this invention . the threshold levels would be determined by a person skilled in the art according to the different operation environment or the needs of the patient . the controller ( 14 ) can be an embedded system programmed with different types of therapies depending on the disease and the medical history of a given patient . the medical device ( 10 ) can perform specific therapy by sensing the patient &# 39 ; s status , stimulates the patient by actuators ( 20 ), and logs the progress / status using internal memory . it can also be equipped with communication units , and user interface to facilitate the therapy purpose . details of the controller ( 14 ) are explained as follows : the user interface module is responsible for presenting the users the real - time or historical system status such as sensor values , therapeutic programs , etc . . . . , by means of led , lcd , and buzzers , etc . . . . . it is also responsible for accepting user inputs such as emergency stops , therapy activations , etc . . . . by means of button presses , rotary switch , etc . . . . . it is controlled and monitored by the central processing unit to give the user a facility to interface with the smart device . the cpu is responsible for the coordination of the user interface module , the therapeutic memory module , the actuator controller , the sensor monitor , and communication module to perform a therapy sessions . the dsp is to perform the mathematical calculations and decision - making algorithms to realize an adaptable therapy session . the therapeutic memory modules is responsible for the storage of the information for the controllers relating primary to therapeutic information . the therapeutic information may have mainly 2 types . the 1st type is the preset therapy programs that are preloaded by users via the communications module . the 2nd type can be the therapy that is automatically adaptable to the ongoing therapy progress of the patients . the adaptation methods and outcomes are based on the mathematical calculations and decision - making algorithms of the cpu and dsps . the therapy progress is monitored by calculating the variation gradient of the vital signs taken from the sensors , including those for detecting temperature , pressure , humidity , and ph . a proper therapy program will be selected from the pre - loaded therapy programs based on the calculated variation gradient of vital signs . the selection criteria can be of 2 folds . the first one is based on the clinical study from a group of patients to decide the proper drug dosage and electrical stimulus therapy for patients on different stages of improvement by applying the therapy . these criteria can be updated from the most recent clinical study to provide a better treatment for individual patients . the second one is based on the patients individual healing condition . the therapeutic memory module shall correlated the healing condition , based on the sensors , and the therapeutic effect , based on drug dosage and electrical stimulus intensity ; and formulates a personal treatment that adapts to a patients vital signs response to the treatment . fig4 shows an exemplary preload therapy where all patients of ages 50 - 80 when under arthritis attack with measured temperature difference between arthritis affected area and normal area more than 3 degree celsius , then medication drug b of 15 mg is applied over the affected area . on the other hand , medication and dosage are applied based on individual &# 39 ; s healing condition which is indicated by the temperature difference between affected area and normal area as shown in fig5 . this procedure can be applied to any patient once the rules above are followed . the communication module is purely optional , and is responsible for gathering and delivering the information of the controller from / to the external machine , such as pc , rfid - reader / writer , etc . . . . , via wired and wireless means . it can be used for downloading therapy program , uploading therapy progress , and conveying smart device identity and capability , etc . the actuator controller is to control the actuator such as drug release , heater , and electrical stimulator in a timely and organized manner . the actuator of the drug can be a syringe pump , a rotary pump , a micro diaphragm pump , or a cartridge with back pressure and a valve to control its fluid releasing time . the selection of the pump could be based on the viscosity of the drug fluid and the required fluid flow rate . the syringe pump can be driven by a stepper motor with gear set to convert the rotary motion to the linear for pushing the plunger of the syringe forward or pulling it backward . this can pump or refill the drug to the syringe . a rotary pump can also be driven by a stepper motor with rotation of the gears to provide the required pumping force to the drug fluid . a micro diaphragm pump can be based on the vibration of a unimorph piezoelectrical metal disk to provide the actuation force , which pushes / pulls the fluid out of / into the pump chamber . the electronic pump drivers of the various pumps would be controlled by the microcontroller from the cpu . the actuation of the electrical stimulator can be initiated by a pulsed electrical voltage in , for example , the 70 to 90 volts high voltage range with connection to the skin treating location by a pair of conductive electrodes , for example graphite rubber pad or stainless steel fiber fabric . the high pulsed voltage can be boosted from a battery voltage by a boost converter circuit . the input digital signal of the driver circuit can also be provided from the microcontroller from the cpu , which performs as a central unit to control the drug release , the electrical stimulator , and the heater with digital signal feeding to the required actuator driver . the heater can be provided by joule heating from a conductive metal wire with designed heating power and area coverage with proper thermal and electrical isolation . the sensor monitor is to collect the sensing value of sensors such as temperature , pressure and humidity in a timely and organized manner . for performing the required actions on the patient , the medical device ( 10 ) has at least one actuator ( 20 ), which can exist in various different forms . suitable actuators ( 20 ) include drug delivering devices in the form of injection device ( 22 ) or permeable membrane and valve ( 26 ), heater ( 24 ), electrodes ( 28 ), magnetic field generator ( not shown in the figure ), optical actuator ( including infra - red , ultraviolet ), and sonic actuator including ultrasound . providing actuators including heater ( 24 ), electrodes ( 28 ), magnetic field generator , optical actuator or sonic actuator ( including ultrasound ) may allow physical therapies to be performed in conjunction with drug delivery , which may enhance the overall therapeutic effects . details of particularly preferred actuators are described as follows . a syringe pump can be used to pump the medicine fluid to the required treated area . it can be made of two parts . the first part is a syringe , which is similar to the regular syringe having a medicine container and a movable piston . as the piston moves forward , the enclosed volume of the syringe container is decreased and a controlled volume of the liquid medicine is ejected . to move the piston automatically , a linear motor , which is the second part , is provided . a piezoelectric linear motor is preferred for its miniature size and minimal number of parts , which can be made of a screw shaft and a nut attached with piezoelectric pads . when two opposite sides of the piezoelectric pads are actuated by two sinusoidal electrical voltage waves with half - wave phase shift , a hula - hoop motion on the screw nut is generated , rotating the screw shaft and moving it forward or backward depending on the electrical control . a control circuitry with microcontroller on printed circuit board ( pcb ) can be used to drive the linear motor . a micro pump is another option for pumping liquid medicine to the treated area . unlike a syringe pump , it separates the medicine cartridge from the pumping mechanism , which might ease the process of refilling the medicine by simply changing a new cartridge . a micro pump can be made of a piezoelectric actuated membrane with two valves , one on inlet and another one on outlet . as the membrane bending upward to increase the volume of the pump chamber , the inlet valve is opened and the outlet valve is closed to fill the pump chamber with a controlled volume . as the membrane bending downward to decrease the volume of the pump chamber , the inlet valve is closed and the outlet valve is opened to pump the liquid out of the chamber . these two processes cycle the liquid through the pump chamber to continuous pumping the liquid from the inlet to the outlet . the electro - stimulus device senses skin electrical resistance / current and applies a voltage to stimulate the nerve endings . an electric field / voltage will be applied in appropriate place in the sock to stimulate the local nerve endings and treat the inflamed area of the body . a heater pad is made of a metal wire actuated by joule heating , which can generate heat by passing an electrical current through the metal wire . this metal can be arranged in a planar serpentine shape to cover the required heating area , and a cloth to distribute the heat uniformly to the treated area . it is known that muscles can be relaxed in the presence of a weak magnetic field over the body . this relaxed portion could also have an added benefit of improving diffusion of drugs over skin with increased pore size and thus skin permeability . the magnetic field can be provided by a permanent magnet with a constant magnetic field or a magnetic coil to control the magnetic field by varying its electrical current . a small device for generating ultrasound at mega hertz range , from 1 to 3 mhz , could be used to sooth the patient &# 39 ; s body , including the reduction of pain on the joints . when ultrasonic waves are transmitted to the tissue , a thermal effect would be generated to reduce inflammation , and the mobility and flexibility of the joints could also be increased . the ultrasonic transducer can be formed by piezoelectric composite materials . by applying an ac voltage to actuate the piezoelectric composite materials , an ultrasonic wave can be generated . there are garments or fabrics that absorb ultraviolet light from the sun and converted photons to infra - red emission that could be helpful in treating the body with thermal healing effect . the construction of the above actuators is generally known in the art , and therefore , will not be described further . the medical device ( 10 ) of this invention may include a removable drug cartridge ( 30 ) operably connected to the injection device ( 22 ) or permeable membrane and valve ( 26 ). the removable drug cartridge ( 30 ) contains the drug to be delivered to the user . the medical device ( 10 ) can have more than one removable drug cartridge ( 30 ). although may be unified with the medical device ( 10 ) of this invention , the drug cartridge ( 30 ) is preferred to be removable for the ease of replenishment of drugs . the medical device ( 10 ) of this invention can allow suitable therapies in the form of drug delivery and / or physical therapies to be delivered to a patient at fixed time interval or according to the condition ( s ) of the patient as sensed by the sensors ( 12 ). this may provide improved effect over existing methods as therapies can be delivered to the patient at appropriate times . while the preferred embodiment of the present invention has been described in detail by the examples , it is apparent that modifications and adaptations of the present invention will occur to those skilled in the art . furthermore , the embodiments of the present invention shall not be interpreted to be restricted by the examples or figures only . it is to be expressly understood , however , that such modifications and adaptations are within the scope of the present invention , as set forth in the following claims . for instance , features illustrated or described as part of one embodiment can be used on another embodiment to yield a still further embodiment . thus , it is intended that the present invention cover such modifications and variations as come within the scope of the claims and their equivalents .
current methods of delivering drug usually require a certain degree of human intervention . for example , a doctor , a paramedic or a patient is required to inject insulin manually when the blood sugar level becomes low . this invention provides a medical device for use with a patient for performing at least one of the functions of delivering drug and performing physical therapy to the patient . the device of this invention includes a sensor for measuring at least one parameter from the patient , an analyzer for analyzing the parameter to determine appropriate function to be carried out on the patient by said medical device , and at least one actuator to perform at least one of the functions of delivering drug and performing physical therapy .