System, method, and apparatus for monitoring, regulating, or controlling fluid flow
10228683 ยท 2019-03-12
Assignee
Inventors
- Bob David Peret (Bedford, NH)
- Brian H. Yoo (Cambridge, MA, US)
- Derek G. Kane (Manchester, NH)
- Dean Kamen (Bedford, NH)
- Colin H. Murphy (Cambridge, MA)
- John M. Kerwin (Manchester, NH)
Cpc classification
G06V10/751
PHYSICS
G05B19/416
PHYSICS
International classification
G05B19/416
PHYSICS
Abstract
A flow meter, and related system and method are provided. The flow meter includes a coupler, a support member, an image sensor, a valve, and one or more processors. The coupler is adapted to couple to a drip chamber. The support member is operatively coupled to the coupler. The image sensor has a field of view and is operatively coupled to the support member. The image sensor is positioned to view the drip chamber within the field of view. The one or more processors are operatively coupled to the image sensor to receive image data therefrom and to the actuator to actuate the valve. The one or more processors are configured to estimate a flow of fluid through the drip chamber and to actuate the valve to control the flow of fluid through the drip chamber to achieve a target flow rate.
Claims
1. A flow meter, comprising: an image sensor having a field of view, wherein the image sensor is positioned to view a drip chamber within the field of view; a valve comprising: a rigid chamber; a flexible tube section disposed within the rigid chamber, the flexible tube section in fluid communication with the drip chamber; a pump fluidly coupled to the rigid chamber and configured to pump fluid into and out of the rigid chamber to thereby actuate the valve; and an actuator coupled to the pump and configured to actuate the pump; and at least one processor in communication with the image sensor to receive image data therefrom and with the actuator to actuate the valve, wherein the at least one processor is configured to estimate a flow of fluid through the drip chamber and to actuate the valve to control the flow of fluid through the drip chamber to achieve a target flow rate, wherein the at least one processor compares an image of the image data to a reference image to estimate at least one parameter of liquid within the drip chamber.
2. The flow meter according to claim 1, wherein the at least one processor determines an existence of a free flow condition using a distortion of a background pattern caused by a liquid as indicated by the image data.
3. The flow meter according to claim 2, wherein the background pattern is an array of lines having at least one angle relative to an opening of the drip chamber when viewed from the image sensor using the image data.
4. The flow meter according to claim 3, wherein the at least one processor determines the free flow condition exists when the liquid causes the array of lines to change angles by the distortion caused by the liquid when in the free flow condition as viewed within the field of view of the image sensor.
5. The flow meter according to claim 1, further comprising a non-transitory processor-readable memory in operative communication with the at least one processor, wherein the non-transitory processor-readable memory includes an operative set of processor executable instructions configured for execution by the at least one processor, wherein the operative set of processor executable instructions, when executed by the at least one processor, controls the operation of the at least one processor.
6. The flow meter according to claim 1, wherein the at least one processor updates the reference image by multiplying each pixel of the reference image by a first constant and adding a corresponding pixel of the image multiplied by a second constant.
7. The flow meter according to claim 1, wherein the at least one processor updates the reference image by multiplying each pixel of the reference image by a first constant and adding a corresponding pixel of the image multiplied by a second constant.
8. The flow meter according to claim 1, further comprising a transceiver, wherein the at least one processor is configured to communicate with a monitoring client through the transceiver to communicate the estimated flow of fluid through the drip chamber.
9. The flow meter according to claim 1, wherein the at least one parameter of liquid is the estimated flow of fluid through the drip chamber.
10. A system comprising: a flow meter, comprising: an image sensor having a field of view, wherein the image sensor is positioned to view a drip chamber within the field of view; a valve comprising a rigid chamber, a flexible tube section disposed within the rigid chamber wherein the flexible tube section is in fluid communication with the drip chamber, a pump operatively coupled to the rigid chamber and configured to pump fluid into and out of the rigid chamber to thereby actuate the valve, and an actuator coupled to the pump and configured to actuate the pump; and at least one processor in communication with the image sensor to receive image data therefrom and with the actuator to actuate the valve, wherein the at least one processor is configured to estimate a flow of fluid through the drip chamber and to actuate the valve to control the flow of fluid through the drip chamber to achieve a target flow rate, wherein the at least one processor compares an image of the image data to a reference image to estimate at least one parameter of liquid within the drip chamber; and a monitoring client in operative communication with the flow meter to receive the estimated flow of fluid through the drip chamber.
11. A method of controlling a flow meter, the method comprising: capturing an image of a drip chamber using an image sensor; estimating a flow of fluid, using a processor, through the drip chamber using the image sensor; actuating a valve, using the processor, to cause the flow of fluid to reach a target flow rate, the valve comprising a rigid chamber, a flexible tube section disposed within the rigid chamber wherein the flexible tube section is in fluid communication with the drip chamber, a pump operatively coupled to the rigid chamber and configured to pump fluid into and out of the rigid chamber to thereby actuate the valve; comparing, using the processor, the image of the drip chamber to a reference image to estimate at least one parameter of liquid within the drip chamber; and an actuator coupled to the pump and configured to actuate the pump.
12. The method according to claim 11, further comprising the act of communicating the estimated flow of fluid to a monitoring client.
13. A flow meter, comprising: an image sensor having a field of view, wherein the image sensor is positioned to view a drip chamber within the field of view; a valve comprising: a rigid chamber; a flexible tube section disposed within the rigid chamber and in fluid communication with the drip chamber; a pump operatively coupled to the rigid chamber and configured to pump fluid into and out of the rigid chamber to thereby actuate the valve; and an actuator coupled to the pump and configured to actuate the pump; and at least one processor in communication with the image sensor to receive image data therefrom and with the actuator to actuate the valve, wherein the at least one processor is configured to estimate a flow of fluid through the drip chamber and to actuate the valve to control the flow of fluid through the drip chamber to achieve a target flow rate, wherein the at least one processor determines an existence of a free flow condition using a distortion of a background pattern caused by a liquid as indicated by the image data.
14. The flow meter according to claim 13, wherein the background pattern is an array of lines having at least one angle relative to an opening of the drip chamber when viewed from the image sensor using the image data.
15. The flow meter according to claim 14, wherein the at least one processor determines the free flow condition exists when the liquid causes the array of lines to change angles by the distortion caused by the liquid when in the free flow condition as viewed within the field of view of the image sensor.
16. The flow meter according to claim 13, wherein the target flow rate is a drop growth rate.
17. The flow meter according to claim 16, wherein the at least one processor is further configured to actuate the valve to control the drop growth rate to thereby achieve the target flow rate.
18. A flow meter, comprising: an image sensor having a field of view, wherein the image sensor is positioned to view a drip chamber within the field of view; a valve comprising: a rigid chamber; a flexible tube section disposed within the rigid chamber, the flexible tube section in fluid communication with the drip chamber; and an actuator configured to actuate the valve; and at least one processor in communication with the image sensor to receive image data therefrom and with the actuator to actuate the valve, wherein the at least one processor is configured to estimate a flow of fluid through the drip chamber and to actuate the valve to control the flow of fluid through the drip chamber to achieve a target flow rate, wherein the at least one processor compares an image of the image data to a reference image to estimate at least one parameter of a liquid within the drip chamber.
19. The flow meter according to claim 18, wherein the at least one processor determines an existence of a free flow condition using a distortion of a background pattern caused by the liquid as indicated by the image data.
20. A flow meter, comprising: an image sensor having a field of view, wherein the image sensor is positioned to view a drip chamber within the field of view; a valve configured to control a flow of fluid through the drip chamber; an actuator configured to actuate the valve to thereby control the flow of fluid through the drip chamber; and at least one processor in communication with the image sensor to receive image data therefrom and with the actuator to actuate the valve, wherein the at least one processor is configured to estimate the flow of fluid through the drip chamber and to actuate the valve to control the flow of fluid through the drip chamber to achieve a target flow rate, wherein the at least one processor compares an image of the image data to a reference image to estimate at least one parameter of liquid within the drip chamber and to thereby actuate the valve using the actuator in response to the at least one parameter of a liquid to achieve the target flow rate.
21. The flow meter according to claim 20, wherein the at least one processor determines an existence of a free flow condition using a distortion of a background pattern caused by the liquid as indicated by the image data.
22. The flow meter according to claim 21, wherein the at least one processor determines the free flow condition exists when the liquid causes an array of lines of the background pattern to change angles by the distortion caused by the liquid when in the free flow condition as viewed within the field of view of the image sensor.
23. The flow meter according to claim 20, wherein the at least one processor updates the reference image by multiplying each pixel of the reference image by a first constant and adding a corresponding pixel of the image multiplied by a second constant.
24. The flow meter according to claim 20, wherein the at least one processor is further configured to identify a plurality of pixels of interest within the image.
25. The flow meter according to claim 24, wherein the at least one processor is further configured to determine a subset of pixels within the plurality of pixels of interest.
26. The flow meter according to claim 25, wherein each pixel of the plurality of pixels of interest is determined to be within the subset of pixels when there is a path to a baseline corresponding to the drip chamber.
27. The flow meter according to claim 26, wherein the baseline is a predetermined set of pixels within the image sensor.
28. The flow meter according to claim 25, wherein the at least one processor is further configured to perform a rotation operation on the subset of pixels.
29. The flow meter according to claim 28, wherein the at least one processor is further configured to estimate a volume of a drop within the drip chamber by counting a number of pixels within the rotated subset of pixels.
30. The flow meter according to claim 24, wherein the plurality of pixels of interest are identified by comparing the image to the reference image.
31. The flow meter according to claim 20, wherein the at least one processor is further configured to initialize the reference image.
32. The flow meter according to claim 20, wherein the at least one processor is further configured to update the reference image using the image captured by the image sensor.
33. The flow meter according to claim 32, wherein the reference image is updated in accordance with:
P.sub.background,i,j=P.sub.background,i,j(1.sub.background)+.sub.backgroundP.sub.input,i,j.
34. The flow meter as in claim 20, wherein the at least one processor is further configured to update an array of variances using the image captured by the image sensor.
35. The flow meter according to claim 34, wherein the array of variances is) updated in accordance with:
.sub.temp.sup.2=(P.sub.background,i,jP.sub.input,i,j).sup.2
.sub.background,i,j.sup.2=.sub.background,i,j.sup.2(1.sub.background)+.sub.background.sub.temp.sup.2.
36. The flow meter according to claim 20, wherein the at least one processor is further configured to update an array of integers in accordance with the image captured by the image sensor.
37. The flow meter according to claim 36, wherein each integer of the array of integers corresponds to a number of updates of a pixel of the reference image.
38. The flow meter according to claim 37, wherein the comparison of the image to the reference image only compares pixels within the image to pixels within the reference image if a respective integer of the array of integers indicates a respective pixel within the reference image has been updated at least a predetermined number of times.
39. The flow meter according to claim 20, wherein the at least one processor is further configured to: identify a drop in the image and a predetermined band near an edge of the drop; and initialize the reference image by setting each pixel of the reference image to the image unless it is within the identified drop or the predetermined band near the edge of the drop.
40. The flow meter according to claim 39, wherein the at least one processor is further configured to set a pixel of the reference image to a predetermined value if a corresponding pixel of the image is within the identified drop or the predetermined band near the edge of the drop.
41. The flow meter according to claim 40, wherein the corresponding pixel of the image has a location corresponding to a location of the pixel of the reference image.
42. The flow meter according to claim 20, wherein a baseline corresponds to an opening of the drip chamber.
43. The flow meter according to claim 42, wherein the at least one processor is further configured to determine whether each of a plurality of pixels of interest is within a subset of pixels if a respective pixel of the plurality of pixels of interest has a contiguous path back to the baseline.
44. The flow meter according to claim 20, further comprising a transceiver, wherein the at least one processor is configured to communicate with a monitoring client through the transceiver to communicate the estimated flow of fluid through the drip chamber.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) These and other aspects will become more apparent from the following detailed description of the various embodiments of the present disclosure with reference to the drawings wherein:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
(25)
(26)
(27)
(28)
(29)
(30)
(31)
(32)
(33)
(34)
(35)
(36)
(37)
(38)
(39)
(40)
(41)
(42)
(43)
(44)
(45)
(46)
(47)
(48)
(49)
(50)
(51)
(52)
(53)
(54)
(55)
(56)
(57)
(58)
(59)
(60)
(61)
(62)
(63)
(64)
(65)
(66)
(67)
(68)
(69)
(70)
(71)
(72)
(73)
(74)
(75)
(76)
(77)
(78)
(79)
(80)
(81)
(82)
(83)
(84)
(85)
(86)
DETAILED DESCRIPTION
(87)
(88) A flow meter 7 monitors the drip chamber 4 to estimate a flow rate of liquid flowing through the drip chamber 4. The fluid from the drip chamber 4 is gravity fed into a valve 6. The valve 6 regulates (i.e., varies) the flow of fluid from the fluid reservoir 2 to the patient 3 by regulating fluid flow from the drip chamber 4 to the patient 3. The valve 6 may be any valve as described herein, including a valve having two curved-shaped members, a valve having two flexible sheets, a valve that pinches (or uniformly compresses) on the tube over a significant length of the tube, or the like. The valve 6 may be an inverse-Bourdon-tube valve that works in an opposite way of a Bourdon tube in that a deformation of the fluid path causes changes in fluid flow rather than fluid flow causing deformation of the fluid path.
(89) In alternative embodiments, the system 1 optionally includes an infusion pump 414 (e.g., a peristaltic pump, a finger pump, a linear peristaltic pump, a rotary peristaltic pump, a cassette-based pump, a membrane pump, other pump, etc.) coupled to the fluid tube 5. The outlined box designated as 414 represents the optional nature of the infusion pump 414, e.g., the infusion pump may not be used in some embodiments. The infusion pump 414 may use the flow meter 7 as feedback to control the flow of fluid through the fluid tube 5. The infusion pump 414 may be in wireless communication with the flow meter 7 to receive the flow rate therefrom. The infusion pump 414 may use a feedback control algorithm (e.g., the control component 14 of
(90) In some embodiments, the fluid reservoir 2 is pressurized to facilitate the flow of fluid from the fluid reservoir 2 into the patient 3, e.g., in the case where the fluid reservoir 2 (e.g., an IV bag) is below the patient 3; the pressurization provides sufficient mechanical energy to cause the fluid to flow into the patient 3. A variety of pressure sources, such as physical pressure, mechanical pressure, and pneumatic pressure may be applied to the inside or outside of the fluid reservoir 2. In one such embodiment, the pressurization may be provided by a rubber band wrapped around an IV bag.
(91) The flow meter 7 and the valve 6 may form a closed-loop system to regulate fluid flow to the patient 3. For example, the flow meter 7 may receive a target flow rate from a monitoring client 8 by communication using transceivers 9, 10. That is, the transceivers 9, 10 may be used for communication between the flow meter 7 and the monitoring client 8. The transceivers 9, 10 may communicate between each other using a modulated signal to encode various types of information such as digital data or an analog signal. Some modulation techniques used may include using carrier frequency with FM modulation, using AM modulation, using digital modulation, using analog modulation, or the like.
(92) The flow meter 7 estimates the flow rate through the drip chamber 4 and adjusts the valve 6 to achieve the target flow rate received from the monitoring client 8. The valve 6 may be controlled by the flow meter 7 directly from communication lines coupled to an actuator of the valve 6 or via a wireless link from the flow meter 7 to onboard circuitry of the valve 6. The onboard electronics of the valve 6 may be used to control actuation of the valve 6 via an actuator coupled thereto. This closed-loop embodiment of the flow meter 7 and the valve 6 may utilize any control algorithm including a PID control algorithm, a neural network control algorithm, a fuzzy-logic control algorithm, the like, or some combination thereof.
(93) The flow meter 7 is coupled to a support member 17 that is coupled to the drip chamber 4 via a coupler 16. The support member 17 also supports a backlight 18. The backlight 18 includes an array of LEDs 20 that provides illumination to the flow meter 7. In some specific embodiments, the backlight 18 includes a background pattern 19. In other embodiments, the backlight 18 does not include the background pattern 19. In some embodiments, the background pattern 19 is present in only the lower portion of the backlight 18 and there is no background pattern 19 on the top (e.g., away from the ground) of the backlight 18.
(94) The flow meter 7 includes an image sensor 11, a free flow detector component 12, a flow rate estimator component 13, a control component 14, an exposure component 29, a processor 15, and a transceiver 9. The flow meter 7 may be battery operated, may be powered by an AC outlet, may include supercapacitors, and may include on-board, power-supply circuitry (not explicitly shown).
(95) The image sensor 11 may be a CCD sensor, a CMOS sensor, or other image sensor. The image sensor 11 captures images of the drip chamber 4 and communicates image data corresponding to the captured images to the processor 15.
(96) The processor 15 is also coupled to the free flow detector component 12, the flow rate estimator component 13, the control component 14, and the exposure component 29. The free flow detector component 12, the flow rate estimator component 13, the control component 14, and the exposure component 29 may be implemented as processor-executable instructions that are executable by the processor 15 and may be stored in memory, such as a non-transitory, processor-readable memory, ROM, RAM, EEPROM, a harddisk, a harddrive, a flashdrive, and the like.
(97) The processor 15 can execute the instructions of the free flow detector component 12 to determine if a free flow condition exists within the drip chamber 4 by analyzing the image data from the image sensor 11. Various embodiments of the free flow detector component 12 for detecting a free flow condition are described below. In response to a detected free flow condition, the processor 15 can make a function call to the control component 14 to send a signal to the valve 6 to completely stop fluid flow to the patient 3. That is, if the free flow detector component 12 determines that a free flow condition exists, the flow meter 7 may instruct the valve 6 to stop fluid flow, may instruct the monitoring client 8 to stop fluid flow (which may communicate with the valve 6 or the pump 414), and/or may instruct the pump 414 to stop pumping or occlude fluid flow using an internal safety occluder.
(98) The flow rate estimator component 13 estimates the flow rate of fluid flowing through the drip chamber 4 using the image data from the image sensor 11. The processor 15 communicates the estimated flow rate to the control component 14 (e.g., via a function call). Various embodiments of estimating the flow rate are described below. If the flow rate estimator component 13 determines that the flow rate is greater than a predetermined threshold or is outside a predetermined range, the flow meter 7 may instruct the valve 6 to stop fluid flow (which may communicate with the valve 6 or the pump 414), may instruct the monitoring client 8 to stop fluid flow (which may communicate with the valve 6 or the pump 414), and/or may instruct the pump 414 to stop pumping or occlude fluid flow using an internal safety occluder.
(99) The processor 15 controls the array of LEDs 20 to provide sufficient light for the image sensor 11. For example, the exposure component 29 may be used by the processor 15 or in conjunction therewith to control the array of LEDs 20 such that the image sensor 11 captures image data sufficient for use by the free flow detector component 12 and the flow rate estimator component 13. The processor 15 may implement an exposure algorithm stored by the exposure component 29 (see
(100) The control component 14 calculates adjustments to make to the valve 6 in accordance with the estimated flow rate from the flow rate estimator component 13. For example and as previously mentioned, the control component 14 may implement a PID control algorithm to adjust the valve 6 to achieve the target flow rate.
(101) The monitoring client 8, in some embodiments, monitors operation of the system 1. For example, when a free flow condition is detected by the free flow detector component 12, the monitoring client 8 may wirelessly communicate a signal to the valve 6 to interrupt fluid flow to the patient 3.
(102) The flow meter 7 may additionally include various input/output devices to facilitate patient safety, such as various scanners, and may utilize the transceiver 9 to communicate with electronic medical records, drug error reduction systems, and/or facility services, such as inventory control systems.
(103) In a specific exemplary embodiment, the flow meter 7 has a scanner, such as an RFID interrogator that interrogates an RFID tag attached to the fluid reservoir 2 or a barcode scanner that scans a barcode of the fluid reservoir 2. The scanner may be used to determine whether the correct fluid is within the fluid reservoir 2, it is the correct fluid reservoir 2, the treatment programmed into the flow meter 7 corresponds to the fluid within the fluid reservoir 2 and/or the fluid reservoir 2 and flow meter 7 are correct for the particular patient (e.g., as determined from a patient's barcode, a patient's RFID tag, or other patient identification).
(104) For example, the flow meter 7 may scan the RFID tag of the fluid reservoir 2 to determine if a serial number or fluid type encoded within the RFID tag is the same as indicated by the programmed treatment stored within the flow meter 7. Additionally or alternatively, the flow meter 7 may interrogate the RFID tag of the fluid reservoir 2 for a serial number and the RFID tag of the patient 3 for a patient serial number, and also interrogate the electronic medical records using the transceiver 9 to determine if the serial number of the fluid reservoir 2 within the RFID tag attached to the fluid reservoir 2 matches the patient's serial number within the RFID tag attached to the patient 3 as indicated by the electronic medical records.
(105) Additionally or alternatively, the monitoring client 8 may scan the RFID tag of the fluid reservoir 2 and the RFID tag of the patient 3 to determine that it is the correct fluid within the fluid reservoir 2, it is the correct fluid reservoir 2, the treatment programmed into the flow meter 7 corresponds to the fluid within the fluid reservoir 2, and/or the fluid reservoir 2 is correct for the particular patient (e.g., as determined from a patient's barcode, RFID tag, electronic medical records, or other patient identification or information). Additionally or alternatively, the monitoring client 8 or the flow meter 7 may interrogate the electronic medical records database and/or the pharmacy to verify the prescription or to download the prescription, e.g., using the serial number of the barcode on the fluid reservoir 2 or the RFID tag attached to the fluid reservoir 2.
(106)
(107) Act 22 selects a region of interest. For example, referring again to
(108) Act 23 determines if a pixel is within the region of interest 23. If the pixel of act 23 is a pixel that images, for example, the drip chamber 4, then act 23 determines that it is within the region of interest. Likewise, in this example, if the pixel of act 23 is a pixel that does not image the drip chamber 4, act 23 determines that the pixel is not within the region of interest.
(109) Act 24 activates the backlight, e.g., backlight 18 of
(110) In some embodiments of the present disclosure, a subset of LEDs of the backlight (e.g., a subset of the LED array 20 of
(111) Act 25 exposes the pixel. If in act 23 it was determined that the pixel is within the region of interest, the pixel will be exposed with at least a portion of the backlight turned on in act 25. Additionally, if in act 23 it was determined that the pixel is not within the region of interest, the pixel will be exposed without at least a portion of the backlight turned on in act 25.
(112)
(113)
(114)
(115) The motor 72 may be a servo motor and may be used to adjust the flow rate through the tube 70. That is, the flow meter 67 may also function as a flow meter and regulator. For example, a processor 75 within the flow meter 67 may adjust the motor 72 such that a desired flow rate is achieved as measured by the optical drip counter 68. The processor 75 may implement a control algorithm using the optical drip counter 68 as feedback, e.g., a PID control loop with the output supplied to the motor 72 and the feedback received from the optical drip counter 68.
(116) In alternative embodiments, the motor 72, the lead screw mechanism 73, and the roller clamp 71 may be replaced and/or supplemented by an actuator that squeezes the tube 70 (e.g., using a cam mechanism or linkage driven by a motor) or they may be replaced by any sufficient roller, screw, or slider driven by a motor. For example, in some embodiments of the present disclosure, the roller clamp 71 may be replaced by any valve as described herein, including a valve having two C-shaped members, a valve having two curve-shaped support members, a valve having two flexible sheets, a valve that pinches on the tube over a significant length of the tube, or the like.
(117) The flow meter 67 may also optionally include a display. The display may be used to set the target flow rate, display the current flow rate, and/or provide a button, e.g., a touch screen button to stop the flow rate.
(118)
(119) The imaging system 78 of
(120) System 78 also includes a processor 90 that may be operatively coupled to the image sensor 63 and/or the uniform backlight 79. The processor 90 implements an algorithm to determine when a free flow condition exists and/or to estimate a flow rate (e.g., using the free flow detector component 12 or the flow rate estimator component 13 of
(121) The uniform backlight 79 may be an array of light-emitting diodes (LEDs) having the same or different colors, a light bulb, a window to receive ambient light, an incandescent light, and the like. In some embodiments, the uniform backlight 79 may include one or more point-source lights.
(122) The processor 90 may modulate the uniform backlight 79 in accordance with the image sensor 63. For example, the processor 90 may activate the uniform backlight 79 for a predetermined amount of time and signal the image sensor 63 to capture at least one image, and thereafter signal the uniform backlight 79 to turn off. The one or more images from the image sensor 63 may be processed by the processor 90 to estimate the flow rate and/or detect free flow conditions. For example, in one embodiment of the present disclosure, the system 78 monitors the size of the drops being formed within the drip chamber 59, and counts the number of drops that flow through the drip chamber 59 within a predetermined amount of time; the processor 90 may average the periodic flow from the individual drops over a period of time to estimate the flow rate. For example, if X drops each having a volume Y flow through the drip chamber in a time Z, the flow rate may be calculated as (X*Y)/Z.
(123) Additionally or alternatively, the system 78 may determine when the IV fluid is streaming through the drip chamber 59 (i.e., during a free flow condition). The uniform backlight 79 shines light through the drip chamber 59 to provide sufficient illumination for the image sensor 63 to image the drip chamber 59. The image sensor 63 can capture one or more images of the drip chamber 59.
(124) Other orientations and configurations of the system 78 may be used to account for the orientation and output characteristics of the uniform backlight 79, the sensitivity and orientation of the image sensor 63, and the ambient light conditions. In some embodiments of the present disclosure, the processor 90 implements an algorithm that utilizes a uniformity of the images collected by the image sensor 63. The uniformity may be facilitated by the uniform backlight 79. For example, consistent uniform images may be captured by the image sensor 63 when a uniform backlight 79 is utilized.
(125) Ambient lighting may cause inconsistencies in the images received from the image sensor 63; for example, direct solar illumination provides inconsistent lighting because the sun may be intermittently obscured by clouds and the sun's brightness and angle of illumination depend upon the time of the day. Therefore, in some embodiments of the present disclosure, an IR filter 80 is optionally used to filter out some of the ambient light to mitigate variations in the images captured by the image sensor 63. The IR filter 80 may be a narrow-band infrared light filter placed in front of the image sensor 63; and the uniform backlight 79 may emit light that is about the same wavelength as the center frequency of the passband of the filter 80. The IR filter 80 and the uniform backlight 79 may have a center frequency of about 850 nanometers. In some embodiments, the imaging system 78 may be surrounded by a visually translucent, but IR-blocking, shell. In alternative embodiments, other optical frequencies, bandwidths, center frequencies, or filter types may be utilized in the system 78.
(126)
(127)
(128) System 84 includes an array of lines 85 that are opaque behind the drip chamber 59. System 84 uses the array of lines 85 to detect a free flow condition. The free flow detection algorithm (e.g., the free flow detector component 12 of
(129) In some specific embodiments, the lines 85 are only present on a fraction of the image (e.g., the background pattern only occupies a fraction of the backlight 18 or the binary optics only causes the pattern to appear in a fraction of the image, such as the lower or upper half). For example, a lower fraction of the image may include a background pattern of stripes.
(130) Referring now to
(131) In some embodiments of the present disclosure, illumination by light having an optical wavelength of about 850 nanometers may be used to create the image 86. Some materials may be opaque in the visible spectrum and transparent in the near IR spectrum at about 850 nanometers and therefore may be used to create the array of lines 85. The array of lines 85 may be created using various rapid-prototyping plastics. For example, the array of lines 85 may be created using a rapid-prototype structure printed with an infrared-opaque ink or coated with a metal for making the array of lines 85. Additionally or alternatively, in some embodiments of the present disclosure, another method of creating the array of lines 85 is to create a circuit board with the lines laid down in copper. In another embodiment, the array of lines 85 is created by laying a piece of ribbon cable on the uniform backlight 79; the wires in the ribbon cable are opaque to the infrared spectrum, but the insulation is transparent such that the spacing of the wires may form the line for use during imaging by the image sensor 63 (see
(132) The processor 90 implements an algorithm to determine when a free flow condition exists (e.g., using the free flow detector component 12 of
(133) Referring again to
(134) The following algorithm implemented by the processor 90 and received from the processor-readable memory 91 may be used to determine when a free flow condition exists: (1) establish a background image 89 (see
(135) In some embodiments of the present disclosure, the background image 89 of
(136) When the system 84 has no water flowing through the drip chamber 59 (see
(137)
(138) For example, consider three respective pixels of
(139) When it is determined that a few high-contrast spots exist within the image 94 of
(140)
(141) Referring now to only
(142)
(143) That is, as shown in
(144) In yet an additional embodiment of the present disclosure, the intensity, the intensity squared, or other function may be used to produce the results 183 of
(145) For example, an image of the image sensor 63 of
(146) In some embodiments, a predetermined range of contiguous values above a threshold (e.g., min and max ranges) of the summed rows of intensity values or intensity squared values may be used by the processor 90 to determine if a drop of liquid is within the image. For example, each row of the rows of the intensity values (or the intensity squared values) may be summed together and a range of the summed values may be above a threshold number; if the range of contiguous values is between a minimum range and a maximum range, the processor 90 may determine that the range of contiguous values above a predetermined threshold is from a drop within the field of view of the image sensor 63 (see
(147) The following describes a smoothing function similar to the cubic spline (i.e., the cubic-spline-type function) that may be used on the summed rows, the summed rows of intensity values, or the summed rows of the intensity values squared prior to the determination by the processor 90 to determine if a free flow condition exits. In some specific embodiments, the cubic-spline-type function may be used to identify blocks, as described infra, which may facilitate the processor's 90 identification of free flow conditions.
(148) The cubic-spline-type function is an analog to the cubic spline, but it smoothes a data set rather than faithfully mimics a given function. Having data sampled on the interval from [0,1] (e.g., the summation along a row of intensity squared or intensity that is normalized) the processor 90 (see
(149) The standard cubic spline definition is illustrated in Equation (1) as follows:
(x)=A.sub.i(x)y.sub.i+B.sub.i(x)y.sub.i+1+C.sub.i(x)y.sub.i++D.sub.i(x)y.sub.i+1x.sub.ixx.sub.i+1(1),
(150) with the functions A.sub.i, B.sub.i, C.sub.i, D.sub.i defined as in the set of Equations (2):
(151)
(152) The Equations (1) and (2) guaranty continuity and curvature continuity. The only values which can be freely chosen are y.sub.i, y.sub.0 and y.sub.N. Please note that Equation (3) is chosen as follows:
y.sub.0=y.sub.1=0(3),
(153) i.e., the function is flat at 0 and 1. The remaining y.sub.i must satisfy the following set of Equations (4):
(154)
(155) The set of Equations (4) can be rewritten as the set of Equations (5) as follows:
(156)
(157) In turn, this becomes the matrix Equation (6):
(158)
(159) The matrix Equation (6) may be rewritten as the set of Equations (7) as follows:
Fy.sub.dd=Gy
Y.sub.dd=F.sup.1Gy=Hy(7).
(160) Choosing the values in the vector y using a least squares criterion on the collected data is shown in Equation (8) as follows:
E=[.sub.kA.sub.i.sub.
(161) Equation (8) is the minimum deviation between the data and the spline, i.e., Equation (8) is an error function. The y values are chosen to minimize the error as defined in Equation (8). The vector of predicted values can be written as illustrated in Equation (9) as follows:
(162)
(163) The elements of the matrix in brackets of Equation (9) depend upon the x-value corresponding to each data point (but this is a fixed matrix). Thus, the final equation can be determined using the pseudo-inverse. In turn, the pseudo-inverse only depends upon the x-locations of the data set and the locations where the breaks in the cubic spline are set. The implication of this is that once the geometry of the spline and the size of the image are selected, the best choice for y given a set of measured values y.sub.m is illustrated in Equation (10) as follows:
y=(A.sup.TA).sup.1A.Math.y.sub.m(10).
(164) The cubic spline through the sum intensity-squared function of the image will then be given by Equation (11) as follows:
y.sub.cs=A.Math.y(11).
(165) Because the maximum values of the cubic spline are of interest, the derivative of the cubic spline is determined and utilized to determine the maximum values of the cubic spline. The cubic spline derivative is given by Equation (12) as follows:
(166)
(167) Equation (12) can be written as Equation (13) as follows:
(168)
(169) Once the current values of y are found, the cubic spline, y.sub.cs, and its derivative, y.sub.cs, can be calculated. The cubic spline data may include blocks of data that includes values above a predetermined threshold. A pipe block is formed by the liquid flowing out of the tube into the drip chamber 59 and a pool block is formed as the liquid collects at the gravity end of the drip chamber 59 (see
(170) The following algorithm may be applied to the cubic spline data: (1) determine the local maxima of the cubic spline data using the derivative information; (2) determine the block surrounding each local maxima by including all points where the cubic spline value is above a threshold value; (3) merge all blocks which intersect; (4) calculate information about the block of data including the center of mass (intensity), the second moment of the mass (intensity), the lower x-value of the block, the upper x-value of the block, the mean value of the original sum of intensity squared data in the block, the standard deviation of the original sum of intensity squared data in the block, and the mean intensity of a high-pass filtered image set in the block; and (5) interpret the collected data to obtain information about when drops occur and when the system is streaming.
(171) The mean intensity of a high-pass filtered image set in the block is used to determine if the block created by each contiguous range of spline data is a result of a high frequency artifact (e.g., a drop) or a low frequency artifact. This will act as a second background filter which tends to remove artifacts such as condensation from the image. That is, all previous images in an image memory buffer (e.g., 30 previous frames, for example) are used to determine if the data is a result of high frequency movement between frames. If the block is a result of low frequency changes, the block is removed, or if it is a result of high frequency changes, the block is kept for further analysis. A finite impulse response filter or an infinite impulse response filter may be used.
(172) Each block is plotted over its physical extent with the height equal to the mean value of the data within the block. If a block has a mean value of the high-pass filtered image less than the threshold, it is an indication that it has been around for several images and thus may be removed.
(173) Free flow conditions may be determined by the processor 90 (see
(174) Various filtering algorithms may be used to detect condensation or other low frequency artifacts, such as: if a block has a low mean value in the high-pass filtered image, then it may be condensation. This artifact can be removed from consideration. Additionally or alternatively, long blocks (e.g., greater than a predetermined threshold) with a low high-pass mean value are possibly streams because stream images tend to remain unchanging; the processor 90 may determine that long blocks greater than a predetermined threshold corresponds to a streaming condition. Additionally or alternatively, an algorithm may be used on the current image to detect free flow conditions.
(175) The processor 90 may, in some specific embodiments, use the block data to count the drops to use the system 84 as a drop counter. The processor 90 may also use width changes in the pool block as a drop disturbs the water to determine if a bubble formed when the drop hits the pool. For example, the processor 90 may determine that blocks that form below the pool block are from bubbles that formed when the drop hit the water. The bubble may be filtered out by the processor 90 when determining if a predetermined value of total block ranges indicates that a free flow condition exists.
(176) In some embodiments of the present disclosure, the depth of field of the system 84 may have a narrow depth of field to make the system 84 less sensitive to condensation and droplets on the chamber walls. In some embodiments, a near focus system may be used.
(177) Referring now to
(178)
where:
T(x,y)=T(x,y)1/(w.Math.h).Math..sub.x,yT(x,y)
I(x+x,y+y)=I(x+x,y+y)1(w.Math.h).Math..sub.x,yI(x+x,y+y);
(179) The I denotes the image, the T denotes the template, and the R denotes the results. The summation is done over the template and/or the image patch, such that: x=0 . . . w1 and y=0 . . . h1.
(180) The results R can be used to determine how much the template T is matched at a particular location within the image I as determined by the algorithm. The OpenCV template match method of CV_TM_CCOEFF_NORMED uses the pattern matching algorithm illustrated in Equation (15) as follows:
(181)
(182) In another embodiment of the present disclosure, the template matching algorithm uses a Fast Fourier Transform (FFT). In some embodiments, any of the methods of the matchTemplate( ) function of OpenCV may be used, e.g., CV_TM_SQDIFF, CV_TM_SQDIFF_NORMED, CV_TM_CCORR, and/or CV_TM_CCORR_NORMED.
(183) The CV_TM_SQDIFF uses the pattern matching algorithm illustrated in Equation (17) as follows:
(184)
(185) CV_TM_SQDIFF_NORMED uses the pattern matching algorithm illustrated in Equation (18) as follows:
(186)
(187) CV_TM_CCORR uses the pattern matching algorithm illustrated in Equation (19) as follows:
(188)
(189) CV_TM_CCORR_NORMED uses the pattern matching algorithm illustrated in Equation (20) as follows:
(190)
(191) In yet another embodiment of the present disclosure, a template of a grayscale image of a free flow condition is compared to an image taken by the image sensor 63 of
(192) Refer now to
(193) One type of Hough transfer uses an algorithm described in Progressive Probabilistic Hough Transform by J. Matas, C. Galambos, and J. Kittler in 1998 (Algorithm 1). However, the following Alternative Hough transform may be utilized and is shown in pseudo code form in Table 1 (Algorithm 2). Algorithm 2 selects two pixels at random and calculates the Hough transform of the line passing through these two points. Algorithm 2 is shown in Table 1 as follows:
(194) TABLE-US-00001 TABLE 1 Alternative Hough Transform Pseudocode 1. If the image is empty, then exit. 2. Randomly select two pixels and update the accumulator a. Required Operations i. Two random numbers ii. One inverse tangent 3. Check if the new location is higher than the threshold /. If not, goto 1 a. Operations i. One logical operation 4. Look along a corridor specified by the peak in the accumulator, and find the longest segment of pixels either continuous or exhibiting a gap not exceeding a given threshold. 5. Remove the pixels in the segment from the input image. 6. Unvote from the accumulator all the pixels from the line that have previously voted. 7. If the line segment is longer than the minimum length add it to the output list 8. Goto 1.
(195) If the line comprises a proportion, p, of the total points, then the likelihood that we will see a result in the representative (r,)-bin is p for Algorithm 1 and p.sup.2 for Algorithm 2. Generally, in some embodiments, a proportion test has at least 5 positive results and 5 negative results. Assuming that it is more likely to see negative results than positive results, in some embodiments, the Algorithms 1 and 2 continue to search for lines until there are at least 5 positive results in a particular bin.
(196) The probability of seeing a fifth positive result in Algorithm 1 after N5 tests is shown in Equation (21) as follows:
(197)
(198) and the probability in Algorithm 2 is shown in Equation (22) as follows:
(199)
(200) Table 2, shown below, shows the number of tries to have a 50% chance of seeing 5 successes, p.sub.1,50 and p.sub.2,50, as well as the number of tries to have a 90% chance of seeing 5 successes, p.sub.1,90 and p.sub.2,90.
(201) TABLE-US-00002 TABLE 2 p p.sub.1, 50 p.sub.1, 90 p.sub.2, 50 p.sub.2, 90 r.sub.50 r.sub.90 0.5 9 14 20 31 2.22 2.21 0.25 19 30 76 127 4 4.23 0.125 39 62 299 511 7.67 8.24 0.0625 76 127 1197 2046 15.75 16.11
(202) Table 2 shows that the increase in the number of tries between Algorithm 1 and Algorithm 2 to see 5 positive results is approximately 1/p. There should be 1 positive result in 1/p trials when the proportion is p.
(203) Algorithm 2's computationally expensive operation is, in some embodiments, the arc tangent function, which may be about 40 floating point CPU operations. There are approximately 2N floating point operations in Algorithm 1's equivalent step. The Hough transform of a 640480 pixel image with full resolution has N equal to 2520, while the Hough transform of a 10801920 pixel image has N equal to 7020. This implies that Algorithm 2 has a speed advantage over Algorithm 1 when p is greater than 0.008 for a 640480 image and when p is greater than 0.003 for a 10801920 image.
(204) In some embodiments, it is assumed that every bin in the Hough transform space is equally likely to be occupied in the presence of noise. This simplification speeds up the thresholding decision; however, in some embodiments, this assumption is not true. The primary effect of the simplification is to underestimate the probability that is seen in values greater than one in the Hough transform with a corresponding likelihood of falsely declaring that a line exists. For a particular combination of image size and Hough transform bin arrangement, the true probabilities can be pre-computed. This allows the false alarm rate to be minimized without a corresponding increase in computation. With additional restrictions on the type of imagery, even more accurate estimates of the probability of seeing a value in a bin of the Hough transform is possible.
(205) There are additional forms of the Hough transform which parameterizes different features. For example, there is a three-element parameterization of circles, (x,y,r), where x and y specify the center and r is the radius. Algorithm 2 can work using these parameterizations as well. For the circle example, Algorithm 2 would select three pixels at random and calculate the circle passing through them.
(206) Algorithm 2 would have a similar speed advantage for features comprising a suitably large portion of the total pixels considered. It would also have a significant advantage in storage required, since the Hough transform could be stored in a sparse matrix, while the Algorithm 1's analog would require a full-size matrix.
(207) Referring now to
(208)
(209)
(210)
(211) Referring to
(212)
(213) The method 214 of
(214) The method 214 includes acts 200-213. Act 200 determines a baseline of a drop forming at an opening of a drip chamber. Act 201 captures a first image. The first image may be captured using a uniform backlight. In some embodiments, the first image may be captured using a background pattern and/or an exposure algorithm as described herein. Acts 200 and 201 may be performed simultaneously.
(215) Act 202 identifies the drop within the first image and a predetermined band near an edge of the drop (e.g., the band may be a predetermined number of pixels beyond the edge of the drop). Act 203 initializes a background image by setting each pixel to the same value as the first image (for that respective location) unless it is within the identified drop or a predetermined band near the edge of the drop. Act 204 sets pixels within the region of the drop or within the predetermined band to a predetermined value.
(216) For example, when the method creates the first background image, every pixel in the background image that is part of the drop or a band outside of an edge of the drop is set to a default threshold value, e.g. 140 out of an intensity range of 0-255.
(217) Act 205 initializes the integers of the array of integers to zeros. Act 206 initializes the values within the array of variances to zeros. The integer array is the same size as the image. The integer array counts how often each pixel of the background image has been updated with new information and is initialized to all zeros. The array of variances (e.g., an array of the data type double) is also the same size as the background image and contains an estimate of the variance of the intensity of each pixel within the background image.
(218) Act 207 captures another image, and act 208 identifies the drop in the another image and another predetermined band near an edge of the drop. Act 209 updates the background image, the array of integers, and the array of variances.
(219) As additional images are captured, the background image may be updated. For example, when an image is collected by the system, the background algorithm evaluates every pixel. If a pixel is considered part of the drop or its guard band, then its value in the background image is not altered.
(220) If a pixel is not considered part of the drop or its guard band: (1) if the pixel's corresponding integer in the integer array is zero, the pixel's value in the background image is set equal to the pixel's value in the input image; or (2) if the pixel's count is greater than 0, then the background image value for that pixel is updated using a low pass filter. In some embodiments, any style of filter may be used, such as a high pass filter, a bandpass filter, etc. One low pass filter that may be used is illustrated in Equation (23) as follows:
P.sub.background,i,j=P.sub.background,i,j(1.sub.background)+.sub.backgroundP.sub.input,i,j(23).
(221) In addition, the variance array may be updated using Equations (24) as follows:
.sub.temp.sup.2=(P.sub.background,i,jP.sub.input,i,j).sup.2
.sub.background,i,j.sup.2=.sub.background,i,j.sup.2(1.sub.background)+.sub.background.sub.temp.sup.2(24).
(222) Note that the filter used for both operations is an exponential filter; however, in additional embodiments, other suitable filters may be used, such as other low-pass filters. The variance estimate can be performed in any known way or using a stand in for the estimate, e.g., using standard deviation.
(223) The new estimates of each pixel's background intensity (mean value), the number of images used to update each pixel's mean and variance, and each pixel's variance (e.g., an approximation to the true variance and/or a value that is proportional to the variance) are used to update the arrays. That is, each additional image captured may be used to update the background image, the array of integers, and the array of variances. After several images have been processed, the background image may appear as
(224) Act 210 compares the another image (e.g., current or most recent image) to the background image and identifies a plurality of pixels of interest. Act 211 determines a subset of pixels within the plurality of pixels of interest that corresponds to a drop.
(225) The comparison of act 210 compares the another image pixel-by-pixel to the background image. Out of this comparison comes an array the same size as the image where every pixel has a value of zero or not zero (255).
(226) Act 210 may be implemented by the pseudo code shown in
(227) When act 210 is implemented as an algorithm, the algorithm is initialized, and the input and output of this thresholding algorithm will look like the images in
(228) After enough images have been gathered such that most (or all) of the pixels of the background image have been generated with a sufficient number of pixels, lines (3), (3a), and (3b) of
(229) As previously mentioned, after act 210, act 211 determines which of a subset of pixels within the plurality of pixels of interest corresponds to a drop. Act 211 may be implemented by the pseudo code shown in
(230) The binary image after processing the pseudocode of
(231) Once the algorithm has an initial white pixel, it performs the algorithm illustrated by the pseudo code shown in
(232) This algorithm will set to white all output-pixel locations which can be connected to the input pixel's location by a continuous path of white input pixels. The left boundary of the drop is found by stepping through each row of pixels from the left edge until the algorithm hits a white pixel. The right boundary is found by stepping from the right edge of the image until it hits a white pixel. The first row where it is possible to step from the left edge to the right edge without hitting a white pixel is where the drop is considered to end.
(233) The pseudo code shown in
(234) Act 212 of
Imaging System Optics
(235)
(236) The image sensor may have the blur circle of a point imaged in the range of the image sensor entirely contained within the area of a single pixel. The focal length of the image-sensor lens may be 1.15 millimeters, the F# may be 3.0, and the aperture of the lens of the image sensor may be 0.3833 millimeter. A first order approximation of the optical system of one or more of the image sensors may be made using matrix equations, where every ray, r, is represented as the vector described in Equation (25) as follows:
(237)
(238) In Equation (25) above, h is the height of the ray at the entrance to the image sensor, and is the angle of the ray. Referring to
(239)
(240) To find the place on the focal plane, fp, where the ray strikes, a matrix multiplication as described in Equation (27) as follows may be used:
(241)
(242) As illustrated in
(243)
(244) As shown in
(245) The image sensor may utilize a second lens. For example, an image sensor may utilize a second lens to create a relatively larger depth of field and a relatively larger field of view. The depth of field utilizing two lenses can be calculated using the same analysis as above, but with the optical matrix modified to accommodate for the second lens and the additional distances, which is shown in Equation (29) as follows:
(246)
(247)
(248) As shown in
(249) For example, the following analysis shows how the depth of field can be set for an image sensor using a lens of focal length, f, a distance, z, from the focal plane, and a distance, d, from a point in space; a matrix of the system is shown in Equation (30) as follows:
(250)
(251) Equation (30) reduces to Equation (31) as follows:
(252)
(253) Equation (31) reduces to Equation (32) as follows:
(254)
(255) Considering the on-axis points, all of the heights will be zero. The point on the focal plane where different rays will strike is given by Equation (33) as follows:
(256)
(257) As shown above in (33), is the angle of the ray. The point in perfect focus is given by the lens maker's equation given in Equation (34) as follows:
(258)
(259) Equation (34) may be rearranged to derive Equation (35) as follows:
(260)
(261) Inserting d from Equation (35) into Equation (33) to show the striking point results in Equation (36) as follows:
(262)
(263) All rays leaving this point strike the focal plane at the optical axis. As shown in Equation (37), the situation when the image sensor is shifted by a distance from the focus is described as follows:
(264)
(265) Equation (37) shows that by properly positioning the lens of the image sensor with respect to the focal plane, we can change the depth of field. Additionally, the spot size depends upon the magnitude of the angle . This angle depends linearly on the aperture of the vision system created by the image sensor.
(266) Additionally or alternatively, in accordance with some embodiments of the present disclosure, an image sensor may be implemented by adjusting for various parameters, including: the distance to the focus as it affects compactness, alignment, and sensitivity of the vision system to the environment; the field of view of the system; and the lens-focal plane separation as it affects the tolerances on alignment of the system and the sensitivity of the system to the environment.
Embodiments of the Flow Meter with or without Valves Connected Thereto
(267) Referring to the drawings,
(268) The flow meter 58 optionally includes image sensors 63 and 64 that can estimate fluid flow and/or detect free flow conditions. Although the flow meter 58 includes two image sensors (e.g., 63 and 64), only one of the image sensors 63 and 64 may be used in some embodiments. The image sensors 63 and 64 can image a drop while being formed within the drip chamber 59 and estimate its size. The size of the drop may be used to estimate fluid flow through the drip chamber 59. For example, in some embodiments of the present disclosure, the image sensors 63 and 64 use an edge detection algorithm to estimate the outline of the size of a drop formed within the drip chamber 59; a processor therein (see processor 15 of
(269) In another embodiment of the present disclosure, the image sensors 63 and 64 image the fluid to determine if a free flow condition exists. The image sensors 63 and 64 may use a background pattern to determine if the fluid is freely flowing (i.e., drops are not forming and the fluid streams through the drip chamber 59). As previously mentioned, although the flow meter 58 includes two image sensors (e.g., 63 and 64), only one of the image sensors 64 and 64 may be used in some embodiments to determine if a free flow condition exists and/or to estimate the flow of fluid through the drip chamber.
(270) Additionally or alternatively, in some embodiments of the present disclosure, another image sensor 65 monitors the fluid tube 66 to detect the presence of one or more bubbles within the fluid tube. In alternative embodiments, other bubble detectors may be used in place of the image sensor 65. In yet additional embodiments, no bubble detection is used in the flow meter 58.
(271) Referring now to the drawings,
(272) The flow meter 218 may electronically transmit a flow rate to a monitoring client 8 (see
(273) In some embodiments, the flow meter 218 may be coupled to an actuator which is coupled to a valve (not shown in
(274) The flow meter 218 may use any flow algorithm described herein and may include any imaging system described herein. Additionally or alternatively, the flow meter 218 may include a free flow detector component (e.g., the free flow detector component 12 of
(275)
(276) The image sensor 227 images a drip chamber 229 and can receive illumination from the backlight 228. The flow meter 224 includes a support member 230 coupled to a coupler 231 that couples the drip chamber 229 to the flow meter 224.
(277) The flow meter 224 may implement any flow rate estimator described herein (e.g., the flow rate estimator component 13 of
(278) The pinch valve 225, as is more easily seen in
(279)
(280)
(281) The flow meter 339 includes an image sensor 227 and a backlight 228. The image sensor 227 images a drip chamber 229 and can receive illumination from the backlight 228. The flow meter 339 includes a support member 230 coupled to a coupler 231 that couples the drip chamber 229 to the flow meter 339.
(282) The flow meter 339 can implement any flow rate estimator described herein (e.g., the flow rate estimator component 13 of
(283) The flow meter 339 may actuate the actuator 341 to actuate the valve 340, which thereby regulates the fluid flowing through the IV tube 335 in a feedback (i.e., closed-loop) configuration using any control algorithm.
(284) Referring now to
(285) The inner support member 343 includes a barrel nut 344. The outer support member 342 is coupled to the barrel nut 344 via hooks 345. In some embodiments, the barrel nut 344 is not coupled to the valve 340 and the inner support member 342 includes a hole for the threaded rod or screw 347 to slide through. The outer support member 342 also has hooks 348 to secure it to a frame 349 of the actuator 341. The actuator 341 includes a shaft 346 coupled to a screw 347. As the actuator 341 rotates the shaft 346, the screw 347 can rotate to push the barrel nut 334 toward the actuator 341. That is, the hooks 345 and the barrel nut 334 move toward the hooks 348 and the frame 349 because the inner and outer support members 342 and 343 are flexible.
(286) As the support members 342 and 343 are compressed, the tube 335 becomes compressed because it is positioned between the support members 342 and 343. Compression of the tube 335 restricts the flow of fluid through the tube 335. The valve 340 compresses a length of the tube 335 that is substantially greater than the diameter of the tube 335.
(287)
(288) The flow meter 350 includes an image sensor 355 and a backlight 356 that can monitor drops formed within the drip chamber 357. The flow meter 350 may use the image sensor 355 to implement a flow rate estimator algorithm described herein (e.g., the flow rate estimator component 13 of
(289) The flow meter 350 includes a base 359 that can form a dock to receive the monitoring client 358. The monitoring client 358 may be a smart phone, or other electronic computing device (e.g., an Android-based device, an (phone, a tablet, a PDA, and the like).
(290) The monitoring client 358 may contain software therein to implement a free flow detector, a flow rate estimator, a control component, an exposure component, etc. (e.g., the free flow detector component 12, the flow rate estimator component 13, the control component 14, the exposure component 29 of
(291) For example, the flow meter 350 may implement a free flow detector, a flow rate estimator, a control component, an exposure component, etc. using internal software, hardware, electronics, and the like. The flow meter 350 may implement a closed-loop feedback system to regulate the fluid flowing to a patient by varying the fluid flowing through the valve 352.
(292) As is easily seen in
(293) A threaded shaft 362 (e.g., a screw) spins freely within a bearing located within the barrel 361 and engages a threaded nut within the barrel nut 360 to push or pull the barrel nut 360 relative to the barrel 361 by rotation of the knob 363 (e.g., the actuator is a lead screw having a knob to actuate the lead screw.). The knob 363 may be manually rotated.
(294) Additionally or alternatively, the valve 352 may be snapped into the receiving portion 351 which includes a rotating member 364 that engages the knob 363 within the receiving portion 351 (see
(295)
(296)
(297)
(298) As shown in
(299) The knob 363 may be turned to turn the screw 362. Rotation of the screw 362 causes the barrel nut 360 to move toward the partial barrel 363 to compress a tube positioned between the support members 353 and 354. The partial barrel 363 includes two sides, however, there is a space to hold the end 600 (e.g., the cap) of the screw 362 securely within the space (e.g., a complementary space).
(300)
(301) The flexible members 370 and 371 are coupled together via two connector members 377 and 378. The connector members 377 and 378 are coupled to coupling members 376 and 375, respectively.
(302) Actuation of the valve 369 may be by a linear actuator that pulls the coupling members 375, 376 toward each other or away from each other. The linear actuator (not explicitly shown) may be a screw-type actuator, a piston actuator, or other actuator. In some embodiments, one of the coupling members 375 and 376 may be coupled to a stationary support while the actuator is coupled to the other one of the coupling members 375 and 376 and another stationary support for pulling the coupling members 375 and 376 together or apart.
(303)
(304) The valve 380 has both support members 381 and 382 coupled to a coupling member 383 at a first end and a second coupling member 384 at another end. That is, the coupling member 384 surrounds a screw 385, and the coupling member 383 includes internal threads for pulling the coupling member 383 toward or away from a knob 386 when the screw 385 is rotated with rotation of the knob 386.
(305)
(306) As shown in
(307) The ratchet 394 engages the gear rack 397 such that the ratchet 394 can be manually moved toward the hinge 395 for course fluid flow adjustments. Thereafter, a knob (not shown) may be coupled to the ratchet 394 to make fine adjustments to the distance between the ratchet 394 and the hinge 395. Additionally or alternatively, the ratchet 394 may include a release button (not shown) to release the ratchet from the connecting member 393.
(308)
(309) The support members 403 and 404 may be permanently molded together at their ends with the ends of the connecting member 405. A tube 402 may be positioned between the support members 403 and 404.
(310) As the knob 408 is turned, the screw-type actuator 407 expands or contracts because of engagement with a threaded rod 406.
(311)
(312) The body 501 also includes a first connector 506 that is coupled to the support members 503, 504 at an end, and a second connector 507 that is coupled to the other ends of the support members 503, 504.
(313) The first connector 506 is coupled to an end of the support members 503, 504 and to a first end 508 of a connecting member 509. The second connector 507 includes a hole 510 for positioning the second end 511 of the connector member 509 therethrough (as is easily seen in
(314) When a tube is positioned between the support members 502, 503, movement of the second connector 507 toward the first connector 506 compresses the tube disposed between the support members 502, 503. As the second connector 507 moves towards the first connector, the hole 510 of the second connector 507 allows the second end 511 of the connector member 509 to freely slide therein.
(315)
(316)
(317)
(318)
(319) Referring now to
(320) When the valve 520 is secured to the valve-securing structure 537, rotation of the wheel 1537 (caused by the motor 536) rotates the knob 522 of the valve 520. As the valve 520 flexes, the protrusion 521 freely moves within the protrusion guide 535 or adjacent to the protrusion guide 535.
(321)
(322)
(323) The fingers 544 are coupled to a base 546 such that the base 546 and fingers 544 surround the tube 543. The collar 545 is slidable away from the base 546 such that the fingers 544 compress the tube 543 which thereby reduces an internal volume of the tube 543. The reduction of the internal volume of the tube 543 reduces the fluid flow through the tube. An actuator (not shown) may be coupled to the collar 545 to control the position of the collar 545 (e.g., a linear actuator may be coupled to the collar 545 and to the base 546).
(324)
(325)
(326) The valve 551 includes an inner curved, elongated support member 554 and an outer curved, elongated support member 556. A knob 552 is pivotally coupled to the outer support member 556 via a pin 578. A connecting member 553 engages teeth 576 of the knob 552.
(327) The connecting member 553 may be inserted into a hole of an end 555 of the support member 556 such that rotation of the knob 552 frictionally locks an engaging finger 700 (see
(328) The inner support member 554 can pivot out away from the outer support member 556 such that a tube can be loaded via raised portions 559 and 560 (see
(329) As previously mentioned, the support member 554 can swing away from the outer support member 556 as is shown in
(330)
(331)
(332) The image sensor 355 may include a filter to filter out all frequencies except for the frequency of the laser 704. For example, the image sensor 355 may include an optical, band-pass filter that has a center frequency equal to (or about equal to) the optical frequency (or center frequency of the optical frequency) of the laser 704.
(333) The monitoring client 358 may be electrically coupled to the laser 704 to modulate the laser 704. For example, the monitoring client 358 may turn on the laser 704 only when predetermined pixels are being exposed and may turn off the laser 704 when other pixels besides the predetermined pixels are being exposed.
(334) The flow meter 703 optionally includes a first electrode 800 and a second electrode 801. The monitoring client 358 may be electrically coupled to the first and second electrodes 800, 801 to measure a capacitance defined therebetween. In streaming conditions, the capacitance changes because the relative permittivity is different for air and water. The monitoring client 358 may monitor the changes that results from a streaming condition with the drip chamber 357 by monitoring the capacitance between the first and second electrodes 800, 801 and correlate increases and/or decreases of the capacitance beyond a threshold as corresponding to either a streaming condition and/or a non-streaming condition. For example, if the capacitance between the first and second electrodes 800, 801 is higher than a threshold, a processor within the monitoring client 358 may determine that the drip chamber 357 is undergoing a streaming condition.
(335) In an alternative embodiment, the first and second electrodes 800, 801 are loop antennas (see
(336) The flow meter 703 may also include a safety valve 706.
(337)
(338) As shown in
(339)
(340) Act 729 captures an image of a drip chamber. The image captured may be the image 721 of
(341) In act 733, the pixels within the template are used to determine a second average. In act 734, if a difference between the second average and the first average is greater than a predetermined threshold value, determine that the template is located at an edge of a drop. For example, referring to
(342)
(343) The first circuit board 738 includes embedded light sources 822 that extend along the interface between the first backlight diffuser 736 and the first circuit board 738. The embedded light sources 822 shine light into the first backlight diffuser 736 which is directed outwards as indicated by 821. The light 821 may be directed towards an image sensor. The first backlight diffuser 736 only diffuses light with no pattern formed when viewed by an image sensor.
(344) The second circuit board 739 includes embedded lights 823 which are shined into the second backlight diffuser 737. The second backlight diffuser 737 creates a pattern of stripes that shows up in the light 821 when viewed by an image sensor. Therefore, a monitoring client (e.g., the monitoring client 358 of
(345) For example, referring now to
(346)
(347)
(348) As shown in
(349) When the knob 748 is turned, the screw 791 rotates. Rotation of the screw 791 pulls the distal guiding member 750 toward the proximal guiding member 749 (because the distal guiding member 750 includes internal threads and the screw 791 spins freely within the proximal guiding member 749). The guide 752 guides the movement of the distal guiding member 750. The guide 792 is coupled to the proximal guiding member 749.
(350)
(351)
(352)
(353)
(354)
(355)
(356) Act 804 captures a first image (e.g., image 771 of
(357) Act 805 creates a first thresholded image using the first image. The first thresholded image may be the image 774 of
(358) In some specific embodiments, the threshold level is updated every time a new image is taken to ensure a predetermined ratio of 1 to 0 pixels is maintained to highlight the drop. The ratio may be updated for use by act 805 when used again or the update may adjust the threshold until a predetermined ratio of 1 to 0 pixels is made and then use the first thresholded image for the rest of the method 803.
(359) Act 806 determines a set of pixels within the first thresholded image connected to a predetermined set of pixels within the first thresholded image. The predetermined set of pixels may be determined by fiducials marked on the drip chamber or an opening in which drops are formed. The predetermined set of pixels may be a predetermined set of x, y values that correspond to pixels. Act 806 may use a connected component image analysis algorithm.
(360) Act 807 filters all remaining pixels of the first thresholded image that are not within the set of pixels. The filter operates on a pixel-by-pixel basis within the time domain to generate a first filtered image. The first filtered image is an estimate of a non-active (e.g., a result from features not of interest in the image) portion of the first thresholded image (image 774 of
(361) Act 808 removes pixels determined to not be part of a drop from the first thresholded image using the first filtered image to generate a second image (e.g., image 775 of
(362) Act 809 determines a second set of pixels within the second image connected to a predetermined set of pixels within the second image to generate a third image (e.g., the image 776 of
(363) Act 810 determines a first length of the drop by counting the number of rows containing pixels corresponding to the second set of pixels within the third image. That is, the drop length is determined to be equal to the last lit row in the set of pixels found in Act 809. The first length corresponds to a first estimated drop size.
(364) Act 811 updates a background image using the first image. A low-pass filter may be used to update each pixel's value in the background image. An infinite impulse response filter may be used to update the background image using the first image. A pixel is only updated in the background image for rows below the first length plus a predetermined safety zone. A pixel in the background image is updated by low pass filtering the value from the corresponding pixel in the first image.
(365) Act 812 creates a second thresholded image (e.g., image 772 of
(366) Act 813 sums the rows of the second thresholded image to create a plurality of row sums (see image 773 of
(367) Act 814 starts at a row position of the second thresholded image having a first sum of the plurality of sums that corresponds to the first length. The row position is incremented in act 815. Act 816 determines whether the present row position correspond to a corresponding row sum that is below a threshold, e.g., zero. If no, then act 815 is preformed again until the present row position corresponds to a corresponding row sum that is zero and then the method 803 proceeds to act 817.
(368) Act 817 determines a second length is equal to the present row position. The second length corresponding to a second estimated drop size. Act 818 averages the first and second lengths to determine a average length. The average length corresponding to a third estimated drop size. By using the first and second lengths to determine an average length, the effects of condensation on the inner walls of the drip chamber are mitigated. That is, the purpose of creating two estimates of drop length is to compensate for how each length is affected by the presence of condensation. The first length tends to underestimate drop length if a drop of condensation intersects the growing drop from the spigot. The second length tends to overestimates the drop length if the drop of condensation intersects the growing drop from the spigot. Their average provides a better estimate when condensation is present. In the absence of condensation, the estimates are almost equal. In other embodiments, only either the first or second length is used to estimate the drop size.
(369)
(370) Act 902 captures an image of a drip chamber. Act 904 performs a canny, edge-detection operation on the image to generate a first processed image. Act 906 performs an AND-operation on a pixel on a first side of an axis of the first processed image with a corresponding mirror pixel on the second side of the axis of the first processed image. That is, Act 902 defines an axis in the first process image, and performs an AND on each pixel on one side with a pixel on the other side, such that the pixel on the other side is symmetrical with the pixel on first side. For example, a 40 (X-axis) by 40 (Y-axis) image may have an axis defined between pixel columns 19 and 20. The top, left pixel would be pixel (1,1) A pixel at location (1, 5) would be AND-ed with a pixel at (40,5). The resulting pixel would be used for both locations (1, 5) and (40,5) to generate the second processed image.
(371) After act 906 is performed, act 908 determines whether all of the pixels have been processed. Act 908 repeats act 906 until all pixels have been processed. Act 910 provides a second processed image that is the results of all of the AND operations.
(372)
(373) An actuator 2007 control a plunger 2008 of the pump 2005 to use the fluid within the rigid cylinder 2004 to compress the flexible tube section 2003 to control the flow of fluid between the portion of an inlet fluid line 2001 and a portion of an outlet fluid line 2002. The pump 2005 is coupled to the rigid cylinder 2004 via a coupler 2006. The actuator 2007 may be controlled by a processor (e.g., the processor 15 of
(374) Various alternatives and modifications can be devised by those skilled in the art without departing from the disclosure. Accordingly, the present disclosure is intended to embrace all such alternatives, modifications and variances. Additionally, while several embodiments of the present disclosure have been shown in the drawings and/or discussed herein, it is not intended that the disclosure be limited thereto, as it is intended that the disclosure be as broad in scope as the art will allow and that the specification be read likewise. Therefore, the above description should not be construed as limiting, but merely as exemplifications of particular embodiments. And, those skilled in the art will envision other modifications within the scope and spirit of the claims appended hereto. Other elements, steps, methods and techniques that are insubstantially different from those described above and/or in the appended claims are also intended to be within the scope of the disclosure.
(375) The embodiments shown in the drawings are presented only to demonstrate certain examples of the disclosure. And, the drawings described are only illustrative and are non-limiting. In the drawings, for illustrative purposes, the size of some of the elements may be exaggerated and not drawn to a particular scale. Additionally, elements shown within the drawings that have the same numbers may be identical elements or may be similar elements, depending on the context.
(376) Where the term comprising is used in the present description and claims, it does not exclude other elements or steps. Where an indefinite or definite article is used when referring to a singular noun, e.g., a, an, or the, this includes a plural of that noun unless something otherwise is specifically stated. Hence, the term comprising should not be interpreted as being restricted to the items listed thereafter; it does not exclude other elements or steps, and so the scope of the expression a device comprising items A and B should not be limited to devices consisting only of components A and B. This expression signifies that, with respect to the present disclosure, the only relevant components of the device are A and B.
(377) Furthermore, the terms first, second, third, and the like, whether used in the description or in the claims, are provided for distinguishing between similar elements and not necessarily for describing a sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances (unless clearly disclosed otherwise) and that the embodiments of the disclosure described herein are capable of operation in other sequences and/or arrangements than are described or illustrated herein.