Abstract
This article introduces a novel, cost-effective, noninvasive sensing mechanism for measuring water flow rate. It employs two tunneling magnetoresistance (TMR) sensors (analog and bi-polar), a magnet, and a stainless-steel cantilever. The TMR sensors are installed outside the insulating water pipe. A magnet is fixed at the free end of the cantilever and integrated into the pipe system. The cantilever's deflection corresponds to the flow rate, with an analog TMR sensor measuring the bending angle. This bending angle, in either direction of the cantilever's deflection, is captured through the analog voltage from the TMR sensor. The output from the analog TMR sensor is an analog voltage that directly reflects the strength of the magnetic field. An ESP32 microcontroller records the voltage from the analog TMR sensor, converts it to flow rates, and utilizes the bi-polar TMR sensor to ascertain the flow direction. A prototype sensor was developed and tested in a laboratory-scale setup to validate the effectiveness of the sensing mechanism. This prototype demonstrated a worst-case accuracy of 1.0% across flow rates of 0 to 1.5 m(3)/h for both the forward and reverse flow directions. The response and recovery times of the sensor are approximately 470 ms and 592 ms for forward and 487 ms and 625 ms for reverse direction flow. Also, hysteresis errors of 1.84% and 2.06% have been calculated for both flow directions. Notably, the sensing element does not contain any rotating components or require electrical connections to the cantilever for measurement. These attributes potentially lead to lower maintenance requirements and a longer lifespan for the sensor.