Abstract:
A system for estimating the glucose levels in blood is developed in the present invention. Said system establishes a physiological model of the pulse wave and its energy, which are also correlated with the glucose metabolic function, for generating a fixed length vector containing the values of the previous model combined with other variables related to the user such as, for example, age, sex, height, weight, etc. . . . This fixed length vector is used as an excitation of a function estimation system based on “random forests” for the calculation of the interest variable. The main advantage of this parameter estimation system lays in the fact that it does not apply any restriction a priori on the function to be estimated, and that it is robust in front of heterogeneous data, such as in the case of the present invention.

Description:
FIELD OF THE INVENTION 
       [0001]    The present invention develops a system for non-invasive measurement of the glucose levels in blood, independent from the current methods based on blood sample analysis (Oxidasa Glucose molecule reduction) or by means of an absorption spectrum analysis of glucose in blood. With this purpose, a new method is presented based on the function approximation by means of random forests implemented by means of a DSP or FPGA device, whose input is a pre-processed version of the plethysmographic pulse combined with other variables from the patient. 
       BACKGROUND OF THE INVENTION 
       [0002]    Diabetes Mellitus (DM) comprises a group of metabolic disorders, which share a hyperglycaemic phenotype, (increase of blood glucose levels in patients). Several types of DM exist, which are a result of a complex interaction between genetic factors, and environmental factors and lifestyle (sedentary, diet, etc. . . . ). Depending on the causes of DM, factors that contribute to hyperglycemia may include the reduction of insulin hormone secretion, insufficient use of glucose at the metabolic level, or an increased production of glucose by the body. 
         [0003]    Disorders associated with DM seriously compromise the body. Also, such disorders are a major economic burden to the healthcare system. In developed countries, DM is the primary cause of kidney failure, non-traumatic amputation of the lower extremities, and blindness in adults. In fact, studies have shown that approximately 1.7% of the world&#39;s population suffers from DM, and that this percentage is likely to increase in the medium and long term, thus, DM remaining a major cause of morbidity and mortality. 
         [0004]    The protocols published by the World Health Organization (WHO) define the following diagnose criteria of the DM:
       Diabetes symptoms with a glucose concentration in a random sample of blood greater than 11 mmol/L or 200 mg/dL or,   Blood plasma glucose (after fasting) above 7.0 mmol/L or 126 mg/dL or   Blood plasma glucose (two hours) greater than 11.1 mmol/L or 200 mg/dL during the glucose tolerance oral test.       
 
         [0008]    Currently, measuring glucose levels involves taking a blood sample during the testing process. Various devices exist for determining glucose levels in diabetic patients, based on the reduction of the reagent glucose oxidase (GOX). Such devices use a small blood sample, obtained with a lancet, and deposited on a small test strip impregnated with GOX. Glucose in the blood reacts with GOX, and hydrogen peroxide (H2O2) is obtained as a result. The amount of hydrogen peroxide causes a change in the impedance of the strip, which correlates with the level of glucose in the blood. 
         [0009]    Said systems are highly invasive, because they require patients with diabetes to puncture their fingers up to four times a day to obtain blood samples and monitor their glucose levels. 
         [0010]    With the aim to eliminate the hurting related to the puncturing and to minimize the sources of infection, systems exist that utilize spectroscopic techniques to measure glucose levels means of spectroscopy (emission, transmission, and reflection methods). These systems are adversely affected by water in the body, a low glucose concentration, and optical effects produced by the skin, and are thus unreliable. In fact, nowadays there is no known commercial device which uses such techniques. U.S. Pat. No. 4,704,029 establishes a system for monitoring the glucose in blood for controlling an insulin bomb for a domestic use. Said glucose monitoring uses an optical refraction device, which measures the refraction index of the light over a transparent interface (light quantity reflexed near the critic angle). 
         [0011]    U.S. Pat. No. 5,137,023 describes non-invasive system for the measurement of the glucose concentration in an absorption matrix. The system directs light rays towards the matrix using wavelengths sensitive to glucose (absorption or reflection) in combination with other wavelengths not affected by said substance. Said patent also uses the photoplethysmography principle for measuring the change in the light intensity of the light on the absorption matrix before and after the blood volume changes during the systolic phase of the cardiac cycle. Said change in the light intensity, is used to adjust the light intensity to measure the glucose concentration. 
         [0012]    U.S. Pat. No. 5,361,758 and U.S. Pat. No. 6,928,311B1 describe a non-invasive system for monitoring the glucose levels in blood and tissues using a polychromatic source of light, which emits in a wide wavelength spectrum in the range near infra-red (NIR). Said light passes through the finger or ear and is separated on its main components by means of defraction or refraction. A microprocessor uses said components to calculate the quantity of light transmitted and calculate the medium absorbency. Said system calculates the second derivative of the measurements and performs a linear regression for estimating the glucose concentration. 
         [0013]    U.S. Pat. No. 5,383,452 measures the glucose concentration in blood using the polarization changes in the emitted light caused by the chromophores and particles dissolved in the blood. Said system requires a calibration by means of conventional methods (for example, a blood sample analyzed by means of the technique known as Glucose Oxidasa). 
         [0014]    U.S. Pat. No. 5,692,504 performs a determination of the glucose concentration in blood measuring the light interaction with a biological matrix. Since the light properties change based on the substances present in the matrix, it is possible to correlate said changes with the glucose concentration to be estimated. 
         [0015]    U.S. Pat. No. 6,526,298B1 presents a method for determining the glucose in blood by means of a calculation of optical parameters (reflection and refraction of light) on several temperatures. 
         [0016]    U.S. Pat. No. 7,356,364B1 presents a device for monitoring the glucose in blood by means of the modulation of a LASER emitter and the calculation of the absorption spectrum of said light. Said system can be used in a non-invasive form or by means of an implant. 
         [0017]    Patents US2001/0039376A1 and US2004f/0127779A1 present a system for measuring the glucose concentration in blood by means of the transmission of one or more wavelengths from which the absorption/attenuation is measured, for estimating the oxygen level in blood. Said invention uses an extra wavelength at 1060 nm (glucose concentration sensitive) to measure the sugar concentration in blood from the light absorption at that wavelength. 
         [0018]    Patent US2003/0225321A1 presents a system for non-invasive measurement of glucose levels in blood by means of the transmission of several wavelengths. Said wavelengths are transmitted through the eye&#39;s humour of the patient and the reflected light is detected and analyzed (changes in the emitted wavelength&#39;s polarization) to provide an estimation of glucose concentration. 
         [0019]    Patent US2005/0070770A1 describes a system and apparatus for measuring glucose concentration in blood based on the interaction of light with several components dissolved in the blood by means of a differential analysis. 
         [0020]    Patent US2006/0149142A1 presents a system and apparatus for measuring the glucose concentration by means of the light transmission on a determined wavelength through a tissue and calculating the difference between the propagation paths of said light. Said invention performs an estimation of glucose levels from a linear regression model related with the optical characteristics of the tissue and the difference between paths previously described. 
         [0021]    However, it is still to be solved the need to establish a robust, reliable, fast and safe system for determining the levels of glucose concentration, which captures the metabolic complexity of the glucose levels in blood without imposing any restrictions a priori in a functional level over the analyte to be estimated. 
       BRIEF SUMMARY OF THE INVENTION 
       [0022]    According to the priori art of the invention previously detailed, the proposed system and apparatus of the present invention is based in the inference of the functional relationship between the shape of the pulse (PPG) and the glucose levels in blood wherein the information is deduces from the dependence between the shape of the pulse and its statistics with the state of the glucose of the patient. 
         [0023]    The input information for performing the estimation of the glucose level in blood is processed to ease the work of the function estimator. Since the PPG signal has a variable duration, a treatment is performed to generate a fixed length vector for each measurement. This vector contains information about the shape of the pulse (auto-regression coefficients and mobile average), average distance between pulses, its variance, information about the instantaneous energy, energetic variation and clinical information of the person, such as, for example, sex, age, weight, height, clinical information of the patient (body mass index or similar measurements), etc. . . . 
         [0024]    The system for the inference of functions works blindly in the sense that no functional restriction is imposed to the relationship between the pulse and the glucose level in blood. Since the functional form which relates the PPG with the glucose levels is unknown, a system for infering said function has been chosen which is robust with irrelevant input variables such as clinical information and parameters derived from the shape of the PPG wave. Furthermore, said technique is related with other parameters as previously described in the prior art of the present invention. The preferred system for estimating functions in the present invention are the “random forests”, in comparison to other machine learning systems and pattern recognition such as, for example, decision and regression trees (CART), Splines, classifier comitees, Support Vector Machines and Neuronal networks. The random forests are based in the parallel generation of a set of decision trees, which estimate the function with a random selection of variables in each node not performing the prune of the nodes, and training each tree with a random subset of the training database in such a way that each tree has a different generalization systematic error. Therefore, when performing an average of the estimations of each tree, the systematic error are compensated and the estimation variance decreases. 
         [0025]    The implementation of the present invention comprises two different phases. First phase is the training of the system, which is performed only once and, therefore, it does not require any calibration/personalization afterwards. This phase consists of the obtaining of a database with information about several patient&#39;s parameters including, sex, weight, age, etc. combined with a recording of the plethysmographic wave. This information is used in the estimation of the parameters of the decision trees and are stored in the system. 
         [0026]    The second phase consists of loading the information of the set of trees obtained in the training phase and recording the plethysmographic wave of the patient in the measurement moment with other variables such as, for example, sex, weight, age, etc. . . . In this phase, the system reads the information of the plethysmographic pulse, performs its processing and generates a fixed length vector with the information that describes the signal. The additional information of the person is added to this vector and a set of random forests is applied, which calculate several intermediate functions of the variable of interest. Afterwards, the glucose level in blood is calculated from said intermediate functions. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS/FIGURES 
         [0027]      FIG. 1  of the present invention shows a waveform of the pulse obtained by means of an invasive catheterism. 
           [0028]      FIG. 2  of the present invention shows a general block diagram of the described system and method. 
           [0029]      FIG. 3  of the present invention shows a plethysmographic waveform obtained by means of a digital pulse-oximeter. 
           [0030]      FIG. 4  shows a detailed block diagram of the pre-processing system described in the present invention. 
           [0031]      FIG. 5  shows a detailed block diagram of the AR filter for establishing the stochastic model of the pressure pulse physiology described in the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0032]    The present invention consists of a system for monitoring glucose in blood ( FIG. 2 ) its data being evaluated by means of a device ( 1 ) for capturing plethysmographic signals (optical, acoustic or mechanic), the preferred embodiment the invention consisting of a pulsioximetry system (SpO2). The PPG information is combined with other data of the patient such as, for example, age, sex, height, weight, etc. and is analyzed with a digital pre-processing system ( 2 ), which simplifies the subsequent processing and estimation of the variable of interest (glucose concentration in blood). Said system captures in a better way all the parameters which affect in a random way the metabolic management of the glucose of the patient. 
         [0033]    The vector of the obtained stochastic model is linked with a digital system ( 3 ) which approximates functions based on “random forests”, its main function being estimating the glucose concentration with several functions related with that, with the object of decreasing the estimation error in the post-processing step ( 4 ). The main function of the system ( 4 ) is to estimate the final values of the glucose concentration by means of the averaging of the functions of the previous step ( 3 ) to decrease the systematic error (bias) and the variance of the estimations performed with said concentration. Systems ( 2 ,  3 , and  4 ) are implemented by means of a FPGA or DSP device. 
         [0034]    The system ( 1 ) for obtaining the PPG wave implements a simple technique, non invasive and low cost for detecting the volume changes in the micro-vascular network of a tissue. The most basic implementation of said system requires few opto-electronic components including: 
         [0000]    1. One or more sources for illuminating the tissue (for example, the skin)
 
2. One or more photo-detectors for measuring the little variations in the intensity of light associated with the changes in the infusion of the tissue in the detection volume.
 
         [0035]    The PPG is normally used in a non-invasive way and it operates in the infrared or near infrared (NIR) wavelengths. The most known PPG waveform is the peripheral pulse ( FIG. 3 ) and it is synchronized with each heartbeat. At this point it is important to take notice the similarity between the obtained waves by means of PPG and the obtained pulses by means of invasive catheterism ( FIGS. 1 and 3 ). Because of the information of great value obtained by means of PPG, it is considered one of the main features of the present invention. 
         [0036]    The PPG wave comprises a physiological pulsed wave (AC component) attributed to the blood volume changes synchronized with each heartbeat. Said component is superimposed with another fundamental component (DC component) related to the respiratory rhythm, the central nervous system&#39;s activity, thermo-regulation and metabolic function. The fundamental frequency of the AC component is found around 1 Hz depending on the cardiac rhythm ( FIG. 3 ). 
         [0037]    The interaction between the light and the biological tissues is complex and includes optical processes like the scattering, absorption, reflection, transmission and fluorescence. The selected wavelength for the system ( 1 ) is highly important because of the following: 
         [0000]    1. Water&#39;s optical window: the main constituent of tissues is water. It highly absorbs the light with ultraviolet wavelengths and long wavelengths within the infrared band. A window exists in the water&#39;s absorption spectrum which allows the passing of visible light (red) or NIR easier through the tissue and allowing the measure of the blood flux or its volume within this wavelengths. Therefore, the present invention uses NIR wavelengths for system ( 1 ).
 
2. Isobestic wavelength: substantial differences exist related to the oxy-hemoglobin (HbO2) and the reduced hemoglobin (Hb) except for this wavelength. Therefore, the signal will not be affected by the changes in oxygen saturation in the tissue in this wavelength (i.e. near 805 nm, for the NIR range).
 
3. Tissue penetration: the penetration&#39;s depth of light in a tissue for a determined radiation intensity is also a function of the selected wavelength. For PPG, the penetration&#39;s volume (depending on the probes being used) is of the order of 1 cm3 for transmission systems like the one used in (1).
 
         [0038]    The PPG pulse ( FIG. 3 ) presents two different phases: the anacrotic phase, which represents the rise of the pulse, and the catacrotic phase, which represents the fall of the pulse. The first phase is related to the cardiac systole while the second is related to the dystole and the reflections of the wave in the periphery of the circulatory system. In the PPG, a diacrotic pulse is also usually found in the catacrotic phase in healthy patients and without arteriosclerosis or arterial rigidity. 
         [0039]    As it has previously been described in the prior art of the present invention, the propagation of the pressure pulse PP along the circulatory tree also has to be taken into account. Said PP changes its shape while it moves towards the periphery of the circulatory tree suffering amplifications/attenuations and alterations of its shape and temporary characteristics. These changes are caused by the reflections suffered by the PP because of the narrowing of the arteries in the periphery. The PP pulse propagation in the arteries is further complicated by a phase distortion depending on the frequency. 
         [0040]    Because of this, the representations of PP by means of ARMA stochastic models (Auto-Regressive Moving Average) and by means of the Teager-Kaiser coupled to an AR system ( 2 ) have been considered. 
         [0041]    As shown in  FIGS. 1 and 3 , the PP is similar to the PPG, wherein similar changes are observed during vascular pathologies (cushioning caused by stenosis or change in the pulse). 
         [0042]    The pulse-oxymeter of the system ( 1 ) uses the PPG to obtain information about the oxygen saturation (SpO2) in the arteries of the patient. As previously described, the SpO2 can be obtained by illuminating the tissues (normally a finger or an ear&#39;s lobe) in the red and NIR wavelengths. Normally, the SpO2 devices use the commutation between both wavelengths to determine said parameter. The amplitudes of both wavelengths are sensitive to the changes in SpO2 because of the absorption difference of HbO2 and Hb in those wavelengths. The SpO2 may be obtained from the ratio between amplitudes, the PPG and the AC and DC components. 
         [0043]    In pulse oximetry, the intensity of the light (T) transmitted through the tissue is commonly referred to as a DC signal. The intensity is a function of the optical properties of tissue (i.e. the absorption coefficient μ a  and the scattering coefficient μ s ′). Arterial pulsation produces periodic variations in the concentrations of oxy and deoxy hemoglobin, which may result in periodic variations in the absorption coefficient. 
         [0044]    The intensity variations of the AC component of the PPG may be expressed in the following way: 
         [0000]    
       
         
           
             
               
                 
                   
                     AC 
                     = 
                     
                       
                         Δ 
                          
                         
                             
                         
                          
                         T 
                       
                       = 
                       
                         
                           
                             ∂ 
                             T 
                           
                           
                             ∂ 
                             
                               μ 
                               a 
                             
                           
                         
                          
                         
                           | 
                           
                             μ 
                             a 
                           
                         
                       
                     
                   
                   , 
                   
                     
                       μ 
                       s 
                       ′ 
                     
                      
                     
                       Δμ 
                       a 
                     
                   
                 
               
               
                 
                   ( 
                   I 
                   ) 
                 
               
             
           
         
       
     
         [0045]    This physiological waveform is proportional to the variation of light intensity, which, in its turn, is a function of the absorption and scattering coefficients (μ a  and μ s ′, respectively). The component Δμ a , may be written as a linear variation of the concentrations of oxy and deoxy hemoglobin (Δc ox  and Δc deox ) as follows: 
         [0000]      Δμ a =ε ox   Δc   ox +ε deox   Δc   deox   (II)
 
         [0046]    Being ε ox  and ε deox  the extinction coefficients (i.e. fraction of light lost as a result of scattering and absorption per unit distance in a particular environment). Based on these equations, the arterial oxygen saturation (SpO2) may be determined by: 
         [0000]    
       
         
           
             
               
                 
                   
                     Sp 
                      
                     
                         
                     
                      
                     
                       O 
                       2 
                     
                   
                   = 
                   
                     
                       Δ 
                        
                       
                           
                       
                        
                       
                         c 
                         ox 
                       
                     
                     
                       
                         Δ 
                          
                         
                             
                         
                          
                         
                           c 
                           ox 
                         
                       
                       + 
                       
                         Δ 
                          
                         
                             
                         
                          
                         
                           c 
                           deox 
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   III 
                   ) 
                 
               
             
           
         
       
     
         [0047]    The expression of SpO2 as a function of the AC component may be obtained by the direct application of equations (I) and (III) at selected wave-lengths (red and NIR). 
         [0000]    
       
         
           
             
               
                 
                   
                     Sp 
                      
                     
                         
                     
                      
                     
                       O 
                       2 
                     
                   
                   = 
                   
                     1 
                     
                       1 
                       - 
                       
                         
                           
                             x 
                              
                             
                                 
                             
                              
                             
                               
                                 ɛ 
                                 ox 
                               
                                
                               
                                 ( 
                                 NIR 
                                 ) 
                               
                             
                           
                           - 
                           
                             
                               ɛ 
                               ox 
                             
                              
                             
                               ( 
                               R 
                               ) 
                             
                           
                         
                         
                           
                             x 
                              
                             
                                 
                             
                              
                             
                               
                                 ɛ 
                                 deox 
                               
                                
                               
                                 ( 
                                 NIR 
                                 ) 
                               
                             
                           
                           - 
                           
                             
                               ɛ 
                               deox 
                             
                              
                             
                               ( 
                               R 
                               ) 
                             
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   IV 
                   ) 
                 
               
             
           
         
       
     
         [0000]    wherein, 
         [0000]    
       
         
           
             
               
                 
                   x 
                   = 
                   
                     
                       
                         
                           
                             
                               ∂ 
                               
                                 T 
                                  
                                 
                                   ( 
                                   NIR 
                                   ) 
                                 
                               
                             
                             
                               ∂ 
                               
                                 μ 
                                 a 
                               
                             
                           
                            
                           
                             | 
                             
                               μ 
                               a 
                             
                           
                         
                         , 
                         
                           μ 
                           s 
                           ′ 
                         
                       
                       
                         
                           
                             
                               ∂ 
                               
                                 T 
                                  
                                 
                                   ( 
                                   R 
                                   ) 
                                 
                               
                             
                             
                               ∂ 
                               
                                 μ 
                                 a 
                               
                             
                           
                            
                           
                             | 
                             
                               μ 
                               a 
                             
                           
                         
                         , 
                         
                           μ 
                           s 
                           ′ 
                         
                       
                     
                      
                     
                       
                         AC 
                          
                         
                           ( 
                           R 
                           ) 
                         
                       
                       
                         AC 
                          
                         
                           ( 
                           NIR 
                           ) 
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   V 
                   ) 
                 
               
             
           
         
       
     
         [0048]    Normalizing the AC component with the DC to compensate the low frequency effects which are unrelated to the synchronous changes in the blood, the following is obtained: 
         [0000]    
       
         
           
             R 
             = 
             
               
                 
                   AC 
                    
                   
                     ( 
                     R 
                     ) 
                   
                 
                 
                   DC 
                    
                   
                     ( 
                     R 
                     ) 
                   
                 
               
               
                 
                   AC 
                    
                   
                     ( 
                     NIR 
                     ) 
                   
                 
                 
                   DC 
                    
                   
                     ( 
                     NIR 
                     ) 
                   
                 
               
             
           
         
       
     
         [0049]    Including this parameter in (IV) yields: 
         [0000]    
       
         
           
             
               
                 
                   
                     Sp 
                      
                     
                         
                     
                      
                     
                       O 
                       2 
                     
                   
                   = 
                   
                     1 
                     
                       1 
                       - 
                       
                         
                           
                             kR 
                              
                             
                                 
                             
                              
                             
                               
                                 ɛ 
                                 ox 
                               
                                
                               
                                 ( 
                                 NIR 
                                 ) 
                               
                             
                           
                           - 
                           
                             
                               ɛ 
                               ox 
                             
                              
                             
                               ( 
                               R 
                               ) 
                             
                           
                         
                         
                           
                             kR 
                              
                             
                                 
                             
                              
                             
                               
                                 ɛ 
                                 deox 
                               
                                
                               
                                 ( 
                                 NIR 
                                 ) 
                               
                             
                           
                           - 
                           
                             
                               ɛ 
                               deox 
                             
                              
                             
                               ( 
                               R 
                               ) 
                             
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   VI 
                   ) 
                 
               
             
           
         
       
     
         [0000]    being: 
         [0000]    
       
         
           
             k 
             = 
             
               
                 
                   Δ 
                    
                   
                       
                   
                    
                   
                     T 
                      
                     
                       ( 
                       NIR 
                       ) 
                     
                   
                 
                 
                   DC 
                    
                   
                     ( 
                     NIR 
                     ) 
                   
                 
               
               
                 
                   Δ 
                    
                   
                       
                   
                    
                   
                     T 
                      
                     
                       ( 
                       R 
                       ) 
                     
                   
                 
                 
                   DC 
                    
                   
                     ( 
                     R 
                     ) 
                   
                 
               
             
           
         
       
     
         [0050]    Wherein ΔT(NIR) and ΔT(R) correspond to equation (I), evaluated at R and NIR wavelengths. 
         [0051]    Although the equation (VI) is an exact solution for SpO2, k cannot be evaluated since it doesn&#39;t have T(μ a ,μ s ′). However, k and R are functions of the optical properties of the tissue, being possible to represent k as a function of R. More specifically, it may be possible to express k as a linear regression with the following form: 
         [0000]        k=aR+b   (VII)
 
         [0052]    This linear regression implies a calibration factor empirically derived but assuming a flat wave with intensity P, its absorption coefficient may be defined as: 
         [0000]      dP=μ a Pdz  (VIII)
 
         [0000]    where dP represents the differential change in the intensity of a light beam passing through an infinitesimal dz in a homogeneous medium with an absorption coefficient of μ a . Therefore, integrating over z the Beer-Lambert law is obtained. 
         [0000]      P=P 0 e μ     a     Z   (IX)
 
         [0053]    Assuming that T≈P, equation (VII) is thus reduced to k=1, which is the preferred approximation in the pulse-oximetry measurement performed in the present invention. 
         [0054]    The PPG signal obtained by the system ( 1 ) is used as the system&#39;s excitation ( 2 ) ( FIG. 4 ) of the present invention, its main function being performing a pre-processing, which simplifies the functions to estimate. 
         [0055]    Several parameters exist, which are basic in the form and in the propagation of the pressure pulse (PP). Said parameters are related with the cardiac output, heart rate, cardiac synchrony, breathing rate, and the metabolic function. I has also been previously detailed the close relationship between the PP and the PPG. Therefore, since the previously detailed parameters are important in the shape and propagation of the PP, the parameters listed above may also influence the PPG signal. 
         [0056]    According to the above, the preferred embodiment of the present invention uses a stochastic ARMA(q,p) modeling (auto-regressive moving average model of order q (MA) and p(AR)). 
         [0057]    By definition, the time series PPG(n), PPG(n−1), . . . , PPG(n−M) represents the realization of an AR process of order p=M if it satisfies the following finite difference equation (FDE): 
         [0000]      PPG( n )+ a   1 PPG( n− 1)+ . . . + a   M PPG( n−M )= w ( n )  (X)
 
         [0058]    Wherein the coefficients [a 1 , a 2 , . . . , a M ] are the AR parameters and w(n) is a white process. The term a k PPG(n−k) is the inner product of the a k  coefficient and PPG(n−k), wherein k=1, . . . , M. The equation (X) may be rewritten as the following: 
         [0000]      PPG( n )= v   1 PPG( n− 1)+ v   2 PPG( n− 2)+ . . . + v   M PPG( n−M )+ w ( n )  (XI)
 
         [0000]    wherein v k =−a k . 
         [0059]    From the above equation, it follows that the current pulse value PPG(n) equals a finite linear combination of the above values (PPG(n−k)) plus a prediction error term w(n). Therefore, rewriting the equation (X) as a linear convolution, it is obtained: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       ∑ 
                       
                         k 
                         = 
                         0 
                       
                       M 
                     
                      
                     
                       
                         a 
                         k 
                       
                        
                       
                         PPG 
                          
                         
                           ( 
                           
                             n 
                             - 
                             k 
                           
                           ) 
                         
                       
                     
                   
                   = 
                   
                     w 
                      
                     
                       ( 
                       n 
                       ) 
                     
                   
                 
               
               
                 
                   ( 
                   XII 
                   ) 
                 
               
             
           
         
       
     
         [0060]    It can be defined that a 0 =1 without loss of generality, and thus, the Z-transform of the predictive filter may be given by: 
         [0000]    
       
         
           
             
               
                 
                   
                     A 
                      
                     
                       ( 
                       z 
                       ) 
                     
                   
                   = 
                   
                     
                       ∑ 
                       
                         n 
                         = 
                         0 
                       
                       M 
                     
                      
                     
                       
                         a 
                         n 
                       
                        
                       
                         z 
                         
                           - 
                           n 
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   XIII 
                   ) 
                 
               
             
           
         
       
     
         [0061]    Defining PPG□z□ as the Z-transform of the PPG pulse, then: 
         [0000]        A ( z )PPG( z )= W ( z )  (XIV)
 
         [0000]    where 
         [0000]    
       
         
           
             
               
                 
                   
                     W 
                      
                     
                       ( 
                       z 
                       ) 
                     
                   
                   = 
                   
                     
                       ∑ 
                       
                         n 
                         = 
                         0 
                       
                       M 
                     
                      
                     
                       
                         v 
                          
                         
                           ( 
                           n 
                           ) 
                         
                       
                        
                       
                         z 
                         
                           - 
                           n 
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   XV 
                   ) 
                 
               
             
           
         
       
     
         [0062]      FIG. 5  shows the analysis filter of the AR component of the PPG(n) pulse obtained by the system ( 1 ). 
         [0063]    In the MA (moving average) component case of order q=K of the PPG(n) pulse, it can be described as the response of a linear discrete filter (filter with all zeros) excited by a Gaussian white noise. Thus, the MA response of said filter written as an EDF may be: 
         [0000]      PPG MA ( n )= e ( n )+ b   1   e ( n− 1)+ . . . + b   K   e ( n−K )  (XVI)
 
         [0000]    wherein [b 1 , b 2 , . . . , b K ] are the constants called MA parameters and e(n) is a white noise process of zero mean and variance σ 2 . Therefore, relating equations (XII) and (XVI) we obtain the following: 
         [0000]    
       
         
           
             
               
                 
                   
                     PPG 
                      
                     
                       ( 
                       n 
                       ) 
                     
                   
                   = 
                   
                     
                       e 
                        
                       
                         ( 
                         n 
                         ) 
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           k 
                           = 
                           0 
                         
                         p 
                       
                        
                       
                         
                           a 
                           k 
                         
                          
                         
                           PPG 
                            
                           
                             ( 
                             
                               n 
                               - 
                               k 
                             
                             ) 
                           
                         
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           k 
                           = 
                           0 
                         
                         q 
                       
                        
                       
                         
                           b 
                           k 
                         
                          
                         
                           e 
                            
                           
                             ( 
                             
                               n 
                               - 
                               k 
                             
                             ) 
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   XVII 
                   ) 
                 
               
             
           
         
       
     
         [0064]    Being e(n) the error terms of the ARMA(q,p) model. Taking the Z transform of the above equation in (XVII) the following is obtained: 
         [0000]    
       
         
           
             
               
                 
                   
                     PPG 
                      
                     
                       ( 
                       z 
                       ) 
                     
                   
                   = 
                   
                     
                       
                         1 
                         + 
                         
                           B 
                            
                           
                             ( 
                             z 
                             ) 
                           
                         
                       
                       
                         1 
                         - 
                         
                           A 
                            
                           
                             ( 
                             z 
                             ) 
                           
                         
                       
                     
                      
                     
                       E 
                        
                       
                         ( 
                         z 
                         ) 
                       
                     
                   
                 
               
               
                 
                   ( 
                   XVIII 
                   ) 
                 
               
             
           
         
       
     
         [0065]    Since the first terms of the AR and MA vectors may be equal to 1 without loss of generality, the expression of the ARMA(q,p) model ( 5 ) in the system ( 2 ) may be given by: 
         [0000]    
       
         
           
             
               
                 
                   
                     H 
                      
                     
                       ( 
                       z 
                       ) 
                     
                   
                   = 
                   
                     
                       B 
                        
                       
                         ( 
                         z 
                         ) 
                       
                     
                     
                       A 
                        
                       
                         ( 
                         z 
                         ) 
                       
                     
                   
                 
               
               
                 
                   ( 
                   XIX 
                   ) 
                 
               
             
           
         
       
     
         [0066]    Being A(z) and B(z) the AR and MA components of PPG(n) respectively. The preferred embodiment of the present invention uses an ARMA model of order q=1 and p=5, although any order of p and q in a range between [4, 12] can be used 
         [0067]    Once the ARMA (q,p) is calculated, by means of the Wold decomposition and the Levinson-Durbin recursion, the input signal is filtered with an H(z) inverse filter ( 6 ). Also, the statistics of the residual error e(n) are calculated with the subsystem ( 7 ). The information obtained from these subsystems is stored in the output vector V(n) of a fixed dimension 
         [0068]    The pre-processing system ( 2 ) of the present invention also comprises a subsystem ( 8 ) which calculates the Teager-Kaiser operator and models its output by means of an AR process of p order which is equivalent to the previously described. 
         [0069]    In this case, without a loss of generality, the PPG pulse may be considered as a signal modulated in both amplitude and frequency, or an AM-FM signal, being the type of: 
         [0000]    
       
         
           
             
               
                 
                   
                     PPG 
                      
                     
                       ( 
                       t 
                       ) 
                     
                   
                   = 
                   
                     
                       a 
                        
                       
                         ( 
                         t 
                         ) 
                       
                     
                      
                     cos 
                      
                     
                       
                         ∫ 
                         0 
                         t 
                       
                        
                       
                         w 
                         ( 
                         
                           τ 
                            
                           
                             ( 
                             τ 
                             ) 
                           
                         
                          
                         
                             
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   XX 
                   ) 
                 
               
             
           
         
       
     
         [0070]    Being a(t) and w(t) the instantaneous amplitude and frequency of the PPG. The Teager-Kaiser operator of a determined signal is defined by: 
         [0000]      Ψ[ x ( t )]=[ x ′( t )] 2   −x ( t ) x ″( t )  (XXI)
 
         [0000]    wherein 
         [0000]    
       
         
           
             
               
                 x 
                 ′ 
               
                
               
                 ( 
                 t 
                 ) 
               
             
             = 
             
               
                 
                    
                   
                     x 
                      
                     
                       ( 
                       t 
                       ) 
                     
                   
                 
                 
                    
                   t 
                 
               
               . 
             
           
         
       
     
         [0071]    This operator applied to the AM-FM modulated signal of equation (XX) results in the instantaneous energy of the source that produces the oscillation of the PPG. That is: 
         [0000]      Ψ[PPG(t)]≈a 2 (t)w 2 (t)  (XXII)
 
         [0000]    wherein the approximation error is negligible if the instantaneous amplitude a(t) and the instantaneous frequency w(t) do not vary too fast with respect to the average value of w(t); as is the case of the PPG pulse for the estimation of glucose levels in blood. 
         [0072]    The AR process of order p of Ψ[PPG(t)] is implemented with a filter ( 9 ) equivalent to that of  FIG. 5 . The preferred embodiment of the present invention uses an AR model of order p=5, although any order of p comprised between 4 and 12 may be used. 
         [0073]    Once the stochastic models based on an ARMA(q,p) model ( 5 ,  6  and  7 ) and the ARMA(q,p) model over the Teager-Kaiser operator ( 8  and  9 ), the present invention calculates the heart rate (HR) and cardiac synchrony (for example, heart rate variability), from the PPG signal by means of subsystem ( 10 ). The preferred embodiment of the present invention calculates the heart rate (HR) over time windows of the PPG which may vary between 2 seconds and 5 minutes. 
         [0074]    The pre-processing system ( 2 ) comprises also a subsystem ( 11 ), which calculates the zero crossings of the PPG signal input, as well as the variances of these zero crossings. The preferred embodiment of the present invention calculates the heart rate over time windows of the PPG which may vary between 2 seconds and 5 minutes. 
         [0075]    Finally, the pre-processing system ( 2 ) comprises a subsystem ( 12 ) for the generation of variables related with the patient under study which include: 
         [0000]    1. Sex, age, weight, height, if he has eaten any food, time of the day.
 
2. Body mass index.
 
3. Weight divided by age.
 
4. Weight divided by HR.
 
5. Height divided by HR.
 
6. HR divided by age.
 
7. Height divided by age.
 
8. Age divided by body mass index.
 
9. HR divided by body mass index.
 
10. Blood pressure.
 
         [0076]    All the obtained data in the subsystems comprised in the system ( 2 ) are stored in the output fixed length vector V(n). 
         [0077]    Once the features vector of fixed length V(n) is obtained, an estimation of the SBP, DBP and MAP may be performed by means of the function approximation system ( 3 ) based in “random forests”. The function estimation system presented in this invention has the advantage of not requiring any calibration once the ‘random forest’ has been correctly trained. 
         [0078]    In a specific way, a random forest is a classifier which consists of a set of classifiers with a tree structure {h(V,Θ k ), k=1, . . . } wherein Θ k  are independent random vectors and identically distributed (i.i.d.), wherein each vector deposits a single vote for the most popular class of the input V. This approximation presents a clear advantage related to the reliability over other classifiers based on a single tree, in addition to not imposing any functional restrictions on the relationship between the pulse and glucose levels in the blood. 
         [0079]    The random forests used in the present invention are generated by growing decision trees based on the random vector Θ k , such that the predictor h(V,Θ) takes numeric values. This random vector Θ k  associated to each tree provides a random distribution on each node and, at the same time, it also provides information on the random sampling of the training base, resulting in different data subsets for each tree. Based on the result, the generalization error of the classifier used may be provided by the following: 
         [0000]        PE=E   V,Y ( Y−h ( V )) 2   (XXIII)
 
         [0080]    Since the generalization error of a random forest is smaller than the generalization error of a single decision tree, defining 
         [0000]      Y−h(V,Θ)
 
         [0000]      Y−h(V,Θ′)  (XXIV)
 
         [0000]      yields 
         [0000]      PE(forest)≦ρPE(tree)  (XXV)
 
         [0081]    Each tree has a different generalization error and ρ represents the correlation between the residuals defined by equation (XXIV). Thus, a lower correlation between residuals may result in better estimates. In the present invention, this minimum correlation is determined by the random sampling process of the feature vector at each node of the tree that is being trained in the subsystem ( 2 ). To further decrease the generalization error, the present invention estimates both the parameter of interest (glucose levels in blood) and linear combinations of the previously discussed parameters (height, weight, age, gender, etc.). 
         [0082]    The random forests consist of a set of CART-type decision trees (Classification and Regression Trees), altered to introduce systematic errors (XXV) on each one and afterwards, by means of a bootstrap system, a systematic variations (these two processes are modeled by the parameter Θ in the analysis of the predictor h(V,Θ). The systematic error in each embodiment is introduced by two mechanisms: 
         [0000]    1. Random choice at each node in a subset of attribute, which does not allow to establish a statistical equivalence among the partitions made between similar nodes in different trees such that each tree behaves differently.
 
2. The trees are allowed to grow up until their maximum. In this case, trees act similarly to a lookup table based on rules. Because of the sampling of the attributes, these are lookup tables to search with different structures.
 
         [0083]    The result of the above process is that each tree has a different systematic error. 
         [0084]    Also, for each of these modifications, each tree is trained with “bootstrap” type samples (for example, a sample of input data is taken, leading to a fraction of the input data missing while another fraction of the data is duplicated). The effect of the bootstrap samples is that variability is introduced, which when performing the average of the estimations, it is compensated. 
         [0085]    The overall result of the above features is system ( 4 ), in the systematic error and variability in the error can be easily compensated resulting more precise than other type of function estimators (XXV). In this system, the base classifier is a tree, which decides on the basis of levels, which makes it robust when presented with input distributions which include outliers or heterogeneous type data (as in the present invention). 
         [0086]    The preferred embodiment of the system ( 4 ) consists of taking random samples of two elements of 47 in a node level (which can be implemented in variations between 2 and 47) and a bootstrap size of 100, also with the possibility of varying between sizes of 25 and 500. 
         [0087]    The hand-held device according to the invention may incorporate a display for displaying data and commands for controlling the operation of the device. It also comprises at least an acoustic, mechanical, and/or optical probe, whose signals are interpreted by a post-processing system by means of a CPU centralized by means of DSP, FPGA or micro controllers. It also comprises working memories for storing the data and operative processes of the system. 
         [0088]    The manual device of the invention may also comprise manual control buttons, according to the prior art, to activate and control it, plus batteries and/or access to an external power source. 
         [0089]    Finally, the results obtained by the present invention may be transmitted to a PC to be analyzed, via serial port or USB or a network connection, for example by means of WiFi or Bluetooth. 
         [0090]    It has to be noted that any alterations of the details or shape of the invention are comprised within the essence of the invention.