A robot arm attitude speed planning control method
The rotation speed conversion through Euler angle representation and damping coefficient calculation solves the problem of complex planning in the attitude adjustment of the robotic arm, achieving smooth changes in attitude and improving the safety of movement.
Patent Information
- Application Number
- CN202210785947.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-04
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-07-04
AI Technical Summary
When controlling the attitude adjustment of the robotic arm, attitude planning needs to be performed first, which results in a complex and uneven planning process, affecting the safety and smoothness of the movement.
By using Euler angles to represent the rotation transformation matrix of the end link of the manipulator, and calculating the rotation speed under the action of the damping coefficient, converting to the base coordinate system of the manipulator, and controlling the rotation speed around each axis according to the rotation order of Euler angles, Achieve smooth changes in posture.
Smooth changes in the attitude of the robotic arm can be achieved without advance planning, simplifying the control process and improving the safety and smoothness of movement.
Smart Images

Figure CN115008468B
Abstract
Description
Technical Field
[0001] The invention relates to the field of trajectory planning, in particular to a robot arm posture speed planning control method. Background Art
[0002] When controlling the movement of a robotic arm, it is generally necessary to first plan the path from the starting point to the end point to achieve obstacle avoidance and make the robotic arm's movement trajectory smoother, thereby ensuring safety and smoothness. Specific trajectory methods include trajectory planning based on polynomial interpolation, Bezier curve trajectory planning, trajectory planning based on B-spline interpolation, etc. When planning the posture, it is first necessary to use quaternions or other methods suitable for posture interpolation to represent it, and then use the trajectory planning method to plan the angles, angular velocities, and other values of each path point. Summary of the invention
[0003] The present invention solves the problem that posture planning must be performed before controlling the posture adjustment of the robot arm. The desired rotation is expressed by using Euler angles, and the speed of rotation in the robot arm end link coordinate system is obtained under the action of the damping coefficient. Finally, it is converted to the robot arm base coordinate system, and then the rotation speed around each coordinate system is controlled according to the Euler angle rotation order, so that the effect of smooth posture change can be achieved without advance planning.
[0004] The technical solution adopted by the present invention is:
[0005] A robot arm posture speed planning and control method comprises the following steps.
[0006] Step 1: Obtain the rotation transformation matrix between the current posture and the target posture of the robot end link coordinate system, and express it in the form of Euler angles;
[0007] Step 2: Multiply each Euler angle by the damping coefficient to obtain the expected rotation speed in the robot end link coordinate system; then convert it to the robot base coordinate system through the robot forward kinematics matrix to obtain the expected speed of the end link coordinate system in the base coordinate system of the robot base coordinate system.
[0008] Step 3: Control the speed of the rotation around each axis of the base coordinate system in turn according to the rotation order of the Euler angle. Repeat the above two steps after three control cycles until the end of the robot arm reaches the target posture.
[0009] The Euler angles expressed by converting the rotation matrix into an internal rotation form include:
[0010] Define the rotation order: β, γ, α;
[0011] The transformation formula for calculating the rotation matrix to the internal rotation form Euler angle is as follows:
[0012]
[0013] Among them, RP represents the rotation transformation matrix between the target posture and the current posture, β is the angle at which the end of the robot first rotates around the z-axis of the base coordinate system, γ is the angle at which the end of the robot then rotates around the y-axis of the rotated coordinate system, and α is the angle at which the end of the robot finally rotates around the x-axis of the rotated coordinate system.
[0014] The desired velocity of the end link coordinate system under the base coordinate is: [wx, wy, wz], which is used to control the velocity of the manipulator through the differential kinematics of the manipulator using the Jacobian matrix.
[0015] According to the rotation order of the Euler angles, only one component of the desired rotation speed is controlled in one cycle; and because only the posture is controlled, the speed component of a single cycle has the following three situations:
[0016]
[0017] Among them, the first three components of v are linear velocities, and the last three components are angular velocities, which correspond to the expected rotation speeds of the current cycle.
[0018] The present invention has the following beneficial effects and advantages:
[0019] During attitude planning and control, there is no need for attitude planning, and control can be performed directly based on the real-time calculated Euler angle, which can achieve the effect of smooth attitude changes. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 Plan the control flow chart for attitude velocity. DETAILED DESCRIPTION
[0021] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation method of the present invention is described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the invention, so the present invention is not limited by the specific implementation disclosed below.
[0022] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0023] The present invention is a robot arm posture speed planning control method, and its specific implementation steps are as follows:
[0024] Step 1:
[0025] First, the target posture is expressed in the form of a rotation transformation matrix in the robot end link coordinate system. The rotation transformation matrix is calculated by the controller based on the target posture and the current posture of the robot end by automatically transforming the coordinate system.
[0026] Then, the rotation transformation matrix is converted into the Euler angle expressed in the internal rotation form. When rotating, first rotate around the z-axis by an angle of β, then rotate around the y-axis of the rotated coordinate system by an angle of γ, and finally rotate around the x-axis of the rotated coordinate system by an angle of α. The transformation formula from the obtained rotation matrix to the internal rotation form of the Euler angle is as follows.
[0027]
[0028] Among them, RP represents the rotation transformation matrix between the target posture and the current posture,
[0029] Step 2:
[0030] First, multiply each component of the Euler angle by the damping coefficient to obtain the rotation speed in three directions in the end link coordinate system;
[0031] Then, the forward kinematics matrix of the robot is used to transform it into the robot base coordinate system, and the expected speeds in three directions of the end link coordinate system in the base coordinate system are obtained;
[0032] Then, the Jacobian matrix can be used to control the speed of the robot through the differential kinematics of the robot. Step 3:
[0033] First, the rotation speed around each axis of the base coordinate system is controlled in turn according to the rotation order of the Euler angle, that is, the desired speed is controlled, and only one component of the desired rotation speed is controlled in each cycle.
[0034] And because only the attitude is controlled, the velocity component of a certain cycle may have the following three situations.
[0035]
[0036] Among them, the first three components of v are linear velocities, and the last three components are angular velocities, which correspond to the expected rotation speeds of the current cycle.
[0037] Then, the above two steps are repeated after three control cycles until the end of the robot arm reaches the target posture.
[0038] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A robot arm posture speed planning and control method, Its characteristics are as follows, including the following steps: Step 1: Obtain the rotation transformation matrix between the current posture and the target posture of the robot end link coordinate system, and express it in the form of Euler angles; converting the rotation transformation matrix into the Euler angle expressed in the form of internal rotation includes: Define the rotation order: β, γ, α; The transformation formula for calculating the rotation transformation matrix to the internal rotation form Euler angle is as follows: Among them, RP represents the rotation transformation matrix between the target posture and the current posture, β is the angle at which the end of the robot first rotates around the z-axis of the base coordinate system, γ is the angle at which it then rotates around the y-axis of the rotated coordinate system, and α is the angle at which it finally rotates around the x-axis of the rotated coordinate system; Step 2: Multiply each angle of the Euler angle by the damping coefficient to obtain the expected rotation speed in the robot end link coordinate system; then convert it to the robot base coordinate system through the robot forward kinematics matrix to obtain the expected speed of the end link coordinate system in the base coordinate system of the robot base coordinate system; The desired velocity of the end link coordinate system under the base coordinate is: [wx, wy, wz], and then the Jacobian matrix is used to control the velocity of the manipulator through the differential kinematics of the manipulator; Step 3: Control the speed of the rotation around each axis of the base coordinate system in turn according to the rotation order of the Euler angle. Only one component of the desired rotation speed is controlled in one cycle. Because only the posture is controlled, the speed component of a single cycle has the following three situations: Among them, the first three components of v are linear velocities, and the last three components are angular velocities, which correspond to the expected rotation speeds of the current cycle; After three control cycles, the above two steps are repeated until the end of the robotic arm reaches the target posture.
