Path planning method and device for articulated vehicle without folding instability
By constructing the kinematic equations and state transfer equations of the articulated vehicle, combined with the hybrid A* algorithm and node diffusion technology, the folding instability problem of the articulated vehicle when reversing the path is solved, and the stability and safety of the path are achieved.
Patent Information
- Application Number
- CN202410696680.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-06
AI Technical Summary
When an articulated vehicle performs a forward and reverse reversing path, because the hinge angle cannot be returned to the straightening position in time, folding instability is prone to occur, resulting in large tracking control errors, poor control effects, and safety risks.
By constructing the kinematic equation of the articulated vehicle, the vehicle's state transfer equation and control variables are determined, and the hybrid A* algorithm and node diffusion technology are used to construct the articulated angle backing set, calculate the effectiveness of the final path, and ensure that the path does not change when the direction is switched. Folding instability occurs.
It effectively improves the tracking control effect of articulated vehicles, ensures the stability of the path when switching directions, and reduces safety risks.
Smart Images

Figure CN118603097A
Abstract
Description
Technical Field
[0001] The invention relates to a path planning method and device for an articulated vehicle without folding instability, belonging to the technical fields of vehicle engineering and intelligent driving. Background Art
[0002] Articulated vehicles have the advantages of small turning radius and good maneuverability, which enables them to operate flexibly in narrow or complex road conditions. Articulated engineering vehicles usually have large storage space and can flexibly adjust the body as needed. These characteristics enable them to significantly improve efficiency during transportation. Therefore, articulated engineering vehicles have been widely used in engineering fields such as mining, road construction, and energy development.
[0003] As the scale and complexity of engineering construction continue to expand, the demand for efficient, safe and reliable engineering vehicles is also growing. The unmanned operation of articulated vehicles just meets this demand, which can reduce labor costs, improve work efficiency, and reduce the risks caused by human factors.
[0004] In the prior art, a grid map is constructed, a kinematic model of an articulated vehicle is established, a hybrid path planning method of an improved A* algorithm is designed for planning, the articulated vehicle's hinge points are used for node expansion, the collision threat cost is calculated by combining the vector field histogram (VFH*) method, a cost function is designed to select the target node for expansion, and whether the target node is near the end point is determined. However, it can only be used for path search in the forward direction. For scenarios that require direction switching, the vehicle is prone to folding and instability.
[0005] In the prior art, by dividing real obstacles and virtual obstacles into two different categories, the two-dimensional optimal zero potential curve is obtained using the support vector machine theory, and several key inflection points are obtained on the optimal zero potential curve; Bezier curves that meet kinematic constraints are drawn between the inflection points; the drawn Bezier curve path and the planned path of the bidirectional improved RRT algorithm are connected to obtain the final path. However, the obtained path has great randomness, and it is difficult to ensure the rationality of the path and related operational requirements.
[0006] In the prior art, the preset points of the current front and rear compartments are determined as the front and rear points to be planned; the front and rear points to be planned are expanded in multiple directions to obtain multiple extended nodes, thereby obtaining multiple points to be matched; it is detected whether there are points among the points to be matched that match the posture of the preset end point; if there are matching points, the path planning is performed for the automatic driving process of the articulated vehicle. However, the folding instability problem of the obtained path when switching directions cannot be solved, and the control effect of the obtained path is unstable. Summary of the invention
[0007] The technical problem to be solved by the present invention is to overcome the defects of the articulated vehicles in the prior art, which are extremely sensitive to the quality of the driving path due to the articulated control, especially when executing the forward and backward reversing path, because the articulation angle cannot be returned to the correct position in time, folding instability problem is prone to occur, resulting in large tracking control error, poor control effect, and safety risk, and provide a method.
[0008] In order to solve the above technical problems, the present invention is implemented by adopting the following technical solutions.
[0009] In one aspect, the present invention discloses a path planning method for an articulated vehicle without folding instability, comprising: Acquire body geometry data of the articulated vehicle, construct a kinematic equation of the articulated vehicle based on the body geometry data, determine vehicle control variables and state variables based on the kinematic equation of the articulated vehicle and the acquired motion state of the articulated vehicle, and obtain a state transfer equation of the vehicle; Obtaining a predetermined vehicle kinematic constraint, and calculating a control amount in a sampling process under the condition of the vehicle kinematic constraint; Perform node diffusion on the current node according to the preset node diffusion step length, the node includes an articulation angle return node and a common diffusion node, construct an articulation angle return set based on the hybrid A* algorithm and the diffused nodes, and calculate the final path from the current node to the diffusion node according to the control amount and the state transfer equation; According to the front and rear body states of the articulated vehicle, the validity of the final path is calculated. If the path is valid, it is determined to be a collision-free driving path without folding instability. If the path is invalid, the next round of node diffusion calculation is performed.
[0010] Furthermore, the kinematic equation of the articulated vehicle is expressed as: ; in, θ f is the front vehicle heading, l f is the front body length, θ r is the rear vehicle heading, l r is the rear body length, γ is the hinge angle, γ = θ f −θ r , Front axle center x The speed of the direction, Front axle center y The speed of the direction, is the angular velocity of the front axle center, is the articulation angular velocity, vf is the longitudinal velocity of the front vehicle body; The control variable is , the state variable is , the state transfer equation is obtained as: ; in, x f Front axle center x coordinate, y f Front axle center y coordinate, x r Rear axle center x coordinate, y r Rear axle center y Coordinates, superscript k For the k time steps, superscript k +1 for k +1 time step, Δ t is the time interval of a time step.
[0011] Further, the obtaining of a predetermined vehicle kinematic constraint and calculating a control amount in a sampling process under the condition of the vehicle kinematic constraint includes: Construct vehicle control quantity constraints and state constraints, expressed as: ; in, v limit is the maximum longitudinal velocity, is the maximum articulation angular velocity, γ limit is the maximum articulation angle; The state transfer parameters required for calculating node diffusion sampling, the number of intermediate transition points between nodes is num , the time interval between the midpoints is Δ t , respectively expressed as: ; in, l grid is the node diffusion step length, pace is the step length between the intermediate points; Calculate the control amount of node diffusion sampling for: ; in, dir v is the velocity direction, γ n is the current node hinge angle,γ n+1 is the target articulation angle of the diffusion node, t grid The transition time between nodes.
[0012] Furthermore, the articulation angle return set is constructed based on the hybrid A* algorithm and the diffused nodes, and the final path from the current node to the diffused node is calculated according to the control amount and the state transfer equation, including: S41: Constructing a set of nodes to be traversed set open , traversed node set set closed , Articulated angle return node set set open_γ , and add the starting point of the path to set open and set open_γ ; S42: Cost function calculation using hybrid A* algorithm set open_γ The cost of returning each hinge angle to the node is set open_γ Select the node with the lowest cost node i_γ , using CC-Steer curve connection node i_γ and the end point of the path, perform collision detection on the CC-Steer curve. If the path is valid, the search ends and the node is traced back to obtain the final path. If the connection fails, node i_γ Remove set open_γ ; S43: When node i_γ Connection failed or set open_γ Empty, use set open Perform node diffusion, from set open Select the node with the lowest cost node i , add the node to set closed , and remove set open ; S44: Slave Node node i The state transfer equation is used for step-by-step diffusion. node i If the joint angle is returned to the positive node, the node diffusion in the forward and backward directions is performed at the same time; nodei is a common diffusion node, then according to node i The node direction is forward diffusion only, or backward diffusion only; S45: Add the nodes obtained by diffusion to set open , add the node marked as the hinge angle return to set open_γ ; S46: Execute S42, and loop the calculation until the final path is obtained, the planning is successful, or the maximum number of iterations is reached, or set open If it is empty, the planning fails.
[0013] Furthermore, the calculation of the path validity according to the front and rear vehicle states of the articulated vehicle includes: According to the status of the front and rear bodies of the articulated vehicle, the separating axis theorem is used to perform collision detection on the outer contour boxes of the front and rear bodies and obstacles respectively. If the rectangular outer contours of the front and rear bodies do not interfere with the obstacles and the articulation angle at the switching point of the forward and backward paths is 0, the path is valid.
[0014] In a second aspect, the present invention further discloses a path planning device for an articulated vehicle without folding instability, comprising: An articulated vehicle kinematics equation construction module is used to obtain the body geometry data of the articulated vehicle, construct the articulated vehicle kinematics equation based on the body geometry data, determine the vehicle control variables and state variables based on the articulated vehicle kinematics equation and the acquired articulated vehicle motion state, and obtain the vehicle state transfer equation; A sampling control amount calculation module, used to obtain a predetermined vehicle kinematic constraint and calculate the control amount in the sampling process under the condition of the vehicle kinematic constraint; The path node expansion module is used to perform node diffusion on the current node according to the preset node diffusion step length. The node includes an articulation angle return node and a common diffusion node. Based on the hybrid A* algorithm and the diffused nodes, an articulation angle return set is constructed. According to the control amount and the state transfer equation, the final path from the current node to the diffusion node is calculated. The path collision detection module is used to calculate the validity of the final path according to the front and rear body states of the articulated vehicle. If the path is valid, it is determined to be a collision-free driving path without folding instability. If the path is invalid, the next round of node diffusion calculation is performed.
[0015] Furthermore, the kinematic equation of the articulated vehicle is expressed as: ; in, θ f is the front vehicle heading,l f is the front body length, θ r is the rear vehicle heading, l r is the rear body length, γ is the hinge angle, γ = θ f −θ r , Front axle center x The speed of the direction, Front axle center y The speed of the direction, is the angular velocity of the front axle center, is the articulation angular velocity, v f is the longitudinal velocity of the front vehicle body; The control variable is , the state variable is , the state transfer equation is obtained as: ; in, x f Front axle center x coordinate, y f Front axle center y coordinate, x r Rear axle center x coordinate, y r Rear axle center y Coordinates, superscript k For the k time steps, superscript k +1 for k +1 time step, Δ t is the time interval of a time step.
[0016] Furthermore, the sampling control amount calculation module is used to: ; in, v limit is the maximum longitudinal velocity, is the maximum articulation angular velocity, γ limit is the maximum articulation angle; The state transfer parameters required for calculating node diffusion sampling, the number of intermediate transition points between nodes is num , the time interval between the midpoints is Δ t , respectively expressed as: ; in, l grid is the node diffusion step length, pace is the step length between the intermediate points; Calculate the control amount of node diffusion sampling for: ; in, dir v is the velocity direction, γ n is the current node hinge angle, γ n+1 is the target articulation angle of the diffusion node, t grid The transition time between nodes.
[0017] Furthermore, the path node expansion module is used to perform the following steps: S41: Constructing a set of nodes to be traversed set open , traversed node set set closed , Articulated angle return node set set open_γ , and add the starting point of the path to set open and set open_γ ; S42: Cost function calculation using hybrid A* algorithm set open_γ The cost of returning each hinge angle to the node is set open_γ Select the node with the lowest cost node i_γ , using CC-Steer curve connection node i_γ and the end point of the path, perform collision detection on the CC-Steer curve. If the path is valid, the search ends and the node is traced back to obtain the final path. If the connection fails, node i_γ Remove set open_γ ; S43: When node i_γ Connection failed or set open_γ Empty, use set open Perform node diffusion, from set open Select the node with the lowest cost nodei , add the node to set closed , and remove set open ; S44: Slave Node node i The state transfer equation is used for step-by-step diffusion. node i If the joint angle is returned to the positive node, the node diffusion in the forward and backward directions is performed at the same time; node i is a common diffusion node, then according to node i The node direction is forward diffusion only, or backward diffusion only; S45: Add the nodes obtained by diffusion to set open , add the node marked as the hinge angle return to set open_γ ; S46: Execute S42, and loop the calculation until the final path is obtained, the planning is successful, or the maximum number of iterations is reached, or set open If it is empty, the planning fails.
[0018] Furthermore, the path collision detection module is used to: According to the status of the front and rear bodies of the articulated vehicle, the separating axis theorem is used to perform collision detection on the outer contour boxes of the front and rear bodies and obstacles respectively. If the rectangular outer contours of the front and rear bodies do not interfere with the obstacles and the articulation angle at the switching point of the forward and backward paths is 0, the path is valid.
[0019] The beneficial effects achieved by the present invention are: Through the motion state transfer equation, the extended path between nodes is gradually recursively obtained, and the obtained path is easier for articulated vehicles to control; by identifying the return nodes, different node diffusion methods are performed according to whether the nodes are returned to the right position, ensuring that the diffused node path will not collapse and become unstable; by constructing a return node set, the node diffusion search and CC-Steer node connection are processed separately, ensuring that the direct connection path between nodes will also not collapse and become unstable. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a schematic diagram of the process of the present invention; Figure 2 It is a schematic diagram of the motion model of the present invention; Figure 3 Node diffusion diagram; Figure 4 Schematic diagram of collision detection. DETAILED DESCRIPTION
[0021] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.
[0022] Embodiment 1, this embodiment introduces a path planning method for an articulated vehicle without folding instability, by constructing the kinematic equation of the articulated vehicle, sampling control quantity calculation, sampling node identification, path node expansion, path collision detection and other methods, to achieve path planning without folding instability, effectively improve the tracking control effect of the articulated vehicle, such as Figure 1 As shown, including: Acquire body geometry data of the articulated vehicle, construct a kinematic equation of the articulated vehicle based on the body geometry data, determine vehicle control variables and state variables based on the kinematic equation of the articulated vehicle and the acquired motion state of the articulated vehicle, and obtain a state transfer equation of the vehicle; Obtaining a predetermined vehicle kinematic constraint, and calculating a control amount in a sampling process under the condition of the vehicle kinematic constraint; Perform node diffusion on the current node according to the preset node diffusion step length, the node includes an articulation angle return node and a common diffusion node, construct an articulation angle return set based on the hybrid A* algorithm and the diffused nodes, and calculate the final path from the current node to the diffusion node according to the control amount and the state transfer equation; According to the front and rear body states of the articulated vehicle, the validity of the final path is calculated. If the path is valid, it is determined to be a collision-free driving path without folding instability. If the path is invalid, the next round of node diffusion calculation is performed. The present invention is further described in detail below with reference to the accompanying drawings, and the specific steps are as follows: S1: Construct the kinematic equation of the articulated vehicle, determine the vehicle control variables and state variables according to the motion state of the articulated vehicle, and obtain the vehicle state transfer equation, such as Figure 2 As shown, the specific implementation process is: S11: Construct the kinematic equation of the front vehicle body as follows: ; in, θ f is the front vehicle heading, l f is the front body length, θ r is the rear vehicle heading, l r is the rear body length, γ is the hinge angle, γ = θ f −θ r , Front axle center x The speed of the direction, Front axle center y The speed of the direction, is the angular velocity of the front axle center, is the articulation angular velocity, v f is the longitudinal velocity of the front vehicle body, P f is the center point of the front axle, P r is the center point of the rear axle, O 1 is the hinge point.
[0023] S12: Control variable is , the state variable is , the state transfer equation is obtained as: ; in, x f Front axle center x coordinate, y f Front axle center y coordinate, x r Rear axle center x coordinate, y r Rear axle center y Coordinates, superscript k For the k time steps, superscript k +1 for k +1 time step, Δ t is the time interval of a time step.
[0024] S2: The sampling control amount calculation module obtains and determines the kinematic constraints of the vehicle and calculates the control amount in the sampling process under the constraint conditions. The specific implementation process is as follows: S21: Construct vehicle control quantity constraints and state constraints: ; in, v limit is the maximum longitudinal velocity, is the maximum articulation angular velocity, γ limit is the maximum articulation angle.
[0025] S22: The state transfer parameters required for calculating node diffusion sampling. The number of intermediate transition points between nodes is num , the time interval between the midpoints is Δ t , respectively expressed as: ; in, l grid is the node diffusion step length, pace is the step length between intermediate points.
[0026] Calculate the control amount of node diffusion sampling for: ; in, dir v is the velocity direction, γ n is the current node hinge angle, γ n+1 is the target articulation angle of the diffusion node, t grid The transition time between nodes.
[0027] S3: Sampling node identification module, for the problem of folding instability of articulated vehicles, identifies the nodes according to the node status, such as Figure 3 , its specific implementation process: S31: According to whether the articulation angle is corrected, γ =0, indicating the hinge angle return node and the common diffusion node; S4: Path node expansion module, based on the hybrid A* algorithm, constructs the articulation angle return set, and calculates the process path from the current node state to the diffusion node according to the control quantity and state transfer equation, such as Figure 3 , its specific implementation process: S41: Construct node sets, which are node sets to be traversed set open , traversed node set set closed , Articulated angle return node set set open_γ , and add the starting point of the path to set open and set open_γ ; S42: Cost function calculation using hybrid A* algorithm set open_γ The cost of returning each hinge angle to the node is set open_γ Select the node with the lowest cost node i_γ , using CC-Steer curve connection node i_γ and the end point of the path, perform collision detection on the CC-Steer curve. If the path is valid, the search ends and the node is traced back to obtain the final path. If the connection fails,node i_γ Remove set open_γ ; S43: When node i_γ Connection failed or set open_γ Empty, use set open Perform node diffusion, from set open Select the node with the lowest cost node i , add the node to set closed , and remove set open ; S44: Slave Node node i The state transfer equation is used for step-by-step diffusion. node i If the joint angle is returned to the positive node, the node diffusion in the forward and backward directions is performed at the same time; node i is a common diffusion node, then according to node i The node direction is forward diffusion only, or backward diffusion only; S45: Add the nodes obtained by diffusion to set open , add the node marked as the hinge angle return to set open_γ ; S46: Execute S42, and loop the calculation until the final path is obtained, the planning is successful, or the maximum number of iterations is reached, or set open If it is empty, the planning fails.
[0028] S5: The path collision detection module calculates the path validity according to the front and rear vehicle states of the articulated vehicle, such as Figure 4 , its specific implementation process: S51: According to the status of the front and rear vehicles , using the separating axis theorem, the collision detection between the front and rear vehicle body boxes and obstacles is performed separately; S6: So far, a collision-free driving path that meets the kinematic constraints of the articulated vehicle and has no folding instability is obtained.
[0029] Embodiment 2 is based on the same inventive concept as Embodiment 1. This embodiment introduces a path planning device for an articulated vehicle without folding instability, comprising: An articulated vehicle kinematics equation construction module is used to obtain the body geometry data of the articulated vehicle, construct the articulated vehicle kinematics equation based on the body geometry data, determine the vehicle control variables and state variables based on the articulated vehicle kinematics equation and the acquired articulated vehicle motion state, and obtain the vehicle state transfer equation; A sampling control amount calculation module, used to obtain a predetermined vehicle kinematic constraint and calculate the control amount in the sampling process under the condition of the vehicle kinematic constraint; The path node expansion module is used to perform node diffusion on the current node according to the preset node diffusion step length. The node includes an articulation angle return node and a common diffusion node. Based on the hybrid A* algorithm and the diffused nodes, an articulation angle return set is constructed. According to the control amount and the state transfer equation, the final path from the current node to the diffusion node is calculated. The path collision detection module is used to calculate the validity of the final path according to the front and rear body states of the articulated vehicle. If the path is valid, it is determined to be a collision-free driving path without folding instability. If the path is invalid, the next round of node diffusion calculation is performed.
[0030] Furthermore, the kinematic equation of the articulated vehicle is expressed as: ; in, θ f is the front vehicle heading, l f is the front body length, θ r is the rear vehicle heading, l r is the rear body length, γ is the hinge angle, γ = θ f −θ r , Front axle center x The speed of the direction, Front axle center y The speed of the direction, is the angular velocity of the front axle center, is the articulation angular velocity, v f is the longitudinal velocity of the front vehicle body; The control variable is , the state variable is , the state transfer equation is obtained as: ; in, x f Front axle center x coordinate, yf Front axle center y coordinate, x r Rear axle center x coordinate, y r Rear axle center y Coordinates, superscript k For the k time steps, superscript k +1 for k +1 time step, Δ t is the time interval of a time step.
[0031] Furthermore, the sampling control amount calculation module is used to: ; in, v limit is the maximum longitudinal velocity, is the maximum articulation angular velocity, γ limit is the maximum articulation angle; The state transfer parameters required for calculating node diffusion sampling, the number of intermediate transition points between nodes is num , the time interval between the midpoints is Δ t , respectively expressed as: ; in, l grid is the node diffusion step length, pace is the step length between the intermediate points; Calculate the control amount of node diffusion sampling for: ; in, dir v is the velocity direction, γ n is the current node hinge angle, γ n+1 is the target articulation angle of the diffusion node, t grid The transition time between nodes.
[0032] Furthermore, the path node expansion module is used to perform the following steps: S41: Constructing a set of nodes to be traversed set open , traversed node set set closed , Articulated angle return node set set open_γ , and add the starting point of the path toset open and set open_γ ; S42: Cost function calculation using hybrid A* algorithm set open_γ The cost of returning each hinge angle to the node is set open_γ Select the node with the lowest cost node i_γ , using CC-Steer curve connection node i_γ and the end point of the path, perform collision detection on the CC-Steer curve. If the path is valid, the search ends and the node is traced back to obtain the final path. If the connection fails, node i_γ Remove set open_γ ; S43: When node i_γ Connection failed or set open_γ Empty, use set open Perform node diffusion, from set open Select the node with the lowest cost node i , add the node to set closed , and remove set open ; S44: Slave Node node i The state transfer equation is used for step-by-step diffusion. node i If the joint angle is returned to the positive node, the node diffusion in the forward and backward directions is performed at the same time; node i is a common diffusion node, then according to node i The node direction is forward diffusion only, or backward diffusion only; S45: Add the nodes obtained by diffusion to set open , add the node marked as the hinge angle return to set open_γ ; S46: Execute S42, and loop the calculation until the final path is obtained, the planning is successful, or the maximum number of iterations is reached, or set open If it is empty, the planning fails.
[0033] Furthermore, the path collision detection module is used to: According to the status of the front and rear bodies of the articulated vehicle, the separating axis theorem is used to perform collision detection on the outer contour boxes of the front and rear bodies and obstacles respectively. If the rectangular outer contours of the front and rear bodies do not interfere with the obstacles and the articulation angle at the switching point of the forward and backward paths is 0, the path is valid.
[0034] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0035] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0036] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0037] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0038] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A path planning method for an articulated vehicle without folding instability, characterized in that: include: Acquire body geometry data of the articulated vehicle, construct a kinematic equation of the articulated vehicle based on the body geometry data, determine vehicle control variables and state variables based on the kinematic equation of the articulated vehicle and the acquired motion state of the articulated vehicle, and obtain a state transfer equation of the vehicle; Obtaining a predetermined vehicle kinematic constraint, and calculating a control amount in a sampling process under the condition of the vehicle kinematic constraint; Perform node diffusion on the current node according to the preset node diffusion step length, the node includes an articulation angle return node and a common diffusion node, construct an articulation angle return set based on the hybrid A* algorithm and the diffused nodes, and calculate the final path from the current node to the diffusion node according to the control amount and the state transfer equation; According to the front and rear body states of the articulated vehicle, the validity of the final path is calculated. If the path is valid, it is determined to be a collision-free driving path without folding instability. If the path is invalid, the next round of node diffusion calculation is performed.
2. The path planning method for an articulated vehicle without folding instability according to claim 1, characterized in that: The kinematic equation of the articulated vehicle is expressed as: ; in, θ f is the front vehicle heading, l f is the front body length, θ r is the rear vehicle heading, l r is the rear body length, γ is the hinge angle, γ = θ f -θ r , Front axle center x The speed of the direction, Front axle center y The speed of the direction, is the angular velocity of the front axle center, is the articulation angular velocity, v f is the longitudinal velocity of the front vehicle body; The control variable is , the state variable is , the state transfer equation is obtained as: ; in, x f Front axle center x coordinate, y f Front axle center y coordinate, x r Rear axle center x coordinate, y r Rear axle center y Coordinates, superscript k For the k time steps, superscript k +1 for k +1 time step, Δ t is the time interval of a time step.
3. The path planning method for an articulated vehicle without folding instability according to claim 2, characterized in that: The obtaining of a predetermined vehicle kinematic constraint and calculating a control amount in a sampling process under the condition of the vehicle kinematic constraint comprises: Construct vehicle control quantity constraints and state constraints, expressed as: ; in, v limit is the maximum longitudinal velocity, is the maximum articulation angular velocity, γ limit is the maximum articulation angle; The state transfer parameters required for calculating node diffusion sampling, the number of intermediate transition points between nodes is num , the time interval between the midpoints is Δ t , respectively expressed as: ; in, l grid is the node diffusion step length, pace is the step length between the intermediate points; Calculate the control amount of node diffusion sampling for: ; in, dir v is the velocity direction, γ n is the current node hinge angle, γ n+1 is the target articulation angle of the diffusion node, t grid The transition time between nodes.
4. The path planning method for an articulated vehicle without folding instability according to claim 1, characterized in that: The method of constructing a joint angle return set based on the hybrid A* algorithm and the diffused nodes and calculating the final path from the current node to the diffused node according to the control amount and the state transfer equation includes: S41: Constructing a set of nodes to be traversed set open , traversed node set set closed , Articulated angle return node set set open_γ , and add the starting point of the path to set open and set open_γ ; S42: Cost function calculation using hybrid A* algorithm set open_γ The cost of returning each hinge angle to the node is set open_γ Select the node with the lowest cost node i_γ , using CC-Steer curve connection node i_γ and the end point of the path, perform collision detection on the CC-Steer curve. If the path is valid, the search ends and the node is traced back to obtain the final path. If the connection fails, node i_γ Remove set open_γ ; S43: When node i_γ Connection failed or set open_γ Empty, use set open Perform node diffusion, from set open Select the node with the lowest cost node i , add the node to set closed , and remove set open ; S44: Slave Node node i The state transfer equation is used for step-by-step diffusion. node i If the joint angle is returned to the positive node, the node diffusion in the forward and backward directions is performed at the same time; node i is a common diffusion node, then according to node i The node direction is forward diffusion only, or backward diffusion only; S45: Add the nodes obtained by diffusion to set open , add the node marked as the hinge angle return to set open_γ ; S46: Execute S42, and loop the calculation until the final path is obtained, the planning is successful, or the maximum number of iterations is reached, or set open If it is empty, the planning fails.
5. The path planning method for an articulated vehicle without folding instability according to claim 1, characterized in that: The calculating of the path validity according to the front and rear vehicle states of the articulated vehicle includes: According to the status of the front and rear bodies of the articulated vehicle, the separating axis theorem is used to perform collision detection on the outer contour boxes of the front and rear bodies and obstacles respectively. If the rectangular outer contours of the front and rear bodies do not interfere with the obstacles and the articulation angle at the switching point of the forward and backward paths is 0, the path is valid.
6. A path planning device for an articulated vehicle without folding instability, characterized in that: include: An articulated vehicle kinematics equation construction module is used to obtain the body geometry data of the articulated vehicle, construct the articulated vehicle kinematics equation based on the body geometry data, determine the vehicle control variables and state variables based on the articulated vehicle kinematics equation and the acquired articulated vehicle motion state, and obtain the vehicle state transfer equation; A sampling control amount calculation module, used to obtain a predetermined vehicle kinematic constraint and calculate the control amount in the sampling process under the condition of the vehicle kinematic constraint; The path node expansion module is used to perform node diffusion on the current node according to the preset node diffusion step length. The node includes an articulation angle return node and a common diffusion node. Based on the hybrid A* algorithm and the diffused nodes, an articulation angle return set is constructed. According to the control amount and the state transfer equation, the final path from the current node to the diffusion node is calculated. The path collision detection module is used to calculate the validity of the final path according to the front and rear body states of the articulated vehicle. If the path is valid, it is determined to be a collision-free driving path without folding instability. If the path is invalid, the next round of node diffusion calculation is performed.
7. The path planning device for an articulated vehicle without folding instability according to claim 6, characterized in that: The kinematic equation of the articulated vehicle is expressed as: ; in, θ f is the front vehicle heading, l f is the front body length, θ r is the rear vehicle heading, l r is the rear body length, γ is the hinge angle, γ = θ f -θ r , Front axle center x The speed of the direction, Front axle center y The speed of the direction, is the angular velocity of the front axle center, is the articulation angular velocity, v f is the longitudinal velocity of the front vehicle body; The control variable is , the state variable is , the state transfer equation is obtained as: ; in, x f Front axle center x coordinate, y f Front axle center y coordinate, x r Rear axle center x coordinate, y r Rear axle center y Coordinates, superscript k For the k time steps, superscript k +1 for k +1 time step, Δ t is the time interval of a time step.
8. The path planning device for an articulated vehicle without folding instability according to claim 7, characterized in that: The sampling control amount calculation module is used to: ; in, v limit is the maximum longitudinal velocity, is the maximum articulation angular velocity, γ limit is the maximum articulation angle; The state transfer parameters required for calculating node diffusion sampling, the number of intermediate transition points between nodes is num , the time interval between the midpoints is Δ t , respectively expressed as: ; in, l grid is the node diffusion step length, pace is the step length between the intermediate points; Calculate the control amount of node diffusion sampling for: ; in, dir v is the velocity direction, γ n is the current node hinge angle, γ n+1 is the target articulation angle of the diffusion node, t grid The transition time between nodes.
9. The path planning device for an articulated vehicle without folding instability according to claim 6, characterized in that: The path node expansion module is used to perform the following steps: S41: Constructing a set of nodes to be traversed set open , traversed node set set closed , Articulated angle return node set set open_γ , and add the starting point of the path to set open and set open_γ ; S42: Cost function calculation using hybrid A* algorithm set open_γ The cost of returning each hinge angle to the node is set open_γ Select the node with the lowest cost node i_γ , using CC-Steer curve connection node i_γ and the end point of the path, perform collision detection on the CC-Steer curve. If the path is valid, the search ends and the node is traced back to obtain the final path. If the connection fails, node i_γ Remove set open_γ ; S43: When node i_γ Connection failed or set open_γ Empty, use set open Perform node diffusion, from set open Select the node with the lowest cost node i , add the node to set closed , and remove set open ; S44: Slave Node node i The state transfer equation is used for step-by-step diffusion. node i For the hinge angle to return to the positive node, the node diffusion in the forward and backward directions is performed simultaneously; like node i is a common diffusion node, then according to node i The node direction is forward diffusion only, or backward diffusion only; S45: Add the nodes obtained by diffusion to set open , add the node marked as the hinge angle return to set open_γ ; S46: Execute S42, and loop the calculation until the final path is obtained, the planning is successful, or the maximum number of iterations is reached, or set open If it is empty, the planning fails.
10. The path planning device for an articulated vehicle without folding instability according to claim 6, characterized in that: The path collision detection module is used to: According to the status of the front and rear bodies of the articulated vehicle, the separating axis theorem is used to perform collision detection on the outer contour boxes of the front and rear bodies and obstacles respectively. If the rectangular outer contours of the front and rear bodies do not interfere with the obstacles and the articulation angle at the switching point of the forward and backward paths is 0, the path is valid.
