How to reduce the measurement error of electromagnetic flowmeter?