A Cartesian space trajectory planning method and device
By using three-dimensional continuous Euler angles and path space conversion in robot trajectory planning, the problem of Euler angle singular points and attitude discontinuity during quaternion interpolation is solved, continuous trajectory planning in Cartesian space is realized, and the efficiency is improved. Planning effectiveness and computational efficiency.
Patent Information
- Application Number
- CN202211033779.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-26
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-08-26
AI Technical Summary
In the current robot end trajectory planning, there are singular points in Euler angles, which leads to discontinuous interpolation. In addition, the quaternion method may have discontinuous postures before and after rapidly changing nodes, making it difficult to achieve continuous planning.
Three-dimensional continuous Euler angles are used to represent attitude coordinates. Through path fitting and path space conversion, trajectory planning in Cartesian space is realized. The problem of attitude discontinuity during Euler angle singular points and quaternion interpolation is solved, and Cartesian space is realized. Continuous planning based on pose in Karl space.
Through continuous Euler angle representation and path space conversion, the complexity of planning calculations is reduced, the continuity and effect of trajectory planning are improved, and the kinematic constraints of multi-axis equipment and the continuity of velocity and acceleration of trajectory points are ensured.
Smart Images

Figure CN115179298B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field related to motion control, and in particular to a trajectory planning method and device in Cartesian space. Background Art
[0002] A robot is a multi-axis device. The most intuitive way to represent the posture of the robot end (also called the execution end) is the Euler angle. However, when planning the trajectory of the robot end, the Euler angle has singular points and is not suitable for interpolation, and the posture planning cannot be achieved.
[0003] The existing technology only uses Euler angles for posture planning within a limited range. For trajectory planning involving multi-segment posture planning, the Euler angles are converted into quaternions, and then posture interpolation is performed based on the quaternions to plan the posture of the robot's end, thus solving the impact of Euler angle singularities.
[0004] However, because the quaternion-based trajectory interpolation method is essentially performed on a spherical surface, the postures of the nodes before and after the rapid changes may be discontinuous. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a method and device for trajectory planning in Cartesian space, and its technical solution includes: obtaining the postures of several path nodes at the end of a multi-axis device, wherein the posture coordinates are represented by three-dimensional continuous Euler angles; performing path fitting on the postures of the path nodes to obtain the planned path in Cartesian space at the end of the multi-axis device; and obtaining the planned trajectory in Cartesian space according to the postures of each path point of the planned path. The technical solution of the embodiment of the present invention uses continuous Euler angles with continuous values to represent the posture coordinates, which solves the singular point problem of conventional Euler angles during interpolation and the posture discontinuity problem of quaternions during interpolation, and realizes continuous planning based on posture in Cartesian space.
[0006] In the first aspect, an embodiment of the present invention provides a trajectory planning method in Cartesian space, comprising: obtaining the posture of several path nodes at the end of a multi-axis device, the posture including the position coordinates in the Cartesian position space and the posture coordinates in the Cartesian posture space, wherein the posture coordinates are represented by three-dimensional continuous Euler angles, and when the multi-axis device end moves from the i-th path node to the i+1-th path node, the j-th dimension of the continuous Euler angle of the i+1-th path node is equal to the sum of the j-th dimension of the continuous Euler angle of the i-th path node and the rotation angle of the j-th dimension of the Euler angle during the movement, and the rotation angle is the angle of positive rotation; using the posture to smoothly fit the path nodes to obtain the planned path in the Cartesian space of the multi-axis device end; and obtaining the planned trajectory in Cartesian space according to the posture of each path point of the planned path.
[0007] From the above, the continuous Euler angle representation of the attitude coordinates with continuous values solves the singularity problem of conventional Euler angles during interpolation and the attitude discontinuity problem of quaternions during interpolation, and realizes continuous planning based on posture in Cartesian space.
[0008] In a possible implementation of the first aspect, obtaining a planned trajectory in Cartesian space based on the position length and the angle length of each path point includes: forming the path space coordinates of the path point using the position length and the angle length of the path point, interpolating the path space trajectory of the path point according to the path space coordinates to obtain the path trajectory in the path space; and obtaining the planned trajectory based on the path trajectory in the path space.
[0009] From the above, the 6-dimensional pose of each planned path point in Cartesian space is converted into a 2-dimensional path coordinate in the path space, which not only solves the problem of singular points of Euler angles and the problem of discontinuity of quaternions during interpolation, but also reduces the complexity of planning calculations and improves the planning effect.
[0010] In a possible implementation of the first aspect, the interpolating the route space trajectory of the way points according to the route space coordinates to obtain the route trajectory of the route space includes: obtaining the kinematic constraints of the multi-axis device end in the route space according to the kinematic constraints of the multi-axis device end in Cartesian space; under the kinematic constraints of the route space, interpolating the route space trajectory of the way points according to the route space coordinates to obtain the route trajectory of the route space, and the velocity, acceleration and jerk of each route trajectory point are continuous.
[0011] From the above, the planning of the route trajectory complies with the kinematic constraints of the route space and the continuity of the velocity, acceleration and jerk of the route trajectory points, so that the planned trajectory in the Cartesian space complies with the kinematic constraints of the Cartesian space and the continuity of the velocity, acceleration and jerk of the planned trajectory points.
[0012] In a possible implementation of the first aspect, the interpolating the route space trajectory of the way point according to the route space coordinates specifically includes: synchronously interpolating the trajectory of the position length dimension of the route space of the way point and the trajectory of the position length dimension according to the route space coordinates of the route space.
[0013] From the above, through the planning synchronization of the trajectory of the position length dimension in the distance space and the trajectory of the position length dimension, the trajectory synchronization of the planned trajectory in the Cartesian space in the six dimensions of posture is achieved.
[0014] In a possible implementation of the first aspect, obtaining the planned trajectory in Cartesian space based on the route trajectory in the route space includes: obtaining the posture of each route trajectory point based on the position length and the angle length of each route trajectory point in the route trajectory in the route space; and using each route trajectory point as the planned trajectory point in Cartesian space to constitute the planned trajectory.
[0015] From the above, according to the position length and angle length of each path trajectory point of the path trajectory, combined with the path trajectory trend, the position and posture of each path trajectory point are obtained, and the coordinate conversion between the path space and the Cartesian space can be realized through the search method.
[0016] In a possible implementation of the first aspect, the smooth fitting of the path nodes using the posture includes at least one of the following: smooth fitting of the path nodes using line segments and arcs according to the posture; smooth fitting of the path nodes using B-splines or polynomials according to the posture. In some embodiments, line segments and arcs are used for planning regular paths to reduce the amount of calculation, and B-splines or polynomials are used for planning irregular paths to improve accuracy. In other embodiments, B-splines or polynomials are used for planning scenes with high precision requirements, and line segments and arcs are used for planning scenes that need to balance the amount of calculation while meeting the precision requirements.
[0017] From the above, the path nodes are smoothly fitted by line segments and arcs or by using B-splines or polynomials to achieve smooth planning paths and meet position accuracy requirements.
[0018] In a possible implementation of the first aspect, a Cartesian space trajectory planning method also includes: obtaining each trajectory node according to the posture of the planned trajectory point, the trajectory node being a planned trajectory point on the planned trajectory whose curvature in Cartesian space is greater than a set threshold; performing kinematic inverse solution on the posture of the trajectory node to obtain the joint coordinates of the joint node in the joint space of the multi-axis device, the joint node being the point corresponding to the trajectory node in the joint space; and synchronously planning the joint trajectory of each axis of the multi-axis device according to the node coordinates under the kinematic constraints of each axis.
[0019] From the above, the position and posture of the trajectory node are converted into the joint coordinates of the joint space of the multi-axis device, and the joint trajectory of each axis of the multi-axis device is synchronously planned based on this, so that the motion of each axis of the multi-axis device satisfies the motion synchronization of each axis and satisfies the kinematic constraints. At the same time, the points of each joint trajectory have the velocity, acceleration and jerk in the joint space, and the motion of each axis is continuous.
[0020] In the second aspect, an embodiment of the present invention provides a planning device for the joint space trajectory of a multi-axis device, comprising: an acquisition module, a path planning module and a Cartesian trajectory planning module; the acquisition module is used to acquire the posture of several path nodes at the end of the multi-axis device, the posture including the position coordinates of the Cartesian position space and the posture coordinates of the Cartesian posture space, wherein the posture coordinates are represented by three-dimensional continuous Euler angles, and when the multi-axis device end moves from the i-th path node to the i+1-th path node, the j-th dimension of the continuous Euler angle of the i+1-th path node is equal to the sum of the j-th dimension of the continuous Euler angle of the i-th path node and the rotation angle of the j-th dimension of the Euler angle during the movement, and the rotation angle is the angle of positive rotation; the path planning module is used to use the posture to smoothly fit the path nodes to obtain the planned path in the Cartesian space of the multi-axis device end; the Cartesian trajectory planning module is used to obtain the planned trajectory in the Cartesian space according to the posture of each path point of the planned path.
[0021] From the above, the continuous Euler angle representation of the attitude coordinates with continuous values solves the singularity problem of conventional Euler angles during interpolation and the attitude discontinuity problem of quaternions during interpolation, and realizes continuous planning based on posture in Cartesian space.
[0022] In a possible implementation of the second aspect, the Cartesian trajectory planning module is specifically used to include: forming the route space coordinates of the path point by the position length and the angle length of the path point, performing route space trajectory interpolation on the path point according to the route space coordinates to obtain the route trajectory of the route space; and obtaining the planned trajectory according to the route trajectory of the route space.
[0023] From the above, the 6-dimensional pose of each planned path point in Cartesian space is converted into a 2-dimensional path coordinate in the path space, which not only solves the problem of singular points of Euler angles and the problem of discontinuity of quaternions during interpolation, but also reduces the complexity of planning calculations and improves the planning effect.
[0024] In a possible implementation of the second aspect, the Cartesian trajectory planning module is specifically used to interpolate the path points in the path space according to the path space coordinates to obtain the path trajectory in the path space, including: obtaining the kinematic constraints of the multi-axis device end in the path space according to the kinematic constraints of the multi-axis device end in the Cartesian space; under the kinematic constraints of the path space, interpolating the path points in the path space according to the path space coordinates to obtain the path trajectory in the path space, and the velocity, acceleration and jerk of each path trajectory point are continuous.
[0025] From the above, the planning of the route trajectory complies with the kinematic constraints of the route space and the continuity of the velocity, acceleration and jerk of the route trajectory points, so that the planned trajectory in the Cartesian space complies with the kinematic constraints of the Cartesian space and the continuity of the velocity, acceleration and jerk of the planned trajectory points.
[0026] In a possible implementation of the second aspect, the Cartesian trajectory planning module is specifically used to interpolate the route space trajectory of the way point according to the route space coordinates, including: synchronously interpolating the trajectory of the position length dimension of the route space of the way point and the trajectory of the position length dimension according to the route space coordinates of the route space.
[0027] From the above, through the planning synchronization of the trajectory of the position length dimension in the distance space and the trajectory of the position length dimension, the trajectory synchronization of the planned trajectory in the Cartesian space in the six dimensions of posture is achieved.
[0028] In a possible implementation of the second aspect, when the Cartesian trajectory planning module obtains the planned trajectory in the Cartesian space based on the route trajectory in the route space, it is specifically used to: obtain the posture of each route trajectory point based on the position length and the angle length of each route trajectory point in the route trajectory in the route space; and use the each route trajectory point as the planned trajectory point in the Cartesian space to constitute the planned trajectory.
[0029] From the above, according to the position length and angle length of each path trajectory point of the path trajectory, combined with the path trajectory trend, the position and posture of each path trajectory point are obtained, and the coordinate conversion between the path space and the Cartesian space can be realized through the search method.
[0030] In a possible implementation of the second aspect, when the path planning module uses the posture to smoothly fit the path nodes, it includes at least one of the following: smoothly fitting the path nodes using line segments and arcs according to the posture; smoothly fitting the path nodes using B-splines or polynomials according to the posture. In some embodiments, line segments and arcs are used for planning regular paths to reduce the amount of calculation, and B-splines or polynomials are used for planning irregular paths to improve accuracy. In other embodiments, B-splines or polynomials are used for planning scenes with high precision requirements, and line segments and arcs are used for planning scenes that balance the amount of calculation while meeting the precision requirements. From the above, the path nodes are smoothly fitted by line segments and arcs or by using B-splines or polynomials to achieve smooth planning paths and meet position accuracy requirements.
[0031] In a possible implementation of the second aspect, a Cartesian space trajectory planning device also includes: a motion inverse solution module, which is used to obtain each trajectory node according to the posture of the planned trajectory point, and the trajectory node is a planned trajectory point on the planned trajectory whose curvature in the Cartesian space is greater than a set threshold, and perform a kinematic inverse solution on the posture of the trajectory node to obtain the joint coordinates of the joint node in the joint space of the multi-axis device, and the joint node is the point corresponding to the trajectory node in the joint space; a joint trajectory planning module, which is used to synchronously plan the joint trajectory of each axis of the multi-axis device according to the node coordinates under the kinematic constraints of each axis.
[0032] From the above, the position and posture of the trajectory node are converted into the joint coordinates of the joint space of the multi-axis device, and the joint trajectory of each axis of the multi-axis device is synchronously planned based on this, so that the motion of each axis of the multi-axis device satisfies the motion synchronization of each axis and satisfies the kinematic constraints. At the same time, the points of each joint trajectory have the velocity, acceleration and jerk in the joint space, and the motion of each axis is continuous.
[0033] In a third aspect, an embodiment of the present invention provides a computing device, including:
[0034] bus;
[0035] A communication interface connected to the bus;
[0036] at least one processor connected to the bus; and
[0037] At least one memory is connected to the bus and stores program instructions, and when the program instructions are executed by the at least one processor, the at least one processor executes any implementation of the first aspect of the present invention.
[0038] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having program instructions stored thereon, wherein when the program instructions are executed by a computer, the computer executes any implementation method described in the first aspect of the application. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a flow chart of a first embodiment of a trajectory planning method in Cartesian space of the present invention;
[0040] Figure 2 It is a flow chart of a second embodiment of a trajectory planning method in Cartesian space of the present invention;
[0041] Figure 3A It is a flow chart of a third embodiment of a trajectory planning method in Cartesian space of the present invention;
[0042] Figure 3BIt is a flow chart of a joint space planning method of Embodiment 3 of a Cartesian space trajectory planning method of the present invention;
[0043] Figure 4 It is a structural schematic diagram of a first embodiment of a trajectory planning device in Cartesian space of the present invention;
[0044] Figure 5 It is a structural schematic diagram of a second embodiment of a trajectory planning device in Cartesian space of the present invention;
[0045] Figure 6 It is a structural schematic diagram of a third embodiment of a trajectory planning device in Cartesian space of the present invention;
[0046] Figure 7 A schematic diagram of the structure of a computing device according to various embodiments of the present invention. DETAILED DESCRIPTION
[0047] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0048] In the following description, the terms "first\second\third, etc." or module A, module B, module C, etc. are only used to distinguish similar objects, or to distinguish different embodiments, and do not represent a specific ordering of the objects. It can be understood that the specific order or sequence can be interchanged where permitted, so that the embodiments of the present invention described here can be implemented in an order other than that illustrated or described here.
[0049] In the following description, the numbers representing the steps, such as S110, S120, etc., do not necessarily mean that the steps must be executed in this manner. If permitted, the order of the previous and next steps can be interchanged, or they can be executed simultaneously.
[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.
[0051] Cartesian space, Cartesian space coordinates: Cartesian space is a rectangular coordinate space. The coordinates of Cartesian space are posture, including position coordinates and attitude coordinates. The position coordinates are three-dimensional rectangular coordinates, and the attitude coordinates are the rotation angle of the object's current position relative to the three-dimensional rectangular coordinates.
[0052] Velocity planner: A device for planning the trajectory and velocity of a moving object. It plans the velocity and trajectory of an object through trajectory interpolation. When planning velocity, it keeps the velocity and acceleration of each point continuous and obeys kinematic constraints. The velocity planner can plan trajectories in Cartesian space as well as in other spaces. When planning, the velocity is described as an expression of time, such as a polynomial based on time.
[0053] The embodiments of the present invention use continuous Euler angles with continuous values to represent the attitude coordinates, which solves the singular point problem of conventional Euler angles during interpolation and the attitude discontinuity problem of quaternions during interpolation, and realizes continuous planning based on posture in Cartesian space.
[0054] The following describes a Cartesian space trajectory planning method embodiment, device embodiment and other related embodiments of the present invention in conjunction with the accompanying drawings.
[0055] The multi-axis device in the present invention has multiple axes, which can be a robot or a machine tool. Its trajectory nodes are several points of the end of the multi-axis device in Cartesian space; the end of the multi-axis device can be the external operation part of the multi-axis device, such as the finger of the robot, the tool of the machine tool, etc.; the joint node of the multi-axis device is the corresponding point of each axis of the multi-axis device in its joint space when the end of the multi-axis device reaches the trajectory node.
[0056] Below we first combine the attached Figures 1 to 3B A trajectory planning method in Cartesian space and various planning method implementation examples are introduced.
[0057] Example 1 of a trajectory planning method in Cartesian space
[0058] Figure 1 The flowchart of a first embodiment of a trajectory planning method in Cartesian space is shown, including steps S110 to S130.
[0059] S110: Acquire the positions and postures of several path nodes at the end of the multi-axis device, wherein the positions and postures include three-dimensional position coordinates and three-dimensional attitude coordinates in Cartesian space.
[0060] Among them, the path node is the key point in the movement process of the end of the multi-axis device.
[0061] The posture includes position coordinates and attitude coordinates in Cartesian space, and the attitude coordinates are represented by three-dimensional continuous Euler angles.
[0062] The definition of continuous Euler angles is explained by taking the continuous Euler angles of the jth dimension of the i-th path node i as an example. The continuous Euler angles of the first path node are equal to the Euler angles of the first path node. When the end of the multi-axis device moves from the i-th path node to the i+1-th path node, the continuous Euler angles of the jth dimension of the i+1-th path node are equal to the sum of the continuous Euler angles of the jth dimension of the i-th path node and the rotation angle of the Euler angles of the jth dimension during the movement. The rotation angle is always a positive rotation angle. The first and third angles of ordinary Euler angles are positive in the clockwise direction, and the second angle is positive in the counterclockwise direction.
[0063] Among them, the three angle ranges of ordinary Euler angles are: the first angle is 0 to 2π, the second angle is 0 to π, and the third angle is 0 to 2π. When each Euler angle increases to the maximum value, if it continues to increase, it will jump to the minimum value and continue to increase; when each Euler angle decreases to the minimum value, if it continues to decrease, it will jump to the maximum value and continue to decrease. For example, taking the second angle in the first value range of Euler angles as an example, when its initial position is Then rotate clockwise by π. The traditional method is Changes to π, then jumps to 0 and then changes to Using the continuous Euler angle coordinate method, it is Directly change to The values are continuous.
[0064] S120: Smoothly fit each path node according to its position and posture to obtain a planned path in the Cartesian space of the end of the multi-axis device.
[0065] Among them, the smooth fitting of the path does not include speed planning. In order to realize the geometric smoothness of the path planning of the path nodes in the Cartesian space, the position and posture of each path point in the Cartesian space are determined.
[0066] Among them, two path fitting algorithms, namely, passing points and non-passing points, can be used in the path planning process. A better method for path planning without passing points is to use the straight line segment + arc method for transition points, and a better method for passing points is to use B-spline function or polynomial method for planning. In some embodiments, line segments and arcs are used for planning regular paths to reduce the amount of calculation, and B-splines or polynomials are used for planning irregular paths to improve accuracy. In other embodiments, B-splines or polynomials are used for planning for scenes with high precision requirements, and line segments and arcs are used for planning for scenes that need to balance the amount of calculation while meeting the precision requirements. Among them, the position and posture of each path point obtained by path planning is to rasterize the motion position of the end of the multi-axis device, which can be considered as a global planning of the motion position of the end of the multi-axis device. Whether it is through non-passing points or passing points, the planned path of the end of the multi-axis device meets the requirements of smoothness and accuracy.
[0067] From the above, the continuous Euler angle coordinate method solves the problem of discontinuity of traditional Euler angles, which is convenient for fitting. The continuity of posture values is achieved by inserting path points during the smooth fitting of the path.
[0068] S130: Obtaining a planned trajectory of the multi-axis device end in Cartesian space according to the position and posture of each planned path point.
[0069] Among them, the posture of each point on the planned trajectory is the same as the posture of the corresponding path point on the planned path in step S120, but this step obtains the relationship between the posture and time of each path point through speed planning, that is, each path point has a time attribute added. In order to distinguish, the planned path with added time attributes is called a planned trajectory.
[0070] Among them, in some embodiments, according to the position and posture of each planned path point, a velocity planner is used to separately and synchronously plan the position trajectory of the multi-axis device end in the Cartesian position space and the attitude trajectory in the Cartesian position space, and the position trajectory and the attitude trajectory constitute the planned trajectory of the multi-axis device end in the Cartesian space.
[0071] From the above, the use of continuous Euler angle coordinates solves the problem of discontinuity of traditional Euler angles, facilitates the interpolation of posture in Cartesian posture space, and solves the problem of singular points of Euler angles and the problem of discontinuity of posture when quaternions are interpolated.
[0072] Among them, in other embodiments, the position and posture of each planned path point is converted into the coordinates of the path space, the path trajectory of the end of the multi-axis device in the path space is planned according to the coordinates of the path space, and then the path trajectory is converted into the planned trajectory of the Cartesian space.
[0073] From the above, the use of continuous Euler angle coordinates solves the problem of discontinuity of traditional Euler angles, which makes it easier to calculate the length of the Cartesian attitude space. This length can be used for attitude planning and solves the problem of singular points of Euler angles and the problem of attitude discontinuity of quaternions during interpolation.
[0074] In summary, a first embodiment of a trajectory planning method in Cartesian space obtains the postures of several path nodes at the end of a multi-axis device, and uses continuous Euler angles with continuous values to represent the posture coordinates; performs path fitting on the postures of the path nodes to obtain the planned path in Cartesian space of the end of the multi-axis device; and obtains the planned trajectory in Cartesian space based on the postures of each path point in the planned path. This method embodiment solves the singularity problem of conventional Euler angles during interpolation and the posture discontinuity problem of quaternions during interpolation by using continuous Euler angles with continuous values to represent the posture coordinates, thereby realizing continuous planning based on posture in Cartesian space.
[0075] A second embodiment of a trajectory planning method in Cartesian space converts the pose of each planned path point into the coordinates of the route space, plans the route trajectory of the end of the multi-axis device in the route space according to the coordinates of the route space, and then converts the route trajectory into the planned trajectory in Cartesian space. This method embodiment converts the 6-dimensional pose of each planned path point in Cartesian space into 2-dimensional route coordinates in the route space, which not only solves the problem of singular points of Euler angles and the problem of discontinuity of quaternions during interpolation, but also reduces the complexity of planning calculations and improves the planning effect.
[0076] Figure 2 The flowchart of Embodiment 2 of a trajectory planning method in Cartesian space includes steps S210 to S250.
[0077] S210: Acquire the positions and postures of several path nodes at the end of the multi-axis device, wherein the positions and postures include three-dimensional position coordinates and three-dimensional attitude coordinates in Cartesian space.
[0078] For the specific method and advantages of this step, please refer to step S110 of method embodiment 1.
[0079] S220: Smoothly fit each path node according to its position and posture to obtain a planned path in the Cartesian space of the end of the multi-axis device.
[0080] For the specific method and advantages of this step, please refer to step S120 of method embodiment 1.
[0081] S230: According to the position and posture of the planned path in Cartesian space, the position length and angle length of each path point on the planned path are obtained, and the distance space coordinates of each path point are formed.
[0082] Wherein, the path points include path nodes and the inserted path points in step S220. Taking the i-th path point as an example, the definition of the position length and angle length of each path point is explained. The position length of the i-th path point is the length of the planned path in the Cartesian position space that is sequentially moved from the first path point to the i-th path point, and the angle length of the i-th path point is the length of the planned path in the Cartesian attitude space that is sequentially moved from the first path point to the i-th path point. It can be obtained that the position length between the i+1th path point and the i-th path point is the distance between the i+1th path point and the i-th path point in the Cartesian position space, and the angle length between the i+1th path point and the i-th path point is the distance between the i+1th path point and the i-th path point in the Cartesian attitude space.
[0083] The path space includes translational coordinates and rotational coordinates. The translational coordinates of a path point are the position length of the path point, and the rotational coordinates of a path point are the angular length of the path point.
[0084] From the above, because continuous Euler angles are used to represent the posture, the calculated angle length, that is, the rotation coordinate, is also continuous and can be used for continuous interpolation of the rotation coordinate.
[0085] S240: According to the distance space coordinates of each path point, the speed planner is used to interpolate the distance space trajectory of each path point to obtain the distance space trajectory.
[0086] Among them, when using the speed planner to interpolate the distance space trajectory of each path point, the kinematic constraints of the multi-axis device end in the distance space are obtained according to the kinematic constraints of the multi-axis device end in the Cartesian space, and the distance space trajectory interpolation of each path point is performed under the kinematic constraints of the distance space.
[0087] When the velocity planner is used to interpolate the trajectory of each path point in the course space, the trajectory of the translation dimension and the trajectory of the rotation dimension of the path point in the course space are synchronously interpolated according to the course space coordinates of the course space. The synchronization means that the time to reach the corresponding trajectory point of the translation dimension and the trajectory point of the rotation dimension of a path point in the course space is the same.
[0088] The speed of each interpolation point is planned forward by the speed planner, and the speed, acceleration and jerk of the route trajectory point in each route coordinate dimension in the route space are continuous.
[0089] Among them, the speed planner synchronously interpolates the translational coordinates and rotational coordinates of the path space during trajectory interpolation. The speed curve using the speed planner includes an S-shaped curve or a curve of other shapes. The relationship between speed and time includes a polynomial with time as the basis function or an expression with time cosine as the basis function.
[0090] From the above, because the rotation coordinates of the path space are also continuous values, when performing trajectory planning in the path space, continuous planning of the rotation coordinates is achieved, which is equivalent to achieving continuous attitude planning in the Cartesian space, solving the problem that the Euler angles have singular points and are not suitable for interpolation, and avoiding the attitude discontinuity problem of the trajectory interpolation method based on quaternions.
[0091] S250: Convert the coordinates of each path trajectory point in the path space into the position of each path trajectory point in the Cartesian space, and use each path trajectory point as a planned trajectory point in the Cartesian space to form a planned trajectory in the Cartesian space.
[0092] According to the motion trend of the route trajectory and the coordinates of each route trajectory point in the route space, a search method is used to convert the coordinates of each route trajectory point in the route space into the position and posture of each route trajectory point in the Cartesian space.
[0093] Among them, the route trajectory points in the route space correspond to the planned trajectory points in the Cartesian space one by one. When the velocity planner is used to interpolate the route space trajectory of each path point, the route trajectory points meet the kinematic constraints of the route space of the terminal of the multi-axis device, which is essentially the kinematic constraints of the planned trajectory points in the Cartesian space. The route trajectory points meet the continuity of the velocity, acceleration and jerk in the route space, which is essentially the continuity of the planned trajectory points in the Cartesian space. The synchronization of the route trajectory in the translational dimension and the rotational dimension is the synchronization of the planned trajectory in the six dimensions of posture.
[0094] In summary, a second embodiment of a trajectory planning method in Cartesian space obtains the postures of several path nodes at the end of a multi-axis device, wherein the posture coordinates are represented by three-dimensional continuous Euler angles; performs path fitting on the posture of each path node to obtain the planned path in Cartesian space of the end of the multi-axis device; obtains the position length and angle length of each path point according to the posture of each path point in the planned path; and obtains the planned trajectory in Cartesian space accordingly. This method embodiment converts the 6-dimensional posture of each planned path point in Cartesian space into 2-dimensional path coordinates in path space, which not only solves the problem of singular points of Euler angles and the problem of discontinuity of posture of quaternions during interpolation, but also reduces the complexity of planning calculations, thereby improving the planning effect.
[0095] Embodiment 3 of a Cartesian space trajectory planning method utilizes the planned trajectory in the Cartesian space obtained in embodiment 2 of a Cartesian space trajectory planning method to obtain the coordinates of the terminal trajectory node of the multi-axis device in the joint space, and based on this, synchronously plans the joint trajectory of the multi-axis device in the joint space under the kinematic constraints of each axis of the multi-axis device.
[0096] The following is combined with Figure 3A and Figure 3B A third embodiment of a trajectory planning method in Cartesian space is introduced.
[0097] Figure 3A The flowchart of Embodiment 3 of a trajectory planning method in Cartesian space is shown, including steps S310 to S350.
[0098] S310: Acquire the positions and postures of several path nodes at the end of the multi-axis device, wherein the positions and postures include three-dimensional position coordinates and three-dimensional attitude coordinates in Cartesian space.
[0099] For the specific method and advantages of this step, please refer to step S110 of method embodiment 1.
[0100] S320: Smoothly fit each path node according to its position and posture to obtain a planned path in the Cartesian space of the end of the multi-axis device.
[0101] For the specific method and advantages of this step, please refer to step S120 of method embodiment 1.
[0102] S330: Obtaining a planned trajectory in the Cartesian space according to the position and posture of the planned path in the Cartesian space.
[0103] Among them, this step executes steps S230, S240 and S250 of method embodiment 2. For its main methods and advantages, please refer to steps S230, S240 and S250 of method embodiment 2.
[0104] S340: Obtain the joint coordinates of the joint nodes corresponding to the terminal trajectory nodes of the multi-axis device in the joint space according to the planned trajectory in the Cartesian space.
[0105] Among them, according to the position and posture of the planned trajectory points in the Cartesian space, the trajectory nodes of the end of the multi-axis device in the Cartesian space are obtained. The trajectory nodes are the planned trajectory points on the planned trajectory in the Cartesian space whose curvature is greater than the set threshold. These points are the key points on the planned trajectory and determine the trend of the planned trajectory.
[0106] Among them, the kinematic inverse solution is performed on the position and posture of the trajectory node to obtain the joint coordinates of the joint nodes of the trajectory node in the multi-axis device. Among them, the joint coordinates are the coordinates of the joint space, and the kinematic inverse solution method includes: an analytical method, which uses an analytical method to find the coordinate angles of the joint nodes corresponding to the trajectory nodes in the joint space of each axis; an iterative method, which uses a numerical iteration method to numerically iterate and find the special solution of the equation to obtain the coordinates of the joint nodes corresponding to the trajectory nodes in the joint space of each axis; a geometric method, which uses geometric relationships to obtain the coordinates of the joint nodes corresponding to the trajectory nodes in the joint space of each axis for some robots with relatively simple structures. The present invention does not limit the kinematic inverse solution method.
[0107] S350: Under the kinematic constraints of each axis of the multi-axis device, according to the joint coordinates of each joint node, the joint trajectory of each axis of the multi-axis device is synchronously planned using a velocity planner.
[0108] Among them, each axis can be regarded as a joint, corresponding to one dimension of a joint space, and each axis can be a translation axis or a rotation axis.
[0109] When the velocity planner plans the joint trajectory of each axis in the joint space, the velocity curve of the velocity planner includes an S-shaped curve or a curve of other shapes, and the relationship between velocity and time includes a polynomial with time as a basis function or an expression with time cosine as a basis function.
[0110] The synchronization means that each axis of the multi-axis device reaches each joint node at the same time in the joint space.
[0111] Among them, the joint trajectory point of each axis in the joint space satisfies the kinematic constraints of the axis, and the velocity, acceleration and jerk of its joint trajectory point are continuous in the joint space.
[0112] Among them, for the specific method of this step, please refer to the process of the joint space trajectory planning method in an embodiment of a Cartesian space trajectory planning method.
[0113] Figure 3B The flow of a joint space trajectory planning method of an embodiment of a Cartesian space trajectory planning method is shown, including: steps S3510 to S3540.
[0114] S3510: According to the joint coordinates of the joint nodes, the speed planner is used to plan the first trajectory of each axis in the joint space respectively, and the planning time for each axis to reach each joint node is obtained.
[0115] The speed planner in this step is the speed planner described in step S350 of the second embodiment of the trajectory planning method in Cartesian space, and each axis is planned under kinematic constraints.
[0116] S3520: According to the planned time for each axis to arrive at each joint node, the synchronization time for each axis to arrive at each joint node is obtained.
[0117] Among them, at the synchronization time corresponding to a joint node, each axis synchronously arrives at the corresponding joint node of the trajectory node.
[0118] Among them, a possible implementation of this step includes:
[0119] 1) According to the planning time of each joint node of each axis, the running time of each axis moving between each adjacent joint node is obtained.
[0120] 2) For any pair of adjacent joint nodes, the longest running time of each axis between the pair of adjacent joint nodes is used as the synchronization time of the movement between the pair of adjacent joint nodes.
[0121] 3) According to the synchronization duration of each pair of adjacent joint nodes, the synchronization time for each axis of the multi-axis device to reach each joint node is determined in turn.
[0122] S3530: According to the synchronization time of each axis reaching each joint node and the joint coordinates of each joint node, the speed planner is used to plan the second trajectory of each axis in the joint space.
[0123] The velocity planner in this step is the velocity planner described in step S350 of the second embodiment of the trajectory planning method in Cartesian space, and realizes the continuity of velocity, acceleration and jerk of its joint trajectory points in the joint space.
[0124] S3540: When there is a point where the velocity, acceleration or jerk jumps on the second trajectory of an axis, the velocity, acceleration or jerk of the point is filtered, and the corresponding second trajectory is optimized based on the filtering result to obtain the joint trajectory of each joint space.
[0125] In summary, a third embodiment of a trajectory planning method in a Cartesian space utilizes the planned trajectory in the Cartesian space obtained in a second embodiment of a trajectory planning method in a Cartesian space to obtain the coordinates of the trajectory nodes of the terminal of the multi-axis device in the joint space, and based on this, synchronously plans the joint trajectories of each axis of the multi-axis device under the kinematic constraints of each axis of the multi-axis device, thereby not only achieving the smoothness and accuracy of the planned trajectory of the terminal of the multi-axis device, but also satisfying the kinematic constraints of the terminal of the multi-axis device, and also satisfying the kinematic constraints of each axis of the multi-axis device, and achieving continuity of the velocity, acceleration and jerk of each axis.
[0126] Combine the following Figures 4 to 6 An embodiment of a trajectory planning device in Cartesian space according to the present invention is introduced.
[0127] Figure 4 The structure of a first embodiment of a trajectory planning device in a Cartesian space is shown, including: an acquisition module 410 , a path planning module 420 and a Cartesian trajectory planning module 430 .
[0128] The acquisition module 410 is used to acquire the positions and postures of several path nodes at the end of the multi-axis device, and the positions and postures include three-dimensional position coordinates and three-dimensional attitude coordinates in Cartesian space. For its method and advantages, please refer to step S110 of the first embodiment of a trajectory planning method in Cartesian space.
[0129] The path planning module 420 is used to perform smooth fitting on each path node according to its position and posture to obtain a planned path in Cartesian space of the end of the multi-axis device. For its method and advantages, please refer to step S120 of the first embodiment of a trajectory planning method in Cartesian space.
[0130] The Cartesian trajectory planning module 430 is used to obtain the planned trajectory in the Cartesian space according to the position and posture of the planned path in the Cartesian space. For its method and advantages, please refer to step S130 of the first embodiment of a trajectory planning method in a Cartesian space.
[0131] Figure 5 The structure of a second embodiment of a trajectory planning device in a Cartesian space is shown, including: an acquisition module 510 , a path planning module 520 and a Cartesian trajectory planning module 530 .
[0132] The acquisition module 510 is used to acquire the positions and postures of several path nodes at the end of the multi-axis device, and the positions and postures include three-dimensional position coordinates and three-dimensional attitude coordinates in Cartesian space. For its method and advantages, please refer to step S210 of the second embodiment of a trajectory planning method in Cartesian space.
[0133] The path planning module 520 is used to perform smooth fitting on each path node according to its position and posture to obtain a planned path in Cartesian space of the end of the multi-axis device. For its method and advantages, please refer to step S220 of the second embodiment of a trajectory planning method in Cartesian space.
[0134] The Cartesian trajectory planning module 530 is used to obtain the position length and angle length of each path point on the planned path according to the position and posture of the planned path in Cartesian space, and to form the distance space coordinates of each path point. For its method and advantages, please refer to step S230 of the second embodiment of a trajectory planning method in Cartesian space.
[0135] The Cartesian trajectory planning module 530 is also used to interpolate the trajectory of each path point in the path space according to the path space coordinates of each path point using the speed planner to obtain the path trajectory of the path space. For its method and advantages, please refer to step S240 of the second embodiment of a Cartesian space trajectory planning method.
[0136] The Cartesian trajectory planning module 530 is also used to convert the coordinates of each path trajectory point in the path space into the position of each path trajectory point in the Cartesian space, and use each path trajectory point as a planned trajectory point in the Cartesian space to form a planned trajectory in the Cartesian space. For its method and advantages, please refer to step S250 of the second embodiment of a trajectory planning method in a Cartesian space.
[0137] Figure 6 The structure of a third embodiment of a trajectory planning device in a Cartesian space is shown, including: an acquisition module 610 , a path planning module 620 , a Cartesian trajectory planning module 630 , a kinematic inverse solution module 640 and a joint trajectory planning module 650 .
[0138] The acquisition module 610 is used to acquire the positions and postures of several path nodes at the end of the multi-axis device, and the positions and postures include three-dimensional position coordinates and three-dimensional attitude coordinates in Cartesian space. For its method and advantages, please refer to step S310 of the third embodiment of a trajectory planning method in Cartesian space.
[0139] The path planning module 620 is used to perform smooth fitting on each path node according to its position and posture to obtain a planned path in Cartesian space of the end of the multi-axis device. For its method and advantages, please refer to step S320 of the third embodiment of a trajectory planning method in Cartesian space.
[0140] The Cartesian trajectory planning module 630 is used to obtain the planned trajectory in the Cartesian space according to the position and posture of the planned path in the Cartesian space. For its method and advantages, please refer to step S330 of the third embodiment of a trajectory planning method in a Cartesian space.
[0141] The kinematics inverse solution module 640 is used to obtain the joint coordinates of the joint nodes corresponding to the end trajectory nodes of the multi-axis device in the joint space according to the planned trajectory in the Cartesian space. For its method and advantages, please refer to step S340 of the third embodiment of a trajectory planning method in a Cartesian space.
[0142] The joint trajectory planning module 650 is used to synchronously plan the joint trajectories of each axis of the multi-axis device according to the joint coordinates of each joint node under the kinematic constraints of each axis of the multi-axis device using a velocity planner. For its method and advantages, please refer to step S350 of the third embodiment of a trajectory planning method in a Cartesian space.
[0143] The embodiment of the present invention further provides a computing device, Figure 7 Detailed introduction.
[0144] The computing device 700 includes a processor 710 , a memory 720 , a communication interface 730 , and a bus 740 .
[0145] It should be understood that the communication interface 730 in the computing device 700 shown in this figure can be used to communicate with other devices.
[0146] The processor 710 may be connected to a memory 720. The memory 720 may be used to store the program code and data. Therefore, the memory 720 may be a storage unit inside the processor 710, or an external storage unit independent of the processor 710, or a component including a storage unit inside the processor 710 and an external storage unit independent of the processor 710.
[0147] Optionally, the computing device 700 may further include a bus 740. The memory 720 and the communication interface 730 may be connected to the processor 710 via the bus 740. The bus 740 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 740 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the figure is represented by only one line, but it does not mean that there is only one bus or one type of bus.
[0148] It should be understood that in the embodiment of the present invention, the processor 710 may adopt a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. Alternatively, the processor 710 may adopt one or more integrated circuits to execute relevant programs to implement the technical solutions provided in the embodiment of the present invention.
[0149] The memory 720 may include a read-only memory and a random access memory, and provides instructions and data to the processor 710. A portion of the processor 710 may also include a nonvolatile random access memory. For example, the processor 710 may also store information on the device type.
[0150] When the computing device 700 is running, the processor 710 executes the computer-executable instructions in the memory 720 to perform the operation steps of each method embodiment.
[0151] It should be understood that the computing device 700 according to an embodiment of the present invention can correspond to the corresponding subjects in the methods according to the various embodiments of the present invention, and the above-mentioned and other operations and / or functions of each module in the computing device 700 are respectively for implementing the corresponding processes of each method in the embodiment of the present method. For the sake of brevity, they will not be repeated here.
[0152] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0153] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0154] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0155] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment of the method.
[0156] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0157] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the decoding method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0158] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it is used to execute the operating steps of each method embodiment.
[0159] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0160] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0161] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0162] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0163] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present invention, all of which belong to the scope of protection of the present invention.
Claims
1. A trajectory planning method in Cartesian space, characterized in that: include: Acquire the poses of several path nodes of the end of the multi-axis device, the poses including position coordinates in a Cartesian position space and attitude coordinates in a Cartesian attitude space, wherein the attitude coordinates are represented by three-dimensional continuous Euler angles, and when the end of the multi-axis device moves from the i-th path node to the i+1-th path node, the j-th dimension of the continuous Euler angle of the i+1-th path node is equal to the sum of the j-th dimension of the continuous Euler angle of the i-th path node and the positive rotation angle of the j-th dimension of the Euler angle during the movement; Performing smooth fitting on the path nodes using the posture to obtain a planned path in the Cartesian space of the end of the multi-axis device; According to the position and posture of each path point of the planned path, a planned trajectory in Cartesian space is obtained, which specifically includes: According to the position and posture of each path point of the planned path, the position length and angle length of each path point are obtained, wherein the position length of a path point is the length of the planned path from the first path point to the path point in the Cartesian position space, and the angle length of a path point is the length of the planned path from the first path point to the path point in the Cartesian posture space. The position length and the angle length form the coordinates of the distance space, and the path point is interpolated in the distance space according to the coordinates of the distance space to obtain the distance trajectory of the distance space. The planned trajectory is obtained according to the route trajectory.
2. The method according to claim 1, characterized in that: The step of interpolating the path point in the path space according to the coordinates of the path space to obtain the path trajectory in the path space includes: According to the kinematic constraints of the end of the multi-axis device in the Cartesian space, the kinematic constraints of the end of the multi-axis device in the path space are obtained; Under the kinematic constraints of the route space, the route space trajectory interpolation is performed on the path points according to the coordinates of the route space to obtain the route trajectory, and the speed, acceleration and jerk of each route trajectory point are continuous.
3. The method according to claim 2, characterized in that: The interpolating the path point in the distance space trajectory according to the coordinates of the distance space specifically includes: According to the coordinates of the distance space, the trajectory of the position length dimension and the trajectory of the posture length dimension of the waypoint in the distance space are synchronously interpolated.
4. The method according to claim 1, characterized in that: The step of obtaining the planned trajectory according to the route trajectory includes: Obtaining the position and posture of each path trajectory point according to the position length and the angle length of each path trajectory point; The path trajectory points are used as planning trajectory points in Cartesian space to form the planning trajectory.
5. The method according to claim 1, characterized in that: The smooth fitting of the path nodes by using the posture includes at least one of the following: Performing smooth fitting of the path nodes using line segments and circular arcs according to the posture; The path nodes are smoothly fitted using B-splines or polynomials according to the posture.
6. The method according to claim 1, characterized in that: Also includes: According to the position and posture of the planned trajectory point, each trajectory node is obtained, and the trajectory node is a planned trajectory point on the planned trajectory whose curvature in Cartesian space is greater than a set threshold; Performing inverse kinematics solution on the position and posture of the trajectory node to obtain the joint coordinates of the joint node in the joint space of the multi-axis device, wherein the joint node is a point corresponding to the trajectory node in the joint space; Under the kinematic constraints of each axis of the multi-axis device, the joint trajectories of each axis of the multi-axis device are synchronously planned according to the node coordinates.
7. A device for planning joint space trajectories of a multi-axis device, characterized in that: include: Acquisition module, path planning module and Cartesian trajectory planning module; The acquisition module is used to acquire the postures of several path nodes of the end of the multi-axis device, and the postures include position coordinates in a Cartesian position space and posture coordinates in a Cartesian posture space, wherein the posture coordinates are represented by three-dimensional continuous Euler angles, and when the end of the multi-axis device moves from the i-th path node to the i+1-th path node, the continuous Euler angle of the j-th dimension of the i+1-th path node is equal to the sum of the continuous Euler angle of the j-th dimension of the i-th path node and the rotation angle of the Euler angle of the j-th dimension during the movement; The path planning module is used to smoothly fit the path nodes using the posture to obtain a planned path in the Cartesian space of the end of the multi-axis device; The Cartesian trajectory planning module is used to obtain a planned trajectory in Cartesian space according to the position and posture of each path point of the planned path, and is specifically used to include: According to the position and posture of each path point of the planned path, the position length and angle length of each path point are obtained, wherein the position length of a path point is the length of the planned path from the first path point to the path point in the Cartesian position space, and the angle length of a path point is the length of the planned path from the first path point to the path point in the Cartesian posture space. The path space coordinates of the path point are formed by the position length and the angle length of the path point, and the path space trajectory of the path point is interpolated according to the path space coordinates to obtain the path trajectory of the path space. The planned trajectory is obtained according to the route trajectory in the route space.
8. A computing device, characterized in that include: bus; A communication interface connected to the bus; at least one processor connected to the bus; as well as At least one memory is connected to the bus and stores program instructions, and when the program instructions are executed by the at least one processor, the at least one processor executes the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having program instructions stored thereon, characterized in that: When the program instructions are executed by a computer, the computer executes the method according to any one of claims 1 to 6.
