FBG-Based Temperature Sensors for Liquid Identification and Liquid Level Estimation via Random Forest

Sensors (Basel). 2021 Jul 3;21(13):4568. doi: 10.3390/s21134568.

Abstract

This paper proposed a liquid level measurement and classification system based on a fiber Bragg grating (FBG) temperature sensor array. For the oil classification, the fluids were dichotomized into oil and nonoil, i.e., water and emulsion. Due to the low variability of the classes, the random forest (RF) algorithm was chosen for the classification. Three different fluids, namely water, mineral oil, and silicone oil (Kryo 51), were identified by three FBGs located at 21.5 cm, 10.5 cm, and 3 cm from the bottom. The fluids were heated by a Peltier device placed at the bottom of the beaker and maintained at a temperature of 318.15 K during the entire experiment. The fluid identification by the RF algorithm achieved an accuracy of 100%. An average root mean squared error (RMSE) of 0.2603 cm, with a maximum RMSE lower than 0.4 cm, was obtained in the fluid level measurement also using the RF algorithm. Thus, the proposed method is a feasible tool for fluid identification and level estimation under temperature variation conditions and provides important benefits in practical applications due to its easy assembly and straightforward operation.

Keywords: fiber Bragg gratings; fluid identification; liquid level estimation; oil classification; random forest; temperature sensor.

MeSH terms

  • Temperature
  • Water*

Substances

  • Water