WO2023124339A1 - Path planning method, motion control method and computer program product - Google Patents

Path planning method, motion control method and computer program product Download PDF

Info

Publication number
WO2023124339A1
WO2023124339A1 PCT/CN2022/123040 CN2022123040W WO2023124339A1 WO 2023124339 A1 WO2023124339 A1 WO 2023124339A1 CN 2022123040 W CN2022123040 W CN 2022123040W WO 2023124339 A1 WO2023124339 A1 WO 2023124339A1
Authority
WO
WIPO (PCT)
Prior art keywords
point
path
mobile robot
parking
curvature
Prior art date
Application number
PCT/CN2022/123040
Other languages
French (fr)
Chinese (zh)
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 灵动科技(北京)有限公司
Publication of WO2023124339A1 publication Critical patent/WO2023124339A1/en

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
    • G05D1/0221Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving a learning process
    • 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
    • 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
    • G05D1/0214Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory in accordance with safety or protection criteria, e.g. avoiding hazardous areas
    • 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
    • G05D1/0219Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory ensuring the processing of the whole working surface

Definitions

  • the present invention relates to the field of mobile robots, especially the field of motion control of mobile robots, and in particular to a path planning method for mobile robots, a corresponding motion control method for mobile robots and corresponding computer program products.
  • mobile robots are more and more widely used in various industrial and domestic environments.
  • mobile robots such as automated guided vehicles (AGVs), autonomous mobile robots (AMRs), and forklifts are one of the key equipment in modern logistics systems.
  • AGVs automated guided vehicles
  • AMRs autonomous mobile robots
  • forklifts are one of the key equipment in modern logistics systems.
  • Mobile robots can move and dock to target locations according to path planning and job requirements to complete tasks such as material handling and delivery.
  • Path planning is the key in the motion control of mobile robots.
  • the known parking path planning methods have problems such as sudden curvature changes, inaccurate poses, complex calculations, and specific requirements for the poses of the starting point of the path.
  • a parking path planning algorithm using Dubins curves for path planning wherein the planned path consists of three sections: an arc, a straight line and another arc, or three arcs with alternating directions.
  • the curvature of the planned path is not necessarily continuous, which is not conducive to the accurate docking of the mobile wheel robot.
  • the object of the present invention is to provide an improved path planning method and corresponding motion control method for a mobile robot, to overcome at least one deficiency of the prior art.
  • a path planning method for a mobile robot includes the following steps:
  • S12 Determine point C 1 and point C 3 such that the vector The direction of is the same as the direction of the mobile robot at the starting point A, and the vector The direction of is the same as that of the mobile robot at the end point B;
  • S14 Determine the first path with the starting point A as the starting point and the point C2 as the ending point, and determine the second path with the point C2 as the starting point and the ending point B as the ending point, wherein the first path and the second path are third-order Bezier curves satisfying the following constraints:
  • the mobile robot satisfies the starting pose and starting curvature ⁇ 0 at the starting point A,
  • the mobile robot satisfies the end pose and end curvature ⁇ 1 at the end point B, and
  • the linear velocity direction and vector of the mobile robot at point C2 are the same and have a curvature of 0;
  • S15 The path formed by concatenating the first path and the second path is used as a planned path or a part of the planned path for the mobile robot.
  • point C 1 and point C 3 are determined in the following manner: point M is determined such that the vector The direction of is the same as the direction of the mobile robot at the starting point A, and the vector The direction of is the same as that of the mobile robot at the end point B; and the point C 1 is determined on the line segment AM, and the point C 3 is determined on the line segment MB.
  • step S13 a point on the line segment C 1 C 3 that can minimize the maximum absolute value of the curvature of the first path and the second path is selected as point C 2 .
  • step S13 the midpoint of the line segment C 1 C 3 is selected as the point C 2 .
  • the point C 1 , the point C 3 and the point C 2 are determined in such a way that the maximum absolute value of the curvature of the first path and the second path is minimized.
  • the first path is a curve represented by:
  • P′ p1x (s), P′ p1y (s), P′′ p1x (s), P′′ p1y (s), are respectively The first-order abscissa, ordinate and second-order derivative of the abscissa, ordinate, and
  • the second path is a curve represented by:
  • P′ p2x (s), P′ p2y (s), P′′ p2x (s), P′′ p2y (s), are respectively The first-order abscissa, ordinate and second-order abscissa, ordinate of the derivative;
  • the planned path is a planned path for the mobile robot to move to the target parking point T and park at the target parking point T with a desired parking posture, wherein the starting point A is the parking
  • the starting point of the planned path, the ending pose and the ending curvature ⁇ 1 are determined according to the desired parking pose.
  • the end point B is the end point of the planned parking path
  • the end point pose is determined to be the same as the expected berthing pose
  • the end point curvature ⁇ 1 0.
  • the end point B is a point different from said target berthing point T, wherein:
  • the direction of the mobile robot at the end point B is the same as the direction of the mobile robot at the target parking point T;
  • step S15 the path formed by concatenating the first path, the second path and the line segment BT is used as a parking planning path for moving the mobile robot to the target parking point T.
  • the mobile robot is a differential robot.
  • a motion control method for a mobile robot includes the following steps:
  • S22 Select a first point on the global path and a second point that is closer to the end point of the global path than the first point, with the first point as the starting point A and the second point as the end point B, and execute according to the present invention
  • the predetermined berthing area is a position that is pre-defined for the target berthing point T and covers the position of the target berthing point T Area.
  • the pose and/or curvature of the mobile robot at the starting point A is correspondingly the same as the pose and/or curvature of the mobile robot at the first point on the global path.
  • a motion control method for a mobile robot includes the following steps:
  • S31 Obtain a global path for the mobile robot, and control the mobile robot to move according to the global path;
  • the predetermined berthing area is an area defined in advance for the position of the target berthing point T and covering the position of the target berthing point T.
  • the pose and/or curvature of the mobile robot at the starting point A is correspondingly the same as the pose and/or curvature of the mobile robot at the current location.
  • a computer program product comprising computer program instructions, wherein when said computer program instructions are executed by one or more processors, said processors are capable of performing The inventive path planning method or the motion control method according to the invention.
  • the positive effect of the present invention is that: the path spliced by the first path and the second path is conducive to enabling the mobile robot to reach a specific position in a specific direction, and there is no special pose requirement for the starting point of the planned path, and it is relatively smooth, and has a continuous curvature.
  • the above-mentioned constraints on the first path and the second path are not only beneficial to obtain a smooth and continuous curvature path, but also facilitate the determination of the first path and the second path in a simple manner without complicated calculations.
  • Fig. 1 schematically shows that a path planning method is used to generate a planned path for a mobile robot in an exemplary embodiment of the present invention
  • Fig. 2 schematically shows a flow chart of a path planning method for a mobile robot according to an exemplary embodiment of the present invention
  • Fig. 3 schematically shows that a path planning method is used to generate a planned path for a mobile robot in an exemplary embodiment of the present invention
  • FIG. 4A and 4B schematically illustrate a planned path and its curvature generated by a path planning method according to an exemplary embodiment of the present invention
  • 5A and 5B schematically illustrate a planned path and its curvature generated by a path planning method according to an exemplary embodiment of the present invention
  • Fig. 6 schematically shows a flow chart of a motion control method for a mobile robot according to an exemplary embodiment of the present invention
  • FIG. 7 schematically shows a global path obtained by using a motion control method according to an exemplary embodiment of the present invention.
  • Fig. 8 schematically shows a flowchart of a motion control method for a mobile robot according to an exemplary embodiment of the present invention.
  • the present invention is applicable to mobile robots, which can be any robots capable of autonomous space movement, such as AGV, AMR and so on.
  • the mobile robot can be used to perform various tasks, such as a storage robot, a cleaning robot, a family escort robot, a welcome robot, and the like.
  • FIG. 1 schematically shows a planned path generated by a path planning method for a mobile robot 1 in an exemplary embodiment according to the present invention.
  • the mobile robot 1 is, for example, a differential robot, that is, the mobile robot 1 includes a differential wheel motion system.
  • the mobile robot 1 may also be other types of robots, such as a single steering wheel robot or a double steering wheel robot.
  • the mobile robot 1 can include, for example, a dual steering wheel kinematic system.
  • the mobile robot 1 includes, for example, a communication device for communicating with other devices, such as a dispatch control system.
  • the mobile robot 1 may also include sensors such as cameras, radars and the like.
  • the mobile robot 1 can acquire required information through the sensors, such as the current position of the mobile robot 1 or its surrounding environment and the like.
  • the mobile robot 1 further includes, for example, a controller.
  • the controller is used to move the components of the robot 1 , including for example the differential wheel kinematic system, sensors, communication means and the like.
  • the controller can also receive working status or detection data of corresponding components, such as sensors, through communication lines, so as to monitor or control the operation of the mobile robot 1 .
  • FIG. 1 exemplarily shows that the mobile robot 1 needs to move to a target docking point adjacent to the charging pile 2 in order to dock with the charging pile 2 for charging.
  • a path planning method according to the mobile robot 1 can be performed.
  • Fig. 2 schematically shows a flowchart of a path planning method for a mobile robot 1 according to an exemplary embodiment of the present invention.
  • the path planning method may include the following steps:
  • S12 Determine point C 1 and point C 3 such that the vector The direction of is the same as that of mobile robot 1 at the starting point A, and the vector The direction of is the same as that of mobile robot 1 at the end point B;
  • S14 Determine the first path 3 with the starting point A as the starting point and the point C2 as the ending point, and determine the second path 4 with the point C2 as the starting point and the ending point B as the ending point, wherein the first path 3 and The second path 4 is a third-order Bezier curve satisfying the following constraints:
  • mobile robot 1 satisfies the starting pose and starting curvature ⁇ 0 at the starting point A,
  • the mobile robot 1 satisfies the end pose and end curvature ⁇ 1 at the end point B, and
  • the linear velocity direction and vector of the mobile robot 1 at point C2 are the same and have a curvature of 0;
  • S15 The path formed by splicing the first path 3 and the second path 4 is used as a planned path or a part of the planned path for the mobile robot 1 .
  • the resulting planned path is beneficial for the mobile robot 1 to reach a specific location in a specific direction, and there is no special pose requirement for the starting point of the planned path. That is, arbitrary directions and arbitrary curvatures can be used as starting points as desired.
  • the path spliced by two third-order Bezier curves can make the parking planning path smoother.
  • the above-mentioned constraints on the first path 3 and the second path 4 are beneficial to make the curvature of the generated planned path smooth and have continuous curvature. This makes changes in the speed and acceleration of the mobile robot 1 more gradual.
  • a parking planning path with continuous curvature can be adapted particularly advantageously to the motion characteristics of the differential robot.
  • the above-mentioned constraints on the first path 3 and the second path 4 also facilitate the determination of the first path 3 and the second path 4 in a simple manner without complex calculations.
  • the pose of the mobile robot 1 at a certain point includes the position and orientation of the mobile robot 1 .
  • the pose of the mobile robot 1 can be expressed as (x, y, ⁇ ), for example, where x and y represent the horizontal and vertical coordinates of the mobile robot 1 respectively, and ⁇ represents the direction of the mobile robot 1 .
  • the mobile robot 1 can move forward or backward, so the direction of the mobile robot 1 at the starting point A can correspond to the "front" or "rear" direction of the mobile robot 1 .
  • the direction of the mobile robot 1 at the starting point A is the motion direction of the mobile robot 1 at the starting point A.
  • the planned path is a planned path for moving the mobile robot 1 to the target berthing point T and parked at the target berthing point T with a desired berthing posture, wherein the starting point A is The start point, end point pose and end point curvature ⁇ 1 of the parking planning path are determined according to the desired berthing pose.
  • the path planning method can be regarded as a parking path planning method for the mobile robot 1, which aims to plan a moving path for the mobile robot 1 to park at a specific target parking point in a specific direction .
  • the desired parking pose can be determined by the parking task of the mobile robot 1 . For example, for the mobile robot 1 that needs to be docked with the charging pile 2 , the desired parking pose can be determined according to the position and direction of the charging pile 2 and the docking direction required by the charging pile 2 .
  • the obtained parking planning path can enable the mobile robot 1 to start the parking planning path in any direction and any curvature, without making the mobile robot 1 stop first at the beginning of the parking planning path, and without making the mobile robot 1 stop at the beginning of the parking planning path. to adjust to a specific direction.
  • Such a parking planning path with continuous curvature is particularly advantageous for differential robots.
  • the path formed by splicing two third-order Bezier curves will make the parking planning path smoother.
  • the path formed by splicing the first path 3 and the second path 4 is used as a planned parking path for the mobile robot 1 .
  • the starting point A is the starting point of the parking planning path
  • the ending point B is the ending point of the parking planning path for the mobile robot 1 , ie, the target parking point T.
  • the end point B is the end point of the parking planning path
  • step S11 for example, the start pose and curvature ⁇ 0 of the mobile robot 1 at the start point A and the end pose and curvature ⁇ 1 at the end point B of the path can be obtained from other devices through a communication device.
  • the start pose and curvature ⁇ 0 of the mobile robot 1 at the start point A and the end pose and curvature ⁇ 1 at the end point B of the path can also be acquired by sensors.
  • points C 1 and C 3 are determined in step S12, for example, in the following manner: first, point M is determined such that the vector The direction of is the same as that of mobile robot 1 at the starting point A, and the vector The direction of is the same as that of the mobile robot 1 at the end point B; then, a point C 1 is determined on the line segment AM, and a point C 3 is determined on the line segment MB. In this way, at least the first path 3 and the second path 4 can be ensured to be within the range of the triangle AMB, which is conducive to generating a smoother planned berthing path.
  • points C1 and C3 are midpoints of line segment AM and line segment MB respectively, it can be further ensured that the first path 3 and the second path 4 are within the lower part of the triangle AMB, ie the trapezoid AC1C3B .
  • step S13 for example, the midpoint of the line segment C 1 C 3 may be selected as the point C 2 .
  • the first path 3 and the second path 4 with less curvature can be generated in a simple manner.
  • the first path 3 and the second path 4 may be determined in step S14.
  • the first path 3 can be represented by the following formula:
  • P′ p1x (s), P′ p1y (s), P′′ p1x (s), P′′ p1y (s), are respectively The first-order abscissa, ordinate and second-order abscissa, ordinate of the derivative;
  • the second path 4 can be represented by the following formula:
  • P′ p2x (s), P′ p2y (s), P′′ p2x (s), P′′ p2y (s), are respectively The first-order abscissa, ordinate and second-order abscissa, ordinate of the derivative;
  • the path planning method after determining the starting point A, the ending point B and the point C2 , it can be determined as The control points of the first path 3 and the second path 4 of the third-order Bezier curve. This process does not require complex calculations.
  • the path formed by splicing the first path 3 and the second path 4 may be used as a parking planning path or a part of the parking planning path for moving the mobile robot 1 to the target parking point.
  • the first path 3 and the second path 4 themselves have continuous curvature, and the spliced path formed by the first path 3 and the second path 4 also has a continuous curvature at the splicing point C 2 .
  • Fig. 3 schematically shows the use of a path planning method to generate a planned path in an exemplary embodiment of the present invention.
  • the mobile robot 1 needs to move to a target parking point T adjacent to the charging pile 2 in order to dock with the charging pile 2 for charging.
  • the end point B may not coincide with the target berthing point T of the berthing planning route.
  • the orientation of the mobile robot 1 at the end point B can be set to be the same as the vector in the same direction.
  • the direction of the mobile robot 1 at the end point B and the direction of the mobile robot at the target parking point T can be made the same.
  • the first path 3 and the second path 4 are generated. The difference is that, in step S15 , the path formed by concatenating the first path 3 , the second path 4 and the line segment BT is used as a parking planning path for moving the mobile robot 1 to the target parking point.
  • Fig. 4A and Fig. 4B schematically show a planned path and its curvature generated by a path planning method according to an exemplary embodiment of the present invention.
  • Points C 1 and C 3 can be determined according to the poses of the mobile robot 1 at the starting point A and the ending point B.
  • the points C1 and C3 may be set to be separated from the start point A and the end point B by a predetermined distance, respectively.
  • point C1 is separated from the starting point A by a predetermined first distance, such as 0.4m
  • point C3 is separated from the end point B by a predetermined second distance, such as 0.7m.
  • point C 2 can be determined on line segment C 1 C 3 .
  • point C 2 is determined to be the first quarter point on line segment C 1 C 3 . therefore,
  • FIG. 4B shows the curvature of the planned path spliced by the first path 3 and the second path 4 .
  • the maximum absolute value of the curvature of the resulting planned path will exceed 10.
  • Fig. 5A and Fig. 5B schematically show a planned path and its curvature generated by using the path planning method according to an exemplary embodiment of the present invention.
  • the difference between this embodiment and the embodiment shown in FIGS. 4A and 4B is that the position of the point C 2 on the line segment C 1 C 3 is different.
  • point C2 is determined as the midpoint of line segment C1C3 . Therefore,
  • FIG. 5B shows the curvature of the planned path spliced by the first path 3 and the second path 4 shown in FIG. 5A .
  • the maximum absolute value of the curvature of the resulting planned path will be less than 10.
  • a point on the line segment C 1 C 3 that can minimize the maximum absolute value of the curvature of the first path 3 and the second path 4 can be selected as point C 2 .
  • the line segment C 1 C 3 can be equally divided into n parts (n is an integer greater than 2), and the first path 3 and the second path 4 generated under the condition that each equalization point is taken as point C 2 can be compared The maximum absolute value of the curvature, and then the point C 2 that can obtain the maximum absolute value of the minimum curvature of the first path 3 and the second path 4 is taken as the final point C 2 .
  • points on the line segment C 1 C 3 may also be selected with a predetermined resolution, for example, one point is selected at intervals of 0.1 m on the line segment C 1 C 3 . Then compare the maximum absolute value of the curvature of the first path 3 and the second path 4 generated under the situation of using these points as point C 2 , and will be able to obtain the minimum value of the curvature of the first path 3 and the second path 4 The point C 2 with the largest absolute value is taken as the final point C 2 .
  • Those skilled in the art should understand that other ways can also be used to select a point on the line segment C 1 C 3 that can minimize the maximum absolute value of the curvature of the first path 3 and the second path 4 as the point C 2 .
  • the points C 1 , C 3 and Point C2 in steps S12 and S13, the points C 1 , C 3 and Point C2 . Similar to the above description about point C2 , those skilled in the art should understand that point C1 can be determined in a manner that minimizes the maximum absolute value of the curvature of the first path 3 and the second path 4 in various ways , point C 3 and point C 2 . For example, with the minimum maximum absolute value of the curvature of the first path 3 and the second path 4 as the optimization objective, the positions of point C 1 , point C 3 , and point C 2 are determined using an optimization algorithm.
  • Fig. 6 schematically shows a flowchart of a motion control method for a mobile robot 1 according to an exemplary embodiment of the present invention.
  • Fig. 7 schematically shows a replaced global path 5 obtained by using a motion control method according to an exemplary embodiment of the present invention.
  • the motion control method includes the following steps:
  • S22 Select a first point on the global path 5 and a second point closer to the end point of the global path 5 than the first point, with the first point as the starting point A and the second point as the end point B, and execute according to The path planning method of the present invention is used to obtain a planned path for the mobile robot 1;
  • the original global route 5 can be obtained by using any applicable known method, for example, it can be planned by the A-star algorithm.
  • various factors may need to be considered, such as obstacle avoidance, shortest time, etc.
  • the resulting global path 5 may not meet the pose requirements of the target parking point.
  • the mobile robot 1 moving according to the original global path 5 may not be able to park at the target parking point in an accurate direction, resulting in the inability of the mobile robot 1 to accurately dock with the charging pile 2, or causing the mobile robot 1 to have to carry out charging after reaching the target parking point. Additional pose adjustments. Utilizing the motion control method according to the present invention is beneficial for the mobile robot 1 to accurately park at a specific pose.
  • the features and advantages described above for the path planning method are also correspondingly applicable to the motion control method.
  • the motion control method can be carried out, for example, by means of a controller of the mobile robot 1 .
  • the original global path 5 for the mobile robot 1 can be planned, for example by means of a controller.
  • the global path 5 for the mobile robot 1 may also be obtained from other equipment, such as a dispatch control system, by means of a communication device.
  • the predetermined berthing area is an area pre-defined for the position of the target berthing point T and covering the position of the target berthing point T .
  • a dedicated charging area 6 can be set for the mobile robot 1 working in the warehouse, at least one charging pile 2 is arranged in the charging area 6, and the mobile robot 1 that needs to be charged can move to a specific charging position in the charging area 6 to Dock with charging pile 2 to charge.
  • the charging area 6 is a flat barrier-free area, that is, no equipment unrelated to charging is arranged in the charging area 6 , so that the mobile robot 1 can move relatively freely in the charging area 6 without encountering obstacles.
  • a parking area can be predetermined for the charging location for the mobile robot 1 , which is set, for example, as the entire charging area 6 . Delimiting the parking area in advance and selecting the starting point A in the predetermined parking area can make the mobile robot 1 move along a smoother parking planning path after entering the parking area. When the mobile robot 1 needs to be charged and enters the parking area, it can start to move according to the parking planning path.
  • the pose and/or curvature of the mobile robot 1 at the starting point A may be correspondingly the same as the pose and/or curvature of the mobile robot 1 at the first point on the global path 5 .
  • the planned parking path can be smoothly embedded into the original global path 5 , so that the mobile robot 1 does not need to stop at the beginning of the planned parking path, and does not need to adjust to a specific direction at the beginning of the planned parking path.
  • Fig. 8 schematically shows a flowchart of a motion control method for a mobile robot 1 according to an exemplary embodiment of the present invention.
  • the motion control method includes the following steps:
  • the planned path is a parking planning path for moving the mobile robot 1 to the target parking point T and parking at the target parking point T with a desired parking posture
  • Step S32 starts to be executed after being within the predetermined parking area corresponding to the target parking point T.
  • the predetermined parking area is an area defined in advance for the location of the target parking point T and covers the location of the target parking point T.
  • the pose and/or curvature of the mobile robot 1 at the starting point A may be correspondingly the same as the pose and/or curvature of the mobile robot 1 at the current location.
  • the motion control method according to the present invention has corresponding features and similar principles to the path planning method according to the present invention.
  • the features and advantages described above for the path planning method also apply correspondingly for the motion control method.
  • the present invention also relates to a computer program product comprising computer program instructions which, when executed by one or more processors, enable said processors to perform the path planning method or motion control method.
  • the computer program product can be stored in a computer-readable storage medium.
  • the computer-readable storage medium may include, for example, high-speed random access memory, and may also include non-volatile memory, such as a hard disk, internal memory, plug-in hard disk, smart memory card, secure digital card, flash memory card, at least one magnetic disk storage device, Flash memory devices, or other volatile solid-state storage devices.
  • the processor may be a central processing unit, or other general-purpose processors, digital signal processors, application-specific integrated circuits, off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • a general-purpose processor may be a microprocessor or any conventional processor or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manipulator (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

Provided are a path planning method for a mobile robot. The method comprises the following steps: acquiring a starting point pose and a starting point curvature τ0 at a starting point A, and an ending point pose and an ending point curvature τ1 at an ending point B; determining a point C1 and a point C3; determining a point C2 on a line segment C1C3; determining a first path and a second path, both of which are three-order Bezier curves that meet the following constraints: a mobile robot satisfying the starting point pose and the starting point curvature τ0 at the starting point A according to the first path, the mobile robot satisfying the ending point pose and the ending point curvature τ1 at the ending point B according to the second path, and according to the first path and the second path, the mobile robot having a linear velocity direction at the point C2 the same as a vector (A) and having a curvature of 0; and taking a path formed by splicing the first path and the second path as a planned path or a part of the planned path. Provided are a corresponding motion control method for a mobile robot, and a corresponding computer program product. By means of the present invention, a motion path of a mobile robot can be optimized.

Description

路径规划方法、运动控制方法及计算机程序产品Path planning method, motion control method and computer program product 技术领域technical field
本发明涉及移动机器人领域、尤其是移动机器人的运动控制领域,具体涉及一种用于移动机器人的路径规划方法、相应的用于移动机器人的运动控制方法以及相应的计算机程序产品。The present invention relates to the field of mobile robots, especially the field of motion control of mobile robots, and in particular to a path planning method for mobile robots, a corresponding motion control method for mobile robots and corresponding computer program products.
背景技术Background technique
随着经济快速增长、人力成本逐渐上升,移动机器人越来越广泛地应用于各种工业和家庭环境中。例如,自动引导车(AGV)、自主移动机器人(AMR)、叉车等移动机器人是现代物流系统的关键设备之一。移动机器人能够根据路径规划和作业要求运动并停靠到目标地点,以完成物料搬运输送等任务。路径规划是移动机器人的运动控制中的关键。With the rapid economic growth and rising labor costs, mobile robots are more and more widely used in various industrial and domestic environments. For example, mobile robots such as automated guided vehicles (AGVs), autonomous mobile robots (AMRs), and forklifts are one of the key equipment in modern logistics systems. Mobile robots can move and dock to target locations according to path planning and job requirements to complete tasks such as material handling and delivery. Path planning is the key in the motion control of mobile robots.
在移动机器人工作过程中,可能需要其以特定的方向到达特定的位置。然而,在现有的轨迹规划算法中,往往无法准确地实现这一点,或者必须通过预先停止移动机器人或预先调整移动机器人的方向才能实现。During the working process of the mobile robot, it may be required to reach a specific position in a specific direction. However, in existing trajectory planning algorithms, this is often not achieved accurately, or must be achieved by pre-stopping the mobile robot or pre-orienting the mobile robot.
特别是在移动机器人需要停泊对接的工作场景中,例如在移动机器人需要与充电桩对接、与产线对接或与货架对接的情况下,对接任务往往要求移动机器人以特定的位姿停泊。已知的停泊路径规划方法存在曲率突变、位姿不准确、计算复杂、对路径起点的位姿有特定要求等问题。例如,已知一种采用Dubins曲线来进行路径规划的停泊路径规划算法,其中,规划的路径由三段组成:一段弧、一段直线和另一段弧,或者是三段方向交替的弧。由此规划的路径曲率不一定连续,不利于移动轮机器人的准确对接。Especially in work scenarios where mobile robots need to be parked and docked, such as when mobile robots need to dock with charging piles, production lines or shelves, docking tasks often require mobile robots to be parked in a specific pose. The known parking path planning methods have problems such as sudden curvature changes, inaccurate poses, complex calculations, and specific requirements for the poses of the starting point of the path. For example, there is known a parking path planning algorithm using Dubins curves for path planning, wherein the planned path consists of three sections: an arc, a straight line and another arc, or three arcs with alternating directions. The curvature of the planned path is not necessarily continuous, which is not conducive to the accurate docking of the mobile wheel robot.
现有技术在对于移动机器人的路径规划和运动控制方面仍然存在诸多不足。There are still many deficiencies in the prior art in terms of path planning and motion control for mobile robots.
发明内容Contents of the invention
本发明的目的在于提供一种改进的用于移动机器人的路径规划方法和 相应的运动控制方法,以克服现有技术的至少一个不足。The object of the present invention is to provide an improved path planning method and corresponding motion control method for a mobile robot, to overcome at least one deficiency of the prior art.
根据本发明的第一方面,提供了一种用于移动机器人的路径规划方法,其中,所述路径规划方法包括以下步骤:According to a first aspect of the present invention, a path planning method for a mobile robot is provided, wherein the path planning method includes the following steps:
S11:获取移动机器人在起点A处的起点位姿和起点曲率τ 0以及在终点B处的终点位姿和终点曲率τ 1S11: Obtain the starting pose and starting curvature τ 0 of the mobile robot at the starting point A and the ending pose and ending curvature τ 1 at the ending point B;
S12:确定点C 1和点C 3,使得向量
Figure PCTCN2022123040-appb-000001
的方向与移动机器人在起点A处的方向相同,向量
Figure PCTCN2022123040-appb-000002
的方向与移动机器人在终点B处的方向相同;
S12: Determine point C 1 and point C 3 such that the vector
Figure PCTCN2022123040-appb-000001
The direction of is the same as the direction of the mobile robot at the starting point A, and the vector
Figure PCTCN2022123040-appb-000002
The direction of is the same as that of the mobile robot at the end point B;
S13:在线段C 1C 3上确定点C 2S13: Determine point C 2 on line segment C 1 C 3 ;
S14:确定以起点A为起始点、点C 2为终止点的第一路径,并且确定以点C 2为起始点、终点B为终止点的第二路径,其中,第一路径和第二路径均为满足下述约束的三阶贝塞尔曲线: S14: Determine the first path with the starting point A as the starting point and the point C2 as the ending point, and determine the second path with the point C2 as the starting point and the ending point B as the ending point, wherein the first path and the second path are third-order Bezier curves satisfying the following constraints:
根据第一路径,移动机器人在起点A处满足起点位姿和起点曲率τ 0According to the first path, the mobile robot satisfies the starting pose and starting curvature τ 0 at the starting point A,
根据第二路径,移动机器人在终点B处满足终点位姿和终点曲率τ 1,以及 According to the second path, the mobile robot satisfies the end pose and end curvature τ 1 at the end point B, and
根据第一路径和第二路径,移动机器人在点C 2处的线速度方向与向量
Figure PCTCN2022123040-appb-000003
相同并且曲率为0;以及
According to the first path and the second path, the linear velocity direction and vector of the mobile robot at point C2
Figure PCTCN2022123040-appb-000003
are the same and have a curvature of 0; and
S15:将第一路径与第二路径拼接而成的路径作为用于移动机器人的规划路径或规划路径的一部分。S15: The path formed by concatenating the first path and the second path is used as a planned path or a part of the planned path for the mobile robot.
在一个示例性实施例中,在步骤S12中,以下述方式确定点C 1和点C 3:确定点M,使得向量
Figure PCTCN2022123040-appb-000004
的方向与移动机器人在起点A处的方向相同,并且向量
Figure PCTCN2022123040-appb-000005
的方向与移动机器人在终点B处的方向相同;以及在线段AM上确定点C 1,在线段MB上确定点C 3
In an exemplary embodiment, in step S12, point C 1 and point C 3 are determined in the following manner: point M is determined such that the vector
Figure PCTCN2022123040-appb-000004
The direction of is the same as the direction of the mobile robot at the starting point A, and the vector
Figure PCTCN2022123040-appb-000005
The direction of is the same as that of the mobile robot at the end point B; and the point C 1 is determined on the line segment AM, and the point C 3 is determined on the line segment MB.
在一个示例性实施例中,在步骤S13中,在线段C 1C 3上选择能够使第一路径和第二路径的曲率的最大绝对值最小的点作为点C 2In an exemplary embodiment, in step S13 , a point on the line segment C 1 C 3 that can minimize the maximum absolute value of the curvature of the first path and the second path is selected as point C 2 .
在一个示例性实施例中,在步骤S13中,选择线段C 1C 3的中点作为点C 2In an exemplary embodiment, in step S13, the midpoint of the line segment C 1 C 3 is selected as the point C 2 .
在一个示例性实施例中,在步骤S12和S13中,以使第一路径和第二路径的曲率的最大绝对值最小的方式,确定点C 1、点C 3和点C 2In an exemplary embodiment, in steps S12 and S13, the point C 1 , the point C 3 and the point C 2 are determined in such a way that the maximum absolute value of the curvature of the first path and the second path is minimized.
在一个示例性实施例中,第一路径为由下式表示的曲线:In an exemplary embodiment, the first path is a curve represented by:
Figure PCTCN2022123040-appb-000006
Figure PCTCN2022123040-appb-000006
其中,
Figure PCTCN2022123040-appb-000007
依次表示贝塞尔曲线的四个控制点的坐标并且通过以下方式来确定:
in,
Figure PCTCN2022123040-appb-000007
In turn represent the coordinates of the four control points of the Bezier curve and are determined by:
Figure PCTCN2022123040-appb-000008
为起点A的坐标,
Figure PCTCN2022123040-appb-000009
为点C 2的坐标,
Figure PCTCN2022123040-appb-000008
is the coordinates of the starting point A,
Figure PCTCN2022123040-appb-000009
is the coordinates of point C2 ,
向量
Figure PCTCN2022123040-appb-000010
的方向与移动机器人在起点A处的方向相同,
vector
Figure PCTCN2022123040-appb-000010
The direction of is the same as that of the mobile robot at the starting point A,
向量
Figure PCTCN2022123040-appb-000011
的方向与向量
Figure PCTCN2022123040-appb-000012
的方向相同,
vector
Figure PCTCN2022123040-appb-000011
The direction and vector of
Figure PCTCN2022123040-appb-000012
in the same direction,
将s=0代入
Figure PCTCN2022123040-appb-000013
中,其中,P′ p1x(s)、P′ p1y(s)、P″ p1x(s)、P″ p1y(s)、分别是
Figure PCTCN2022123040-appb-000014
的一阶导横、纵坐标和二阶导横、纵坐标,以及
Substitute s=0 into
Figure PCTCN2022123040-appb-000013
Among them, P′ p1x (s), P′ p1y (s), P″ p1x (s), P″ p1y (s), are respectively
Figure PCTCN2022123040-appb-000014
The first-order abscissa, ordinate and second-order derivative of the abscissa, ordinate, and
将s=1代入
Figure PCTCN2022123040-appb-000015
中;
Substitute s=1 into
Figure PCTCN2022123040-appb-000015
middle;
和/或,and / or,
第二路径为由下式表示的曲线:The second path is a curve represented by:
Figure PCTCN2022123040-appb-000016
Figure PCTCN2022123040-appb-000016
其中,
Figure PCTCN2022123040-appb-000017
依次表示贝塞尔曲线的四个控制点的坐标并且通过以下方式来确定:
in,
Figure PCTCN2022123040-appb-000017
In turn represent the coordinates of the four control points of the Bezier curve and are determined by:
Figure PCTCN2022123040-appb-000018
为点C 2的坐标,
Figure PCTCN2022123040-appb-000019
为终点B的坐标;
Figure PCTCN2022123040-appb-000018
is the coordinates of point C2 ,
Figure PCTCN2022123040-appb-000019
is the coordinates of the end point B;
向量
Figure PCTCN2022123040-appb-000020
的方向与向量
Figure PCTCN2022123040-appb-000021
的方向相同;
vector
Figure PCTCN2022123040-appb-000020
The direction and vector of
Figure PCTCN2022123040-appb-000021
in the same direction;
向量
Figure PCTCN2022123040-appb-000022
的方向与移动机器人在终点B处的方向相同;
vector
Figure PCTCN2022123040-appb-000022
The direction of is the same as that of the mobile robot at the end point B;
将s=0代入
Figure PCTCN2022123040-appb-000023
中,其中,P′ p2x(s)、P′ p2y(s)、P″ p2x(s)、P″ p2y(s)、分别是
Figure PCTCN2022123040-appb-000024
的一阶导横、纵坐标和二阶导横、纵坐标;以及
Substitute s=0 into
Figure PCTCN2022123040-appb-000023
Among them, P′ p2x (s), P′ p2y (s), P″ p2x (s), P″ p2y (s), are respectively
Figure PCTCN2022123040-appb-000024
The first-order abscissa, ordinate and second-order abscissa, ordinate of the derivative; and
将s=1代入
Figure PCTCN2022123040-appb-000025
中。
Substitute s=1 into
Figure PCTCN2022123040-appb-000025
middle.
在一个示例性实施例中,所述规划路径为用于使移动机器人运动至目 标停泊点T并以期望的停泊位姿停泊在目标停泊点T的停泊规划路径,其中,起点A为所述停泊规划路径的起始点,终点位姿和终点曲率τ 1根据所述期望的停泊位姿来确定。 In an exemplary embodiment, the planned path is a planned path for the mobile robot to move to the target parking point T and park at the target parking point T with a desired parking posture, wherein the starting point A is the parking The starting point of the planned path, the ending pose and the ending curvature τ1 are determined according to the desired parking pose.
在一个示例性实施例中,终点B为所述停泊规划路径的终止点,终点位姿被确定为与所述期望的停泊位姿相同,终点曲率τ 1=0。 In an exemplary embodiment, the end point B is the end point of the planned parking path, the end point pose is determined to be the same as the expected berthing pose, and the end point curvature τ 1 =0.
在一个示例性实施例中,终点B为不同于所述目标停泊点T的点,其中:In an exemplary embodiment, the end point B is a point different from said target berthing point T, wherein:
移动机器人在终点B处的方向与移动机器人在目标停泊点T处的方向相同;The direction of the mobile robot at the end point B is the same as the direction of the mobile robot at the target parking point T;
移动机器人在终点B处的方向与向量
Figure PCTCN2022123040-appb-000026
的方向相同;
The direction and vector of the mobile robot at the end point B
Figure PCTCN2022123040-appb-000026
in the same direction;
在步骤S15中,将第一路径、第二路径与线段BT拼接而成的路径作为用于使移动机器人运动至目标停泊点T的停泊规划路径。In step S15 , the path formed by concatenating the first path, the second path and the line segment BT is used as a parking planning path for moving the mobile robot to the target parking point T.
在一个示例性实施例中,移动机器人为差速机器人。In an exemplary embodiment, the mobile robot is a differential robot.
根据本发明的第二方面,提供了一种用于移动机器人的运动控制方法,其中,所述运动控制方法包括以下步骤:According to a second aspect of the present invention, a motion control method for a mobile robot is provided, wherein the motion control method includes the following steps:
S21:获取用于移动机器人的全局路径;S21: Obtain a global path for the mobile robot;
S22:在所述全局路径上选取第一点和与第一点相比更靠近全局路径的终止点的第二点,以第一点作为起点A、第二点作为终点B,执行根据本发明的路径规划方法,以获得用于移动机器人的规划路径;S22: Select a first point on the global path and a second point that is closer to the end point of the global path than the first point, with the first point as the starting point A and the second point as the end point B, and execute according to the present invention A path planning method to obtain a planned path for a mobile robot;
S23:将全局路径中从第一点到第二点的区段替换为所述规划路径;以及S23: Replace the section from the first point to the second point in the global path with the planned path; and
S24:控制移动机器人按照替换后的全局路径运动。S24: Control the mobile robot to move according to the replaced global path.
在一个示例性实施例中,在所述规划路径为用于使移动机器人运动至目标停泊点T并以期望的停泊位姿停泊在目标停泊点T的停泊规划路径的情况下,在所述全局路径上确定位于与目标停泊点T对应的预定的停泊区域内的第一点作为起点A,所述预定的停泊区域是针对目标停泊点T的位置预先划定的、覆盖目标停泊点T的位置的区域。In an exemplary embodiment, when the planned path is a parking planning path for moving the mobile robot to the target parking point T and parking at the target parking point T with a desired parking posture, in the global Determine the first point on the route located in the predetermined berthing area corresponding to the target berthing point T as the starting point A, the predetermined berthing area is a position that is pre-defined for the target berthing point T and covers the position of the target berthing point T Area.
在一个示例性实施例中,移动机器人在起点A处的位姿和/或曲率相应地与移动机器人在全局路径上的第一点处的位姿和/或曲率相同。In an exemplary embodiment, the pose and/or curvature of the mobile robot at the starting point A is correspondingly the same as the pose and/or curvature of the mobile robot at the first point on the global path.
根据本发明的第三方面,提供了一种用于移动机器人的运动控制方法, 其中,所述运动控制方法包括以下步骤:According to a third aspect of the present invention, a motion control method for a mobile robot is provided, wherein the motion control method includes the following steps:
S31:获取用于移动机器人的全局路径,并控制移动机器人按照所述全局路径运动;S31: Obtain a global path for the mobile robot, and control the mobile robot to move according to the global path;
S32:以移动机器人的当前位置作为起点A,在全局路径上确定与所述当前位置相比更靠近全局路径的终止点的第三点作为终点B,执行根据本发明的路径规划方法,以获得用于移动机器人的规划路径;S32: Take the current position of the mobile robot as the starting point A, determine a third point on the global path that is closer to the termination point of the global path than the current position as the end point B, and execute the path planning method according to the present invention to obtain planning paths for mobile robots;
S33:将全局路径中的从移动机器人的当前位置到第三点的区段替换为所述规划路径;以及S33: Replace the section from the current position of the mobile robot to the third point in the global path with the planned path; and
S34:控制移动机器人按照替换后的全局路径运动。S34: Control the mobile robot to move according to the replaced global path.
在一个示例性实施例中,在所述规划路径为用于使移动机器人运动至目标停泊点T并以期望的停泊位姿停泊在目标停泊点T的停泊规划路径的情况下,在移动机器人运动至与目标停泊点T对应的预定的停泊区域内之后开始执行步骤S32,所述预定的停泊区域是针对目标停泊点T的位置预先划定的、覆盖目标停泊点T的位置的区域。In an exemplary embodiment, when the planned path is a parking planning path for moving the mobile robot to the target parking point T and parking at the target parking point T with a desired parking posture, when the mobile robot moves Step S32 is executed after arriving in the predetermined berthing area corresponding to the target berthing point T, the predetermined berthing area is an area defined in advance for the position of the target berthing point T and covering the position of the target berthing point T.
在一个示例性实施例中,移动机器人在起点A处的位姿和/或曲率相应地与移动机器人在当前位置处的位姿和/或曲率相同。In an exemplary embodiment, the pose and/or curvature of the mobile robot at the starting point A is correspondingly the same as the pose and/or curvature of the mobile robot at the current location.
根据本发明的第四方面,提供了一种计算机程序产品,其包括计算器程序指令,其中,当所述计算机程序指令被一个或多于一个处理器执行时,所述处理器能够执行根据本发明的路径规划方法或根据本发明的运动控制方法。According to a fourth aspect of the present invention there is provided a computer program product comprising computer program instructions, wherein when said computer program instructions are executed by one or more processors, said processors are capable of performing The inventive path planning method or the motion control method according to the invention.
本发明的积极效果在于:由第一路径和第二路径拼接而成的路径有利于使移动机器人以特定的方向到达特定的位置而对规划路径的起点没有特殊的位姿要求,而且较为平滑,并且具有连续的曲率。这使得生成的规划轨迹对于移动机器人的运动和对接而言特别有利。另外,对第一路径和第二路径的上述约束,不仅有利于获得平滑且曲率连续的路径,还有利于以简单的方式确定第一路径和第二路径,而无需复杂的计算。The positive effect of the present invention is that: the path spliced by the first path and the second path is conducive to enabling the mobile robot to reach a specific position in a specific direction, and there is no special pose requirement for the starting point of the planned path, and it is relatively smooth, and has a continuous curvature. This makes the generated planned trajectories particularly advantageous for mobile robot locomotion and docking. In addition, the above-mentioned constraints on the first path and the second path are not only beneficial to obtain a smooth and continuous curvature path, but also facilitate the determination of the first path and the second path in a simple manner without complicated calculations.
附图说明Description of drawings
下面,通过参看附图更详细地描述本发明,可以更好地理解本发明的原理、特点和优点。附图包括:Hereinafter, the principles, features and advantages of the present invention can be better understood by describing the present invention in more detail with reference to the accompanying drawings. The attached drawings include:
图1示意性地示出了在根据本发明的一个示例性实施例中利用路径规划方法生成用于移动机器人的规划路径;Fig. 1 schematically shows that a path planning method is used to generate a planned path for a mobile robot in an exemplary embodiment of the present invention;
图2示意性地示出了根据本发明的一个示例性实施例的用于移动机器人的路径规划方法的流程图;Fig. 2 schematically shows a flow chart of a path planning method for a mobile robot according to an exemplary embodiment of the present invention;
图3示意性地示出了在根据本发明的一个示例性实施例中利用路径规划方法生成用于移动机器人的规划路径;Fig. 3 schematically shows that a path planning method is used to generate a planned path for a mobile robot in an exemplary embodiment of the present invention;
图4A和图4B示意性地示出了利用根据本发明的一个示例性实施例的路径规划方法生成的规划路径及其曲率;4A and 4B schematically illustrate a planned path and its curvature generated by a path planning method according to an exemplary embodiment of the present invention;
图5A和图5B示意性地示出了利用根据本发明的一个示例性实施例的路径规划方法生成的规划路径及其曲率;5A and 5B schematically illustrate a planned path and its curvature generated by a path planning method according to an exemplary embodiment of the present invention;
图6示意性地示出了根据本发明的一个示例性实施例的用于移动机器人的运动控制方法的流程图;Fig. 6 schematically shows a flow chart of a motion control method for a mobile robot according to an exemplary embodiment of the present invention;
图7示意性地示出了利用根据本发明的一个示例性实施例的运动控制方法获取替换后的全局路径;以及FIG. 7 schematically shows a global path obtained by using a motion control method according to an exemplary embodiment of the present invention; and
图8示意性地示出了根据本发明的一个示例性实施例的用于移动机器人的运动控制方法的流程图。Fig. 8 schematically shows a flowchart of a motion control method for a mobile robot according to an exemplary embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明所要解决的技术问题、技术方案以及有益的技术效果更加清楚明白,以下将结合附图以及多个示例性实施例对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用于解释本发明,而不是用于限定本发明的保护范围。In order to make the technical problems, technical solutions and beneficial technical effects to be solved by the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and multiple exemplary embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, rather than to limit the protection scope of the present invention.
本发明适用于移动机器人,其可以是任何能够自主地进行空间移动的机器人,例如AGV、AMR等。所述移动机器人可用于执行各种任务,例如用作仓储机器人、清扫型机器人、家庭陪护机器人、迎宾机器人等。The present invention is applicable to mobile robots, which can be any robots capable of autonomous space movement, such as AGV, AMR and so on. The mobile robot can be used to perform various tasks, such as a storage robot, a cleaning robot, a family escort robot, a welcome robot, and the like.
应理解,在本文中,表述“第一”、“第二”等仅用于描述性目的,而不应理解为指示或暗示相对重要性,也不应理解为隐含指明所指示的技术特征的数量。限定有“第一”、“第二”的特征可以明示或者隐含地表示包括至少一个该特征。It should be understood that, in this article, the expression "first", "second" and so on are used for descriptive purposes only, and should not be interpreted as indicating or implying relative importance, nor should they be interpreted as implying that the indicated technical features quantity. Features defined as "first" and "second" may expressly or implicitly indicate that at least one of these features is included.
下面结合图1和图2说明根据本发明的一个示例性实施例的用于移动 机器人1的路径规划方法。图1示意性地示出了在根据本发明的一个示例性实施例中利用路径规划方法生成用于移动机器人1的规划路径。A path planning method for a mobile robot 1 according to an exemplary embodiment of the present invention will be described below in conjunction with Fig. 1 and Fig. 2 . Fig. 1 schematically shows a planned path generated by a path planning method for a mobile robot 1 in an exemplary embodiment according to the present invention.
在该实施例中,移动机器人1例如为差速机器人,即移动机器人1包括差速轮运动系统。替代地,移动机器人1也可以是其它类型的机器人,例如单舵轮机器人或双舵轮机器人等。相应地,移动机器人1例如可包括双舵轮运动系统。In this embodiment, the mobile robot 1 is, for example, a differential robot, that is, the mobile robot 1 includes a differential wheel motion system. Alternatively, the mobile robot 1 may also be other types of robots, such as a single steering wheel robot or a double steering wheel robot. Correspondingly, the mobile robot 1 can include, for example, a dual steering wheel kinematic system.
移动机器人1例如包括用于与其它设备、例如调度控制系统进行通信的通信装置。移动机器人1还可包括传感器,例如摄像装置、雷达等。移动机器人1可通过所述传感器获取所需的信息,例如移动机器人1的当前位置或其周围环境等。The mobile robot 1 includes, for example, a communication device for communicating with other devices, such as a dispatch control system. The mobile robot 1 may also include sensors such as cameras, radars and the like. The mobile robot 1 can acquire required information through the sensors, such as the current position of the mobile robot 1 or its surrounding environment and the like.
移动机器人1例如还包括控制器。控制器用于移动机器人1的部件,所述部件例如包括差速轮运动系统、传感器、通信装置等。控制器还可以通过通信线路接收相应部件、例如传感器的工作状态或检测数据,用以监测或控制移动机器人1的操作。The mobile robot 1 further includes, for example, a controller. The controller is used to move the components of the robot 1 , including for example the differential wheel kinematic system, sensors, communication means and the like. The controller can also receive working status or detection data of corresponding components, such as sensors, through communication lines, so as to monitor or control the operation of the mobile robot 1 .
在移动机器人1的工作过程中,可能需要以特定的位姿停泊,即以特定的方向(姿态)停泊在特定的目标停泊点。例如,移动机器人1可能需要以期望的停泊位姿停在某个位置,以等待操作人员的操作或以便与其他设备对接等。图1示例性地示出了移动机器人1需要运动至邻近充电桩2的目标停泊点,以便与充电桩2对接从而充电。During the working process of the mobile robot 1, it may be necessary to park in a specific pose, that is, park in a specific target parking point in a specific direction (attitude). For example, the mobile robot 1 may need to stop at a certain position in a desired berthing posture to wait for an operator's operation or to dock with other equipment. FIG. 1 exemplarily shows that the mobile robot 1 needs to move to a target docking point adjacent to the charging pile 2 in order to dock with the charging pile 2 for charging.
为了使移动机器人1以特定的位姿到达特定的位置,可执行根据用于移动机器人1的路径规划方法。图2示意性地示出了根据本发明的一个示例性实施例的用于移动机器人1的路径规划方法的流程图。In order for the mobile robot 1 to reach a specific position with a specific pose, a path planning method according to the mobile robot 1 can be performed. Fig. 2 schematically shows a flowchart of a path planning method for a mobile robot 1 according to an exemplary embodiment of the present invention.
如图2所示,所述路径规划方法可包括以下步骤:As shown in Figure 2, the path planning method may include the following steps:
S11:获取移动机器人1在起点A处的起点位姿和起点曲率τ 0以及在终点B处的终点位姿和终点曲率τ 1S11: Obtain the starting pose and starting curvature τ 0 of the mobile robot 1 at the starting point A and the ending pose and ending curvature τ 1 at the ending point B;
S12:确定点C 1和点C 3,使得向量
Figure PCTCN2022123040-appb-000027
的方向与移动机器人1在起点A处的方向相同,向量
Figure PCTCN2022123040-appb-000028
的方向与移动机器人1在终点B处的方向相同;
S12: Determine point C 1 and point C 3 such that the vector
Figure PCTCN2022123040-appb-000027
The direction of is the same as that of mobile robot 1 at the starting point A, and the vector
Figure PCTCN2022123040-appb-000028
The direction of is the same as that of mobile robot 1 at the end point B;
S13:在线段C 1C 3上确定点C 2S13: Determine point C 2 on line segment C 1 C 3 ;
S14:确定以起点A为起始点、点C 2为终止点的第一路径3,并且确 定以点C 2为起始点、终点B为终止点的第二路径4,其中,第一路径3和第二路径4均为满足下述约束的三阶贝塞尔曲线: S14: Determine the first path 3 with the starting point A as the starting point and the point C2 as the ending point, and determine the second path 4 with the point C2 as the starting point and the ending point B as the ending point, wherein the first path 3 and The second path 4 is a third-order Bezier curve satisfying the following constraints:
根据第一路径3,移动机器人1在起点A处满足起点位姿和起点曲率τ 0According to the first path 3, mobile robot 1 satisfies the starting pose and starting curvature τ 0 at the starting point A,
根据第二路径4,移动机器人1在终点B处满足终点位姿和终点曲率τ 1,以及 According to the second path 4, the mobile robot 1 satisfies the end pose and end curvature τ 1 at the end point B, and
根据第一路径3和第二路径4,移动机器人1在点C 2处的线速度方向与向量
Figure PCTCN2022123040-appb-000029
相同并且曲率为0;以及
According to the first path 3 and the second path 4, the linear velocity direction and vector of the mobile robot 1 at point C2
Figure PCTCN2022123040-appb-000029
are the same and have a curvature of 0; and
S15:将第一路径3与第二路径4拼接而成的路径作为用于移动机器人1的规划路径或规划路径的一部分。S15: The path formed by splicing the first path 3 and the second path 4 is used as a planned path or a part of the planned path for the mobile robot 1 .
由此生成的规划路径有利于使移动机器人1以特定的方向到达特定的位置,而对规划路径的起点没有特殊的位姿要求。即,可以根据需要以任意方向和任意曲率为起点。特别是,利用两段三阶贝塞尔曲线拼接而成的路径能够使停泊规划路径更加平滑。对第一路径3和第二路径4的上述约束有利于使生成的规划路径曲率平滑且具有连续的曲率。这使得移动机器人1的速度和加速度的变化更平缓。对于差速机器人而言,这种具有连续曲率的停泊规划路径能够特别有利地适配差速机器人的运动特性。对第一路径3和第二路径4的上述约束,还有利于以简单的方式确定第一路径3和第二路径4,而无需复杂的计算。The resulting planned path is beneficial for the mobile robot 1 to reach a specific location in a specific direction, and there is no special pose requirement for the starting point of the planned path. That is, arbitrary directions and arbitrary curvatures can be used as starting points as desired. In particular, the path spliced by two third-order Bezier curves can make the parking planning path smoother. The above-mentioned constraints on the first path 3 and the second path 4 are beneficial to make the curvature of the generated planned path smooth and have continuous curvature. This makes changes in the speed and acceleration of the mobile robot 1 more gradual. For a differential robot, such a parking planning path with continuous curvature can be adapted particularly advantageously to the motion characteristics of the differential robot. The above-mentioned constraints on the first path 3 and the second path 4 also facilitate the determination of the first path 3 and the second path 4 in a simple manner without complex calculations.
应理解,移动机器人1在某一点处的位姿包括移动机器人1的位置和方向。在直角坐标系中,移动机器人1的位姿例如可表示为(x,y,θ),其中,x、y分别表示移动机器人1的横、纵坐标,θ表示移动机器人1的方向。移动机器人1在此可正向移动,也可以以倒车的方式移动,因此移动机器人1在起点A处的方向可相应地表示移动机器人1的“车头”方向或“车尾”方向。对于实施为差速机器人的移动机器人1而言,移动机器人1在起点A处的方向即移动机器人1在起点A处的运动方向。It should be understood that the pose of the mobile robot 1 at a certain point includes the position and orientation of the mobile robot 1 . In the Cartesian coordinate system, the pose of the mobile robot 1 can be expressed as (x, y, θ), for example, where x and y represent the horizontal and vertical coordinates of the mobile robot 1 respectively, and θ represents the direction of the mobile robot 1 . The mobile robot 1 can move forward or backward, so the direction of the mobile robot 1 at the starting point A can correspond to the "front" or "rear" direction of the mobile robot 1 . For the mobile robot 1 implemented as a differential robot, the direction of the mobile robot 1 at the starting point A is the motion direction of the mobile robot 1 at the starting point A.
在图1所示的实施例中,所述规划路径为用于使移动机器人1运动至目标停泊点T并以期望的停泊位姿停泊在目标停泊点T的停泊规划路径,其中,起点A为所述停泊规划路径的起始点,终点位姿和终点曲率τ 1根据所述期望的停泊位姿来确定。相应地,路径规划方法可看作是用于移动机 器人1的停泊路径规划方法,所述停泊路径规划方法旨在规划用于使移动机器人1以特定的方向停泊在特定的目标停泊点的移动路径。期望的停泊位姿可由移动机器人1的停泊任务来确定。例如,对于需要与充电桩2对接的移动机器人1而言,期望的停泊位姿可根据充电桩2的位置和方向以及充电桩2要求的对接方向来确定。 In the embodiment shown in FIG. 1 , the planned path is a planned path for moving the mobile robot 1 to the target berthing point T and parked at the target berthing point T with a desired berthing posture, wherein the starting point A is The start point, end point pose and end point curvature τ1 of the parking planning path are determined according to the desired berthing pose. Correspondingly, the path planning method can be regarded as a parking path planning method for the mobile robot 1, which aims to plan a moving path for the mobile robot 1 to park at a specific target parking point in a specific direction . The desired parking pose can be determined by the parking task of the mobile robot 1 . For example, for the mobile robot 1 that needs to be docked with the charging pile 2 , the desired parking pose can be determined according to the position and direction of the charging pile 2 and the docking direction required by the charging pile 2 .
相应地,获得的停泊规划路径能够使移动机器人1以任意方向和任意曲率开始停泊规划路径,而无需使移动机器人1在停泊规划路径开始处先停止,也无需使移动机器人1在停泊规划路径开始处调整至特定的方向。并且,有利于使停泊规划路径具有连续的曲率。这使得移动机器人1的速度和加速度的变化更平缓。对于差速机器人而言,这种具有连续曲率的停泊规划路径是特别有利的。另外,利用两段三阶贝塞尔曲线拼接而成的路径将使得停泊规划路径更加平滑。Correspondingly, the obtained parking planning path can enable the mobile robot 1 to start the parking planning path in any direction and any curvature, without making the mobile robot 1 stop first at the beginning of the parking planning path, and without making the mobile robot 1 stop at the beginning of the parking planning path. to adjust to a specific direction. Moreover, it is beneficial to make the parking planning path have continuous curvature. This makes changes in the speed and acceleration of the mobile robot 1 more gradual. Such a parking planning path with continuous curvature is particularly advantageous for differential robots. In addition, the path formed by splicing two third-order Bezier curves will make the parking planning path smoother.
在此,特别是将第一路径3与第二路径4拼接而成的路径作为用于移动机器人1的停泊规划路径。换言之,起点A为停泊规划路径的起始点,并且终点B为用于移动机器人1的停泊规划路径的终止点,即目标停泊点T。在终点B为停泊规划路径的终止点的情况下,终点位姿被确定为与所述期望的停泊位姿相同,终点曲率τ 1=0。 Here, in particular, the path formed by splicing the first path 3 and the second path 4 is used as a planned parking path for the mobile robot 1 . In other words, the starting point A is the starting point of the parking planning path, and the ending point B is the ending point of the parking planning path for the mobile robot 1 , ie, the target parking point T. In the case that the end point B is the end point of the parking planning path, the end point pose is determined to be the same as the desired berthing pose, and the end point curvature τ 1 =0.
在步骤S11中,例如可通过通信装置从其它设备获取移动机器人1在起点A处的起点位姿和起点曲率τ 0以及在路径的终点B处的终点位姿和终点曲率τ 1。例如,也可通过传感器获取移动机器人1在起点A处的起点位姿和起点曲率τ 0以及在路径的终点B处的终点位姿和终点曲率τ 1In step S11, for example, the start pose and curvature τ 0 of the mobile robot 1 at the start point A and the end pose and curvature τ 1 at the end point B of the path can be obtained from other devices through a communication device. For example, the start pose and curvature τ 0 of the mobile robot 1 at the start point A and the end pose and curvature τ 1 at the end point B of the path can also be acquired by sensors.
在该实施例中,例如以下述方式在步骤S12中确定点C 1和点C 3:首先,确定点M,使得向量
Figure PCTCN2022123040-appb-000030
的方向与移动机器人1在起点A处的方向相同,并且向量
Figure PCTCN2022123040-appb-000031
的方向与移动机器人1在终点B处的方向相同;然后,在线段AM上确定点C 1,在线段MB上确定点C 3。由此,至少可确保第一路径3和第二路径4在三角形AMB的范围内,从而有利于生成较平滑的停泊规划路径。
In this embodiment, points C 1 and C 3 are determined in step S12, for example, in the following manner: first, point M is determined such that the vector
Figure PCTCN2022123040-appb-000030
The direction of is the same as that of mobile robot 1 at the starting point A, and the vector
Figure PCTCN2022123040-appb-000031
The direction of is the same as that of the mobile robot 1 at the end point B; then, a point C 1 is determined on the line segment AM, and a point C 3 is determined on the line segment MB. In this way, at least the first path 3 and the second path 4 can be ensured to be within the range of the triangle AMB, which is conducive to generating a smoother planned berthing path.
可选地,选择线段AM的中点作为点C 1;和/或选择线段MB的中点作为点C 3。在点C 1和点C 3分别为线段AM和线段MB的中点的情况下,可进一步确保第一路径3和第二路径4在三角形AMB的下部部分、即梯形 AC 1C 3B内。 Optionally, select the midpoint of the line segment AM as the point C 1 ; and/or select the midpoint of the line segment MB as the point C 3 . In the case that points C1 and C3 are midpoints of line segment AM and line segment MB respectively, it can be further ensured that the first path 3 and the second path 4 are within the lower part of the triangle AMB, ie the trapezoid AC1C3B .
在步骤S13中,例如可选择线段C 1C 3的中点作为点C 2。由此,能够以简单的方式生成曲率较小的第一路径3和第二路径4。 In step S13, for example, the midpoint of the line segment C 1 C 3 may be selected as the point C 2 . As a result, the first path 3 and the second path 4 with less curvature can be generated in a simple manner.
在确定点C 2之后,可在步骤S14中确定第一路径3和第二路径4。 After determining the point C2 , the first path 3 and the second path 4 may be determined in step S14.
例如,第一路径3可由下式表示:For example, the first path 3 can be represented by the following formula:
Figure PCTCN2022123040-appb-000032
Figure PCTCN2022123040-appb-000032
其中,
Figure PCTCN2022123040-appb-000033
依次表示贝塞尔曲线的四个控制点的坐标,其可通过以下方式来确定:
in,
Figure PCTCN2022123040-appb-000033
In turn represent the coordinates of the four control points of the Bezier curve, which can be determined by:
Figure PCTCN2022123040-appb-000034
为起点A的坐标,
Figure PCTCN2022123040-appb-000035
为点C 2的坐标;
Figure PCTCN2022123040-appb-000034
is the coordinates of the starting point A,
Figure PCTCN2022123040-appb-000035
is the coordinate of point C 2 ;
向量
Figure PCTCN2022123040-appb-000036
的方向与移动机器人1在起点A处的方向相同;
vector
Figure PCTCN2022123040-appb-000036
The direction of is the same as that of mobile robot 1 at the starting point A;
向量
Figure PCTCN2022123040-appb-000037
的方向与向量
Figure PCTCN2022123040-appb-000038
的方向相同;
vector
Figure PCTCN2022123040-appb-000037
The direction and vector of
Figure PCTCN2022123040-appb-000038
in the same direction;
将s=0代入
Figure PCTCN2022123040-appb-000039
中,其中,P′ p1x(s)、P′ p1y(s)、P″ p1x(s)、P″ p1y(s)、分别是
Figure PCTCN2022123040-appb-000040
的一阶导横、纵坐标和二阶导横、纵坐标;以及
Substitute s=0 into
Figure PCTCN2022123040-appb-000039
Among them, P′ p1x (s), P′ p1y (s), P″ p1x (s), P″ p1y (s), are respectively
Figure PCTCN2022123040-appb-000040
The first-order abscissa, ordinate and second-order abscissa, ordinate of the derivative; and
将s=1代入
Figure PCTCN2022123040-appb-000041
中。
Substitute s=1 into
Figure PCTCN2022123040-appb-000041
middle.
类似地,第二路径4可由下式表示:Similarly, the second path 4 can be represented by the following formula:
Figure PCTCN2022123040-appb-000042
Figure PCTCN2022123040-appb-000042
其中,
Figure PCTCN2022123040-appb-000043
依次表示贝塞尔曲线的四个控制点的坐标,其可通过以下方式来确定:
in,
Figure PCTCN2022123040-appb-000043
In turn represent the coordinates of the four control points of the Bezier curve, which can be determined by:
Figure PCTCN2022123040-appb-000044
为点C 2的坐标,
Figure PCTCN2022123040-appb-000045
为终点B的坐标;
Figure PCTCN2022123040-appb-000044
is the coordinates of point C2 ,
Figure PCTCN2022123040-appb-000045
is the coordinates of the end point B;
向量
Figure PCTCN2022123040-appb-000046
的方向与向量
Figure PCTCN2022123040-appb-000047
的方向相同;
vector
Figure PCTCN2022123040-appb-000046
The direction and vector of
Figure PCTCN2022123040-appb-000047
in the same direction;
向量
Figure PCTCN2022123040-appb-000048
的方向与移动机器人1在终点B处的方向相同;
vector
Figure PCTCN2022123040-appb-000048
The direction of is the same as that of mobile robot 1 at the end point B;
将s=0代入
Figure PCTCN2022123040-appb-000049
中,其中,P′ p2x(s)、P′ p2y(s)、P″ p2x(s)、P″ p2y(s)、分别是
Figure PCTCN2022123040-appb-000050
的一阶导横、纵坐标和二阶导横、纵坐标;以及
Substitute s=0 into
Figure PCTCN2022123040-appb-000049
Among them, P′ p2x (s), P′ p2y (s), P″ p2x (s), P″ p2y (s), are respectively
Figure PCTCN2022123040-appb-000050
The first-order abscissa, ordinate and second-order abscissa, ordinate of the derivative; and
将s=1代入
Figure PCTCN2022123040-appb-000051
中。
Substitute s=1 into
Figure PCTCN2022123040-appb-000051
middle.
如上所述,在根据本发明的路径规划方法中,在确定起点A、终点B和点C 2之后,即可根据移动机器人1在起点A、终点B和点C 2的位姿和曲率确定作为三阶贝塞尔曲线的第一路径3和第二路径4的控制点。该过程无需复杂的计算。 As mentioned above, in the path planning method according to the present invention , after determining the starting point A, the ending point B and the point C2 , it can be determined as The control points of the first path 3 and the second path 4 of the third-order Bezier curve. This process does not require complex calculations.
然后,可将第一路径3与第二路径4拼接而成的路径作为用于使移动机器人1运动至目标停泊点的停泊规划路径或停泊规划路径的一部分。显然,第一路径3和第二路径4本身具有连续的曲率,并且第一路径3和第二路径4拼接而成的路径在拼接点C 2处也具有连续的曲率。 Then, the path formed by splicing the first path 3 and the second path 4 may be used as a parking planning path or a part of the parking planning path for moving the mobile robot 1 to the target parking point. Apparently, the first path 3 and the second path 4 themselves have continuous curvature, and the spliced path formed by the first path 3 and the second path 4 also has a continuous curvature at the splicing point C 2 .
图3示意性地示出了在根据本发明的一个示例性实施例中利用路径规划方法生成规划路径。Fig. 3 schematically shows the use of a path planning method to generate a planned path in an exemplary embodiment of the present invention.
如图3所示,移动机器人1需要运动至邻近充电桩2的目标停泊点T,以便与充电桩2对接从而充电。在路径规划方法中,终点B可不与停泊规划路径的目标停泊点T重合。在这种情况下,可将移动机器人1在终点B处的方向设定为与向量
Figure PCTCN2022123040-appb-000052
的方向相同。另外,可使移动机器人1在终点B处的方向与移动机器人在目标停泊点T处的方向相同。然后,与上文参照图1和图2所描述的过程类似地,生成第一路径3和第二路径4。不同之处在于,在步骤S15中,将第一路径3、第二路径4与线段BT拼接而成的路径作为用于使移动机器人1运动至目标停泊点的停泊规划路径。
As shown in FIG. 3 , the mobile robot 1 needs to move to a target parking point T adjacent to the charging pile 2 in order to dock with the charging pile 2 for charging. In the route planning method, the end point B may not coincide with the target berthing point T of the berthing planning route. In this case, the orientation of the mobile robot 1 at the end point B can be set to be the same as the vector
Figure PCTCN2022123040-appb-000052
in the same direction. In addition, the direction of the mobile robot 1 at the end point B and the direction of the mobile robot at the target parking point T can be made the same. Then, similar to the process described above with reference to FIGS. 1 and 2 , the first path 3 and the second path 4 are generated. The difference is that, in step S15 , the path formed by concatenating the first path 3 , the second path 4 and the line segment BT is used as a parking planning path for moving the mobile robot 1 to the target parking point.
图4A和图4B示意性地示出了利用根据本发明的一个示例性实施例的路径规划方法生成的规划路径及其曲率。Fig. 4A and Fig. 4B schematically show a planned path and its curvature generated by a path planning method according to an exemplary embodiment of the present invention.
如图4A所示,规划路径由第一路径3和第二路径4拼接而成。根据移动机器人1在起点A和终点B处的位姿可确定点C 1和点C 3。可选地,点C 1和点C 3可设定为分别与起点A和终点B间隔预定的距离。例如,点C 1与起点A间隔预定的第一距离、例如0.4m,点C 3与终点B间隔预定的第二距离、例如0.7m。 As shown in FIG. 4A , the planned path is spliced by the first path 3 and the second path 4 . Points C 1 and C 3 can be determined according to the poses of the mobile robot 1 at the starting point A and the ending point B. Alternatively, the points C1 and C3 may be set to be separated from the start point A and the end point B by a predetermined distance, respectively. For example, point C1 is separated from the starting point A by a predetermined first distance, such as 0.4m, and point C3 is separated from the end point B by a predetermined second distance, such as 0.7m.
在确定点C 1和点C 3之后,可在线段C 1C 3上确定点C 2。在图4A中,点C 2被确定为线段C 1C 3上的第一个四等分点。因此,
Figure PCTCN2022123040-appb-000053
After determining points C 1 and C 3 , point C 2 can be determined on line segment C 1 C 3 . In FIG. 4A , point C 2 is determined to be the first quarter point on line segment C 1 C 3 . therefore,
Figure PCTCN2022123040-appb-000053
如上文所述,在确定点C 2之后,可进一步确定第一路径3和第二路径 4。图4B示出了由第一路径3和第二路径4拼接而成的规划路径的曲率。如图4B所示,由此生成的规划路径的曲率最大绝对值将超过10。 As mentioned above, after the point C2 is determined, the first path 3 and the second path 4 can be further determined. FIG. 4B shows the curvature of the planned path spliced by the first path 3 and the second path 4 . As shown in Figure 4B, the maximum absolute value of the curvature of the resulting planned path will exceed 10.
图5A和图5B示意性地示出了利用根据本发明的一个示例性实施例的路径规划方法生成的规划路径及其曲率。该实施例与图4A和图4B所示的实施例的不同之处在于,点C 2在线段C 1C 3上的位置不同。 Fig. 5A and Fig. 5B schematically show a planned path and its curvature generated by using the path planning method according to an exemplary embodiment of the present invention. The difference between this embodiment and the embodiment shown in FIGS. 4A and 4B is that the position of the point C 2 on the line segment C 1 C 3 is different.
如图5A所示,点C 2被确定为线段C 1C 3的中点。因此,
Figure PCTCN2022123040-appb-000054
Figure PCTCN2022123040-appb-000055
As shown in FIG. 5A, point C2 is determined as the midpoint of line segment C1C3 . therefore,
Figure PCTCN2022123040-appb-000054
Figure PCTCN2022123040-appb-000055
图5B示出了由图5A中示出的第一路径3和第二路径4拼接而成的规划路径的曲率。如图5B所示,由此生成的规划路径的曲率最大绝对值将小于10。FIG. 5B shows the curvature of the planned path spliced by the first path 3 and the second path 4 shown in FIG. 5A . As shown in FIG. 5B , the maximum absolute value of the curvature of the resulting planned path will be less than 10.
可以看出,点C 2在线段C 1C 3上的位置不同将使得生成的第一路径3和第二路径4的曲率不同。将线段C 1C 3的中点确定为点C 2有利于获得曲率的最大绝对值较小的第一路径3和第二路径4。 It can be seen that different positions of the point C 2 on the line segment C 1 C 3 will result in different curvatures of the generated first path 3 and the second path 4 . Determining the midpoint of the line segment C 1 C 3 as the point C 2 is beneficial to obtain the first path 3 and the second path 4 with smaller maximum absolute values of curvature.
在根据本发明的一个示例性实施例中,可在步骤S13中,在线段C 1C 3上选择能够使第一路径3和第二路径4的曲率的最大绝对值最小的点作为点C 2。例如,可将线段C 1C 3等分为n份(n为大于2的整数),并对比在将各等分点作为点C 2的情况下所生成的第一路径3和第二路径4的曲率的最大绝对值,然后将能够获得最小的第一路径3和第二路径4的曲率的最大绝对值的点C 2作为最终的点C 2。或者,也可以以预定的分辨率选取线段C 1C 3上的点,例如在线段C 1C 3上每间隔0.1m选取一个点。然后对比在将这些点作为点C 2的情况下所生成的第一路径3和第二路径4的曲率的最大绝对值,并将能够获得最小的第一路径3和第二路径4的曲率的最大绝对值的点C 2作为最终的点C 2。本领域技术人员应理解,也可以以其他方式来实现在线段C 1C 3上选择能够使第一路径3和第二路径4的曲率的最大绝对值最小的点作为点C 2In an exemplary embodiment according to the present invention, in step S13, a point on the line segment C 1 C 3 that can minimize the maximum absolute value of the curvature of the first path 3 and the second path 4 can be selected as point C 2 . For example, the line segment C 1 C 3 can be equally divided into n parts (n is an integer greater than 2), and the first path 3 and the second path 4 generated under the condition that each equalization point is taken as point C 2 can be compared The maximum absolute value of the curvature, and then the point C 2 that can obtain the maximum absolute value of the minimum curvature of the first path 3 and the second path 4 is taken as the final point C 2 . Alternatively, points on the line segment C 1 C 3 may also be selected with a predetermined resolution, for example, one point is selected at intervals of 0.1 m on the line segment C 1 C 3 . Then compare the maximum absolute value of the curvature of the first path 3 and the second path 4 generated under the situation of using these points as point C 2 , and will be able to obtain the minimum value of the curvature of the first path 3 and the second path 4 The point C 2 with the largest absolute value is taken as the final point C 2 . Those skilled in the art should understand that other ways can also be used to select a point on the line segment C 1 C 3 that can minimize the maximum absolute value of the curvature of the first path 3 and the second path 4 as the point C 2 .
在根据本发明的一个示例性实施例中,可在步骤S12和S13中,以使第一路径3和第二路径4的曲率的最大绝对值最小的方式,确定点C 1、点C 3和点C 2。与上文关于点C 2的描述类似地,本领域技术人员应理解,可以以多种方式来实现以使第一路径3和第二路径4的曲率的最大绝对值最小的方式确定点C 1、点C 3和点C 2。例如,以第一路径3和第二路径4的 曲率的最大绝对值最小为优化目标,利用优化算法确定点C 1、点C 3和点C 2的位置。 In an exemplary embodiment according to the present invention, in steps S12 and S13, the points C 1 , C 3 and Point C2 . Similar to the above description about point C2 , those skilled in the art should understand that point C1 can be determined in a manner that minimizes the maximum absolute value of the curvature of the first path 3 and the second path 4 in various ways , point C 3 and point C 2 . For example, with the minimum maximum absolute value of the curvature of the first path 3 and the second path 4 as the optimization objective, the positions of point C 1 , point C 3 , and point C 2 are determined using an optimization algorithm.
图6示意性地示出了根据本发明的一个示例性实施例的用于移动机器人1的运动控制方法的流程图。图7示意性地示出了利用根据本发明的一个示例性实施例的运动控制方法获取替换后的全局路径5。所述运动控制方法包括以下步骤:Fig. 6 schematically shows a flowchart of a motion control method for a mobile robot 1 according to an exemplary embodiment of the present invention. Fig. 7 schematically shows a replaced global path 5 obtained by using a motion control method according to an exemplary embodiment of the present invention. The motion control method includes the following steps:
S21:获取用于移动机器人1的全局路径5(在图7中仅部分地示出);S21: Obtain a global path 5 for the mobile robot 1 (only partially shown in FIG. 7);
S22:在所述全局路径5上选取第一点和与第一点相比更靠近全局路径5的终止点的第二点,以第一点作为起点A、第二点作为终点B,执行根据本发明的路径规划方法,以获得用于移动机器人1的规划路径;S22: Select a first point on the global path 5 and a second point closer to the end point of the global path 5 than the first point, with the first point as the starting point A and the second point as the end point B, and execute according to The path planning method of the present invention is used to obtain a planned path for the mobile robot 1;
S23:将全局路径5中从第一点到第二点的区段(以点划线表示)替换为所述规划路径;以及S23: Replace the segment (indicated by a dotted line) from the first point to the second point in the global path 5 with the planned path; and
S24:控制移动机器人1按照替换后的全局路径5运动。S24: Control the mobile robot 1 to move according to the replaced global path 5 .
原全局路径5可利用任何适用的已知方法来获取,例如,可通过A星算法来规划。在规划原全局路径5时,可能需要考虑多方面的因素,例如避障、时间最短等。由此获得的全局路径5可能无法满足目标停泊点的位姿要求。例如按照原全局路径5运动的移动机器人1可能无法以准确的方向停泊在目标停泊点,从而导致移动机器人1无法准确地与充电桩2对接,或者导致移动机器人1在达到目标停泊点之后必须进行额外的位姿调整。利用根据本发明的运动控制方法,有利于移动机器人1准确地以特定的位姿停泊。另外,上文中针对路径规划方法所描述的特征和优势,也可相应地适用于运动控制方法。The original global route 5 can be obtained by using any applicable known method, for example, it can be planned by the A-star algorithm. When planning the original global path 5, various factors may need to be considered, such as obstacle avoidance, shortest time, etc. The resulting global path 5 may not meet the pose requirements of the target parking point. For example, the mobile robot 1 moving according to the original global path 5 may not be able to park at the target parking point in an accurate direction, resulting in the inability of the mobile robot 1 to accurately dock with the charging pile 2, or causing the mobile robot 1 to have to carry out charging after reaching the target parking point. Additional pose adjustments. Utilizing the motion control method according to the present invention is beneficial for the mobile robot 1 to accurately park at a specific pose. In addition, the features and advantages described above for the path planning method are also correspondingly applicable to the motion control method.
运动控制方法例如可借助于移动机器人1的控制器来执行。在步骤S21中,例如可借助于控制器来规划用于移动机器人1的原全局路径5。可选地,在步骤S21中,也可借助于通信装置从其它设备、例如调度控制系统获取用于移动机器人1的全局路径5。The motion control method can be carried out, for example, by means of a controller of the mobile robot 1 . In step S21, the original global path 5 for the mobile robot 1 can be planned, for example by means of a controller. Optionally, in step S21, the global path 5 for the mobile robot 1 may also be obtained from other equipment, such as a dispatch control system, by means of a communication device.
可选地,在所述规划路径为用于使移动机器人1运动至目标停泊点T并以期望的停泊位姿停泊在目标停泊点T的停泊规划路径的情况下,在所述全局路径5上确定位于与目标停泊点T对应的预定的停泊区域内的第一点作为起点A,所述预定的停泊区域是针对目标停泊点T的位置预先划定 的、覆盖目标停泊点T的位置的区域。例如,可为在仓库工作的移动机器人1设置专用的充电区域6,至少一个充电桩2布置在所述充电区域6中,需要充电的移动机器人1可运动至充电区域6中的特定充电位置以与充电桩2对接,从而充电。通常,充电区域6是平坦的无障碍区域,即,充电区域6中不会布置与充电无关的设备,使得移动机器人1能够在充电区域6中较为自由地运动,而不会遇到障碍。在此,可针对用于移动机器人1的充电位置预先划定停泊区域,所述停泊区域例如设定为整个充电区域6。预先划定停泊区域并在预定的停泊区域内选取起点A可使移动机器人1在进入停泊区域后沿着较平滑的停泊规划路径运动。当移动机器人1需要充电,并进入停泊区域后,即可开始依照停泊规划路径运动。Optionally, when the planned path is a parking planning path for moving the mobile robot 1 to the target parking point T and parking at the target parking point T with a desired parking posture, on the global path 5 Determining as the starting point A the first point located in the predetermined berthing area corresponding to the target berthing point T, the predetermined berthing area is an area pre-defined for the position of the target berthing point T and covering the position of the target berthing point T . For example, a dedicated charging area 6 can be set for the mobile robot 1 working in the warehouse, at least one charging pile 2 is arranged in the charging area 6, and the mobile robot 1 that needs to be charged can move to a specific charging position in the charging area 6 to Dock with charging pile 2 to charge. Usually, the charging area 6 is a flat barrier-free area, that is, no equipment unrelated to charging is arranged in the charging area 6 , so that the mobile robot 1 can move relatively freely in the charging area 6 without encountering obstacles. In this case, a parking area can be predetermined for the charging location for the mobile robot 1 , which is set, for example, as the entire charging area 6 . Delimiting the parking area in advance and selecting the starting point A in the predetermined parking area can make the mobile robot 1 move along a smoother parking planning path after entering the parking area. When the mobile robot 1 needs to be charged and enters the parking area, it can start to move according to the parking planning path.
移动机器人1在起点A处的位姿和/或曲率可相应地与移动机器人1在全局路径5上的第一点处的位姿和/或曲率相同。由此,能够使停泊规划路径平滑地嵌入原全局路径5,使得移动机器人1无须在停泊规划路径开始处先停止,也无须在停泊规划路径开始处调整至特定的方向。The pose and/or curvature of the mobile robot 1 at the starting point A may be correspondingly the same as the pose and/or curvature of the mobile robot 1 at the first point on the global path 5 . Thus, the planned parking path can be smoothly embedded into the original global path 5 , so that the mobile robot 1 does not need to stop at the beginning of the planned parking path, and does not need to adjust to a specific direction at the beginning of the planned parking path.
图8示意性地示出了根据本发明的一个示例性实施例的用于移动机器人1的运动控制方法的流程图。所述运动控制方法包括以下步骤:Fig. 8 schematically shows a flowchart of a motion control method for a mobile robot 1 according to an exemplary embodiment of the present invention. The motion control method includes the following steps:
S31:获取用于移动机器人1的全局路径5,并控制移动机器人1按照所述全局路径5运动;S31: Obtain a global path 5 for the mobile robot 1, and control the mobile robot 1 to move according to the global path 5;
S32:以移动机器人1的当前位置作为起点A,在全局路径5上确定与所述当前位置相比更靠近全局路径5的终止点的第三点作为终点B,执行根据本发明的路径规划方法,以获得用于移动机器人1的规划路径;S32: Taking the current position of the mobile robot 1 as the starting point A, determining a third point on the global path 5 that is closer to the termination point of the global path 5 than the current position as the end point B, and executing the path planning method according to the present invention , to obtain the planned path for the mobile robot 1;
S33:将全局路径5中的从移动机器人1的当前位置到第三点的区段替换为所述规划路径;以及S33: Replace the section from the current position of the mobile robot 1 to the third point in the global path 5 with the planned path; and
S34:控制移动机器人1按照替换后的全局路径5运动。S34: Control the mobile robot 1 to move according to the replaced global path 5 .
可选地,在所述规划路径为用于使移动机器人1运动至目标停泊点T并以期望的停泊位姿停泊在目标停泊点T的停泊规划路径的情况下,在移动机器人1运动至与目标停泊点T对应的预定的停泊区域内之后开始执行步骤S32,所述预定的停泊区域是针对目标停泊点T的位置预先划定的、覆盖目标停泊点T的位置的区域。Optionally, in the case that the planned path is a parking planning path for moving the mobile robot 1 to the target parking point T and parking at the target parking point T with a desired parking posture, when the mobile robot 1 moves to the target parking point T Step S32 starts to be executed after being within the predetermined parking area corresponding to the target parking point T. The predetermined parking area is an area defined in advance for the location of the target parking point T and covers the location of the target parking point T.
移动机器人1在起点A处的位姿和/或曲率可相应地与移动机器人1在 当前位置处的位姿和/或曲率相同。The pose and/or curvature of the mobile robot 1 at the starting point A may be correspondingly the same as the pose and/or curvature of the mobile robot 1 at the current location.
根据本发明的运动控制方法与根据本发明的路径规划方法具有对应的特征和相似的原理。上文中针对路径规划方法所描述的特征和优势,也可相应地适用于运动控制方法。The motion control method according to the present invention has corresponding features and similar principles to the path planning method according to the present invention. The features and advantages described above for the path planning method also apply correspondingly for the motion control method.
另外,本发明还涉及一种计算机程序产品,其包括计算器程序指令,当所述计算机程序指令被一个或多于一个处理器执行时,所述处理器能够执行根据本发明的路径规划方法或运动控制方法。In addition, the present invention also relates to a computer program product comprising computer program instructions which, when executed by one or more processors, enable said processors to perform the path planning method or motion control method.
在本发明中,计算机程序产品可存储在计算机可读存储介质中。计算机可读存储介质例如可包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡,安全数字卡,闪存卡、至少一个磁盘存储器件、闪存器件、或其它易失性固态存储器件。处理器可以是中央处理单元,还可以是其它通用处理器、数字信号处理器、专用集成电路、现成可编程门阵列或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者也可以是任何常规的处理器等。In the present invention, the computer program product can be stored in a computer-readable storage medium. The computer-readable storage medium may include, for example, high-speed random access memory, and may also include non-volatile memory, such as a hard disk, internal memory, plug-in hard disk, smart memory card, secure digital card, flash memory card, at least one magnetic disk storage device, Flash memory devices, or other volatile solid-state storage devices. The processor may be a central processing unit, or other general-purpose processors, digital signal processors, application-specific integrated circuits, off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general-purpose processor may be a microprocessor or any conventional processor or the like.
尽管这里详细描述了本发明的特定实施方式,但它们仅仅是为了解释的目的而给出的,而不应认为它们对本发明的范围构成限制。在不脱离本发明精神和范围的前提下,各种替换、变更和改造可被构想出来。While specific embodiments of the invention have been described in detail, these have been presented for purposes of illustration only and should not be construed as limiting the scope of the invention. Various alternatives, changes and modifications can be devised without departing from the spirit and scope of the invention.

Claims (17)

  1. 一种用于移动机器人(1)的路径规划方法,其中,所述路径规划方法包括以下步骤:A path planning method for a mobile robot (1), wherein the path planning method comprises the following steps:
    S11:获取移动机器人(1)在起点A处的起点位姿和起点曲率τ 0以及在终点B处的终点位姿和终点曲率τ 1S11: Obtain the starting pose and starting curvature τ 0 of the mobile robot (1) at the starting point A and the ending pose and ending curvature τ 1 at the ending point B;
    S12:确定点C 1和点C 3,使得向量
    Figure PCTCN2022123040-appb-100001
    的方向与移动机器人(1)在起点A处的方向相同,向量
    Figure PCTCN2022123040-appb-100002
    的方向与移动机器人(1)在终点B处的方向相同;
    S12: Determine point C 1 and point C 3 such that the vector
    Figure PCTCN2022123040-appb-100001
    The direction of is the same as that of the mobile robot (1) at the starting point A, and the vector
    Figure PCTCN2022123040-appb-100002
    The direction of is the same as the direction of the mobile robot (1) at the end point B;
    S13:在线段C 1C 3上确定点C 2S13: Determine point C 2 on line segment C 1 C 3 ;
    S14:确定以起点A为起始点、点C 2为终止点的第一路径(3),并且确定以点C 2为起始点、终点B为终止点的第二路径(4),其中,第一路径(3)和第二路径(4)均为满足下述约束的三阶贝塞尔曲线: S14: Determine the first path (3) with the starting point A as the starting point and the point C2 as the ending point, and determine the second path (4) with the point C2 as the starting point and the ending point B as the ending point, wherein the first The first path (3) and the second path (4) are third-order Bezier curves satisfying the following constraints:
    根据第一路径(3),移动机器人(1)在起点A处满足起点位姿和起点曲率τ 0According to the first path (3), the mobile robot (1) satisfies the starting pose and starting curvature τ 0 at the starting point A,
    根据第二路径(4),移动机器人(1)在终点B处满足终点位姿和终点曲率τ 1,以及 According to the second path (4), the mobile robot (1) satisfies the end pose and end curvature τ 1 at the end point B, and
    根据第一路径(3)和第二路径(4),移动机器人(1)在点C 2处的线速度方向与向量
    Figure PCTCN2022123040-appb-100003
    相同并且曲率为0;以及
    According to the first path (3) and the second path (4), the linear velocity direction and vector of the mobile robot (1) at point C2
    Figure PCTCN2022123040-appb-100003
    are the same and have a curvature of 0; and
    S15:将第一路径(3)与第二路径(4)拼接而成的路径作为用于移动机器人(1)的规划路径或规划路径的一部分。S15: The path formed by splicing the first path (3) and the second path (4) is used as a planned path or a part of the planned path for the mobile robot (1).
  2. 根据权利要求1所述的路径规划方法,其中,The path planning method according to claim 1, wherein,
    在步骤S12中,以下述方式确定点C 1和点C 3In step S12, points C1 and C3 are determined in the following manner:
    确定点M,使得向量
    Figure PCTCN2022123040-appb-100004
    的方向与移动机器人(1)在起点A处的方向相同,并且向量
    Figure PCTCN2022123040-appb-100005
    的方向与移动机器人(1)在终点B处的方向相同;以及
    Determine the point M such that the vector
    Figure PCTCN2022123040-appb-100004
    The direction of is the same as the direction of the mobile robot (1) at the starting point A, and the vector
    Figure PCTCN2022123040-appb-100005
    The direction of is the same as the direction of the mobile robot (1) at the end point B; and
    在线段AM上确定点C 1,在线段MB上确定点C 3Determine point C 1 on line segment AM and point C 3 on line segment MB.
  3. 根据权利要求1或2所述的路径规划方法,其中,The path planning method according to claim 1 or 2, wherein,
    在步骤S13中,在线段C 1C 3上选择能够使第一路径(3)和第二路径(4)的曲率的最大绝对值最小的点作为点C 2In step S13 , a point on the line segment C 1 C 3 that can minimize the maximum absolute value of the curvature of the first path ( 3 ) and the second path ( 4 ) is selected as point C 2 .
  4. 根据权利要求1或2所述的路径规划方法,其中,The path planning method according to claim 1 or 2, wherein,
    在步骤S13中,选择线段C 1C 3的中点作为点C 2In step S13, the midpoint of the line segment C 1 C 3 is selected as point C 2 .
  5. 根据权利要求1所述的路径规划方法,其中,The path planning method according to claim 1, wherein,
    在步骤S12和S13中,以使第一路径(3)和第二路径(4)的曲率的最大绝对值最小的方式,确定点C 1、点C 3和点C 2In steps S12 and S13, points C 1 , C 3 and C 2 are determined in such a way that the maximum absolute value of the curvature of the first path ( 3 ) and the second path ( 4 ) is minimized.
  6. 根据权利要求1-5中任一项所述的路径规划方法,其中,The path planning method according to any one of claims 1-5, wherein,
    第一路径(3)为由下式表示的曲线:The first path (3) is a curve represented by:
    Figure PCTCN2022123040-appb-100006
    Figure PCTCN2022123040-appb-100006
    其中,
    Figure PCTCN2022123040-appb-100007
    依次表示贝塞尔曲线的四个控制点的坐标并且通过以下方式来确定:
    in,
    Figure PCTCN2022123040-appb-100007
    In turn represent the coordinates of the four control points of the Bezier curve and are determined by:
    Figure PCTCN2022123040-appb-100008
    为起点A的坐标,
    Figure PCTCN2022123040-appb-100009
    为点C 2的坐标,
    Figure PCTCN2022123040-appb-100008
    is the coordinates of the starting point A,
    Figure PCTCN2022123040-appb-100009
    is the coordinates of point C2 ,
    向量
    Figure PCTCN2022123040-appb-100010
    的方向与移动机器人(1)在起点A处的方向相同,
    vector
    Figure PCTCN2022123040-appb-100010
    The direction of is the same as that of the mobile robot (1) at the starting point A,
    向量
    Figure PCTCN2022123040-appb-100011
    的方向与向量
    Figure PCTCN2022123040-appb-100012
    的方向相同,
    vector
    Figure PCTCN2022123040-appb-100011
    The direction and vector of
    Figure PCTCN2022123040-appb-100012
    in the same direction,
    将s=0代入
    Figure PCTCN2022123040-appb-100013
    中,其中,P′ p1x(s)、P′ p1y(s)、P″ p1x(s)、P″ p1y(s)、分别是
    Figure PCTCN2022123040-appb-100014
    的一阶导横、纵坐标和二阶导横、纵坐标,以及
    Substitute s=0 into
    Figure PCTCN2022123040-appb-100013
    Among them, P′ p1x (s), P′ p1y (s), P″ p1x (s), P″ p1y (s), are respectively
    Figure PCTCN2022123040-appb-100014
    The first-order abscissa, ordinate and second-order derivative of the abscissa, ordinate, and
    将s=1代入
    Figure PCTCN2022123040-appb-100015
    中;
    Substitute s=1 into
    Figure PCTCN2022123040-appb-100015
    middle;
    和/或,and / or,
    第二路径(4)为由下式表示的曲线:The second path (4) is a curve represented by:
    Figure PCTCN2022123040-appb-100016
    Figure PCTCN2022123040-appb-100016
    其中,
    Figure PCTCN2022123040-appb-100017
    依次表示贝塞尔曲线的四个控制点的坐标并且通过以下方式来确定:
    in,
    Figure PCTCN2022123040-appb-100017
    In turn represent the coordinates of the four control points of the Bezier curve and are determined by:
    Figure PCTCN2022123040-appb-100018
    为点C 2的坐标,
    Figure PCTCN2022123040-appb-100019
    为终点B的坐标;
    Figure PCTCN2022123040-appb-100018
    is the coordinates of point C2 ,
    Figure PCTCN2022123040-appb-100019
    is the coordinates of the end point B;
    向量
    Figure PCTCN2022123040-appb-100020
    的方向与向量
    Figure PCTCN2022123040-appb-100021
    的方向相同;
    vector
    Figure PCTCN2022123040-appb-100020
    The direction and vector of
    Figure PCTCN2022123040-appb-100021
    in the same direction;
    向量
    Figure PCTCN2022123040-appb-100022
    的方向与移动机器人(1)在终点B处的方向相同;
    vector
    Figure PCTCN2022123040-appb-100022
    The direction of is the same as the direction of the mobile robot (1) at the end point B;
    将s=0代入
    Figure PCTCN2022123040-appb-100023
    中,其中,P′ p2x(s)、P′ p2y(s)、P″ p2x(s)、P″ p2y(s)、分别是
    Figure PCTCN2022123040-appb-100024
    的一阶导横、纵坐标和二阶导横、纵坐标;以及
    Substitute s=0 into
    Figure PCTCN2022123040-appb-100023
    Among them, P′ p2x (s), P′ p2y (s), P″ p2x (s), P″ p2y (s), are respectively
    Figure PCTCN2022123040-appb-100024
    The first-order abscissa, ordinate and second-order abscissa, ordinate of the derivative; and
    将s=1代入
    Figure PCTCN2022123040-appb-100025
    中。
    Substitute s=1 into
    Figure PCTCN2022123040-appb-100025
    middle.
  7. 根据权利要求1-6中任一项所述的路径规划方法,其中,The path planning method according to any one of claims 1-6, wherein,
    所述规划路径为用于使移动机器人(1)运动至目标停泊点T并以期望的停泊位姿停泊在目标停泊点T的停泊规划路径,其中,起点A为所述停泊规划路径的起始点,终点位姿和终点曲率τ 1根据所述期望的停泊位姿来确定。 The planned path is a planned parking path for the mobile robot (1) to move to the target parking point T and park at the target parking point T with a desired parking posture, wherein the starting point A is the starting point of the parking planning path , the terminal pose and the terminal curvature τ 1 are determined according to the desired parking pose.
  8. 根据权利要求7所述的路径规划方法,其中,The path planning method according to claim 7, wherein,
    终点B为所述停泊规划路径的终止点,终点位姿被确定为与所述期望的停泊位姿相同,终点曲率τ 1=0。 The end point B is the end point of the planned parking path, the end point pose is determined to be the same as the expected berthing pose, and the end point curvature τ 1 =0.
  9. 根据权利要求7所述的路径规划方法,其中,The path planning method according to claim 7, wherein,
    终点B为不同于所述目标停泊点T的点,其中,End point B is a point different from said target berthing point T, wherein,
    移动机器人(1)在终点B处的方向与移动机器人(1)在目标停泊点T处的方向相同;The direction of the mobile robot (1) at the end point B is the same as the direction of the mobile robot (1) at the target parking point T;
    移动机器人(1)在终点B处的方向与向量
    Figure PCTCN2022123040-appb-100026
    的方向相同;
    The direction and vector of the mobile robot (1) at the end point B
    Figure PCTCN2022123040-appb-100026
    in the same direction;
    在步骤S15中,将第一路径(3)、第二路径(4)与线段BT拼接而成的路径作为用于使移动机器人(1)运动至目标停泊点T的停泊规划路径。In step S15, the path formed by splicing the first path (3), the second path (4) and the line segment BT is used as a parking planning path for moving the mobile robot (1) to the target parking point T.
  10. 根据权利要求1-9中任一项所述的路径规划方法,其中,The path planning method according to any one of claims 1-9, wherein,
    移动机器人(1)为差速机器人。The mobile robot (1) is a differential speed robot.
  11. 一种用于移动机器人(1)的运动控制方法,其中,所述运动控制方法包括以下步骤:A motion control method for a mobile robot (1), wherein the motion control method comprises the following steps:
    S21:获取用于移动机器人(1)的全局路径(5);S21: Obtain the global path (5) for the mobile robot (1);
    S22:在所述全局路径(5)上选取第一点和与第一点相比更靠近全局路径(5)的终止点的第二点,以第一点作为起点A、第二点作为终点B,执行根据权利要求1-10中任一项所述的路径规划方法,以获得用于移动机器人(1)的规划路径;S22: Select a first point on the global path (5) and a second point closer to the termination point of the global path (5) than the first point, with the first point as the starting point A and the second point as the end point B, execute the path planning method according to any one of claims 1-10, to obtain the planned path for the mobile robot (1);
    S23:将全局路径(5)中从第一点到第二点的区段替换为所述规划路径;以及S23: Replace the section from the first point to the second point in the global path (5) with the planned path; and
    S24:控制移动机器人(1)按照替换后的全局路径(5)运动。S24: Control the mobile robot (1) to move according to the replaced global path (5).
  12. 根据权利要求11所述的运动控制方法,其中,The motion control method according to claim 11, wherein,
    在所述规划路径为用于使移动机器人(1)运动至目标停泊点T并以期望的停泊位姿停泊在目标停泊点T的停泊规划路径的情况下,在所述全局路径(5)上确定位于与目标停泊点T对应的预定的停泊区域内的第一点作为起点A,所述预定的停泊区域是针对目标停泊点T的位置预先划定的、覆盖目标停泊点T的位置的区域。In the case where the planned path is a parking planning path for moving the mobile robot (1) to the target parking point T and parking at the target parking point T with a desired parking posture, on the global path (5) Determining as the starting point A the first point located in the predetermined berthing area corresponding to the target berthing point T, the predetermined berthing area is an area pre-defined for the position of the target berthing point T and covering the position of the target berthing point T .
  13. 根据权利要求11或12所述的运动控制方法,其中,The motion control method according to claim 11 or 12, wherein,
    移动机器人(1)在起点A处的位姿和/或曲率相应地与移动机器人(1)在全局路径(5)上的第一点处的位姿和/或曲率相同。The pose and/or curvature of the mobile robot (1) at the starting point A is correspondingly the same as the pose and/or curvature of the mobile robot (1) at the first point on the global path (5).
  14. 一种用于移动机器人(1)的运动控制方法,其中,所述运动控制方法包括以下步骤:A motion control method for a mobile robot (1), wherein the motion control method comprises the following steps:
    S31:获取用于移动机器人(1)的全局路径(5),并控制移动机器人(1)按照所述全局路径(5)运动;S31: Obtain a global path (5) for the mobile robot (1), and control the mobile robot (1) to move according to the global path (5);
    S32:以移动机器人(1)的当前位置作为起点A,在全局路径(5)上确定与所述当前位置相比更靠近全局路径(5)的终止点的第三点作为终点B,执行根据权利要求1-10中任一项所述的路径规划方法,以获得用于移动机器人(1)的规划路径;S32: Taking the current position of the mobile robot (1) as the starting point A, determine a third point on the global path (5) that is closer to the end point of the global path (5) than the current position as the end point B, and execute according to The path planning method according to any one of claims 1-10, to obtain a planned path for the mobile robot (1);
    S33:将全局路径(5)中的从移动机器人(1)的当前位置到第三点的区段替换为所述规划路径;以及S33: replacing the section from the current position of the mobile robot (1) to the third point in the global path (5) with the planned path; and
    S34:控制移动机器人(1)按照替换后的全局路径(5)运动。S34: Control the mobile robot (1) to move according to the replaced global path (5).
  15. 根据权利要求14所述的运动控制方法,其中,The motion control method according to claim 14, wherein,
    在所述规划路径为用于使移动机器人(1)运动至目标停泊点T并以期望的停泊位姿停泊在目标停泊点T的停泊规划路径的情况下,在移动机器人(1)运动至与目标停泊点T对应的预定的停泊区域内之后开始执行步骤S32,所述预定的停泊区域是针对目标停泊点T的位置预先划定的、覆盖目标停泊点T的位置的区域。In the case that the planned path is a parking planning path for moving the mobile robot (1) to the target parking point T and parking at the target parking point T with a desired parking posture, when the mobile robot (1) moves to the target parking point T Step S32 starts to be executed after being within the predetermined parking area corresponding to the target parking point T. The predetermined parking area is an area defined in advance for the location of the target parking point T and covers the location of the target parking point T.
  16. 根据权利要求14或15所述的运动控制方法,其中,The motion control method according to claim 14 or 15, wherein,
    移动机器人(1)在起点A处的位姿和/或曲率相应地与移动机器人(1)在当前位置处的位姿和/或曲率相同。The pose and/or curvature of the mobile robot (1) at the starting point A is correspondingly the same as the pose and/or curvature of the mobile robot (1) at the current position.
  17. 一种计算机程序产品、特别是计算机可读存储介质,其包括计算器程序指令,其中,当所述计算机程序指令被一个或多于一个处理器执行时,所述处理器能够执行根据权利要求1-10中任一项所述的路径规划方法或根据权利要求11-26中任一项所述的运动控制方法。A computer program product, in particular a computer readable storage medium, comprising computer program instructions, wherein, when said computer program instructions are executed by one or more processors, said processors are capable of performing the - The path planning method according to any one of claims 10 or the motion control method according to any one of claims 11-26.
PCT/CN2022/123040 2021-12-29 2022-09-30 Path planning method, motion control method and computer program product WO2023124339A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111681531.8 2021-12-29
CN202111681531.8A CN116414116A (en) 2021-12-29 2021-12-29 Path planning method, motion control method and computer program product

Publications (1)

Publication Number Publication Date
WO2023124339A1 true WO2023124339A1 (en) 2023-07-06

Family

ID=86997446

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/123040 WO2023124339A1 (en) 2021-12-29 2022-09-30 Path planning method, motion control method and computer program product

Country Status (2)

Country Link
CN (1) CN116414116A (en)
WO (1) WO2023124339A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116701821A (en) * 2023-08-03 2023-09-05 季华实验室 Robot speed calculation method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965519A (en) * 2015-06-10 2015-10-07 北京理工大学 Bezier curve-based terminal guidance method with fall angle constraint
CN107168305A (en) * 2017-04-01 2017-09-15 西安交通大学 Unmanned vehicle method for planning track based on Bezier and VFH under the scene of crossing
US20190220022A1 (en) * 2015-04-24 2019-07-18 Autonomous Solutions Inc. System and method for controlling a vehicle
CN110865610A (en) * 2019-10-18 2020-03-06 中国工程物理研究院机械制造工艺研究所 Tool path interpolation and speed planning method based on machine tool vibration suppression
CN111796594A (en) * 2020-06-17 2020-10-20 珠海云洲智能科技有限公司 Unmanned ship mooring control method, unmanned ship mooring control device and unmanned ship
CN112269965A (en) * 2020-08-10 2021-01-26 中国北方车辆研究所 Continuous curvature path optimization method under incomplete constraint condition

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190220022A1 (en) * 2015-04-24 2019-07-18 Autonomous Solutions Inc. System and method for controlling a vehicle
CN104965519A (en) * 2015-06-10 2015-10-07 北京理工大学 Bezier curve-based terminal guidance method with fall angle constraint
CN107168305A (en) * 2017-04-01 2017-09-15 西安交通大学 Unmanned vehicle method for planning track based on Bezier and VFH under the scene of crossing
CN110865610A (en) * 2019-10-18 2020-03-06 中国工程物理研究院机械制造工艺研究所 Tool path interpolation and speed planning method based on machine tool vibration suppression
CN111796594A (en) * 2020-06-17 2020-10-20 珠海云洲智能科技有限公司 Unmanned ship mooring control method, unmanned ship mooring control device and unmanned ship
CN112269965A (en) * 2020-08-10 2021-01-26 中国北方车辆研究所 Continuous curvature path optimization method under incomplete constraint condition

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116701821A (en) * 2023-08-03 2023-09-05 季华实验室 Robot speed calculation method and device, electronic equipment and storage medium
CN116701821B (en) * 2023-08-03 2024-03-19 季华实验室 Robot speed calculation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN116414116A (en) 2023-07-11

Similar Documents

Publication Publication Date Title
US9244463B2 (en) Automated guided vehicle and method of operating an automated guided vehicle
Vasiljević et al. High-accuracy vehicle localization for autonomous warehousing
US10345821B2 (en) Floor-treatment apparatus and navigation system therefor
KR102210788B1 (en) Automated guided vehicle, system with a computer and an automated guided vehicle, method for operating an automated guided vehicle
US10127677B1 (en) Using observations from one or more robots to generate a spatio-temporal model that defines pose values for a plurality of objects in an environment
KR101679482B1 (en) A multi robot system for avoding obstacle and a method using switching formation strategy for obstable avoidandce
WO2023036044A1 (en) Global path planning method, motion control method and computer program product
KR101664575B1 (en) Method to obstacle avoidance for wheeled mobile robots
CN108983603B (en) Butt joint method of robot and object and robot thereof
Digani et al. Obstacle avoidance for industrial AGVs
KR20130018921A (en) Autonomous locomotion body
JP6771588B2 (en) Moving body and control method of moving body
WO2023124339A1 (en) Path planning method, motion control method and computer program product
EP3620885A1 (en) Autonomous mobile apparatus
US20220390950A1 (en) Directed exploration for navigation in dynamic environments
JP2021503334A5 (en)
US20210216073A1 (en) Vehicle control system, vehicle control method, and program
Behrje et al. An autonomous forklift with 3d time-of-flight camera-based localization and navigation
Signifredi et al. A general purpose approach for global and local path planning combination
JP2018194937A (en) Travel control device and travel control method of unmanned carrier
KR102183830B1 (en) The route control apparatus of automatic guided vehicle and route controlling method of thereof
WO2023279918A1 (en) Motion control method and system for dual-steering-wheel autonomous moving device, and program product
Van Parys et al. Distributed coordination, transportation & localisation in industry 4.0
Wang et al. Visual regulation of a nonholonomic wheeled mobile robot with two points using Lyapunov functions
JP6642026B2 (en) Autonomous mobile control device

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: 22913604

Country of ref document: EP

Kind code of ref document: A1