A method for simultaneous planning of position and posture of mobile robots
The Bezier curve interpolation algorithm is generated by the De Casteljau algorithm represented by the Lie group Lie algebra, which solves the problems of complexity of mobile robot pose planning and discontinuous acceleration in the existing technology, achieves efficient synchronous planning of the mobile robot's position and attitude, and improves motion Smoothness and precision.
Patent Information
- Application Number
- CN202210860426.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-21
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-07-21
AI Technical Summary
The existing mobile robot pose planning methods are complex, have low calculation efficiency, and cannot guarantee continuous smooth motion acceleration, which affects tracking accuracy.
The De Casteljau algorithm based on the Lie algebra representation of the Lie group is used to generate the Bezier curve interpolation algorithm. Through Lie algebra recursion and mapping, the position and attitude trajectory of the mobile robot are synchronously planned, and the same parameter t is used to ensure continuous and smooth changes in speed and acceleration.
It improves the smoothness and tracking accuracy of the mobile robot's motion, simplifies the planning process, realizes C3 continuous pose trajectory, and meets the needs for synchronous planning of the mobile robot's position and attitude.
Smart Images

Figure CN115167429B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of robots, and in particular relates to a method for simultaneously planning the position and posture of a mobile robot. Background Art
[0002] At present, the trajectory planning method of a mobile robot with three degrees of freedom mainly plans the position of the robot, and rarely considers the planning of the heading angle of the mobile robot at the same time. A mobile robot with three degrees of freedom has high mobility and flexibility. When the position and posture of the mobile robot are set, the mobile robot with three degrees of freedom can realize simultaneous position and posture planning, without the need to move first and then rotate or rotate first and then move. Therefore, it is necessary to plan the position and posture of the mobile robot at the same time.
[0003] The existing posture planning method is to use two planning methods to plan the position and posture separately, and then unify the running time of the two trajectories, so as to realize that the position and posture start and stop at the same time. However, the existing posture synchronization planning method needs to establish the relationship between the parameters in the two planning methods. If the relationship between the two parameters is not established accurately, it will affect the synchronization of the two trajectories. For example, patent No. CN113103240A and CN113103241A provide a robot posture planning method. The provided method first plans the position and posture in two methods, and then establishes the relationship between the two planning parameters to realize the synchronous planning of the position and posture trajectories; CN113942016A provides a method for synchronizing the posture time of the end motion of a manipulator, respectively using the trapezoidal trajectory planning method and the "angle-axis" method to obtain the position trajectory parameters and the posture trajectory parameters, and also needs to adjust the posture trajectory according to the position trajectory time; the non-patent document "Implementation of the Arcade Pose Trajectory Planning Algorithm for Manipulator Space" uses homogeneous matrices and quaternions to plan the position and posture trajectories respectively, and the posture trajectory C2 is continuous. Although the above method realizes the simultaneous planning of robot position and posture, the planning process is complicated, the calculation efficiency is low, and it can only ensure the continuity of posture C2, but cannot ensure the smooth and continuous acceleration of posture, which will affect the tracking accuracy of the mobile robot. Therefore, it is important to study a method for simultaneous planning of mobile robot position and posture trajectory and ensure the smooth and continuous acceleration of mobile robot motion. Summary of the invention
[0004] In order to make up for the deficiencies of the prior art, the present invention provides a technical solution for a method for simultaneously planning the position and posture of a mobile robot.
[0005] In order to achieve the above invention object, the technical solution adopted by the present invention includes:
[0006] A method for simultaneously planning the position and posture of a mobile robot is mainly used for synchronously planning the position and posture trajectory of a mobile robot with three degrees of freedom, and comprises the following steps:
[0007] Step 1: Get the planned position point P of the mobile robot from the path planning module i =(x,y,θ),i=0,1,…,n,n≥5.
[0008] Step 2: In order to ensure that the initial and final speeds and accelerations of the mobile robot are 0, the initial and final path points can be repeated four times and output to the trajectory planning module. For example, the pose point P planned by the path planning module 0 ,P 1 ,…,P n ,To meet the motion requirements of the mobile robot, the pose point sequence input to the trajectory planning module is P 0 ,P 0 ,P 0 ,P 0 ,P 1 ,…,P n-1 ,P n ,P n ,P n ,P n .
[0009] Step 3: Use the De Casteljau algorithm based on Lie group and Lie algebra to generate the Bezier curve interpolation algorithm to ensure the synchronization of the generated mobile robot position and posture trajectory planning. The velocity curve obtained after the trajectory curve is derived is used as the control input of the mobile robot. The mobile robot can achieve both translational and rotational movement. The motion trajectory generated by the Bezier curve can ensure the smooth and continuous change of the linear velocity and angular velocity of the mobile robot, thereby improving the stability of the mobile robot's movement.
[0010] The De Casteljau algorithm based on the Lie group Lie algebra representation generates the Bezier curve interpolation algorithm as follows:
[0011] Use the spinor coordinate Q = [v x, v y, v z, w x, w y, w z, ] represents the position of the mobile robot in the global coordinate system, where V x ,V y ,W z Use x, y, and θ to replace them respectively. Given several mobile robot's spinor coordinates Q 1 ,Q 2 ,…,Q n ∈se(3), for every t∈[0,1], two adjacent Lie algebra elements and Lie algebra between for:
[0012]
[0013] in,
[0014] After n-1 recursions, the orthogonal matrix formed by the pose points on the Bezier pose trajectory curve at each time t∈[0,1] is obtained.
[0015] The De Casteljau algorithm based on Lie group algebra in the present invention can fit a given series of posture points to obtain a Bezier trajectory curve passing through the starting point and the end point. The special feature of the algorithm is that it can synchronously fit the given position and heading angle of the mobile robot, without the need to separately plan the position and heading angle and then unify them at the same time, and the algorithm is simple.
[0016] The De Casteljau algorithm based on the Lie group Lie algebra representation generates the Bezier curve interpolation algorithm as follows:
[0017] The orthogonal matrix corresponding to each moment t∈[0,1] is used to obtain the spinor coordinates of the pose point through logarithmic mapping. All the mobile robot pose points form a C3 continuous Bezier curve.
[0018] By using a differential algorithm between adjacent posture points, a continuous and smooth mobile robot velocity curve is obtained, which can satisfy the requirement that the velocity of the mobile robot at the start and end states is zero.
[0019] Similarly, by using a differential algorithm at adjacent speed points to obtain a continuous and smooth acceleration curve of the mobile robot to maintain continuity and smoothness, the stability of the mobile robot is improved.
[0020] The acceleration curve of the mobile robot is obtained by using a differential algorithm between adjacent speed points. The acceleration curve is continuous and smooth, which improves the stability of the mobile robot.
[0021] Step 4: The heading angle of the mobile robot is obtained in real time through the wheel odometer, and the planned Cartesian space speed is mapped to the robot workspace as the control input to achieve synchronous changes in the position and posture of the mobile robot. The input of the mobile robot can be given by the following formula:
[0022]
[0023] Among them, the left side of the equation is the velocity input of the mobile robot, and the right side of the equation R(θ) is the rotation matrix mapping the Cartesian coordinate system to the mobile robot coordinate system, [V x V y W] Tis the planned speed of the mobile robot.
[0024] As long as the speed planned at time t [V x ,V y ,ω] is multiplied on the left by the rotation torque R(θ) mapped from the Cartesian coordinate system to the robot coordinate system at this moment as the input of the mobile robot, which can realize both translational and rotational motion of the mobile robot.
[0025] Compared with the prior art, the present invention has the following beneficial effects:
[0026] The present invention is applicable to the posture planning of a three-degree-of-freedom mobile robot. The DeCasteljau algorithm based on the Lie group and Lie algebra expression generates a Bezier curve algorithm using the same parameter t, and the set posture point is expressed by Lie algebra. Through multiple recursions between Lie algebras and mappings between Lie groups and Lie algebras, the position and posture of the mobile robot corresponding to each moment t are obtained. The method uses the same parameter to simultaneously plan the position and posture of the mobile robot, and does not need to use two parameters for separate planning and then establish the relationship between the two parameters. The posture trajectory of the mobile robot with C3 continuity can be obtained, which ensures that the speed and acceleration of the mobile robot are continuous and smooth, and effectively improves the stability of the mobile robot operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A flow chart of a method for simultaneously planning the position and posture of a mobile robot according to the present invention;
[0028] Figure 2 A posture trajectory diagram of the mobile robot planned by the method of the present invention;
[0029] Figure 3 A speed curve diagram of the mobile robot planned by the method of the present invention;
[0030] Figure 4 The acceleration curve diagram of the mobile robot planned by the method of the present invention;
[0031] Figure 5 The actual motion trajectory diagram of the mobile robot when the method of the present invention is applied;
[0032] Figure 2 The origin in the middle represents the position of the given mobile robot, the asterisk represents the actual position of the mobile robot, the thick arrow represents the heading angle of the given mobile robot, and the thin arrow represents the actual heading angle of the mobile robot. DETAILED DESCRIPTION
[0033] In the description of the present invention, it is necessary to understand that the terms "one end", "the other end", "outside", "upper", "inside", "horizontal", "coaxial", "center", "end", "length", "outer end" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0034] The present invention will be further described below in conjunction with the accompanying drawings.
[0035] The method for simultaneously planning the position and posture of a mobile robot proposed in the present invention is as follows: Figure 1 As shown, the workflow of this method is as follows:
[0036] Step 1: Get the planned pose point P in the path planning module i =(x,y,θ),i=0,1,…,n,n≥5, where the position of the mobile robot is represented by x,y and the orientation is represented by θ.
[0037] Step 2: To meet the motion state requirements of the mobile robot, the position point sequence of the mobile robot needs to be sorted out.
[0038] Step three, the De Casteljau algorithm based on Lie group and Lie algebra is used to generate the continuous pose trajectory represented by Bezier curve, and the pose trajectory velocity curve of the mobile robot is obtained using the difference method.
[0039] Step 4: Map the Cartesian space planning velocity into the mobile robot workspace as the input velocity to control the robot's synchronous motion changes in position and posture.
[0040] from Figure 2 , Figure 3 , Figure 4 It can be seen from the posture trajectory curve, velocity curve and acceleration curve of the mobile robot shown that the posture trajectory synchronization planning method of the mobile robot of the present invention is simple and efficient, and can effectively improve the stability of the mobile robot's operation.
[0041] After obtaining the pose points of the mobile robot in the Cartesian coordinate system from the path planning module, in order to ensure that the initial and final velocities and accelerations of the mobile robot are 0, the path points at the beginning and end can be repeated four times and output to the trajectory planning module. For example, the pose point list planned by the path planning module is:
[0042]
[0043]
[0044] In order to meet the motion requirements of the mobile robot, the pose point sequence input to the trajectory planning module is:
[0045] sequence x y θ <![CDATA[P 0 ]]> 0 0 0 <![CDATA[P 1 ]]> 0 0 0 <![CDATA[P 2 ]]> 0 0 0 <![CDATA[P 3 ]]> 0 0 0 <![CDATA[P 4 ]]> 0.8 0 5 <![CDATA[P 5 ]]> 1.2 0.5 9 <![CDATA[P 6 ]]> 1.5 1 15 <![CDATA[P 7 ]]> 1.8 1.2 17 <![CDATA[P 8 ]]> 2.5 1.5 22 <![CDATA[P 9 ]]> 2.5 1.5 22 <![CDATA[P 10 ]]> 2.5 1.5 22 <![CDATA[P 11 ]]> 2.5 1.5 22
[0046] The De Casteljau algorithm based on Lie group Lie algebra representation generates the Bezier curve interpolation algorithm as follows: Use the spinor coordinate Q = [V x, V y, V z, W x, W y, W z, ] represents the position of the mobile robot in the Cartesian coordinate system, where V x ,V y ,W z Use x, y, θ instead. Given several mobile robot's spinor coordinates Q 1 ,Q 2 ,…,Q 12 ∈se(3), such as Figure 2 As shown in , the position of the mobile robot in the Cartesian coordinate system is represented by a dot, and the heading angle of the mobile robot in the Cartesian coordinate system is represented by a thick arrow. For each t∈[0,1], the adjacent two Lie algebra elements and Lie algebra between for:
[0047]
[0048] in,
[0049] After 11 recursions, the orthogonal matrix formed by the pose points on the Bezier pose trajectory curve at each time t∈[0,1] is obtained.
[0050] The De Casteljau algorithm based on Lie group Lie algebra representation generates the Bezier curve interpolation algorithm as follows: the orthogonal matrix corresponding to each time t∈[0,1] is used to obtain the spinor coordinates of the pose point through logarithmic mapping The posture points of the mobile robot form a posture trajectory curve such as Figure 2 As shown in Figure 1, the pose trajectory curve has C3 continuity. The star point represents the position of the mobile robot in the Cartesian coordinate system, and the thin arrow represents the heading angle of the mobile robot in the Cartesian coordinate system.
[0051] The velocity curve of the mobile robot is obtained by using a differential algorithm between adjacent pose points. 1 At this moment, the mobile robot moves along the X-axis of the Cartesian coordinate system according to the screw coordinate and The first column of the first difference is obtained, the mobile robot moves along the Y axis of the Cartesian coordinate system according to the screw coordinate and The second column of the first difference is obtained and the speed of the mobile robot rotating around the Z axis along the Cartesian coordinate system is obtained according to the screw coordinate and The first column of the first difference is obtained. The posture trajectory of the mobile robot is a C3 continuous Bezier curve. The speed curve obtained by the difference algorithm is continuous and smooth. Figure 3 As shown, the position and posture of the mobile robot can be changed simultaneously, and the speed of the mobile robot is zero at the start and end times.
[0052] Similarly, the acceleration curve of the mobile robot is obtained by using the difference algorithm between adjacent velocity points. 1 At this moment, the mobile robot moves along the X-axis of the Cartesian coordinate system according to the spinor coordinate and The first column of quadratic differences shows that the acceleration of the mobile robot along the Y axis of the Cartesian coordinate system is based on the spinor coordinates. and The second column of quadratic differences gives the speed of the mobile robot rotating around the Z axis along the Cartesian coordinate system according to the screw coordinates and The first column of quadratic differences shows that the acceleration curves in all directions are smooth and continuous, which can meet the requirement that the acceleration of the mobile robot at the starting point and the end point is zero. The acceleration curve is as follows: Figure 4 As shown, the stability of the mobile robot can be improved.
[0053] Furthermore, the input of the mobile robot can be given by:
[0054]
[0055] The left side of the equation is the velocity input of the mobile robot, and the right side of the equation R(θ) is the rotation matrix mapping the Cartesian coordinate system to the mobile robot coordinate system, where the heading angle is obtained in real time from the wheel odometer, [V x V y W] T is the planned speed of the mobile robot.
[0056] Follow the above steps to plan the position and posture of the mobile robot. The actual motion trajectory of the mobile robot with three degrees of freedom is as follows: Figure 5As shown in the figure, the position and posture of the mobile robot start and stop at the same time, and the posture trajectory is smooth and continuous, which effectively improves the stability of the posture trajectory. Due to uneven ground or wheel slippage, the position error is allowed to be ±0.10m, the posture error is ±5°, and the error of the actual motion trajectory is within the allowable error range.
[0057] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and other modifications and variations can be made to implement the present invention in other specific forms without departing from the spirit and scope of the present invention. Therefore, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description.
[0058] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for simultaneously planning the position and posture of a mobile robot. It is characterized in that The following steps are involved: Step 1: Get the planned pose point P in the path planning module i =(x,y,θ),i=0,1,…,n,n≥5, where the position of the mobile robot is represented by x,y, and the orientation is represented by θ; Step 2: Arrange the position point sequence of the mobile robot to meet the motion state requirements of the mobile robot; Step 3, using the De Casteljau algorithm based on Lie group and Lie algebra to generate a continuous posture trajectory represented by Bezier curves, and using the difference method to obtain the posture trajectory velocity curve of the mobile robot; The De Casteljau algorithm based on Lie group Lie algebra generates continuous pose trajectories represented by Bezier curves, including: Use the spinor coordinate Q = [v x ,v y ,v z ,w x ,w y ,w z ,], where V x ,V y ,W z Substitute x, y, and θ respectively, and give several mobile robot spinor coordinates Q 1 ,Q 2 ,…,Q n ∈se(3), for every t∈[0,1], two adjacent Lie algebra elements and Lie algebra between for: in, After n-1 recursions, the orthogonal matrix formed by the pose points on the Bezier pose trajectory curve at each time t∈[0,1] is obtained. The interpolation algorithm of the Bezier curve is: The orthogonal matrix corresponding to each moment t∈[0,1] is used to obtain the spinor coordinates of the pose point through logarithmic mapping. All the mobile robot pose points form a C3 continuous Bezier curve; Step 4: Map the Cartesian space planned speed to the mobile robot's workspace as speed input to control the robot's synchronous movement changes in position and attitude, specifically including: obtaining the heading angle of the mobile robot in real time through the wheel odometer, mapping the planned Cartesian space speed to the robot's workspace as control input, and realizing synchronous changes in the mobile robot's position and attitude.
2. A method for simultaneously planning the position and posture of a mobile robot according to claim 1, It is characterized in that The step 1 specifically includes: obtaining the position sequence P of the starting point, the end point and the intermediate point planned by the mobile robot from the path planning module; i =(x,y,θ),i=0,1,…,n,n≥5.
3. A method for simultaneously planning the position and posture of a mobile robot according to claim 1, It is characterized in that The step 2 specifically includes: repeating the initial and final path points four times and outputting them to the trajectory planning module to meet the requirement that the initial and final speeds and accelerations of the mobile robot are zero.
Citation Information
Patent Citations
Robot trajectory planning method, device and system for realizing C2 continuity
CN113103240A
Robot double-NURBS trajectory interpolation method, device and system for realizing G2 continuity
CN113103241A
Mechanical arm tail end motion pose time synchronization method
CN113942016A
Novel trajectory planning method for series robot
CN108000501A
Combined joint and cartesian space six-axis industrial robot path planning method
CN109927031A
