Electromagnetic flowmeters are flow measurement instruments that operate based on Faraday's law of electromagnetic induction. Compared with traditional mechanical flowmeters, electromagnetic flowmeters exhibit superior adaptability to various media and have lower requirements for straight pipe sections1. When fluid passes through the pipeline, the electromagnetic flowmeter generates a magnetic field and measures the induced voltage difference in the fluid to calculate the flow velocity2. Electromagnetic flowmeters are particularly suitable for complex environments like those in the chemical and petroleum industries3,4,5. However, due to their operation in harsh environments, the accuracy of electromagnetic flowmeters is easily affected by external interference6, necessitating advancements in detection technologies to improve accuracy7.
Accuracy can be improved in several ways. Optimizing the electrode shape has been shown to effectively enhance precision8, and optimizing the excitation coil's magnetic field can significantly improve flow measurement accuracy while maintaining magnetic field uniformity9. Additionally, improvements in drive waveforms, such as using dual-frequency driving, can effectively boost precision10. However, these methods still face issues of insufficient adaptability and limited flexibility when dealing with dynamic changes in complex environments.
To improve the performance of electromagnetic flowmeters in complex environments, this study implements two key enhancements aimed at improving accuracy and stability. First, a multi-stage step waveform drive is implemented to suppress high-order harmonics and optimize excitation waveforms. Second, signal processing is enhanced through a combination of Complex Programmable Logic Device (CPLD)-based hardware filtering, rectification, and software-based filtering techniques.
The step waveform drive controlled by the analog switch effectively suppresses high-order harmonics that typically arise in traditional methods. By adjusting the current step amplitude and switching timing, the excitation waveform is optimized, reducing interference with the electrodes. Additionally, after undergoing multi-stage amplification and band-pass filtering, the signal is effectively denoised and its strength is enhanced. Furthermore, the positive and negative half-cycle signals are separated and recombined to ensure signal stability, leading to improved measurement accuracy. The integration of these two enhancements significantly boosts the precision and anti-interference capability of the flowmeter, making it more reliable in complex industrial environments.
In industrial applications, pipelines may not always be fully filled with fluid. If the fluid level falls below the measurement electrodes, the electromagnetic flowmeter cannot provide valid flow velocity readings, making empty pipe detection a critical aspect of system reliability. Traditional empty pipe detection methods primarily rely on conductivity variations, but these are highly susceptible to changes in fluid composition and concentration, leading to instability under dynamic conditions.
To address these challenges, alternative detection strategies have been explored. A method based on electrode capacitance variation has been proposed11, but its performance deteriorates when fluid properties change or when external interference is present. Similarly, an approach utilizing interference amplitude variations has been introduced12; yet its threshold-based detection mechanism is significantly influenced by the type of liquid, limiting its adaptability. These limitations underscore the need for a more robust and adaptive solution.
In this study, a waveform-based empty pipe detection method is also proposed, leveraging the correlation between excitation waveforms and signal processing mechanisms to analyze waveform characteristics. This method effectively improves detection accuracy by eliminating dependencies on amplitude variations or conductivity fluctuations. More importantly, it enhances stability and reliability, particularly in complex industrial environments where fluid properties and external disturbances frequently change.
In summary, this study presents a high-precision electromagnetic flow measurement method that enhances accuracy and stability in complex environments. The proposed method integrates a multi-stage amplification and filtering process with an optimized excitation waveform and CPLD-based rectification to effectively suppress high-order harmonics and reduce noise interference. Additionally, software-based filtering techniques are incorporated to further refine the signal, enhancing measurement stability and reducing the impact of external disturbances. Furthermore, an empty pipe detection approach based on waveform pattern recognition is introduced, providing enhanced detection reliability compared to conventional amplitude- or conductivity-based methods.
It is worth noting that velocity non-uniformity in pipelines can introduce significant measurement errors13. Therefore, this study assumes a uniform velocity distribution as a prerequisite to ensure high-precision flow measurement. Experimental results demonstrate that the proposed approach achieves a measurement accuracy of 0.1% within a velocity range of 0.1-15 m/s, with a repeatability error of less than 1%. These findings validate the effectiveness of the proposed methodology and offer a promising solution for high-precision industrial flow measurement applications. Future research will focus on further evaluating the method's adaptability to varying fluid properties and external disturbances to enhance its robustness in real-world environments.