Next Article in Journal
WO3-Pt/Graphene Nanocomposite Sensors for Methane Sensing Applications
Previous Article in Journal
How Far Down? Interdisciplinary Discussions and Multimodal Investigations to Understand the Potential of Multispectral Remote Sensing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Abstract

Three-Dimensionally Printed Resonator with Piezoelectric Actuation and Machine Learning Calibration for In-Line Density–Viscosity Sensing †

by
Víctor Corsino
,
Víctor Ruiz-Díez
,
Mario Ramírez-Palma
,
Javier Toledo
,
José Manuel Gilpérez
and
José Luis Sánchez-Rojas
*
Institute of Nanotechnology, University of Castilla-La Mancha, 45071 Toledo, Spain
*
Author to whom correspondence should be addressed.
Presented at the XXXV EUROSENSORS Conference, Lecce, Italy, 10–13 September 2023.
Proceedings 2024, 97(1), 55; https://doi.org/10.3390/proceedings2024097055
Published: 19 March 2024

Abstract

:
Three-dimensionally printed cuboid-shaped flow cells featuring a rectangular vibrating plate in one of the sides, actuated by PZT piezoelectric films, were designed, fabricated, and tested. Instead of oscillator circuits based on single resonances, we use the frequency response of the cell in a range with multiple resonances, sensitive to the liquid properties. Machine learning techniques were implemented for training and calibration with water–glycerol mixtures at different temperatures. Various materials, fabrication parameters, and post-treatment processes were investigated. The calibration errors and resolutions are compared for different devices, conditioning circuits, and machine learning algorithms. Our results demonstrate the high potential of the low-cost sensor to monitor density and viscosity in aqueous solutions.

1. Introduction

The in-line monitoring of liquid properties, such as density and viscosity, is relevant to emerging low-cost and miniaturized IoT platforms in many application areas. Sensors based on piezoelectric MEMS have shown advantages compared to other technologies [1]. Alternatively, 3D-printed sensors with attached piezoelectric films have been used to monitor the liquid properties [2]. The flow cell and resonator can be combined in a compact device for flow-through monitoring in real time, featuring low-cost and rapid manufacturing compared to silicon-based MEMS devices, and with piezo actuators placed outside the liquid cell, preventing deterioration while sensing aggressive media. In this work, we explore the potential of these 3D-printed cells for sensing the density and viscosity of liquids flowing through them. A variety of simple conditioning circuits and machine learning algorithms are investigated, searching for smart and compact systems with enough accuracy and reduced cost.

2. Methods and Results

Flow cells were fabricated by stereolithography (SLA) printing. Various UV-curable polymer-based resins were compared in performance, such as ABS-like, glass reinforced Rigid 10K, and translucent Clear resins; two piezo patches were glued to the cell with an instant adhesive, and wiring and soldering of the electrical contacts were implemented outside the cell. Figure 1a shows a schematic of the assembled device and the spectra measured for a Rigid 10K cell with a vibrating membrane of 16 × 5 × 0.5 mm3 by exciting one patch with a 3.3 V sine wave and reading out the voltage generated in the second patch. Solutions of water and glycerol ranging from 0% to 85%, designated as Ni, i ∈ [1,11], were circulated through the cells as in reference [3]. A dataset with 33 spectra was used to train a machine-learning model. Support Vector Machines (SVM), k-Nearest Neighbors (K-NN), Multi-layer Perceptrons (MLP), and Convolutional Neural Networks (CNN) algorithms were compared for the regression of the viscosity and density of liquids. The data are divided into 11 subsets, each with 3 spectra of a given Ni as a test set, and the remaining 30 as a training set, following a cross-validation strategy known as ‘leave-one-out’. A preprocessing of the data was carried out, comparing the effects of different scaling techniques on the results of the models and performing a feature selection using typical techniques such as principal component analysis (PCA). Figure 1b shows one of the results obtained for the estimation of viscosity. A similar procedure was followed for the prediction of density, achieving better accuracy compared to viscosity.
The difference between the predicted and reference values gives an average of 2.4 mPa·s in the test sets (2.6% calibration error). For viscosities up to 20 mPa·s, the error is below 2%, whereas for higher viscosities, the spectra provided by the sensor are more similar and, consequently, the predictions are somewhat worse.

Author Contributions

Measurements: V.C., V.R.-D. and J.L.S.-R.; fabrication: V.C., V.R.-D. and M.R.-P.; electronics: V.C. and J.T.; writing—original draft: V.C.; writing—review and editing: V.C., V.R.-D., J.M.G. and J.L.S.-R.; project administration: J.L.S.-R. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded through Universidad de Castilla-La Mancha, Spain and FEDER ‘ERDF A way of making Europe’.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data will be made available on request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Toledo, J.; Ruiz-Díez, V.; Pfusterschmied, G.; Schmid, U.; Sánchez-Rojas, J.L. Flow-through sensor based on piezoelectric MEMS resonator for the in-line monitoring of wine fermentation. Sens. Actuators B Chem. 2018, 254, 291–298. [Google Scholar] [CrossRef]
  2. Toledo, J.; Ruiz-Díez, V.; Velasco, J.; Hernando-García, J.; Sánchez-Rojas, J.L. 3D-Printed Liquid Cell Resonator with Piezoelectric Actuation for In-Line Density-Viscosity Measurements. Sensors 2021, 21, 7654. [Google Scholar] [CrossRef] [PubMed]
  3. Cerimovic, S.; Beigelbeck, R.; Antlinger, H.; Schalko, J.; Jakoby, B.; Keplinger, F. Sensing viscosity and density of glycerol–water mixtures utilizing a suspended plate MEMS resonator. Microsyst. Technol. 2012, 18, 1045–1056. [Google Scholar] [CrossRef]
Figure 1. (a) Spectra taken with the Ni solutions with a cross-sectional scheme and a photograph of one of the fabricated cells in the inset. (b) Estimated viscosity of the Ni liquids with the machine learning model. Red symbols show the performance of the model in the training sets, blue symbols show the predictions on the test sets, and yellow symbols show the reference viscosity values for each solution.
Figure 1. (a) Spectra taken with the Ni solutions with a cross-sectional scheme and a photograph of one of the fabricated cells in the inset. (b) Estimated viscosity of the Ni liquids with the machine learning model. Red symbols show the performance of the model in the training sets, blue symbols show the predictions on the test sets, and yellow symbols show the reference viscosity values for each solution.
Proceedings 97 00055 g001
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

Corsino, V.; Ruiz-Díez, V.; Ramírez-Palma, M.; Toledo, J.; Gilpérez, J.M.; Sánchez-Rojas, J.L. Three-Dimensionally Printed Resonator with Piezoelectric Actuation and Machine Learning Calibration for In-Line Density–Viscosity Sensing. Proceedings 2024, 97, 55. https://doi.org/10.3390/proceedings2024097055

AMA Style

Corsino V, Ruiz-Díez V, Ramírez-Palma M, Toledo J, Gilpérez JM, Sánchez-Rojas JL. Three-Dimensionally Printed Resonator with Piezoelectric Actuation and Machine Learning Calibration for In-Line Density–Viscosity Sensing. Proceedings. 2024; 97(1):55. https://doi.org/10.3390/proceedings2024097055

Chicago/Turabian Style

Corsino, Víctor, Víctor Ruiz-Díez, Mario Ramírez-Palma, Javier Toledo, José Manuel Gilpérez, and José Luis Sánchez-Rojas. 2024. "Three-Dimensionally Printed Resonator with Piezoelectric Actuation and Machine Learning Calibration for In-Line Density–Viscosity Sensing" Proceedings 97, no. 1: 55. https://doi.org/10.3390/proceedings2024097055

Article Metrics

Back to TopTop