Method, terminal device, and computer readable storage medium for controlling rotation of servo
AssigneeUbtech Robotics Corp Ltd
InventorsYoujun Xiong, Wenhua Fan, Hanyu Sun, Zhongliang Wang
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a method, a terminal device, and a computer readable storage medium for controlling rotation of a servo. The method includes: acquiring a loading mass and a rotation radius of the servo from a sensor electrically connected with the servo or by an externally input; calculating an angular acceleration threshold of the servo according to an angular acceleration formula, a rated torque, the loading mass, and the rotation radius of the servo; setting an angular acceleration of the servo according to the angular acceleration threshold; and rotating the servo according to the angular acceleration.
Claims19
A computer-implemented method for controlling rotation of a servo, comprising executing on a processor steps of:
- acquiring a loading mass and a rotation radius of the servo, from a sensor electrically connected with the servo or by an externally input;
- calculating an angular acceleration threshold of the servo according to an angular acceleration formula, a rated torque, the loading mass, and the rotation radius of the servo;
- setting an angular acceleration of the servo according to the angular acceleration threshold;
- and
- rotating the servo according to the angular acceleration of the servo.
A computing terminal device for controlling rotation of a servo, comprising:
- one or more processors;
- a storage;
- and
- one or more computer programs stored in the storage and configured to be executed by the one or more processors, and the one or more computer programs controlling the computing terminal device to:
- acquire a loading mass and a rotation radius of a servo, from a sensor electrically connected with the servo or by an externally input;
- calculate an angular acceleration threshold of the servo according to an angular acceleration formula, a rated torque, the loading mass, and the rotation radius of the servo;
- set an angular acceleration of the servo according to the angular acceleration threshold;
- and
- rotate the servo according to the angular acceleration of the servo.
A computer readable storage medium having stored therein instructions, which when executed by a processor, cause the processor to:
- acquire a loading mass and a rotation radius of a servo, from a sensor electrically connected with the servo or by an externally input;
- calculate an angular acceleration threshold of the servo according to an angular acceleration formula, a rated torque, the loading mass, and the rotation radius of the servo;
- set an angular acceleration of the servo according to the angular acceleration threshold;
- and
- rotate the servo according to the angular acceleration of the servo.
Dependencies are inferred from the claim text.