Simulation Applied to Phase Detection in a Coriolis Effect Based Flowmeter
Belizario L.F.G.; Quispe J.P.M.; Portal C.E.V.; Espinoza G.A.E.; Cardenas D.D.Y.A.; Ojeda C.M.; Espinoza F.E.E. · SSRG International Journal of Electrical and Electronics Engineering (2025) · DOI: 10.14445/23488379/ijeee-v12i7p113
Resumen
This paper presents a proposal for the electronic simulation of a Coriolis sensor based on the resonance frequency of a straight tube made of stainless steel, with emphasis on the design of the simulation for the measurement of the angular phase shift of the signals generated by the MPUs in the sensor. The system is based on an ESP32 microcontroller and two MPU-6050 sensors, whose data are displayed on a 4-digit, 7-segment display (TM1637). The code used in the simulation employs a C algorithm that estimates the phase difference between the two signals; a digital PLL was implemented to obtain the phase of each signal, and a DFT was used for the precise measurement of the phase difference, which is directly proportional to the mass flow. Disturbances due to flow pulsations and their impact on system accuracy are also considered, incorporating Gaussian noise in the simulation. Validation of the algorithm was performed by comparing the results simulated in Wokwi with those obtained in the Octave software. The errors obtained were less than ±0.2°, which supports the feasibility of the algorithm for measuring phase shift in a low-cost Coriolis sensor, applicable in industries such as chemical processing and fluid transport monitoring.
Instituciones: Universidad Nacional de San Agustín de Arequipa