skip to main content
research-article

Liquid Level Sensing Using Commodity WiFi in a Smart Home Environment

Authors Info & Claims
Published:18 March 2020Publication History
Skip Abstract Section

Abstract

The popularity of Internet-of-Things (IoT) has provided us with unprecedented opportunities to enable a variety of emerging services in a smart home environment. Among those services, sensing the liquid level in a container is critical to building many smart home and mobile healthcare applications that improve the quality of life. This paper presents LiquidSense, a liquid level sensing system that is low-cost, high accuracy, widely applicable to different daily liquids and containers, and can be easily integrated with existing smart home networks. LiquidSense uses existing home WiFi network and a low-cost transducer that attached to the container to sense the resonance of the container for liquid level detection. In particular, our system mounts a low-cost transducer on the surface of the container and emits a well-designed chirp signal to make the container resonant, which introduces subtle changes to the home WiFi signals. By analyzing the subtle phase changes of the WiFi signals, LiquidSense extracts the resonance frequency as a feature for liquid level detection. Our system constructs prediction models for both continuous and discrete predictions using curve fitting and SVM respectively. We evaluate LiquidSense in home environments with containers of three different materials and six types of liquids. Results show that LiquidSense achieves an overall accuracy of 97% for continuous prediction and an overall F-score of 0.968 for discrete predication. Results also show that our system has a large coverage in a home environment and works well under non-line-of-sight (NLOS) scenarios.

References

  1. Amazon. 2019. Amazon Dash Replenishment Service. https://developer.amazon.com/zh/dash-replenishment-serviceGoogle ScholarGoogle Scholar
  2. Maher Arebey, MA Hannan, Rawshan Ara Begum, and Hassan Basri. 2012. Solid waste bin level detection using gray level co-occurrence matrix feature extraction approach. Journal of environmental management 104 (2012), 9--18.Google ScholarGoogle ScholarCross RefCross Ref
  3. Satish Chandra Bera, Hiranmoy Mandal, Sirshendu Saha, and Abhinaba Dutta. 2013. Study of a modified capacitance-type level transducer for any type of liquid. IEEE Transactions on Instrumentation and Measurement 63, 3 (2013), 641--649.Google ScholarGoogle ScholarCross RefCross Ref
  4. Joseph W Caldwell. 2008. Fluid level measuring system. US Patent 7,421,895.Google ScholarGoogle Scholar
  5. Hüseyin Canbolat. 2009. A novel level measurement technique using three capacitive sensors for liquids. IEEE transactions on Instrumentation and Measurement 58, 10 (2009), 3762--3768.Google ScholarGoogle ScholarCross RefCross Ref
  6. P Castellini, M Martarelli, and EP Tomasini. 2006. Laser Doppler Vibrometry: Development of advanced solutions answering to technology's needs. Mechanical systems and signal processing 20, 6 (2006), 1265--1285.Google ScholarGoogle Scholar
  7. Chih-Chung Chang and Chih-Jen Lin. 2011. LIBSVM: A library for support vector machines. ACM transactions on intelligent systems and technology (TIST) 2, 3 (2011), 27.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Meng-Chieh Chiu, Shih-Ping Chang, Yu-Chen Chang, Hao-Hua Chu, Cheryl Chia-Hui Chen, Fei-Hsiu Hsiao, and Ju-Chun Ko. 2009. Playful bottle: a mobile social persuasion system to motivate healthy water intake. In Proceedings of the 11th international conference on Ubiquitous computing. ACM, 185--194.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Naim Dam and Howard Paul Austerlitz. 2003. System and method of non-invasive discreet, continuous and multi-point level liquid sensing using flexural waves. US Patent 6,631,639.Google ScholarGoogle Scholar
  10. Ashutosh Dhekne, Mahanth Gowda, Yixuan Zhao, Haitham Hassanieh, and Romit Roy Choudhury. 2018. Liquid: A wireless liquid identifier. In Proceedings of the 16th Annual International Conference on Mobile Systems, Applications, and Services. ACM, 442--454.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Paul H Dietz, Darren Leigh, and William S Yerazunis. 2002. Wireless liquid level sensing for restaurant applications. In SENSORS, 2002 IEEE, Vol. 1. IEEE, 715--720.Google ScholarGoogle Scholar
  12. Parisa Esmaili, Federico Cavedo, and Michele Norgia. 2018. Differential pressure based liquid level measurement in sloshing condition. In 2018 IEEE International Instrumentation and Measurement Technology Conference (I2MTC). IEEE, 1--6.Google ScholarGoogle ScholarCross RefCross Ref
  13. Mingming Fan and Khai N Truong. 2015. SoQr: sonically quantifying the content level inside containers. In Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing. ACM, 3--14.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Zhi-Fang Fu and Jimin He. 2001. Modal analysis. Elsevier.Google ScholarGoogle Scholar
  15. Chuhan Gao, Yilong Li, and Xinyu Zhang. 2018. LiveTag: Sensing human-object interaction through passive chipless WiFi tags. In 15th {USENIX} Symposium on Networked Systems Design and Implementation ({NSDI} 18). 533--546.Google ScholarGoogle Scholar
  16. R Geethamani, Rani Gnanamalar, S Sheeba, N Ramyarani, and C Pavithra. 2018. Non-Contact Continuous Capacitive Liquid Level Sensing. International Journal of Pure and Applied Mathematics 119, 12 (2018), 1921--1930.Google ScholarGoogle Scholar
  17. Cihun-Siyong Alex Gong, Huan Ke Chiu, Li Ren Huang, Cheng Hsun Lin, Zen Dar Hsu, and Po-Hsun Tu. 2016. Low-cost comb-electrode capacitive sensing device for liquid-level measurement. IEEE Sensors Journal 16, 9 (2016), 2896--2897.Google ScholarGoogle ScholarCross RefCross Ref
  18. Unsoo Ha, Yunfei Ma, Zexuan Zhong, Tzu-Ming Hsu, and Fadel Adib. 2018. Learning Food Quality and Safety from Wireless Stickers.. In HotNets. 106--112.Google ScholarGoogle Scholar
  19. Daniel Halperin, Wenjun Hu, Anmol Sheth, and David Wetherall. 2011. Tool release: Gathering 802.11 n traces with channel state information. ACM SIGCOMM Computer Communication Review 41, 1 (2011), 53--53.Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. MA Hannan, Maher Arebey, Rawshan Ara Begum, and Hassan Basri. 2012. An automated solid waste bin level detection system using a gray level aura matrix. Waste management 32, 12 (2012), 2229--2238.Google ScholarGoogle Scholar
  21. Md Shafiqul Islam, MA Hannan, Hassan Basri, Aini Hussain, and Maher Arebey. 2014. Solid waste bin detection and classification using Dynamic Time Warping and MLP classifier. Waste management 34, 2 (2014), 281--290.Google ScholarGoogle Scholar
  22. Yijun Jiang, Elim Schenck, Spencer Kranz, Sean Banerjee, and Natasha Kholgade Banerjee. 2019. CNN-Based Non-contact Detection of Food Level in Bottles from RGB Images. In International Conference on Multimedia Modeling. Springer, 202--213.Google ScholarGoogle ScholarCross RefCross Ref
  23. Gregor Jundt, Adrian Radu, Emmanuel Fort, Jan Duda, Holger Vach, and Neville Fletcher. 2006. Vibrational modes of partly filled wine glasses. The Journal of the Acoustical Society of America 119, 6 (2006), 3793--3798.Google ScholarGoogle ScholarCross RefCross Ref
  24. Jong-Yun Kim, Jin-Hong Lee, Sang-Eun Bae, Seungwoo Paek, Si Hyung Kim, Tack-Jin Kim, and Tae-Hong Park. 2017. Automated high-temperature liquid level measurement system using a dynamic tube pressure technique. Journal of Industrial and Engineering Chemistry 49 (2017), 30--35.Google ScholarGoogle ScholarCross RefCross Ref
  25. Dennis M Kotz and William R Hinz. 2010. Ultrasonic liquid level detector. US Patent 7,802,470.Google ScholarGoogle Scholar
  26. Peng Li, Yulei Cai, Xiaolong Shen, Sharon Nabuzaale, Jie Yin, and Jiaqiang Li. 2014. An accurate detection for dynamic liquid level based on MIMO ultrasonic transducer array. IEEE Transactions on Instrumentation and Measurement 64, 3 (2014), 582--595.Google ScholarGoogle Scholar
  27. Xiang Li, Daqing Zhang, Qin Lv, Jie Xiong, Shengjie Li, Yue Zhang, and Hong Mei. 2017. IndoTrack: Device-free indoor human tracking with commodity Wi-Fi. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 1, 3 (2017), 72.Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Jian Liu, Yan Wang, Yingying Chen, Jie Yang, Xu Chen, and Jerry Cheng. 2015. Tracking vital signs during sleep leveraging off-the-shelf wifi. In Proceedings of the 16th ACM International Symposium on Mobile Ad Hoc Networking and Computing. ACM, 267--276.Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Konstantinos Loizou, Eftichios Koutroulis, Dimitrios Zalikas, and Georgios Liontas. 2015. A low-cost capacitive sensor for water level monitoring in large-scale storage tanks. In 2015 IEEE International Conference on Industrial Technology (ICIT). IEEE, 1416--1421.Google ScholarGoogle ScholarCross RefCross Ref
  30. Ion Cornel Mituletu, Gilbert-Rainer Gillich, and Nuno MM Maia. 2019. A method for an accurate estimation of natural frequencies using swept-sine acoustic excitation. Mechanical Systems and Signal Processing 116 (2019), 693--709.Google ScholarGoogle ScholarCross RefCross Ref
  31. Saleem Latteef Mohammed, Ali Al-Naji, Mashael M Farjo, and Javaan Chahl. 2019. Highly Accurate Water Level Measurement System Using a Microcontroller and an Ultrasonic Sensor. In IOP Conference Series: Materials Science and Engineering, Vol. 518. IOP Publishing, 042025.Google ScholarGoogle ScholarCross RefCross Ref
  32. Somnath Mukherjee. 2010. Non-invasive measurement of liquid content inside a small vial. In 2010 IEEE Radio and Wireless Symposium (RWS). IEEE, 527--530.Google ScholarGoogle ScholarCross RefCross Ref
  33. Tatsuo Nakagawa, Akihiko Hyodo, Kenichi Osada, Hideaki Kurata, and Shigeru Oho. 2011. Contactless liquid-level measurement through opaque container using millimeter-wave sensor. In SENSORS, 2011 IEEE. IEEE, 1421--1424.Google ScholarGoogle Scholar
  34. Ozmo. 2017. Ozmo Smart Bottle. https://www.ozmo.io/ozmo-smart-bottle/Google ScholarGoogle Scholar
  35. Ki-Woong Park and Hyeon Cheol Kim. 2015. High accuracy pressure type liquid level measurement system capable of measuring density. In TENCON 2015--2015 IEEE Region 10 Conference. IEEE, 1--5.Google ScholarGoogle ScholarCross RefCross Ref
  36. Harvard Health Publishing. 2019. Calorie counting made easy. https://www.health.harvard.edu/staying-healthy/calorie-counting-made- easyGoogle ScholarGoogle Scholar
  37. Shyam Purkayastha. 2016. IoT application that monitors your food pantry. https://www.ibm.com/cloud/blog/iot-inventory-monitor-part1Google ScholarGoogle Scholar
  38. Kun Qian, Chenshu Wu, Zheng Yang, Yunhao Liu, and Kyle Jamieson. 2017. Widar: Decimeter-level passive tracking via velocity monitoring with commodity Wi-Fi. In Proceedings of the 18th ACM International Symposium on Mobile Ad Hoc Networking and Computing. ACM, 6.Google ScholarGoogle ScholarDigital LibraryDigital Library
  39. Kun Qian, Chenshu Wu, Yi Zhang, Guidong Zhang, Zheng Yang, and Yunhao Liu. 2018. Widar2. 0: Passive human tracking with a single wi-fi link. In Proceedings of the 16th Annual International Conference on Mobile Systems, Applications, and Services. ACM, 350--361.Google ScholarGoogle ScholarDigital LibraryDigital Library
  40. Kun Qian, Chenshu Wu, Zimu Zhou, Yue Zheng, Zheng Yang, and Yunhao Liu. 2017. Inferring motion direction using commodity wi-fi for interactive exergames. In Proceedings of the 2017 CHI Conference on Human Factors in Computing Systems. ACM, 1961--1972.Google ScholarGoogle ScholarDigital LibraryDigital Library
  41. Tauhidur Rahman, Alexander T Adams, Perry Schein, Aadhar Jain, David Erickson, and Tanzeem Choudhury. 2016. Nutrilyzer: A mobile system for characterizing liquid food with photoacoustic effect. In Proceedings of the 14th ACM Conference on Embedded Network Sensor Systems CD-ROM. ACM, 123--136.Google ScholarGoogle ScholarDigital LibraryDigital Library
  42. Ferran Reverter, Xiujun Li, and Gerard CM Meijer. 2007. Liquid-level measurement system based on a remote grounded capacitive sensor. Sensors and Actuators A: Physical 138, 1 (2007), 1--8.Google ScholarGoogle ScholarCross RefCross Ref
  43. Thomas D Rossing. 1990. Wine glasses, bell modes, and Lord Rayleigh. The Physics Teacher 28, 9 (1990), 582--585.Google ScholarGoogle ScholarCross RefCross Ref
  44. Thomas D Rossing. 1994. Acoustics of the glass harmonica. The Journal of the Acoustical Society of America 95, 2 (1994), 1106--1111.Google ScholarGoogle ScholarCross RefCross Ref
  45. Jeongjae Ryu, Hanbert Jeong, Yugang Chen, Chungik Oh, Jaegyu Kim, Hongjun Kim, Seongwoo Cho, Kwangsoo No, Yong-Hwa Park, Steve Park, et al. 2018. Flexible piezoelectric liquid volume sensor. Sensors and Actuators A: Physical 276 (2018), 219--225.Google ScholarGoogle ScholarCross RefCross Ref
  46. Shelly K. Schwartz. 2012. How to Help Your Patients Manage Their Medications. https://www.physicianspractice.com/patient-relations/how-help-your-patients-manage-their-medicationsGoogle ScholarGoogle Scholar
  47. CE Shannon. 1949. Communication in the Presence of Noise. Proceedings of the IRE 37, 1 (1949), 10--21.Google ScholarGoogle Scholar
  48. Jonathon Shlens. 2014. A tutorial on principal component analysis. arXiv preprint arXiv:1404.1100 (2014).Google ScholarGoogle Scholar
  49. Emily Slawek. 2017. I Stayed Hydrated for Two Weeks and It Changed My Life. https://www.nbcnews.com/better/diet-fitness/i-stayed-hydrated-two-weeks-it-changed-my-life-n731131Google ScholarGoogle Scholar
  50. Hidrate Spark. 2019. Hidrate Spark Smart Water Bottle. https://hidratespark.com/Google ScholarGoogle Scholar
  51. Sheng Tan and Jie Yang. 2016. WiFinger: leveraging commodity WiFi for fine-grained finger gesture recognition. In Proceedings of the 17th ACM international symposium on mobile ad hoc networking and computing. ACM, 201--210.Google ScholarGoogle ScholarDigital LibraryDigital Library
  52. Sheng Tan, Linghan Zhang, and Jie Yang. 2018. Sensing Fruit Ripeness Using Wireless Signals. In 2018 27th International Conference on Computer Communication and Networks (ICCCN). IEEE, 1--9.Google ScholarGoogle Scholar
  53. Denis Terwagne and John WM Bush. 2011. Tibetan singing bowls. Nonlinearity 24, 8 (2011), R51.Google ScholarGoogle ScholarCross RefCross Ref
  54. Edin Terzic, CR Nagarajah, and Muhammad Alamgir. 2010. Capacitive sensor-based fluid level measurement in a dynamic environment using neural network. Engineering Applications of Artificial Intelligence 23, 4 (2010), 614--619.Google ScholarGoogle ScholarDigital LibraryDigital Library
  55. Guanhua Wang, Yongpan Zou, Zimu Zhou, Kaishun Wu, and Lionel M Ni. 2016. We can hear you with wi-fi! IEEE Transactions on Mobile Computing 15, 11 (2016), 2907--2920.Google ScholarGoogle Scholar
  56. Ju Wang, Jie Xiong, Xiaojiang Chen, Hongbo Jiang, Rajesh Krishna Balan, and Dingyi Fang. 2017. TagScan: Simultaneous target imaging and material identification with commodity RFID devices. In Proceedings of the 23rd Annual International Conference on Mobile Computing and Networking. ACM, 288--300.Google ScholarGoogle ScholarDigital LibraryDigital Library
  57. Sheng-Wei Wang, Chen-Chia Chen, Chieh-Ming Wu, and Chun-Ming Huang. 2018. A continuous water-level sensor based on load cell and floating pipe. In 2018 IEEE International Conference on Applied System Invention (ICASI). IEEE, 151--154.Google ScholarGoogle ScholarCross RefCross Ref
  58. Wei Wang, Alex X Liu, Muhammad Shahzad, Kang Ling, and Sanglu Lu. 2015. Understanding and modeling of wifi signal based human activity recognition. In Proceedings of the 21st annual international conference on mobile computing and networking. ACM, 65--76.Google ScholarGoogle ScholarDigital LibraryDigital Library
  59. Yan Wang, Jian Liu, Yingying Chen, Marco Gruteser, Jie Yang, and Hongbo Liu. 2014. E-eyes: device-free location-oriented activity identification using fine-grained wifi signatures. In Proceedings of the 20th annual international conference on Mobile computing and networking. ACM, 617--628.Google ScholarGoogle ScholarDigital LibraryDigital Library
  60. Yuxi Wang, Kaishun Wu, and Lionel M Ni. 2016. Wifall: Device-free fall detection by wireless networks. IEEE Transactions on Mobile Computing 16, 2 (2016), 581--594.Google ScholarGoogle ScholarDigital LibraryDigital Library
  61. Yan Wang, Jie Yang, Yingying Chen, Hongbo Liu, Marco Gruteser, and Richard P Martin. 2014. Tracking human queues using single-point signal monitoring. In Proceedings of the 12th annual international conference on Mobile systems, applications, and services. 42--54.Google ScholarGoogle ScholarDigital LibraryDigital Library
  62. Teng Wei, Shu Wang, Anfu Zhou, and Xinyu Zhang. 2015. Acoustic eavesdropping through wireless vibrometry. In Proceedings of the 21st Annual International Conference on Mobile Computing and Networking. ACM, 130--141.Google ScholarGoogle ScholarDigital LibraryDigital Library
  63. Wikipedia contributors. 2019. Resonance --- Wikipedia, The Free Encyclopedia. https://en.wikipedia.org/w/index.php?title=Resonance&oldid=908795753Google ScholarGoogle Scholar
  64. Chenshu Wu, Zheng Yang, Zimu Zhou, Kun Qian, Yunhao Liu, and Mingyan Liu. 2015. PhaseU: Real-time LOS identification with WiFi. In 2015 IEEE conference on computer communications (INFOCOM). IEEE, 2038--2046.Google ScholarGoogle ScholarCross RefCross Ref
  65. Zhuoling Xiao, Hongkai Wen, Andrew Markham, Niki Trigoni, Phil Blunsom, and Jeff Frolik. 2014. Non-line-of-sight identification and mitigation using received signal strength. IEEE Transactions on Wireless Communications 14, 3 (2014), 1689--1702.Google ScholarGoogle ScholarCross RefCross Ref
  66. Shichao Yue and Dina Katabi. 2019. Liquid Testing with Your Smartphone. In Proceedings of the 17th Annual International Conference on Mobile Systems, Applications, and Services (MobiSys '19). ACM, New York, NY, USA, 275--286.Google ScholarGoogle ScholarDigital LibraryDigital Library
  67. Yiran Zhao, Shuochao Yao, Shen Li, Shaohan Hu, Huajie Shao, and Tarek F Abdelzaher. 2017. VibeBin: A vibration-based waste bin level detection system. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 1, 3 (2017), 122.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Liquid Level Sensing Using Commodity WiFi in a Smart Home Environment

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader
    About Cookies On This Site

    We use cookies to ensure that we give you the best experience on our website.

    Learn more

    Got it!