A scheme to improve the structure of electromagnetic flow sensor is put forward in this paper, which can effectively solve the slurry noise problem when electromagnetic flowmeter measures slurry fluid. The electromagnetic flow sensor used for measuring slurry fluid has slurry noise interference in the measurement signal. At present, the method of increasing the excitation frequency of electromagnetic flow sensor is widely used to overcome slurry noise. However, high excitation frequency will lead to poor stability of zero point. In view of the shortcomings of existing methods, this paper studies the method of improving sensor structure to overcome slurry noise. Firstly, according to the mechanism of slurry noise, an improved scheme for the installation position of the measuring electrode of electromagnetic flow sensor is proposed, which can greatly reduce the probability of solid particles of slurry fluid colliding with the measuring electrode; Then, the relevant research results of bubble dynamics theory are applied to optimize the improvement scheme, and the improvement scheme is determined, through calibration, it is concluded that the improved sensor can reach the accuracy level of 1.0; Finally, through slurry measurement experiments, it is verified that the improved electromagnetic flow sensor can effectively overcome slurry noise.