On-line jog control method of robot based on third-order nonlinear discrete filter
Through the online jog control method based on the third-order nonlinear discrete filter, the problem of slow response speed of robot jog control and inability to handle singular points is solved, and the effect of fast response and smooth passage through singular points is achieved.
Patent Information
- Application Number
- CN202211568950.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-08
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-12-08
AI Technical Summary
The existing robot jog control algorithm has a slow response speed and cannot take into account the kinematic constraints of the robot and the problem of continuous and smooth passage through different singular points.
An online jog control method based on a third-order nonlinear discrete filter is adopted. By monitoring input commands in real time, the saturation state of the tangent point buffer is determined, a motion curve is constructed, and a cubic B-spline curve is used to fit the robot's motion position, speed and acceleration. , transform kinematic constraints into discrete filter state constraints to achieve online planning.
It achieves rapid response to user operations, handles robot kinematic constraints, ensures that the speed and acceleration during jogging are within the allowable range, and continuously and smoothly passes through singular points.
Smart Images

Figure CN115723140B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of robot jog control, and in particular to an online jog control method for a robot based on a third-order nonlinear discrete filter. Background Art
[0002] Robot jog control is one of the basic functions of industrial robots. It requires the robot to respond quickly to user operations and be able to smoothly pass through or bypass singular points. At the same time, during the jog process, the robot's terminal speed is also required not to exceed a certain speed.
[0003] Traditional jog control algorithms, such as those based on double “S” velocity curves, are only applicable to the control of single-axis robots and cannot be used for jog control operations of robots in Cartesian space. They also cannot guarantee the robot’s terminal velocity limit during the jog process and cannot handle the problem of the robot overspeeding when approaching a singular point. Although there are some robot motion planning algorithms that can handle the aforementioned problems, these planning algorithms are usually offline algorithms that require a certain amount of planning time after the user’s operation, resulting in reduced responsiveness to user operations.
[0004] Therefore, there is an urgent need to find an online robot jog control method that can quickly respond to user operations, simultaneously handle various robot kinematic constraints, and continuously and smoothly pass through different singular points of the robot during the jog process. Summary of the invention
[0005] In view of this, the purpose of the present invention is to provide a robot online jog control method based on a third-order nonlinear discrete filter, so as to solve the problems in the prior art that the offline jog control algorithm has slow response speed, cannot take into account the kinematic constraints of the robot and cannot continuously and smoothly pass through different singular points of the robot.
[0006] To achieve the above object, the present invention provides a robot online jog control method based on a third-order nonlinear discrete filter, comprising the following steps:
[0007] Monitor input commands acting on the robot in real time, and obtain the number of tangent points in a tangent point buffer when the input command is recognized;
[0008] Determine whether the number of tangent points in the tangent point buffer is saturated, and if saturated, construct a motion curve according to the tangent points in the tangent point buffer and their corresponding synthetic axis positions;
[0009] Continuously obtain the user's input instructions and the number of tangent points in the tangent point buffer to determine the user's input status and the tangent point status of the tangent point buffer, and obtain the input status, tangent point status, the status of the third-order nonlinear discrete filter and the internal stop status of the robot, and determine whether the flag values of the input status, tangent point status, the status of the third-order nonlinear discrete filter and the internal stop status of the robot are all false. If so, update the status of the third-order nonlinear discrete filter and the tangent point status;
[0010] Determine whether at least one of the flag values of the state of the updated third-order nonlinear discrete filter and the input state is false, and if so, calculate and output the joint position of the robot according to the state of the third-order nonlinear discrete filter and the motion curve;
[0011] According to the state of the third-order nonlinear discrete filter and the joint position of the robot, the kinematic constraints of the robot's online jog are converted into the state constraints of the third-order nonlinear discrete filter and the internal stop state of the robot is updated.
[0012] Furthermore, after the step of determining whether the number of cut points in the cut point buffer is saturated, the following steps are also included:
[0013] If it is not saturated, a new tangent point is obtained and the tangent point of the tangent point buffer and the synthetic axis position corresponding to the tangent point are updated.
[0014] Further, in the step of obtaining a new cut point and updating the number of cut points in the cut point buffer if it is not saturated, the specific method of obtaining a new cut point and updating the number of cut points in the cut point buffer is:
[0015] According to the motion state of the robot in the spatial coordinate system, the next tangent point is uniformly obtained as the new tangent point to update the tangent point buffer, and the vector between the new tangent point and the previous tangent point is calculated to update the synthetic axis position corresponding to the new tangent point; wherein the motion state includes at least the current motion position, motion speed and acceleration of the robot.
[0016] Furthermore, in the step of constructing a motion curve according to the tangent points of the tangent point buffer, the motion curve is a cubic B-spline curve, and the specific method of constructing the cubic B-spline curve is:
[0017] Get the tangent point in the tangent point buffer and its corresponding synthetic axis position, and calculate the control point coefficient of the robot's corresponding path point under the synthetic axis position;
[0018] According to the path points corresponding to the synthetic axis positions of each tangent point, the control points of the robot corresponding to each path point are calculated respectively;
[0019] The motion speed and acceleration of the path point and the robot at the path point are calculated according to the control point coefficient of the path point and the control point, and the motion curve of the robot is obtained by fitting.
[0020] Furthermore, in the step of obtaining the tangent points in the tangent point buffer and their corresponding synthetic axis positions, and calculating the control point coefficients of the robot's corresponding path points under the synthetic axis positions, the specific method of performing interpolation calculation on each synthetic axis position is:
[0021] Get a preset number of continuous tangent points in the tangent point buffer and their corresponding synthetic axis positions, perform interpolation calculations on each synthetic axis position according to the preset window size based on the state of the third-order nonlinear discrete filter, and obtain the control point coefficients of the robot at the corresponding path point and the first-order derivative coefficients and second-order derivative coefficients of the control point of the robot at the path point.
[0022] Furthermore, in the step of respectively calculating the control points of the robot corresponding to each path point according to the path points corresponding to the synthetic axis positions of each tangent point, the specific method of calculating each control point is:
[0023] According to the preset window size, the synthetic axis positions of a set of tangent points and their corresponding path points are obtained, and the control points of the robot at each path point are calculated according to each synthetic axis position and its corresponding path point. The control points are expressed as:
[0024]
[0025]
[0026]
[0027]
[0028] Where: c1, c2, c3, c4 are the first control point, second control point, third control point and fourth control point of the path points corresponding to the synthetic axis positions of each group of tangent points obtained in the tangent point buffer according to the preset window size, s k-2 ,s k-1 ,s k ,s k+1 ,s k+2 ,s k+3 are the synthetic axis positions corresponding to the continuous tangent points in the tangent point buffer, p k-2 ,p k-1 ,p k ,p k+1 ,p k+2 ,p k+3 are the path points corresponding to each synthetic axis position, and u1, u2, u3, and u4 are the middle values of the synthetic axis position of each set of tangent points.
[0029] Furthermore, in the step of calculating the motion speed and acceleration of the path point and the robot at the path point according to the control point coefficient of the path point and the control point, and fitting the motion curve of the robot, the specific method of fitting the motion curve is:
[0030] According to the first to fourth control points of the path point and the control point coefficients corresponding to each control point and the first-order derivative coefficients and the second-order derivative coefficients, the path point of the robot at the corresponding synthetic axis position and the corresponding motion speed and acceleration of the robot at the path point are calculated respectively; wherein the path point of the robot at the corresponding synthetic axis position is expressed as:
[0031]
[0032] Where: p s is the path point of the robot under the synthetic axis position of the interpolation point, c1, c2, c3, c4 are respectively the first to fourth control points of the path point corresponding to the synthetic axis position of each group of tangent points obtained in the tangent point buffer according to the preset window size, are the coefficients of the first to fourth control points respectively;
[0033] The movement speed of the robot at this path point is expressed as:
[0034]
[0035] in: For the robot at path point p s The movement speed at the point, c1, c2, c3, c4 are the first to fourth control points of the path points corresponding to the synthetic axis positions of each group of tangent points obtained in the tangent point buffer according to the preset window size, are the first-order derivative coefficients of the first to fourth control points respectively;
[0036] The acceleration of the robot at this path point is expressed as:
[0037]
[0038] in: For the robot at path point p s The acceleration at , c1, c2, c3, c4 are the first to fourth control points of the path points corresponding to the synthetic axis positions of each group of tangent points obtained in the tangent point buffer according to the preset window size, are the second-order derivative coefficients of the first to fourth control points respectively.
[0039] Furthermore, after the step of determining whether the flag values of the input state, the tangent point state, the state of the third-order nonlinear discrete filter, and the internal stop state of the robot are all false, the following steps are also included:
[0040] If not, the input of the third-order nonlinear discrete filter is maintained.
[0041] Furthermore, in the step of converting the kinematic constraints of the robot's online jog into the state constraints of the third-order nonlinear discrete filter according to the state of the third-order nonlinear discrete filter and the joint positions of the robot and updating the internal stop state of the robot, the following sub-steps are included:
[0042] Calculating the curvature radius of the third-order nonlinear discrete filter in the current state, and updating the internal stop state of the robot according to the curvature radius;
[0043] The kinematic constraints of the robot's online jog are converted into state constraints of the third-order nonlinear discrete filter according to the state of the third-order nonlinear discrete filter and the joint position of the robot; wherein the kinematic constraints include at least the robot's joint velocity constraints, joint acceleration constraints and / or space coordinate system velocity constraints.
[0044] Furthermore, the update formula of the internal stop state of the robot is:
[0045]
[0046] Among them: Internal_stop_flag is the flag of the robot's internal stop state, s, They are the states of the robot at the current position, velocity and acceleration of the third-order nonlinear discrete filter, r s is the curvature radius of the third-order nonlinear discrete filter in the current state;
[0047] The state constraint of the third-order nonlinear discrete filter corresponding to the joint velocity constraint is expressed as:
[0048]
[0049] in: is the state constraint of the third-order nonlinear discrete filter corresponding to the joint velocity constraint, is the joint velocity of the robot, is the maximum joint velocity allowed in the ith component, is the robot at path point p in the i-th component s The velocity at , i is the i-th component in the vector of the synthetic axis position, s is the state of the robot at the current motion position corresponding to the third-order nonlinear discrete filter;
[0050] The state constraint of the third-order nonlinear discrete filter corresponding to the joint acceleration constraint is expressed as:
[0051]
[0052]
[0053] in: are the state constraints of the third-order nonlinear discrete filter corresponding to the joint acceleration constraints, is the joint acceleration of the robot, is the maximum joint acceleration allowed in the ith component, is the robot at path point p in the i-th component s The speed of movement, is the robot at path point p in the i-th component s The acceleration at , i is the i-th component of the vector of the synthetic axis position, s, They are the states of the robot at the current motion position and motion speed corresponding to the third-order nonlinear discrete filter;
[0054] The state constraint of the third-order nonlinear discrete filter corresponding to the velocity constraint of the spatial coordinate system is expressed as:
[0055]
[0056] in: is the state constraint of the third-order nonlinear discrete filter corresponding to the velocity constraint of the spatial coordinate system. v and w are the linear velocity and angular velocity of the robot in the spatial coordinate system, respectively. v max ,w max are the maximum linear velocity and maximum angular velocity allowed by the robot in the spatial coordinate system, For the robot at path point p s The speed of movement at v ,J w are the robot at the path point p s The rows of the Jacobian matrix at about linear velocity and angular velocity are, are the robot at the path point p s The transpose of the rows of the Jacobian matrix at with respect to the linear and angular velocities.
[0057] The present invention performs online tangent points on the movement of the robot, constructs a smooth movement curve according to the tangent points, and performs online planning using a third-order nonlinear discrete filter, which includes three states of the robot's movement position, movement speed and acceleration. These states are bilaterally constrained, and the robot's movement constraints including joint speed constraints, joint acceleration constraints and space coordinate system can be converted into state constraints of the third-order nonlinear discrete filter. The present invention can quickly respond to the user's jog operation and can simultaneously process the kinematic constraints of various robots, ensuring that the speed and acceleration of each movement axis of the robot during the jog process are within the constraint range, thereby enabling the robot to continuously and smoothly pass through different singular points of the robot during the jog control process. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0059] Figure 1 This is a flow chart of a robot online jog control method based on a third-order nonlinear discrete filter according to Example 1 of the present invention.
[0060] Figure 2 for Figure 1 Flowchart of step S2 in FIG.
[0061] Figure 3 for Figure 1 Flow chart of step S5 in FIG.
[0062] Figure 4 This is a flow chart of Example 2 of the present invention.
[0063] Figure 5 This is a schematic diagram of the changes in the flag bits cmd_stop_flag, internal_stop_flag, and status_stop_flag during the robot's jog control process.
[0064] Figure 6 This is a schematic diagram of the changes in the flag bits staturate_flag and hunger_flag during the robot's jog control process.
[0065] Figure 7 This is a schematic diagram of the path points in the space coordinate system when obtaining the new tangent point in step S2.
[0066] Figure 8 Schematic diagram of the state quantity of the third-order nonlinear discrete filter in step S2.
[0067] Fig. 9Schematic diagram of the joint positions output in step S4. DETAILED DESCRIPTION
[0068] The following is further described in detail through specific implementation methods:
[0069] Example 1
[0070] like Figure 1 As shown, the flowchart of the robot online jog control method based on the third-order nonlinear discrete filter of this embodiment. The robot online jog control method based on the third-order nonlinear discrete filter of this embodiment comprises the following steps:
[0071] S1: Listen to input instructions and obtain the number of cut points.
[0072] Specifically, the input command acting on the robot is monitored in real time by setting a button at a corresponding position of the robot. When the button is sensed to be pressed, the input command is monitored, and then the number of tangent points in a tangent point buffer is obtained. In this embodiment, the tangent point buffer stores tangent points used to construct motion curves when executing the online algorithm.
[0073] In the specific implementation of this embodiment, the input command is monitored by collecting the value of the input status flag cmd_stop_flag. Specifically, when the user presses a button in the Cartesian space coordinate system, the value of the corresponding button flag cmd_stop_flag changes from 1 to 0, indicating that the input command is recognized. If the user releases the button, the value of the corresponding flag cmd_stop_flag changes from 0 to 1, thereby realizing the jog control of the robot.
[0074] S2: Construct the motion curve of the robot joint.
[0075] It is determined whether the number of tangent points in the tangent point buffer is saturated. If saturated, the motion curve of the robot joint is constructed according to the tangent points in the tangent point buffer. If not saturated, the online tangent points are performed backward until the tangent points in the tangent point buffer are saturated to construct the motion curve of the robot joint. In the present embodiment, in order to construct the motion curve of the robot joint, when there are 6 continuous tangent points that meet the conditions in the tangent point buffer, the tangent point buffer is considered to be saturated, otherwise it is unsaturated; but it can be understood that the capacity of the tangent point buffer is more than 6, and there are several tangent points, but when constructing the motion curve of the robot joint, each step of the calculation requires 6 tangent points to participate in the calculation. In other embodiments, according to different constructed motion curves, other numbers of continuous tangent points that meet the conditions can also be set when judging whether the tangent point buffer is saturated.
[0076] In the specific implementation of this embodiment, the saturation state of the tangent point buffer can be judged by collecting the value of the saturation state flag bit hunger_flag. Specifically, if there are 6 tangent points that meet the conditions in the tangent point buffer, the value of the saturation state flag bit hunger_flag is 0, otherwise the value of the saturation state flag bit hunger_flag is 1. When the value of the saturation state flag bit hunger_flag of the tangent point buffer is 1, it can be divided into two situations. One is the initial stage of the robot's jog control, when there are no tangent points in the tangent point buffer, and the other is the situation that there are not enough tangent points that meet the conditions in the tangent point buffer.
[0077] In this embodiment, whether the tangent point buffer is saturated is determined by the state of the third-order nonlinear discrete filter in the current cycle, that is, the corresponding tangent points are matched in the tangent point buffer by the state of the third-order nonlinear discrete filter and the synthetic axis position corresponding to each tangent point; in specific implementation, when the state of the third-order nonlinear discrete filter is s, The synthetic axis position of the tangent point of the corresponding constructed motion curve in the tangent point buffer is: s k-2 k-1 k <s<s k+1 k+2 k+3 (Where: s k-2 ,s k-1 ,s k ,s k+1 ,s k+2 ,s k+3 are the synthetic axis positions corresponding to 6 consecutive tangent points respectively). In this embodiment, the synthetic axis position is the accumulated value of the vectors between each two adjacent tangent points from the starting tangent point to the tangent point of each step. For example, the synthetic axis position corresponding to the starting tangent point is 0, the synthetic axis position corresponding to the second tangent point is the distance between the starting tangent point and the second tangent point, the synthetic axis position corresponding to the third tangent point is the sum of the distance between the starting tangent point and the second tangent point and the distance between the second tangent point and the third tangent point, and so on.
[0078] When the tangent point buffer is saturated, a motion curve of the robot joint is constructed according to the tangent points in the tangent point buffer. In this embodiment, the motion curve is a cubic B-spline curve.
[0079] like Figure 2 As shown, constructing a cubic B-spline curve specifically includes the following steps:
[0080] S201: Calculate the control point coefficient of the robot at the path point.
[0081] The tangent points in the tangent point buffer and their corresponding synthetic axis positions are obtained, and the control point coefficients of the robot corresponding to the path points under the synthetic axis positions are calculated. Specifically, a preset number (six in this embodiment) of continuous tangent points and their corresponding synthetic axis positions s are obtained in the tangent point buffer. k-2 ,s k-1 ,s k ,s k+1 ,s k+2 ,s k+3 , according to the state s of the third-order nonlinear discrete filter, The positions of each synthetic axis are interpolated according to the preset window size to obtain the control point coefficient of the robot at the corresponding path point and the first-order derivative coefficient and second-order derivative coefficient of the control point of the robot at the path point.
[0082] In the specific implementation of this embodiment, the preset window size is 3, that is, one control point is calculated with three tangent points as a group. The six tangent points in this embodiment include four control points. The state s of the third-order nonlinear discrete filter is used as the synthetic axis position of the interpolation point to insert continuous tangent points and their corresponding synthetic axis positions s k-2 k-1 k <s<s k+1 k+2 k+3 , according to the synthetic axis position of the interpolation point (i.e., the state s of the third-order nonlinear discrete filter) and the synthetic axis position s of the six consecutive tangent points k-2 ,s k-1 ,s k ,s k+1 ,s k+2 ,s k+3 Calculate the coefficients of each control point of the path point corresponding to the synthetic axis position of the interpolation point (Determine the position of the control point) and the first-order derivative of the synthetic axis position of the path point with respect to the interpolation point to obtain the first-order derivative coefficient of each control point (determines the speed of the robot at the control point) and the second-order derivative of the synthetic axis position of the path point about the interpolation point to obtain the second-order derivative coefficient of each control point (Determines the acceleration of the robot at the control point).
[0083] S202: Calculate the control point of the robot at the path point.
[0084] According to the path points corresponding to the synthetic axis positions of each tangent point, the control points of the robot at each path point are calculated respectively. Specifically, a set of synthetic axis positions of tangent points and their corresponding path points are obtained according to a preset window size, and the control points of the robot at each path point are calculated according to each synthetic axis position and its corresponding path point. In this embodiment, taking the first control point as an example, the synthetic axis positions s of the first to third tangent points in the continuous tangent points are k-2 ,s k-1 ,s k The corresponding path points are p k-2 ,p k-1 ,p k , record the synthetic axis position s from the first to the third tangent point k-2 ,s k-1 ,s k The first median value Then the first control point is expressed as:
[0085]
[0086] Where: c1 is the synthetic axis position s of the first set of tangent points obtained in the tangent point buffer according to the preset window size k-2 ,s k-1 ,s k The first control point of the corresponding waypoint.
[0087] Similarly, according to the above method, the second control point, the third control point and the fourth control point are calculated respectively, wherein the second control point is expressed as:
[0088]
[0089] Where: c2 is the composite axis position s of the second set of tangent points k-1 ,s k ,s k+1 The corresponding path point p k-1 ,p k ,p k+1 The second control point of , u2 is the second intermediate value of the synthetic axis position of the second set of tangent points,
[0090] The third control point is expressed as:
[0091]
[0092] Where: c3 is the composite axis position s of the third set of tangent points k ,s k+1 ,s k+2 The corresponding path point p k ,p k+1 ,p k+2The third control point of , u3 is the third middle value of the synthetic axis position of the third group of tangent points,
[0093]
[0094] The fourth control point is expressed as:
[0095]
[0096] Where: c4 is the composite axis position s of the fourth group of tangent points k+1 ,s k+2 ,s k+3 The corresponding path point p k+1 ,p k+2 ,p k+3 The fourth control point, u4, is the third intermediate value of the synthetic axis position of the third group of tangent points,
[0097] S203: Calculate the path points according to the control point coefficients and the control points and fit the motion curve.
[0098] According to the control point coefficients of the path point and the control point, the path point and the movement speed and acceleration of the robot at the path point are calculated, and the movement curve of the robot is obtained by fitting. Specifically, according to the first to fourth control points c1, c2, c3, c4 of the path point and the control point coefficients corresponding to each control point And the first-order derivative coefficients of each control point and the second-order derivative coefficient The path point of the robot at the corresponding synthetic axis position and the corresponding movement speed and acceleration of the robot at the path point are calculated respectively.
[0099] In this embodiment, the path point of the robot at the corresponding synthetic axis position is expressed as:
[0100]
[0101] Where: p s is the path point of the robot at the synthetic axis position of the interpolation point (i.e., the state s of the third-order nonlinear discrete filter), c1, c2, c3, c4 are respectively the first to fourth control points of the path points corresponding to the synthetic axis positions of each group of tangent points obtained in the tangent point buffer according to the preset window size, are the coefficients of the first to fourth control points respectively.
[0102] The first derivative of the robot joint about the synthetic axis at the path point is calculated to obtain the movement speed of the robot joint at the path point. In this embodiment, the movement speed of the robot joint at the path point is expressed as:
[0103]
[0104] in: For the robot at path point p s The movement speed at the point, c1, c2, c3, c4 are the first to fourth control points of the path points corresponding to the synthetic axis positions of each group of tangent points obtained in the tangent point buffer according to the preset window size, are the first-order derivative coefficients of the first to fourth control points respectively.
[0105] The second-order derivative of the robot joint about the synthetic axis at the path point is calculated to obtain the acceleration of the robot joint at the path point. The acceleration of the robot joint at the path point is expressed as:
[0106]
[0107] in: For the robot at path point p s The acceleration at , c1, c2, c3, c4 are the first to fourth control points of the path points corresponding to the synthetic axis positions of each group of tangent points obtained in the tangent point buffer according to the preset window size, are the second-order derivative coefficients of the first to fourth control points respectively.
[0108] Therefore, the motion curve corresponding to the robot joint can be fitted according to the path points of the robot joint and the motion speed and acceleration at the path points.
[0109] When the tangent point buffer is not saturated, at this time, the tangent points that meet the conditions in the tangent point buffer are not enough to construct the motion curve, then it is necessary to obtain a new tangent point and update the tangent point in the tangent point buffer and the synthetic axis position corresponding to the tangent point until the number of tangent points that meet the conditions in the tangent point buffer is greater than or equal to 6.
[0110] Specifically, according to the motion state of the robot in the spatial coordinate system, when the robot is jogging in the joint space, the next tangent point is uniformly obtained according to the motion speed of the robot in the joint space as a new tangent point to update the tangent point buffer, and the vector between the new tangent point and the previous tangent point is calculated to update the synthetic axis position corresponding to the new tangent point; when the robot is jogging in the Cartesian space, the next Cartesian space point is uniformly obtained according to the robot in the Cartesian space, and then the next tangent point of the robot in the joint space is obtained through the inverse solution of the Cartesian space coordinate system and the joint space coordinate system as a new tangent point to update the tangent point buffer, and the vector between the new tangent point and the previous tangent point is calculated to update the synthetic axis position corresponding to the new tangent point. In this embodiment, the motion state includes at least the current motion position, motion speed and acceleration of the robot.
[0111] S3: Determine and update the state and tangent point state of the third-order nonlinear discrete filter.
[0112] Continuously obtain the user's input instructions and the number of tangent points in the tangent point buffer to determine the user's input state and the tangent point state of the tangent point buffer, and obtain the input state, tangent point state, state of the third-order nonlinear discrete filter and the internal stop state of the robot, and determine whether the flag values of the input state, tangent point state, state of the third-order nonlinear discrete filter and the internal stop state of the robot are all false. If so, update the state and tangent point state of the third-order nonlinear discrete filter; otherwise, keep the input of the third-order nonlinear discrete filter.
[0113] In the specific implementation of this embodiment, the flag bits cmd_stop_flag (the flag bit of the input state, when there is no user input, its value is true, that is, 1, otherwise it is false, that is, 0) corresponding to the input state, the tangent point state, the state of the third-order nonlinear discrete filter and the internal stop state of the robot are collected respectively, and the values of hunger_flag (the flag bit of the tangent point state, when the tangent point buffer is not saturated, its value is true, that is, 1, otherwise it is false, that is, 0), staturate_flag (the flag bit of the state of the third-order nonlinear discrete filter, when the speed or acceleration of the third-order nonlinear discrete filter is saturated, its value is true, that is, 1, otherwise it is false, that is, 0), and Internal_stop_flag (the flag bit of the internal stop state of the robot, when the curvature of the robot's motion state is very large, such as when it is close to the turning point, the robot needs to stop, its value is true, that is, 1, otherwise it is false, that is, 0) are judged.
[0114] If at least one of the above four flags has a value of 1, the input of the third-order nonlinear discrete filter (i.e., the position of the third-order nonlinear discrete filter) remains unchanged. At this time, since the internal state of the third-order nonlinear discrete filter has not reached the input position, the input of the third-order nonlinear discrete filter will continue to change in each cycle (i.e., the number of steps run by the third-order nonlinear discrete filter is always greater than or equal to the number of steps the robot moves).
[0115] If the values of the above four flags are all 0, the state of the third-order nonlinear discrete filter needs to be updated (for example, the synthetic axis position of the current third-order nonlinear discrete filter input is s k , then the synthetic axis position of its input after updating is s k+1 ) and the tangent state (i.e., the flag of the tangent state. If the tangent of the tangent buffer is saturated at this time, its value remains unchanged, otherwise it is updated from 0 to 1); specifically, the state s of the third-order nonlinear discrete filter is updated, (i.e., the synthetic axis position and its first-order and second-order derivatives with respect to time), and at the same time update the state flag of the third-order nonlinear discrete filter, staturate_flag (when When the given range is exceeded, that is, when the maximum speed or the upper and lower limits of acceleration are exceeded, the value of staturate_flag is 1) and the internal state flag of the third-order nonlinear discrete filter status_stop_flag (when When it is 0 for 5 consecutive cycles or another number of cycles set by the user, the value of status_stop_flag is 1 and the third-order nonlinear discrete filter stops).
[0116] In this embodiment, when the value of at least one of the four aforementioned flags is 1, the reason for maintaining the input of the third-order nonlinear discrete filter is that the robot's joint motion has constraints (such as motion speed limit, acceleration limit, etc., corresponding to the state staturate_flag of the third-order nonlinear discrete filter), is not met or the user releases the button (corresponding to cmd_stop_flag), the robot joint reaches the turning point (corresponding to Internal_stop_flag) or the number of tangent points for constructing the motion curve in the tangent buffer is insufficient (corresponding to hunger_flag). At this time, the third-order nonlinear discrete filter is needed to maintain the current input so that the robot can slow down or stop to achieve their respective goals, that is, the corresponding constraints, stop, stop at the turning point, or wait for a new tangent point.
[0117] S4: Determine and output the joint position of the robot.
[0118] Determine whether at least one of the flag values of the state and input state of the updated third-order nonlinear discrete filter is false. If so, calculate and output the joint position of the robot according to the state and motion curve of the third-order nonlinear discrete filter. Specifically, determine whether the value of the flag bit status_stop_flag of the internal state of the third-order nonlinear discrete filter and the value of the flag bit cmd_stop_flag of the user input state are both 1. If so, end the jog control process of the robot. Otherwise, according to the state s of the third-order nonlinear discrete filter, Combined with the path point p of the robot joint calculated in step S2 s , output the robot's joint positions (i.e., p s In some other embodiments, if it is necessary to simultaneously output the joint velocity and joint acceleration of the robot joint at the path point, the first-order derivative of the path point about the synthetic axis is output simultaneously. and the second-order derivative That's it.
[0119] S5: Update the internal stop state of the robot and perform jog constraint conversion.
[0120] According to the state of the third-order nonlinear discrete filter and the joint position of the robot, the kinematic constraints of the robot's online jog are converted into the state constraints of the third-order nonlinear discrete filter and the robot's internal stop state Internal_stop_flag is updated, and then the next cycle is entered to continue online planning of the next movement of the robot's joints.
[0121] like Figure 3 As shown, step S5 includes the following sub-steps:
[0122] S501: Calculate and update the internal stop state of the robot.
[0123] First, calculate the third-order nonlinear discrete filter in the current state s, The radius of curvature r s In this embodiment, the curvature radius r s is the path point p corresponding to the synthetic axis position s The norm of the second derivative of the synthetic axis position; the radius of curvature r s It is expressed as:
[0124]
[0125] Then, the internal stop state of the robot is updated according to the curvature radius, which is specifically manifested as updating the flag bit Internal_stop_flag of the internal stop state of the robot. In this embodiment, the flag bit Internal_stop_flag of the internal stop state of the robot is updated according to the following formula:
[0126]
[0127] S502: Convert the kinematic constraints of the robot's jog process into state constraints of a third-order nonlinear discrete filter.
[0128] The kinematic constraints of the robot's online jog are converted into state constraints of the third-order nonlinear discrete filter according to the state of the third-order nonlinear discrete filter and the joint position of the robot; in this embodiment, the kinematic constraints include at least the robot's joint velocity constraints, joint acceleration constraints and / or spatial coordinate system velocity constraints.
[0129] For the joint velocity of the robot, the following formula is satisfied:
[0130]
[0131] in: is the joint velocity of the robot, is the maximum allowed joint velocity.
[0132] According to the above formula (10), the state constraint of the third-order nonlinear discrete filter corresponding to the joint velocity constraint is expressed as:
[0133]
[0134] in: is the state constraint of the third-order nonlinear discrete filter corresponding to the joint velocity constraint (i.e., the motion velocity constraint of the third-order nonlinear discrete filter, i.e., the maximum allowed motion velocity), is the maximum joint velocity allowed in the ith component, is the robot at path point p in the i-th component s The velocity of movement at , i is the i-th component of the vector of the synthetic axis position.
[0135] For the joint acceleration of the robot, it satisfies the following formula:
[0136]
[0137] in: is the joint acceleration of the robot, is the maximum allowed joint acceleration.
[0138] According to the above formula (12), the state constraint of the third-order nonlinear discrete filter corresponding to the joint acceleration constraint is expressed as:
[0139]
[0140]
[0141] in: They are the state constraints of the third-order nonlinear discrete filter corresponding to the joint acceleration constraints (i.e., the acceleration constraints of the third-order nonlinear discrete filter, i.e., the minimum and maximum accelerations allowed), is the maximum joint acceleration allowed in the ith component, is the robot at path point p in the i-th component s The speed of movement, is the robot at path point p in the i-th component s The acceleration at , i is the i-th component of the vector of the resultant axis position.
[0142] For the speed of the robot in the spatial coordinate system (the speed in the Cartesian spatial coordinate system, including linear speed and angular speed), its linear speed and angular speed satisfy the following formulas respectively:
[0143]
[0144]
[0145] Where: v, w are the linear velocity and angular velocity of the robot in the spatial coordinate system, v max ,w max are the maximum linear velocity and maximum angular velocity allowed by the robot in the spatial coordinate system, J v ,J w are the robot at the path point p s The rows of the Jacobian matrix at about linear velocity and angular velocity are, are the robot at the path point p s The transpose of the rows of the Jacobian matrix at with respect to the linear and angular velocities.
[0146] According to the above formulas (15) and (16), the state constraint of the third-order nonlinear discrete filter corresponding to the velocity constraint of the spatial coordinate system is expressed as:
[0147]
[0148] in: It is the state constraint of the third-order nonlinear discrete filter corresponding to the velocity constraint in the spatial coordinate system.
[0149] The robot online jog control method based on a third-order nonlinear discrete filter in this embodiment can convert the robot's motion constraints including joint velocity constraints, joint acceleration constraints and space coordinate system constraints into state constraints of a third-order nonlinear discrete filter by performing online tangent points on the robot's motion, constructing a smooth motion curve based on the tangent points, and performing online planning using a third-order nonlinear discrete filter. This allows the robot to quickly respond to user jog operations while processing various robot kinematic constraints, allowing the robot to continuously and smoothly pass through different singular points of the robot during jog control.
[0150] Example 2
[0151] like Figure 4 As shown, it is a flow chart of the robot online jog control method based on the third-order nonlinear discrete filter of this embodiment. This embodiment describes the robot online jog control method based on the third-order nonlinear discrete filter of this embodiment in combination with a specific application. In this embodiment, taking the robot listed in Table 1 as an example, Table 1 shows the kinematic parameters of the robot of this embodiment.
[0152] Table 1
[0153]
[0154] In Table 1, link number is the joint number of the robot, a is the length of the joint link of the robot, α is the link angle, d is the link offset, and θ is the joint angle. The maximum speed of each joint of the robot is 3.1416 rad / s, the maximum acceleration is 15.7080 rad / s / s, the maximum Cartesian linear velocity (the linear velocity of the robot in the Cartesian space coordinate system) is 0.25 m / s, and the maximum Cartesian angular velocity (the linear velocity of the robot in the Cartesian space coordinate system) is 3.1416 rad / s; the initial state s0 of the third-order nonlinear discrete filter, They are s0=0, The upper and lower limit constraints of the initial state of the third-order nonlinear discrete filter are (in: The minimum jump and maximum jump allowed for the synthetic axis position) and the sampling time of the third-order nonlinear discrete filter are 0.02s. In this embodiment, when converting the kinematic constraints of the robot into the state constraints of the third-order nonlinear discrete filter, it is only necessary to adjust Therefore, in the subsequent constraint transformation process, this embodiment only explains the constraint transformation of the aforementioned state.
[0155] like Figure 5 and Figure 6 As shown, when the user presses the "Z-" button in the Cartesian space, the input status flag cmd_stop_flag becomes 0. At this time, since the jog process has just begun, the cut-point buffer is empty, and the corresponding cut-point buffer saturation status flag hunger_flag is 1, then a new cut-point is acquired.
[0156] like Figure 7 As shown, when obtaining a new tangent point, taking the second tangent point as an example, in the Cartesian space coordinate system, the initial Cartesian space position coordinate of the robot is expressed as [0.90660.23541.2500-2.66201.570762-2.6620] T , correspondingly, its position coordinates in the joint space are [0.2880-0.05350.0548-1.5661-0.28801.5661] T , the robot joint moves along the negative direction of the Z axis at the maximum Cartesian linear velocity of 0.25m / s. After a sampling period of the nonlinear discrete filter, the distance moved by the robot joint is 0.25m / s*0.002s=0.0005m. At this time, the new Cartesian control position coordinates of the robot joint in the Cartesian space are [0.90660.23541.2495-2.66201.570762-2.6620] T, the new tangent point obtained by inverse solution is [0.2880-0.05330.0539-1.5668-0.28801.5688] T , the position increment relative to the previous tangent point (i.e. the first tangent point) is [00.0002-0.0009-0.20500.0026] T , correspondingly, its synthetic axis position increment is its second norm, that is, the synthetic axis position increment is 0.0037, so the synthetic axis position corresponding to the new tangent point is s1=s0+Δs=0+0.0037=0.0037 (where s0 and s1 are the synthetic axis positions of the first and second tangent points respectively, and Δs is the synthetic axis position increment of the second tangent point). At this time, since the number of tangent points in the tangent point buffer is 2, which is less than the preset number of 6, the corresponding tangent point buffer saturation state flag hunger_flag is still 1, and it is necessary to continue to obtain tangent points until the number of tangent points in the tangent point buffer is greater than or equal to 6.
[0157] When the number of tangent points in the tangent point buffer is sufficient for constructing a motion curve, a cubic B-spline curve is constructed according to the state of the third-order nonlinear discrete filter and the corresponding tangent points and their synthetic axis positions.
[0158] like Figure 8 As shown, taking the 300th step as an example (i.e. the 300th cycle experienced by the third-order nonlinear discrete filter), the state of the third-order nonlinear discrete filter is s=0.6984, According to the position of the state of the third-order nonlinear discrete filter (i.e., s=0.6984), it is between the 208th step and the 209th step (i.e., between the synthetic axis position of the 208th tangent point and the synthetic axis position of the 209th tangent point. It should be understood here that not every cycle of the third-order nonlinear discrete filter will generate a new tangent point. Only when the number of tangent points required to construct the cubic B-spline curve is insufficient, online tangent points will be performed. Therefore, the number of cycles experienced by the third-order nonlinear discrete filter is always greater than or equal to the number of tangent points), i.e., s 206 207 208 <s<s 209 210 211 , where s 206 ,s 207 ,s 208 ,s 209 ,s 210 ,s 211 are the synthetic axis positions corresponding to the tangent points in steps 206 to 211, and the synthetic axis positions in steps 206 to 211 are: 206 =0.6904,s 207 =0.6933,s 208 =0.6962,s 209 =0.6991,s 210 =0.7019,s 211 =0.7048, and its corresponding tangent path point is p 206 ,p 207 ,p 208 ,p 209 ,p 210 ,p 211 The cut-off values of each cut-off point are shown in Table 2.
[0159] Table 2
[0160]
[0161] According to the synthetic axis position s of steps 206 to 211 206 ,s 207 ,s 208 ,s 209 ,s 210 ,s 211 and its corresponding tangent path point p 206 ,p 207 ,p 208 ,p 209 ,p 210 ,p 211 Construct a cubic B-spline curve.
[0162] Specifically, according to the synthetic axis position s of steps 206 to 211 206 ,s 207 ,s 208 ,s 209 ,s 210 ,s 211 And the state s of the third-order nonlinear discrete filter calculates the control point coefficients. The calculation results of the control point coefficients are shown in Table 3.
[0163] Table 3
[0164]
[0165] According to the synthetic axis position s of steps 206 to 211 206 ,s 207 ,s 208 ,s 209 ,s 210 ,s 211 The corresponding path point p 206 ,p 207 ,p 208 ,p 209 ,p 210 ,p 211, respectively calculate the control points corresponding to each path point of the robot. The calculation results of the control points are shown in Table 4.
[0166] Table 4
[0167]
[0168] The path point and the first and second derivatives of the path point with respect to the synthetic axis position are calculated according to the control point coefficients and control points of the path point. The calculation results of the path point and its corresponding first and second derivatives with respect to the synthetic axis position are shown in Table 5.
[0169] Table 5
[0170]
[0171] Please refer back to Figure 5 and Figure 6 After the cubic B-spline curve is constructed, taking step 300 as an example, the value of the input state flag cmd_stop_flag is 0, the value of the state flag staturate_flag of the third-order nonlinear discrete filter is 0, the value of the robot internal stop state flag Internal_stop_flag is 0, and the tangent state flag hunger_flag is 1. Therefore, the third-order nonlinear discrete filter keeps the current input (i.e., s 259 ).
[0172] Then, the state flag staturate_flag of the third-order nonlinear discrete filter and the value of the internal state flag status_stop_flag of the third-order nonlinear discrete filter are updated. Figure 5 , Figure 6 and Figure 8 When running from step 299 to step 300, the value of the internal status flag status_stop_flag of the third-order nonlinear discrete filter is 0, and the value of the state flag staturate_flag of the third-order nonlinear discrete filter is also 0. The state of the third-order nonlinear discrete filter changes from s=0.6955, Updated to s = 0.6984,
[0173] Next, determine the updated state of the third-order nonlinear discrete filter and the flag value of the input state. Please refer to Figure 5, still taking step 300 as an example, at this time, the value of the internal state flag status_stop_flag of the third-order nonlinear discrete filter is 0, and the value of the input state flag cmd_stop_flag is 0, which does not meet the conditions for the end of the jog control process, and the joint position needs to be output. According to the state of the third-order nonlinear discrete filter at this time, s=0.6984, The output joint position can be calculated (the joint position diagram is as follows Fig. 9 As shown), the joint position is the path point calculated in Table 5, that is, p s =[0.2880-0.0280-0.1205-2.0342-0.32312.0558] T .
[0174] Finally, the robot kinematic constraints are converted into state constraints of a third-order nonlinear discrete filter, and the flag Internal_stop_flag of the robot's internal stop state is updated.
[0175] When updating the internal stop flag of the robot, at step 300, the state of the third-order nonlinear discrete filter is s=0.6984. According to the calculation results in Table 5, Therefore, the third-order nonlinear discrete filter is in the current state s, The curvature radius of thus, The value of the robot’s internal stop status flag Internal_stop_flag is 0.
[0176] When converting the robot kinematic constraints into state constraints of a third-order nonlinear discrete filter, for the constraints on joint velocity, middle, Each component in is 3.1416. According to the calculation results in Table 5, Therefore, the state constraint of the third-order nonlinear discrete filter corresponding to the joint velocity constraint is:
[0177]
[0178] For the joint acceleration constraints, middle, Each component in is 15.7080rad / s / s. According to the calculation results in Table 5, the second-order derivative of the path point with respect to the synthetic axis position is The first-order derivative of the path point position with respect to the synthetic axis is Therefore, the state constraint of the third-order nonlinear discrete filter corresponding to the joint acceleration constraint is:
[0179]
[0180]
[0181] For the Cartesian space velocity constraint, in the formula and formula In, v max =0.25, w max =3.1416, taking the 300th step as an example, the joint position p s =[0.2880 -0.0280 -0.1205 -2.0342 -0.3231 2.0558] T , whose first-order derivative with respect to the synthetic axis position is The corresponding Jacobian matrix is:
[0182]
[0183] The first three rows of the Jacobian matrix J are v , the last three lines are J w , so there is
[0184] Final Therefore, the upper and lower limits of the new state of the third-order nonlinear discrete filter are And start the next cycle accordingly.
Claims
1. A robot online jog control method based on a third-order nonlinear discrete filter, characterized in that: The following steps are involved: Monitor input commands acting on the robot in real time, and obtain the number of tangent points in a tangent point buffer when the input command is recognized; Determine whether the number of tangent points in the tangent point buffer is saturated, and if saturated, construct a motion curve according to the tangent points in the tangent point buffer and their corresponding synthetic axis positions; Continuously obtain the user's input instructions and the number of tangent points in the tangent point buffer to determine the user's input status and the tangent point status of the tangent point buffer, and obtain the input status, tangent point status, the status of the third-order nonlinear discrete filter and the internal stop status of the robot, and determine whether the flag values of the input status, tangent point status, the status of the third-order nonlinear discrete filter and the internal stop status of the robot are all false. If so, update the status of the third-order nonlinear discrete filter and the tangent point status; Determine whether at least one of the flag values of the state of the updated third-order nonlinear discrete filter and the input state is false, and if so, calculate and output the joint position of the robot according to the state of the third-order nonlinear discrete filter and the motion curve; According to the state of the third-order nonlinear discrete filter and the joint position of the robot, the kinematic constraints of the robot's online jog are converted into the state constraints of the third-order nonlinear discrete filter and the internal stop state of the robot is updated.
2. The robot online jog control method based on a third-order nonlinear discrete filter according to claim 1 is characterized in that: After the step of determining whether the number of cut points in the cut point buffer is saturated, the following steps are also included: If it is not saturated, a new tangent point is obtained and the tangent point of the tangent point buffer and the synthetic axis position corresponding to the tangent point are updated.
3. The robot online jog control method based on a third-order nonlinear discrete filter according to claim 2 is characterized in that: In the step of obtaining a new cut point and updating the number of cut points in the cut point buffer if it is not saturated, the specific method of obtaining a new cut point and updating the number of cut points in the cut point buffer is: According to the motion state of the robot in the spatial coordinate system, the next tangent point is uniformly obtained as the new tangent point to update the tangent point buffer, and the vector between the new tangent point and the previous tangent point is calculated to update the synthetic axis position corresponding to the new tangent point; wherein the motion state includes at least the current motion position, motion speed and acceleration of the robot.
4. The robot online jog control method based on a third-order nonlinear discrete filter according to claim 1 is characterized in that: In the step of constructing a motion curve according to the tangent points of the tangent point buffer, the motion curve is a cubic B-spline curve, and the specific method of constructing the cubic B-spline curve is: Get the tangent point in the tangent point buffer and its corresponding synthetic axis position, and calculate the control point coefficient of the robot's corresponding path point under the synthetic axis position; According to the path points corresponding to the synthetic axis positions of each tangent point, the control points of the robot corresponding to each path point are calculated respectively; The motion speed and acceleration of the path point and the robot at the path point are calculated according to the control point coefficient of the path point and the control point, and the motion curve of the robot is obtained by fitting.
5. The robot online jog control method based on a third-order nonlinear discrete filter according to claim 4 is characterized in that: In the step of obtaining the tangent points in the tangent point buffer and their corresponding synthetic axis positions, and calculating the control point coefficients of the robot's corresponding path points under the synthetic axis positions, the specific method of performing interpolation calculation on each synthetic axis position is: Get a preset number of continuous tangent points in the tangent point buffer and their corresponding synthetic axis positions, perform interpolation calculations on each synthetic axis position according to the preset window size based on the state of the third-order nonlinear discrete filter, and obtain the control point coefficients of the robot at the corresponding path point and the first-order derivative coefficients and second-order derivative coefficients of the control point of the robot at the path point.
6. The robot online jog control method based on a third-order nonlinear discrete filter according to claim 5 is characterized in that: In the step of respectively calculating the control points of the robot corresponding to each path point according to the path points corresponding to the synthetic axis positions of each tangent point, the specific method of calculating each control point is: According to the preset window size, the synthetic axis positions of a set of tangent points and their corresponding path points are obtained, and the control points of the robot at each path point are calculated according to each synthetic axis position and its corresponding path point. The control points are expressed as: ; ; ; ; in: The first control point, the second control point, the third control point and the fourth control point of the path points corresponding to the synthetic axis positions of each group of tangent points are obtained in the tangent point buffer according to the preset window size, They are the synthetic axis positions corresponding to the continuous tangent points in the tangent point buffer, are the path points corresponding to the positions of each synthetic axis, are the median values of the composite axis positions for each set of tangent points.
7. The robot online jog control method based on a third-order nonlinear discrete filter according to claim 6 is characterized in that: In the step of calculating the motion speed and acceleration of the path point and the robot at the path point according to the control point coefficient of the path point and the control point, and fitting the motion curve of the robot, the specific method of fitting the motion curve is: According to the first to fourth control points of the path point and the control point coefficients corresponding to each control point and the first-order derivative coefficients and the second-order derivative coefficients, the path point of the robot at the corresponding synthetic axis position and the corresponding motion speed and acceleration of the robot at the path point are calculated respectively; wherein the path point of the robot at the corresponding synthetic axis position is expressed as: ; in: is the robot's path point at the resultant axis position of the interpolation point, The first to fourth control points of the path points corresponding to the synthetic axis positions of each group of tangent points are obtained in the tangent point buffer according to the preset window size. are the coefficients of the first to fourth control points respectively; The movement speed of the robot at this path point is expressed as: ; in: For the robot at the waypoint The speed of movement, The first to fourth control points of the path points corresponding to the synthetic axis positions of each group of tangent points are obtained in the tangent point buffer according to the preset window size. are the first-order derivative coefficients of the first to fourth control points respectively; The acceleration of the robot at this path point is expressed as: ; in: For the robot at the waypoint The acceleration at The first to fourth control points of the path points corresponding to the synthetic axis positions of each group of tangent points are obtained in the tangent point buffer according to the preset window size. are the second-order derivative coefficients of the first to fourth control points respectively.
8. The robot online jog control method based on a third-order nonlinear discrete filter according to claim 1 is characterized in that: After the step of determining whether the input state, the tangent point state, the state of the third-order nonlinear discrete filter, and the flag value of the internal stop state of the robot are all false, the following steps are also included: If not, the input of the third-order nonlinear discrete filter is maintained.
9. The robot online jog control method based on a third-order nonlinear discrete filter according to claim 7, characterized in that: The step of converting the kinematic constraints of the robot's online jog into the state constraints of the third-order nonlinear discrete filter according to the state of the third-order nonlinear discrete filter and the joint positions of the robot and updating the internal stop state of the robot includes the following sub-steps: Calculating the curvature radius of the third-order nonlinear discrete filter in the current state, and updating the internal stop state of the robot according to the curvature radius; The kinematic constraints of the robot's online jog are converted into state constraints of the third-order nonlinear discrete filter according to the state of the third-order nonlinear discrete filter and the joint position of the robot; wherein the kinematic constraints include at least the robot's joint velocity constraints, joint acceleration constraints and / or space coordinate system velocity constraints.
10. The robot online jog control method based on a third-order nonlinear discrete filter according to claim 9, characterized in that: The update formula of the internal stop state of the robot is: ; in: It is the flag of the robot’s internal stop state. They are the states of the robot at the current position, speed and acceleration of the third-order nonlinear discrete filter. is the curvature radius of the third-order nonlinear discrete filter in the current state; The state constraint of the third-order nonlinear discrete filter corresponding to the joint velocity constraint is expressed as: ; in: is the state constraint of the third-order nonlinear discrete filter corresponding to the joint velocity constraint, is the joint velocity of the robot, For the The maximum joint velocity allowed in the components, For the The robot is at the path point The speed of movement, The first vector of the composite axis position Quantity, is the state of the robot at the current motion position corresponding to the third-order nonlinear discrete filter; The state constraint of the third-order nonlinear discrete filter corresponding to the joint acceleration constraint is expressed as: ; ; in: are the state constraints of the third-order nonlinear discrete filter corresponding to the joint acceleration constraints, is the joint acceleration of the robot, For the The maximum joint acceleration allowed in the components, For the The robot is at the path point The speed of movement, For the The robot is at the path point The acceleration at The first vector of the composite axis position Quantity, They are the states of the robot at the current motion position and motion speed corresponding to the third-order nonlinear discrete filter; The state constraint of the third-order nonlinear discrete filter corresponding to the velocity constraint of the spatial coordinate system is expressed as: ; in: is the state constraint of the third-order nonlinear discrete filter corresponding to the velocity constraint in the spatial coordinate system, are the linear velocity and angular velocity of the robot in the spatial coordinate system, are the maximum linear velocity and maximum angular velocity allowed by the robot in the spatial coordinate system, For the robot at the waypoint The speed of movement, The robot is at the path point The rows of the Jacobian matrix at about linear velocity and angular velocity are, The robot is at the path point The transpose of the rows of the Jacobian matrix at with respect to the linear and angular velocities.
