In this paper, the principles of Halbach array permanent magnet flowmeter (HA-PMFM) in reducing the sensitivity of measurement signals to velocity distribution by using arc-shaped electrodes and multi-electrodes, respectively, are analyzed. The impact laws of disturbance amplitudes of three velocity distribution forms (waterfall, skewed, and blockage types) on the measurement signals acquired by HA-PMFM with point electrodes, arc-shaped electrodes, and multiple electrodes, respectively, were investigated by COMSOL Multiphysics software. The results show that, in comparison to HA-PMFM with point electrodes, HA-PMFM with arc-shaped electrodes mitigates the unevenness of the weight function from 0.68 to 0.12. Under strong velocity distribution disturbances at constant flow velocity, optimized arc-shaped electrodes can reduce the measurement error from a maximum of 15 % to within 7 %, and multi- electrodes can reduce the measurement error from a maximum of 15 % to within 5 % compared to the point electrodes. However, when the uniform incoming flow rate is varied, the optimized arc-shaped electrodes can reduce the measurement error from 2 % to within 1 %, and the multi-electrodes can reduce the error from 2 % to within 1.5 %. This study offers valuable insights for enhancing the measurement accuracy of HA-PMFM in engineering applications and provides guidance for the design of liquid metal electromagnetic flowmeters in various fields, particularly for those compact systems using liquid metal as flow medium in which the flowmeter has to be installed on the flow passage with strongly distorted velocity distribution.