Motion control method and device, robot and storage medium
A technology of motion control and controller, applied in the direction of non-electric variable control, control/adjustment system, two-dimensional position/channel control, etc., can solve gyroscope drift and scale factor error, robot cannot continue linear motion, encoder Unable to detect etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 It is a flow chart of the motion control method provided by Embodiment 1 of the present invention. This embodiment is applicable to equipment that moves through left and right wheels. This method can be executed by a motion control device that is integrated in a robot. Specifically , the method includes the following steps:
[0029] S110. Determine the movement speed deviation of the left wheel and the right wheel within the current unit time when the target device is moving.
[0030] Specifically, the target device may be a device that has a left wheel and a right wheel, and its motion state can be controlled by controlling the speed of the left wheel or the right wheel, such as a robot. In the embodiment, the target device is a robot as an example. The unit time can be set according to actual needs, for example, it can be set to 5ms. The movement speed deviation is the deviation of the speed of the left wheel and the right wheel in the current unit time.
...
Embodiment 2
[0042] figure 2 The flow chart of a motion control method provided by Embodiment 2 of the present invention is optimized on the basis of the above embodiments. Specifically, the method includes the following steps:
[0043] S210. Determine the movement speed deviation of the left wheel and the right wheel within the current unit time when the target device is moving.
[0044] In order to further clarify the determination process of the movement speed deviation, S210 is embodied as:
[0045] S2101. When the target device is moving, collect the left pulse signal of the left wheel encoder and the right pulse signal of the right wheel encoder on the target device within the current unit time.
[0046] Specifically, an encoder is a device that converts displacement into an electrical signal. In practical applications, the left wheel encoder is set on the left wheel, and the right wheel encoder is set on the right wheel. When the robot moves, the left wheel encoder and the right ...
Embodiment 3
[0068] image 3 A structural diagram of a motion control device provided by Embodiment 3 of the present invention, which can implement the motion control method described in the above embodiment, refer to image 3 , the device consists of:
[0069] The first determination module 310 is used to determine the movement speed deviation of the left wheel and the right wheel within the current unit time when the target device is moving;
[0070] An acquisition module 320, configured to acquire the yaw angular velocity of the gyroscope on the target device within a current unit of time;
[0071] The second determination module 330 is configured to determine the actual speed of the left wheel in the current unit time according to the movement speed deviation and the yaw rate;
[0072] A control module 340, configured to control the current motion state of the target device according to the actual speed.
[0073] Embodiment 3 of the present invention provides a motion control device...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


