{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,12]],"date-time":"2026-06-12T16:53:06Z","timestamp":1781283186305,"version":"3.54.1"},"reference-count":63,"publisher":"MDPI AG","issue":"16","license":[{"start":{"date-parts":[[2023,8,11]],"date-time":"2023-08-11T00:00:00Z","timestamp":1691712000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"innovation vouchers from the European regional development fund","award":["KK.03.2.2.03.0326"],"award-info":[{"award-number":["KK.03.2.2.03.0326"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Although craft and home brewing have fueled the beer renaissance in the last decade, affordable, reliable, and simple sensing equipment for such breweries is limited. Thus, this manuscript is motivated by the improvement of the bottle-filling process in such settings with the objective of developing a liquid level sensor based on a novel application of the known optical phenomena of light refraction. Based on the different refraction indices of liquid and air (and critical angle based on Snell\u2019s law), along with a novel LED light source positioning, a reliable liquid level sensor system was built with the aid of an embedded microcontroller. The used operating principle is general and can be used in applications other than the proposed one. The proposed method was extensively tested in a laboratory and limited production settings with a speed of 7 Hz using different liquids and container shapes. It was compared for accuracy to other sensing principles such as ultrasound, infrared, and time-of-flight. It demonstrated comparable or better performance with a height error ranging between \u22120.1534 mm in static conditions and 1.608 mm for realistic dynamic conditions and good repeatability on the production line with a 4.3 mm standard deviation of the mean.<\/jats:p>","DOI":"10.3390\/s23167126","type":"journal-article","created":{"date-parts":[[2023,8,11]],"date-time":"2023-08-11T12:10:23Z","timestamp":1691755823000},"page":"7126","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":7,"title":["Image-Based Sensor for Liquid Level Monitoring during Bottling with Application to Craft and Home-Brewing"],"prefix":"10.3390","volume":"23","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-9185-5762","authenticated-orcid":false,"given":"Josip","family":"Musi\u0107","sequence":"first","affiliation":[{"name":"Faculty of Electrical Engineering, Mechanical Engineering and Naval Architecture, University of Split, R. Bo\u0161kovi\u0107a 32, 21000 Split, Croatia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9607-1791","authenticated-orcid":false,"given":"Ivo","family":"Stan\u010di\u0107","sequence":"additional","affiliation":[{"name":"Faculty of Electrical Engineering, Mechanical Engineering and Naval Architecture, University of Split, R. Bo\u0161kovi\u0107a 32, 21000 Split, Croatia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7106-2095","authenticated-orcid":false,"given":"Barbara","family":"D\u017eaja","sequence":"additional","affiliation":[{"name":"Department of Professional Studies, University of Split, Kopilica 5, 21000 Split, Croatia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Vesna","family":"Peki\u0107","sequence":"additional","affiliation":[{"name":"Faculty of Electrical Engineering, Mechanical Engineering and Naval Architecture, University of Split, R. Bo\u0161kovi\u0107a 32, 21000 Split, Croatia"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2023,8,11]]},"reference":[{"key":"ref_1","first-page":"1","article-title":"Theme Overview: Global Craft beer renaissance","volume":"32","author":"Berning","year":"2017","journal-title":"Choices Mag."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"102325","DOI":"10.1016\/j.apgeog.2020.102325","article-title":"Geography of craft breweries in Central Europe: Location factors and the spatial dependence effect","volume":"124","author":"Wojtyra","year":"2020","journal-title":"Appl. Geogr."},{"key":"ref_3","first-page":"81","article-title":"How and why did craft breweries \u2018revolutionise\u2019 the beer market? The case of Poland","volume":"28","author":"Wojtyra","year":"2020","journal-title":"Morav. Geogr. Rep."},{"key":"ref_4","unstructured":"Deloitte (2023, July 18). Craft Beer: A Multisensory Experience. Available online: https:\/\/www2.deloitte.com\/content\/dam\/Deloitte\/mx\/Documents\/consumer-business\/2017\/Craft-Beer-in-Mexico-2017.pdf."},{"key":"ref_5","first-page":"1","article-title":"The craft brewing industry in latin america","volume":"32","year":"2017","journal-title":"Choices Mag."},{"key":"ref_6","first-page":"1","article-title":"The craft beer revolution: And international perspective","volume":"32","author":"Garavaglia","year":"2017","journal-title":"Choices Mag."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Miller, S.R., Sirrine, J.R., McFarland, A., Howard, P.H., and Malone, T. (2019). Craft beer as a means of economic development: An economic impact analysis of the Michigan value chain. Beverages, 5.","DOI":"10.3390\/beverages5020035"},{"key":"ref_8","first-page":"13","article-title":"Craft brewing\u2014Is it really about the sensory revolution?","volume":"65","author":"Lukinac","year":"2019","journal-title":"Kvansy Prum."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"389","DOI":"10.1016\/j.toxrep.2023.03.003","article-title":"Comparative analysis of mycotoxin, pesticide, and elemental content of Canarian craft and Spanish mainstream beers","volume":"10","author":"Dans","year":"2023","journal-title":"Toxicol. Rep."},{"key":"ref_10","first-page":"1","article-title":"Can the craft beer industry tap into collective reputation?","volume":"32","author":"Berning","year":"2017","journal-title":"Choices Mag."},{"key":"ref_11","unstructured":"MarketResearch (2023, July 18). Home Beer Brewing Machine Market Size, Share & Trends Analysis: Report by Product, by Mechanism, by Region, and Segment Forecast, 2019\u20132025. Available online: https:\/\/www.grandviewresearch.com\/industry-analysis\/home-beer-brewing-machine-market."},{"key":"ref_12","unstructured":"International Organization of Legal Metrology (2007). OIML R 117-1 Dynamic Measuring Systems for Liquids Other than Water\u2014Part 1: Metrological and Technical Requirements, International Organization of Legal Metrology."},{"key":"ref_13","unstructured":"International Organization of Legal Metrology (2014). OIML R 117-2 Dynamic Measuring Systems for Liquids Other than Water\u2014Part 2: Metrological Controls and Performance Tests, International Organization of Legal Metrology."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Bobovnik, G., Mu\u0161i\u010d, T., and Kutin, J. (2021). Liquid Level Detection in Standard Capacity Measures with Machine Vision. Sensors, 21.","DOI":"10.3390\/s21082676"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Violino, S., Figorilli, S., Costa, C., and Pallottino, F. (2020). Internet of Beer: A Review on Smart Technologies from Mash to Pint. Foods, 9.","DOI":"10.3390\/foods9070950"},{"key":"ref_16","unstructured":"Tanya Weaver (2023, July 18). Industry 4.0 Reduces Beer Going Down the Drain at Craft Brewery. Available online: https:\/\/www.imeche.org\/news\/news-article\/industry-4.0-reduces-beer-going-down-the-drain-at-craft-brewery."},{"key":"ref_17","unstructured":"Brewers Association (2023, July 18). The Brewers Association Guide to American Craft Beer. Available online: https:\/\/cdn.brewersassociation.org\/wpcontent\/uploads\/2017\/04\/American_Craft_Beer_Guide_English.pdf."},{"key":"ref_18","unstructured":"ABB (2023, July 18). A Dozen Ways to Measure Fluid Level. Available online: https:\/\/new.abb.com\/products\/measurement-products\/level\/a-dozen-ways-to-measure-fluid-level."},{"key":"ref_19","unstructured":"Eppel, S., and Kachman, T. (2014). Computer vision-based recognition of liquid surfaces and phase boundaries in transparent vessels, with emphasis on chemistry applications. arXiv."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"105717","DOI":"10.1016\/j.ejps.2021.105717","article-title":"Applications of machine vision in pharmaceutical technology: A review","volume":"159","author":"Galata","year":"2021","journal-title":"Eur. J. Pharm. Sci."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"106","DOI":"10.1016\/j.tifs.2021.09.014","article-title":"A concise review on food quality assessment using digital image processing","volume":"118","author":"Meenu","year":"2021","journal-title":"Trends Food Sci. Technol."},{"key":"ref_22","unstructured":"Zheng, G., Zong, H., Zhuan, X., and Luan, J. (2007, January 26\u201328). Fast dynamic liquid level sensor based on liquid resistance. Proceedings of the AFRICON 2007, Windhoek, South Africa."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Rocher, J., Parra, L., Lloret, J., and Mengual, J. (November, January 28). An Inductive Sensor for Water Level Monitoring in Tubes for Water Grids. Proceedings of the 2018 IEEE\/ACS 15th International Conference on Computer Systems and Applications (AICCSA), Aqaba, Jordan.","DOI":"10.1109\/AICCSA.2018.8612845"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Wang, S.W., Chen, C.C., Wu, C.M., and Huang, C.M. (2018, January 13\u201317). A continuous water-level sensor based on load cell and floating pipe. Proceedings of the 2018 IEEE International Conference on Applied System Invention (ICASI), Chiba, Japan.","DOI":"10.1109\/ICASI.2018.8394554"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"4379","DOI":"10.1109\/TIM.2019.2945414","article-title":"Characterization of Pressure Sensor for Liquid-Level Measurement in Sloshing Condition","volume":"69","author":"Esmaili","year":"2020","journal-title":"IEEE Trans. Instrum. Meas."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"926","DOI":"10.1109\/JSEN.2012.2220346","article-title":"Contactless Liquid-Level Measurement With Frequency-Modulated Millimeter Wave Through Opaque Container","volume":"13","author":"Nakagawa","year":"2013","journal-title":"IEEE Sens. J."},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Pe\u010dovsk\u00fd, M., Galajda, P., Sokol, M., and Kmec, M. (2020, January 28\u201330). Measurement of Opaque Container Contents by an M-Sequence UWB Radar. Proceedings of the 2020 IEEE International Radar Conference (RADAR), Washington, DC, USA.","DOI":"10.1109\/RADAR42522.2020.9114749"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"204","DOI":"10.1016\/j.measurement.2016.04.019","article-title":"Water level sensing: State of the art review and performance evaluation of a low-cost measurement system","volume":"89","author":"Loizou","year":"2016","journal-title":"Measurement"},{"key":"ref_29","first-page":"287","article-title":"Overview of Liquid Level Detection Technologies with Performance Characteristics Assessment and Energy Cost Saving for Household Water Pumps","volume":"3","author":"Ehiagwina","year":"2017","journal-title":"World Wide J. Multidiscip. Res. Dev."},{"key":"ref_30","unstructured":"Baumer (2019). Reliable Level Measurement\u2014In the Bottle and in the Vibratory Feeder, Baumer. Technical Report."},{"key":"ref_31","first-page":"264","article-title":"Non-invasive level measurement in bright beer tanks","volume":"36","author":"Richter","year":"2018","journal-title":"Brauwelt Int."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"121","DOI":"10.1109\/JSEN.2021.3127127","article-title":"An Optimized Lightweight Ultrasonic Liquid Level Sensor Adapted to the Tilt of Liquid Level and Ripple","volume":"22","author":"Huang","year":"2022","journal-title":"IEEE Sens. J."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"391","DOI":"10.1109\/JSEN.2010.2068543","article-title":"A New Non-Intrusive Optical Technique to Measure Transparent Liquid Level and Volume","volume":"11","author":"Singh","year":"2011","journal-title":"IEEE Sens. J."},{"key":"ref_34","unstructured":"Velinsky, O. (2020). Measurement of Height Level in Bottles Using Infrared Camera. [Master\u2019s Thesis, Czech Technical University in Prague]."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Matsuya, I., Honma, Y., Mori, M., and Ihara, I. (2018). Measuring Liquid-Level Utilizing Wedge Wave. Sensors, 18.","DOI":"10.3390\/s18010002"},{"key":"ref_36","unstructured":"Carroll, J. (2023, July 18). Machine Vision System Aids in High-Speed Beer Bottle Inspection Process. Available online: https:\/\/www.vision-systems.com\/factory\/article\/16752025\/machine-vision-system-aids-in-highspeed-beer-bottle-inspection-process."},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Felipe, M.A.A., Olegario, T.V., Bugtai, N.T., and Baldovino, R.G. (2019, January 1\u20133). Vision-based Liquid Level Detection in Amber Glass Bottles using OpenCV. Proceedings of the 2019 7th International Conference on Robot Intelligence Technology and Applications (RiTA), Daejeon, Republic of Korea.","DOI":"10.1109\/RITAPP.2019.8932807"},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Pithadiya, K.J., Modi, C.K., and Chauhan, J.D. (2010, January 26\u201327). Machine vision based liquid level inspection system using ISEF edge detection technique. Proceedings of the International Conference and Workshop on Emerging Trends in Technology, Mumbai, India.","DOI":"10.1145\/1741906.1742044"},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Pithadiya, K.J., Modi, C.K., and Chauhan, J.D. (2009, January 16\u201318). Comparison of Optimal Edge Detection Algorithms for Liquid Level Inspection in Bottles. Proceedings of the 2009 Second International Conference on Emerging Trends in Engineering Technology, Nagpur, India.","DOI":"10.1109\/ICETET.2009.55"},{"key":"ref_40","first-page":"39","article-title":"Design of Automatic Vision-based Inspection System for Monitoring in an Olive Oil Bottling Line","volume":"51","author":"Abdelhedi","year":"2012","journal-title":"Int. J. Comput. Appl."},{"key":"ref_41","unstructured":"Vision tech Gmbh (2020). Fill-Level Inspection, Vision Tech Gmbh. Brochure."},{"key":"ref_42","doi-asserted-by":"crossref","first-page":"317","DOI":"10.5344\/ajev.1999.50.3.317","article-title":"Study of Effervescence in a Glass of Champagne: Frequencies of Bubble Formation, Growth Rates, and Velocities of Rising Bubbles","volume":"50","author":"Marchal","year":"1999","journal-title":"Am. J. Enol. Vitic."},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Lukinac, J., Mastanjevi\u0107, K., Mastanjevi\u0107, K., Nakov, G., and Juki\u0107, M. (2019). Computer Vision method in beer quality evaluation\u2014A review. Beverages, 5.","DOI":"10.3390\/beverages5020038"},{"key":"ref_44","doi-asserted-by":"crossref","unstructured":"Gonzalez Viejo, C., Torrico, D.D., Dunshea, F.R., and Fuentes, S. (2019). Development of Artificial Neural Network Models to Assess Beer Acceptability Based on Sensory Properties Using a Robotic Pourer: A Comparative Model Approach to Achieve an Artificial Intelligence System. Beverages, 5.","DOI":"10.3390\/beverages5020033"},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Gonz\u00e1lez Ram\u00edrez, M.M., Villamizar Rinc\u00f3n, J.C., and Lopez Parada, J.F. (2014, January 26\u201328). Liquid level control of Coca-Cola bottles using an automated system. Proceedings of the 2014 International Conference on Electronics, Communications and Computers (CONIELECOMP), Cholula, Mexico.","DOI":"10.1109\/CONIELECOMP.2014.6808582"},{"key":"ref_46","doi-asserted-by":"crossref","unstructured":"Yazdi, L., Prabuwono, A.S., and Golkar, E. (2011, January 28\u201329). Feature extraction algorithm for fill level and cap inspection in bottling machine. Proceedings of the 2011 International Conference on Pattern Analysis and Intelligence Robotics, Kuala Lumpur, Malaysia.","DOI":"10.1109\/ICPAIR.2011.5976910"},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"353","DOI":"10.1109\/19.997837","article-title":"Noncontact level sensing technique using computer vision","volume":"51","author":"Chakravarthy","year":"2002","journal-title":"IEEE Trans. Instrum. Meas."},{"key":"ref_48","doi-asserted-by":"crossref","unstructured":"Gaber, C., Chetehouna, K., Laurent, H., Rosenberger, C., and Baron, S. (July, January 30). Optical sensor system using computer vision for the level measurement in oil tankers. Proceedings of the 2008 IEEE International Symposium on Industrial Electronics, Cambridge, UK.","DOI":"10.1109\/ISIE.2008.4677246"},{"key":"ref_49","doi-asserted-by":"crossref","first-page":"750","DOI":"10.1016\/j.measurement.2011.01.001","article-title":"Increasing the accuracy of level-based volume detection of medical liquids in test tubes by including the optical effect of the meniscus","volume":"44","author":"Liu","year":"2011","journal-title":"Measurement"},{"key":"ref_50","doi-asserted-by":"crossref","first-page":"1510","DOI":"10.1016\/j.measurement.2009.07.016","article-title":"Traceability and uncertainty analysis in volume measurements","volume":"42","author":"Lorefice","year":"2009","journal-title":"Measurement"},{"key":"ref_51","doi-asserted-by":"crossref","first-page":"23847","DOI":"10.3390\/s150923847","article-title":"Camera on Vessel: A Camera-Based System to Measure Change in Water Volume in a Drinking Glass","volume":"15","author":"Ayoola","year":"2015","journal-title":"Sensors"},{"key":"ref_52","doi-asserted-by":"crossref","unstructured":"Zhu, H. (2009, January 19\u201320). New Algorithm of Liquid Level of Infusion Bottle Based on Image Processing. Proceedings of the 2009 International Conference on Information Engineering and Computer Science, Wuhan, China.","DOI":"10.1109\/ICIECS.2009.5363597"},{"key":"ref_53","doi-asserted-by":"crossref","first-page":"223","DOI":"10.25007\/ajnu.v7n4a293","article-title":"Real-time Liquid Level and Color Detection System using Image Processing","volume":"7","author":"Samann","year":"2018","journal-title":"Acad. J. Nawroz Univ."},{"key":"ref_54","unstructured":"Eppel, S. (2016). Tracing liquid level and material boundaries in transparent vessels using the graph cut computer vision approach. arXiv."},{"key":"ref_55","doi-asserted-by":"crossref","first-page":"801","DOI":"10.1109\/JSEN.2012.2227594","article-title":"Truly Nonintrusive Liquid-Level-Sensing Method Based on Lateral Displacement Effect of Light Rays","volume":"13","author":"Singh","year":"2013","journal-title":"IEEE Sens. J."},{"key":"ref_56","doi-asserted-by":"crossref","unstructured":"Liu, Q., Chu, B., Peng, J., and Tang, S. (2019). A Visual Measurement of Water Content of Crude Oil Based on Image Grayscale Accumulated Value Difference. Sensors, 19.","DOI":"10.3390\/s19132963"},{"key":"ref_57","doi-asserted-by":"crossref","first-page":"95","DOI":"10.1016\/j.flowmeasinst.2019.04.004","article-title":"In-situ water level measurement using NIR-imaging video camera","volume":"67","author":"Zhang","year":"2019","journal-title":"Flow Meas. Instrum."},{"key":"ref_58","doi-asserted-by":"crossref","unstructured":"Zhang, Z., Zhou, Y., Liu, H., Zhang, L., and Wang, H. (2019). Visual Measurement of Water Level under Complex Illumination Conditions. Sensors, 19.","DOI":"10.3390\/s19194141"},{"key":"ref_59","doi-asserted-by":"crossref","unstructured":"\u010coko, D., Stan\u010di\u0107, I., Duji\u0107 Rodi\u0107, L., and \u010co\u0161i\u0107, D. (2022). TheraProx: Capacitive Proximity Sensing. Electronics, 11.","DOI":"10.3390\/electronics11030393"},{"key":"ref_60","doi-asserted-by":"crossref","first-page":"042025","DOI":"10.1088\/1757-899X\/518\/4\/042025","article-title":"Highly Accurate Water Level Measurement System Using a Microcontroller and an Ultrasonic Sensor","volume":"518","author":"Mohammed","year":"2019","journal-title":"IOP Conf. Ser. Mater. Sci. Eng."},{"key":"ref_61","unstructured":"(2023, July 18). St. Water and Liquid Level Measurement Using VL53L5CX Time-of-Flight 8 \u00d7 8 Multizone Sensor with Wide Field of View. Available online: https:\/\/www.st.com\/resource\/en\/application_note\/an5843-water-and-liquid-level-measurement-using-vl53l5cx-timeofflight-8x8-multizone-sensor-with-wide-field-of-view-stmicroelectronics.pdf."},{"key":"ref_62","doi-asserted-by":"crossref","unstructured":"Tawalbeh, R., Alasali, F., Ghanem, Z., Alghazzawi, M., Abu-Raideh, A., and Holderbaum, W. (2023). Innovative Characterization and Comparative Analysis of Water Level Sensors for Enhanced Early Detection and Warning of Floods. J. Low Power Electron. Appl., 13.","DOI":"10.3390\/jlpea13020026"},{"key":"ref_63","unstructured":"(2023, July 18). St. AN5851 Application Note: Water and Liquid Level Monitoring Using VL53L4CD Time-of-Flight High Accuracy Proximity Sensor. Available online: https:\/\/www.st.com\/resource\/en\/application_note\/an5851-water-and-liquid-level-monitoring-using-vl53l4cd-timeofflight-high-accuracy-proximity-sensor-stmicroelectronics.pdf."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/16\/7126\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T20:31:49Z","timestamp":1760128309000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/16\/7126"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,8,11]]},"references-count":63,"journal-issue":{"issue":"16","published-online":{"date-parts":[[2023,8]]}},"alternative-id":["s23167126"],"URL":"https:\/\/doi.org\/10.3390\/s23167126","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,8,11]]}}}