This application relates to a method, apparatus, electronic device, storage medium, and vehicle for zero-position calibration of a motor. The method includes: upon detecting that the current operating state of the range
extender system meets preset coarse zero-position calibration conditions, controlling the engine to rotate to a preset position based on a preset rotor pre-positioning method, and recording the
resolver reading corresponding to the preset position; upon detecting that the
resolver reading is within a preset
verification range, controlling the engine to start; upon detecting that preset fine zero-position calibration conditions are met, acquiring the direct-axis
voltage component and quadrature-axis
voltage component of the motor, and sending a fine calibration flag bit to the PDCU, so that the PDCU controls the engine speed to a second target speed, controls the
maximum torque value of the motor to 0, and determines whether the motor is in a calibration state based on the direct-axis
voltage component and quadrature-axis voltage component. That is, this application embodiment, through the interaction between the PDCU and GPEU, eliminates the need for separate disassembly of the motor for zero-position calibration, resulting in high execution efficiency and no reliance on other equipment.