Robot control method, computer-readable storage medium, and robot
Abstract
A robot control method, a computer-readable storage medium, and a robot are provided. The method includes: obtaining first motion data, where the first motion data is human arm end motion data collected by a virtual reality device; obtaining second motion data by mapping the first motion data to a working space of an end of a robotic arm of the robot; obtaining a state of each joint of the robotic arm of the robot, and obtaining control data of the joint by performing a quadratic programming solving on the second motion data and the state of the joint; and controlling, by a motion controller of the robot, the robotic arm of the robot to move according to the obtained control data of each joint of the robot by transmitting the control data of the joint to the motion controller, so that the control method is relatively more natural, intuitive, and flexible.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A computer-implemented control method for a robot with a robotic arm having one or more joints, comprising: obtaining first motion data, wherein the first motion data is human arm end motion data collected by a virtual reality device; obtaining second motion data by mapping the first motion data to a working space of an end of the robotic arm of the robot; obtaining a state of each of the joints of the robotic arm of the robot, and obtaining control data of the joint by performing a quadratic programming solving on the second motion data and the state of the joint; determining whether the quadratic programming solving is overspeed based on the obtained control data of each of the joints of the robotic arm; determining the obtained control data of the joint of the robotic arm as not meeting the restriction condition, in response to the quadratic programming solving being overspeed; determining whether the obtained control data of the joint of the robotic arm exceeds a preset joint limit
- Claim 2Depends on #1
The method of claim 1, determining whether the quadratic programming solving is overspeed based on the control data of each of the joints of the robotic arm comprises: calculating a Jacobian matrix corresponding to the control data of each of the joints of the robotic arm; calculating a condition number based on the Jacobian matrix; determining the quadratic programming solving as being overspeed, in response to the condition number being larger than a preset condition number threshold; and determining the quadratic programming solving as being not overspeed, in response to the condition number being smaller than or equal to the condition number threshold.
- Claim 3Depends on #1
The method of claim 1, wherein after stopping transmitting the control data of each of the joints of the robotic arm to the motion controller of the robot, the method further comprises: in a subsequent control cycle of the robot, continuing to obtain the control data of each of the joints of the robotic arm of the robot by performing the quadratic programming solving on the second motion data and the state of the joint; determining whether the control data of each of the joints of the robotic arm meets the restriction condition; determining whether the control data of each of the joints of the robotic arm meets a preset transition ending condition, in response to meeting the restriction condition; obtaining smoothed control data of each of the joints of the robotic arm by smoothing the control data of the joint to transmit to the motion controller of the robot, in response to not meeting the transition ending condition; and continuing to transmit the control data of each of the joints
- Claim 4Depends on #3
The method of claim 3, wherein determining whether the control data of each of the joints of the robotic arm meets the preset transition ending condition comprises: calculating a data error between the control data of each of the joints of the robotic arm and the state of the joint; determining whether the data error is smaller than a preset error threshold; determining the control data of each of the joints of the robotic arm as meeting the transition ending condition, in response to being smaller than the error threshold; and determining the control data of each of the joints of the robotic arm as not meeting the transition ending condition, in response to being larger than or equal to the error threshold.
- Claim 5Depends on #3
The method of claim 3, wherein obtaining the smoothed control data of each of the joints of the robotic arm by smoothing the control data of the joint comprises: obtaining the smoothed control data of each of the joints of the robotic arm by smoothing the control data of the joint using a proportional-derivative controller.
- Claim 6Independent Claim
A non-transitory computer-readable storage medium for storing one or more computer programs, wherein the one or more computer programs comprise: instructions for obtaining first motion data, wherein the first motion data is human arm end motion data collected by a virtual reality device; instructions for obtaining second motion data by mapping the first motion data to a working space of an end of a robotic arm of a robot; instructions for obtaining a state of each of one or more joints of the robotic arm of the robot, and obtaining control data of the joint by performing a quadratic programming solving on the second motion data and the state of the joint; instructions for determining whether the quadratic programming solving is overspeed based on the obtained control data of each of the joints of the robotic arm; instructions for determining the obtained control data of the joint of the robotic arm as not meeting the restriction condition, in response to the quadratic programming solvi
- Claim 7Depends on #6
The storage medium of claim 6, determining whether the quadratic programming solving is overspeed based on the control data of each of the joints of the robotic arm comprises: calculating a Jacobian matrix corresponding to the control data of each of the joints of the robotic arm; calculating a condition number based on the Jacobian matrix; determining the quadratic programming solving as being overspeed, in response to the condition number being larger than a preset condition number threshold; and determining the quadratic programming solving as being not overspeed, in response to the condition number being smaller than or equal to the condition number threshold.
- Claim 8Depends on #6
The storage medium of claim 6, wherein after stopping transmitting the control data of each of the joints of the robotic arm to the motion controller of the robot, the method further comprises: in a subsequent control cycle of the robot, continuing to obtain the control data of each of the joints of the robotic arm of the robot by performing the quadratic programming solving on the second motion data and the state of the joint; determining whether the control data of each of the joints of the robotic arm meets the restriction condition; determining whether the control data of each of the joints of the robotic arm meets a preset transition ending condition, in response to meeting the restriction condition; obtaining smoothed control data of each of the joints of the robotic arm by smoothing the control data of the joint to transmit to the motion controller of the robot, in response to not meeting the transition ending condition; and continuing to transmit the control data of each of the
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATIONS The present disclosure claims priority to Chinese Patent Application No. 202210598024.6, filed May 30, 2022, which is hereby incorporated by reference herein as if set forth in its entirety. BACKGROUND 1. Technical Field The present disclosure relates to robot technology, and particularly to a robot control method, a computer-readable storage medium, and a robot. 2. Description of Related Art With the development of robot technology, people's requirements for robot technology are also constantly increasing. In order to make robots to substitute humans to do more tasks so as to release artificial labor, the robots need to perform various complex motions through robotic arms. In the existing methods, the robotic arm of a robot is generally controlled through complicated programming techniques, where the control method is not natural and intuitive enough, and has poor flexibility. BRIEF DESCRIPTION OF THE DRAWINGS To describe the technical schemes in the embodiments of the present disclosure or in the prior art more clearly, the following briefly introduces the drawings required for describing the embodiments or the prior art. It should be understood that, the drawings in the following description merely show some embodiments. For those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. FIG. 1 is a flow chart of a robot control method according to an embodiment of the present disclosure. FIG. 2 is a flow chart of determining whether control data of each joint of the robotic arm meets a preset restriction condition in the robot control method of FIG. 1 . FIG. 3 is a schematic block diagram of a robot control apparatus according to an embodiment of the present disclosure. FIG. 4 is a schematic block diagram of a robot according to an embodiment of the present disclosure. DETAILED DESCRIPTION In order to make the objects, features and advantages of the present disclosure more obvio
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (6)
| Patent | Title | Year | Citations |
|---|