WO2018126355A1 - 机器人运动轨迹规划方法及相关装置 - Google Patents

机器人运动轨迹规划方法及相关装置 Download PDF

Info

Publication number
WO2018126355A1
WO2018126355A1 PCT/CN2017/070133 CN2017070133W WO2018126355A1 WO 2018126355 A1 WO2018126355 A1 WO 2018126355A1 CN 2017070133 W CN2017070133 W CN 2017070133W WO 2018126355 A1 WO2018126355 A1 WO 2018126355A1
Authority
WO
WIPO (PCT)
Prior art keywords
point
segment
track segment
motion
motion track
Prior art date
Application number
PCT/CN2017/070133
Other languages
English (en)
French (fr)
Inventor
张志明
Original Assignee
深圳配天智能技术研究院有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 深圳配天智能技术研究院有限公司 filed Critical 深圳配天智能技术研究院有限公司
Priority to CN201780002229.0A priority Critical patent/CN107980108B/zh
Priority to PCT/CN2017/070133 priority patent/WO2018126355A1/zh
Publication of WO2018126355A1 publication Critical patent/WO2018126355A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions

Definitions

  • the present invention relates to the field of motion control, and more particularly to robot motion trajectory planning techniques.
  • the trajectory motion of the controlled component (such as the operating arm) can be divided into CP motion (continuous operation, including linear motion and circular motion) and PTP motion (point-to-point motion).
  • CP motion track segment 1 also referred to as track segment 1
  • CP motion track segment 2 also referred to as track segment 2
  • track segment 1b the arc segment and the straight segment
  • Fig. 1c and Fig. 1d can be continuously performed.
  • both the initial velocity and the final velocity are 0. If the initial velocity and the final velocity of each CP motion are reduced to 0 during the continuous motion of multiple CPs, the working efficiency will be greatly reduced. And frequent acceleration and deceleration will also affect the life of the motor and reducer. Therefore, the trend of the motion trajectory rule is not to reduce the speed of each segment of the CP motion in the continuous motion of the multi-segment CP to zero.
  • a smooth transition trajectory segment can be designed between successive two CP motion trajectory segments.
  • a vector transition method can be used to obtain a smooth transition trajectory segment.
  • the interpolation point of the track segment 1 from the turn-out point A to the intersection point O in FIG. 2 coincides with the interpolation point of the track segment 2 from the turn-in point B to the intersection point O.
  • the superimposed interpolation points form an arc of space (ie, the arc between point A and point B in Figure 2), smoothing the trajectory.
  • the final planned trajectory is that it runs from point C to point A, then turns out of trajectory segment 1, enters a smooth transition trajectory segment between point A and point B, and then turns point B into trajectory segment 2, Finally arrived at D.
  • the vector superposition method smoothes the CP motions connected before and after, in practical applications, as shown in Figures 1a-1d, there are straight and straight segment transitions, straight segments and arc segments are transferred, and arc segments are The arc segment is transferred.
  • the vector superposition method can replace the sharp angle with an arc, it is definitely applicable only in the scene where the straight line segment and the straight line segment are transferred. It may be in the transfer of the straight line segment and the arc segment, the arc segment and the arc segment. An arc that is tangent to both tracks cannot be found.
  • robot motion trajectory planning technology solutions are now needed to enable smooth transitions regardless of whether the continuous motion trajectory segments are coplanar, and at the inflection point (turning in and out) speeds are continuous (ie, speed is not necessary) Drop to 0).
  • an object of the embodiments of the present invention is to provide a method for planning a trajectory of a robot and a related device, so as to smoothly transfer continuous CP motion, and at the same time, the speed does not have to be reduced to zero.
  • the Bezier curve is a mathematical curve composed of line segments and nodes.
  • the overall shape is not limited to the circular arc, and the non-coplanar trajectory smoothing can be realized, so that it can be applied to the robot motion trajectory planning.
  • the Bezier curve can be used as a smooth transition track segment between successive motion track segments.
  • the start point of the Bezier curve coincides with the turn-out point of a motion track segment (which can be called a lc track segment), and the end point of the Bezier curve and another motion
  • the turn-in points of the track segments (which can be called ln track segments) coincide.
  • the Bezier curve needs to be tangent to the lc path at its starting point, and at the end point it needs to be tangent to the ln path.
  • n (n times) Bezier curve formula is:
  • b i,n (t) is called the Bernstein basis function
  • the n feature points or control points of P 0 -P n define n times Bezier curves in a plane or in three-dimensional space, and the polygons formed by them are called feature polygons or control polygons.
  • P 0 is the starting point
  • P n is the ending point
  • P 1 -P n-1 is the intermediate point.
  • four points of P 0 , P 1 , P 2 , and P 3 define a cubic Bezier curve starting from P 0 to P 1 and from P 2 to P 3 . It should be noted that generally the three-time Bezier curve does not pass P 1 , P 2 , and these two points only provide direction.
  • the tangent vector of the starting and ending points of n times Bezier curve can be obtained as then:
  • B′(0) n(P 1 -P 0 )
  • B′(0) is the tangent vector of the n times Bezier curve at the starting point
  • B'(0) n(P n -P n-1 )
  • B′(1) is the tangent vector of the n times Bezier curve at the end point.
  • the tangential direction (ie, the tangent vector) of the n-time Bezier curve at the starting point and the ending point is consistent with the first side and the last side of the feature polygon type.
  • B'(0) 3(P 1 -P 0 )
  • B'(1) 3(P 3 -P 2 )
  • the first side of FIG. 3 is P 1 P 0
  • the last edge is P 3 P 2 .
  • a minimum of four feature points or control points are required, so a cubic Bezier curve can be selected as the smooth transition trajectory segment.
  • the cubic Bezier curve as a smooth transition trajectory segment can smoothly smooth continuous CP motion, and at the same time, the speed does not have to be reduced to zero, but only the velocity is continuous at the inflection point, and the acceleration at the inflection point is not necessarily continuous.
  • the requirements for robot trajectory planning are getting higher and higher. If the acceleration is not continuous, the acceleration at the inflection point will cause the motor to vibrate and cause damage to the motor and reducer.
  • the cause of the acceleration jump is due to the sudden centripetal acceleration.
  • the necessary and sufficient condition for the continuous acceleration is that the curvature is continuous on the basis of continuous speed.
  • centripetal acceleration at a certain point has a formula Where ⁇ denotes the velocity of the point and ⁇ denotes the curvature of the point. In the case of continuous enthalpy, ensuring continuous curvature ensures continuous trajectory acceleration.
  • the curvature formula of the curve is: Where B'(t) represents the first derivative of the Bezier curve, and B"(t) represents the second derivative of the Bezier curve. It can be concluded by the curvature formula that ensuring the second order of the Bezier curve can ensure any point on the Bezier curve.
  • the acceleration is continuous, so as long as the Bezier curve is greater than one, the trajectory has a constant curvature.
  • the speed and acceleration of the inflection point are required to be continuous.
  • the second-order derivative of the starting and ending points of the Bezier curve can be obtained:
  • n times n is not less than 4
  • Bezier curve has a formula:
  • an embodiment of the present application provides a robot motion trajectory planning method, at least for implementing smooth transition between consecutive two CP motion trajectory segments based on n times (n not less than 4) Bezier curves, the continuous two CPs
  • the motion track segment includes a first CP motion track segment and a second CP motion track segment; the method includes: determining feature points of the n-time Bezier curve according to the first CP motion track segment and the second CP motion track segment; The points include P 0 , P 1 , P 2 , P 3 , where P 0 is the starting point, P 3 is the ending point, and P 1 and P 2 are intermediate points; n times are constructed according to the feature points (n is not less than 4) a Bezier curve as a smooth transition trajectory segment between the first CP motion trajectory segment and the second CP motion trajectory segment, the starting point of the smooth transition trajectory segment being an inflection point of the first CP motion trajectory segment
  • the end point of the smooth transition track segment is a turn-in point of the second CP motion
  • n times (n not less than 4) Bezier curve is used as a smooth transition trajectory segment between the first CP motion trajectory segment and the second CP motion trajectory segment, because the smooth transition trajectory segment is at the beginning and end points
  • the direction is the same as the tangential direction of the first CP motion track segment and the second CP motion track segment, respectively, and therefore the smooth transition track segment is tangent to the first CP motion track segment at its starting point, and at its end point It is tangent to the second CP moving track segment, so that the speed at the inflection point (the turning point and the turning point) can be continuous, and the continuous CP motion smoothing can be realized, and the speed does not have to be reduced to zero.
  • the curvature of the smooth transition trajectory segment at the starting point is the same as the curvature of the first CP motion trajectory segment at the turning point (the starting point coincides with the turning point, or the starting point is also the turning point), in which The curvature of the end point is the same as the curvature of the second CP motion trajectory at the turning point (the end point coincides with the turning point, or the ending point is also the turning point), so that the turning point can be achieved (the turning point and Turn-in point) Acceleration is continuous and does not jump.
  • the method before the determining the feature points of the Bezier curve for n times (n not less than 4), the method further comprises: planning a continuous CP motion track segment.
  • the feature points include P 0 , P 1 , P 2 , P 3 , and P 4 , where P 0 is the starting point, P 4 is the ending point, P 1 , P 2 and P 3 are first to third intermediate points; an intersection of the first CP motion track segment and the second CP motion track segment is represented as an O point; the according to the first CP motion track segment and the second Determining the feature points of the n-time Bezier curve by the CP motion track segment includes determining that the intersection point O is the second intermediate point P 2 .
  • the determining, according to the first CP motion track segment and the second CP motion track segment, the feature point of the n times Bezier curve further includes: if the first CP motion track segment is a straight line segment, selecting a point on the line segment between the intersection point O and the starting point P 0 as the first intermediate point P 1 ; if the first CP motion track segment is a circular arc segment, determining that the first intermediate point P 1 is located at the starting point The tangent of P 0 , and the length of the line segment P 1 P 0 is Where r1 represents the radius of the first CP motion track segment and ⁇ 1 represents the central angle of the start point.
  • the determining, according to the first CP motion track segment and the second CP motion track segment, the feature point of the n times Bezier curve further includes: if the second CP motion track segment is a straight line segment, selecting a point on the line segment between the intersection point O and the termination point P 4 as the third intermediate point P 3 ; if the second CP motion track segment is a circular arc segment, determining that the third intermediate point P 3 is located The tangent line of the point P 4 is terminated, and the length of the line segment P 3 P 4 is Where r2 represents the radius of the second CP motion track segment and ⁇ 2 represents the central angle at the end point.
  • the feature points include P 0 , P 1 , P 2 , P 3 , P 4 , and P 5 , where P 0 is the starting point and P 5 is the ending point.
  • P 1 to P 4 are first to fourth intermediate points; an intersection of the first CP motion track segment and the second CP motion track segment is represented as an O point.
  • the determining, according to the first CP motion track segment and the second CP motion track segment, the feature points of the n times Bezier curve comprises: if the first CP motion track segment is a circular arc segment, determining The first intermediate point P 1 is located on a tangent to the starting point P 0 , and the length of the line segment P 1 P 0 is Wherein, r1 represents a radius of said first trajectory section CP, alpha] l represents the angle of the start point at the center; determining the second intermediate point P 2 is, to the starting point P 0 and the intersection point O as endpoint The third bisector on the arc segment.
  • the determining, according to the first CP motion track segment and the second CP motion track segment, the feature points of the n times Bezier curve includes: if the first CP motion track segment is a straight line segment, selecting The starting point P 0 and the intersection point O are the three equal points on the straight line segment of the end point as the first intermediate point P 1 and the second intermediate point P 2 , respectively .
  • the determining, according to the first CP motion track segment and the second CP motion track segment, the feature points of the n times Bezier curve further includes: if the second CP motion track segment is a circular arc segment, Determining that the third intermediate point P 3 is located on a tangent to the termination point, and the length of the line segment P 3 P 5 is
  • r2 denotes a radius of a second trajectory section CP
  • ⁇ 2 denotes a central angle at a termination point
  • the third bisector on the arc is if the second CP motion track segment is a circular arc segment, Determining that the third intermediate point P 3 is located on a tangent to the termination point, and the length of the line segment P 3 P 5 is
  • r2 denotes a radius of a second trajectory section CP
  • ⁇ 2 denotes a central angle at a termination point
  • the determining, according to the first CP motion track segment and the second CP motion track segment, the feature point of the n times Bezier curve further includes: if the second CP motion track segment is a straight line segment, selecting The three bisectors on the straight line segment with the end point and the intersection point O as the end points serve as the third intermediate point P 3 and the fourth intermediate point P 4 , respectively .
  • an embodiment of the present invention provides a robot motion trajectory planning device, which has the function of realizing the behavior of the robot motion trajectory planning device in the above method.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the structure of the robot motion trajectory planning apparatus includes: a processor and a memory, the processor executing the above method by running a software program stored in the memory, calling data stored in the memory .
  • an embodiment of the present invention provides a robot including the above-described robot motion trajectory planning device, and a continuous two CP motion trajectory segment and a smooth transition trajectory segment planned according to the robot motion trajectory planning device.
  • Control device can for example be an operating arm.
  • an embodiment of the present invention provides a computer storage medium for storing computer software instructions used by the robot motion trajectory planning device, which is configured to perform the above aspects.
  • an embodiment of the present invention provides a computer storage medium for storing computer software instructions for use by the robot, including a program designed to perform the above aspects.
  • the present embodiment uses n times (n not less than 4) Bezier curve as a smooth transition track segment between the first CP motion track segment and the second CP motion track segment, because the smooth transition track segment is at the beginning and the end.
  • the tangential direction of the point is respectively the same as the tangential direction of the first CP motion track segment and the second CP motion track segment, and therefore, the smooth transition track segment is tangent to the first CP motion track segment at its starting point, It is tangent to the second CP moving track segment at its end point, so that the speed at the inflection point (the turning point and the turning point) can be continuous, and the continuous CP motion smoothing can be realized, and the speed does not have to be reduced to 0.
  • the curvature of the smooth transition trajectory segment at the starting point is the same as the curvature of the first CP motion trajectory segment at the turning point (the starting point coincides with the turning point, or the starting point is also the turning point), in which The curvature of the end point is the same as the curvature of the second CP motion trajectory at the turning point (the end point coincides with the turning point, or the ending point is also the turning point), so that the turning point can be achieved (the turning point and Turn-in point) Acceleration is continuous and does not jump.
  • FIGS. 1a-1d are schematic diagrams of continuous motion track segments according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of obtaining a smooth transition track segment by using a vector superposition method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of n times (n not less than 4) Bezier curves according to an embodiment of the present invention
  • 6b, 7b, 8b, 9b, 10b, 11b, 12b are schematic diagrams of transitions of two continuous motion track segments using smooth transition track segments according to an embodiment of the present invention.
  • 6c, 7c, 9c, 10c, 11c, 12c are curvature diagrams provided by an embodiment of the present invention.
  • Figure 8c is a schematic diagram of the geometry provided by the embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a robot motion trajectory planning apparatus according to an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of a general computer architecture of a robot motion trajectory planning apparatus according to an embodiment of the present invention.
  • TCP point tool coordinate center point
  • Circular motion The robot CP point moves along a circular path in Cartesian space
  • CP continuous motion, trajectory motion in Cartesian space, including linear motion and circular motion
  • the n feature points or control points of P 0 -P n define n times Bezier curves in a plane or in three-dimensional space, and the polygons formed by them are called feature polygons or control polygons.
  • P 0 is the starting point
  • P n is the ending point
  • P 1 -P n-1 is the intermediate point.
  • four points of P 0 , P 1 , P 2 , and P 3 define a cubic Bezier curve starting from P 0 to P 1 and from P 2 to P 3 . It should be noted that generally the third Bezier curve does not pass P 1 , P 2 , and these two points only provide direction.
  • Embodiments of the present invention provide a robot motion trajectory planning method and related apparatus to smoothly perform continuous CP motion switching, and at the same time, the speed does not have to be reduced to 0 and the acceleration does not jump.
  • the robot motion trajectory planning device according to the embodiment of the present invention is applied to a robot, which may specifically be a controller/processor in the robot.
  • An embodiment of the present invention provides a method for realizing robot motion trajectory planning, and a robot motion trajectory planning device based on the method.
  • the device can realize smooth transition between two consecutive CP motion track segments (the first CP motion track segment and the second CP motion track segment).
  • the specific operations include:
  • the feature points may include P 0 , P 1 , P 2 , P 3 , and P 4 , where P 0 is the starting point, P 4 is the ending point, and P 1 , P 2 , and P 3 are intermediate. point.
  • the feature points may include P 0 , P 1 , P 2 , P 3 , P 4 , and P 5 , where P 0 is the starting point, P 5 is the ending point, and other points are intermediate points.
  • n-time Bezier curve (n is not less than 4) is constructed according to the above feature points as a smooth transition track segment between the first CP motion track segment and the second CP motion track segment.
  • the n-time Bezier curve is constructed according to the feature points (n is not less than 4), and the existing construction mode can be used, and no further description is made here.
  • the starting point of the smooth transition track segment coincides with the turning point of the first CP motion track segment (or the starting point of the smooth transition track segment may be considered as the turning point of the first CP motion track segment)
  • the end point of the smooth transition track segment coincides with the turn-in point of the second CP motion track segment (or the end point of the smooth transition track segment may be considered to be the turn-in point of the second CP motion track segment). This will ensure that the path is continuous.
  • the direction of the tangent vector of the smooth transition track segment at the starting point P 0 is the same as the direction of the tangent vector of the first CP motion track segment at the inflection point, such that the smooth transition track segment moves at the starting point and the first CP.
  • the track segment is tangent, and the curvature of the smooth transition track segment at the start point P 0 is the same as the curvature of the first CP motion track segment at the turn-out point, so that the speed and acceleration at the turn-out point are both continuous.
  • the direction of the tangent vector of the smooth transition track segment at its end point is the same as the direction of the tangent vector direction of the second CP motion track segment at the turn-in point.
  • the smooth transition trajectory segment is tangent to the second CP motion trajectory segment at its end point.
  • the curvature of the smooth transition track segment at the end point is the same as the curvature of the second CP motion track segment at the turn-in point. In this way, the speed and acceleration at the point of entry are guaranteed to be continuous.
  • the inflection point and the inflection point may be determined according to the configuration of the user. Specifically, the user may indicate the distance between the inflection point and the intersection point (the intersection point is the intersection of the first CP motion track segment and the second CP motion track segment), the distance between the inflection point and the intersection point, and the inflection point and the intersection point. The distance between them is equal, so that the entry point and the exit point can be determined.
  • a continuous multi-segment CP motion track segment the above 401 parts and 402 parts may be performed for every two consecutive CP motion track segments.
  • a smooth transition trajectory segment between the CP motion trajectory segments 1-2 can be first planned, and then a smooth transition trajectory between the CP motion trajectory segments 2-3 can be planned. segment.
  • FIG. 5 is another exemplary flowchart of a method for planning a motion path of a robot according to an embodiment of the present invention.
  • section 500 Plan continuous CP motion trajectory segments.
  • Section 500 is the basis for the subsequent Sections 501 and 502.
  • all of the CP motion track segments required can be programmed at once. For example, if a total of four CP motion track segments are required to complete a certain operation of the robot, four consecutive CP motion track segments can be planned at one time.
  • all of the required CP motion track segments can also be planned in batches. For example, if a continuous CP motion track segment 1-4 is required to complete a certain operation of the robot, the CP motion track segment 1-2 may be planned first, and then the subsequent 501 part and 502 part are executed to obtain the CP motion track segment. A smooth transition track segment between 1-2. After that, the CP motion track segment 3 is planned, and the subsequent 501 parts and 502 parts are executed to obtain a smooth transition track segment between the CP motion track segments 2-3, and so on.
  • the forward-looking X-segment can also be used for planning, and X generally takes 3.
  • the CP motion track segment 1-2 may be planned first, and then the subsequent 501 part and 502 part are executed to obtain the CP motion track segment 1 A smooth transition track segment between -2.
  • the CP motion track segment 3 is further planned, and the subsequent 501 parts and 502 parts are executed to obtain a smooth transition track segment between the CP motion track segments 2-3.
  • the CP motion track segment 4 is planned, and then the subsequent 501 portion and the 502 portion are executed to obtain a smooth transition track segment between the CP motion track segments 3-4.
  • the CP motion track segment 5 is planned, and then the subsequent 501 parts and 502 parts are executed to obtain a smooth transition track segment between the CP motion track segments 4-5, and so on. .
  • section 501 determining feature points of the n times (n not less than 4) Bezier curve according to the first CP motion track segment and the second CP motion track segment.
  • Section 501 is similar to Section 401 and will not be described here.
  • n times (n not less than 4) Bezier curve is constructed according to the above feature points as a smooth transition track segment between the first CP motion track segment and the second CP motion track segment.
  • Section 502 is similar to Section 402 and will not be described here.
  • the first CP moving track segment and the second CP moving track segment can be respectively: straight line segment and straight line segment, straight line segment and arc segment, arc segment and straight segment, arc segment and arc segment; .
  • the embodiments of the present invention will be further described below in the following.
  • Figure 6b shows the first CP motion track segment (lc) and the second CP motion track segment (ln) and the smooth transition track segment. The lc track segment and the ln track segment intersect at an intersection point O.
  • section 601 determining that the inflection point of the lc track segment is the starting point P 0 of the smooth transition track segment, and determining that the inflection point of the ln track segment is the end point P 4 of the smooth transition track segment.
  • section 602 it is determined that the intersection point O is the (second) intermediate point P 2 .
  • the curvature of the n-time (4 times) Bezier curve at the starting point is related to the adjacent three feature points (P 0 , P 1 , P 2 ), and the curvature at the end point is also the same as the adjacent 3
  • the feature points (P 2 , P 3 , and P 4 ) are related, and the P 2 points need to be coplanar with P 0 , P 1 , P 3 , and P 4 at the same time. Therefore, the intersection point O is selected as P 2 .
  • a point on the line segment P 0 O (that is, a line segment between the intersection point O and the starting point P 0 ) is selected as the (first) intermediate point P 1 ; the line segment P 0 O is the intersection point O and the starting point P 0 Line segment between.
  • section 604 select a point on the line segment O P 4 as the (third) intermediate point P 3 .
  • the line segment O P 4 is a line segment between the intersection point O and the end point P 4 .
  • a four-time Bezier curve is constructed according to the above feature points as a smooth transition track segment between the first CP motion track segment and the second CP motion track segment (the dotted line portion of FIG. 6b is a smooth transition track segment).
  • Section 605 is similar to the aforementioned sections 402 and 502 and will not be described herein.
  • the curvature is zero at the beginning and end points, thereby achieving continuous acceleration at the inflection point.
  • Figure 7b shows the first CP motion track segment (lc) and the second CP motion track segment (ln) and the smooth transition track segment.
  • section 701 determining that the inflection point of the lc track segment is the starting point P 0 of the smooth transition track segment, and determining that the inflection point of the ln track segment is the end point P 4 of the smooth transition track segment.
  • Section 701 is similar to Section 601 and will not be described here.
  • section 702 it is determined that the intersection point O is the (second) intermediate point P 2 .
  • Section 702 is similar to Section 602 and will not be described here.
  • a point on the line segment P 0 O (that is, the line segment between the intersection point O and the starting point P 0 ) is selected as the intermediate point P 1 .
  • Section 703 is similar to Section 603 and will not be repeated here.
  • section 704 it is determined that the intermediate point P 3 is located on the tangent of the termination point P 4 , and the length of the line segment P 3 P 4 is (See Figure 7b).
  • r2 denotes a radius ln track segments
  • ⁇ 2 represents the central angle at the end point P 4.
  • a four-time Bezier curve is constructed according to the above feature points as a smooth transition track segment between the first CP motion track segment and the second CP motion track segment (the dotted line portion of FIG. 7b is a smooth transition track segment).
  • Section 705 is similar to the aforementioned sections 402, 502 and 605 and will not be described herein.
  • the curvature at the starting point is 0, and the curvature at the ending point is the inverse of the radius (50) of 0.02, thereby achieving continuous acceleration at the inflection point.
  • Figure 8b shows the first CP motion track segment (lc) and the second CP motion track segment (ln) and the smooth transition track segment.
  • section 801 it is determined that the inflection point of the lc track segment is the starting point P 0 of the smooth transition track segment, and the inflection point of the ln track segment is determined to be the end point P 4 of the smooth transition track segment.
  • Section 801 is similar to Sections 601 and 701 and will not be described here.
  • the intersection point O is determined to be the (second) intermediate point P 2 .
  • the 802 part is similar to the 602 and 702 parts and will not be described here.
  • section 803 it is determined that the intermediate point P 1 is located on the tangent of the starting point P 0 , and the length of the line segment P 1 P 0 is
  • r1 represents the radius of the lc track segment and ⁇ 1 represents the central angle of the starting point.
  • the first segment is a circular segment, the latter segment is a straight segment, point A is the intersection point, point C is the arcing point, and the radius of the arc segment is r.
  • the central angle is ⁇ . root.
  • n is the number of Bezier curves
  • is the angle between the vector AB and the vector BC.
  • a point on the line segment OP 4 is selected as the intermediate point P 3 .
  • the line segment OP 4 is a line segment between the intersection point O and the end point.
  • Section 804 is similar to Section 604 and will not be described here.
  • a four-time Bezier curve is constructed according to the above feature points as a smooth transition track segment between the first CP motion track segment and the second CP motion track segment (the dotted line portion of FIG. 8b is a smooth transition track segment).
  • Section 805 is similar to the aforementioned sections 402, 502, 605 and 705 and will not be described here.
  • Figure 9b shows the first CP motion track segment (lc) and the second CP motion track segment (ln) and the smooth transition track segment.
  • section 901 it is determined that the inflection point of the lc track segment is the starting point P 0 of the smooth transition track segment, and the inflection point of the ln track segment is determined to be the end point P 4 of the smooth transition track segment.
  • the 901 part is similar to the 601, 701, and 801 parts, and will not be described here.
  • the intersection point O is determined to be the (second) intermediate point P 2 .
  • Section 902 is similar to sections 602, 702, and 802 and will not be described here.
  • section 903 it is determined that the intermediate point P 1 is located on the tangent of the starting point P 0 , and the length of the line segment P 1 P 0 is
  • Section 903 is similar to Section 803 and will not be repeated here.
  • section 904 it is determined that the intermediate point P 3 is located on the tangent of the end point P 4 , and the length of the line segment P 3 P 4 is (See Figure 9b).
  • r2 denotes a radius ln track segments
  • ⁇ 2 represents the central angle at the end point P 4.
  • Section 904 is similar to Section 704 and will not be described here.
  • a four-time Bezier curve is constructed according to the above feature points as a smooth transition track segment between the first CP motion track segment and the second CP motion track segment (the dotted line portion of FIG. 9b is a smooth transition track segment).
  • the 905 part is similar to the aforementioned 402, 502, 605, 705, 805 parts, and will not be described herein.
  • the curvature at the beginning and end points is the inverse of the radius (50) of 0.02, thereby achieving continuous acceleration at the inflection point.
  • the P 2 point selects the intersection of the two tracks, and the degree of freedom is not enough.
  • the four Bezier curves can be upgraded to five Bezier curves.
  • the motion trajectory planning method based on the five-time Bezier curve will be introduced below.
  • the formula for the five-time Bezier curve is:
  • Figure 10b shows the first CP motion track segment (lc) and the second CP motion track segment (ln) and the smooth transition track segment, the lc track segment and the ln track segment intersecting at the intersection point O.
  • the feature points include P 0 , P 1 , P 2 , P 3 , P 4 , and P 5 , where P 0 is a starting point, P 5 is a termination point, and P 1 to P 4 are first to fourth intermediate points.
  • section 1001 determining that the inflection point of the lc track segment is the starting point P 0 of the smooth transition track segment, and determining that the inflection point of the ln track segment is the end point P 5 of the smooth transition track segment.
  • the 1001 part is similar to the 601, 701, 801, and 901 parts, and will not be described herein.
  • section 1002 determining that the (first) intermediate point P 1 is located on a tangent to the starting point P 0 , and that the length of the line segment P 1 P 0 is
  • r1 represents the radius of the lc track segment and ⁇ 1 represents the central angle of the starting point.
  • Section 1002 is similar to Section 803 and will not be repeated here.
  • section 1003 it is determined that the (second) intermediate point P 2 is a three-divided point on the arc segment with the starting point P 0 and the intersection point O as the end point (the arc segment belongs to a part of the lc track segment).
  • a bisector close to the intersection can be selected as the intermediate point P 2 .
  • r2 represents the radius of the ln trajectory segment and ⁇ 2 represents the central angle at the end point.
  • Section 1004 is similar to Section 904 and will not be described here.
  • section 1005 determining that the (third) intermediate point P 3 is the endpoint of the arc segment with the end point P 5 and the intersection point O as the end point (the arc segment belongs to a part of the ln track segment).
  • a bisector close to the intersection can be selected as the intermediate point P 3 .
  • a five-time Bezier curve is constructed according to the above feature points as a smooth transition track segment between the first CP motion track segment and the second CP motion track segment (the dotted line portion of FIG. 10b is a smooth transition track segment).
  • the curvature at the beginning and end points is the inverse of the radius (50) of 0.02, thereby achieving continuous acceleration at the inflection point.
  • Figure 11b shows the first CP motion track segment (lc) and the second CP motion track segment (ln) and the smooth transition track segment, the lc track segment and the ln track segment intersecting at the intersection point O.
  • section 1101 determining that the inflection point of the lc track segment is the starting point P 0 of the smooth transition track segment, and determining that the inflection point of the ln track segment is the end point P 5 of the smooth transition track segment.
  • the 1101 portion is similar to the 601, 701, 801, 901, and 1001 portions, and will not be described herein.
  • the three equal points on the straight line segment whose starting point P 0 and the intersection point O are the end points are selected as the first intermediate point P 1 and the second intermediate point P 2 , respectively .
  • the three equal points close to the intersection point can be selected as the second intermediate point P 2 , and the three equal points close to the starting point P 0 are selected as the first intermediate point P 1 .
  • section 1103 it is determined that the fourth intermediate point P 4 is located on a tangent to the end point P 5 , and the length of the line segment P 4 P 5 is
  • r2 represents the radius of the ln trajectory segment and ⁇ 2 represents the central angle at the end point.
  • Section 1103 is similar to Sections 904 and 1004 and will not be described here.
  • Part 1104 determining a third intermediate point P 3 endpoint, and the end point to the intersection point O as trisection on the circular arc segment endpoints.
  • a bisector close to the intersection can be selected as the intermediate point P 3 .
  • Section 1104 is similar to section 1005 and will not be described here.
  • a five-time Bezier curve is constructed according to the above feature points as a smooth transition track segment between the first CP motion track segment and the second CP motion track segment (the dotted line portion of FIG. 11b is a smooth transition track segment).
  • the curvature at the starting point is 0, and the curvature at the ending point is the inverse of the radius (50) of 0.02, thereby achieving continuous acceleration at the inflection point.
  • Figure 12b shows the first CP motion track segment (lc) and the second CP motion track segment (ln) and the smooth transition track segment, the lc track segment and the ln track segment intersecting at the intersection point O.
  • section 1201 determining that the inflection point of the lc track segment is the starting point P 0 of the smooth transition track segment, and determining that the inflection point of the l l track segment is the end point P 5 of the smooth transition track segment.
  • the 1201 portion is similar to the 601, 701, 801, 901, 1001, and 1101 portions, and will not be described herein.
  • the three bisectors on the straight line segment with the starting point P 0 and the intersection point O as the end points are selected as the (first) intermediate point P 1 and the second intermediate point P 2 , respectively .
  • Section 1202 is similar to Section 1102 and will not be described here.
  • the three equal points on the straight line segment ending with the end point P 5 and the intersection point O are selected as the third intermediate point P 3 and the fourth intermediate point P 4 , respectively .
  • the three equal points close to the intersection point can be selected as the third intermediate point P 3
  • the three equal points close to the end point P 5 can be selected as the fourth intermediate point P 4 .
  • a five-time Bezier curve is constructed according to the above feature points as a smooth transition track segment between the first CP motion track segment and the second CP motion track segment (the dotted line portion of FIG. 12b is a smooth transition track segment).
  • the curvature is zero at the beginning and end points, thereby achieving continuous acceleration at the inflection point.
  • the determination manners of the starting point P 0 and the ending point P 5 of the smooth transition track segment can be found in 601, 701,
  • the 801, 901, 1001, and 1201 portions, the first intermediate point P 1 and the second intermediate point P 2 can be determined by referring to the 1002 part and the 1003 part, and the third intermediate point P 3 and the fourth intermediate point P 4 can be determined. See section 1203, and I will not repeat them here.
  • FIG. 13 is a schematic structural diagram of a robot motion trajectory planning apparatus involved in the above embodiment, including:
  • the feature point determining unit 131 is configured to determine feature points of the n times (n not less than 4) Bezier curve according to the first CP motion track segment and the second CP motion track segment.
  • a smooth transition trajectory construction unit 132 configured to construct n times (n not less than 4) Bezier curves according to the feature points, as a smooth transition trajectory segment between the first CP motion trajectory segment and the second CP motion trajectory segment,
  • the starting point of the smooth transition trajectory segment is an inflection point of the first CP motion trajectory segment, and the end point of the smooth transition trajectory segment is a turning point of the second CP motion trajectory segment;
  • the smooth transition trajectory segment is the same as the tangential vector direction of the first CP motion trajectory segment at the starting point and has the same curvature; the smooth transition trajectory segment and the second CP motion trajectory segment are at the termination point
  • the tangent vectors have the same direction and the same curvature.
  • a planning unit 133 may be further included for planning a continuous CP motion track segment before the feature point determining unit determines the feature points of the n times (n not less than 4) Bezier curve.
  • the feature point determining unit 131 can be used to execute the 401 part shown in FIG. 4, the 501 part shown in FIG. 5, the 601-604 part shown in FIG. 6a, the 701-704 part shown in FIG. 7a, and the 701-704 part shown in FIG. 8a.
  • Sections 801-804, part 901-904 shown in Figure 9a, 1001-1005 shown in Figure 10a In part, the 1101-1104 part shown in Fig. 11a, and the 1201-1203 part shown in Fig. 12a.
  • the smooth transition trajectory construction unit 132 can be used to execute the 402 portion shown in FIG. 4, the 502 portion shown in FIG. 5, the 605 portion shown in FIG. 6a, the 705 portion shown in FIG. 7a, and the 805 portion shown in FIG. 8a.
  • Planning unit 133 can be used to perform the 500 portion shown in FIG.
  • FIG. 14 is a schematic diagram showing a possible structure of the robot involved in the above embodiment, including:
  • controller/processor 1 memory 2, communication interface 3, input device 4, output device 5, and controlled device 6.
  • the processor 1, the memory 2, the communication interface 3, the input device 4, the output device 5, and the controlled device 6 can be connected to each other through a bus. among them:
  • the bus can include a path for communicating information between various components of the computer system.
  • the controller/processor 1 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a network processor (Network Processor, NP for short, a microprocessor, etc., or may be a specific application integration.
  • the controller/processor 1 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the program for executing the technical solution of the present invention is stored in the memory 2, and an operating system and other applications can also be saved.
  • the program can include program code, the program code including computer operating instructions.
  • the memory 2 may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, random access memory (RAM), storable information, and Other types of dynamic storage devices, disk storage, and the like.
  • Input device 4 may include means for receiving data and information input by a user, such as a keyboard, mouse, camera, scanner, light pen, voice input device, touch screen, and the like.
  • Output device 5 may include devices that allow output of information to the user, such as a display screen, printer, speaker, and the like.
  • Communication interface 3 may include devices that use any type of transceiver to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), and the like.
  • RAN Radio Access Network
  • WLAN Wireless Local Area Network
  • the controller/processor 1 can be used to perform the processing of the robot motion trajectory planning device of Figures 4, 5, 6a, 7a, 8a, 9a, 10a, 11a, 12a and/or other techniques for the techniques described herein process.
  • the controller/processor can also be used to implement the functions of the aforementioned feature point determining unit 131, smooth transition track building unit 132, and planning unit 133.
  • the controlled device 6 can be used to operate in accordance with successive two CP motion track segments and smooth transition track segments planned by the controller/processor 1.
  • Figure 14 only shows a simplified design of the robot.
  • the robot may include any number of transmitters, receivers, processors, controllers, memories, communication interfaces, etc., and all robots that can implement the present invention are within the scope of the present invention.
  • the method and apparatus disclosed in all of the above embodiments can be used in robotic arm control to achieve smooth transition of the robot arm in two consecutive running trajectories in Cartesian space.
  • it can be extended to any device that needs to be planned, such as a car, an aircraft, and so on.
  • the steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware, or may be implemented by a processor executing software instructions.
  • the software instructions may be comprised of corresponding software modules that may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable hard disk, CD-ROM, or any other form of storage well known in the art.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium can be located in an ASIC.
  • the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

Abstract

本方案涉及运动控制领域,尤其涉及机器人运动轨迹规划技术。在一种机器人运动轨迹规划方法中,根据第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点,n不小于4(401);根据上述特征点构建n次Bezier曲线,作为第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段(402)。由于采用n次Bezier曲线作为两CP运动轨迹段之间的平滑过渡轨迹段,该平滑过渡轨迹段在其起始点与第一CP运动轨迹段相切且曲率相同,同时在其终止点与第二CP运动轨迹段相切且曲率相同,从而可实现连续CP运动的平滑转接,同时,速度不必降为0,并且,加速度不跳变。

Description

机器人运动轨迹规划方法及相关装置 技术领域
本发明涉及运动控制领域,更具体地说,涉及机器人运动轨迹规划技术。
背景技术
在对机器人运动控制中,被控部件(例如操作臂)的轨迹运动方式可分为CP运动(连续运行,包括直线运动和圆弧运动)和PTP运动(点到点运动)。
在对机器人进行运动轨迹规划时,可能需要多段CP运动连续进行。以两段CP运动连续进行为例,请参见图1a,CP运动轨迹段1(也可称为轨迹段1)和CP运动轨迹段2(也可称为轨迹段2)可分别为直线段,此外,还可圆弧段与圆弧段(图1b)、圆弧段与直线段(图1c和图1d)连续进行。
在单段CP运动的规划中,其初速度和末速度都为0,如果在多段CP连续运动的过程中令每段CP运动的初始速度和末速度都降为0,会大大降低工作效率,并且频繁的加减速也会对电机和减速器的寿命有影响。因此,运动轨迹规则的趋势是不令多段CP连续运动中的各段CP运动的速度降为零。
这就面临另一问题:仍请参见图1a,若连续的直线段不在同一直线上,就会有尖角。尖角的顶点为O(O点是两轨迹段的交点)。同理,请参见图1b,若连续的两圆弧段切线不重合,也会有尖角。同理,若直线段与的圆弧段的切线不重合(请参见图1c和图1d),也会有尖角。速度不为0通过尖角的话,会产生振动。
为此,可在连续的两CP运动轨迹段之间设计平滑过渡轨迹段。例如,请参见图2,可采用矢量叠加法得到平滑过渡轨迹段。这种方式通过空间向量加法,令图2中轨迹段1从拐出点A到交点O的插补点,与轨迹段2从拐入点B到交点O的插补点重合。叠加后的插补点会组成空间的一段弧形(也即图2中点A与点B之间的弧形),使轨迹平滑。
也即,最终规划出的运行轨迹是,由C点运行至A点,之后拐出轨迹段1,进入点A和点B之间的平滑过渡轨迹段,再由点B拐入轨迹段2,最后到达D。
当然,对于超过两段CP运动的连续运动,可分别对两两连续的CP运动 轨迹段进行如此设计。
矢量叠加法虽然对前后相连的CP运动进行了平滑,但在实际应用中,如图1a-1d所示,有直线段与直线段转接、直线段与圆弧段转接、圆弧段与圆弧段转接。矢量叠加法虽可用圆弧替代尖角,但其仅在直线段与直线段转接的场景下肯定适用,在直线段与圆弧段转接、圆弧段与圆弧段的转接中可能无法找到与两条轨迹都相切的圆弧。这是因为空间中相交的直线段与直线段是肯定共面的,但是直线段与圆弧段、圆弧段与圆弧段都不一定共面,在不共面的情况下就无法找出公切的圆弧转接。
因此,现在需要机器人运动轨迹规划技术解决方案,以令无论连续的运动轨迹段是否共面均能进行平滑转接,并在拐点处(拐入点和拐出点)速度连续(也即速度不必降为0)。
发明内容
有鉴于此,本发明实施例的目的在于提供机器人运动轨迹规划方法及相关装置,以令连续的CP运动平滑转接,同时,速度不必降为0。
本申请发明人在研究过程中发现:
Bezier曲线由线段和节点组成的数学曲线。其整体形状并不局限于圆弧,可实现非共面的轨迹平滑,从而可应用在机器人运动轨迹规划方面。
可令Bezier曲线作为连续的运动轨迹段间的平滑过渡轨迹段,Bezier曲线的起始点与一运动轨迹段(可称为lc轨迹段)的拐出点重合,Bezier曲线的终止点与另一运动轨迹段(可称为ln轨迹段)的拐入点重合。
发明人发现,欲实现在拐点处(拐出点和拐入点)速度连续,则Bezier曲线在其起始点需与lc轨迹相切,同时在其终止点需与ln轨迹相切。
n次(n次)Bezier曲线公式为:
Figure PCTCN2017070133-appb-000001
其中bi,n(t)称为Bernstein基函数,
Figure PCTCN2017070133-appb-000002
对应Beizer曲线的起始点,t=1对应Beizer曲线的终止点。
P0-Pn这n个特征点或控制点在平面或在三维空间定义了n次Bezier曲线,其组成的多边形称为特征多边形或控制多边形。其中,P0为起始点,Pn为终止点,P1-Pn-1为中间点。例如请参见图3,P0、P1、P2、P3四个点定义了三次Bezier曲线,三次Bezier曲线起始于P0走向P1,并从P2方向到P3。需要说明的 是,一般三次Bezier曲线不经过P1、P2,这两个点只提供方向。
根据Bezier基函数的导函数性质可求取n次Bezier曲线始末点的切矢量为
Figure PCTCN2017070133-appb-000003
则:
当t=0时,B′(0)=n(P1-P0),B′(0)即为n次Bezier曲线在起始点的切矢量;
当t=1时,B′(0)=n(Pn-Pn-1),B′(1)即为n次Bezier曲线在终止点的切矢量。
观察上述切矢量可知,n次Bezier曲线在起始点和终止点处的切线方向(即切矢量)和特征多边型的第一条边及最后一条边走向一致。以图3所示三次Bezier曲线为例,B′(0)=3(P1-P0),B′(1)=3(P3-P2),而图3的第一条边是P1P0,最后一条边是P3P2
为令n次Bezier曲线在始末点的切矢方向分别与lc轨迹段和ln轨迹段切矢方向相同,需要最少四个特征点或控制点,所以可选用三次Bezier曲线作为平滑过渡轨迹段。
然而,本申请发明人在进一步的研究过程中发现:
使用三次Bezier曲线作为平滑过渡轨迹段虽然能令连续的CP运动平滑转接,同时,速度不必降为0,但仅能保证在拐点处速度连续,而在拐点处的加速度则不一定连续。随着机器人科技的发展,对于机器人轨迹规划的要求越来越高,如果加速度不连续,在拐点处跳变的加速度会造成电机震动,对电机和减速器造成损伤。
本申请发明人通过分析加速度跳变的原因,发现加速度跳变的原因是因为突增的向心加速度。
加速度连续的充要条件为在速度连续的基础上曲率连续。
某一点的向心加速度有公式
Figure PCTCN2017070133-appb-000004
其中υ表示该点的速度,ρ表示该点的曲率。在υ连续的情况下,保证曲率连续就能保证轨迹加速度连续。
曲线的曲率公式有:
Figure PCTCN2017070133-appb-000005
其中B′(t)表示Bezier曲线的一阶导函数,B″(t)表示Bezier曲线的二阶导函数。通过曲率公式可以得出:确保Bezier曲线二阶可导即可确保Bezier曲线上任一点加速度连续。所以只要次数大于1的Bezier曲线,其轨迹一定曲率连续。
另一方面,为保证拐点处不跳变,要求拐点处速度和加速度均连续,这需要Bezier曲线与lc轨迹段在起始点(即拐出点)相切且曲率连续,同时,Bezier曲线与ln轨迹段在终止点(即拐入点)相切且曲率连续。
根据Bezier基函数的导函数性质可求取n次Bezier曲线始末点的二阶导矢:
Figure PCTCN2017070133-appb-000006
求得:当t=0时,B″(0)=n(n-1)(P2-2P1+P0)
当t=1时,B″(1)=n(N-1)(Pn-2Pn-1+Pn-2)
上述公式表明,二阶导矢只与相邻的3个控制点有关。
为了二阶导矢方向与lc轨迹段和ln轨迹段的二阶导矢方向一致,需要最少五个控制点(或特征点),所以可选用n次(n不小于4)Bezier曲线,四次Bezier曲线有公式:
B(t)=P0(1-t)4+4P1t(1-t)3+6P2t2(1-t)2+4P3t3(1-t)+P4t4,t∈[0,1]
基于上述研究发现,本发明实施例提供如下技术方案:
一方面,本申请的实施例提供机器人运动轨迹规划方法,至少用于基于n次(n不小于4)Bezier曲线实现连续的两CP运动轨迹段之间的平滑转接,所述连续的两CP运动轨迹段包括第一CP运动轨迹段和第二CP运动轨迹段;该方法包括:根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点;所述特征点包括P0、P1、P2、P3,其中,P0为起始点、P3为终止点,P1、P2为中间点;根据所述特征点构建n次(n不小于4)Bezier曲线,作为所述第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段,所述平滑过渡轨迹段的起始点为所述第一CP运动轨迹段的拐出点,所述平滑过渡轨迹段的终止点为所述第二CP运动轨迹段的拐入点;其中,所述平滑过渡轨迹段与所述第一CP运动轨迹段在所述起始点上的切矢量方向相同且曲率相同;所述平滑过渡轨迹段与所述第二CP运动轨迹段在所述终止点上的切矢量方向相同且曲率相同。在本实施例中,采用n次(n不小于4)Bezier曲线作为第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段,由于平滑过渡轨迹段在始末点的切矢方向分别与所述第一CP运动轨迹段和第二CP运动轨迹段的切矢方向相同,因此,该平滑过渡轨迹段在其起始点与第一CP运动轨迹段相切,同时在其终止点与第二CP运动轨迹段相切,从而可实现在拐点处(拐出点和拐入点)速度连续,也即可实现连续的CP运动平 滑转接,同时,速度不必降为0。此外,该平滑过渡轨迹段在其起始点的曲率与第一CP运动轨迹段在拐出点的曲率相同(起始点与拐出点重合,或也可认为起始点即拐出点),在其终止点的曲率与第二CP运动轨迹段在拐入点的曲率相同(终止点与拐入点重合,或也可认为终止点即拐入点),从而可实现在拐点处(拐出点和拐入点)加速度连续,不跳变。
在一个可能的设计中,在所述确定n次(n不小于4)Bezier曲线的特征点之前,还包括:规划连续的CP运动轨迹段。
在一个可能的设计中,所述n=4,所述特征点包括P0、P1、P2、P3和P4,其中,P0为起始点、P4为终止点,P1、P2和P3为第一至第三中间点;所述第一CP运动轨迹段和第二CP运动轨迹段的交点表示为O点;所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点包括:确定所述交点O为所述第二中间点P2
在一个可能的设计中,所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点还包括:若所述第一CP运动轨迹段为直线段,选择所述交点O和起始点P0之间的线段上的一点作为所述第一中间点P1;若所述第一CP运动轨迹段为圆弧段,确定第一中间点P1位于起始点P0的切线上,并且,线段P1P0的长度为
Figure PCTCN2017070133-appb-000007
其中,r1表示所述第一CP运动轨迹段的半径,α1表示所述起始点处的圆心角。
在一个可能的设计中,所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点还包括:若所述第二CP运动轨迹段为直线段,选择所述交点O和终止点P4之间的线段上的一点作为所述第三中间点P3;若所述第二CP运动轨迹段为圆弧段,确定所述第三中间点P3位于终止点P4的切线上,并且,线段P3P4的长度为
Figure PCTCN2017070133-appb-000008
其中,r2表示所述第二CP运动轨迹段的半径,α2表示终止点处的圆心角。
在一个可能的设计中,所述n=5,所述特征点包括P0、P1、P2、P3、P4和P5,其中,P0为起始点、P5为终止点,P1至P4为第一至第四中间点;所述第一CP运动轨迹段和第二CP运动轨迹段的交点表示为O点。
在一个可能的设计中,所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点包括:若所述第一CP运动轨迹段为圆弧段,确定所述第一中间点P1位于所述起始点P0的切线上,并且,线段P1P0的长 度为
Figure PCTCN2017070133-appb-000009
其中,r1表示所述第一CP运动轨迹段的半径,α1表示所述起始点处的圆心角;确定所述第二中间点P2为,以所述起始点P0和交点O为端点的圆弧段上的三等分点。
在一个可能的设计中,所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点包括:若所述第一CP运动轨迹段为直线段,选择以所述起始点P0和交点O为端点的直线段上的三等分点分别作为第一中间点P1和第二中间点P2
在一个可能的设计中,所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点还包括:若所述第二CP运动轨迹段为圆弧段,确定所述第三中间点P3位于终止点的切线上,并且,线段P3P5的长度为
Figure PCTCN2017070133-appb-000010
其中,r2表示所述第二CP运动轨迹段的半径,α2表示所述终止点处的圆心角;确定所述第四中间点P4端点为,以所述终止点和交点O为端点的圆弧段上的三等分点。
在一个可能的设计中,所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点还包括:若所述第二CP运动轨迹段为直线段,选择以所述终止点和交点O为端点的直线段上的三等分点分别作为所述第三中间点P3和第四中间点P4
另一方面,本发明实施例提供了一种机器人运动轨迹规划装置,该装置具有实现上述方法实际中机器人运动轨迹规划装置行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。
在一个可能的设计中,机器人运动轨迹规划装置的结构包括:处理器和存储器,所述处理器通过运行存储在所述存储器内的软件程序、调用存储在所述存储器内的数据,执行上述方法。
再一方面,本发明实施例提供了一种机器人,其包括上述的机器人运动轨迹规划装置,以及按照上述机器人运动轨迹规划装置规划出的连续的两CP运动轨迹段及平滑过渡轨迹段运行的被控器件。该控制器件例如可以是操作臂。
再一方面,本发明实施例提供了一种计算机存储介质,用于储存为上述机器人运动轨迹规划装置所用的计算机软件指令,其包含用于执行上述方面 所设计的程序。
再一方面,本发明实施例提供了一种计算机存储介质,用于储存为上述机器人所用的计算机软件指令,其包含用于执行上述方面所设计的程序。
相较于现有技术,本实施例采用n次(n不小于4)Bezier曲线作为第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段,由于平滑过渡轨迹段在始末点的切矢方向分别与所述第一CP运动轨迹段和第二CP运动轨迹段的切矢方向相同,因此,该平滑过渡轨迹段在其起始点与第一CP运动轨迹段相切,同时在其终止点与第二CP运动轨迹段相切,从而可实现在拐点处(拐出点和拐入点)速度连续,也即可实现连续的CP运动平滑转接,同时,速度不必降为0。此外,该平滑过渡轨迹段在其起始点的曲率与第一CP运动轨迹段在拐出点的曲率相同(起始点与拐出点重合,或也可认为起始点即拐出点),在其终止点的曲率与第二CP运动轨迹段在拐入点的曲率相同(终止点与拐入点重合,或也可认为终止点即拐入点),从而可实现在拐点处(拐出点和拐入点)加速度连续,不跳变。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1a-1d为本发明实施例提供的连续的运动轨迹段的示意图;
图2为本发明实施例提供的采用矢量叠加法得到平滑过渡轨迹段示意图;
图3为本发明实施例提供的n次(n不小于4)Bezier曲线示意图;
图4-5,6a、7a、8a、9a、10a、11a、12a为本发明实施例提供的机器人运动轨迹规划方法示例性流程图;
图6b、7b、8b、9b、10b、11b、12b为本发明实施例提供的两连续运动轨迹段利用平滑过渡轨迹段过渡示意图;
图6c、7c、9c、10c、11c、12c为本发明实施例提供的曲率图;
图8c为本发明实施例提供的几何原理图;
图13为本发明实施例提供的机器人运动轨迹规划装置结构示意图;
图14为本发明实施例提供的机器人运动轨迹规划装置通用计算机架构示意图。
具体实施方式
本发明可能使用的技术名词、简写或缩写如下:
TCP点:工具坐标中心点;
直线运动:机器人TCP点在笛卡尔空间内沿直线轨迹运动;
圆弧运动:机器人CP点在笛卡尔空间内沿圆弧轨迹运动;
CP:连续运动,笛卡尔空间下的轨迹运动方式,包括直线运动和圆弧运动;
n次Bezier曲线:n次Bezier曲线公式为:
Figure PCTCN2017070133-appb-000011
其中bi,n(t)称为Bernstein基函数,
Figure PCTCN2017070133-appb-000012
对应Beizer曲线的起始点,t=1对应Beizer曲线的终止点。
P0-Pn这n个特征点或控制点在平面或在三维空间定义了n次Bezier曲线,其组成的多边形称为特征多边形或控制多边形。其中,P0为起始点,Pn为终止点,P1-Pn-1为中间点。例如请参见图3,P0、P1、P2、P3四个点定义了三次Bezier曲线,三次Bezier曲线起始于P0走向P1,并从P2方向到P3。需要说明的是,一般三次Bezier曲线不经过P1、P2,这两个点只提供方向。
本发明实施例提供了机器人运动轨迹规划方法及相关装置,以令连续的CP运动平滑转接,同时,速度不必降为0并且加速度不跳变。本发明实施例所涉及到的机器人运动轨迹规划装置应用于机器人中,其具体可为机器人中的控制器/处理器。
本发明的一个实施例提供一种实现机器人运动轨迹规划的方法,和基于这个方法的机器人运动轨迹规划装置。该装置通过执行上述方法,可实现连续的两CP运动轨迹段(第一CP运动轨迹段和第二CP运动轨迹段)之间的平滑转接,请参见图4,其具体操作包括:
在401部分:根据第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线(n不小于4)的特征点;
以n=4为例,特征点可包括P0、P1、P2、P3和P4,其中,P0为起始点、P4为终止点,P1、P2、P3为中间点。
而若n=5,则特征点可包括P0、P1、P2、P3、P4和P5,其中,P0为起始点、 P5为终止点,其他点为中间点。
在402部分:根据上述特征点构建上述n次Bezier曲线(n不小于4),作为第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段。
在确定出特征点后,根据特征点构建n次Bezier曲线(n不小于4)可采用现有的构建方式,在此不作赘述。
需要注意的是,上述平滑过渡轨迹段的起始点与第一CP运动轨迹段的拐出点相重合(或可认为平滑过渡轨迹段的起始点即为第一CP运动轨迹段的拐出点),平滑过渡轨迹段的终止点与所述第二CP运动轨迹段的拐入点相重合(或可认为平滑过渡轨迹段的终止点为第二CP运动轨迹段的拐入点)。这样可保证路径连续。
此外,平滑过渡轨迹段在起始点P0上的切矢量方向、与第一CP运动轨迹段在拐出点上的切矢量方向相同,这样,平滑过渡轨迹段在其起始点与第一CP运动轨迹段相切,并且平滑过渡轨迹段在起始点P0上的曲率与第一CP运动轨迹段在拐出点上的曲率相同,这样,可保证在拐出点的速度及加速度均连续。
同理,平滑过渡轨迹段在其终止点上的切矢量方向和第二CP运动轨迹段在拐入点上的切矢量方向的方向相同。这样,平滑过渡轨迹段在其终止点与第二CP运动轨迹段相切。并且平滑过渡轨迹段在终止点上的曲率与第二CP运动轨迹段在拐入点上的曲率相同。这样,可保证在拐入点的速度及加速度均连续。
在一个示例中,拐出点和拐入点可根据用户的配置来确定。具体的,用户可指示拐出点与交点之间的距离(交点是第一CP运动轨迹段和第二CP运动轨迹段的交点),拐入点与交点之间的距离与拐出点与交点之间的距离相等,这样,就可确定出拐入点和拐出点。
需要说明的是,对于连续的多段CP运动轨迹段,可针对每两个连续的CP运动轨迹段执行上述401部分和402部分。例如,对于连续的三段CP运动轨迹段1-3,可先规划出CP运动轨迹段1-2之间的平滑过渡轨迹段,再规划出CP运动轨迹段2-3之间的平滑过渡轨迹段。
下面结合附图5,对本发明的实施例提供的方案进行说明。
图5为本发明实施例提供的机器人运动轨迹规划方法的另一示例性流程图。
在500部分:规划连续的CP运动轨迹段。
连续的CP运动轨迹段也是需要预先规划的。500部分是后续501部分和502部分的基础。
在一个示例中,可一次性规划出所需的所有CP运动轨迹段。例如,一共需要连续的4个CP运动轨迹段以完成机器人的某个操作,则可一次性规划出4个连续的CP运动轨迹段。
在另一个示例中,也可分批次规划出所需的所有CP运动轨迹段。仍以需要连续的CP运动轨迹段1-4以完成机器人的某个操作为例,可先规划CP运动轨迹段1-2,然后,执行后续的501部分和502部分,以得到CP运动轨迹段1-2之间的平滑过渡轨迹段。之后,再规划出CP运动轨迹段3,再执行后续的501部分和502部分,以得到CP运动轨迹段2-3之间的平滑过渡轨迹段,以此类推。
在又一个示例中,也可采用前瞻X段的方式进行规划,X一般取3。以需要连续的CP运动轨迹段1-8以完成机器人的某个操作为例,可先规划CP运动轨迹段1-2,然后,执行后续的501部分和502部分,以得到CP运动轨迹段1-2之间的平滑过渡轨迹段。之后,再规划出CP运动轨迹段3,再执行后续的501部分和502部分,以得到CP运动轨迹段2-3之间的平滑过渡轨迹段。然后,等CP运动轨迹段1运行完后,再规划出CP运动轨迹段4,然后,执行后续的501部分和502部分,以得到CP运动轨迹段3-4之间的平滑过渡轨迹段。再等CP运动轨迹段2运行完后,规划出CP运动轨迹段5,然后,执行后续的501部分和502部分,以得到CP运动轨迹段4-5之间的平滑过渡轨迹段,以此类推。
在501部分:根据第一CP运动轨迹段和第二CP运动轨迹段确定n次(n不小于4)Bezier曲线的特征点。
501部分与401部分相类似,在此不作赘述。
在502部分:根据上述特征点构建n次(n不小于4)Bezier曲线,作为第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段。
502部分与402部分相类似,在此不作赘述。
前已述及,n=4时,有五个特征点,n=5时,有六个特征点。在n=4的情况下,中间点的确定,与n=5时,中间点的确定并不相同。并且,在实际应 用中,第一CP运动轨迹段和第二CP运动轨迹段可分别为:直线段与直线段、直线段与圆弧段、圆弧段与直线段、圆弧段与圆弧段四种情况。下面将分情况,对本发明的实施例做进一步说明。
图6a为n=4且第一CP运动轨迹段和第二CP运动轨迹段分别为直线段时,本发明实施例提供的又一种机器人运动轨迹规划方法示例性流程图。图6b显示的是第一CP运动轨迹段(lc)和第二CP运动轨迹段(ln)以及平滑过渡轨迹段。lc轨迹段和ln轨迹段相交于交点O。
在601部分:确定lc轨迹段的拐出点为平滑过渡轨迹段的起始点P0,确定ln轨迹段的拐入点为平滑过渡轨迹段的终止点P4
在602部分:确定交点O为(第二)中间点P2
前已证明,n次(4次)Bezier曲线在起始点的曲率与相邻的3个特征点(P0、P1、P2)相关,在终止点处的曲率也与相邻的3个特征点(P2、P3和P4)有关,则P2点同时需要与P0、P1、P3和P4共面,因此,选择交点O作为P2
在603部分:选择线段P0O(也即交点O和起始点P0之间的线段)上的一点作为(第一)中间点P1;线段P0O是交点O和起始点P0之间的线段。
在一个示例中,中间点P1到交点O的距离,等于其到起始点P0的距离。因此,在求解P1坐标时,可使P0P1=P1O,进而获得P1点坐标。P0P1=P1O可以使特征点分布均匀,特征点均匀分布则可以使Beizer曲线的参数均匀,轨迹曲率变化平稳。
在604部分:选择线段O P4上的一点作为(第三)中间点P3
线段O P4是交点O和终止点P4之间的线段。
在一个示例中,中间点P3到交点O的距离,等于中间点P3到终止点P4的距离。因此,在求解P3坐标时,可使P3P4=P3O,从而获得P3点坐标。
在605部分:根据上述特征点构建四次Bezier曲线,作为第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段(图6b虚线部分即为平滑过渡轨迹段)。
605部分与前述的402和502部分相类似,在此不作赘述。
请参见图6c,通过图6a所示的方法,在始末点曲率皆为0,进而实现在拐点处加速度连续。
图7a为n=4且第一CP运动轨迹段为直线段、第二CP运动轨迹段为圆 弧段时,本发明实施例提供的又一种机器人运动轨迹规划方法示例性流程图。图7b显示的是第一CP运动轨迹段(lc)和第二CP运动轨迹段(ln)以及平滑过渡轨迹段。
在701部分:确定lc轨迹段的拐出点为平滑过渡轨迹段的起始点P0,确定ln轨迹段的拐入点为平滑过渡轨迹段的终止点P4
701部分与601部分相类似,在此不作赘述。
在702部分:确定交点O为(第二)中间点P2
702部分与602部分相类似,在此不作赘述。
在703部分:选择线段P0O(也即交点O和起始点P0之间的线段)上的一点作为中间点P1
703部分与603部分相类似,在此不作赘述。
在704部分:确定中间点P3位于终止点P4的切线上,并且,线段P3P4的长度为
Figure PCTCN2017070133-appb-000013
(可参见图7b)。
其中,r2表示ln轨迹段的半径,α2表示终止点P4处的圆心角。
公式
Figure PCTCN2017070133-appb-000014
的推导过程请参见图8a所示实施例。
在705部分:根据上述特征点构建四次Bezier曲线,作为第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段(图7b虚线部分即为平滑过渡轨迹段)。
705部分与前述的402、502和605部分相类似,在此不作赘述。
请参见图7c,通过图7a所示的方法,在起始点曲率为0,在终止点曲率为半径(50)的倒数0.02,进而实现在拐点处加速度连续。
图8a为n=4且第一CP运动轨迹段为圆弧段、第二CP运动轨迹段为直线段时,本发明实施例提供的又一种机器人运动轨迹规划方法示例性流程图。图8b显示的是第一CP运动轨迹段(lc)和第二CP运动轨迹段(ln)以及平滑过渡轨迹段。
在801部分,确定lc轨迹段的拐出点为平滑过渡轨迹段的起始点P0,确定ln轨迹段的拐入点为平滑过渡轨迹段的终止点P4
801部分与601、701部分相类似,在此不作赘述。
在802部分:确定交点O为(第二)中间点P2
802部分与602、702部分相类似,在此不作赘述。
在803部分:确定中间点P1位于起始点P0的切线上,并且,线段P1P0的长度为
Figure PCTCN2017070133-appb-000015
其中,r1表示lc轨迹段的半径,α1表示起始点的圆心角。
下面讲述公式
Figure PCTCN2017070133-appb-000016
Figure PCTCN2017070133-appb-000017
的由来。
请参见图8c,有两条连续CP运动轨迹段,前一段为圆弧段,后一段为直线段,点A为交点,点C为拐出点,圆弧段半径为r,拐出点处的圆心角为α。根。
B点为P1点或P3点,B点位于圆弧在点C处的切线上,并满足n次Bezier曲线在起始点处(即C点)曲率等于圆弧曲率。已知圆弧段的曲率为半径的倒数,则列等式:
Figure PCTCN2017070133-appb-000018
其中:
n为Bezier曲线次数;
∠θ为向量AB与向量BC的夹角。
建立直角三角形ABD,得|AB|·sinθ=AD=r-r·cosα。
化简等式两边得到
Figure PCTCN2017070133-appb-000019
在804部分:选择线段OP4上的一点作为中间点P3。线段OP4是交点O和终止点之间的线段。
804部分与604部分相类似,在此不作赘述。
在805部分:根据上述特征点构建四次Bezier曲线,作为第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段(图8b虚线部分即为平滑过渡轨迹段)。
805部分与前述的402、502、605和705部分相类似,在此不作赘述。
图9a为n=4且第一CP运动轨迹段和第二CP运动轨迹段均为圆弧段时,本发明实施例提供的又一种机器人运动轨迹规划方法示例性流程图。图9b显示的是第一CP运动轨迹段(lc)和第二CP运动轨迹段(ln)以及平滑过渡轨迹段。
在901部分,确定lc轨迹段的拐出点为平滑过渡轨迹段的起始点P0,确定ln轨迹段的拐入点为平滑过渡轨迹段的终止点P4
901部分与601、701、801部分相类似,在此不作赘述。
在902部分:确定交点O为(第二)中间点P2
902部分与602、702和802部分相类似,在此不作赘述。
在903部分:确定中间点P1位于起始点P0的切线上,并且,线段P1P0的长度为
Figure PCTCN2017070133-appb-000020
903部分与803部分相类似,在此不作赘述。
在904部分:确定中间点P3位于终止点P4的切线上,并且,线段P3P4的长度为
Figure PCTCN2017070133-appb-000021
(可参见图9b)。
其中,r2表示ln轨迹段的半径,α2表示终止点P4处的圆心角。
904部分与704部分相类似,在此不作赘述。
在905部分:根据上述特征点构建四次Bezier曲线,作为第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段(图9b虚线部分即为平滑过渡轨迹段)。
905部分与前述的402、502、605、705、805部分相类似,在此不作赘述。
请参见图9c,通过图9a所示的方法,在始末点曲率皆为半径(50)的倒数0.02,进而实现在拐点处加速度连续。
考虑到四次Bezier曲线的五个控制点中,P2点选择两轨迹交点,自由度不够。为了使平滑轨迹可调,增加更多的选择,可以把四次Bezier曲线升阶为五次Bezier曲线。
下面将介绍基于五次Bezier曲线的运动轨迹规划方法。五次Bezier曲线的公式为:
B(t)=P0(1-t)5+5P1t(1-t)4+10P2t2(1-t)3+10P3t3(1-t)2...+5P4t4(1-t)+P5t5,t∈[0,1]
图10a为n=5且第一CP运动轨迹段和第二CP运动轨迹段分别为圆弧段时,本发明实施例提供的又一种机器人运动轨迹规划方法示例性流程图。图10b显示的是第一CP运动轨迹段(lc)和第二CP运动轨迹段(ln)以及平滑过渡轨迹段,lc轨迹段和ln轨迹段相交于交点O。特征点包括P0、P1、P2、P3、P4和P5,其中,P0为起始点、P5为终止点,P1至P4为第一至第四中间点。
在1001部分:确定lc轨迹段的拐出点为平滑过渡轨迹段的起始点P0,确定ln轨迹段的拐入点为平滑过渡轨迹段的终止点P5
1001部分与601、701、801、901部分相类似,在此不作赘述。
在1002部分:确定(第一)中间点P1位于起始点P0的切线上,并且,线段P1P0的长度为
Figure PCTCN2017070133-appb-000022
其中,r1表示lc轨迹段的半径,α1表示起始点的圆心角。
1002部分与803部分相类似,在此不作赘述。
在1003部分:确定(第二)中间点P2为,以起始点P0和交点O为端点的圆弧段(该圆弧段属于lc轨迹段的一部分)上的三等分点。
由于三等分点有两个,在一个示例中,可选取靠近交点的三等分点作为中间点P2
在1004部分:确定第四中间点P4位于终止点P5的切线上,并且,线段P4P5的长度为
Figure PCTCN2017070133-appb-000023
其中,r2表示ln轨迹段的半径,α2表示终止点处的圆心角。
1004部分与904部分相类似,在此不作赘述。
在1005部分:确定(第三)中间点P3端点为,以终止点P5和交点O为端点的圆弧段(该圆弧段属于ln轨迹段的一部分)上的三等分点。
由于三等分点有两个,在一个示例中,可选取靠近交点的三等分点作为中间点P3
在1006部分:根据上述特征点构建五次Bezier曲线,作为第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段(图10b虚线部分即为平滑过渡轨迹段)。
请参见图10c,通过图10a所示的方法,在始末点曲率皆为半径(50)的倒数0.02,进而实现在拐点处加速度连续。
图11a为n=5且第一CP运动轨迹段为直线段,第二CP运动轨迹段为圆弧段时,本发明实施例提供的又一种机器人运动轨迹规划方法示例性流程图。图11b显示的是第一CP运动轨迹段(lc)和第二CP运动轨迹段(ln)以及平滑过渡轨迹段,lc轨迹段和ln轨迹段相交于交点O。
在1101部分:确定lc轨迹段的拐出点为平滑过渡轨迹段的起始点P0,确定ln轨迹段的拐入点为平滑过渡轨迹段的终止点P5
1101部分与601、701、801、901和1001部分相类似,在此不作赘述。
在1102部分:选择以起始点P0和交点O为端点的直线段上的三等分点 分别作为第一中间点P1和第二中间点P2
由于直线曲率为0,所以P0、P1、P2共线。
由于三等分点有两个,在一个示例中,可选取靠近交点的三等分点作为第二中间点P2,选择靠近起始点P0的三等分点作为第一中间点P1
在1103部分:确定第四中间点P4位于终止点P5的切线上,并且,线段P4P5的长度为
Figure PCTCN2017070133-appb-000024
其中,r2表示ln轨迹段的半径,α2表示终止点处的圆心角。
1103部分与904、1004部分相类似,在此不作赘述。
在1104部分:确定第三中间点P3端点为,以终止点和交点O为端点的圆弧段上的三等分点。
由于三等分点有两个,在一个示例中,可选取靠近交点的三等分点作为中间点P3
1104部分与1005部分相类似,在此不作赘述。
在1105部分:根据上述特征点构建五次Bezier曲线,作为第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段(图11b虚线部分即为平滑过渡轨迹段)。
请参见图11c,通过图11a所示的方法,在起始点曲率为0,在终止点曲率为半径(50)的倒数0.02,进而实现在拐点处加速度连续。
图12a为n=5且第一CP运动轨迹段为直线段,第二CP运动轨迹段为圆弧段时,本发明实施例提供的又一种机器人运动轨迹规划方法示例性流程图。
图12b显示的是第一CP运动轨迹段(lc)和第二CP运动轨迹段(ln)以及平滑过渡轨迹段,lc轨迹段和ln轨迹段相交于交点O。
在1201部分:确定lc轨迹段的拐出点为平滑过渡轨迹段的起始点P0,确定ln轨迹段的拐入点为平滑过渡轨迹段的终止点P5
1201部分与601、701、801、901、1001和1101部分相类似,在此不作赘述。
在1202部分:选择以起始点P0和交点O为端点的直线段上的三等分点分别作为(第一)中间点P1和第二中间点P2
1202部分与1102部分相类似,在此不作赘述。
在1203部分:选择以终止点P5和交点O为端点的直线段上的三等分点 分别作为第三中间点P3和第四中间点P4
由于直线曲率为0,所以P3、P4、P5共线。
由于三等分点有两个,在一个示例中,可选取靠近交点的三等分点作为第三中间点P3,选择靠近终止点P5的三等分点作为第四中间点P4
在1204部分:根据上述特征点构建五次Bezier曲线,作为第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段(图12b虚线部分即为平滑过渡轨迹段)。
请参见图12c,通过图12a所示的方法,在始末点曲率皆为0,进而实现在拐点处加速度连续。
至于n=5且第一CP运动轨迹段为圆弧段和第二CP运动轨迹段为直线段时,平滑过渡轨迹段的起始点P0、终止点P5的确定方式可参见601、701、801、901、1001和1201部分,第一中间点P1和第二中间点P2的确定方式可参见1002部分和1003部分,第三中间点P3和第四中间点P4的确定方式可参见1203部分,在此不作赘述。
图13示出了上述实施例中所涉及的机器人运动轨迹规划装置的一种可能的结构示意图,包括:
特征点确定单元131,用于根据第一CP运动轨迹段和第二CP运动轨迹段确定n次(n不小于4)Bezier曲线的特征点。
平滑过渡轨迹构建单元132,用于根据所述特征点构建n次(n不小于4)Bezier曲线,作为所述第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段,所述平滑过渡轨迹段的起始点为所述第一CP运动轨迹段的拐出点,所述平滑过渡轨迹段的终止点为所述第二CP运动轨迹段的拐入点;其中,所述平滑过渡轨迹段与所述第一CP运动轨迹段在所述起始点上的切矢量方向相同且曲率相同;所述平滑过渡轨迹段与所述第二CP运动轨迹段在所述终止点上的切矢量方向相同且曲率相同。
此外,还可包括规划单元133,用于在所述特征点确定单元确定n次(n不小于4)Bezier曲线的特征点之前,规划连续的CP运动轨迹段。
其中,特征点确定单元131可用于执行图4所示的401部分、图5所示的501部分、图6a所示的601-604部分、图7a所示的701-704部分、图8a所示的801-804部分,图9a所示的901-904部分,图10a所示的1001-1005 部分,图11a所示的1101-1104部分,以及,图12a所示的1201-1203部分。
平滑过渡轨迹构建单元132可用于执行图4所示的402部分、图5所示的502部分、图6a所示的605部分、图7a所示的705部分、图8a所示的805部分,图9a所示的905部分,图10a所示的1006部分,图11a所示的1105部分,以及,图12a所示的1204部分。
规划单元133可用于执行图5所示的500部分。
图14示出了上述实施例中所涉及的机器人的一种可能的结构示意图,包括:
总线、控制器/处理器1、存储器2、通信接口3、输入设备4、输出设备5和被控器件6。处理器1、存储器2、通信接口3、输入设备4、输出设备5和被控器件6可通过总线相互连接。其中:
总线可包括一通路,在计算机系统各个部件之间传送信息。
控制器/处理器1(机器人运动轨迹规划装置)可以是通用处理器,例如通用中央处理器(CPU)、网络处理器(Network Processor,简称NP)、微处理器等,也可以是特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本发明方案程序执行的集成电路。还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。控制器/处理器1也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。
存储器2中保存有执行本发明技术方案的程序,还可以保存有操作系统和其他应用程序。具体地,程序可以包括程序代码,程序代码包括计算机操作指令。更具体的,存储器2可以是只读存储器(read-only memory,ROM)、可存储静态信息和指令的其他类型的静态存储设备、随机存取存储器(random access memory,RAM)、可存储信息和指令的其他类型的动态存储设备、磁盘存储器等等。
输入设备4可包括接收用户输入的数据和信息的装置,例如键盘、鼠标、摄像头、扫描仪、光笔、语音输入装置、触摸屏等。
输出设备5可包括允许输出信息给用户的装置,例如显示屏、打印机、扬声器等。
通信接口3可包括使用任何收发器一类的装置,以便与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(WLAN)等。
控制器/处理器1可用于执行图4、5、6a、7a、8a、9a、10a、11a、12a中涉及机器人运动轨迹规划装置的处理过程和/或用于本申请所描述的技术的其他过程。控制器/处理器也可用于实现前述特征点确定单元131、平滑过渡轨迹构建单元132和规划单元133的功能。
被控器件6可用于按照控制器/处理器1规划出的连续的两CP运动轨迹段及平滑过渡轨迹段运行。
可以理解的是,图14仅仅示出了机器人的简化设计。在实际应用中,机器人可以包含任意数量的发射器,接收器,处理器,控制器,存储器,通信接口等,而所有可以实现本发明的机器人都在本发明的保护范围之内。
上述所有实施例所公开的方法和装置可运用于机械臂控制中,实现机械臂在笛卡尔空间下两条连续运行轨迹中的平滑转接。当然也可以拓展到任何需要规划路径的设备中,如小车、飞行器等等。
结合本发明公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而 已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。

Claims (23)

  1. 一种机器人运动轨迹规划方法,其特征在于,至少用于实现连续的两CP运动轨迹段之间的平滑转接,所述连续的两CP运动轨迹段包括第一CP运动轨迹段和第二CP运动轨迹段;
    所述方法包括:
    根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点,n为不小于4的正整数;
    根据所述特征点构建n次Bezier曲线,作为所述第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段,所述平滑过渡轨迹段的起始点为所述第一CP运动轨迹段的拐出点,所述平滑过渡轨迹段的终止点为所述第二CP运动轨迹段的拐入点;
    其中,所述平滑过渡轨迹段与所述第一CP运动轨迹段在所述起始点上的切矢量方向相同且曲率相同;所述平滑过渡轨迹段与所述第二CP运动轨迹段在所述终止点上的切矢量方向相同且曲率相同。
  2. 如权利要求1所述的方法,其特征在于,在所述确定n次Bezier曲线的特征点之前,还包括:规划连续的CP运动轨迹段。
  3. 如权利要求1或2所述方法,其特征在于,
    所述n=4,所述特征点包括起始点P0、终止点P4,以及,第一至第三中间点P1、P2、P3;所述第一CP运动轨迹段和第二CP运动轨迹段的交点表示为O点;
    所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点包括:
    确定所述交点O为所述第二中间点P2
  4. 如权利要求3所述的方法,其特征在于,所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点还包括:
    若所述第一CP运动轨迹段为直线段,选择所述交点O和起始点P0之间的线段上的一点作为所述第一中间点P1
    若所述第一CP运动轨迹段为圆弧段,确定第一中间点P1位于起始点P0的切线上,并且,线段P1P0的长度为
    Figure PCTCN2017070133-appb-100001
    其中,r1表示所述第一CP运动轨迹段的半径,α1表示所述起始点处的圆心角。
  5. 如权利要求3或4所述的方法,其特征在于,所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点还包括:
    若所述第二CP运动轨迹段为直线段,选择所述交点O和终止点P4之间的线段上的一点作为所述第三中间点P3
    若所述第二CP运动轨迹段为圆弧段,确定所述第三中间点P3位于终止点P4的切线上,并且,线段P3P4的长度为
    Figure PCTCN2017070133-appb-100002
    其中,r2表示所述第二CP运动轨迹段的半径,α2表示终止点处的圆心角。
  6. 如权利要求1或2所述方法,其特征在于,
    所述n=5,所述特征点包括起始点P0、终止点P5以及第一至第四中间点P1、P2、P3、P4;所述第一CP运动轨迹段和第二CP运动轨迹段的交点表示为O点。
  7. 如权利要求6所述方法,其特征在于,所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点包括:
    若所述第一CP运动轨迹段为圆弧段,确定所述第一中间点P1位于所述起始点P0的切线上,并且,线段P1P0的长度为
    Figure PCTCN2017070133-appb-100003
    其中,r1表示所述第一CP运动轨迹段的半径,α1表示所述起始点处的圆心角;
    确定所述第二中间点P2为,以所述起始点P0和交点O为端点的圆弧段上的三等分点。
  8. 如权利要求6所述方法,其特征在于,所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点包括:
    若所述第一CP运动轨迹段为直线段,选择以所述起始点P0和交点O为端点的直线段上的三等分点分别作为第一中间点P1和第二中间点P2
  9. 如权利要求7或8所述方法,其特征在于,所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点还包括:
    若所述第二CP运动轨迹段为圆弧段,确定所述第三中间点P3为,以所述终止点和交点O为端点的圆弧段上的三等分点;
    确定所述第四中间点P4位于终止点P5的切线上,并且,线段P4P5的长度为
    Figure PCTCN2017070133-appb-100004
    其中,r2表示所述第二CP运动轨迹段的半径,α2表示所述终止点处的圆心角。
  10. 如权利要求7或8所述方法,其特征在于,所述根据所述第一CP运动 轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点还包括:
    若所述第二CP运动轨迹段为直线段,选择以所述终止点和交点O为端点的直线段上的三等分点分别作为所述第三中间点P3和第四中间点P4
  11. 一种机器人运动轨迹规划装置,其特征在于,至少用于实现连续的两CP运动轨迹段之间的平滑转接,所述连续的两CP运动轨迹段包括第一CP运动轨迹段和第二CP运动轨迹段;所述装置包括:
    特征点确定单元,用于根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点,n为不小于4的正整数;
    平滑过渡轨迹构建单元,用于根据所述特征点构建n次Bezier曲线,作为所述第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段,所述平滑过渡轨迹段的起始点为所述第一CP运动轨迹段的拐出点,所述平滑过渡轨迹段的终止点为所述第二CP运动轨迹段的拐入点;
    其中,所述平滑过渡轨迹段与所述第一CP运动轨迹段在所述起始点上的切矢量方向相同且曲率相同;所述平滑过渡轨迹段与所述第二CP运动轨迹段在所述终止点上的切矢量方向相同且曲率相同。
  12. 如权利要求11所述的装置,其特征在于,还包括:
    规划单元,用于在所述特征点确定单元确定n次Bezier曲线的特征点之前,规划连续的CP运动轨迹段。
  13. 如权利要求11或12所述装置,其特征在于,所述n=4,所述特征点包括起始点P0、终止点P4,以及,第一至第三中间点P1、P2、P3;所述第一CP运动轨迹段和第二CP运动轨迹段的交点表示为O点;
    在所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点的方面,所述平滑过渡轨迹构建单元用于:确定所述交点O为所述第二中间点P2
  14. 如权利要求13所述的装置,其特征在于,在所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点的方面,所述平滑过渡轨迹构建单元还用于:
    若所述第一CP运动轨迹段为直线段,选择所述交点O和起始点P0之间的线段上的一点作为所述第一中间点P1
    若所述第一CP运动轨迹段为圆弧段,确定第一中间点P1位于起始点P0的切线上,并且,线段P1P0的长度为
    Figure PCTCN2017070133-appb-100005
    其中,r1表示所述第一CP运动轨迹段的半径,α1表示所述起始点处的圆心角。
  15. 如权利要求13或14所述的装置,其特征在于,在所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点的方面,所述平滑过渡轨迹构建单元还用于:
    若所述第二CP运动轨迹段为直线段,选择所述交点O和终止点P4之间的线段上的一点作为所述第三中间点P3
    若所述第二CP运动轨迹段为圆弧段,确定所述第三中间点P3位于终止点P4的切线上,并且,线段P3P4的长度为
    Figure PCTCN2017070133-appb-100006
    其中,r2表示所述第二CP运动轨迹段的半径,α2表示终止点处的圆心角。
  16. 如权利要求11或12所述的装置,其特征在于,所述n=5,所述特征点包括起始点P0、终止点P5以及第一至第四中间点P1、P2、P3、P4;所述第一CP运动轨迹段和第二CP运动轨迹段的交点表示为O点。
  17. 如权利要求16所述的装置,其特征在于,在所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点的方面,所述平滑过渡轨迹构建单元用于:
    若所述第一CP运动轨迹段为圆弧段,确定所述第一中间点P1位于所述起始点P0的切线上,并且,线段P1P0的长度为
    Figure PCTCN2017070133-appb-100007
    其中,r1表示所述第一CP运动轨迹段的半径,α1表示所述起始点处的圆心角;
    确定所述第二中间点P2为,以所述起始点P0和交点O为端点的圆弧段上的三等分点。
  18. 如权利要求16所述的装置,其特征在于,在所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点的方面,所述平滑过渡轨迹构建单元用于:若所述第一CP运动轨迹段为直线段,选择以所述起始点P0和交点O为端点的直线段上的三等分点分别作为第一中间点P1和第二中间点P2
  19. 如权利要求17或18所述的装置,其特征在于,在所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点的方面,所述平滑过渡轨迹构建单元还用于:
    若所述第二CP运动轨迹段为圆弧段,确定所述第三中间点P3为,以所述终止点和交点O为端点的圆弧段上的三等分点;
    确定所述第四中间点P4位于终止点P5的切线上,并且,线段P4P5的长度为
    Figure PCTCN2017070133-appb-100008
    其中,r2表示所述第二CP运动轨迹段的半径,α2表示所述终止点处的圆心角。
  20. 如权利要求17或18所述的装置,其特征在于,在所述根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点的方面,所述平滑过渡轨迹构建单元还用于:若所述第二CP运动轨迹段为直线段,选择以所述终止点和交点O为端点的直线段上的三等分点分别作为所述第三中间点P3和第四中间点P4
  21. 一种机器人运动轨迹规划装置,其特征在于,至少用于实现连续的两CP运动轨迹段之间的平滑转接,所述连续的两CP运动轨迹段包括第一CP运动轨迹段和第二CP运动轨迹段;
    所述装置包括:处理器和存储器,所述处理器通过运行存储在所述存储器内的软件程序、调用存储在所述存储器内的数据,至少执行如下步骤:
    根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点,n为不小于4的正整数;
    根据所述特征点构建n次Bezier曲线,作为所述第一CP运动轨迹段和第二CP运动轨迹段之间的平滑过渡轨迹段,所述平滑过渡轨迹段的起始点为所述第一CP运动轨迹段的拐出点,所述平滑过渡轨迹段的终止点为所述第二CP运动轨迹段的拐入点;
    其中,所述平滑过渡轨迹段与所述第一CP运动轨迹段在所述起始点上的切矢量方向相同且曲率相同;所述平滑过渡轨迹段与所述第二CP运动轨迹段在所述终止点上的切矢量方向相同且曲率相同。
  22. 一种机器人,其特征在于,包括机器人运动轨迹规划装置和被控器件,其中:
    所述机器人运动轨迹规划装置用于:根据所述第一CP运动轨迹段和第二CP运动轨迹段确定n次Bezier曲线的特征点,n为不小于4的正整数;根据所述特征点构建n次Bezier曲线,作为所述第一CP运动轨迹段和第二CP运 动轨迹段之间的平滑过渡轨迹段,所述平滑过渡轨迹段的起始点为所述第一CP运动轨迹段的拐出点,所述平滑过渡轨迹段的终止点为所述第二CP运动轨迹段的拐入点;其中,所述平滑过渡轨迹段与所述第一CP运动轨迹段在所述起始点上的切矢量方向相同且曲率相同;所述平滑过渡轨迹段与所述第二CP运动轨迹段在所述终止点上的切矢量方向相同且曲率相同;
    所述被控器件用于:按照所述机器人运动轨迹规划装置规划出的连续的两CP运动轨迹段及平滑过渡轨迹段运行。
  23. 如权利要求22所述的机器人,其特征在于,所述被控器件具体为:操作臂。
PCT/CN2017/070133 2017-01-04 2017-01-04 机器人运动轨迹规划方法及相关装置 WO2018126355A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780002229.0A CN107980108B (zh) 2017-01-04 2017-01-04 机器人运动轨迹规划方法及相关装置
PCT/CN2017/070133 WO2018126355A1 (zh) 2017-01-04 2017-01-04 机器人运动轨迹规划方法及相关装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/070133 WO2018126355A1 (zh) 2017-01-04 2017-01-04 机器人运动轨迹规划方法及相关装置

Publications (1)

Publication Number Publication Date
WO2018126355A1 true WO2018126355A1 (zh) 2018-07-12

Family

ID=62006173

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/070133 WO2018126355A1 (zh) 2017-01-04 2017-01-04 机器人运动轨迹规划方法及相关装置

Country Status (2)

Country Link
CN (1) CN107980108B (zh)
WO (1) WO2018126355A1 (zh)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502010A (zh) * 2019-08-15 2019-11-26 同济大学 一种基于贝塞尔曲线的移动机器人室内自主导航控制方法
CN111127590A (zh) * 2019-12-26 2020-05-08 新奥数能科技有限公司 一种二阶贝塞尔曲线绘制方法及装置
TWI716127B (zh) * 2019-10-01 2021-01-11 東元電機股份有限公司 機器人及其路徑插值規劃命令產生系統
CN112621739A (zh) * 2019-10-08 2021-04-09 东元电机股份有限公司 机器人及其路径插值规划命令产生系统
CN113467498A (zh) * 2021-07-14 2021-10-01 西北工业大学 一种基于Bezier-凸优化的运载火箭上升段轨迹规划方法
CN114234968A (zh) * 2021-12-17 2022-03-25 江西洪都航空工业集团有限责任公司 一种基于a星算法的移动机器人自主导航方法
CN114310921A (zh) * 2022-03-16 2022-04-12 珞石(北京)科技有限公司 一种最小曲率的直线过渡路径生成方法

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730934A (zh) * 2018-08-01 2020-01-24 深圳市大疆创新科技有限公司 轨迹切换的方法和装置
CN110370267B (zh) * 2018-09-10 2021-08-20 北京京东尚科信息技术有限公司 用于生成模型的方法和装置
WO2020093254A1 (zh) * 2018-11-06 2020-05-14 深圳配天智能技术研究院有限公司 机器人的运动控制方法、控制系统和存储装置
CN111684380B (zh) * 2018-11-06 2023-07-04 深圳配天智能技术研究院有限公司 机器人的运动控制方法、控制系统和存储装置
CN109828599B (zh) * 2019-01-08 2020-12-15 苏州极目机器人科技有限公司 飞行器作业路径规划方法以及控制装置和控制设备
CN109773791B (zh) * 2019-01-31 2020-05-15 北京华航唯实机器人科技股份有限公司 路径生成方法及装置
CN109884979B (zh) * 2019-01-31 2020-02-21 北京华航唯实机器人科技股份有限公司 设备运动点的处理方法及装置
CN110488758B (zh) * 2019-08-09 2021-05-25 南京埃斯顿自动化股份有限公司 一种基于PLCopen规范的轨迹过渡方法
CN110749332B (zh) * 2019-10-18 2021-04-20 广州文远知行科技有限公司 Rs曲线的曲率优化方法、装置、计算机设备及存储介质
CN111522353B (zh) * 2020-06-05 2023-01-31 深圳市道通智能航空技术股份有限公司 一种无人机制导方法、无人机及存储介质
CN114055459B (zh) * 2020-08-06 2023-05-02 库卡机器人(广东)有限公司 轨迹规划的方法、装置、电子设备及存储介质
CN112731933A (zh) * 2020-12-24 2021-04-30 江苏新冠亿科技有限公司 一种自主规划路径的agv跟踪控制方法、设备及存储介质
CN112861238B (zh) * 2021-03-02 2024-03-22 广联达科技股份有限公司 生成道路轮廓线的方法、装置、设备及可读存储介质
CN115705054A (zh) * 2021-08-11 2023-02-17 灵动科技(北京)有限公司 用于移动机器人的路径规划方法及程序产品
CN113741336A (zh) * 2021-09-10 2021-12-03 上海景吾智能科技有限公司 基于实时运动的笛卡尔空间轨迹规划方法和系统
CN115509240A (zh) * 2022-11-21 2022-12-23 合肥井松智能科技股份有限公司 一种基于可通行区域的路径规划方法
CN116149260B (zh) * 2023-01-31 2024-04-05 苏州浩智工业控制技术有限公司 3c金属加工中圆弧与圆弧平滑过渡的方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207736A (zh) * 2010-03-31 2011-10-05 中国科学院自动化研究所 基于贝塞尔曲线的机器人路径规划方法及装置
CN103907068A (zh) * 2011-09-02 2014-07-02 布鲁克斯自动化公司 用于机器人传送装置的时间最佳轨迹
CN104808688A (zh) * 2015-04-28 2015-07-29 武汉大学 一种无人机曲率连续可调路径规划方法
CN105573315A (zh) * 2015-12-01 2016-05-11 珞石(北京)科技有限公司 用于工业机器人的笛卡尔空间轨迹的几何平滑方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102010012750A1 (de) * 2010-03-25 2011-09-29 Kuka Laboratories Gmbh Verfahren zum Betreiben eines holonomen/omnidirektionalen Flurförderfahrzeugs
KR101196374B1 (ko) * 2011-02-28 2012-11-05 한국과학기술연구원 이동 로봇의 경로 생성 시스템
CN103528585B (zh) * 2013-09-26 2016-05-25 中北大学 一种不等距分割可通行区域的路径规划方法
CN105435997A (zh) * 2015-12-14 2016-03-30 江苏大学 基于Bézier曲线的喷涂机器人路径规划方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207736A (zh) * 2010-03-31 2011-10-05 中国科学院自动化研究所 基于贝塞尔曲线的机器人路径规划方法及装置
CN103907068A (zh) * 2011-09-02 2014-07-02 布鲁克斯自动化公司 用于机器人传送装置的时间最佳轨迹
CN104808688A (zh) * 2015-04-28 2015-07-29 武汉大学 一种无人机曲率连续可调路径规划方法
CN105573315A (zh) * 2015-12-01 2016-05-11 珞石(北京)科技有限公司 用于工业机器人的笛卡尔空间轨迹的几何平滑方法

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502010B (zh) * 2019-08-15 2021-06-04 同济大学 一种基于贝塞尔曲线的移动机器人室内自主导航控制方法
CN110502010A (zh) * 2019-08-15 2019-11-26 同济大学 一种基于贝塞尔曲线的移动机器人室内自主导航控制方法
TWI716127B (zh) * 2019-10-01 2021-01-11 東元電機股份有限公司 機器人及其路徑插值規劃命令產生系統
CN112621739B (zh) * 2019-10-08 2022-03-15 东元电机股份有限公司 机器人及其路径插值规划命令产生系统
CN112621739A (zh) * 2019-10-08 2021-04-09 东元电机股份有限公司 机器人及其路径插值规划命令产生系统
CN111127590A (zh) * 2019-12-26 2020-05-08 新奥数能科技有限公司 一种二阶贝塞尔曲线绘制方法及装置
CN111127590B (zh) * 2019-12-26 2023-06-20 新奥数能科技有限公司 一种二阶贝塞尔曲线绘制方法及装置
CN113467498A (zh) * 2021-07-14 2021-10-01 西北工业大学 一种基于Bezier-凸优化的运载火箭上升段轨迹规划方法
CN113467498B (zh) * 2021-07-14 2022-07-01 西北工业大学 一种基于Bezier-凸优化的运载火箭上升段轨迹规划方法
CN114234968A (zh) * 2021-12-17 2022-03-25 江西洪都航空工业集团有限责任公司 一种基于a星算法的移动机器人自主导航方法
CN114234968B (zh) * 2021-12-17 2023-12-05 江西洪都航空工业集团有限责任公司 一种基于a星算法的移动机器人自主导航方法
CN114310921A (zh) * 2022-03-16 2022-04-12 珞石(北京)科技有限公司 一种最小曲率的直线过渡路径生成方法
CN114310921B (zh) * 2022-03-16 2022-06-10 珞石(北京)科技有限公司 一种最小曲率的直线过渡路径生成方法

Also Published As

Publication number Publication date
CN107980108A (zh) 2018-05-01
CN107980108B (zh) 2021-07-09

Similar Documents

Publication Publication Date Title
WO2018126355A1 (zh) 机器人运动轨迹规划方法及相关装置
WO2018126354A1 (zh) 机器人运动轨迹规划方法及相关装置
CN108594815B (zh) 一种分阶段的轮式机器人移动路径规划方法
WO2017219639A1 (zh) 一种机械臂的运动轨迹规划方法、装置及机器人
JP2019517929A (ja) ロボット関節空間におけるポイントツーポイント移動の軌跡計画方法
JP6157781B1 (ja) 工具経路修正装置および工具経路修正方法
WO2017219640A1 (zh) 一种机械臂的轨迹规划方法及装置
Palmieri et al. A novel RRT extend function for efficient and smooth mobile robot motion planning
WO2018086226A1 (zh) 机械臂的控制方法和装置
WO2017113195A1 (zh) 一种加工路径规划方法、加工路径规划装置及数控机床
WO2020135607A1 (zh) 工业机器人的空间轨迹过渡方法、系统及机器人
WO2020093253A1 (zh) 机器人的运动控制方法、控制系统和存储装置
WO2018205276A1 (zh) 运动轨迹平滑转接的方法和装置及其相关设备
CN107615194A (zh) 加工轨迹平滑转接的方法及加工装置
WO2022161315A1 (zh) 机器人路径规划方法、运行方法、机器人以及介质
EP3486612A1 (en) Method for generating a trajectory
CN109623825A (zh) 一种移动轨迹规划方法、装置、设备和存储介质
CN111857037B (zh) 一种过渡轨迹的生成方法、机器人及计算机可读存储介质
WO2024041646A1 (zh) 一种多轴设备的关节空间轨迹的规划方法及装置
WO2024041647A1 (zh) 一种笛卡尔空间的轨迹规划方法及装置
CN116610070B (zh) 基于笛卡尔空间的轨迹匀速过渡方法和装置
CN112405527A (zh) 工件表面圆弧轨迹加工方法及相关装置
WO2018119759A1 (zh) 机器人运动控制方法及相关装置
JP2016049607A (ja) ロボット装置、ロボット装置の制御方法、プログラム及び記録媒体
Fujii et al. Realtime trajectory smoothing with neural nets

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17889954

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17889954

Country of ref document: EP

Kind code of ref document: A1