A blood leakage detection method and system
By collecting and calculating the slope of the R, G, and B color signals passed through the reservoir in real time, determining whether blood leakage occurs, the false alarm and missed response problems caused by optical path changes caused by sediments in the prior art are solved, and the accuracy and reliability of blood leakage detection are improved.
Patent Information
- Application Number
- CN202410102363.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-24
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2044-01-24
AI Technical Summary
During the dialysis treatment, the existing blood leakage detectors have increased sediment on the tube wall, resulting in changes in the optical pathway. The initially measured optical signal is no longer reference, causing false alarms, missed alarms and other phenomena.
By collecting the R, G, and B color signals transmitted through the liquid storage tank in real time, and calculating the slopes of the G and B signals, determining whether blood leakage occurs based on the relationship between the slope and the set threshold, avoiding misjudgment caused by light scattering caused by sediments.
It reduces false alarms and missed reports, improves the accuracy and reliability of blood leakage detection, can dynamically track sediment changes, and accurately judge blood leakage in real time.
Smart Images

Figure CN117919530B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical technology, and in particular to a blood leakage detection method and system. Background Art
[0002] In existing blood purification equipment, the patient's blood flows out of the body through the pipeline and purification device, and then returns to the body, forming an extracorporeal circulation system. Blood purification uses the pressure between the dialyzer or filter membrane to achieve diffusion and convection. When the membrane pressure is too large and exceeds the normal range, it will cause the membrane to rupture, causing blood leakage, thus endangering the patient's life safety.
[0003] In the prior art, when blood leakage occurs, it will be detected by a sensor. The existing detection device emits white light, and the light shines on the color sensor through a liquid storage tank filled with transparent liquid. The color sensor monitors the red light, green light and blue light signal quantity in the white light, and takes the light signal quantity measured for the first time as the monitoring reference value. The color sensor transmits the detected signal to the control circuit; when there is blood in the liquid storage tank, red blood cells will be suspended in the dialysate, and the white light passing through the liquid storage tank will be converted into red light and shine on the color sensor. The color sensor senses the red light and outputs data to the control circuit. The control circuit compares the measured red light, green light and blue light signal quantity with the monitoring reference value measured for the first time, determines that blood leakage has occurred, and issues an alarm.
[0004] However, since the existing blood leakage detector uses the initial measured light signal as the reference value, during the dialysis treatment, the increase of deposits on the tube wall will cause the optical pathway to change. At this time, the initial measured light signal is no longer of reference value. Using the initial measured light signal as a reference will lead to false alarms, missed alarms, etc. Summary of the invention
[0005] In order to overcome the defects in the prior art, the present invention aims to provide a blood leakage detection method and system.
[0006] In order to achieve the above-mentioned object of the present invention, the present invention provides a blood leakage detection method, comprising the following steps:
[0007] Emit white light to the liquid storage tank and collect the three color signals of R, G, and B passing through the liquid storage tank in real time;
[0008] The slopes of the G and B signals are calculated in real time, and whether bleeding occurs is determined based on the relationship between the slopes of the G and B signals and the slope threshold.
[0009] When the slopes of the G and B signals both exceed the slope threshold, it is determined that blood leakage has occurred.
[0010] The blood leakage detection method determines whether to start detecting blood leakage by detecting the slope of the G and B signals, thereby avoiding false judgment of blood leakage caused by light scattering caused by sediment on the wall of the dialysis pipeline.
[0011] In an optional solution of the blood leakage detection method, when no blood leakage occurs, the average values of the R, G, and B signals within the set time period or the set number of data are recalculated every time a set time period is set or every time a set number of data is collected;
[0012] When blood leakage occurs, the tracking ratio of G / R and the tracking ratio of B / R are calculated according to the average values of the R, G, and B signals, and the real-time ratio of G / R and the real-time ratio of B / R and the real-time ratio of (RG) / (GB) are calculated according to the real-time R, G, and B signals. When the real-time ratio of G / R is less than the tracking ratio of G / R, the real-time ratio of B / R is less than the tracking ratio of B / R, and the real-time ratio of (RG) / (GB) is less than the set threshold, a blood leakage alarm signal is issued.
[0013] In this optional solution, the tracking ratio of G / R and the tracking ratio of B / R are real-time and dynamic. When the deposits change during treatment, the tracking ratio of G / R and the tracking ratio of B / R can also track the changes in real time. The results of the blood leakage alarm judgment based on this will be very accurate and reliable.
[0014] In an optional embodiment of the blood leakage detection method, a baseline ratio of G / R and a baseline ratio of B / R are calculated based on the tracking ratio of G / R and the tracking ratio of B / R;
[0015] The G / R reference ratio=k*G / R tracking ratio;
[0016] The base ratio of B / R=k*the tracking ratio of B / R;
[0017] The k is a positive number less than 1. When the real-time ratio of G / R is less than the reference ratio of G / R, the real-time ratio of B / R is less than the reference ratio of B / R, and the real-time ratio of (RG) / (GB) is less than the set threshold, a blood leakage alarm signal is issued.
[0018] In this optional solution, the corresponding reference ratios are calculated based on the G / R tracking ratio and the B / R tracking ratio, thereby further improving the sensitivity and accuracy of the blood leakage alarm judgment.
[0019] In an optional scheme of the blood leakage detection method, the color sensor collects three color signals R, G, and B for dynamic smoothing filtering, and the filtered G and B signals are slidably loaded into the slope calculation array, and the least squares method is used to dynamically calculate the slope changes of the G and B signals.
[0020] In an optional scheme of the blood leakage detection method, when blood leakage occurs before the set time duration is reached or the set amount of data is not collected, the data from the last calculation of the average value of the R, G, B signals to the current period is discarded, and the last calculated average value of the R, G, B signals is used to calculate the G / R tracking ratio and the B / R tracking ratio.
[0021] The present invention also proposes a blood leakage detection system, comprising a light emitting device, a color sensor and a controller, wherein the color sensor and the controller are in communication connection;
[0022] The light emitting device emits white light through the liquid storage tank, and the color sensor collects the three color signals R, G, and B that pass through the liquid storage tank in real time and sends them to the controller. The controller performs blood leakage detection based on the three color signals R, G, and B according to the above-mentioned blood leakage detection method.
[0023] The blood leakage detection system has all the advantages of the above-mentioned blood leakage detection method.
[0024] In an optional solution of the blood leakage detection system, the light emitting device is connected to a controller, and the controller controls the light emitting device to emit light and the light intensity.
[0025] In an optional solution of the blood leakage detection system, the controller includes a processing unit and a storage unit which are communicatively connected to each other, the processing unit receives three color signals R, G, and B sent by the color sensor, and the storage unit is used to store at least one executable instruction, and the executable instruction enables the processing unit to perform operations corresponding to the above-mentioned blood leakage detection method.
[0026] The beneficial effects of the present invention are as follows: the present invention performs blood leakage alarm judgment based on the real-time and dynamic G / R tracking ratio\reference ratio and B / R tracking ratio\reference ratio, thereby overcoming the problem that the optical path of the existing blood leakage detector is changed due to the increase of deposits on the tube wall, so that the optical signal measured for the first time is no longer of reference value, thereby reducing false alarms, missed alarms and the like, and improving the accuracy and reliability of blood leakage detection.
[0027] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0029] Figure 1 It is a schematic diagram of the process of embodiment 1;
[0030] Figure 2It is a flowchart for determining whether to issue a blood leakage alarm;
[0031] Figure 3 It is a structural principle block diagram of the second embodiment. DETAILED DESCRIPTION
[0032] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0033] In the description of the present invention, unless otherwise specified and limited, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a mechanical connection or an electrical connection, or it can be the internal connection between two components. It can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to the specific circumstances.
[0034] Embodiment 1
[0035] like Figure 1 As shown, the present invention provides a blood leakage detection method, the specific steps are:
[0036] A light-emitting device is used to emit white light through the liquid storage tank in real time, and a color sensor is used to collect the three color signals of R (red), G (green), and B (blue) that pass through the liquid storage tank in real time; the R, G, and B color signals are read and dynamically smoothed to filter out the electromagnetic interference signal and the fluctuation signal caused by bubbles to obtain a stable signal. The filtered G and B signals are slidably loaded into the slope calculation array, and the least squares method is used to dynamically calculate the slope change of the G signal and the slope change of the B signal. Since the G and B signals will have a significant decline process when blood leakage occurs, the relationship between the slope of the G signal and the slope threshold of the G signal, and the slope of the B signal and the slope threshold of the B signal is detected to determine whether to start detecting blood leakage, so as to avoid false alarms caused by light scattering caused by sediments on the tube wall.
[0037] In this embodiment, when the G signal slope exceeds the G signal slope threshold and the B signal slope exceeds the B signal slope threshold, it is determined that blood leakage occurs; otherwise, it is determined that no blood leakage occurs. Both the G signal slope threshold and the B signal slope threshold can be set based on experience.
[0038] When no bleeding occurs, the average value of the R, G, and B signals within the set time or the set number of data is recalculated every set interval or every time a set number of data is collected, which is used as the reference signal for subsequent calculations. For example, when the current data fluctuates slightly, a set of RGB data is recorded every 5 seconds, and the recorded RGB data is filtered every 2 minutes, and the average value of the R, G, and B signals of the data within these 2 minutes is calculated. Or the average value of the R, G, and B signals of these N sets of RGB data is calculated every time N sets of RGB data are collected. If the data changes greatly, the frequency of recording RGB data can be increased to shorten the set time.
[0039] When blood leakage occurs, the tracking ratio of G / R and the tracking ratio of B / R are calculated according to the average values of R, G, and B signals, and the real-time ratio of G / R and the real-time ratio of B / R and the real-time ratio of (RG) / (GB) are calculated according to the real-time R, G, and B signals. When the real-time ratio of G / R is less than the tracking ratio of G / R, the real-time ratio of B / R is less than the tracking ratio of B / R, and the real-time ratio of (RG) / (GB) is less than the set threshold (which can be set based on experience), a blood leakage alarm signal is issued.
[0040] To further improve the accuracy of judgment, Figure 2 As shown, the reference ratio of G / R and the reference ratio of B / R can also be calculated based on the tracking ratio of G / R and the tracking ratio of B / R.
[0041] The benchmark ratio of G / R = k*the tracking ratio of G / R, the benchmark ratio of B / R = k*the tracking ratio of B / R, wherein k is a positive number less than 1.
[0042] When the real-time ratio of G / R is less than the reference ratio of G / R, the real-time ratio of B / R is less than the reference ratio of B / R, and the real-time ratio of (RG) / (GB) is less than the set threshold, a blood leakage alarm signal is issued.
[0043] When leakage occurs before the set duration is reached or the set amount of data is collected, the data from the last calculation of the R, G, B signal average to the current time is discarded, that is, the dynamic tracking array index is cleared, and the last calculated average of the R, G, B signals is used to calculate the G / R tracking ratio and the B / R tracking ratio. For example, assuming that the R, G, B signal average is calculated once for a total of 20 data, and an alarm occurs when 15 data are stored, then the stored 15 data will be discarded; or a set of RGB data is recorded every 5 seconds, and the R, G, B signal average is calculated once for the recorded RGB data every 2 minutes, but an alarm occurs only 1 minute after the last calculation of the R, G, B signal average, then the data stored for 1 minute will be discarded.
[0044] Embodiment 2
[0045] like Figure 3 As shown, the present invention also provides a blood leakage detection system, including a light emitting device, a color sensor and a controller (not shown), and the color sensor and the controller are communicatively connected.
[0046] The light-emitting device emits white light through a liquid storage tank, wherein the liquid storage tank is arranged at the waste liquid end of dialysis, and the liquid in the liquid storage tank includes dialysis fluid and human waste fluid. The color sensor collects three color signals R, G, and B through the liquid storage tank in real time and sends them to the controller, and the controller performs blood leakage detection based on the three color signals R, G, and B according to the above-mentioned blood leakage detection method.
[0047] In a specific embodiment, the light emitting device may also be connected to a controller, and the controller controls the light emitting device to emit light and the light intensity, which is more convenient for setting various threshold parameters. The controller may include a processing unit and a storage unit that are communicatively connected to each other, the processing unit receives the three color signals R, G, and B sent by the color sensor, and the storage unit is used to store at least one executable instruction, which enables the processing unit to perform operations corresponding to the above-mentioned blood leakage detection method to perform blood leakage detection.
[0048] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0049] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
Claims
1. A blood leakage detection method, characterized in that: The following steps are involved: Emit white light to the liquid storage tank and collect the three color signals of R, G, and B passing through the liquid storage tank in real time; The slopes of G and B signals are calculated in real time, and whether bleeding occurs is determined based on the relationship between the slopes of G and B signals and the slope threshold.
2. The blood leakage detection method according to claim 1, characterized in that: When the slopes of the G and B signals both exceed the slope threshold, it is determined that blood leakage has occurred.
3. The blood leakage detection method according to claim 1, characterized in that: When no bleeding occurs, the average values of the R, G, and B signals within the set time period or the set number of data are recalculated every time a set time period is set or every time a set number of data is collected; When blood leakage occurs, the tracking ratio of G / R and the tracking ratio of B / R are calculated according to the average values of the R, G, and B signals, and the real-time ratio of G / R and the real-time ratio of B / R and the real-time ratio of (RG) / (GB) are calculated according to the real-time R, G, and B signals. When the real-time ratio of G / R is less than the tracking ratio of G / R, the real-time ratio of B / R is less than the tracking ratio of B / R, and the real-time ratio of (RG) / (GB) is less than the set threshold, a blood leakage alarm signal is issued.
4. The blood leakage detection method according to claim 3, characterized in that: Calculate the benchmark ratio of G / R and the benchmark ratio of B / R based on the tracking ratio of G / R and the tracking ratio of B / R; The G / R reference ratio=k*G / R tracking ratio; The base ratio of B / R=k*the tracking ratio of B / R; The k is a positive number less than 1. When the real-time ratio of G / R is less than the reference ratio of G / R, the real-time ratio of B / R is less than the reference ratio of B / R, and the real-time ratio of (RG) / (GB) is less than the set threshold, a blood leakage alarm signal is issued.
5. The blood leakage detection method according to claim 1, characterized in that: The color sensor collects the three color signals R, G, and B for dynamic smoothing filtering, slides the filtered G and B signals into the slope calculation array, and uses the least squares method to dynamically calculate the slope changes of the G and B signals.
6. The blood leakage detection method according to claim 3, characterized in that: When bleeding occurs before the set duration is reached or the set amount of data is not collected, the data from the last calculation of the average value of the R, G, and B signals to the current period is discarded, and the average value of the last calculated R, G, and B signals is used to calculate the G / R tracking ratio and the B / R tracking ratio.
7. A blood leakage detection system, characterized in that: It includes a light emitting device, a color sensor and a controller, wherein the color sensor and the controller are communicatively connected; The light emitting device emits white light through the liquid storage tank, and the color sensor collects the three color signals R, G, and B through the liquid storage tank in real time and sends them to the controller, and the controller Perform blood leakage detection according to the blood leakage detection method according to any one of claims 1 to 6.
8. The blood leakage detection system according to claim 7, characterized in that: The light emitting device is connected to a controller, and the controller controls the light emitting device to emit light and the light intensity.
9. The blood leakage detection system according to claim 7, characterized in that: The controller includes a processing unit and a storage unit which are communicatively connected to each other, the processing unit receives three color signals R, G, and B sent by the color sensor, and the storage unit is used to store at least one executable instruction, and the executable instruction enables the processing unit to perform an operation corresponding to the blood leakage detection method according to any one of claims 1-6.
Citation Information
Patent Citations
Blood leakage monitoring system for blood purification
CN102755673A
Automatic balancing displacement device used for supporting multiple organs
CN103251993A