NON-INVASIVE SENSOR FOR DETERMINING A HEARTBEAT AND/OR HEART RATE IN A SEGMENT OF AN EXTRACORPOREAL BLOOD CIRCUIT
20220249025 · 2022-08-11
Inventors
Cpc classification
A61B5/14546
HUMAN NECESSITIES
A61B5/02416
HUMAN NECESSITIES
A61M1/367
HUMAN NECESSITIES
A61B5/6866
HUMAN NECESSITIES
A61M60/113
HUMAN NECESSITIES
A61B5/1455
HUMAN NECESSITIES
A61B5/746
HUMAN NECESSITIES
International classification
A61B5/00
HUMAN NECESSITIES
A61M1/36
HUMAN NECESSITIES
A61M60/113
HUMAN NECESSITIES
Abstract
Non-invasive heartbeat sensor for determining a heart rate in a conduit of an extracorporeal blood treatment apparatus, comprising one source for directing an optical signal towards the blood flowing in the segment; one detector for receiving an optical informative signal comprising the signal emitted by said source after passing the blood, and emitting respective output signal; a controller receiving the respective output signal and retrieving a heartbeat frequency and a heart rate value, based on the output signal, wherein the informative signal is altered by flow perturbation of the blood partially generated by the flow impulses originated by the heart.
Claims
1-23. (canceled)
24. An apparatus for extracorporeal blood treatment comprising: a blood pump configured to pump blood; a blood circuit comprising: a filtration unit having a primary chamber and a secondary chamber separated by a semi-permeable membrane, a blood withdrawal line having a first end connected to an inlet of the primary chamber, and a blood return line having a first end connected to an outlet of the primary chamber, wherein the blood withdrawal line has a second end provided with an arterial connector, wherein the blood return line has a second end provided with a venous connector, wherein said arterial connector and said venous connector are configured to be connected to a vascular access of a patient, wherein said blood circuit is configured to be interfaced with the blood pump for controlling the flow in the blood circuit, and wherein the blood circuit comprises an extracorporeal segment; and a non-invasive heartbeat sensor configured and arranged to determine one or both of a heartbeat in the extracorporeal segment and a heart rate in the extracorporeal segment, wherein said non-invasive heartbeat sensor comprises: at least one source for directing an optical signal towards the blood flowing in the extracorporeal segment, the optical signal being directed along an emission axis, detectors placed at different radial directions, or arranged at different angular degrees, with respect to the emission axis of the source to collect a reflected signal, a scattered signal and a transmitted signal depending on their respective position, and wherein each detector is configured to receive an optical informative signal comprising the signal emitted by said source after passing at least partially the blood flowing in the extracorporeal segment, wherein each detector is configured to emit a respective output signal related to the received optical informative signal, and a controller configured to: receive the respective output signals from the detectors, at least one of retrieve a heartbeat frequency and detect a heart rate value based on a predetermined number of the output signals, and process the output signals based on the informative signal as altered at least in its amplitude, by a flow perturbation of the blood flowing in the segment, wherein said flow perturbation being at least partially generated by flow impulses originated by a beating heart.
25. The apparatus according to claim 24, wherein said controller is configured to: electronically calculate a transformation of at least one reference part of one or more output signals from the time domain towards the frequencies domain; obtain an informative signal spectrum or an output signal spectrum corresponding to the informative signal spectrum; determine if at least one pump is forcing fluid circulation into said segment; if the at least one pump is forcing fluid circulation into said segment, then identify and discard a first peak of amplitude in said informative signal spectrum or output signal spectrum, said first peak of amplitude corresponding to a spurious flow perturbation in said segment originated by the at least one pump forcing fluid circulation into said segment; electronically identify and select a first sought peak of amplitude in said informative signal spectrum or output signal spectrum subsequent to said discarding, said selected first sought peak of amplitude calculated through an identification of a second sought peak of amplitude in the informative signal spectrum or in the output signal spectrum, wherein said second sought peak corresponds to a subsequent harmonic of said first sought peak of amplitude; and electronically assign, to at least one of a provisional heartbeat and the heart rate frequency, the frequency corresponding to the first sought peak of amplitude.
26. The apparatus according to claim 25, wherein said controller is further configured to: electronically load frequency values corresponding to a first lower frequency region and to at least one second upper frequency region, the second upper frequency region laying above said first lower frequency region; store and set an upper frequency value of said lower frequency region below a frequency threshold for non-physiological cardiac pulses; and process the output signal, wherein processing the output signal includes (i) filtering out the portion of said informative signal spectrum or output signal spectrum corresponding to the first lower frequency region, or (ii) discarding any peak of amplitude lying in said first lower frequency region, so that the identification and discarding of the first peak of amplitude and the electronic selection of the first sought peak of amplitude is performed in said at least second upper frequency region.
27. The apparatus according to claim 25, wherein processing the output signal comprises low-pass filtering through a filter stage the output signal at a predetermined frequency below 10 Hz, wherein the low-pass filtering is performed before electronically calculating the transformation of the at least the reference part of the output signal from the time domain towards the frequency domain.
28. The apparatus according to claim 25, wherein the identification of the second sought peak of amplitude is performed by searching a peak of amplitude in the informative signal spectrum or in the output signal spectrum corresponding at a frequency corresponding to the double of the frequency of the first sought peak of amplitude.
29. The apparatus according to claim 25, wherein, in electronically processing the output signal of said at least one optical detector, said controller is configured to perform an electronic selection of a reference window of output signal sampling, said reference window having a predetermined length less than one minute long, wherein the portion of the output signal constitutes the reference part of the output signal, and wherein the electronic calculation of the transformation of the at least part of the output signal (i) is performed on said reference part of the output signal and (ii) is performed after the windowing.
30. The apparatus according claim 25, wherein said identification of at least one of the first peak of amplitude, the first sought peak of amplitude, and the second sought peak of amplitude is performed through an application of a peak detection algorithm on at least part of said informative signal spectrum or output signal spectrum, wherein the peak detection algorithm comprises: identifying a part of the informative signal spectrum or output signal spectrum, said part corresponding to the second upper frequency region; electronically calculating the derivative of said spectrum obtaining a derivative spectrum; and performing a subsequent electronic search and selection of at least one frequency, wherein said derivative spectrum changes sign from a positive value to a negative value proceeding in increasing the frequency of analysis, for identifying positive peaks, the frequency at which said derivative spectrum changes sign from a positive value to a negative value corresponding to said peak.
31. The apparatus according to claim 30, wherein the peak detection algorithm for which the controller is configured to run comprises searching for local relative maximum amplitude points in said informative signal spectrum or output signal spectrum, said part corresponding to the second upper frequency region by using a moving window signal processing on said spectrum, and a further selection of frequencies corresponding to said maximum amplitude points as a frequency at which a peak occurs.
32. The apparatus according to claim 30, wherein the peak detection algorithm comprises defining a moving window of a predetermined amplitude within at least a part of the informative signal spectrum or output signal spectrum, said part corresponding to the second upper frequency region, and electronically defining a plurality of positions for said moving window within said at least a part of the informative signal spectrum or output signal spectrum, and for each of said positions, electronically calculating the maximum amplitude of the spectrum within said window, and electronically extracting and storing the frequency corresponding to said maximum amplitude.
33. The apparatus according to claim 24, wherein the controller is configured to process the one or more output signals of said detectors with a pump-associated signal having a shape that is cyclic and repeated in time, and is correlated to a pump cycle point, so as to obtain a corresponding result signal which includes a spectrum having an enhancement of the components or of the peaks relating to the heartbeat or to the heart rate with respect to the components or the peaks associated to the operation of a pump of said apparatus, and wherein the controller is configured to multiply the output signal of said at least one optical detector with said pump-associated signal so as to make a result signal produced in an output of said processing cyclically zeroed in correspondence of portions of times wherein said pump provides pulses in at least said segment.
34. The apparatus according to claim 33, wherein the controller is configured to calculate an average magnitude of said result signal across a predetermined time length window of analysis, and is further configured to perform a subsequent subtraction of said average magnitude to at least a portion of said result signal, a portion wherein said result signal was not zeroed due to the multiplication, thus producing an averaged signal constituting a reference part of said output signal to which at least a transformation from the time domain to the frequencies domain is performed.
35. The apparatus according to claim 33, wherein said controller is configured for: selecting a plurality of reference parts of the one or more output signals by electronically selecting through a sampling window a plurality of portions of said output signal which are not overlapped in time; performing a transformation from the time domain towards the frequencies domain, obtaining a plurality of informative signal spectrums or a plurality of output signal spectrums related to the corresponding plurality of informative signal spectrums for each of said plurality of reference parts of the output signal; and for each informative signal spectrum or output signal spectrum of said plurality of informative signal and output signal spectrums: identifying and discarding a first noise peak of amplitude in said informative signal spectrum or output signal spectrum, said first predetermined peak of amplitude corresponding to at least partially to a spurious flow perturbation in said segment being originated by at least one pump forcing fluid circulation into at least said segment, performing an electronic identification and subsequent selection of a first sought peak of amplitude in said informative signal spectrum or output signal spectrum after said discarding has took place, said selection being electronically calculated through an identification of a second sought peak of amplitude in the informative signal spectrum or in the output signal spectrum, the second peak corresponding to a second harmonics of said first sought peak of amplitude, electronically assigning, to a provisional heartbeat and/or the heart rate frequency, the frequency corresponding to the first sought peak of amplitude, and calculating at least one of a definitive heartbeat and the heart rate frequency according to the plurality of provisional heartbeat and/or heart rate frequency values obtained for each of said spectrum, wherein the definitive heartbeat and/or heart rate frequency is calculated in accordance with an average calculation among the plurality of provisional heartbeat and/or heart rate frequency values obtained for each of said spectrum.
36. The apparatus according to claim 24, wherein said controller is configured to activate an alarm signal if one of the following conditions is met: said controller does not retrieve any heartbeat frequency; said controller does not detect any heart rate value; said controller, after having retrieved at least temporarily said heartbeat frequency and/or heart rate value from said informative signal, in a subsequent time, does not retrieve any heartbeat frequency, while in the presence of said informative signal; or said controller, after having retrieved at least temporarily said heartbeat frequency and/or heart rate value from said informative signal, in a subsequent time, does not detect any heart rate value, while in presence of said informative signal.
37. The apparatus according to claim 24, wherein the source comprises an optic electromagnetic radiation emitter in the form of either: a single-wavelength, multimode and non-coherent, LED; or a single-wavelength LASER or SLED.
38. The apparatus according to claim 24, wherein the source comprises an optic electromagnetic radiation emitter in the form of a multiple wavelength emitter being either: a multiple wavelength LED, or a combination of plurality of single-wavelength LASERs or SLEDs.
39. The apparatus according to claim 24, wherein the sensor further comprises: an optic fiber having one end coupled with the source and the other end placed to direct the emitted signal towards the blood along at least said predetermined emission axis; one or more of (i) a first detector placed at about 180° with respect to the emission axis of the source, (ii) a second detector placed at about 90° with respect to the emission axis of the source, (iii) a third detector placed at about 45° with respect to the emission axis of the source, or (iv) a fourth detector placed at about 0° with respect to the emission axis of the source; and a housing having one portion that is counter-shaped to said tube segment, the housing being made of two or more pieces and defining a through passage that is counter-shaped to the outer shape of the tube segment to house the tube segment inside the through passage, each detector including a respective end placed at the counter-shaped portion facing the tube segment in a coupling condition of the housing with the tube segment, the source including an end placed at the counter-shaped portion facing the tube in a coupling condition of the housing with the tube segment; and wherein each detector includes an optic fiber, one end of the optic fiber being arranged in correspondence of the tube segment and being fixed to the housing, the end of the optic fiber being placed at the counter-shaped portion and facing the tube segment in a coupling condition of the housing with the tube segment.
40. The apparatus according to claim 24, wherein the source comprises a multiple wavelength emitter having a plurality of optical radiation sources with peak wavelengths in the red and infrared bands, and wherein at least an illuminating peak wavelength of the source is between 0.7 μm and 1000 μm.
41. The apparatus according to claim 24, wherein the source is configured to transmit a composite optical radiation comprising a first component of optical radiation centered on a first frequency window comprising a first wavelength, and a second component of optical radiation centered on a second frequency window comprising a second wavelength, with a third component of optical radiation centered on a third frequency window comprising a third wavelength, and with a fourth component of optical radiation centered on a fourth frequency window comprising a fourth wavelength, wherein said first, second, third and fourth frequency windows are at least partially not superimposed in frequency.
42. The apparatus according to claim 41, wherein the detectors comprise at least a first detector configured to receive optical radiation at the first wavelength, a second detector configured to receive optical radiation at the second wavelength, a third detector configured to receive optical radiation at the third wavelength, and a fourth detector configured to receive optical radiation at the fourth wavelength.
43. The apparatus according to claim 24, wherein said source is configured to transmit said optical radiation in a direction transversal to a main development axis of said segment and wherein the detectors are configured to receive the optical signal emitted by the source along a direction which is transversal to the main development axis of said segment.
44. The apparatus according to claim 24, wherein the segment of the extracorporeal blood treatment circuit includes a tube portion, said detectors and said source being disposed around said tube portion at different angular degrees around the same cross section, said tube having a circular cross section.
45. The apparatus according to claim 24, wherein the sensor is directly constrained to an external portion of the segment having circular inner and outer sections, wherein said segment is made of a flexible material with a predetermined degree of transparency to optical radiations.
Description
DESCRIPTION OF THE DRAWINGS
[0088] The previous and other relevant technical aspects of the disclosure will be described in the subsequent portion of the present disclosure with the aid of the annexed figures wherein:
[0089]
[0090]
[0091]
[0092]
[0093]
[0094]
[0095]
[0096]
[0097]
[0098]
[0099]
[0100]
[0101]
[0102]
DETAILED DESCRIPTION
[0103] The present description first discloses a non-invasive, reusable (i.e. non disposable) heartbeat sensor whose operation exploits optical radiation for detecting flow alterations in a fluid comprising blood flowing into a conduit, in particular a conduit or tube of a blood circuit configured to be installed in an extracorporeal blood treatment apparatus 1.
Definitions
[0104] For the purposes of the present disclosure: [0105] as per “non-invasive” shall be designated any means, and in particular a sensor, which does not enter into contact with the body of the user, and in particular is neither configured to be introduced into the body of the user nor enters into contact, in particular in direct contact, with a fluid, specifically the blood, of the user flowing into the segment of conduit for performing the detection for which it is conceived; [0106] as per “flow alterations” shall be intended local variation of flow or density or volume of a fluid, in particular albeit in a non-limiting extent, of blood or fluids containing a significant part of blood; [0107] as per “optical radiation” shall be intended any radiation of electromagnetic field lying within the spectrum of the infrared, or visible, or ultraviolet radiation, i.e. any radiation whose wavelength in vacuum is substantially comprised between 1000 μm (300 GHz, corresponding to the far infrared) and 10 nm (3000 THz, corresponding to the Extreme UV) according to ISO standard 21348; [0108] as per “infrared radiation” shall be intended any radiation whose wavelength in vacuum lies between 0.7 μm and 1000 μm and more particularly between 1 μm and 350 μm or between 790 nm and 820 nm, for example between 800 nm and 810 nm; [0109] as per “visible radiation” shall be intended any radiation whose wavelength in vacuum lies substantially between 400 and 750 nm, and [0110] as per “red radiation” shall be intended any radiation whose wavelength in vacuum lies substantially between 620 nm and 750 nm.
[0111] As just above disclosed, the sensor according to the present disclosure is configured to be installed in an apparatus 1 for extracorporeal blood treatment which may be configured to realize one or more of the following treatments hemodialysis (HD), hemofiltration with pre-dilution (HFpre), hemofiltration with post-dilution (HFpost), hemofiltration with both pre-dilution and post-dilution (HFpre-post), hemodiafiltration with pre-dilution (HDFpre), hemodiafiltration with post-dilution (HDFpost), hemodiafiltration with both pre-dilution and post-dilution (HDFpre-post), ultrafiltration (UF) or configured to be installed on a segment 101 of a blood circuit suitable to be installed on said apparatus.
Brief Description of the Apparatus
[0112] For the purposes of clarity of exposure and contextualization of the operation of the sensor herewith disclosed, a brief description of the apparatus 1 is hereinafter provided. Non-limiting embodiments of an apparatus 1 for extracorporeal treatment of blood—which may implement innovative aspects of the invention—are shown in
The apparatus 1 includes at least one sensor 100 which may be configured to determine at least the heartbeat and/or the heartrate. As apparent from the following description, sensor 100 may be placed in any position on the hydraulic circuit, and particularly on the blood circuit 60.
The apparatus 1 comprises a treatment unit 2 (such as an hemofilter, an ultrafilter, an hemodiafilter, a dialyzer, a plasmafilter and the like) having a primary chamber 3 and a secondary chamber 4 separated by a semi-permeable membrane 5; depending upon the treatment, the membrane 5 of the treatment unit 2 may be selected to have different properties and performances. A blood withdrawal line 6 is connected to an inlet of the primary chamber 3, and a blood return line 7 is connected to an outlet of the primary chamber 3. The blood withdrawal line 6, the primary chamber 3, and the blood return line 7 are part of an extracorporeal blood circuit, which is globally identified with reference number 60 in
[0113] Description of the Sensor
[0114] The sensor according to the present disclosure exploits the variation of physical properties of an optical radiation for detecting flow alterations in a fluid comprising blood flowing into the segment 101 of a tube or conduit for extracorporeal blood treatment. It derives that the segment 101 shall provide some transparency to the wavelengths of optical radiation involved in the measurement. In particular, the sensor 100 which is object of the present disclosure allows to detect blood and in particular red cells concentration variations over time, through which it is possible to identify a heartbeat and thus an heart rate; more in detail, when radiated by a proper optical radiation, the transmission of the radiation through the blood variates according to its concentration, in particular as a function of the concentration of red cells, which in turn variates in accordance to the peaks of flow produced by the heartbeat. Therefore, counting the cadence of the peaks of flow, i.e. the peaks (or correspondingly reductions) of the radiation transmission, it is possible to detect the heartbeat and therefore the frequency at which the heart beats.
[0115] The sensor 100 according the present disclosure is not invasive and allows for a continuous monitoring of the heartbeat that may last without significant interruption for any wanted time, and for the entire blood treatment length as required by the standard or acute therapy the patient is subject to. Since during normal operations no parts of the sensor get in contact with the blood of the user, the sensor which is object of the present disclosure is reusable, and thus does not constitute a so-called disposable device. This way, some processing intelligence may be arranged on board thereof, without involving relevant exchange costs, that would be otherwise present in any case wherein known sensors get in contact with the blood. The sensor 100 is in particular placed onto a segment of the blood circuit, specifically of the blood withdrawal line 6 and/or the blood return line 7. More than one sensor 100 may be used depending on the circumstances and placed in different position along the conduit. In a non-limiting extent, any electronically sensitive part of the circuitry arranged within the body of the sensor shall be properly protected against external agents, in accordance to an appropriate IP standard, so that—should the case may be—the sensor may be washed, or cleaned, or sterilized or sanitized in a convenient way without significant risks of damaging and without contaminating the blood lines when newly installed for subsequent treatments.
[0116] In general terms, and according to the schematic representation of
[0117] Notably, the housing 51 may be made of two or more parts 51a, 51b either separate or joined, e.g. hinged, together so to define an uncoupled configuration (see
[0118] It is clear that in case the housing is to be applied to the circular flexible tubing of the extracorporeal blood circuit 60, any position of the sensor along the blood withdrawal line 6 or blood return line 7 is suitable. In case the sensor 100 has a through passage counter-shaped to a specific cuvette, the sensor is to be applied in correspondence of the cuvette itself for proper working.
[0119] The housing 51 may be made of a high absorption material which prevents external ambient light from reaching the receivers. This helps reducing the risk that outer optical radiation sources negatively influence the reading of the heartbeat providing spurious peaks or reductions of light amplitude, in particular when those peaks or reductions have a frequency lying close to that of a physiological heartbeat.
[0120] The sensor 100 comprises at least one signal source 53 for directing a signal towards the blood along an emission axis 54. The signal source 53 may include any suitable signal emitter, such as an optic (or an acoustic) emitter directing a proper emitted signal towards the inside of the tube where blood is flowing. In embodiments of the present invention, the signal source 53 includes an electromagnetic radiation source, particularly a light source such as a LED source, a SLED or a Laser source. In the following description, we refer to an optical emitter and in detail to a LED emitter 55; however, this should not be interpreted as limiting. It has been noted that the non-limiting peak wavelength of the optical radiation transmitted by the signal source 53 is set to 800-810 nm, corresponding to that point of the Hgb absorption spectra where absorption is not dependent on oxygenation. Again, this is not to be considered a limiting aspect; in fact, any optical radiation in the field of the infrared or red light may be in principle used for the present application. In a simple embodiment like that disclosed in
[0121] The source 53 further comprises an optic fiber 56 having one end 56a coupled with the signal emitter 55 and the other end 56b fixed to the housing 51 and placed to direct the optical radiation towards the blood along the emission axis 54 of the source 53. As shown in
[0122] The sensor 100 comprises a plurality of detectors 57 for receiving the signal emitted by said source after at least partially passing through the blood; in particular the detectors 57 collect the reflected signal, the scattered signal and/or the transmitted signal depending on their respective position. Since the emitter 55 is a LED emitter, the detectors 57 may comprise a photodiode receivers 58. In an embodiment, the detectors 57 are placed at different angular degrees with respect to the emission axis 54. In more detail, the sensor 50 of
[0123] The photodiode receivers 58 are housed on a printed circuit board 60a along with analog circuitry for transimpedance amplification 62; the circuitry for transimpedance amplification 62 includes a current-to-voltage converter (for example implemented using an operational amplifier). The circuitry 62 may be used to amplify the current output of the photodiode receivers 58. Current-to-voltage converters are used with photodiodes that have a current response that is more linear than the voltage response (it is common for the current response to have better than 1% linearity over a wide range of light input). The transimpedance amplifier presents a low impedance to the photodiode and isolates it from the output voltage of the operational amplifier. There are several different configurations of transimpedance amplifiers, the one factor they all have in common is the requirement to convert the low-level current of a sensor to a voltage. The printed circuit board 60a further includes low-pass filtering stage 63 and gain-stage amplification. The cutoff frequency of the lowpass filter 63 is set to e.g. 30 Hz. This helps to reduce unwanted noise that may affect the signal processing that is performed on the output signal 200R which is produced by the detector. Lowpass filter 63 may be further set at a lower frequency, e.g. at less than 10 Hz, particularly equal or less than 5 Hz or 4 Hz, to further limit the upper bandwidth of the output signal 200R. The gain is set to channel-specific values, based on preliminary testing and calibration. The analog signals are then converted into digital signals by a suitable converter 64. More in detail, the analog outputs are sampled at a rate of 100 Hz with 12-bit resolution using an NI USB-6008 DAQ card (National Instruments Italy Srl, Milano, Italy) and recorded by a custom LabView Virtual Instrument. The multi-LED emitter, the signal conditioning board and the DAQ card were assembled together on a 3D-printed housing and placed inside a grounded metallic box (see
Signal Processing and Method for Detecting Heartbeat
[0124] The Applicant has understood that a (e.g. optical signal) response signal measured from a (e.g. optical signal) detector in a procedure for heartbeat detection is affected at least by red cells concentration resulting from the pulses the heart provides. As well said red cell concentration is affected also by the pulses provided by the cyclic operation of the peristaltic pump. The Applicant has further discovered that the informative signal received by the detector(s) 57 is substantially not altered by, and/or is substantially not related to or is substantially not function of, size and/or geometry variations of at least a part of the segment 101 at which said information signal is received, said size and/or geometry variations being the results of said flow perturbation of the blood flowing in the segment 101. This means that even if the segment 101 may enlarge and/or be deformed as a result of the flow peaks induced by the heart or, most of all, by the operation of any of the pumps of the apparatus, the reliability and precision of detection of the proper heartbeat frequency is finally substantially not affected. In this sense it is remarked that detecting the heartbeat frequency in accordance to the present disclosure allows for lessening the requirements of the materials and/or design of the segment 101, which may be very hard or, on the contrary soft; in contrast, reading the heartbeat frequency through any measurement of the heartbeat through evaluation of the deformation of the segment 101 may require significant consideration of the materials and sizes used for dimensioning the segment 101.
[0125]
[0126] As schematically shown in
[0127] Should the controller 65 be made through hardware processing stages, the windowing of the output signal 200R into a reference window of sampling 200W of a predetermined length may be performed by a time-domain windowing stage 67, operating on numeric signals, whose input is fed, in particular directly fed, by the output of the analog-to-digital converter 64.
[0128] The output signal 200R of
[0131] Subsequently, through the controller 65, a further electronic processing of the signal is performed. In particular, the output signal 200R, and in particular its relevant portion into the aforementioned window, is subjected to a transformation in the frequency domain, for instance through the application of a Fourier transform, in particular a fast Fourier transform (this step corresponds to block 1001 in
[0132]
[0133] The heart beat fundamental frequency, as it will be clearer through reading the subsequent part of the description corresponds to peak “3” in the spectrum, and the frequency is marked with the reference name “f.sub.HR”. It is herewith noted that the diagram also shows a 2nd harmonics of this heartbeat frequency, whose peak is designated by the reference number 200P. It is noted that up to this step, the frequency of the heartbeat is still not known, and is retrieved after some other processing steps are performed. Actually the pump 11 fundamental frequency—and thus its 2nd harmonics which as any 2nd harmonics nominally lies at the double of the fundamental—is known, to the controller 65. In fact, any apparatus 1 is provided with a specific pump 11, in particular a specific set of pumps in case many of them are present, which for any presettable flow rate [I/min] turn at a predetermined angular speed, i.e. their rollers cyclically compress and let expand a portion of tube at a predetermined frequency. Thus, it may be one of the following case: [0134] in case a finite preset table of flow rates may be set for the operation of the pump 11, the bi-univocal relation flow rate/frequency is tabled in a table stored in advance in a memory operatively accessible to the controller 65; [0135] in case a non-definite flow rate may be set by the user according to his wish, a sensor, e.g. a Hall sensor, may be arranged on the apparatus, in particular in substantial correspondence of the pump, in order to directly detect the operative frequency of the pump itself. Resuming, this part of the signal processing, as schematically marked in block 1006 of the flow-chart of
[0136] A particular embodiment of the processing therein disclosed involves setting a threshold 200T of spectrum amplitude before searching any peaks of amplitude. Said threshold value 200T may be fixed in time, or otherwise adaptive. In
[0137] According to the application of the threshold, which according to
[0138] Then the controller 65 performs a further electronic processing in the spectrum taking into consideration any peak beyond (i.e. above) the threshold 200T (we hereby call it peak under test) and considering the presence of another peak at exactly the double of the frequency at which the peak under test lies. Then for every peak under test, whose amplitude is beyond the threshold 200T (particularly moving from lower to upper frequencies): [0139] if a peak 200P is found at a frequency corresponding exactly to the double of the frequency of the peak under test, this means that the peak under test corresponds to the sought heartbeat signal, and thus to the frequency of said peak is assigned the reference f.sub.HR; [0140] if no peak is found at a frequency corresponding exactly to the double of the frequency of the peak under test, this means that said peak under tests does not correspond to the sought heartbeat signal and thus does not correspond to the heartbeat; in this case, the algorithm proceeds in taking into account another peak whose amplitude is beyond the threshold 200T (if present).
[0141] Those operations are carried out by the harmonics search stage 72, in case the controller 65 is designed to perform such operations with a hardware processor; as depicted in
[0142] In a particular albeit non-limiting embodiment, the electronic search of the peaks in the spectrum of the signal at the double of the frequency at which the peak under test lies is may be performed also keeping into consideration the peaks that lie below the threshold 200T level. This helps in reducing the risk of discarding an actual peak corresponding to the 2nd harmonics of the heartbeat. This step corresponds to the block 1008 of the flow-chart of
[0143] In the case of
[0144] Detection of the peaks in the spectrum of the pump is performed by a step of processing the output spectrum with an algorithm of peak detection; in a non-limiting, embodiment, the peak detection comprises, moving from lower frequencies to upper frequencies, calculating the derivative of the spectrum signal for detecting and at least temporarily storing the frequencies at which the derivative change sign from positive to negative (this being indicia of the peak); Said temporary storing, which is performed in a memory electronically accessible by the controller 65, e.g. an internal memory, is performed by virtue of an electronic table for which a first column represents the values of the peak frequencies sought through the peak detection algorithm and for which the second column represents the corresponding amplitude values. Thus a table similar to the exemplary one that follows may be stored in said memory.
TABLE-US-00001 Frequency [Hz] Amplitude f.sub.1p A.sub.1p f.sub.2p A.sub.2p . . . . . . f.sub.np A.sub.np
[0145] In another solution, seeking the peaks in the output spectrum may be performed through a moving-windows algorithm. In the moving window algorithm, a predefined width frequency window of exam is considered and is made moving e.g. from the lower to the upper frequencies of the reference spectrum, e.g. from the lower to the upper frequencies of the upper frequency window 200U. It may be noted that the controller 65 may be configured to make electronically the window move in a stepped way. For each step of motion of the window, the local maximal amplitude of the spectrum is considered, and its corresponding frequency is tabled in a way similar to that before. It may be noted that is convenient that in every step the frequencies of the moving window do not superimpose with frequencies of the moving window at the step before. When the controller 65 is made through hardware processing stages, those operations are conveniently made by the peak detection stage 70 and/or by the harmonics search stage 72. It is noteworthy that the algorithm herein disclosed, even with a low-computation power processing unit, allows to substantially obtain the heart rate in real time and in a substantially reliable way, without any relevant delay especially if after a set-up period e.g. for obtaining the first window of signal in the time domain.
Induced Modulation Algorithm
[0146] Applicant has further considered that reliability of reading of the correct heartbeat frequency f.sub.HR could be performed by applying the following electronic signal processing to the signal in output of the detector 57. The following steps of signal processing, which conveniently may be carried out by the controller 65, are to be performed before the step of transformation of the output signal of said reference window of sampling 200W into the frequency domain. This means, that considering the flow-chart diagram of
[0147] Hence a transformation in the frequency domain is performed on the averaged signal 301A, e.g. as previously disclosed. Further processing performed on the spectrum of the output signal is eventually performed on the average signal 301A spectrum.
[0148] It is herewith noted that the windowing process through the application of the predetermined length reference window 200W in the time domain is repeated cyclically moving the window for a predetermined amount of time or providing for buffering a new sample of reference portion output signal 200R to process as above described. Should the buffering stage so allow, the difference in time between two consecutive reference windows could be reduced at will, up to one single sample of delay.
[0149] Applicant has further noticed that during the blood treatment, which in normally quite long, the heartbeat frequency of the patient under treatment, even if in resting conditions, tends to have a (positive or negative) drift, due at least partially to the continuous change in its dynamic fluid conditions. This drift may result in a superimposition of the heartbeat frequency with the fundamental frequency of the pump. The controller 65 may be further configured to allow activation of a warning signal if the heartbeat frequency f.sub.HR is too close to the frequency f.sub.P1 of operation of the pump 11. If during the blood treatment it is observed that, during the time, the heartbeat frequency f.sub.HR gets progressively too much close to the frequency f.sub.P1 of operation of the pump 11, it activates a warning user signal (e.g. a visible and/or auditive alarm) for the user and optionally starts to record in a dedicated buffer all the recent amplitudes of the peak of the pump 11. This is warning condition, because if the cardiac frequency f.sub.HR gets substantially superimposed to the frequency f.sub.P1 of operation of the pump 11, the present algorithm is no longer capable of distinguishing it. Applicant has further considered also this event, and provided for conceiving and configuring the controller 65 so that in this case, in addition to the activation of the alarm signal, the controller 65 sends an appropriate signal to the electric actuator of the pump 11 so that its speed (thus, flow rate, and frequency of operation) is changed, so that the resulting new frequency of operation results more distanced from the heartbeat frequency. In an embodiment, changing the speed and thus the flow rate and the frequency of rotation of the pump 11 is performed automatically in an iterative cycle of control performed by the controller 65; in order not to vary the total volume of blood which is treated during the whole session, the control unit may provide alternate changes of the pump blood flow rate (e.g., +/−30 ml/min) during the treatment session. Otherwise, the controller 65 may be configured to provide through the monitor of the apparatus 1 an indication to the operator for setting a new pump 11 speed, so that the change takes place manually.
[0150] Operatively a difference (or the absolute value thereof) is electronically calculated between the frequency f.sub.P1 of operation of the pump 11 and the heartbeat frequency f.sub.HR; the result of the difference is then compared to a reference value, and the control of the pump 11 is performed so that the resulting new frequency of operation of the pump 11 results more distanced from the heartbeat frequency. Another relevant advantage of the detection provided through the application of the algorithm for heartbeat detection herewith disclosed is that any sudden disappearance of the heartbeat may be easily detected. Applicant notices that disappearance of the heartbeat, i.e. a sudden condition wherein the sensor 100 no more detects any heartbeat frequency f.sub.HR may be the result of an unwanted disconnection of the venous port from the blood circuit 6,7, which may result in a gross leakage of blood that could result in an hypovolemic condition which may even affect life of a patient. For this purpose, an alarm signal may be produced in case a sudden lack of any heartbeat frequency is detected by the sensor 100, i.e. in case the sensor loses and/or is not able to detect any heartbeat frequency in accordance to the aforementioned disclosed process, in particular while in presence of the informative signal, i.e. while actually the optical source 53 is operative and/or while the detector 57 actually receives the informative signal with the pump signal but without any other useful signal with a 2nd harmonics within the conditions disclosed in the previous part of the description. Such alarm signal may be an electric signal transmitted to a user interface (e.g. monitor and/or loudspeaker) of the apparatus 1 for blood treatment or may directly be an acoustic or visible signal directly produced by the sensor 100 itself. Any part of the controller 65 may be made through a hardware data processing unit, in case comprising an arithmetic logic unit, suitable to perform at least part of the steps of the algorithms of signal processing herein described. In particular the controller may run an appropriate program, comprising software code portions which when executed by the controller 65 cause the execution of one or more of the steps disclosed in the present disclosure. The program may be referred as a software or firmware, and may be stored in a memory, in particular a non-transitory memory operatively, in particular electrically, accessible by the controller 65; said memory may be physically arranged within or outside the body of the sensor 100, and which in particular may be part of the apparatus for blood treatment. The data processing unit of the controller 65 may be in the form of a general-type processor or in the form of a dedicated processor; parts of the controller 65 and/or of said data processing unit may be made by an application specific integrated circuit or through an FPGA. In one or more embodiments, the apparatus 1, sensor 100, controller 65 or method may be implemented using one or more computer programs executed on programmable computers, such as computers that include, for example, processing capabilities, data storage (e.g., volatile or non-volatile memory and/or storage elements), input devices, and output devices. Program code and/or logic described herein may be applied to input data to perform functionality described herein and generate desired output information. The output information may be applied as input to one or more other devices and/or methods as described herein or as would be applied in a known fashion. The program used to implement the methods and/or processes described herein may be provided using any programmable language, or code, e.g., a high level procedural and/or object orientated programming language or code that is suitable for communicating with a computer system. Any such programs may, for example, be stored on any suitable device, e.g., a storage media, that is readable by a general or special purpose program running on a computer system (e.g., including processing apparatus) for configuring and operating the computer system when the suitable device is read for performing the procedures described herein. In other words, at least in one embodiment, the apparatus 1, sensor 100, controller 65 or method may be implemented using a computer readable storage medium, configured with a computer program, where the storage medium so configured causes the computer to operate in a specific and predefined manner to perform functions described herein. Further, in at least one embodiment, the apparatus 1, sensor 100, controller 65 or method may be described as being implemented by logic (e.g., object code) encoded in one or more non-transitory media that includes code for execution and, when executed by a processor, is operable to perform operations such as the methods, processes, and/or functionality described herein. The controller 65 may be, for example, any fixed or mobile computer system (e.g., a controller, a microcontroller, a personal computer, mini computer, etc.). The exact configuration of the controller 65 is not limiting, and essentially any device capable of providing suitable computing capabilities and control capabilities (e.g., graphics processing, control of extracorporeal blood treatment apparatus, etc.) may be used. As described herein, a digital file may be any medium (e.g., volatile or non-volatile memory, a CD-ROM, a punch card, magnetic recordable tape, etc.) containing digital bits (e.g., encoded in binary, trinary, etc.) that may be readable and/or writeable by controller 65 described herein. Also, as described herein, a file in user-readable format may be any representation of data (e.g., ASCII text, binary numbers, hexadecimal numbers, decimal numbers, graphically, etc.) presentable on any medium (e.g., paper, a display, etc.) readable and/or understandable by an operator. In view of the above, it will be readily apparent that the functionality as described in one or more embodiments according to the present disclosure may be implemented in any manner as would be known to one skilled in the art. As such, the computer language, the computer system, or any other software/hardware which is to be used to implement the processes described herein shall not be limiting on the scope of the apparatus, sensor, processes or programs (e.g., the functionality provided by such apparatus, sensor, processes or programs) described herein. The methods and/or logic described in this disclosure, including those attributed to the sensor and/or to the apparatus and/or to the controller, or various constituent components, may be implemented, at least in part, in hardware, software, firmware, or any combination thereof. For example, various aspects of the techniques may be implemented within one or more processors, including one or more microprocessors, DSPs, ASICs, FPGAs, or any other equivalent integrated or discrete logic circuitry, as well as any combinations of such components, or other devices. The term “processor” or “processing circuitry” may generally refer to any of the foregoing logic circuitry, alone or in combination with other logic circuitry, or any other equivalent circuitry. Such hardware, software, and/or firmware may be implemented within the same device or within separate devices to support the various operations and functions described in this disclosure. In addition, any of the described components may be implemented together or separately as discrete but interoperable logic devices. Depiction of different features, e.g., using block diagrams, etc., is intended to highlight different functional aspects and does not necessarily imply that such features must be realized by separate hardware or software components. Rather, functionality may be performed by separate hardware or software components or integrated within common or separate hardware or software components. When implemented in software, the functionality ascribed to the controller, sensor, apparatus and methods described in this disclosure may be embodied as instructions and/or logic on a computer-readable medium such as RAM, ROM, NVRAM, EEPROM, FLASH memory, magnetic data storage media, optical data storage media, or the like. The instructions and/or logic may be executed by one or more processors to support one or more aspects of the functionality described in this disclosure.