Motor driving method and device, computer device and computer readable storage medium
A computer device and motor-driven technology, applied in the direction of single motor speed/torque control, etc., to increase the starting speed and improve the effect of dragging
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] An embodiment of the present invention provides a motor driving method, such as figure 1 As shown, the method includes:
[0027] S101. Obtain a preset PWM duty cycle, and obtain a counter electromotive force detection time point according to the PWM duty cycle;
[0028] S102. When the detection time point of the counter electromotive force is reached, the current counter electromotive force is detected;
[0029] S103. Obtain the current position of the rotor of the motor according to the detected current counter electromotive force, and enter a closed-loop state.
[0030] Since the back electromotive force is very weak when the speed of the motor is low, the interference of the switch on and off will submerge the back electromotive force signal of the motor. time), the back electromotive force of the motor is very pure, there is no interference, and the current position of the motor can be judged completely. Therefore, in the embodiment of the present invention, when...
Embodiment 2
[0033] An embodiment of the present invention provides a motor driving method, such as figure 2 As shown, the method includes:
[0034] S201. Determine the initial position of the motor rotor;
[0035] S202. Obtain a preset PWM duty cycle, and obtain a counter electromotive force detection time point according to the PWM duty cycle;
[0036] S203. When the detection time point of the counter electromotive force is reached, the current counter electromotive force is detected;
[0037] S204. Obtain the current position of the rotor of the motor according to the detected current counter electromotive force, and enter a closed-loop state.
[0038] In the embodiment of the present invention, since the motor can be given a greater starting force when dragging for the first time, on the basis of the method in Embodiment 1, a step of determining the initial position of the motor rotor is added to make the motor enter the Closed loop state.
Embodiment 3
[0040] An embodiment of the present invention provides a motor driving method, such as image 3 As shown, step S201, determine the initial position of the motor rotor, including:
[0041] S301. Obtain the current of the sampling point of each phase of the motor;
[0042] S302. Determine the initial position of the motor rotor according to the magnitude of the current at the sampling point;
[0043] In the embodiment of the present invention, according to the 6 states of the motor, 6 groups of pulses AC, BC, BA, AB, BC, and CA are injected into each group. When the pulse is injected, a current is generated, and the currents of the sampling points of each phase of the motor are collected and compared with each other. The phase with the largest current is the starting position of the motor rotor.
[0044] Wherein, the sampling point is the position where the current of each phase is maximum.
[0045] In the embodiment of the present invention, since the motor can be given a gr...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


