This application proposes a
stepper motor drive correction system and method, relating to the field of
stepper motor drive technology. The
system includes an H-bridge, a sensing circuit, a sampling circuit, a current-to-
voltage conversion circuit, a
sine wave generator, a proportional
amplifier, a
comparator circuit, and a calibration
control circuit. The sensing circuit samples the current of the low-side switch
transistor of the H-bridge, which is then converted into a sensing
voltage by the current-to-
voltage conversion circuit according to a first preset ratio. The
sine wave generator produces an ideal sine waveform, which is scaled by the proportional
amplifier according to a second preset ratio to form a reference voltage. The
comparator circuit compares the sensing voltage with the reference voltage and outputs the comparison result. Based on the comparison result, the calibration
control circuit calibrates the first and second preset ratios sequentially, gradually reducing the error between the two voltages. Through these multiple calibrations, the
system error is reduced to below a preset threshold, significantly improving the driving accuracy and smoothness of the
stepper motor in high-microstepping mode.