Method and device for automatic quality control of an RR series obtained from a cardiac signal
11020056 · 2021-06-01
Assignee
Inventors
Cpc classification
A61B5/7221
HUMAN NECESSITIES
A61B5/327
HUMAN NECESSITIES
A61B5/352
HUMAN NECESSITIES
A61B5/364
HUMAN NECESSITIES
International classification
A61B5/02
HUMAN NECESSITIES
A61B5/364
HUMAN NECESSITIES
A61B5/327
HUMAN NECESSITIES
A61B5/00
HUMAN NECESSITIES
A61B5/0245
HUMAN NECESSITIES
Abstract
The method allows controlling the quality of an initial RR series made up 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:
where N is the number of RRi samples in said window.
Claims
1. A method for acquiring and automatically processing a cardiac signal, said method comprising: using an electronic acquisition device for acquiring a cardiac signal on a subject; using a processing unit for automatically constructing a plurality of successive (RR.sub.i) samples of an initial RR series from said acquired cardiac signal, where said plurality of (RR.sub.i) samples being respectively a function of time intervals (δti) which separate two successive heartbeats in the cardiac signal, said method further comprising: using the processing unit for automatically calculating at least a mathematical norm value (NORME), in a sliding window, of the initial RR series, said mathematical norm value being given by the following formula:
2. The method of claim 1, further comprising using the processing unit for automatically detecting in the initial RR series if one or more successive (RRi) samples are incorrect, and for automatically correcting, in the RR series, the one or more (RRi) samples detected as incorrect by replacing the one or more (RRi) samples detected as incorrect by one or more reconstructed (RRc) samples, so as to obtain an RR series that is partly reconstructed.
3. The method of claim 2, further comprising using the processing unit for resampling the RR series that is partly reconstructed so as to obtain a partly reconstructed and resampled RR series.
4. The method of claim 1, further comprising using the processing unit for automatically triggering at least one of a visual or audible alarm wherein when the mathematical norm value that is calculated is outside a predefined range (NormMin; NormMax).
5. The method of claim 1, further comprising using the processing unit for automatically controlling the quality of the RR series by also calculating an instantaneous heart rate FCwhere FC.sub.i=60000/RR.sub.i, RR.sub.i being the instantaneous value in millisecond of an (RR.sub.i) sample of the RR series.
6. The method of claim 5, further comprising using the processing unit for automatically triggering at least one of a visual or audible alarm when the instantaneous heart rate FC.sub.i that is calculated is lower than a predefined value (FCMin).
7. The method of claim 5, further comprising using the processing unit for automatically triggering at least one of a visual or audible alarm when the instantaneous heart rate FC.sub.i that is calculated is greater than a predefined value (FCMax).
8. The method of claim 5, further comprising using the processing unit for automatically triggering at least one of a visual or audible alarm when the instantaneous heart rate FC.sub.i that is calculated is outside of a predefined range (FCMin, FCMax).
9. The method of claim 1, further comprising resetting the acquisition and construction of the (RR.sub.i) samples of the initial RR series when the mathematical norm value (NORME) that is calculated is smaller than said first predefined value (NormMin).
10. The method of claim 1, further comprising resetting the acquisition and construction of the (RR.sub.i) samples of the initial RR series when the mathematical norm value (NORME) that is calculated is greater than said second predefined value (NormMax).
11. The method of claim 1, further comprising resetting the acquisition and construction of the (RR.sub.i) samples of the initial RR series when the mathematical norm value (NORME) that is calculated is outside a predefined range (NormMin; NormMax).
12. The method of claim 1, further comprising using the processing unit for calculating at least one (NivQual) quality index from the instantaneous heart rate FC.sub.i, with FC.sub.i=60000/RR.sub.i, RR.sub.i being the instantaneous value in millisecond of a (RRi) sample of the RR series.
13. The method of claim 1, wherein the acquisition and construction of successive (RR.sub.i) samples of the initial RR series from a cardiac signal is performed in real time and wherein optional resampling and automatic quality control of the RR series are performed in real time while said acquisition and construction of the successive (RR.sub.i) samples of the initial RR series are taking place.
14. An acquisition and processing system for a cardiac signal, said system comprising an electronic acquisition device with a processing unit configured for acquiring a cardiac signal, and where said processing unit is configured to automatically construct an initial RR series from a cardiac signal acquired with the electronic acquisition device, said RR series comprising a plurality of (RRi) samples which are respectively a function of time intervals (δti) which separate two successive heartbeats of the cardiac signal, wherein said processing unit is configured to implement the method of claim 1.
15. A computer program adapted to be executed by a processing unit, and allowing, when executed by said processing unit to implement the method of claim 1.
16. A method for acquiring and automatically processing a cardiac signal, said method comprising: using an electronic acquisition device for acquiring a cardiac signal on a subject; using a processing unit for automatically constructing a plurality of successive (RR.sub.i) samples of an initial RR series from said acquired cardiac signal, said plurality of (RR.sub.i) samples being respectively a function of time intervals (δti) which separate two successive heartbeats in the cardiac signal; and using the processing unit for resampling the RR series so as to obtain a resampled RR series, and where said method further comprises: using the processing unit for automatically calculating at least a mathematical norm value (NORME) of the resampled RR series in a sliding window, said mathematical norm value being given by the following formula:
17. The method of claim 16, further comprising using the processing unit for automatically detecting in the initial RR series if one or more successive (RRi) samples are incorrect, and for automatically correcting, in the RR series, the one or more (RRi) samples detected as incorrect by replacing the one or more (RRi) samples detected as incorrect by one or more reconstructed (RRc) samples, so as to obtain an RR series partly reconstructed.
18. The method of claim 17, comprising using the processing unit for resampling the RR series that is partly reconstructed so as to obtain a partly reconstructed and resampled RR series.
19. The method of claim 16, further comprising using the processing unit for automatically triggering at least one of a visual or audible alarm wherein when the mathematical norm value that is calculated is outside a predefined range (NormMin; NormMax).
20. The method of claim 16, further comprising using the processing unit for automatically controlling the quality of the RR series by also calculating an instantaneous heart rate FC.sub.i, where FC.sub.i=60000/RR.sub.i, RR.sub.i being the instantaneous value in millisecond of an (RRi) sample of the RR series.
21. The method of claim 20, further comprising using the processing unit for automatically triggering at least one of a visual or audible alarm when the instantaneous heart rate FC.sub.i that is calculated is lower than a predefined value (FCMin).
22. The method of claim 20, further comprising using the processing unit for automatically triggering at least one of a visual or audible alarm when the instantaneous heart rate FC.sub.i that is calculated is greater than a predefined value (FCMax).
23. The method of claim 20, further comprising using the processing unit for automatically triggering at least one of a visual or audible alarm when the instantaneous heart rate FC.sub.i that is calculated is outside of a predefined range (FCMin, FCMax).
24. The method of claim 16, further comprising resetting the acquisition and construction of the (RR.sub.i) samples of the initial RR series when the mathematical norm value (NORME) that is calculated is smaller than said first predefined value (NormMin).
25. The method of claim 16, further comprising resetting the acquisition and construction of the (RR.sub.i) samples of the initial RR series when the mathematical norm value (NORME) that is calculated is greater than said second predefined value (NormMax).
26. The method of claim 16, further comprising resetting the acquisition and construction of the (RR.sub.i) samples of the initial RR series when the mathematical norm value (NORME) that is calculated is outside a predefined range (NormMin; NormMax).
27. The method of claim 16, further comprising using a processing unit for calculating at least one (NivQual) quality index from the instantaneous heart rate FC.sub.i, with FC.sub.i=60000/RR.sub.i, RR.sub.i being the instantaneous value in millisecond of a (RRi) sample of the RR series.
28. The method of claim 16, wherein the acquisition and construction of successive (RR.sub.i) samples of the initial RR series from a cardiac signal is performed in real time and wherein optional resampling and all the other steps are performed in real time while said acquisition and construction of the successive (RR.sub.i) samples of the initial RR series are taking place.
29. An acquisition and processing system for a cardiac signal, said system comprising an electronic acquisition device configured for acquiring a cardiac signal, and a processing unit configured to automatically construct an initial RR series from a cardiac signal acquired with the electronic acquisition device, said RR series comprising a plurality of (RRi) samples which are respectively a function of time intervals (δti) which separate two successive heartbeats of the cardiac signal, wherein said processing unit is configured to implement the method of claim 16.
30. A computer program adapted to be executed by a processing unit, and allowing, when executed by said processing unit to implement the method of claim 16.
Description
BRIEF DESCRIPTION OF FIGURES
(1) 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:
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION
(6) System for Acquiring and Processing the Cardiac Signal
(7)
(8) 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.
(9) 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.
(10) 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
(11) Referring to
(12) This analog ECG signal is digitized by the converter 4 with a predetermined sampling frequency (fc), equal for example to 256 Hz.
(13) The sampled signal output from the converter 30 (signal shown in
(14) A preferred variant of this filtering software will now be detailed.
(15) Example of Filtering Software Algorithm
(16) 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>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.
(17) In practice, the system can be programmed to be used in real time or delayed time.
(18) 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.
(19) 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.
(20) Steps 1-5 will now be detailed.
(21) Step 1: Acquisition and Construction of RRi Samples
(22) 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
(23) The first acquisition sub-module of RRi samples is designed to automatically detect each successive R, peak in the digital signal delivered by the converter 30, and to automatically construct an RR series (
(24) 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 heartbeat 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.
(25) Step 2: Filtering the RR Series with Optional Automatic Detection of Incorrect RRi Samples and Replacement by RRc Reconstructed Samples
(26) This filtering step consists generally in automatically detecting in the RR series the presence of one or more incorrect successive RR.sub.i samples, and automatically replacing in the RR series the incorrect RR.sub.i 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.
(27) This filtering step with automatic reconstruction of incorrect RR.sub.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., «An efficient algorithm for R-R intervals series filtering». Conf Proc IEEE Eng Med Biol Soc. 2004; 6:3937-40.
(28) 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.
(29) 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.sub.i samples some of which are, optionally, identified by their identification variable as reconstructed RRc samples.
(30) Step 3: Resampling of the RR Series to a Predefined Frequency f to Obtain Resampled RRi Samples
(31) The filtered RR series (
(32) During this resampling, each reconstructed RRc sample is replaced, as appropriate, by one or more reconstructed and resampled RRrc samples.
(33) 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.
(34) Step 4: Selection of RRi Samples (of the RR Series, Optionally Partly Reconstructed and Resampled) Included in a Main Time Window of n Seconds (n>1/f)
(35) 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.sub.i samples (N=512) at a resampling frequency f of 8 hz.
(36) The following steps are applied to the samples included in this main window.
(37) Step 5: Calculation of a NivQual Quality Index
(38) This step is performed using a software sub-module that automatically calculate a NivQual quality index significant of the quality of the RR series.
(39) In the particular embodiment described in detail below, this NivQual quality index has two quality levels of 0 or 1.
(40) More particularly, the NivQual quality index is based on two variables (FCi; NORME) which are calculated in Step 5:
(41) 1/ the value of the instantaneous heart rate (FC.sub.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.
(42) 2/ the mathematical norm value (NORME) of the RR.sub.i samples of the RR series (optionally partly reconstructed and resampled) from selection Step 4 in the time window of n seconds.
(43) The heart rate is defined by FC.sub.i=60000/RR.sub.i, where RRi is the instantaneous value of the RR.sub.i sample in millisecond.
(44) 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.sub.i in the window.
(45)
where RR.sub.i represents the value of each RR interval and N the number of samples in the window.
(46) This average value is then subtracted at each RR.sub.i interval of the window.
RR.sub.i=(RR.sub.i−M).
The RR.sub.i values obtained are used for the calculation of the norm value (NORME), or:
(47)
(48) An example of algorithm for calculating the NivQual quality index from the two aforementioned variables (FC.sub.i; NORME) is given below:
(49) TABLE-US-00001 If ((NORME<NormMin) or (NORME>NormMax) or (FCi>FCMax) or (FCi<FCMin) then Nivqual = 0 IF NOT Nivqual = 1
(50) 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.
(51) 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
(52) 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.
(53) 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.
(54) 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.sub.i samples, including, in particular, a manual or automatic gain change of the source signal (ECG).
(55) 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.
(56) 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.sub.i) are performed in a sliding window directly on the samples of the initial RR series from Step 1.