Next Article in Journal
APIMiner: Identifying Web Application APIs Based on Web Page States Similarity Analysis
Previous Article in Journal
Noise-Canceling Channel Estimation Schemes Based on the CIR Length Estimation for IEEE 802.11p/OFDM Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Low-Cost Capacitance Sensor Solution for Real-Time Bubble Monitoring in Medical Infusion Devices

1
College of Engineering, Science and Environment, University of Newcastle, Callaghan, NSW 2308, Australia
2
Institute of Technical Education College Central, Singapore 567720, Singapore
3
Engineering Product Development, Science, Mathematics and Technology, Singapore University of Technology and Design, Singapore 487372, Singapore
*
Author to whom correspondence should be addressed.
Electronics 2024, 13(6), 1111; https://doi.org/10.3390/electronics13061111
Submission received: 6 February 2024 / Revised: 28 February 2024 / Accepted: 15 March 2024 / Published: 18 March 2024
(This article belongs to the Section Circuit and Signal Processing)

Abstract

:
In the present day, IoT technology is widely applied in the field of medical devices to facilitate real-time monitoring and management by medical staff, thereby better-ensuring patient safety. In IoT intravenous infusion monitoring sensors, it is particularly important to ensure that air bubbles are not infused into the patient’s body. The most common method for bubble detection during intravenous infusions is the use of infrared or laser sensors, which can usually meet design requirements at a relatively low cost. Another method is the use of ultrasonic detection of bubbles, which achieves high accuracy but has not been widely promoted in the market due to higher costs. This proposed work introduces a new type of sensor that detects bubbles by monitoring changes in capacitance between two electrodes installed at the surface of the infusion pipe. If this sensor is deployed on the ESP32 platform, which is widely used in embedded IoT devices, it can achieve 35 μL bubble detection precision with an average power consumption of 5.18 mW and a mass production cost of $0.022. Although the precision of this sensor is significantly lower than the low-cost IR bubble sensor, it still satisfies the design requirement of the IV infusion IoT sensor.

1. Introduction

Intravenous therapy (IV therapy) is a medical procedure that injects fluids, drugs, and nutrients straight into a patient’s vein [1,2]. The use of IoT technology to monitor and even take over [3] the intravenous infusion process ensures the safety and accuracy of the treatment [4,5,6]. Thus, it is widely used in hospitals and even in patients’ homes [7,8]. With the proliferation of IoT technology, an increasing number of requirements have emerged [9,10,11,12,13], including the timely detection of air bubbles during intravenous infusions. During the process of infusion, it is often inevitable that air bubbles enter the infusion pipe. These large air bubbles may block blood vessels and increase the burden on the heart [9,14]. Common IV infusion bubble detection methods typically include optical and ultrasonic methods. Both of these methods can achieve good sensitivity, exceeding the design requirements. This article introduces a method for bubble detection by measuring the capacitance between electrodes installed on either side of the infusion pipe and simulated scenarios that may arise for actual use to demonstrate the viability of this method. When this method is applied to the ESP32 IoT platform, it satisfies the design target and significantly reduces costs compared to the optical and ultrasonic methods. The following points summarize the uniqueness and innovation of this proposed work:
  • With the touch io feature of the ESP32 chip, the cost of the sensor is extremely low compared to common infrared bubble sensors while maintaining enough accuracy.
  • This bubble detection method can be easily ported to some non-standard infusion pipes at an almost unchanged cost while still meeting the basic design requirements for accuracy.
  • The power consumption of this method is lower than that of infrared bubble sensors due to its use of ESP32’s built-in hardware layer function to realize.

2. Materials and Methods

2.1. Overview: Importance of Bubble Detection

In medical IoT applications, the advantage of IoT is the real-time monitoring of various patient conditions. Bubble detection in infusion monitoring is particularly important [15,16]. Studies show that, in intravenous infusion, large-sized air bubbles mistakenly infused into a patient’s body might block blood vessels, increasing the burden on the heart. However, air bubbles smaller than 50 μL will not cause significant adverse effects [17]. As shown in Table 1, a significant number of smart infusion devices are already equipped with bubble detection functionality. In medical devices, such sensors tend to use non-contact methods [18,19]. Most IoT-based smart infusion devices currently use infrared [20] or laser [21] sensors to detect bubbles. In our experiment set, we observe if the IR emitter is too close to the infusion pipe, the IR rays emitted will almost entirely reach the receiver along the pipe walls, regardless of whether there is air inside the pipe. As shown in Figure 1, due to interference from the infusion pipe light waveguide, this method often fails to detect some small bubbles less than 10 μL. Another limitation of optical sensors for bubble detection is that a certain design of an optical bubble sensor is only for certain dimensions of the infusion pipe. If the design is directly used on other dimensions of the pipe, it might cause a blind zone. An alternative, more accurate, but costly method is to use ultrasonic sensors for bubble detection [22], although no such smart infusion products are currently available in the market.

2.2. Proposed Use of Capacitive Sensors in IoT Medical Device

A simple cylindrical capacitor consists of two curved plates and a dielectric in between. Figure 2 shows a cylindrical capacitor with two different dielectrics. The capacitance at the ends of the plates follows the given formula [23].
d C = ε 0 ε r ε r x l a 2 ε r x a b + 2 b ε r c o s ϴ
where εr is the relative dielectric constant of a non-metal pipe and εrx is the relative dielectric constant of the material contained in a non-metal pipe. When an air bubble is present between the electrodes, the dielectric inside the pipe changes, and the capacitance between both plates also changes as given formula [24].
Δ C = V 3 a 2 ε r x 1 ε r x + 2 ε 0
where V is the volume of the air bubble.
Capacitive sensors are already used in IV infusion to monitor fluid [23,24,25,26,27] or combined with PDMS membrane technology to monitor blood pressure, oxygen saturation, and heart rate [28,29,30,31]. Currently, such methods are used for flow rate and patient indication monitoring, while this study applies the method for bubble detection. This study proposes a method to directly use ESP32 to read sensor readings, eliminating the need for additional peripheral circuits, simplifying the design, and reducing costs.

2.3. Advantages of Capacitive Sensors for Infusion Bubble Monitoring

Compared to traditional optical methods, capacitive sensors can achieve similar accuracy at lower cost and power consumption. This is especially true for the widely used ESP32 platform in various IoT devices [32,33]. The ESP32 chip features touch IO ports dedicated to measuring capacitive changes, typically used in capacitive touch screens [34,35]. With the appropriate configuration of the touch IO ports [36], detecting bubbles in the infusion pipe is possible using just two copper foil electrodes, making it cost-effective.

2.4. Methodology of Studies

The sensor’s structure is very simple, as shown in Figure 2. It only requires two copper foil electrodes with connecting wires shielded by a dielectric material. One wire connects to the ESP32 ground, and the other to the ESP32’s touch IO port. The capacitance changes between two electrodes cause variations in the microcontroller touch readings. By analyzing the touch readings from the microcontroller, it is possible to determine whether large air bubbles are present in the tube. The formula suggests that the length of the copper foil is not highly related to the detectable volume of the bubbles, but the width of the foil does affect sensitivity. Considering installation difficulties and potential errors, a length of 15 mm is chosen for the following experiment. A wider foil is better if space permits, so a higher width will be chosen for a wider pipe. With the ESP32 touch IO configuration, while touch IO ports connect to the sensor, the measuring frequency is between 34.5 and 40 kHz (with an additional 16 pF scope probe capacitance), so all measurements are conducted under a frequency of 40 kHz. All dimensions of infusion pipes are from LEIRONG Technology; copper foil is from SUNWAY Precise Metal, and Polyimide tape is from DuPont. All studies were conducted at temperatures between 21 and 28 °C. For those measurements using an LCR meter, the copper foils were connected with 10–11 cm of 18 AWG copper wires, and a TH2818 LCR bridge was used to measure. For the part tested with the ESP32 development board, an additional 30 cm Dupont jumper wires were used to make it easier to connect the sensor to the development board. A certain volume of air bubble is injected into the infusion pipe by a high-precision infusion pump. This infusion pump can adjust the flow rate in steps of 0.12 μL/min, thus providing the sufficient accuracy required for this experiment.

3. Design and Development

3.1. Effectiveness for Different Types of Infusions

Intravenous infusions, a common clinical treatment, involve various types of liquids like isotonic, hypotonic, hypertonic, and colloidal solutions [37]. When the pipe is filled with liquid, the capacitance will increase with the increase of the inner dielectric constant. Different solutions have different conductivities and permittivity, which might affect the measurement’s validity. For isotonic, hypotonic, and hypertonic infusions, the medication concentration is typically low enough not to significantly affect the liquid’s electrical properties. Table 2 lists some common infusion types and their drug concentrations obtained through medical centers and organizations (UofL, University of Illinois Medical Center, etc.) [38,39,40,41]. Colloidal fluids like plasma and albumin are often diluted at high concentrations or not at all [42], making them difficult to uniformly assess.
Table 3 shows the Cp measurements of different solutions and air in a medical silicone pipe (outer diameter 6.4 mm, inner diameter 3.2 mm) with electrodes (15 mm by 9 mm).
The results cover most therapeutic isotonic, hypotonic, and hypertonic fluids and show significant differences from air.

3.2. Effectiveness for Different Infusion Pipe Sizes

Table 4 lists common therapeutic flow rates [38,39,40,41], indicating that pipes with an inner diameter as small as 3 mm can meet flow requirements. However, there are views that 3 mm pipes may not suffice for some emergency treatments that require rapid fluid infusion [43], and various sizes of medical infusion pipes are available on the market.
Table 5 shows the change in Cp measurements for different sizes of medical silicone pipes and dimensions of electrodes.
The capacitance difference is more significant in a thick pipe, whereas in a thin pipe, the changes are not as noticeable but can still be detected by the microcontroller.

3.3. Earth Effect on Capacitance

As shown in Figure 3, due to the higher potential on the plates compared to the Earth, the charge on the plates couples to the Earth, forming an undesired additional capacitance to the space [44]:
C 1 = 2 π ξ 0 / l n ( 2 h / r ) × l
where h is the distance to the earth, r is the sum of the radius of the infusion pipe and copper thickness, and l is the copper foil length. Table 6 shows measurements of capacitance change (refer to 1 m above the ground) at different heights above the ground for saline inside a medical silicone pipe (6.4 × 3.2 mm) with electrodes (15 mm by 9 mm).
The results indicate almost no impact at 0.15 m above the ground, which is much lower than the height at which patients receive treatment, suggesting that the ground effect does not significantly impact sensor accuracy.

3.4. Electric-Field Screening

As shown in Figure 4, when another conductor with a lower potential and proximity to the electrode appears, the plate charges the conductor, altering the capacitance reading. Also, noise from the conductor may couple into the sensor. Therefore, electric-field screening of the electrodes is necessary [45].
Polyimide tape, commonly used in industry for insulation and heat resistance [46], can prevent other conductors from getting too close to sensitive points in the circuit. Table 7 shows the impact of direct hand contact on sensor readings when different thicknesses of polyimide tape are used for screening over the electrodes, with other conditions being the same as in previous tests.
The result shows a 0.2 mm thick polyimide tape is sufficient to prevent direct hand contact from affecting the readings.

3.5. ESP32 Touch IO Port Configuration

Espressif provides detailed documentation for its ESP32 series microcontroller. According to the documentation [36], the reading procedure for the touch IO port is shown in Figure 5. There are two concepts often mentioned when discussing the configuration of the ESP32 touch IO ports: IIR and FSM. The infinite impulse response (IIR) filter is a commonly used digital signal processing filter. When configuring an IIR filter for the ESP32 touch IO ports, it acts similarly to a low-pass filter to reduce noise and fluctuations in the measurement results. A finite state machine (FSM) is an algorithm that switches between different states based on inputs. In the configuration of the ESP323 touch IO ports, the FSM timer is used to control state transitions when the timer reaches a given time. Once measurement begins, the IO port charges until reaching Vrefh, which is the setting high level. Then, discharges are made until the low-level Vrefl is set. This process repeats throughout the measurement time, and the number of high-low cycles is returned at the end of the measurement duration.
The capacitance of the circuit affects the charging and discharging speed, and the speed change will reflect on the measurement result. The ESP32 allows eight different slopes for charging and discharging the touch IO port. However, no difference was observed for each slope configuration in the practical test, so the slope was set to default. Table 8 shows the normalized variance of 1000 measurements without a filter at different high-low voltage level settings. The results indicate good stability when setting the high level at 2.5 V and the low level at 0.8 V.
After configuring the WiFi, the normalized variance significantly increased. Under the configuration mentioned above, turning on WiFi increased the normalized variance of 1000 readings from 0.000001 to 0.000015. If a 20 ms period IIR filter that touches IO built-in is configured, the normalized variance decreases back to 0.000002. Under the above configuration, setting up a 20 ms period IIR filter results in sensory response and recovery times of approximately 300 ms. Although it is relatively long, since the flow speed of the infusion is generally very slow (less than 4.15 mm/s), a 20 ms period IIR filter will not affect accuracy. From the result above, the touch IO port is configured to default slope, with a high level of 2.5 V, a low level of 0.8 V, and a 20 ms period IIR filter. Under this configuration, measurements were taken for the sensor with and without about 50 μL air bubble during saline infusion, with readings of 51,600 and 52,700. Therefore, the bubble detection threshold is set to 1%, deviate the initial value. The system flowchart is rough, as shown in Figure 6. When infusion starts, the ESP32 reads the touch IO port 10 times to establish a baseline value. If the touch IO port reading deviates from the baseline beyond the threshold, it indicates a bubble in the infusion pipe, triggering an alarm to the IoT terminal. Furthermore, the microcontroller can also stop the infusion to prevent the bubble from entering the body.

4. Result

4.1. Detection of Different Volumes of Air in Various Solutions

A high-precision pump on the market is used to deliver quantified air into a tube to study the sensitivity of bubble detection. Table 9 shows the sensitivity of testing different volumes of air in various solutions inside a 6.4 × 3.2 mm pipe. It is evident that a volume of 35μL of air can be stably detected in all three solutions, so the working range of this sensor is >35 μL. The sensitivity of the MCU is approximately 4 units/fF.

4.2. Comparison with Low-Cost Optical Methods

Figure 7 shows a design for a low-cost optical method. Testing for air bubbles in a 6.4 × 3.2 mm infusion pipe can stably detect a volume of 10 μL of air, obtaining higher accuracy than the capacitive method.
Table 10 and Table 11 show the low-cost IR bubble sensor BOM and capacitive bubble sensor BOM respectively. The power consumption of this sensor is 11.8 mW. The power consumption of ESP32 without and with configured touch IO is shown in Figure 8. The average power consumption difference is 5.18 mW.
Table 12 below lists the overall comparison of the capacitive bubble sensor and low-cost IR bubble sensor.

4.3. Impact of Larger Electrode Width on Sensitivity

Table 13 lists the adjusted electrode widths and threshold for each pipe size, as well as their respective sensitivities to different volumes of air bubbles in saline.
The overall measurement setup is shown in Figure 9, and the monitoring of power consumption is shown in Figure 10.

5. Conclusions

For the smart infusion device based on IoT technology, bubble detection is a crucial component. This article elaborates on a novel capacitive sensing method that uses only two copper foil electrodes as sensors to determine the presence of larger air bubbles in the infusion pipe by reading the touch value, which varies with capacitance change between the two electrodes through an ESP32 microcontroller. Compared to the commonly used low-cost optical methods, this approach still offers significant cost advantages and some benefits in power consumption. Research results reveal that while the capacitive method exhibits lower accuracy than low-cost optical solutions for regular infusion pipes (6.4 mm × 3.2 mm), it nonetheless satisfies the fundamental design requirements for effective bubble detection. Its remarkably low implementation cost (less than $0.06) and lower power usage (5.18 mW on average) highlight its viability as a cost-effective alternative in the development of smart infusion systems. Applying this method to low-cost IV infusion monitoring devices based on the ESP32 IoT platform can further reduce costs, making product pricing more affordable. Moreover, the capacitive bubble detection method for different dimensions of infusion pipes also ensures a certain level of portability. This method can be applied to most sizes of infusion pipes without fundamentally changing the design and with minimal cost changes. In contrast, traditional optical methods require redesigning the optical path for different dimensions of infusion pipes, and the costs may increase. In some other IoT medical device applications of capacitive sensors, AD7150 is used to read capacitance values at a higher resolution [24,25]. It can directly read the exact capacitance values and achieve a sampling rate of 100 Hz and a resolution of 0.8 fF, which is far superior to ESP32 touch IO ports for reading. It also allows us to use shielded cables for connection, further reducing interference. Additionally, signal processing techniques are applied to analyze the waveform of the capacitance values for more precise determinations. Using a vector network analyzer (VNA) to measure the network parameters of sensors in different scenarios, rather than simply using an LCR meter, can effectively establish a sensor model and might improve sensor accuracy. In oscilloscope measurements, this method effectively reduced environmental noise from 25 mVp-p to 3.033 mVp-p. However, after adding this shielding, the uncertainty in high-frequency measurements on the LCR meter increased. We believe that using VNA to measure transmission and reflection parameters might help determine the reason. These methods might increase costs to some extent but can achieve higher accuracy. For colloidal fluids, the threshold may need to be calibrated individually. Also, this method may not be effective for all types of colloidal fluids.

Author Contributions

Conceptualization, methodology, supervision, data curation, and investigation, C.L.K.; methodology, resources, and software, Y.D.; project administration, visualization, and formal analysis, T.K.L.; investigation, formal analysis, and funding acquisition, Y.Y.K.; investigation, visualization, and funding acquisition, T.H.T.; data curation, formal analysis, J.P.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by University of Newcastle, Australia.

Data Availability Statement

Unavailable due to privacy.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Dougherty, L.; Lamb, J. Fluid and Electrolyte Balance. In Intravenous Therapy in Nursing Practice; Blackwell Publishing: Hoboken, NJ, USA, 2009; pp. 49–86. [Google Scholar]
  2. Doyle, G.R.; McCutcheon, J.A. 8.2 Intravenous Fluid Therapy. Clinical Procedures for Safer Patient Care, 23 November 2015. Available online: https://opentextbc.ca/clinicalskills/chapter/intravenous-therapy-peripheral-and-central-venous-catheters/ (accessed on 26 October 2021).
  3. Zhang, Y.; Zhang, S.; Ji, Y.; Wu, G. Intravenous infusion monitoring system based on WSN. In Proceedings of the IET International Conference on Wireless Sensor Network 2010 (IET-WSN 2010), Beijing, China, 15–17 November 2010; pp. 38–42. [Google Scholar] [CrossRef]
  4. Philip, N.; Rodrigues, J.; Wang, H.; Fong, S.; Chen, J. Internet of Things for In-Home Health Monitoring Systems: Current Advances, Challenges and Future Directions. IEEE J. Sel. Areas Commun. 2021, 39, 300–310. [Google Scholar] [CrossRef]
  5. Hoa, N. Smart Sensors for Health Care Application: Challenges and Opportunities: Keynote Talk #1. In Proceedings of the 2020 4th International Conference on Recent Advances in Signal Processing, Telecommunications & Computing (SigTelCom), Hanoi, Vietnam, 28–29 August 2020; p. xxi. [Google Scholar] [CrossRef]
  6. Hu, H.; Chih-Hao, L.; Du, Y.; Chen, K.; Lin, H.; Lin, C. Clinical validation of a real-time medical internet of things system for detecting blood leakage during hemodialysis: A pilot study. JMIR Form. Res. 2021; preprint. [Google Scholar] [CrossRef]
  7. Yang, G.; Xie, L.; Mäntysalo, M.; Zhou, X.; Pang, Z.; Xu, L.; Kao-Walter, S.; Chen, Q.; Zheng, L. A Health-IoT Platform Based on the Integration of Intelligent Packaging, Unobtrusive Bio-Sensor, and Intelligent Medicine Box. IEEE Trans. Ind. Inform. 2014, 10, 2180–2191. [Google Scholar] [CrossRef]
  8. Thongprasert, A.; Jiamsanguanwong, A.; Tanlamai, U. Design-for-user Acceptance of IOT Home use medical device. In Healthcare and Medical Devices; AHFE International: New York, NY, USA, 2022. [Google Scholar] [CrossRef]
  9. Nur Aini, R.A.; Setiawan, R.; Pramudijanto, J. Intravenous Infusion Monitoring and Flow Control System Equipped with Automatic Air Bubble Detection. J. Biomim. Biomater. Biomed. Eng. 2022, 55, 204–215. [Google Scholar] [CrossRef]
  10. Sonkar, A.; Pal, N.; Gupta, H.; Dhanoa, J.K. Smart Intravenous Drip Monitoring System with Bubble Detection Indicator using IoT. In Proceedings of the 2022 2nd International Conference on Intelligent Technologies (CONIT), Hubli, India, 24–26 June 2022; pp. 1–7. [Google Scholar] [CrossRef]
  11. Zhang, H.; Li, J.; Wen, B.; Xun, Y.; Liu, J. Connecting Intelligent Things in Smart Hospitals Using NB-IoT. IEEE Internet Things J. 2018, 5, 1550–1560. [Google Scholar] [CrossRef]
  12. Mahpuz, M.; Bahtiar, H.; Sadali, M.; Kurniawan, F. Prototype Monitoring Kantung Cairan Infus Berbasis Internet of Things (IOT). Infotek J. Inform. Dan Teknol. 2023, 6, 189–198. [Google Scholar] [CrossRef]
  13. Mano, L.; Faiçal, B.; Nakamura, L.; Gomes, P.; Libralon, G.; Meneguette, R.; Filho, G.; Giancristofaro, G.; Pessin, G.; Krishnamachari, B.; et al. Exploiting IoT technologies for enhancing Health Smart Homes through patient identification and emotion recognition. Comput. Commun. 2016, 89–90, 178–190. [Google Scholar] [CrossRef]
  14. Xu, Z.; Jin, L.; Smith, B.; Bai, Y.; Luo, H.; Strombergsson, L.; Fei, M.; Jiang, Y. A novel device for air removal from vascular access line: A bench study. J. Clin. Monit. Comput. 2018, 32, 1041–1047. [Google Scholar] [CrossRef] [PubMed]
  15. Kivi, R. Air Embolism: Causes, Symptoms, and Diagnosis. Healthline, 17 September 2018. Available online: https://www.healthline.com/health/air-embolism (accessed on 11 October 2023).
  16. Harvey, C.; Frearson, T. How Safety Features Make or Break Infusion Pump Design. ONdrugDelivery, 19 June 2019. Available online: https://ondrugdelivery.com/how-safety-features-make-or-break-infusion-pump-design/ (accessed on 10 October 2023).
  17. Wilkins, R.; Unverdorben, M. Accidental Intravenous Infusion of Air: A Concise Review. J. Infus. Nurs. 2012, 35, 404–408. [Google Scholar] [CrossRef] [PubMed]
  18. Fan, D.; Ren, A.; Zhao, N.; Haider, D.; Yang, X.; Tian, J. Small-Scale Perception in Medical Body Area Networks. IEEE J. Transl. Eng. Health Med. 2019, 7, 2700211. [Google Scholar] [CrossRef] [PubMed]
  19. Thakur, S.; Shabbir, S.; Chiu, H.; Roy, R.; Huang, P.; Malwade, S.; Nursetyo, A.; Li, Y. Artificial-Intelligence-Based Prediction of Clinical Events among Hemodialysis Patients Using Non-Contact Sensor Data. Sensors 2018, 18, 2833. [Google Scholar] [CrossRef] [PubMed]
  20. O’Donoghue, J.; Fisher, J. A universal air-bubble detector for infusion pumps. J. Med. Eng. Technol. 1984, 8, 64–65. [Google Scholar] [CrossRef] [PubMed]
  21. Rosdi, M.R.; Huong, A. A Smart Infusion Pump System for Remote Management and Monitoring of Intravenous (IV) Drips. In Proceedings of the 2021 IEEE 11th IEEE Symposium on Computer Applications & Industrial Electronics (ISCAIE), Penang, Malaysia, 3–4 April 2021; pp. 285–288. [Google Scholar] [CrossRef]
  22. Bing, C.; Hong, Y.; Hernandez, C.; Rich, M.; Cheng, B.; Munaweera, I.; Szczepanski, D.; Xi, Y.; Bolding, M.; Exner, A.; et al. Characterization of different bubble formulations for blood-brain barrier opening using a focused ultrasound system with acoustic feedback control. Sci. Rep. 2018, 8, 7986. [Google Scholar] [CrossRef] [PubMed]
  23. Zhang, W.; Zhou, W.; Liu, Z.; Zhang, W.; Liu, Z. Drips detection sensor of cylindrical surface capacitor. In Proceedings of the 2011 International Conference on Electrical and Control Engineering, Yichang, China, 16–18 September 2011; pp. 653–656. [Google Scholar] [CrossRef]
  24. Salmaz, U.; Ahsan, M.A.H.; Islam, T. High-Precision Capacitive Sensors for Intravenous Fluid Monitoring in Hospitals. IEEE Trans. Instrum. Meas. 2021, 70, 9512009. [Google Scholar] [CrossRef]
  25. Jiang, S.; He, Y. A low power circuit for medical drip infusion monitoring system. In Proceedings of the 2020 IEEE International Conference on Smart Internet of Things (SmartIoT), Beijing, China, 14–16 August 2020; pp. 342–345. [Google Scholar] [CrossRef]
  26. Kim, D.J.; Wei, Q.; Lee, J.H.; Seong, K.W.; Kim, D.W.; Kim, M.N.; Cho, J.H. Design a wireless capacitive sensor detection system with power line communication for liquid volume of intravenous drip measurement. In Proceedings of the 2012 IEEE-EMBS International Conference on Biomedical and Health Informatics, Hong Kong, China, 5–7 January 2012; pp. 269–272. [Google Scholar] [CrossRef]
  27. Leeudomwong, T.; Bunluechokchai, C. A Study on the Design of a Semi-Cylindrical Capacitive Sensor for Intravenous Drip Detection. In Proceedings of the 2021 Research, Invention, and Innovation Congress: Innovation Electricals and Electronics (RI2C), Bangkok, Thailand, 1–3 September 2021; pp. 216–220. [Google Scholar] [CrossRef]
  28. Nomani, M.W.K.; Liu, J.; Yim, M.; Wen, X.; Hsia, T.-Y.; Koley, G. Design and fabrication of implantable wireless pressure and oxygen sensors based on PDMS thin films for application in pediatric surgery. In Proceedings of the 2009 International Semiconductor Device Research Symposium, College Park, MD, USA, 9–11 December 2009; pp. 1–2. [Google Scholar] [CrossRef]
  29. Ali, S.; Maddipatla, D.; Narakathu, B.B.; Chlaihawi, A.A.; Emamian, S.; Janabi, F.; Bazuin, B.J.; Atashbar, M.Z. Flexible Capacitive Pressure Sensor Based on PDMS Substrate and Ga–In Liquid Metal. IEEE Sens. J. 2019, 19, 97–104. [Google Scholar] [CrossRef]
  30. Veeramuthu, L.; Venkatesan, M.; Benas, J.-S.; Cho, C.-J.; Lee, C.-C.; Lieu, F.-K.; Lin, J.-H.; Lee, R.-H.; Kuo, C.-C. Recent Progress in Conducting Polymer Composite/Nanofiber-Based Strain and Pressure Sensors. Polymers 2021, 13, 4281. [Google Scholar] [CrossRef]
  31. Tripathy, A.R.; Choudhury, A.; Dash, A.; Panigrahi, P.; Kumar, S.S.; Pancham, P.P.; Sahu, S.K.; Mallik, S. Polymer matrix composite engineering for PDMS based capacitive sensors to achieve high-performance and broad-range pressure sensing. Appl. Surf. Sci. Adv. 2021, 3, 100062. [Google Scholar] [CrossRef]
  32. Babiuch, M.; Foltýnek, P.; Smutny, P. Using the ESP32 Microcontroller for Data Processing. In Proceedings of the 2019 20th International Carpathian Control Conference (ICCC), Krakow-Wieliczka, Poland, 26–29 May 2019; pp. 1–6. [Google Scholar] [CrossRef]
  33. Carducci, C.; Monti, A.; Schraven, M.; Schumacher, M.; Mueller, D. Enabling ESP32-based IoT Applications in Building Automation Systems. In Proceedings of the 2019 II Workshop on Metrology for Industry 4.0 and IoT (MetroInd4.0&IoT), Naples, Italy, 4–6 June 2019; pp. 306–311. [Google Scholar] [CrossRef]
  34. ESP32 Touch Pad. ESPHome. Available online: https://esphome.io/components/binary_sensor/esp32_touch.html (accessed on 25 January 2024).
  35. Get Started with ESP32 Touch Buttons. Programmingelectronics. Available online: https://www.programmingelectronics.com/esp32-capacitive-touch-button/ (accessed on 25 January 2024).
  36. Touch Sensor. Espressif. Available online: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/touch_pad.html (accessed on 25 January 2024).
  37. Barlow, A.; Barlow, B.; Tang, N.; Shah, B.M.; King, A.E. Intravenous Fluid Management in Critically Ill Adults: A Review. Crit. Care Nurse 2020, 40, e17–e27. [Google Scholar] [CrossRef] [PubMed]
  38. SJH/SJE Critical Care Intravenous Medication Chart. Uoflhealthnetwork, March 2017. Available online: https://www.uoflhealthnetwork.org/documents/IVDripNEW.pdf (accessed on 22 October 2023).
  39. Adult Critical Care IV Medication Infusion Sheet. University of Illinois Medical Center, March 2010. Available online: https://chicago.medicine.uic.edu/wp-content/uploads/sites/6/2017/09/criticalcaredrugs.pdf (accessed on 22 October 2023).
  40. Standard and Maximum Allowable Concentrations, Guidelines for Continuous or Titrated Infusions. Adult Intravenous Medications. Available online: https://med.umkc.edu/docs/em/iv_med_reference.pdf (accessed on 22 October 2023).
  41. Adult IV Push/Infusion Guidelines for Select Medications. Specialove, 25 April 2019. Available online: https://specialove.org/wp-content/uploads/2019/08/IVPushInfusionGuidelines.pdf (accessed on 22 October 2023).
  42. Albumin Administration. The Royal Children’s Hospital (RCH). Available online: https://www.rch.org.au/bloodtrans/blood_administration/Albumin_Administration/ (accessed on 22 October 2023).
  43. Cross, G. Evaluation of 3-mm diameter intravenous tubing for the rapid infusion of fluids. Arch. Emerg. Med. 1987, 4, 173–177. [Google Scholar] [CrossRef] [PubMed]
  44. Admin. Effect of Earth on Capacitance of Transmission Line. Electrical Concepts, 7 May 2018. Available online: https://electricalbaba.com/effect-earth-capacitance-transmission-line/ (accessed on 25 January 2024).
  45. Electric-Field Screening. Wikipia. Available online: https://en.wikipedia.org/wiki/Electric-field_screening (accessed on 25 January 2024).
  46. Diaham, S. Polyimide in Electronics: Applications and Processability Overview. In Polyimide for Electronic and Electrical Engineering Applications; IntechOpen: Rijeka, Croatia, 2021. [Google Scholar] [CrossRef]
Figure 1. (a,b) IR rays transmit along the pipe wall.
Figure 1. (a,b) IR rays transmit along the pipe wall.
Electronics 13 01111 g001
Figure 2. Example of a cylindrical capacitor.
Figure 2. Example of a cylindrical capacitor.
Electronics 13 01111 g002
Figure 3. Earth Effect on Capacitance.
Figure 3. Earth Effect on Capacitance.
Electronics 13 01111 g003
Figure 4. External disturbance on capacitance.
Figure 4. External disturbance on capacitance.
Electronics 13 01111 g004
Figure 5. Relationship between measurement parameters.
Figure 5. Relationship between measurement parameters.
Electronics 13 01111 g005
Figure 6. Flowchart of bubble detection on ESP32.
Figure 6. Flowchart of bubble detection on ESP32.
Electronics 13 01111 g006
Figure 7. A design of low-cost IR bubble sensor.
Figure 7. A design of low-cost IR bubble sensor.
Electronics 13 01111 g007
Figure 8. Power consumption comparison of ESP32.
Figure 8. Power consumption comparison of ESP32.
Electronics 13 01111 g008
Figure 9. Overall measurement setup.
Figure 9. Overall measurement setup.
Electronics 13 01111 g009
Figure 10. Monitoring of power consumption.
Figure 10. Monitoring of power consumption.
Electronics 13 01111 g010
Table 1. Products’ features comparison.
Table 1. Products’ features comparison.
ProductsFeatures
Flow Rate and Volume MonitoringAlarm WarningAir-in Line DetectionWLANPressure Anomaly DetectionAutomatic Infusion
Rainbow Care IV Drip Stand and Unigloves Infusion SetNoNoNoNoNoNo
Shift Labs DripAssistYesYesNoNoNoNo
B. Braun Easypump II ST/LTNoNoNoNoNoYes
Alaris GH Plus Guardrails Syringe PumpYesYesNoNoYesYes
Agilia SP MC WiFiYesYesNoYesYesYes
Alaris GP Plus Volumetric Pump with GuardrailsYesYesYesNoYesYes
Agilia VP MC WiFiYesYesNoYesYesYes
Moog CURLIN 6000YesYesYesNoYesYes
Moog CURLIN PainSmart IODYesYesYesNoYesYes
Table 2. Guidelines for intravenous medications.
Table 2. Guidelines for intravenous medications.
Drug NameStd ConcentrationStd Dilution
Abciximab36 μg/mL9 mg/250 mL
Amiodarone1.8 mg/mL450 mg/250 mL
Bumetanide0.04 mg/mL10 mg/250 mL
Cisatracurium0.8 mg/mL200 mg/250 mL
Dexmedetomidine (Precedex)4 μg/mL200 μg/50 mL
Diltiazem (Cardizem)1 mg/mL100 mg/100 mL
Dobutamine (Dobutrex)2 mg/mL500 mg/250 mL
Dopamine1.6 mg/mL400 mg/250 mL
Epinephrine0.02 mg/mL5 mg/250 mL
Esmolol10 mg/mL2500 mg/250 mL
Fentanyl10 μg/mL1000 μg/100 mL
Heparin100 units/mL2500 units/250 mL
Insulin (regular)1 unit/mL100 units/100 mL
Lidocaine4 mg/mL1000 mg/250 mL
Magnesium20 mg/mL1000 mg/50 mL
Morphine1 mg/mL50 mg/50 mL
Nicardipine0.1 mg/mL25 mg/250 mL
Potassium Chloride0.1 mEq/mL10 mEq/100 mL
Propofol (Diprivan)10 mg/mL1000 mg/100 mL
Vasopressin0.4 unit/mL20 units/50 mL
Table 3. Measurement of different kinds of content in pipe.
Table 3. Measurement of different kinds of content in pipe.
ContentCp (at 40 kHz)
Air1.35 pF
Isotonic solution (0.9% saline solution)1.80 pF
Hypotonic solution (0.45% saline solution)1.82 pF
Hypertonic solution (3% saline solution)1.71 pF
Isotonic solution (5% glucose solution)2.29 pF
Hypertonic solution (10% glucose solution)2.07 pF
Table 4. Guidelines for intravenous medications about dosing rate.
Table 4. Guidelines for intravenous medications about dosing rate.
Drug NameDosing RateFlow Rate (For 65 kg Adult)
Abciximab0.125 μg/kg/min0.226 mL/min
Amiodarone1 mg/min0.556 mL/min
Bumetanide0.25–0.5 mg/h6.25–12.5 mL/h
Cisatracurium0.15–0.2 mg/kg/h12.189–16.25 mL/h
Dexmedetomidine (Precedex)0.2–1.4 μg/kg/h3.25–22.75 mL/h
Diltiazem (Cardizem)5–15 mg/h5–15 mL/h
Dobutamine (Dobutrex)2.5–20 μg/kg/min0.081–0.65 mL/min
Dopamine2–20 μg/kg/min0.081–0.812 mL/min
Epinephrine0.05–0.45 μg/kg/min0.163–1.463 mL/min
Esmolol50–300 μg/kg/min0.325–1.95 mL/min
Fentanyl25–150 μg/h2.5–15 mL/h
Heparin13 units/kg/h8.45 mL/h
Insulin (regular)Based upon blood glucose level–follow the protocol-
Isoproterenol0.5–20 μg/min0.031–1.25 mL/min
Lidocaine1–4 mg/min0.25–1 mL/min
Magnesium1000 mg/h50 mL/h
Morphine1–10 mg/h1–10 mL/h
Nicardipine5 mg/h50 mL/h
Potassium Chloride 10 mEq/h 100 mL/h
Propofol (Diprivan)5–75 μg/kg/min0.033–0.488 mL/min
Vasopressin0.04 units/min0.1 mL/min
Table 5. Measurement of different dimensions of pipe.
Table 5. Measurement of different dimensions of pipe.
DimensionsΔCp (at 40 kHz)Electrode Dimensions
6.4 mm × 3.2 mm0.45 pF15 mm × 9 mm
9.6 mm × 6.4 mm0.34 pF15 mm × 12 mm
8 mm × 4.8 mm0.38 pF15 mm × 11 mm
7.2 mm × 4 mm0.48 pF15 mm × 10 mm
6 mm × 4 mm0.37 pF15 mm × 8.5 mm
5.6 mm × 2.4 mm0.2 pF15 mm × 8 mm
5 mm × 3 mm0.21 pF15 mm × 7 mm
4.8 mm × 1.6 mm0.18 pF15 mm × 7 mm
4.5 mm × 2.5 mm0.28 pF15 mm × 6.5 mm
4 mm × 2 mm0.30 pF15 mm × 6 mm
3.5 mm × 1.5 mm0.06 pF15 mm × 5 mm
3.2 mm × 1 mm0.09 pF15 mm × 5 mm
Table 6. Measurement of different distances to the Earth.
Table 6. Measurement of different distances to the Earth.
HeightΔCp (at 40 kHz)
00.78 pF
0.05 m0.51 pF
0.1 m0.12 pF
0.15 m0.06 pF
0.2 m0.03 pF
0.25 m0.02 pF
0.5 m0.02 pF
Table 7. Measurement of different thickness polyimide tape screening effectiveness.
Table 7. Measurement of different thickness polyimide tape screening effectiveness.
ThicknessΔCs (at 40 kHz)
0 (touch on single electrode)4.61 pF
0 (touch on both electrodes)186.82 pF
0.1 mm (touch on single electrode)0.13 pF
0.1 mm (touch on both electrodes)0.10 pF
0.2 mm (touch on single electrode)0.11 pF
0.2 mm (touch on both electrodes)0.10 pF
Table 8. 1000 measurements variance of different voltage setting combinations.
Table 8. 1000 measurements variance of different voltage setting combinations.
Vrefl0.5 V0.6 V0.7 V0.8 V
Vrefh
2.4 V0.0000120.0000030.00050.000002
2.5 V0.0000050.000010.0000130.000001
2.6 V0.0000030.0000050.0000510.00002
2.7 V0.0000010.0000020.0000060.000021
Table 9. Sensitivity for different solutions.
Table 9. Sensitivity for different solutions.
Air VolumeIsotonic Solution (0.9% Saline Solution)Hypotonic Solution (0.45% Saline Solution)Hypertonic Solution (3% Saline Solution)Isotonic Solution (5% Glucose Solution)Hypertonic Solution (10% Glucose Solution)
10 μLFailed to detectFailed to detectFailed to detectFailed to detectFailed to detect
15 μLFailed to detectFailed to detectFailed to detectNot stableNot stable
20 μLNot stableNot stableFailed to detectNot stableStably detect
25 μLNot stableNot stableFailed to detectStably detectStably detect
30 μLStably detectStably detectNot stableStably detectStably detect
35 μLStably detectStably detectStably detectStably detectStably detect
Table 10. Low-cost IR bubble sensor BOM.
Table 10. Low-cost IR bubble sensor BOM.
Electronic ComponentsQuantityCost
OP999 (3 mm IR photodiode)2$2.12 (for a quantity of 3000+, it is $1.79)
LM358P2$0.91 (for a quantity of 2500+, it is $0.42)
SFH4550 (3 mm IR LED)2$0.85
Passive components (8 resistors, 4 capacitors)-$0.03
MaterialsQuantityCost
Wire--
PLA+ 3D printer filament-$0.5 (if ordering a quantity of 3000+ from the factory, it is $0.17)
Subtotal $4.41 (for a quantity of 3000+, it is $3.26)
Table 11. Capacitive bubble sensor BOM.
Table 11. Capacitive bubble sensor BOM.
Electronic ComponentsQuantityCost
---
MaterialsQuantityCost
Wire--
Copper foil (15 mm × 9 mm)2$0.05 (for a quantity of 3700+, it is $0.017)
Kapton tape (19 mm × 30 mm)1$0.006 (for a quantity of 5500+, it is $0.005)
Subtotal-$0.056 (for a quantity of 5500+, it is $0.022)
Table 12. Comparison of low-cost IR bubble sensor and capacitive bubble sensor.
Table 12. Comparison of low-cost IR bubble sensor and capacitive bubble sensor.
Sensor TypeCapacitive Bubble SensorLow-Cost IR Bubble Sensor
Sensitivity35 μL10 μL
Cost$0.056 (for a quantity of 5500+, it is $0.022)$4.41 (for a quantity of 3000+, it is $3.26)
Power Consumption5.18 mW on average11.8 mW
SizeAlmost the pipe size30 mm × 10 mm × 15 mm
Weight<0.8 g (wire excluded)About 16 g (wire excluded)
Table 13. Sensitivity for different solutions.
Table 13. Sensitivity for different solutions.
DimensionESP32 ThresholdSensitivity
6.4 mm × 3.2 mm1%30 μL
9.6 mm × 6.4 mm1.8%50 μL (unable to prevent hand contact interference)
8 mm × 4.8 mm2%50 μL
7.2 mm × 4 mm1.2%35 μL
6 mm × 4 mm1%30 μL
5.6 mm × 2.4 mm1%25 μL
5 mm × 3 mm1%30 μL
4.8 mm × 1.6 mm1%20 μL
4.5 mm × 2.5 mm1%25 μL
4 mm × 2 mm1%20 μL
3.5 mm × 1.5 mm1%15 μL
3.2 mm × 1 mm1%10 μL
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kok, C.L.; Dai, Y.; Lee, T.K.; Koh, Y.Y.; Teo, T.H.; Chai, J.P. A Novel Low-Cost Capacitance Sensor Solution for Real-Time Bubble Monitoring in Medical Infusion Devices. Electronics 2024, 13, 1111. https://doi.org/10.3390/electronics13061111

AMA Style

Kok CL, Dai Y, Lee TK, Koh YY, Teo TH, Chai JP. A Novel Low-Cost Capacitance Sensor Solution for Real-Time Bubble Monitoring in Medical Infusion Devices. Electronics. 2024; 13(6):1111. https://doi.org/10.3390/electronics13061111

Chicago/Turabian Style

Kok, Chiang Liang, Yuwei Dai, Teck Kheng Lee, Yit Yan Koh, Tee Hui Teo, and Jian Ping Chai. 2024. "A Novel Low-Cost Capacitance Sensor Solution for Real-Time Bubble Monitoring in Medical Infusion Devices" Electronics 13, no. 6: 1111. https://doi.org/10.3390/electronics13061111

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop