Peritoneal dialysis device

By activate the light emitter using the swept-frequency mode in the dialysis perfusion sensor, forming a light brightness waveform and comparing it with the reference waveform, the problem of inaccurate detection in the prior art is solved, and the accurate detection of the existence of fluid in the dialysis tube is achieved.

CN119055865APending Publication Date: 2024-12-03VANTIVE US HEALTHCARE LLC +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411183405.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2019-04-08
Filing Date
2020-04-06
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

When existing dialysis perfusion sensors detect the presence of fluid in the tube, they are susceptible to ambient light, tube properties and fluid type, resulting in inaccurate detection.

Method used

Using at least two light emitters and one light detector, the light emitter is activated through the sweep mode, the periodic sample of light brightness is recorded, the waveform of light brightness is formed, and the reference waveform in different states is compared to the tube. Whether there is any fluid in the tube.

Benefits of technology

Accurate detection of the existence of fluids in the dialysis tube is achieved, reducing the influence of ambient light, tube properties and fluid properties, and improving the accuracy of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119055865A_ABST
    Figure CN119055865A_ABST
Patent Text Reader

Abstract

The invention relates to a peritoneal dialysis device. A perfusion sensor for a medical fluid delivery device is disclosed. In an example, a perfusion sensor includes a light emitter and a detector. The detector is configured to detect light emitted by the emitter that interacts with a patient tube connected to the perfusion sensor. A processor of a medical fluid delivery device operates a transmitter in a sweep mode during a sweep period. The processor receives, from the detector, output data indicative of the light detected during the sweep period. The processor creates an output waveform corresponding to a sweep period based on the output data and compares the output waveform to at least one reference waveform to determine one of (a) a no-pipe state, (b) a dry pipe state, or (c) a wet pipe state. The processor provides an output indicative of the comparison for operation of the medical fluid delivery device.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application, and the parent case it is targeting is a Chinese invention patent application whose applicants are "Baxter International Corporation" and "Baxter Healthcare Co., Ltd.", with an application date of April 6, 2020, an invention name of "Perfusion sensor for medical fluid delivery system", and an application number of 202080026409.4. Technical Field

[0002] The present invention relates to a perfusion sensor for use in a medical fluid delivery system. Background Art

[0003] People with damaged or malfunctioning kidneys may undergo dialysis treatments to remove waste products from their blood. One common type of dialysis is peritoneal dialysis ("PD"), in which a clean fluid called peritoneal dialysis solution is moved into the peritoneal cavity of the patient's abdomen via a catheter. The clean fluid absorbs waste products during a dwell period. After the dwell period is over, the clean fluid is removed from the patient's peritoneal cavity along with the absorbed waste products, thereby compensating for the patient's damaged kidneys.

[0004] Typically, a PD machine is used to pump a prescribed volume of clean fluid into the peritoneal cavity of a patient. The PD machine allows the clean fluid to remain in the patient during a dwell period. After the dwell period, the PD machine discharges the clean fluid and waste from the patient's peritoneal cavity. Some PD machines typically prime the tubes and tubing sets that direct the clean fluid to the patient to remove air, thereby preventing air from being transmitted to the patient's peritoneal cavity. Prime typically involves pumping clean fluid to the end of a tube (such as a tube connected to a patient during PD treatment) to remove air from the tube.

[0005] The PD machine may be located in the patient's home, clinic, or hospital. Many times, the patient prepares their machine for treatment, including running a priming sequence. To assist the patient in priming the tubes, the PD machine may include a sensor that detects when the tubes are properly primed. Some sensors use light to detect when the cleaning fluid reaches the end of the tubes, which indicates successful priming. However, fluctuations in ambient light, tube properties, and / or fluid type may cause the optical sensor to be less accurate than desired. Summary of the invention

[0006] The exemplary systems, devices, and methods disclosed herein are configured to provide an accurate dialysis perfusion sensor that is relatively insensitive to ambient light brightness, tube properties, and / or fluid type. The dialysis perfusion sensor includes at least two light emitters and at least one light detector. The processor is configured to activate at least two light emitters in a sweep mode while sampling the output from at least one light detector during the perfusion sequence of the PD machine. The exemplary processor is configured to compare the data from the sampled output with one or more reference curves to detect when there is no tube, when there is a tube but the tube is dry, or when there is a tube and the tube includes a fluid (such as a perfusion fluid). The processor is also configured so that after detecting that the tube is present and includes a fluid (e.g., a wet tube state), the processor provides an indication of successful perfusion of the patient line for the PD and allows the perfusion sequence to continue / end and / or the PD treatment to begin. The processor can also be configured to provide an indication of failed perfusion of the patient line if, for example, a wet tube state is not detected within a defined time period.

[0007] In an embodiment, an exemplary system, apparatus, and method utilizes a light emitter to perform a sweeping mode for performing analysis based on transmitted and reflected light caused by the interaction of light with the tube and any fluid in the tube. The emitter can be positioned at different angles relative to the tube and the detector to distinguish the light transmission and reflection of each emitter, thereby creating a variation of the sweeping mode. During the sweeping period, the light detector is sampled, for example, 10 to 100 times, and in a preferred embodiment, 50 to 75 times. The exemplary system, method, and apparatus are configured to use the sampled light intensity data to create a waveform of the detected light intensity during the sweeping period. Different waveform patterns are formed based on whether the tube exists and whether the fluid resides in the tube. The exemplary system, method, and apparatus use different reference waveforms to compare with the detected or sampled waveforms to determine whether the tube exists and whether the current tube contains fluid. The difference between the waveform shape of each of the different possible tube states eliminates potential detection errors caused by changing ambient light conditions, tube properties, and / or fluid properties.

[0008] According to the disclosure herein and without limiting the present disclosure in any way, in a first aspect of the present disclosure (which may be combined with any other aspect listed herein unless otherwise stated), a peritoneal dialysis apparatus comprises: a patient tube configured to receive dialysis fluid from a dialysis fluid source; at least one pump configured to move the dialysis fluid from the source to the patient tube; a perfusion sensor comprising a first emitter, a second emitter, a third emitter and a detector configured to detect light emitted by the first emitter, the second emitter and the third emitter that interacts with the patient tube; a processor configured to operate the perfusion sensor; and a memory storing instructions, the instructions When executed by a processor, causes the processor to: (i) cause the first emitter, the second emitter, and the third emitter to operate in a swept mode during a swept period, wherein a peak brightness of the first emitter occurs before a peak brightness of the second emitter, and a peak brightness of the second emitter occurs before a peak brightness of the third emitter, (ii) receive output data from a detector indicating light detected during the swept period, (iii) create an output waveform corresponding to the swept period based on the output data, (iv) compare the output waveform with at least one reference waveform to determine one of (a) a no tube state, (b) a dry tube state, or (c) a wet tube state, and (v) provide an output indicative of the comparison.

[0009] According to a second aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the processor is further configured to cause, if a wet tube state is determined, to send a message indicating the wet tube state, and to repeat (i) to (iv) during the priming sequence while causing the at least one pump to move dialysis fluid from the source to the patient tube until the wet tube state is determined.

[0010] According to a third aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the processor is further configured such that if a wet tube condition is determined, peritoneal dialysis treatment is initiated.

[0011] According to a fourth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the processor is configured to determine an analysis output waveform by calculating a derivative of the output waveform; and compare the analysis output waveform with at least one reference waveform to determine one of states (a) to (c).

[0012] According to a fifth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the apparatus comprises at least three reference waveforms, and the processor is configured to match one of the reference waveforms with the output waveform to determine states (a) to (c).

[0013] According to a sixth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the apparatus includes a user interface configured to display at least one of text or graphics corresponding to the determined states (a) to (c).

[0014] According to a seventh aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the processor and detector cooperate to acquire ten to one hundred samples to form output data indicative of light detected during the sweep period.

[0015] According to an eighth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the processor is configured to increment a counter each time a wet pipe state is determined; compare the value of the counter with a counter threshold; and determine a wet pipe state when the value of the counter is equal to or exceeds the counter threshold.

[0016] According to a ninth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the counter threshold is between 2 and 10.

[0017] According to the tenth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the processor causes the emitter to operate in a sweep mode in the following manner: at a first time, causing the first emitter to emit light during a first time period according to an activation pattern defined by instructions in the memory; at a second time after the first time, causing the second emitter to emit light during a second time period according to the activation pattern; and at a third time after the second time, causing the third emitter to emit light during a third time period according to the activation pattern.

[0018] According to an eleventh aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the second time starts during or after the first time period, and the third time starts during or after the second time period.

[0019] According to the twelfth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the second time starts between half of the first time period and 3 / 4 of the first time period, and the third time starts between half of the second time period and 3 / 4 of the second time period.

[0020] According to the thirteenth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the activation mode specifies control of the brightness of light emitted by the first emitter, the second emitter, and the third emitter by increasing the duty cycle from the beginning of the corresponding time period until half of the corresponding time period when the peak brightness is reached and reducing the duty cycle from half of the corresponding time period until the end of the corresponding time period.

[0021] According to a fourteenth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the activation pattern corresponds to a Gaussian pulse waveform.

[0022] According to a fifteenth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), when the patient tube is inserted into the perfusion sensor, the first transmitter is located on a first side of the patient tube opposite to the detector, and the detector is located on a second side of the patient tube.

[0023] In accordance with a sixteenth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), a second emitter is located on a first side of the patient tube adjacent to the first emitter, and a third emitter is adjacent to the second emitter and is aligned to direct light between 30 degrees and 60 degrees relative to light emitted from the first emitter and the second emitter.

[0024] According to the seventeenth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the first emitter is positioned as a transmissive light emitting diode relative to the detector, the second emitter is positioned as an intermediate light emitting diode relative to the detector, and the third emitter is positioned as a reflective light emitting diode relative to the detector.

[0025] According to an eighteenth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the perfusion sensor comprises at least one retainer segment configured to retain a patient tube within the perfusion sensor.

[0026] According to a nineteenth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise specified), a peritoneal dialysis device includes: a perfusion sensor, the perfusion sensor including a first emitter, a second emitter and a detector, the detector being configured to detect light emitted by the first emitter and the second emitter through the dialysis tube; a processor, the processor being configured to operate the perfusion sensor; and a memory storing instructions, which, when executed by the processor, cause the processor to: (i) cause the first emitter and the second emitter to operate in a sweep mode during a sweep period, (ii) receive output data indicating light detected during the sweep period from the detector, (iii) create an array curve corresponding to the sweep period based on the output data, (iv) determine a state of the dialysis tube based on the array curve, the state including at least one of a tubeless state, a dry tube state and a wet tube state, and (v) if the wet tube state is determined, send a message indicating that the dialysis tube is perfused.

[0027] According to the twentieth aspect of the present disclosure (which may be used in combination with any other aspect listed herein unless otherwise stated), the processor is configured to determine the state of the dialysis tube by: removing the common-mode offset of the array curve to exclude ambient light effects; scaling the array curve based on the common-mode offset to normalize the shape of the array curve; calculating the first-order derivative of the scaled array curve; subtracting a reference curve for each of the three states from the first-order derivative of the scaled array curve; calculating the absolute value of the area for each of the three reference curves by subtracting the corresponding reference curve from the scaled array curve; and determining the state by selecting the reference curve corresponding to the minimum absolute value of the area of ​​the reference curve.

[0028] In the twenty-first aspect of the present disclosure, in combination Figures 1 to 28 Any one or more of the disclosed structures, functions and alternatives may be combined with Figures 1 to 28 Any other structure, function and alternative combination disclosed in any other one or more of the foregoing.

[0029] In accordance with the present disclosure and the above aspects, it is therefore an advantage of the present disclosure to provide an improved priming system, apparatus, and method for a medical fluid delivery system.

[0030] Another advantage of the present disclosure is the accurate detection of when fluid reaches a specific location within a dialysis tubing, regardless of ambient light, tubing properties, and / or fluid properties.

[0031] Yet another advantage of the present disclosure is to provide a perfusion sensor and method that can be applied to different types of medical fluid delivery machines.

[0032] The advantages discussed herein may be found in one or some embodiments disclosed herein, and may not be found in all embodiments disclosed herein.Additional features and advantages are described herein and will be apparent from the following detailed description and accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a schematic diagram illustrating an exemplary medical fluid delivery system including a perfusion sensor and a dialysis machine according to an exemplary embodiment of the present disclosure.

[0034] Figure 2 is a diagram illustrating an exemplary embodiment according to the present disclosure Figure 1 A perspective view of an exemplary medical fluid delivery system and a perfusion sensor of a dialysis machine.

[0035] Figure 3 and Figure 4 is a diagram showing an exemplary embodiment according to the present disclosure Figure 1 and Figure 2 Top view of the perfusion sensor circuit board.

[0036] Figure 5 According to an exemplary embodiment of the present disclosure Figure 3 and Figure 4 Diagram of the directional radiation pattern of the transmitter of the perfusion sensor.

[0037] Figure 6 According to an exemplary embodiment of the present disclosure Figure 3 and Figure 4 Diagram of the directional radiation sensitivity pattern of the detector of the perfusion sensor.

[0038] 7A to 7E is a diagram illustrating how a processor according to an exemplary embodiment of the present disclosure utilizes Figure 3 and Figure 4 The perfusion sensor is operated to create a map in swept frequency mode.

[0039] Figure 8 and Fig. 9 FIG. 1 is a diagram illustrating a method for a pipeless state according to an exemplary embodiment of the present disclosure. Fig. 7A An exemplary graph of a subset or portion of a swept frequency pattern.

[0040] Fig.10 According to an exemplary embodiment of the present disclosure, for a pipeless state, by aggregating or otherwise combining in Fig. 7A A diagram of the waveform formed by the output data sampled during the frequency sweep period.

[0041] Figures 11 to 16is a graph of acquired waveforms and correspondingly calculated derivative waveforms for different tube states according to an exemplary embodiment of the present disclosure.

[0042] Figures 17 to 19 is a diagram illustrating a reference waveform according to an exemplary embodiment of the present disclosure and a Figures 11 to 16 A plot of the margin between the calculated derivative waveforms.

[0043] Fig. 20 is a diagram of an exemplary process for determining a tube status of a patient tube according to an exemplary embodiment of the present disclosure.

[0044] Figure 21 to Figure 27 is a diagram of a graphic that may be displayed by a dialysis machine to assist a patient in performing a priming procedure in preparation for a dialysis treatment, according to an exemplary embodiment of the present disclosure.

[0045] Fig.28 is a diagram of an exemplary process configured to determine a tube status of a patient tube according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0046] A medical fluid delivery system is disclosed herein. An exemplary medical fluid delivery system may include a peritoneal dialysis machine and / or a hemodialysis machine. The medical fluid delivery system includes a perfusion sensor configured to detect when at least one tube or line group is perfused with an appropriate fluid (such as a cleaning or perfusion liquid). The perfusion sensor includes a plurality of light emitters and at least one light detector. During a perfusion operation, the light emitters are activated in a sweep mode, and the detectors record periodic samples of light brightness. The sampled data is aggregated or otherwise combined into a waveform (e.g., an array curve) indicating the light brightness detected during the sweep period. The waveform is compared with reference waveforms corresponding to different possible states (including, for example, a tubeless state, a dry tube state, and a wet tube state). The reference waveform that is closest to the detected waveform is selected to determine the current perfusion state associated with the dialysis tube.

[0047] In some examples, the medical fluid delivery system is configured such that if a dry tube state is detected, the medical fluid delivery system provides an alarm indicating that the dialysis tube needs to be inserted into the perfusion sensor. The medical fluid delivery system can prevent the start of perfusion of the dialysis tube until the tube is detected by the sensor. If a dry tube state is detected, the medical fluid delivery system can start and / or continue a perfusion sequence by pumping fluid from a fluid source into the dialysis tube. If a wet tube state is detected, the medical fluid delivery system can stop pumping fluid from the fluid source and / or end the perfusion sequence. In some embodiments, the medical fluid delivery system can be configured to detect a wet tube state multiple times before perfusion ends (e.g., between two and ten times to ensure that appropriate results are verified).

[0048] Exemplary systems, methods, and apparatus provide improvements over known perfusion sensors that use light to detect tube status. Currently, light-based perfusion sensors either activate all light emitters simultaneously or activate each emitter individually. The emitters are activated to have the same brightness level. If all emitters are activated simultaneously, the detected light is compared to different thresholds, where the status is determined based on which thresholds are exceeded. If the emitters are activated individually, the detected light from each emitter is compared to a separate threshold (or combined into a ratio and compared to the threshold), where the tube status is determined based on a weighted average of the thresholds that are exceeded.

[0049] Both of these known detection methods can be inaccurate due to ambient light affecting the detection of light emitted by the emitter. These known tube detection methods are based on detected light and compared to an absolute static threshold. An increase in ambient light results in an increase in the amount of light detected by the light sensor, thereby creating errors associated with tube detection. Similar errors can be introduced based on tube properties (e.g., tube thickness, tube composition, material transparency / reflectivity, light absorption, tube diameter) and fluid properties (e.g., viscosity, density, turbidity / transparency, color, light absorption).

[0050] Compared to known methods, in an embodiment, the exemplary systems, methods, and devices disclosed herein activate light emitters in a sweeping mode. During the sweeping mode, the brightness of the light emitted by the emitters changes over time and at least some of the emitters can be activated simultaneously. One or more unique waveforms are created for each possible detection state using the sweeping mode, thereby providing anti-aliasing. The difference between the waveforms for each of the different tube states is significant and repeatable. In addition, the significant difference between the waveforms of the different tube states prevents or reduces the influence of the tube state detection due to the variability of ambient light, tube properties, fluid properties, hardware and / or signal noise. The significant difference between the waveforms also enables the perfusion sensor of the present disclosure to be provided without calibration for different ambient light conditions, tube properties, and / or fluid properties. Therefore, the exemplary systems, methods, and devices disclosed herein provide improved perfusion state detection for dialysis tubing.

[0051] The exemplary disclosure relates to peritoneal dialysis and perfusing patient tubes. It should be appreciated that the exemplary systems, devices, and methods disclosed herein can be provided to operate with any type of dialysis machine, including a hemodialysis machine or a continuous exchange therapy machine. In addition, the improved perfusion sensing discussed herein is not limited to dialysis and can be used with any type of medical fluid machine, such as a medical delivery machine (e.g., an infusion pump). In addition, although the present disclosure relates to patient tubes, in other examples, perfusion sensors can be used to perfuse other tubes, such as heating tubes, drainage tubes, source tubes, etc. In addition, although the present disclosure relates to perfusing tubes with dialysate or dialysis fluid, it should be appreciated that the exemplary systems, devices, and methods can operate with any type of fluid, including saline, renal treatment fluid, blood, sterile water, etc. In addition, the improved sensing can be used for any purpose of wishing to know whether a tube exists and, if a tube exists, whether the tube contains fluid.

[0052] Dialysis System Embodiment

[0053] Now referring to the accompanying drawings, Figure 1 An exemplary medical fluid delivery system 100 according to an exemplary embodiment of the present disclosure is illustrated. The medical fluid delivery system 100 in the illustrated embodiment includes a dialysis machine 102 configured to provide renal failure treatment to one or more patients. Renal failure treatment helps patients balance water and minerals. Renal failure therapy also helps excrete the daily metabolic load by removing toxic end products of nitrogen metabolism (urea, creatinine, uric acid, etc.) that accumulate in the patient's blood and tissues. Renal failure therapy for replacing kidney function is critical for many people because the treatment is life-saving.

[0054] In some examples, the dialysis machine 102 is a peritoneal dialysis ("PD") machine. Here, the dialysis machine 102 is configured to infuse a dialysis solution (also referred to as a dialysis fluid or a renal failure therapy fluid) into the peritoneal cavity of a patient via a catheter. The peritoneal period of time during which the dialysis fluid contacts the peritoneal cavity is referred to as a residence period. Waste, toxins, and excess water pass from the patient's bloodstream through the peritoneum and into the dialysate due to diffusion and osmosis, i.e., an osmotic gradient occurs across the peritoneum. The osmotic agent in dialysis provides the osmotic gradient. Used or spent dialysis fluid is discharged from the patient's body, removing waste, toxins, and excess water from the patient's body. This cycle is repeated, for example, multiple times.

[0055] There are various types of peritoneal dialysis therapies, including continuous ambulatory peritoneal dialysis ("CAPD"), automated peritoneal dialysis ("APD"), and tidal flow dialysis and continuous flow peritoneal dialysis ("CFPD"). CAPD is a manual dialysis treatment. Here, the patient manually connects an implanted catheter to a drain to allow used or spent dialysis fluid to drain from the peritoneal cavity. The patient then connects the catheter to a fresh dialysis fluid bag to infuse fresh dialysis fluid into the patient through the catheter. The patient disconnects the catheter from the fresh dialysis fluid bag and allows the dialysis fluid to reside in the peritoneal cavity, where transfer of waste, toxins, and excess water occurs. After the residence period, the patient repeats the manual dialysis procedure, for example four times a day, with each treatment lasting about an hour. Manual peritoneal dialysis requires a significant amount of time and effort from the patient, leaving ample room for improvement.

[0056] Automated peritoneal dialysis ("APD") is similar to CAPD in that dialysis treatment includes drain, fill, and dwell cycles. However, APD machines, such as dialysis machine 102, typically perform the cycles automatically while the patient sleeps. APD machines relieve the patient from having to manually perform treatment cycles and from having to transport supplies during the day. The APD machine is fluidly connected to an implanted catheter, a source of fresh dialysis fluid or a bag of fresh dialysis fluid, and a fluid drain. The APD machine pumps fresh dialysis fluid from the source of dialysis fluid through the catheter into the patient's peritoneal cavity. The APD machine also allows the dialysis fluid to dwell within the cavity and allows the transfer of waste, toxins, and excess water to occur. The source may include multiple sterile dialysis fluid bags.

[0057] The APD machine pumps used or spent dialysis fluid from the peritoneal cavity through a catheter to a drain. As with the manual process, several drain, fill, and dwell cycles occur during dialysis. The "last fill" occurs at the end of the APD and remains in the patient's peritoneal cavity until the next treatment.

[0058] In some embodiments, the dialysis machine 102 can be configured to perform hemodialysis ("HD"). During HD, the dialysis machine 102 is configured to remove waste products from the patient's blood using diffusion. A diffusion gradient occurs across a semi-permeable dialyzer between the patient's blood and an electrolyte solution known as the dialysate or dialysis fluid to induce diffusion. Hemofiltration ("HF") is an alternative renal replacement therapy that relies on convective transport of toxins from the patient's blood. HF is achieved by adding a replacement or substitution fluid (typically 10 to 90 liters of such fluid) to an extracorporeal circuit during treatment. The replacement fluid and the fluid accumulated by the patient between treatments are ultrafiltered during HF treatment, providing a convective transport mechanism that is particularly beneficial in removing medium and large molecules (in hemodialysis, small amounts of waste products are removed along with the fluid obtained between dialysis sessions, however, the solute resistance removed from the ultrafiltrate is insufficient to provide convective clearance).

[0059] Hemodiafiltration ("HDF") is a treatment modality that combines convective and diffusive clearance. HDF uses a dialysis fluid flowing through a dialyzer, similar to standard hemodialysis, to provide diffusive clearance. In addition, a replacement solution is provided directly to the extracorporeal circuit, providing convective clearance.

[0060] Exemplary dialysis machine 102 can be located in a center, hospital or patient's home. There is a trend of home dialysis at present, partly because home dialysis can be performed every day, providing treatment benefits superior to center dialysis treatment, which usually occurs twice or three times a week. Studies have shown that frequent treatment removes more toxins and wastes than patients who receive less frequent but possibly longer treatments. Patients who receive treatment more frequently will not experience more down cycles like patients in centers who have accumulated toxins for two or three days before treatment. In some areas, the nearest dialysis center may be many miles away from the patient's home, resulting in a large part of the day consuming door-to-door treatment time. Home dialysis can be performed during the daytime at night or when the patient is relaxing, working or otherwise productive. Many attractions of home treatment to patients revolve around the flexibility of lifestyle provided by allowing patients to perform treatment in his or her home largely according to his or her own schedule.

[0061] Any of the above-mentioned dialysis modes performed by the dialysis machine 102 can be run as planned, and may require a startup procedure. For example, dialysis patients usually perform treatment as planned, such as every other day, every day, etc. The dialysis treatment machine usually requires a certain amount of time to be set up before treatment, for example, to run a priming and / or disinfection procedure. During the priming procedure, fluid is pumped through one or more dialysis tubes / lines and / or boxes to remove air and / or particles in the lines. Priming the dialysis tubes / lines and / or boxes prevents air and / or particles from contacting the patient.

[0062] Figure 1 The exemplary dialysis machine 102 of includes a perfusion sensor 104 configured to detect proper perfusion of at least one dialysis tube / line. In the illustrated embodiment, the perfusion sensor 104 is configured to detect perfusion of the patient tube 106. In other embodiments, the perfusion sensor 104 is configured to perfuse additional or alternative tubes, such as to / from patient tubes, drain tubes, heating tubes, source fluid tubes, concentrator tubes, etc. of a continuous flow peritoneal dialysis set. For HD, the perfusion sensor 104 can be configured to perfuse the extracorporeal circuit, to / from dialyzer tubes, from dialyzer tubes, source tubes, blood tubes, saline tubes, and / or drain tubes. The patient tube 106 can be made of any suitable medical grade material, such as polyvinyl chloride ("PVC"), silicone, or other non-PVC materials. In one embodiment, the tube 106 has an inner or outer diameter equal to or less than 0.5 inches (12 mm).

[0063] In the illustrated embodiment, the dialysis machine 102 includes at least one pump 110 configured to move fluid from a fluid source 112 to patient tubes 106. The pump 110 may include any type of pump, including a peristaltic pump, a rotary pump, a gear pump, a linear actuator pump, a diaphragm pump, etc. The pump 110 may be operated to prime the patient tubes 106 with dialysis fluid. The pump 110 may also be operated to provide dialysis fluid from the fluid source 112 to the patient when the patient tubes 106 are connected to a catheter inserted into the patient's peritoneal cavity. Primer may alternatively or additionally be performed using gravity, wherein, for example, a fluid source is provided at head height and allowed to flow through one or more tubes.

[0064] In some embodiments, the dialysis machine 102 includes a disposable cassette fluidly connected to the tubes. The cassette may include one or more flexible membranes or chambers that operate with valves and / or pumps in the dialysis machine 102. In addition to the one or more tubes, priming may include moving fluid through the disposable cassette.

[0065] Fluid source 112 may include one or more containers of premixed dialysis fluid. In some embodiments, fluid source 112 may include a container or reservoir of a concentrate that has been mixed with pure water to form a dialysis fluid. Additionally or alternatively, fluid source 112 may include an online source, such as a purified water source that is mixed with one or more concentrates to form a dialysis fluid. Furthermore, in some examples, fluid source 112 may include a fluid preparation device that provides prepared dialysis fluid to dialysis machine 102 via one or more fluid connections.

[0066] Figure 1 The exemplary dialysis machine 102 also includes a processor 120 and a memory 122. The processor 120 may include any type of device capable of processing inputs and performing one or more calculations to determine one or more outputs. The processor 120 may include a microcontroller, a controller, an application specific integrated circuit ("ASIC"), a central processing unit included on one or more integrated circuits, etc. The memory 122 may include any volatile or non-volatile data / instruction storage device. The memory 122 may include, for example, flash memory, random access memory ("RAM"), read-only memory ("ROM"), electrically erasable programmable read-only memory ("EEPROM"), etc. The exemplary memory 122 is configured to store one or more instructions that can be executed by the processor 120 to enable the processor 120 to perform the operations disclosed herein. The instructions may be part of one or more software programs or applications. References herein to a processor 120 configured to perform operations may include embodiments in which the memory 122 stores instructions configured to enable the processor 120 to perform the described operations.

[0067] The exemplary memory 122 is configured to store instructions that cause the processor 120 to operate the dialysis machine 102. The operations performed by the processor 120 include providing control signals or instructions to the pump 110, which causes the pump 110 to move the dialysis fluid from the fluid source 112 to the patient tube 106 during a priming sequence or during a dialysis treatment. The operations performed by the processor 120 also include sending signals and / or messages to the perfusion sensor 104 to activate one or more light emitters and receive output data from the detector. As disclosed herein, the memory 122 includes instructions that cause the processor 120 to analyze the output data to determine the status of the patient tube 106.

[0068] The exemplary processor 120 is also configured to send one or more messages to a user interface 124 of the dialysis machine 102 to display or otherwise communicate information on a display screen (such as a touch screen). The processor 120 can cause the user interface 124 to display instructions to the patient for preparing the dialysis machine 102 for treatment, including actions to prepare a perfusion sequence. The user interface 124 can also display or otherwise communicate an indication of an alarm condition, such as a warning to place the patient tube 106 within the perfusion sensor 104 or to connect the patient tube 106 to the catheter after the perfusion sequence has been completed. The user interface 124 can include a touch screen overlay and / or an electromechanical actuator, button, and / or switch to enable an operator to input information. The input can include a prompt from the operator to start a perfusion sequence or dialysis treatment.

[0069] It should be appreciated that the dialysis machine 102 may include accessory components for treatment preparation and / or execution of dialysis treatment. The additional components may include pump actuators, compressor pneumatic devices, valve actuators, heaters, online fluid generation devices, fluid pressure sensors, fluid temperature sensors, conductivity sensors, air detection sensors, blood leak detection sensors, filters, dialyzers, balancing chambers, sorbent boxes, etc. In addition, the dialysis machine 102 may include one or more network connections (e.g., Ethernet connections) to enable the processor 120 to receive data / prescriptions and send dialysis treatment status information to a remote or central server via a network (e.g., the Internet). In an embodiment, the processor 120 may create a data structure or log that includes an indication of a perfusion, a detection of a patient tube state change, a date / time at which the state change occurred, and / or an indication of an alarm provided.

[0070] Perfusion Sensor Embodiment

[0071] Figure 2 The exemplary embodiment according to the present disclosure is shown in FIG. Figure 1FIG. 1 is a diagram of a perfusion sensor 104 positioned on a dialysis machine 102 of an exemplary medical fluid delivery system 100. In the illustrated example, the perfusion sensor 104 is disposed on a housing 201 of the dialysis machine 102. The perfusion sensor 104 includes a holder portion 202 configured to hold a patient tube 106 in position to enable measurement. The holder portion 202 may include a clip configured to engage with a cap 204 attached to the patient tube 106. For example, the holder portion 202 may include a hole corresponding to or aligned with the size of the cap 204 to hold the cap 204 in position. The patient couples the cap 204 to the holder portion 202 by placing the patient tube 106 into the open passage of the holder portion 202. Then, the patient lowers the cap 204 until it is located within the holder portion 202. Although the holder portion 202 is shown on one side of the dialysis machine 102, in other embodiments, the holder portion may be on the top, front, back, and / or opposite side of the dialysis machine.

[0072] The exemplary cap 204 is configured to mechanically connect to the end connector 206 of the patient tube 106. The cap 204 may include a hydrophobic vent or filter that allows air to vent from the patient tube 106 during the perfusion sequence. In an embodiment, the vent or filter prevents fluid from overflowing the patient tube 106. The perfusion sensor 104 is configured to detect when the fluid reaches the end connector 206 of the patient tube 106 (or just below the connector 206) to determine when fluid pumping or gravity perfusion should be stopped. After the perfusion sequence has been completed, the patient can disconnect the cap 204 from the end connector 206. The patient can then connect the end connector 206 of the patient tube 106 to a catheter that is fluidly connected to the patient's peritoneal cavity.

[0073] Figure 2 It is also illustrated that the patient tube 106 may include a tube clamp 208. The tube clamp 208 may be clamped to the tube 106 prior to priming to prevent fluid from inadvertently exiting the patient tube 106. The tube clamp is disengaged prior to the priming sequence, but may be clamped after priming while the patient connects the end connector 206 to the catheter (or associated transfer set) to begin treatment. In some embodiments, the tube clamp 208 may be omitted.

[0074] Figure 3 The exemplary embodiment according to the present disclosure is shown in FIG. Figure 1 and Figure 2FIG. 1 is a diagram of a circuit board 302 of a perfusion sensor 104. In the example shown, the circuit board 302 includes a cutout or hole 304 to receive at least a portion of the patient tube 106 and / or the end connector 206. In the embodiment shown, the hole 304 has a U-shape. In other embodiments, the hole 304 can have a circular or oval shape. A cover 306 is provided at the hole end of the circuit board 302 and can extend to cover the entire circuit board.

[0075] The exemplary cover 306 is transparent or nearly transparent and is configured to protect the circuit board 302 from spilled or dripping dialysis fluid. In the illustrated embodiment, the cover 306 can be made of any plastic or glass material. In the illustrated embodiment, the cover 306 includes a retainer portion 308 having a circular shape. The retainer portion 308 is aligned with the hole 304 and is configured to receive, retain, or otherwise retain the patient tube 106 and / or the end connector 206 within the perfusion sensor 104.

[0076] Figure 3 In the illustrated embodiment, the perfusion sensor 104 includes a detector 320 and three emitters 322. In other examples, the perfusion sensor 104 may include additional detectors 320 and emitters 322. In the example shown, the detector 320 is located on a side of the circuit board opposite the three emitters 322. Light emitted from the emitters passes through the aperture 304 to the detector 320, thereby enabling tube measurements to be performed when the patient tube 106 is placed within the holder portion 308.

[0077] Figure 4 A diagram illustrating one possible positioning of the detector 320 relative to the emitter 322 on the circuit board 302 is illustrated. In an example, the first emitter 322a is positioned on the opposite side of the detector 320 and is positioned to emit light directly toward the detector 320 at an angle of approximately 0°. Additionally, the second emitter 322b is positioned adjacent to the first emitter 322a on the circuit board 302 and is configured to emit light at the same approximately 0° angle as the first emitter 322a. The third emitter 322c is positioned adjacent to the second emitter 322b on the circuit board, but is positioned at an angle between 20° and 70° relative to the light emitted from the first emitter 322a and the second emitter 322b. It should be appreciated that in other examples, the emitter 322 can be positioned to direct light toward the detector 320 at different angles.

[0078] The exemplary detector 320 is positioned at an approximate angle of 10° offset from pointing directly at the first emitter 322a. In other examples, the 10° offset can be larger or smaller. The positioning of the detector 320 relative to the emitter 322 enables the detector 320 to receive transmitted light from the first emitter 322a, intermediate / partially reflected light and partially transmitted light from the second emitter 322b, and reflected light from the third emitter 322c. Receiving transmitted light and reflected light during the swept mode helps enable the processor 120 to create waveforms with unique and differential patterns between different tube states.

[0079] Figure 4 The dimensions shown in are provided in inches for illustration purposes only and are examples of possible dimensions for positioning the emitter 322 relative to the detector 320 and the patient tube 106. In other embodiments, the dimensions may be expressed in centimeters. Alternatively, the dimensions of the perfusion sensor 104 may be larger and / or smaller.

[0080] Figure 3 and Figure 4 An exemplary detector 320 may include any type of light detector, such as a phototransistor. The detector 320 is configured to provide a digital or analog output indicating the brightness of the detected light. In some cases, the detector 320 may send output data at a sampling rate and / or upon request by the processor 120. Alternatively, the detector 320 may continuously send output data indicating the brightness of the detected light, wherein the processor 120 samples the received data.

[0081] Figure 3 and Figure 4 Exemplary emitters 322 may include any type of light emitter, such as an infrared light emitting diode ("LED"). The emitters 322 may be powered by receiving, for example, five volt DC power via a power supply assembly of the dialysis machine 102 or via the processor 120. In an embodiment, the brightness of the emitters 322 is controlled via a filtered pulse width modulation ("PWM") signal provided by the processor 120. The duty cycle of the PWM signal is controlled by the processor 120 to adjust the brightness of the light emitted by the emitters 322. In some cases, the processor 120 may ramp the duty cycle from 0% to 100% over a period of time to transition any one or more of the emitters 322 from off to full brightness or peak brightness.

[0082] Figure 5 The present invention is a diagram illustrating an exemplary embodiment of the present invention. Figure 3 and Figure 4322. Pattern 500 shows that in this example, the light intensity is greatest between + / - 10° and 15° from direct emission (at 0°). Between + / - 20° and 30° from direct emission, the intensity of the emitted light decreases significantly, which enables precise light directionality control. In other examples, different emitters 500 can produce different radiation patterns.

[0083] Figure 6 The exemplary embodiment according to the present disclosure is shown in FIG. Figure 3 and Figure 4 FIG. 6 is a diagram of a directional radiation sensitivity pattern 600 of a detector 320. In the example shown, the detector 320 is most sensitive between angular displacements of + / -5°. After an angular displacement of + / -20°, the sensitivity of the detector 320 decreases significantly.

[0084] Figure 5 and Figure 6 Patterns 500 and 600 illustrate that any angular displacement between the detector 320 and the emitter 322 greater than + / - 5° results in the detected light brightness being less than the emitted brightness, as measured at peak intensity. Additionally, the steep declines in patterns 500 and 600 enable significantly different waveforms to be formed based on different states of the patient tube 106, since the tube and any fluid contents cause reflection / refraction of at least a portion of the emitted light.

[0085] Processor Embodiments

[0086] Figure 1 The example processor 120 is configured in part to determine a waveform for detecting a status of a patient tube. Fig. 7A A diagram illustrating how the processor 120 operates with the perfusion sensor 104 to form a sweeping pattern 700 and detect emitted light according to an exemplary embodiment of the present disclosure is shown. The processor 120 is configured to periodically operate the sweeping pattern to determine the tube state. For example, the processor 120 may operate the sweeping pattern 700 every millisecond, 100 milliseconds, 500 milliseconds, 1000 milliseconds, 2500 milliseconds, etc. It should be appreciated that in other examples, the processor 120 may be configured to apply the sweeping pattern 700 in accordance with an exemplary embodiment of the present disclosure. Fig. 7A The illustrated pattern 700 is a different sweeping pattern. For example, the processor 120 may not activate a subsequent transmitter 322 until after the first transmitter 322 is deactivated or turned off.

[0087] The exemplary processor 120 is configured to send one or more messages or control the analog signals provided to each emitter 322 in a controlled manner to create the sweeping pattern 700. The message may specify, for example, a duty cycle percentage. Alternatively, the analog signal controlling the brightness may be set by the processor 120 according to the desired duty cycle. The instructions stored in the memory 122 may define for each emitter 322 how the duty cycle changes over a period of time to create the sweeping pattern 700.

[0088] In the example shown, the processor 120 causes the emitter 322a to emit a first pulse pattern 702 during a first time period 704, the first pulse pattern 702 being a first component of the aggregate swept frequency pattern 700. The pulse pattern 702 begins with the emitter 322 being set to a relatively low duty cycle, such as 0% or 5%. At the midpoint of the time period 704, the duty cycle is relatively high (e.g., 75% to 100%), which increases the intensity of the light brightness. For the remainder of the time period 704, the processor 120 is configured to reduce the duty cycle, causing the emitter 322a to reduce the brightness of the emitted light. Figure 7B Another embodiment of a pulse pattern 702 is shown, having a non-Gaussian shape. The values ​​along the x-axis represent the power level provided to the emitter 322a (during the first time period 704), which is proportional to the duty cycle of the emitted light brightness.

[0089] return Fig. 7A , during the second time period 708, the processor 120 causes the transmitter 322b to transmit the second pulse pattern 706. As shown, the second time period 708 starts at the midpoint of the first time period 704. In other examples, the second time period 708 may start at 1 / 4, 1 / 3, 2 / 3, 3 / 4, 7 / 8, or other time of the first time period 704. Alternatively, the second time period 708 may start after the first time period 704 has ended or just after the first time period 704 has ended. The pulse pattern 706 may be the same as the pulse pattern 702, or may have a different shape. Figure 7C Another embodiment of a pulse pattern 706 is shown having a non-Gaussian shape.

[0090] During the third time period 712, the processor 120 causes the transmitter 322c to transmit a third pulse pattern 710. As shown, the third time period 712 begins at the midpoint of the second time period 708. In other examples, the third time period 712 may begin at 1 / 4, 1 / 3, 2 / 3, 3 / 4, 7 / 8, or other times of the second time period 708. Alternatively, the third time period 712 may begin after the second time period 708 has ended or just after the second time period 708 has ended. The pulse pattern 710 may be the same as the pulse patterns 702 and 706, or may have a different shape. Fig.7D Another embodiment of a pulse pattern 710 is shown having a non-Gaussian shape.

[0091] Fig. 7E A graph of a composite waveform 750 of pulse patterns 702, 706, and 710 over time is shown. As shown, patterns 702, 706, and 710 differ slightly from one another in slope and width. Additionally, patterns 702, 706, and 710 substantially overlap. In some embodiments, the overlap in patterns 702, 706, and 710 may correspond to Figure 3 and Figure 4 7. The pulse patterns 702, 706, and 710, collectively shown as composite waveform 750, together form an overall sweep pattern 700 that occurs during the sweep period.

[0092] Pulse patterns 702, 706, and 710 are shown as having a bell curve shape. In other examples, pulse patterns 702, 706, and 710 may have different shapes corresponding to changes in duty cycle, such as a square wave shape, a double peak shape, a sawtooth shape, etc. In addition, although pulse patterns 702, 706, and 710 are shown as having the same shape, in other examples, each of patterns 702, 706, and 710 may be different.

[0093] return Fig. 7A , during the sweep mode 700, the exemplary processor 120 is configured to collect or receive output data samples 720 from the detector 320. In the illustrated example, the height of the line representing the data sample 720 does not indicate light intensity. Instead, the line of the data sample 720 provides an indication of when the detector 320 and / or the processor 120 samples light intensity relative to the sweep mode 700. The sampled output data 720 (whether in digital or analog form) provides an indication of the light intensity sensed by at least one phototransistor of the detector 320. The sampled output data 720 may be sent as an analog voltage proportional to the detected light intensity or a digital message indicating the light intensity. In some examples, the detector 320 is configured to sample the phototransistor and send the output data at the time of sampling. In other examples, the detector 320 may continuously monitor the detected light. In these other examples, the detector 320 sends a message or analog signal indicating the measured light intensity or provides an output data stream when receiving the sampling message / signal from the processor 120. In the case of the output data stream, the processor 120 samples and processes the output data. In an example, the processor 120 and / or the detector 320 are configured to acquire 10 to 100 samples during the sweep mode 700 , preferably between 50 and 80 samples.

[0094] Figure 8 and Fig. 9 Exemplary graphs 800, 825, 850, 900, 925, and 950 are shown that illustrate subsets or portions of the sweeping pattern 700 for a tubeless state according to an exemplary embodiment of the present disclosure. Indexes 802, 826, and 852 illustrate the light intensity emitted by each emitter at a given point in time for the respective subset graphs 800, 825, and 850, wherein the leftmost bar corresponds to the first emitter 322a, the middle bar corresponds to the second emitter 322b, and the rightmost bar corresponds to the third emitter 322c. Bars 804, 828, and 854 indicate the light intensity sensed by the detector 320 at the respective moments during the subset graph 800.

[0095] The exemplary graph 800 shows that at the beginning of the sweep mode 700, only the first emitter 322a is emitting light at a relatively low intensity. The exemplary subset graph 825 shows that at a subsequent time, the intensity of the first emitter 322a is increased, while the other two emitters 322b and 322c remain off. The exemplary subset graph 850 shows that during another later time, the intensity of the detected light is greater because the first emitter 322a is emitting relatively bright light (set by a high duty cycle), with the second emitter 322b contributing at least some of the light.

[0096] Graph 900 shows the progress of the sweep from the first emitter 322a to the second emitter 322b when both emitters are emitting light at relatively the same intensity. Graph 925 shows the sweep pattern 700 when the third emitter 322c is emitting the brightest light while the first emitter 322a is turned off and the second emitter 322c is dimmed. At this point in the sweep pattern 700, the weighting of the light intensity has shifted to a point between the second emitter 322b and the third emitter 322c, as shown by the shift of the waveform to the right. Graph 950 shows the end of the sweep pattern 700, where the first emitter 322a and the second emitter 322b are turned off and the brightness of the third emitter 322c is reduced.

[0097] Fig.10 1 is a diagram showing a waveform 1000 formed by aggregating or otherwise combining sampled output data during a sweeping period 700 in a tubeless state according to an exemplary embodiment of the present disclosure. The waveform 1000 represents the light intensity sensed by the detector 320 during the sweeping mode 700. The bell shape of the exemplary waveform 1000 is a result of the overlapping pulse pattern of the emitter 322 (described above in conjunction with Fig. 7A Discussion). It should be appreciated that waveform 1000 may vary based on the spacing and shape of the pulse pattern selected.

[0098] The exemplary processor 120 is configured to compile the sampled output data to create a waveform such as Fig.10. The processor 120 can be configured to compare the compiled waveform to one or more reference waveforms to determine the state of the patient tube 106. For example, the processor 120 is configured to determine the difference between the waveform and the reference waveform. The difference may include a comparison of the peak brightness detected at different points along the sweep period. The processor 120 determines which reference waveform has the smallest difference from the measured waveform. The processor 120 then determines the state of the patient tube 106 based on the selected reference waveform with the smallest difference. In other examples, the processor 120 is configured to perform template matching of the reference waveform with the acquired waveform to determine the best fit for identifying the state of the tube 106.

[0099] In some examples, processor 120 may remove the common mode offset and rescale the acquired waveform accordingly to remove the effects from ambient light. Additionally or alternatively, processor 120 may be configured to calculate a first derivative of the waveform to determine the region where the slope of the waveform changes. Figures 11 to 16 Graphs of acquired waveforms and correspondingly calculated derivative waveforms (eg, analysis output waveforms) for different tube states are shown according to an exemplary embodiment of the present disclosure.

[0100] Fig.11 A graph of acquired waveforms 1100 corresponding to a tubeless state is shown. The acquired waveforms 1100 include approximately 500 individual waveforms from 500 different sweeps across a large number of perfusion sensors 104. Fig.10 The waveform 1000 has an approximately bell shape. Line 1102 (eg, the thickest line) represents the average value of the waveform 1100 and can be used as a reference waveform for the tubeless state. Fig.12 A waveform 1200 is shown, which the processor 120 calculates by determining the first derivative of the waveform 1100. Line 1202 represents the average value of the waveform 1200 and can additionally or alternatively be used as a reference waveform for a tubeless state. As shown, the calculation of the first derivative can reduce the variability of the data and provide a more consistent waveform portion where the slope of the waveform 1100 changes relative to the swept mode.

[0101] Fig.13 A graph of an acquired waveform 1300 corresponding to a dry pipe condition is illustrated. Fig.11 , the acquired waveform 1300 includes approximately 500 individual waveforms from 500 different sweeps. Line 1302 represents the average of waveform 1300 and can be used as a reference waveform for a dry tube condition. Waveform 1300 shows a consistent bell-shaped pattern with a dip in the middle. The dip can be caused by a drop in light from the middle of the sweep, for example, as a result of at least some light reflecting from the patient tube 106. Fig.14Waveform 1400 is illustrated, which is calculated by processor 120 by determining the first derivative of waveform 1300. Line 1402 represents the average value of waveform 1400 and may additionally or alternatively be used as a reference waveform for a dry pipe condition. In this example, for a dry pipe condition, waveform 1400 shows a change in slope between sample points 25 and 55 that is different from the change in slope of waveform 1200 for the same sample points during the sweep period. The change in slope is caused by a dip in waveform 1300. It can be appreciated that the significant difference between waveforms 1200 and 1400 between sample points 25 and 55 helps ensure that the dead pipe condition and the dry pipe condition are different enough for processor 120 to make an accurate determination and prevent, for example, false detections.

[0102] Fig.15 A graph of an acquired waveform 1500 corresponding to a wet pipe condition is illustrated. Fig.11 and Fig.13 , the acquired waveform 1500 includes approximately 500 individual waveforms from 500 different sweeps. Line 1502 represents the average of waveform 1500 and can be used as a reference waveform for a wet pipe condition. Waveform 1500 is similar to waveform 1300 until approximately sampling point 35. After this point, the intensity of waveform 1500 decreases as the fluid absorbs or reflects more light from the second and third emitters 322. Fig.16 Waveform 1600 is illustrated, which is calculated by processor 120 by determining the first derivative of waveform 1500. Line 1602 represents the average of waveform 1600 and may additionally or alternatively be used as a reference waveform for a wet pipe condition. For a wet pipe condition, waveform 1600 shows a change in slope between sample points 25 and 55 that is different from the slopes of waveforms 1200 and 1400. The change in slope is caused by the drop in intensity in waveform 1400 after point 35. The significant difference between waveforms 1200, 1400, and 1600 between sample points 25 and 55 helps ensure that the no pipe condition, dry pipe condition, and wet pipe condition are sufficiently different to enable processor 120 to make an accurate determination and prevent, for example, false detections.

[0103] After determining the derivative waveform from the acquired waveform, the exemplary processor 120 is configured to compare the derivative waveform with a reference waveform to determine the tube state. The exemplary processor 120 may be configured to compare the acquired waveform with reference waveforms corresponding to different tube states. In an example, each of the lines 1202, 1402, and 1602 may indicate a reference waveform for a corresponding tube state. For each derivative of the acquired waveform, the processor 120 is configured to calculate the difference between the derivative waveform and each of the reference waveforms. The processor 120 may then sum or integrate the calculated differences (e.g., areas) to determine which difference (e.g., area) is the smallest. The processor 120 selects the smallest difference (e.g., area) for the identified tube state, which indicates which reference waveform best matches the acquired derivative waveform of the output data.

[0104] It should be appreciated that the waveforms 1000-1600 may depend on the number and spacing of the emitters 322 relative to the detectors 320. For fewer emitters 322 or more emitters 322, the waveforms 1000-1600 may have different shapes and / or amplitudes. Additionally, the waveforms 1000-1600 may have different shapes and / or amplitudes based on the spacing and / or angles between the emitters 322 and / or detectors 320. However, despite the various embodiments, the example processor 120 is configured to use a reference waveform for each tube state (determined by the arrangement and number of emitters 322 and / or detectors 320) to determine the tube state based on the sampled output data.

[0105] Figures 17 to 19 A graph illustrating the margins between the reference waveforms 1202 , 1402 , and 1602 and the calculated derivative waveforms 1200 , 1400 , and 1600 is illustrated. Fig.17 Each of the five hundred different ductless waveforms 1200 is shown on the x-axis as a value between 0 and 500, and each of the five hundred different ductless waveforms 1200 is shown on the y-axis as an area difference between the waveform 1200 and each of the reference waveforms 1202, 1402, and 1602. Line 1702 represents the area difference from the dry pipe reference waveform 1402, line 1704 represents the area difference from the wet pipe reference waveform 1602, and line 1706 represents the area difference from the ductless reference waveform 1202. Line 1708 shows the margin between the closest match and the next closest match. Fig.17 As shown, the tube-free state is consistently detected because waveform 1200 most closely matches reference waveform 1202 with a margin of at least 50% compared to the next closest match. Thus, processor 120 correctly identifies the tube-free state in each instance.

[0106] Fig.18It is illustrated that the mains reference waveform 1402 most closely matches all 512 waveforms 1400. Although the margin is smaller for some waveforms, there is enough difference to enable the processor 120 to select the correct state. Fig.19 It is illustrated that the wet tube reference waveform 1602 most closely matches all five hundred and twenty waveforms 1600. The margin to the dry tube reference waveform 1402 is at least 40%. Again, the processor 120 selects the correct tube state.

[0107] In some embodiments, the exemplary processor 120 may calculate a Fourier transform of the acquired waveform instead of determining a derivative waveform. The Fourier transform may be compared by the processor 120 to one or more reference waveforms to determine the tube state. In other examples, the processor 120 is configured to determine the tube state using a Pearson correlation of the acquired waveform. Further, in some embodiments, the processor 120 is configured to smooth, oversample, and / or filter the acquired data to adjust for abnormal data. Further, in some embodiments, the processor 120 may calculate a confidence level in the tube state determination. The tube state may be based on margin data or the proximity of two reference waveforms to the derivative of the acquired waveform. If the confidence level is below a threshold (e.g., 65%), the exemplary processor 120 may discard the waveform and / or activate an alarm to indicate that the tube state cannot be determined.

[0108] In some embodiments, the processor 120 is configured to detect a certain tube state threshold number of times before determining or indicating that the detected tube state is valid. This configuration reduces the chance of erroneous tube state detections that affect the operation of the medical fluid delivery system 100. The threshold may be between 5 and 20 detections within a time period (e.g., 5 seconds, 10 seconds, 30 seconds, 1 minute, 2 minutes, etc.), and / or 5 to 20 detections out of a possible 7 to 25 detections. In an example, the processor 120 may be in a tube-free state. When the patient tube 106 is inserted into the perfusion sensor 104, the processor 120 begins to accumulate detections of a dry tube state while operating in a sweep mode. After a threshold number of detections of a dry tube state are made within a period of time or within a specified number of detections, the processor 120 verifies that a dry tube state exists and sends an appropriate message / instruction.

[0109] In some embodiments, processor 120 may omit certain reference waveforms used in the comparison. For example, if processor 120 is in a no-tube state, processor 120 typically does not detect a wet tube state as the next transition. Thus, in a no-tube state, processor 120 may omit reference waveforms associated with a wet tube state to reduce false state detections.

[0110] Fig. 20 The method for determining the Figure 1FIG. 20 is a diagram of an exemplary process 2000 for determining the tube status of a patient tube 106. The exemplary processor 120 is configured to execute or operate the machine-readable instructions described by the process 2000. Although reference is made to Fig. 20 The flowchart shown describes process 2000, but it should be appreciated that many other methods of performing the actions associated with process 2000 may be used. For example, the order of many of the blocks may be changed, certain blocks may be combined with other blocks, and many of the blocks may be optional. For example, any of blocks 2808, 2810, and 2812 may be omitted.

[0111] Initially, the exemplary processor 120 receives an indication or determination that a patient is to begin a dialysis treatment (block 2002). The exemplary processor 120 may receive input via the user interface 124 that the patient has selected to begin treatment. Alternatively, the processor 120 may determine via an electronically stored schedule that the patient is to undergo a dialysis treatment. To prepare for treatment, in one embodiment, the exemplary processor 120 operates a setup routine, which may include connecting the tubing to an appropriate container and performing a priming and / or sterilization procedure. When it is time to prime the patient tubing 106, the exemplary processor 120 sends a message 2001 for display that the patient is to insert the patient tubing 106 into the perfusion sensor 104 (block 2004). Fig.21 An exemplary graphic 2100 is illustrated that may be displayed by the user interface 124 based on the message 2001. The graphic 2100 includes text and illustrations regarding how to place the patient tube 106 within the perfusion sensor 104.

[0112] To determine whether the patient has the tube 106 properly inserted into the perfusion sensor 104, the exemplary processor 120 is configured to execute one or more sweep patterns to determine the tube status (block 2006). For each sweep pattern executed, the processor 120 receives sampled output data 2003, which is processed into acquired waveforms and used to determine the tube status, as described above in conjunction with FIGS. 7 to 8. Fig.19 If a tubeless state is detected, the processor 120 is configured to send one or more messages 2007 indicating that the patient tube 106 is missing. Fig. 22 A diagram of a graphic 2200 is shown that may be displayed by the user interface 124 based on the message 2007. The graphic 2200 includes a pop-up window alerting the patient that the patient tube 106 has not yet been inserted.

[0113] If a dry tube condition is detected, the example processor 120 sends one or more messages 2009 instructing the patient to connect the tube to a fluid source (block 2008). In other embodiments, the message 2009 may instruct the patient to begin a priming sequence. Fig.23A diagram of a graphic 2300 that may be displayed by the user interface 124 based on the message 2009 is shown. The graphic 2300 includes text and images regarding how a fluid source is connected to one or more source tubes of the dialysis machine. After the patient has connected the tubes, the patient may select the Prime button shown in the graphic 2300. Selecting the Prime button provides an indication to the processor 120 to begin a prime sequence (block 2010). The prime sequence includes causing at least one pump 110 to move dialysis fluid from at least one source container to the patient tubes 106. During the sequence, the processor 120 receives sampled output data 2003 from performing multiple sweeps of the transmitter 322 (block 2012). Additionally, during the sequence, the processor 120 may cause the processor 120 to perform multiple sweeps of the transmitter 32 ... Fig.24 A graphic 2400 is displayed on the user interface 124 indicating that the perfusion sequence is running.

[0114] For each detection of a dry line condition, the processor 120 may update or increment a threshold counter and determine whether the counter exceeds a time threshold / limit (block 2014). If the time threshold is exceeded, the patient line 106 cannot be primed within the expected time period and may have an obstruction, leak, constriction, or other condition that prevents the dialysis fluid from filling the line. In an attempt to correct the situation, the processor 120 is configured to send one or more messages 2015, which causes the patient line 106 to be primed within the expected time period and may have a blockage ... Fig.25 A graphic 2500 is displayed. In addition, an alarm may be activated. The graphic 2500 includes text indicating a priming error and instructions for the patient to check the tubing from the source fluid and the patient tubing 106. After the patient has identified and corrected the tubing problem, the patient may select the next button to restart the priming sequence.

[0115] Returning to block 2012, if a wet tube condition is detected, the example processor 120 can be configured to stop the irrigation pump 110 (block 2016). In some embodiments, the example processor 120 is configured to confirm that the priming has been performed correctly. The example processor 120 can also send one or more messages 2017 instructing the patient to connect the patient tube 106 to the patient line set and / or catheter to start treatment (block 2018). Fig.26 A diagram of a graphic 2600 is illustrated that may be displayed by the user interface 124 based on the message 2017. The graphic 2600 includes text and images that provide patient information regarding how to connect the patient tube 106 to the line set or catheter.

[0116] The exemplary processor 120 is configured to use the perfusion sensor 104 to determine whether the patient's tube 106 is still present in the sensor (block 2020). The processor 120 receives one or more sets of sampled output data 2003 to determine whether the tube is still in the perfusion sensor 104. If the tube is still present, the processor 120 sends one or more messages 2021 indicating that the patient is to remove the tube from the perfusion sensor 104. Fig. 27 A diagram of a graphic 2700 that may be displayed by the user interface 124 based on the message 2021 is illustrated. The graphic 2700 includes a pop-up window that provides a warning that the patient tube has not been removed from the perfusion sensor for connection to the line set or catheter. If the patient tube 106 is no longer detected, the example processor 120 is configured to end the perfusion sequence and / or enable the dialysis treatment to begin (block 2022). The example process 2000 then ends.

[0117] Fig.28 A diagram of an exemplary process 2800 configured to determine the tube status of a patient tube 106 according to an exemplary embodiment of the present disclosure is illustrated. The exemplary processor 120 is configured to execute or operate the machine-readable instructions described by the process 2800. Although reference is made to Fig.28 The flowchart shown describes process 2800, but it should be appreciated that many other methods may be used to perform the actions associated with process 2800. For example, the order of many blocks may be changed, some blocks may be combined with other blocks, and many of the blocks may be optional.

[0118] The example process 2800 begins with the processor 120 executing a perfusion sequence and causing a sweeping pattern 700 to be performed by the perfusion sensor 104 during a sweeping period (block 2802). When the sweeping pattern 700 is performed by the perfusion sensor 104, the example processor 120 receives sampled output data 2003 from the perfusion sensor 104 (block 2804). The data 2003 indicates the light intensity detected at the detector 320 when the sweeping pattern 700 is performed at the perfusion sensor 104. The example processor 120 compiles, combines, or aggregates the sampled output data into a waveform or spatial array curve (block 2006).

[0119] The exemplary processor 120 performs one or more of the following operations on the array curve to identify the tube state. For example, the processor 120 can identify a common mode offset within the spatial array curve (block 2808). The common mode offset may be caused by ambient light effects on the detector 320. The processor 120 can also scale the array curve to remove the common mode offset, thereby normalizing the curve shape but retaining the amplitude data (block 2010).

[0120] The exemplary processor 120 may additionally or alternatively calculate a first-order derivative waveform from a scaled (or unscaled) array curve or waveform (block 2812). The processor 120 then determines the difference between the derivative waveform and a reference waveform corresponding to a possible tube state (block 2814). Subtracting the waveform may include determining the amplitude difference between the waveforms at each sampling point corresponding to the swept frequency pattern. The processor 120 calculates the absolute value of the area of ​​the determined difference in each reference waveform (block 2816). The processor 120 compares the areas to determine the minimum area and determines which reference waveform is associated with the minimum area (block 2818). The processor 120 then selects the tube state corresponding to the selected reference waveform and sends one or more messages indicating the determined tube state (block 2820).

[0121] In some embodiments, the processor 120 may determine a confidence or margin for the determined result. If the confidence or margin is below a threshold, the processor 120 may discard the result and / or send an error message indicating that the tube state cannot be determined. In some instances, the processor 120 may update a counter that tracks the number of times each tube state has been detected. If the threshold is met or exceeded, the processor 120 may send an error indicating a problem with the perfusion sequence or a message instructing the patient to check the patient tube insertion into the perfusion sensor 104. The exemplary process 2800 returns to block 2802 to repeatedly determine the tube state by causing additional sweep patterns to be performed by the perfusion sensor 104.

[0122] in conclusion

[0123] It should be understood that various changes and modifications to the currently preferred embodiments described herein will be apparent to those skilled in the art. Such changes and modifications may be made without departing from the spirit and scope of the present subject matter and without reducing its expected advantages. Therefore, such changes and modifications are intended to be covered by the appended claims.

Claims

1. A peritoneal dialysis device, comprising: at least one pump configured to flow fluid through the patient tube; a perfusion sensor including a holder portion configured to hold an end of a patient tube, the perfusion sensor further comprising a first emitter, a second emitter, a third emitter, and a detector configured to detect light emitted by the first emitter, the second emitter, and the third emitter interacting with the patient tube; Display screen; as well as a processor configured to operate the perfusion sensor, the at least one pump, and the display screen; and The peritoneal dialysis device is characterized in that: The apparatus further comprises a memory storing instructions which, when executed by the processor, cause the processor to: (i) operating the first emitter, the second emitter, and the third emitter in a swept frequency mode during a swept frequency period, wherein a peak brightness of the first emitter occurs before a peak brightness of the second emitter, and a peak brightness of the second emitter occurs before a peak brightness of the third emitter, (ii) receiving output data from the detector indicative of light detected during the sweep period, and (iii) using the output data to determine one of (a) a dead pipe condition, (b) a dry pipe condition, or (c) a wet pipe condition, and (iv) providing an output indicative of the determination made in (iii), The memory stores additional instructions, which, when executed by the processor, cause the processor to: Receive indication that the patient is starting dialysis treatment, instructing the patient, via the display screen, to insert an end of the patient tube into the holder portion of the perfusion sensor, Perform (i) to (iv) at least once, When the output indicates (b) a dry tube condition, starting a priming sequence by causing at least one pump to pump fluid from a fluid source through the patient tube and performing (i) to (iv) at least once, and During the priming sequence, when the output indicates a (c) wet tube state, the priming sequence is ended by stopping at least one pump and instructing the patient via the display screen to remove the patient tube from the holder portion and connect an end of the patient tube to a patient line set or catheter.

2. The device according to claim 1, wherein: The memory stores further instructions which, when executed by the processor, cause the processor to: receiving an indication that a patient line is connected to the patient line set or the catheter; and The dialysis treatment is initiated by causing the at least one pump to pump fluid through the patient tube.

3. The device according to claim 1, wherein: The memory stores further instructions which, when executed by the processor, cause the processor to: When the output indicates (b) a dry line state before the priming sequence, the patient is instructed, via the display screen, to connect at least one fluid source to a corresponding source line of the peritoneal dialysis device.

4. The device according to claim 1, wherein: The memory stores further instructions which, when executed by the processor, cause the processor to: During the priming sequence, when the output indicates (c) a wet tube condition, repeatedly incrementing a threshold counter and performing (i) to (iv) at least once until (a) a no tube condition is detected or the counter exceeds a limit; and When the counter exceeds the limit, at least one of the following operations is performed: displaying, via the display screen, at least one message indicating that the patient tube has not been connected to the patient line set or the catheter; or Causes the alarm to be activated.

5. The device according to claim 1, wherein: The memory stores further instructions which, when executed by the processor, cause the processor to: During the priming sequence, when the output indicates (b) a dry pipe condition, repeatedly incrementing a threshold counter and performing (i) through (iv) at least once until (c) a wet pipe condition is detected or the counter exceeds a limit; and When the counter exceeds the limit, at least one of the following operations is performed: displaying, via the display screen, at least one message indicating a priming error; or Causes an alarm to be activated indicating a priming error.

6. The device according to claim 5, wherein: The memory stores further instructions which, when executed by the processor, cause the processor to: receiving an indication that the perfusion error has been corrected; and Restart the perfusion sequence.

7. The device according to claim 1, wherein: The memory stores further instructions which, when executed by the processor, cause the processor to: Prior to the priming sequence, when the output indicates (a) a dry tube condition, repeatedly incrementing a threshold counter and performing (i) to (iv) at least once until (b) a dry tube condition is detected or the counter exceeds a limit; and When the counter exceeds the limit, at least one of the following actions is performed: displaying, via a display screen, at least one message indicating that the patient tube should be inserted into the holder portion; or Causes the alarm to be activated.

8. The device according to claim 1, wherein: The memory stores further instructions which, when executed by the processor, cause the processor to: incrementing a counter each time (c) a wet tube condition is determined; comparing the value of the counter to a counter threshold; as well as When the value of the counter is equal to or exceeds the counter threshold, (c) a wet pipe state is determined.

9. The device according to claim 1, wherein: The processor causes the transmitter to operate in the sweep mode by: at a first time, causing the first emitter to emit light during a first time period according to an activation pattern defined by instructions in the memory; at a second time after the first time, causing the second emitter to emit light during a second time period according to the activation pattern; as well as At a third time after the second time, the third emitter is caused to emit light during a third time period according to the activation pattern.

10. The device according to claim 9, wherein: the second time starts during or after the first time period, and The third time starts during the second time period or after the second time period.

11. The device according to claim 9, wherein: The second time period starts between half and ¾ of the first time period, and The third time starts between half and ¾ of the second time period.

12. The device according to claim 9, 10 or 11, wherein: The activation mode specifies control of the brightness of light emitted by the first emitter, the second emitter, and the third emitter by increasing the duty cycle from the beginning of the corresponding time period until half of the corresponding time period when the peak brightness is reached, and reducing the duty cycle from half of the corresponding time period until the end of the corresponding time period.

13. The device according to claim 9, wherein: The activation pattern corresponds to a Gaussian pulse waveform.

14. The device according to claim 1, wherein: When the patient tube is inserted into the perfusion sensor, the first transmitter is located on a first side of the patient tube opposite the detector, which is located on a second side of the patient tube.

15. The device according to claim 14, wherein: The second transmitter is located on a first side of the patient tube adjacent to the first transmitter, and The third emitter is located adjacent to the second emitter and is aligned to direct light between 30 degrees and 60 degrees relative to light emitted from the first and second emitters.

16. The device according to claim 1, 14 or 15, wherein: the first emitter being positioned relative to a transmissive light emitting diode of the detector, The second emitter is positioned relative to the middle light emitting diode of the detector, and The third emitter is positioned opposite the reflective light emitting diode of the detector.

17. A peritoneal dialysis device, comprising: a perfusion sensor including a holder portion configured to hold an end of a patient tube, the perfusion sensor further comprising a first emitter, a second emitter, a third emitter, and a detector configured to detect light emitted by the first emitter, the second emitter, and the third emitter interacting with the patient tube; as well as a processor configured to operate the perfusion sensor, at least one pump, and a display screen; and The peritoneal dialysis device is characterized in that: The apparatus further comprises a memory storing instructions which, when executed by the processor, cause the processor to: (i) operating the first emitter, the second emitter, and the third emitter in a swept frequency mode during a swept frequency period, wherein a peak brightness of the first emitter occurs before a peak brightness of the second emitter, and a peak brightness of the second emitter occurs before a peak brightness of the third emitter, (ii) receiving output data from the detector indicative of light detected during the sweep period, and (iii) using the output data to determine one of (a) a dead pipe condition, (b) a dry pipe condition, or (c) a wet pipe condition, and (iv) providing an output indicative of the determination made in (iii), The memory stores additional instructions which, when executed by the processor, cause the processor to: instructing the patient, via the display screen, to insert an end of the patient tube into a holder portion of the perfusion sensor, Perform (i) to (iv) at least once, When the output indicates (b) a dry tube state, starting a priming sequence by causing the at least one pump to pump fluid from a fluid source through the patient tube and performing (i) to (iv) at least once, and During the priming sequence, when the output indicates (c) a wet tube state, the priming sequence is ended by stopping the at least one pump and instructing the patient via the display screen to remove a patient tube from the holder portion and connect an end of the patient tube to a patient line set or catheter.

18. The device according to claim 17, wherein: The memory stores further instructions which, when executed by the processor, cause the processor to: receiving an indication that a patient line is connected to the patient line set or the catheter; and The dialysis treatment is initiated by causing the at least one pump to pump fluid through the patient tubing.

19. The device according to claim 17, wherein: The memory stores further instructions which, when executed by the processor, cause the processor to: When the output indicates (b) a dry line state before the priming sequence, the patient is instructed, via the display screen, to connect at least one fluid source to a corresponding source line of the peritoneal dialysis device.

20. The device according to claim 17, wherein: The memory stores further instructions which, when executed by the processor, cause the processor to: During the priming sequence, when the output indicates (c) a wet tube condition, repeatedly incrementing a threshold counter and performing (i) to (iv) at least once until (a) a no tube condition is detected or the counter exceeds a limit; and When the counter exceeds the limit, at least one of the following operations is performed: displaying, via the display screen, at least one message indicating that the patient tube has not been connected to the patient line set or the catheter; or Causes the alarm to be activated.