CN112975992B - Error-controllable robot track synchronous optimization method - Google Patents
Error-controllable robot track synchronous optimization method Download PDFInfo
- Publication number
- CN112975992B CN112975992B CN202110557131.XA CN202110557131A CN112975992B CN 112975992 B CN112975992 B CN 112975992B CN 202110557131 A CN202110557131 A CN 202110557131A CN 112975992 B CN112975992 B CN 112975992B
- Authority
- CN
- China
- Prior art keywords
- dimensional
- track
- points
- linear
- transition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1628—Programme controls characterised by the control loop
- B25J9/163—Programme controls characterised by the control loop learning, adaptive, model based, rule based expert control
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1656—Programme controls characterised by programming, planning systems for manipulators
- B25J9/1664—Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
- G05D1/10—Simultaneous control of position or course in three dimensions
Abstract
The invention provides a robot track synchronous optimization method with controllable errors, which adopts multidimensional track points to represent various robot tracks, establishes a unified operation rule and a multidimensional curve of the multidimensional track points based on the definition of the multidimensional track points, realizes the high-continuity synchronous optimization of the robot tracks, and realizes the high-precision interpolation of various types of robot tracks based on a geometric iteration method.
Description
Technical Field
The invention belongs to the field of track optimization of industrial robots, and particularly relates to a robot track synchronous optimization method with controllable errors.
Background
The low precision of the trajectory execution and the problem of vibrations during execution are the major problems facing current industrial robots. Compared with a multi-axis machine tool, the industrial robot has the advantages of compact structure and high flexibility, and is suitable for three-dimensional complex application. However, the industrial robot is an open-loop system, the stability is poor, and an online control system is not mature in a multi-axis machine tool. With diversification and complication of the operation modes of the industrial robot, ensuring precision and reducing vibration are one of the main targets of the current industrial robot.
The industrial robot motion command mainly comprises a linear motion command and an arc motion command. The motion trajectories represented by straight line segments and circular arcs have only G0 continuity at the junction. In the robot operation process, the speed must be reduced in order to accurately reach a given track point, so that the operation efficiency is greatly reduced; in addition, speed and acceleration discontinuities may cause vibrations when the robot is in motion, thereby accelerating machine wear and affecting trajectory accuracy. The track smoothing technology can improve the continuity of the track of the robot and has important significance for solving the vibration problem and improving the precision.
However, a track smoothing method which can satisfy both continuity and guarantee accuracy is lacked in the current robot control system. Most of the existing robot controllers integrate local corner transition algorithms, but the smoothing algorithms have the following problems in practical application: (1) the transition error cannot be controlled, or only the transition error of the position track can be controlled; (2) the positions and the postures are not synchronized smoothly; (3) the geometry of the smooth trajectory is determined by the controller and cannot be directly controlled by the user. The invention patent with the application number of CN201911300865.9 provides a pose-synchronous six-axis industrial robot track smoothing method, wherein a circular arc curve is adopted for position track transition, and a quaternion B spline is adopted for posture transition, but the transition method can only meet the requirement of G1 continuous robot track transition, and target track points cannot be interpolated.
In addition, the KUKA robot and the Motoman robot provide local spline interpolation instructions, the generated spline track can interpolate a target track point, but the shape of the interpolation spline is determined by the inside of the controller and cannot be controlled by a user, and therefore the smooth track has an uncontrollable chord height difference between the two track points.
Based on the problems, the invention provides an error-controllable local interpolation optimization algorithm, the method can realize the geometric synchronous interpolation of position points and attitude points, the method has multi-track applicability, the smooth track has good shape, linear tracks can be interpolated, and the chord height error between the linear tracks is controllable.
Disclosure of Invention
Aiming at the problems in the prior art, the invention constructs a multi-dimensional optimization track meeting the interpolation precision, the chord height difference constraint, the shape-preserving constraint and the symmetrical constraint, the optimization track is obtained by performing corner transition on a virtual linear track, and the core of the algorithm is to construct the virtual linear track by adopting a geometric iteration method and calculate a transition parameter meeting the constraints.
A robot track synchronous optimization method with controllable errors is characterized by comprising the following steps:
a series of robot linear track points are expressed asWhereinFor multi-dimensional tracing points, traverseBased on convex combinationsThe transition trajectory at a point is represented as:
whereinIs a parameter of the curve that is,,the addition, the number multiplication and the subtraction in the formula all represent the multidimensional operation of the multidimensional track points,andthe method is characterized in that the method is a basic function of a transition curve, and the specific representation of the basic function is obtained by derivation according to the type of the transition curve and continuity conditions;
step 4.1: construct the first iteration (number of iterations)) The initial virtual linear trajectory and the transition parameters, wherein the initial virtual linear trajectoryLinear locus with inputSame, transition parameterAndaccording to a threshold value of chord height differenceConformal constrained upper boundAnd calculating the position track symmetry constraint, wherein the calculation method is to solve the following linear optimization problem:
whereinAn arithmetic function representing the three-dimensional distance between two location points, i.e.Refers to two position pointsAndthe three-dimensional distance between the two electrodes,refers to two position pointsAndthe three-dimensional distance therebetween;
step (ii) of4.2: calculating a transition curveAnd the target pointA pose error of, the error passingAnd the target pointError assessment of (2), wherein,And the target pointThe error between them adopts multidimensional distanceCalculating, judging the position error of the current calculationAnd attitude errorWhether the input position interpolation error threshold is satisfiedAnd attitude interpolation error thresholdIf the input track is a three-dimensional linear track, the attitude error does not need to be judgedAnd isThen give an order,,Go to step 4.5, otherwise go to step 4.3.
Step 4.3: calculating the adjustment vector and step length of the virtual linear track according to the target point errorThe new virtual linear trajectory is:whereinIn order to be the step size,to adjust the vector, the head and tail target points are not adjusted, i.e.:the step size of each iteration is related to the selection method of the adjustment vector;
the adjustment vector is determined by two methods: method 1 is a weighted iterative method of variable coefficients: the geometrical meaning of the method is as follows: to the firstAn iteration pointWhen making adjustments, only the current point is consideredAnd the locus point to be interpolatedError vector between:(ii) a The method 2 is a least square iterative method with variable coefficients, and the geometric meaning of the method is as follows: to the firstAn iteration pointWhen adjusting, not only the current point and the track point to be interpolated are consideredThe error vector between the two points is also considered; the adjustment vector is calculated as follows:in the above-mentioned formula, the above formula,in order to adjust the set of vectors,,
estimating the range of the step size according to the adjustment vector: let a certain matrix beFor method 1:(ii) a For method 2:step length ofThe value range is as follows:whereinIs a matrixMaximum eigenvalue of (2), special, preferableTaking the value as the step length, and turning to the step 4.4 after the adjustment vector is calculated;
step 4.4: calculating a virtual linear track and a transition parameter according to the adjustment vector, wherein the calculation formula of the virtual linear track is as follows:transition parameterAndis calculated similarly to step 4.1, except that the chordal height difference threshold is setConformal constrained upper boundAnd position track symmetric constraint, and convergence constraint of an iterative algorithm also needs to be considered, and the calculation method is to solve the following linear optimization problem:
the meaning of the target function is target point position interpolation, the first two constraint conditions are chord height difference constraint and shape-preserving constraint, the third constraint condition is symmetry constraint, the last two constraint conditions are convergence constraint of position and posture respectively, the optimization problem is a secondary optimization problem with constraint, and the optimization problem can be solved easily to meet the conditionsAndafter the calculation is finished, the step 4.2 is switched;
step 4.5: from virtual linear trajectoriesAnd transition parameters,Structure of the deviceOptimized trajectories at points:
Wherein the basis functionsAndand,is related to the value of (1), particularly to the type of the selected transition curve, and traverses all target points except the head and the tailAnd optimizing the track, wherein the final optimized track consists of a linear part and a transition curve part.
In the step 1, the multi-dimensional track points are represented by unified parameters, and the multi-dimensional track points comprise a three-dimensional position track, a pose track of a SCARA (selective Compliance Robot arm) Robot and a pose track of a six-joint Robot, and have the following forms:
whereinA three-dimensional location point is represented,indicating the position and attitude of the SCARA robot,the rotating shaft of the posture of the SCARA robot is fixed, only the rotating angle is a variable,representing the position and attitude points of a six-joint robot,is a quaternion representation of the pose of the six-joint robot.
When in useWhen the temperature of the water is higher than the set temperature,refers to two position pointsAndthe three-dimensional distance therebetween; when in useOrThe multi-dimensional distance includes a three-dimensional position distanceAngle distance from postureWhereinRepresenting the absolute value of the difference of the two rotation angles,representing a number of elements fromGesture of representation is rotated toThe angle by which the represented gesture is rotated.
The multidimensional addition in the step 2 is a combination of three-dimensional linear space position addition and three-dimensional rotation space attitude addition, and the form is as follows whenThe addition operation in time coincides with the addition in the linear space,the time-dependent addition operation consists of addition in a linear space and quaternion multiplication in a three-dimensional rotation space:
whereinRepresenting quaternionAndis multiplied by,Multiplication of quaternions is represented as:wherein s is a one-dimensional variable,is a three-dimensional vector.
In step 2, the multidimensional multiplication is a multiplication operation of a multidimensional vector and a constant, and is a combination of position multiplication and attitude multiplication, and is expressed as the following formula:
when in useThe number multiplication operation in time is consistent with the number multiplication in the linear space,the time-dependent number multiplication operation consists of number multiplication in a linear space and exponential operation in an attitude space,representing quaternionM is a constant for multiplication of numbers.
In the step 2, the multidimensional subtraction adopts multidimensional addition and multidimensional multiplication to represent:
in the step 2, moreThe dimension segment is obtained by combining linear interpolation of linear space and spherical linear interpolation (SLERP) of rotation space (attitude), and is setTwo multi-dimensional tracing points, a multi-dimensional line segment between two pointsCan be represented by the following formula:
the addition, the number multiplication and the subtraction in the formula all represent the multi-dimensional operation of the multi-dimensional track points.
The multidimensional B-spline curve in the step 2 is obtained by combining a B-spline curve of a linear space and a quaternion B-spline curve of a rotation space (attitude), and is specifically defined as follows: given control vertexVector of nodesNumber of timesMultidimensional B-spline curveCan be expressed as:
wherein:for the cumulative B-spline basis function, the cumulative B-spline basis function is transformed from a common B-spline basis function, wherein the common B-spline basis functionExpressed as:
the cumulative B-spline basis function is represented as follows:
step 4.5 when using successive pairs of B-splines G2Transition, the distribution of the control points of the multidimensional B-spline curve and the specific form of the basis function are as follows,
in the formulaIs the 5 control points of the B-spline,in order to be the starting point of the transition,in order to be the end point of the transition,for the basis function of cubic B-spline with 5 control points, takeAccording toCalculate outAccording toCalculate outFurther, 5 control points are calculated; traverse all target points except head and tailOptimizing the track, wherein the final optimized track consists of a linear part and a transition curve part, and in the above case, the final optimized track is the linear partPart of a curveLinear partPart of a curveUp to the curved partLinear partThe composition has G2 continuity between the linear locus and the optimization curve.
The invention has the following advantages:
1. the error-controllable robot track synchronous optimization method can realize high-precision interpolation of positions and postures, the smooth track has a good shape, linear tracks can be interpolated, and the chord height error between the linear tracks is controllable;
2. the robot track optimization method provided by the invention can realize high-continuity smooth track with synchronous position and attitude geometric parameters; the algorithm has high calculation efficiency and stable numerical calculation;
3. the invention has the advantages that the prominent multidimensional track points and the operation method thereof have multi-track applicability: the method can be simultaneously suitable for the geometric smoothness of the three-dimensional position track, the SCARA robot pose track and the six-joint robot pose track; a unified computing framework is established, any transition curve format and any continuity requirement can be covered, and expansion and customization can be easily realized for different conditions.
Drawings
FIG. 1 is a schematic diagram of a six-joint robot position trajectory transition;
FIG. 2 is a schematic diagram of a six-joint robot pose trajectory transition;
FIG. 3 is a comparison graph before and after the trajectory optimization proposed by the present invention;
fig. 4 is a flowchart of a trajectory optimization algorithm proposed by the present invention.
Detailed Description
The technical scheme of the invention is further specifically described by the following embodiments and the accompanying drawings.
The method can realize geometric synchronous transition or interpolation optimization of a plurality of robot pose (position and attitude) tracks, and the optimized position and attitude simultaneously meet high continuity and controllable errors. The invention mainly comprises the following two parts:
(1) defining a corner transition algorithm of a multi-dimensional track point and a multi-dimensional robot track: the multi-dimensional track points adopt unified parameters to represent three-dimensional position tracks, pose tracks of the SCARA robot and pose tracks of the six-joint robot, and the form of the multi-dimensional track points is as follows:
whereinA three-dimensional location point is represented,indicating the position and attitude of the SCARA robot,the rotating shaft of the posture of the SCARA robot is fixed, only the rotating angle is a variable,representing the position and attitude points of a six-joint robot,is a quaternion representation of the pose of the six-joint robot.
The operation of the multi-dimensional track points mainly comprises multi-dimensional distance, multi-dimensional addition, multi-dimensional number multiplication and multi-dimensional subtraction.
The multidimensional distance refers to the abstract distance between two multidimensional track points and is setDefining a multidimensional distance operation:
When in useWhen the temperature of the water is higher than the set temperature,refers to two position pointsAndthe three-dimensional distance therebetween; when in useOrThe multi-dimensional distance includes a three-dimensional position distanceAngle distance from postureWhereinRepresenting the absolute value of the difference of the two rotation angles,representing a number of elements fromGesture of representation is rotated toThe angle by which the represented gesture is rotated.
The multidimensional addition method of the multidimensional track point is the combination of the three-dimensional linear space position addition method and the three-dimensional rotation space attitude addition method, and the form is as follows whenThe addition operation in time coincides with the addition in the linear space,time-of-flight addition operation by lineThe addition of the sexual space and the quaternion multiplication of the three-dimensional rotation space comprise:
whereinRepresenting quaternionAndis multiplied by,Multiplication of quaternions is represented as:wherein s is a one-dimensional variable,is a three-dimensional vector.
The number multiplication of the multi-dimensional tracing points is expressed as the following formula whenThe number multiplication operation in time is consistent with the number multiplication in the linear space,the time-dependent number multiplication operation consists of number multiplication in a linear space and exponential operation in an attitude space:
Multidimensional subtraction can be represented by multidimensional addition and multidimensional multiplication:。
based on the multi-dimensional operation, a multi-dimensional line segment and a multi-dimensional B spline curve can be established, wherein the multi-dimensional line segment is obtained by combining linear interpolation of a linear space and spherical linear interpolation (SLERP) of a rotation space (posture), and the multi-dimensional line segment is setTwo multi-dimensional tracing points, a multi-dimensional line segment between two pointsCan be represented by the following formula:
the multidimensional B-spline curve is obtained by combining a B-spline curve of a linear space and a quaternion B-spline curve of a rotation space (attitude), and is specifically defined as follows: given control vertexVector of nodesNumber of timesMultidimensional B-spline curveCan be expressed as:
wherein:for the cumulative B-spline basis function, the cumulative B-spline basis function is transformed from a common B-spline basis function, wherein the common B-spline basis functionExpressed as:
the cumulative B-spline basis function can be expressed as follows:
based on the definition and multi-dimensional operation of multi-dimensional track points, the invention provides a pose synchronization transition method for describing multi-dimensional robot tracks based on convex combination, and a series of target points of linear tracks of the robot are expressed asGo throughBased on the description of the convex combinations, inThe transition trajectory at a point may be represented as:
addition, multiplication and subtraction in the formulaThe method represents multi-dimensional operation of multi-dimensional track points, whereinAndthe basis functions, called transition curves, the specific representation of which is derived from the type of transition curve used and the continuity conditions.
Two transition curve and basis function representations are presented next.
The first is G1 continuous corner transition, the transition track adopts cubic Bezier curve of 4 control points, and the node vector isThe control points and basis functions are represented by the following formula, whereinLocated on a multi-dimensional line segmentIn the above-mentioned manner,located on a multi-dimensional line segmentIn the above-mentioned manner,andandsuperposing:
、、、the number of the multi-dimensional control points is 4,,for a cubic B-spline basis function with four control points,two proportional parameters.
The second is G2 continuous corner transition, the transition track adopts a cubic B-spline curve with 5 control points, and the node vector isThe control points and basis functions are represented by the following formula, wherein,Located on a multi-dimensional line segmentIn the above-mentioned manner,located on a multi-dimensional line segmentIn the above-mentioned manner,andand (4) overlapping.
Wherein、、、The number of the multi-dimensional control points is 5,is the basis function of a cubic B-spline with 5 control points,two proportional parameters.
Fig. 1 and 2 are schematic diagrams of corner transitions of position and attitude, respectively, using three B-spline of 5 control points. The dotted line locus in fig. 1 is a line of a three-dimensional linear spaceLinear interpolation line segment (black dot)Representing a location point), a triangle pointAnd 5 control points for three-dimensional position optimization are shown, and the solid line track is a smooth curve after the position track is optimized. The dotted trace in fig. 2 is a spherical linear interpolation of the three-dimensional rotation space (black dots)Representing pose points), triangle pointsAnd 5 control points for three-dimensional attitude optimization are represented, and the solid line track is a smooth curve after the attitude track is optimized.
(2) A pose synchronization high-precision interpolation optimization method for a multi-dimensional robot linear track. The method aims to construct a multi-dimensional optimization track meeting interpolation precision, chord height difference constraint, shape-preserving constraint and symmetrical constraint, the optimization track is obtained by performing corner transition on a virtual linear track, and the core of the algorithm is to construct the virtual linear track by adopting a geometric iteration method and calculate transition parameters meeting the constraints.
First, the symbols to be used hereinafter will be explained. As shown in fig. 3, the solid line has a dot traceA triangular dotted line track is a linear track of the multi-dimensional robot before optimizationFor the virtual linear trajectory to be solved,andis to be asked forTransition parameters of the solution, wherein,A transition curve constructed for the virtual linear trajectory to be solved and the transition parameters,is a transition trackThe parameter mid-points of (c):。
as shown in fig. 4, the pose synchronization high-precision interpolation optimization method of the multi-dimensional robot linear track includes the following specific steps:
step 4.1: construct the first iteration (number of iterations)) Virtual linear trajectory ofAnd transition parametersAndwherein the initial virtual linear trajectoryLinear locus with inputSame, transition parameterAndaccording to a threshold value of chord height differenceConformal constrained upper boundAnd calculating the position track symmetry constraint, wherein the calculation method is to solve the following linear optimization problem:
wherein in the first two inequalities, the first term describes the chord height difference constraint and the second term describes the shape-preserving constraint, whereinIn relation to a specific basis function, in the first transition type described above,in the second typeWhereinThe linear part between the two transition curves accounts for the whole line segment.
Step 4.2: calculating a transition curveAnd the target pointThe position and attitude error of (1) can directly pass through the parameter midpoint according to the symmetry of the transition curveAnd the target pointWherein:
and the target pointThe error between can adopt multidimensional distanceCalculation of multidimensional distance by position errorAnd attitude errorComposition, judging whether two errors meet the input position interpolation error threshold valueAnd attitude interpolation error thresholdTo make a judgment onAnd isWhen the input track is a three-dimensional linear track, the attitude error does not need to be judged, if the two errors meet the condition, the current transition track can interpolate a target track point, the circulation can be stopped, and the three-dimensional linear track is made to have a smooth transition track,,Go to step 4.5, otherwise go to step 4.3.
Step 4.3: calculating the adjustment vector and step length of the virtual linear track according to the target point errorThe new virtual linear trajectory is:whereinIn order to be the step size,to adjust the vector. The head and tail target points are not adjusted, namely:. The step size of each iteration is related to the selection method of the adjustment vector.
The invention provides two methods for determining an adjustment vector: the first method is called a weighted iteration method of variable coefficients, and the geometrical meaning of the method is as follows: to the firstAn iteration pointWhen adjusting, only the current point and the track point to be interpolated are consideredError vector between:the second method for taking the adjustment vector is named as a least square iterative method of variable coefficients, and the geometric meaning of the method is as follows: to the firstAn iteration pointWhen adjusting, not only the current point and the track point to be interpolated are consideredThe error vector between the two points is also considered, and the adjustment vector is calculated as follows:in the above-mentioned formula, the above formula,in order to adjust the set of vectors,,
the range of step sizes is then estimated. Let a certain matrix beFor method 1:(ii) a For method 2:. Step sizeThe value range is as follows:whereinIs a matrixThe maximum eigenvalue of (c). Specially, preferablyAnd (4) taking the value of the step length, and turning to the step 4.4 after the adjustment vector is calculated.
Step 4.4: calculating a virtual linear track and a transition parameter according to the adjustment vector, wherein the calculation method of the virtual linear track comprises the following steps:transition parameterAndis calculated similarly to step 1, except that the chordal height difference threshold is setConformal constrained upper boundAnd position track symmetric constraint, and convergence constraint of an iterative algorithm also needs to be considered, and the calculation method is to solve the following linear optimization problem:
the meaning of the target function is the interpolation of the position of a target point, the first two constraint conditions are chordal height difference constraint and shape-preserving constraint, the third constraint condition is symmetry constraint, and the last two constraint conditions are convergence constraint of the position and the posture respectively. The optimization problem is a secondary optimization problem with constraint, and can be solved easily to meet the conditionsAnd. And 4.2, after the virtual linear track and the transition parameters of the iteration are calculated, turning to the step.
Step 4.5: from virtual linear trajectoriesAnd transition parameters,Structure of the deviceOptimized trajectories at points:
Wherein the basis functionsAndand,the values of (a) are related to the selected transition curve type, and reference may be made to the two transition curve types described above. Traverse all target points except head and tailOptimizing the track, wherein the final optimized track consists of a linear part and a transition curve part, and in the above case, the final optimized track is the linear partPart of a curveLinear partPart of a curveUp to the curved partLinear partThe composition has G2 continuity between the linear locus and the optimization curve.
The protective scope of the present invention is not limited to the above-described embodiments, and it is apparent that various modifications and variations can be made to the present invention by those skilled in the art without departing from the scope and spirit of the present invention. It is intended that the present invention cover the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.
Claims (10)
1. An error-controllable robot track synchronous optimization method is characterized by comprising the following steps:
step 1, representing the positions and the gesture tracks of various robots by defining multi-dimensional track points, wherein the multi-dimensional track points can simultaneously represent three-dimensional position tracks, pose tracks of an SCARA robot and pose tracks of a six-joint robot;
step 2, based on the definition of the multi-dimensional track points, establishing a unified operation rule and a multi-dimensional curve of the multi-dimensional track points, wherein the multi-dimensional operation of the multi-dimensional track points comprises a multi-dimensional distance, a multi-dimensional addition method, a multi-dimensional number multiplication and a multi-dimensional subtraction method, and the multi-dimensional curve comprises a multi-dimensional line segment and a multi-dimensional B-spline curve;
step 3, establishing a high continuous synchronous transition method of the robot track based on convex combination representation based on multi-dimensional track points and multi-dimensional operation, wherein the synchronous transition adopts an arc, a parabola or a B spline curve as a transition curve, and the difference of different transition types is only based on the difference of a basis function;
a series of robot linear track points are expressed asWhereinFor multi-dimensional tracing points, traverseBased on convex combinationsThe transition trajectory at a point is represented as:
whereinIs a parameter of the curve that is,,the addition, the number multiplication and the subtraction in the formula all represent the multidimensional operation of the multidimensional track points,andthe method is characterized in that the method is a basic function of a transition curve, and the specific representation of the basic function is obtained by derivation according to the type of the transition curve and continuity conditions;
step 4, establishing a pose synchronization high-precision interpolation optimization method of the multi-dimensional robot linear track:
is provided withIn order to optimize the linear track of the multi-dimensional robot,multi-dimensional linear tracing points before representation optimizationIs indexed byThe upper bound of (a) is,for the virtual linear trajectory to be solved,andfor the transition parameters to be solved, wherein,For the optimized curve to be solved,is a transition trackThe parameter mid-points of (c):
wherein、、Respectively representA first, aIs first and secondVirtual linear track points to be solved;
step 4.1: number of construction iterationsVirtual linear trajectory and transition parameters of a first iteration corresponding in timeWherein the initial virtual linear trajectoryLinear locus with inputSame, transition parameterAndaccording to a threshold value of chord height differenceConformal constrained upper boundAnd calculating the position track symmetry constraint, wherein the calculation method is to solve the following linear optimization problem:
whereinAn arithmetic function representing the three-dimensional distance between two location points, i.e.Refers to two position pointsAndthe three-dimensional distance between the two electrodes,refers to two position pointsAndthe three-dimensional distance therebetween;
step 4.2: calculating a transition curveAnd the target pointA pose error of, the error passingAnd the target pointError assessment of (2), wherein,And the target pointThe error between them adopts multidimensional distanceCalculating, judging the position error of the current calculationAnd attitude errorWhether the input position interpolation error threshold is satisfiedAnd attitude interpolation error thresholdIf the input track is a three-dimensional linear track, the attitude error does not need to be judgedAnd isThen give an order,,Turning to step 4.5, otherwise, turning to step 4.3;
step 4.3: calculating the adjustment vector and step length of the virtual linear track according to the target point errorThe new virtual linear trajectory is:whereinIn order to be the step size,to adjust the vector, the head and tail target points are not adjusted, i.e.:;
estimating the range of the step size according to the adjustment vector: let a certain matrix beStep length ofThe value range is as follows:whereinIs a matrixAfter the adjustment vector is calculated, the step 4.4 is carried out;
step 4.4: computing a virtual from the adjustment vectorLinear track and transition parameter, the calculation formula of virtual linear track is:transition parameterAndcalculation of, except for a chordal height difference thresholdConformal constrained upper boundAnd position trajectory symmetric constraint, and convergence constraint of an iterative algorithm also need to be considered, specifically solving the following linear optimization problem:
the meaning of the target function is target point position interpolation, the first two constraint conditions are chord height difference constraint and shape-preserving constraint, the third constraint condition is symmetry constraint, the last two constraint conditions are convergence constraint of position and posture respectively, the optimization problem is a secondary optimization problem with constraint, and the optimization problem can be solved easily to meet the conditionsAndafter the calculation is finished, the step 4.2 is switched;
step 4.5: from virtual linear trajectoriesAnd transition parameters,Structure of the deviceOptimized trajectories at points:
2. The method for the synchronous optimization of the trajectory of the robot with controllable errors as claimed in claim 1, wherein: in the step 1, the multi-dimensional track points are represented by unified parameters, and the multi-dimensional track points are in the following forms:
whereinA three-dimensional location point is represented,indicating the position and attitude of the SCARA robot,the rotating shaft of the posture of the SCARA robot is fixed, only the rotating angle is a variable,representing the position and attitude points of a six-joint robot,is a quaternion representation of the pose of the six-joint robot.
3. The method for the synchronous optimization of the trajectory of the robot with controllable errors as claimed in claim 1, wherein: step 2, the multi-dimensional distance refers to an abstract distance between two multi-dimensional track points, and is setDefining a multidimensional distance operation:
When in useWhen the temperature of the water is higher than the set temperature,refers to two position pointsAndthe three-dimensional distance therebetween; when in useOrThe multi-dimensional distance includes a three-dimensional position distanceAngle distance from postureWhereinRepresenting the absolute value of the difference of the two rotation angles,representing a number of elements fromGesture of representation is rotated toPosture of the representationThe angle of rotation.
4. The method for the synchronous optimization of the trajectory of the robot with controllable errors as claimed in claim 1, wherein: the multidimensional addition in the step 2 is a combination of three-dimensional linear space position addition and three-dimensional rotation space attitude addition, and the form is as follows whenThe addition operation in time coincides with the addition in the linear space,the time-dependent addition operation consists of addition in a linear space and quaternion multiplication in a three-dimensional rotation space:
5. The method for the synchronous optimization of the trajectory of the robot with controllable errors as claimed in claim 1, wherein: in step 2, the multidimensional multiplication is a multiplication operation of a multidimensional vector and a constant, and is a combination of position multiplication and attitude multiplication, and is expressed as the following formula:
when in useThe number multiplication operation in time is consistent with the number multiplication in the linear space,the time-dependent number multiplication operation consists of number multiplication in a linear space and exponential operation in an attitude space,representing quaternionM is a constant for multiplication of numbers.
7. the method for the synchronous optimization of the trajectory of the robot with controllable errors as claimed in claim 1, wherein: the multi-dimensional line segment in the step 2Is obtained by combining linear interpolation of linear space and spherical linear interpolation of rotation spaceTwo multi-dimensional tracing points, a multi-dimensional line segment between two pointsRepresented by the formula:
the addition, the number multiplication and the subtraction in the formula all represent the multi-dimensional operation of the multi-dimensional track points.
8. The method for the synchronous optimization of the trajectory of the robot with controllable errors as claimed in claim 1, wherein: the multidimensional B-spline curve in the step 2 is obtained by combining a B-spline curve in a linear space and a quaternion B-spline curve in a rotation space, and is specifically defined as follows: given control vertexVector of nodesNumber of timesMultidimensional B-spline curveExpressed as:
wherein:for the cumulative B-spline basis function, the cumulative B-spline basis function is transformed from a common B-spline basis function, wherein the common B-spline basis functionExpressed as:
the cumulative B-spline basis function is represented as follows:
9. the method for the synchronous optimization of the trajectory of the robot with controllable errors as claimed in claim 1, wherein: the determination method of the adjustment vector in step 4.3 includes two methods: method 1 is a weighted iterative method of variable coefficients: the geometrical meaning of the method is as follows: to the firstAn iteration pointWhen adjusting, only the current point and the track point to be interpolated are consideredError vector between:(ii) a The method 2 is a least square iterative method with variable coefficients, and the geometric meaning of the method is as follows: to the firstAn iteration pointWhen adjusting, not only the current point and the track point to be interpolated are consideredThe error vector between the two points is also considered; estimating the range of the step size according to the adjustment vector: let a certain matrix beFor method 1:(ii) a For method 2:(ii) a Step sizeThe value range is as follows:whereinIs a matrixThe maximum eigenvalue of (c).
10. The method for the synchronous optimization of the trajectory of the robot with controllable errors as claimed in claim 1, wherein: step 4.5 when using successive pairs of B-splines G2Transition, the distribution of the control points of the multidimensional B-spline curve and the specific form of the basis function are as follows,
in the formulaIs the 5 control points of the B-spline,in order to be the starting point of the transition,in order to be the end point of the transition,for the basis function of cubic B-spline with 5 control points, takeAccording toCalculate outAccording toCalculate outFurther, 5 control points are calculated; traverse all target points except head and tailPerforming track optimization, and finallyThe optimized track consists of a linear part and a transitional curve part, and the final optimized track is the linear partPart of a curveLinear partPart of a curveUp to the curved partLinear partThe composition has G2 continuity between the linear locus and the optimization curve.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110557131.XA CN112975992B (en) | 2021-05-21 | 2021-05-21 | Error-controllable robot track synchronous optimization method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110557131.XA CN112975992B (en) | 2021-05-21 | 2021-05-21 | Error-controllable robot track synchronous optimization method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112975992A CN112975992A (en) | 2021-06-18 |
CN112975992B true CN112975992B (en) | 2021-08-13 |
Family
ID=76337115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110557131.XA Active CN112975992B (en) | 2021-05-21 | 2021-05-21 | Error-controllable robot track synchronous optimization method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112975992B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114714351B (en) * | 2022-04-06 | 2023-06-23 | 上海工程技术大学 | Anti-saturation target tracking control method and control system for mobile mechanical arm |
CN115202293B (en) * | 2022-07-15 | 2023-04-28 | 武汉瀚迈科技有限公司 | Two-section type speed planning method for industrial robot |
CN116909154B (en) * | 2023-09-13 | 2023-12-08 | 武汉瀚迈科技有限公司 | Robot track optimization method for feedforward compensation through feature table lookup |
CN117315198B (en) * | 2023-10-09 | 2024-04-16 | 中微智创(北京)软件技术有限公司 | Smooth optimization method and system for smooth fine adjustment of moving target track corner |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0795804A4 (en) * | 1995-08-31 | 2001-03-28 | Fanuc Ltd | Curve interpolation method for carrying out speed control operation when robot makes connecting action |
JP2014208400A (en) * | 2014-06-10 | 2014-11-06 | 株式会社デンソーウェーブ | Robot controller and robot attitude interpolation method |
CN106826829A (en) * | 2017-02-22 | 2017-06-13 | 武汉工程大学 | A kind of industrial robot fairing trace generator method of Controllable Error |
CN109571473A (en) * | 2018-12-03 | 2019-04-05 | 武汉工程大学 | A kind of small line segment track method for fairing that error is controllable |
CN109664303A (en) * | 2019-02-28 | 2019-04-23 | 武汉工程大学 | A kind of four smooth orbit generation methods of shaft industrial robot B-spline transition type that error is controllable |
CN109676613A (en) * | 2019-02-28 | 2019-04-26 | 武汉工程大学 | A kind of four smooth orbit generation methods of shaft industrial robot circular arc transition type that error is controllable |
CN110308699A (en) * | 2019-04-28 | 2019-10-08 | 威海印刷机械有限公司 | A kind of method for planning track |
CN110900612A (en) * | 2019-12-17 | 2020-03-24 | 东莞市三姆森光电科技有限公司 | Pose-synchronous six-axis industrial robot track smoothing method |
-
2021
- 2021-05-21 CN CN202110557131.XA patent/CN112975992B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0795804A4 (en) * | 1995-08-31 | 2001-03-28 | Fanuc Ltd | Curve interpolation method for carrying out speed control operation when robot makes connecting action |
JP2014208400A (en) * | 2014-06-10 | 2014-11-06 | 株式会社デンソーウェーブ | Robot controller and robot attitude interpolation method |
CN106826829A (en) * | 2017-02-22 | 2017-06-13 | 武汉工程大学 | A kind of industrial robot fairing trace generator method of Controllable Error |
CN109571473A (en) * | 2018-12-03 | 2019-04-05 | 武汉工程大学 | A kind of small line segment track method for fairing that error is controllable |
CN109664303A (en) * | 2019-02-28 | 2019-04-23 | 武汉工程大学 | A kind of four smooth orbit generation methods of shaft industrial robot B-spline transition type that error is controllable |
CN109676613A (en) * | 2019-02-28 | 2019-04-26 | 武汉工程大学 | A kind of four smooth orbit generation methods of shaft industrial robot circular arc transition type that error is controllable |
CN110308699A (en) * | 2019-04-28 | 2019-10-08 | 威海印刷机械有限公司 | A kind of method for planning track |
CN110900612A (en) * | 2019-12-17 | 2020-03-24 | 东莞市三姆森光电科技有限公司 | Pose-synchronous six-axis industrial robot track smoothing method |
Also Published As
Publication number | Publication date |
---|---|
CN112975992A (en) | 2021-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112975992B (en) | Error-controllable robot track synchronous optimization method | |
CN109571473B (en) | Error-controllable small line segment trajectory fairing method | |
CN109664303B (en) | Error-controllable B-spline transition type smooth trajectory generation method for four-axis industrial robot | |
CN107263484B (en) | Robot joint space point-to-point motion trajectory planning method | |
CN111791236B (en) | Industrial robot Cartesian space trajectory transition method | |
CN106647282B (en) | Six-degree-of-freedom robot trajectory planning method considering tail end motion error | |
CN110900612B (en) | Pose-synchronous six-axis industrial robot track smoothing method | |
CN109343345B (en) | Mechanical arm polynomial interpolation track planning method based on QPSO algorithm | |
Liu et al. | Development and implementation of a NURBS interpolator with smooth feedrate scheduling for CNC machine tools | |
CN108568817B (en) | Delta robot track connection control method based on Bezier curve | |
Zhang et al. | Curve fitting and optimal interpolation on CNC machines based on quadratic B-splines | |
CN105500354A (en) | Transitional track planning method applied by industrial robot | |
Du et al. | An error-bounded B-spline curve approximation scheme using dominant points for CNC interpolation of micro-line toolpath | |
He et al. | A tolerance constrained G2 continuous path smoothing and interpolation method for industrial SCARA robots | |
CN109676613B (en) | Error-controllable arc transition type smooth track generation method for four-axis industrial robot | |
CN111283683B (en) | Servo tracking accelerated convergence method for robot visual feature planning track | |
CN111633668B (en) | Motion control method for robot to process three-dimensional free-form surface | |
CN113103240B (en) | Method, device and system for realizing C2 continuous robot trajectory planning | |
CN111515954B (en) | Method for generating high-quality motion path of mechanical arm | |
Li et al. | A novel cartesian trajectory planning method by using triple nurbs curves for industrial robots | |
CN113276116B (en) | Error-controllable robot track synchronous transition method | |
CN116117796B (en) | Industrial robot gesture track transition and speed planning method and system | |
Yang et al. | Optimal configuration for mobile robotic grinding of large complex components based on redundant parameters | |
CN115202293B (en) | Two-section type speed planning method for industrial robot | |
CN113787525B (en) | Mechanical arm movement time optimization method based on joint performance limitation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |