Calibration method and device for motion step number of stepping motor and mobile terminal

The invention discloses a calibration method and device for the motion step number of a stepping motor and a mobile terminal. The calibration method comprises the following steps: controlling the stepping motor to drive a camera to repeat a preset number of lifting operations according to a preset o...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: JIN XIAOBIN, LIU ZHANGYU, LIN KUNHAI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a calibration method and device for the motion step number of a stepping motor and a mobile terminal. The calibration method comprises the following steps: controlling the stepping motor to drive a camera to repeat a preset number of lifting operations according to a preset operation step number; in each lifting operation, enabling the upper Hall element to collect a firstmagnetic value of a magnetic field of the camera, and enabling the lower Hall element to collect a second magnetic value of the magnetic field of the camera at the same time; according to the first magnetic value and the second magnetic value, determining the locked-rotor step number of locked-rotor of the stepping motor in the lifting operation; and calculating a first locked-rotor step number mean value according to the locked-rotor step number of each time, and determining the calibration operation step number of the stepping motor according to the first locked-rotor step number mean value.According to the technica