Abstract:
The method allows controlling the quality of an initial RR series consisting of a plurality of (RRi) samples which are respectively a function of time intervals (δti) which separate two successive heartbeats. During this method, one resamples the RR series so as to obtain a resampled RR series, and one automatically controls the quality of the RR series by automatically calculating at least the mathematical norm value (NORME), in a sliding window, of the resampled RR series, said mathematical norm value being given by the following formula: 
     
       
         
           
             NORME 
             = 
             
               
                 
                   ∑ 
                   
                     i 
                     = 
                     1 
                   
                   N 
                 
                  
                 
                   
                     ( 
                     
                       
                         RR 
                         i 
                       
                       - 
                       
                         
                           1 
                           N 
                         
                          
                         
                           
                             ∑ 
                             
                               i 
                               = 
                               1 
                             
                             N 
                           
                            
                           
                             ( 
                             
                               RR 
                               i 
                             
                             ) 
                           
                         
                       
                     
                     ) 
                   
                   2 
                 
               
             
           
         
       
     
     where N is the number of RRi samples in said window.

Description:
FIELD OF THE INVENTION 
       [0001]    The present invention relates to the field of digital processing of a bioelectrical signal, which is characteristic of the cardiac rhythm of a living being, and which is designated in the present text by the term cardiac signal. This is for example, but not exclusively, an electrocardiographic (ECG) signal. In this technical field, the invention relates to automatic quality control of an RR series obtained by sampling a cardiac signal. 
       PRIOR ART 
       [0002]    From a physiological point of view, the heart of a living being, isolated from outside influence, contracts automatically and very regularly as does a metronome, under the action of the sinus node which generates an independent nerve impulse and, thereby, causes a spontaneous cardiac muscle contraction. The heart is not however isolated, but is connected to the autonomic nervous system (ANS) via parasympathetic and sympathetic systems. The autonomic nervous system influences the activity of the heart: the sympathetic system accelerates the heart rate, while the parasympathetic system slows it down. Thus, despite a certain degree of autonomy, the heart undergoes influences from the autonomic nervous system, which allows, in particular, the body of a living being to adapt the heart rate depending on its needs, however within reasonable limits. It is understood, therefore, that the analysis of the evolution of the heart rate over time, and in particular changes in the heart rate (changes in the heart beat), provides important information on the activity of the cardiac system, particularly on the activity of the autonomic nervous system. Now, knowledge of ANS activity can be of great help in the development of a diagnosis of many clinical situations. On this subject, reference may be made, for example, to the following publication: Lacroix D, Logier R., Kacet S., Hazard J-R, Dagano J. (1992): “Effects of consecutive administration of central and peripheral anticholinergic agents on respiratory sinus arrhythmia in normal subjects, J. of the Autonomic Nervous System”, Vol 39, pages 211-218. 
         [0003]    To study these fluctuations in heart rate, various filtering techniques and spectral analysis of a signal representing the evolution over time of the instant heart rate (or frequency) have already been developed since 1970, such signal which is obtained after sampling an analog bioelectrical signal characteristic of the heartbeat of a living being, and termed afterwards “analog cardiac signal.” 
         [0004]    To acquire this cardiac signal, different techniques of invasive or non-invasive acquisition are known. One known invasive technique is, for example, to use a blood pressure sensor connected to a catheter inserted into an artery. Among the known non-invasive methods are included, for example, the use of an infrared pulse sensor, or the acquisition of an electrocardiographic (ECG) signal using an electrocardiograph. This latter method of acquiring an ECG signal is in practice the most commonly used to date, because, in addition to its noninvasive nature, it advantageously provides a more accurate signal than that which is obtained, for example, by means of an infrared pulse sensor. 
         [0005]    The ECG signal is known as consisting of a succession of electrical depolarizations whose appearance is shown in  FIG. 3  attached. The P wave, which corresponds to the depolarization of the atria, has a low amplitude and a dome shape. The PQ space reflects the time of atrioventricular conduction. The QRS complex reflects the ventricular contraction, and the T wave the ventricular repolarization. In practice, the peak R is considered as a marker of the ventricular systole, that is to say, of the heart beat. 
         [0006]    In practice, the R wave usually being the finest and most extensive part of the QRS, it is generally used to locate the heart beat with very good accuracy, in practice of the order of one thousandth of a second. Thus, the time interval between two successive R waves accurately characterizes the time separating two successive heartbeats; this is the period of the ECG signal, and the inverse of this period gives the instantaneous heart rate. 
         [0007]    To automatically construct the signal, called afterwards the RR series, representing the evolution in time of the instantaneous heart rate, the ECG signal, which is an analog signal (analog/digital conversion of the ECG signal), is sampled, and the sampled digital ECG signal is processed by automatically detecting R waves in this digital signal. An RR series is thus, in a conventional manner, comprised of a plurality of successive RRi samples (or points), each RRi sample being a function of the time interval between two successive R waves of the ECG signal. 
         [0008]    However, it should be noted, on the one hand, that the other waves of depolarization (P, Q, S or T) of the ECG signal can also be used for characterizing the heart rate, even if the measurement accuracy is not as good as when using the R waves. On the other hand, depending on the acquisition technique chosen, the cardiac signal may have a different shape from that of the above mentioned ECG signal. The cardiac signal is not necessarily analog, but may be a digital signal. Accordingly, in the present text, the term RR series is not limited to the aforementioned specific definition based on the R waves of an ECG signal, but is defined in a more general way in the context of the present invention as a series of several digital samples called RR, obtained from a cardiac signal that is characteristic of the heart rate, each RRi sample being a function of the time interval between two successive heartbeats. Each RR sample may be proportional, and in particular equal, to the time interval between two successive heartbeats, or inversely proportional to the time interval between two successive heartbeats. 
         [0009]    In practice, disturbances in the cardiac signal, especially in an ECG signal, induce, in the RR series issued from this cardiac signal, abrupt changes of short duration, commonly called artifacts. 
         [0010]    Disturbances, causing artifacts in the RR series, may be physiological and intrinsically linked to a temporary malfunction of the cardiac system; it may be, for example, an extrasystole. These disturbances may also be external and not related to the functioning of the cardiac system; it may be, for example, due to a patient&#39;s movement, briefly altering the measurement signal. 
         [0011]    Artifacts in an RR series may result in a single incorrect sample or in a plurality of successive incorrect samples. In practice, an artifact in the RR series can be likened to a Dirac pulse, and is reflected, in the frequency domain, by a rectangular continuous broadband spectrum. Therefore, assuming that a series RR could be transposed in the frequency domain (by Fourier transform or other), without first taking special precautions, the presence of artifacts in the RR series would result in the frequency domain by obtaining a very disturbed frequency spectrum of the RR series, of rectangular broadband shape, masking the spectrum of the real signal. 
         [0012]    For this reason, to get correct frequency information, it is essential to eliminate the artifacts before performing the frequency transposition. 
         [0013]    It was thus proposed, in international patent application WO 02/069178, as well as in the article from Logier R, De Jonckheere J, Dassonneville A., “An efficient algorithm for R-R intervals series filtering”. Conf Proc IEEE Eng Med Biol Soc. 2004; 6:3937-40, digital filtering algorithms, which generally allow filtering in real time a series RR obtained from a cardiac signal, by automatically detecting in the RR series the presence of one or more successive incorrect RR i  samples, and by automatically replacing in the RR series the incorrect RRi samples that were detected by corrected RR c  samples. Detecting incorrect RR samples may be performed in various ways and the corrected (RR c ) samples may also be calculated in various ways, and for example, and for example, but not exclusively, by linear interpolation. 
         [0014]    A problem of these filtering algorithms, designated subsequently algorithms or filtering method “with reconstruction of incorrect samples of an RR series”, lies in the fact that the reconstruction of the RR series by replacing incorrect RR i  samples which were detected by corrected RR c  samples, can result in a final RR series partly rebuilt which is itself partially or completely distorted, especially when the cardiac signal that was taken is of poor quality. The lack of quality of this cardiac signal may be the result of many factors, such as, for example, and in a non-limiting, non-exhaustive manner, poor positioning of the electrodes or sensors of the heart signal, insufficient signal amplification in the signal processing chain, etc. . . . . 
         [0015]    But the reconstruction of a distorted RR series has not so far been detected by the filtering algorithms in a series RR. It follows that the information provided by these filtering algorithms can be completely wrong or insignificant without anyone noticing. 
       PURPOSE OF THE INVENTION 
       [0016]    The present invention aims at providing a solution for an automatic quality control of an RR series obtained from a cardiac signal. 
       SUMMARY OF THE INVENTION 
       [0017]    The first purpose of the invention is thus a quality control method of an initial RR series consisting of a plurality of samples (RR i ) which are respectively a function of time intervals (δti) which separate two successive heartbeats, method during which one resamples the RR series so as to obtain a resampled RR series. Characteristically, according to the invention, one automatically controls the quality of the RR series by automatically calculating at least the mathematical norm value, in a sliding window, of the resampled RR series, said mathematical norm value being given by the following formula: 
         [0000]    
       
         
           
             NORME 
             = 
             
               
                 
                   ∑ 
                   
                     i 
                     = 
                     1 
                   
                   N 
                 
                  
                 
                   
                     ( 
                     
                       
                         RR 
                         i 
                       
                       - 
                       
                         
                           1 
                           N 
                         
                          
                         
                           
                             ∑ 
                             
                               i 
                               = 
                               1 
                             
                             N 
                           
                            
                           
                             ( 
                             
                               RR 
                               i 
                             
                             ) 
                           
                         
                       
                     
                     ) 
                   
                   2 
                 
               
             
           
         
       
     
         [0000]    where N is the number of RR i  samples in said window. 
         [0018]    In this text, and particularly in the claims, the term “cardiac signal” means any physical signal characteristic of the instantaneous heart rate (or frequency) of a living being. For the implementation of the invention, various invasive or non-invasive techniques can be used to acquire the cardiac signal. One known invasive technique consists, for example, in using a blood pressure sensor connected to a catheter inserted into an artery. Among the known non-invasive methods (and which is preferable) are, for example, one which consists in using an infrared pulse sensor, using an ultrasonic sensor for detection of the cardiac cycles, the type of sensor implemented in a carditocograph, or the acquisition of an electrocardiographic (ECG) signal. The acquisition of an electrocardiographic (ECG) signal is in practice the most commonly used method, because besides its noninvasive nature, it provides a more accurate cardiac signal than that obtained, for example, by means of an infrared pulse sensor. 
         [0019]    In this text, and particularly in the claims, the term “RR series” generally means a series of various successive samples RR obtained from a cardiac signal characteristic of the cardiac rhythm of a living being, each RR i  sample being generally based on a time interval (δti) between two successive heartbeats. Generally, each sample (RR i ) is proportional, in particular equal, to the time interval (δti) between two successive heartbeats. Each (RR i ) sample may also be proportional, and more particularly equal to the inverse (1/δti) of the time interval between two successive heartbeats. 
         [0020]    In the preferred exemplary embodiment described below with reference to the accompanying figures, the RR series is more particularly constructed from the R waves of an ECG signal. This is not, however, limiting the invention. In the case of an ECG type cardiac signal, one can build the series called “RR” using the other depolarization waves (P, Q, S or T) of the ECG signal to construct the RR series, the accuracy not being however as good as when using the R waves of the ECG signal. Also, when the cardiac signal is not an ECG signal, the samples of the RR series are not calculated by determining the time interval (δti) separating two successive R waves of the ECG signal, but are, more generally, determined by detecting in the cardiac signal the time interval between two successive heartbeats. 
         [0021]    The invention also relates to a device for processing an RR series consisting of a plurality of (RRi) samples which are respectively a function of the time intervals (δti) separating two successive heartbeats, said device being designed to automatically control the quality of the RR series by implementing the aforementioned method. 
         [0022]    Another purpose of the invention is an acquisition and processing system of a cardiac signal, said system comprising electronic acquisition means of a cardiac signal, and electronic processing means designed for constructing an initial RR series from the cardiac signal acquired by the electronic acquisition means, said RR series consisting of a plurality of samples (RR i ) which are respectively a function of the time intervals (δti) separating two successive heartbeats of the cardiac signal. Typically according to the invention, said electronic processing means are designed to automatically control the quality of an RR series by implementing the aforementioned method. 
         [0023]    The invention also provides a computer program comprising means for coding a computer program adapted to be executed by electronic processing means, and, when executed by electronic processing means, for implementing the aforementioned quality control method of an RR series. 
     
    
     
       BRIEF DESCRIPTION OF FIGURES 
         [0024]    Other features and advantages of the invention will appear more clearly upon reading the detailed description below of a preferred embodiment of the method of the invention, said detailed description being given by way of nonlimiting and non-exhaustive example, with reference to the accompanying drawings in which: 
           [0025]      FIG. 1  schematically represents the main elements of an exemplary acquisition and processing system of an ECG signal implementing the method of the invention, 
           [0026]      FIG. 2  represents the set of waves (PQRST) characteristic of a cardiac beat in an ECG signal, 
           [0027]      FIG. 3  shows an example of digital ECG signal obtained after sampling an analog ECG signal, 
           [0028]      FIG. 4  shows an example of an RR series (still designated as RR signal) constructed from the signal of  FIG. 3 . 
       
    
    
     DETAILED DESCRIPTION 
     System for Acquiring and Processing the Cardiac Signal 
       [0029]      FIG. 1  shows an example of an acquisition and processing system of the cardiac signal of a living being (human or animal) that is used for the implementation of the method according to the invention. This system comprises:
       conventional electronic means for acquiring an ECG signal, comprising several measuring electrodes  1  connected at their input to an electrocardiographic (ECG) monitor  2 ,   electronic means  3  for processing the ECG signal outputted by the ECG monitor  2 .       
 
         [0032]    The processing means  3  of the ECG signal comprises an analog/digital converter  30 , and an electronic processing unit  31 . The input of converter  30  is connected to the output of the ECG monitor  2 , and the output of the converter  30  is connected to an input port of the electronic processing unit  31 . In one particular non-limiting embodiment of the invention, the processing unit  31  is constituted by a microcomputer, the converter  30  being connected to a serial port RS232 of this microcomputer. The invention is not limited to the implementation of a microcomputer as the electronic processing unit  31  can be implemented differently, for example as an FPGA type programmable electronic circuit, or as an integrated ASIC type circuit. 
         [0033]    In operation, the electrodes  1  are applied to the body of the living being, and the ECG monitor  2  outputs in the usual way an analog electrical signal, called ECG signal, that has the shape of the signal shown in  FIG. 2  for each heart beat. 
         [0034]    Referring to  FIG. 2 , for each heart beat, this electrocardiographic (ECG) signal consists of a set of electric waves:
       the P wave, which corresponds to the depolarization of the atria, and which has a small amplitude and a dome shape;   the PQ space which reflects the time of atrioventricular conduction;   the R wave, regarded in practice as a marker of ventricular systole, or the heart beat, the QRS complex reflecting ventricular contraction, and   the T wave which reflects ventricular repolarization.       
 
         [0039]    This analog ECG signal is digitized by the converter  4  with a predetermined sampling frequency (fc), equal for example to 256 Hz. 
         [0040]    The sampled signal output from the converter  30  (signal shown in  FIG. 3 ) is processed by the processing unit  31  by means of specific processing software (filtering software) which is described in detail below. This filtering software is stored in memory of the processing unit  31  and allows, when executed, automatically constructing, from the digital signal delivered by the analog/digital converter  30 , an RR series with, optionally, automatic reconstruction of incorrect samples RRi, and automatically calculating a NivQual quality index that can control the quality of the RR series, optionally partly reconstructed. 
         [0041]    A preferred variant of this filtering software will now be detailed. 
       Example of Filtering Software Algorithm 
       [0042]    In a particular variant embodiment of the invention, the main successive steps of the filtering algorithm are the following:
       1. Acquisition and construction of RRi samples from the signal output from the analog/digital converter  30 .   2. Filtering the RR series with optional automatic detection of incorrect samples RRi, and substituting with reconstructed samples identified in the RRc samples series.   3. Re-sampling of the RR series to a predefined frequency f to obtain resampled RRi samples.   4. Selection of RRi samples included in a time window of n seconds (n&gt;1/f).   5. Calculating a NivQual quality index   6. Offsetting, with a time step equal to p seconds (preferably p≦n), the time window of n seconds, and reiterating the calculation from step 2. This offset corresponds to the sliding of the time window for selecting the samples.       
 
         [0049]    In practice, the system can be programmed to be used in real time or delayed time. 
         [0050]    When the system is used in delayed time, step 1 is performed first in real time so as to build all RRi samples over all the period of analysis desired; all of these successive RRi samples are stored in memory, for example in a memory acquisition file of the processing unit  31 . Secondly, the steps 2-6 are performed in a loop, offline, on the RRi samples stored in the acquisition file. 
         [0051]    When the system operates in real time, step 1 of construction of the RRi samples on the one hand, and the other processing steps 2-6 on the other hand, are performed by two separate software modules operating in parallel, the first construction module (step 1) supplying the second processing and calculation module (steps 2-6) for example through a buffer file or register or equivalent. 
         [0052]    Steps 1-5 will now be detailed. 
       Step 1: Acquisition and Construction of RRi Samples 
       [0053]    The acquisition and construction of the RRi samples are performed by a first software sub-module which is input with the successive digital data constituting the digitized ECG signal (signal of  FIG. 3 ) output by the analog digital converter  30 . Each data (or point) of the ECG signal is determined by the instantaneous amplitude ECGi of the ECG signal, and by sampling time t i  (t i =n i /fc, with ni being the sample number and fc representing the sampling frequency of the converter  30 ). 
         [0054]    The first acquisition sub-module of RRi samples is designed to automatically detect each successive Ri peak in the digital signal delivered by the converter  30 , and to automatically construct an RR series ( FIG. 4 ) consisting of a succession of RRi samples. Each RRi sample is defined by the pair of coordinates: t [a sampling moment (or number)]; a time interval δti (expressed as a multiple of the sampling frequency fc) separating a peak Ri from the next peak R i+1  (in another embodiment it could be the previous peak R i−1 ). 
         [0055]    In the usual manner, the R wave usually being the finest and most extensive part of the QRS, it is preferably used to detect heart beat with very good accuracy, the time interval δti corresponding in practice to the time between two successive heartbeats. However, in another variant, one might consider using other waves (such as Q wave or S wave) of a heart beat of the ECG signal to detect and construct the RR series. In another variant, one could also consider using other cardiac signals such as the plethysmograph waveform or the invasive blood pressure. 
         [0000]    Step 2: Filtering the RR Series with Optional Automatic Detection of Incorrect RR i  Samples and Replacement by RRc Reconstructed Samples 
         [0056]    This filtering step consists generally in automatically detecting in the RR series the presence of one or more incorrect successive RR samples, and automatically replacing in the RR series the incorrect RR samples that were detected by reconstructed RRc samples. The number of reconstructed RRc samples is, most of the time, different from the number of incorrect samples that were detected. 
         [0057]    This filtering step with automatic reconstruction of incorrect RR i  samples is known per se, and examples of implementation of this filtering step are described for example in international patent application WO 02/069178, as well as in the article Logier R, De Jonckheere J, Dassonneville A., &lt;&lt;An efficient algorithm for R-R intervals series filtering&gt;&gt;. Conf Proc IEEE Eng Med Biol Soc. 2004; 6:3937-40. 
         [0058]    It should however be noted that in the context of the invention, the detection of incorrect RRi samples is not limited to the detection methods described in the two aforementioned publications, and reconstructed RRc samples can also be calculated in various ways, such as, for example but not exclusively, by linear interpolation, as described in the two abovementioned publications. 
         [0059]    Each reconstructed RRc sample of the RR series is identified, for example by an associated flag type identification variable. Thus, after this step, the RR series consists of RR i  samples some of which are, optionally, identified by their identification variable as reconstructed RRc samples. 
       Step 3: Resampling of the RR Series to a Predefined Frequency f to Obtain Resampled RR i  Samples 
       [0060]    The filtered RR series ( FIG. 4 ) supplied by the aforementioned first sub-module is automatically resampled by a second software sub-module at a predefined frequency f, which is preferably lower than the sampling frequency fc (for example, for a sampling frequency fc equal to 250 Hz, the resampling frequency f will be set to 8 hz). The purpose of this resampling is to output an RR series whose RR i  samples are equidistant from a temporal point of view, that is to say, in other words an RR series in which the sampling instants are regular. This resampling is carried out in known manner by interpolation, for example by linear interpolation. 
         [0061]    During this resampling, each reconstructed RRc sample is replaced, as appropriate, by one or more reconstructed and resampled RRrc samples. 
         [0062]    Each reconstructed and resampled RRrc sample of the RR series is identified, for example by an associated flag type identification variable. Thus, after this step, the RR series consists of RRi samples some of which are, optionally, identified by their identification variable as reconstructed and resampled RRrc samples. 
         [0000]    Step 4: Selection of RRi Samples (of the RR Series, Optionally Partly Reconstructed and Sesampled) included in a Main Time Window of n Seconds (n&gt;1/f) 
         [0063]    This step consists in isolating a number N of successive RRi samples (N=n.f). As an indication, for example, a main window of 64 seconds (n=64) is chosen, which corresponds to 512 successive RR samples (N=512) at a resampling frequency f of 8 hz. 
         [0064]    The following steps are applied to the samples included in this main window. 
       Step 5: Calculation of a NivQual Quality Index 
       [0065]    This step is performed using a software sub-module that automatically calculate a NivQual quality index significant of the quality of the RR series. 
         [0066]    In the particular embodiment described in detail below, this NivQual quality index has two quality levels of 0 or 1. 
         [0067]    More particularly, the NivQual quality index is based on two variables (FC i ; NORME) which are calculated in Step 5:
   1/ the value of the instantaneous heart rate (FC i ) calculated on each RRi sample of the RR series from Step 2, that is to say, the RR series after filtering (optionally partly reconstructed) and before resampling.   2/ the mathematical norm value (NORME) of the RR i  samples of the RR series (optionally partly reconstructed and resampled) from selection Step 4 in the time window of n seconds.   
 
         [0070]    The heart rate is defined by FC i =60000/RR i , where RRi is the instantaneous value of the RR i  sample in millisecond. 
         [0071]    Calculating the mathematical norm value of the RR series resampled at the frequency f n in the window of n seconds consists initially in calculating the average value M of RR in the window. 
         [0000]    
       
         
           
             M 
             = 
             
               
                 1 
                 N 
               
                
               
                 
                   ∑ 
                   
                     i 
                     = 
                     1 
                   
                   N 
                 
                  
                 
                   ( 
                   
                     RR 
                     i 
                   
                   ) 
                 
               
             
           
         
       
     
         [0000]    where RR i  represents the value of each RR interval and N the number of samples in the window. 
         [0072]    This average value is then subtracted at each RR i  interval of the window. 
         [0000]        RR   i =( RR   i   −M ). 
         [0000]    The RR i  values obtained are used for the calculation of the norm value (NORME), or: 
         [0000]    
       
         
           
             NORME 
             = 
             
               
                 
                   ∑ 
                   
                     i 
                     = 
                     1 
                   
                   N 
                 
                  
                 
                   
                     ( 
                     
                       
                         RR 
                         i 
                       
                       - 
                       
                         
                           1 
                           N 
                         
                          
                         
                           
                             ∑ 
                             
                               i 
                               = 
                               1 
                             
                             N 
                           
                            
                           
                             ( 
                             
                               RR 
                               i 
                             
                             ) 
                           
                         
                       
                     
                     ) 
                   
                   2 
                 
               
             
           
         
       
     
         [0073]    An example of algorithm for calculating the NivQual quality index from the two aforementioned variables (FC i ; NORME) is given below: 
         [0000]    
       
         
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 If 
               
               
                   
                     ((NORME&lt;NormMin) 
               
               
                   
                     or 
               
               
                   
                     (NORME&gt;NormMax) 
               
               
                   
                     or 
               
               
                   
                     (FCi&gt;FCMax) 
               
               
                   
                     or 
               
               
                   
                     (FC i &lt;FCMin) 
               
               
                   
                 then Nivqual = 0 
               
               
                   
                 IF NOT Nivqual = 1 
               
               
                   
                   
               
             
          
         
       
     
         [0074]    The values of the FCMax, FCmin, NormMax, NormMin parameters are predefined constants, which depend, for example, on the age of the human being or depend, for example, on the animal species in the context of a veterinary application. The values of the FCMax, FCmin thresholds are those commonly used by all heart monitoring devices. The values of NormMax, NormMin thresholds of the norm value are, for example, experimentally determined on 200 individuals in each category. 
         [0075]    By way of non-limiting example:
       for a newborn: FCmax=250; FCMin=80; NormMax=3; NormMin=0   for an adult: FCMax=180; FCMin=30; NormMax=4; NormMin=0.07       
 
         [0078]    The NivQual quality index calculated at each Step 5 may, for example, be displayed, especially in real time, so as to inform a practitioner of the quality level of the measured RR signal. 
         [0079]    In the case of a NivQual quality index equal to 0, the RR series from Step 1 is considered as being of very poor quality and in fact unusable. This lack of quality of the RR series may result from many factors, such as, for example, and in a non-limiting and non-exhaustive manner, improper positioning of the electrodes  1  or the sensors for measuring the heart signal, insufficient signal amplification in the signal processing chain, etc. 
         [0080]    When calculating a NivQual quality index equal to 0, processing unit  31  can be programmed to automatically trigger several actions, including and not limited to, triggering of a visual and/or audible alarm, and/or resetting acquisition Step 1 of RR i  samples, including, in particular, a manual or automatic gain change of the source signal (ECG). 
         [0081]    In the context of the invention, for the implementation of Step 5, this NivQual quality index calculation algorithm can be simplified by only taking into account the NORME parameter. 
         [0082]    In another embodiment, the filtering Step 2 (detection and reconstruction of incorrect samples) may be omitted. In this case, the calculation of the norm value (NORME) and calculation of the instantaneous heart rate (FC i ) are performed in a sliding window directly on the samples of the initial RR series from Step 1.