With the needs of environmental protection and the adjustment of energy structure, new energy vehicles are playing an increasingly important role in the field of transportation today. The permanent-magnet brushless direct-current motor has the characteristics of high efficiency, and can be used in the drive system of new energy vehicles or other auxiliary equipment. In the control process of the permanent-magnet brushless direct-current motor, based on a three-Hall position sensor, due to various factors, there are some errors in the Hall position signal, which must be corrected by appropriate measures. In this paper, the relationship between the position deviation in the commutation interval and the non-commutation-phase current is analyzed, and the current expressions in three different states are given. A new closed-loop compensation strategy for correcting the inaccurate commutation caused by the Hall signal error is proposed. Taking the position of a 30° electrical angle before and after the phase-change point as the H point, realizing the current symmetry within the 30° interval around the H point as the target and the sum of the slopes of the tangent lines at the two points symmetrical within the β (0 < β < 30) electrical angle around the H point as the deviation, a proportional-integral regulator is designed to correct the phase error of the phase-change signal. Finally, it is verified by experiments that the closed-loop compensation strategy proposed in this paper can effectively compensate the phase deviation of the commutation signal at a speed of about 2000 r/min, which improves the working efficiency of the motor to a certain extent.