Parking path planning method, vehicle control system and storage medium

By combining multiple arc curves and multiple search strategies with the vehicle kinematics model, the vehicle gear position and search strategy are dynamically adjusted to solve the problem of the inability of existing technology to park at any angle and low efficiency, and achieve accurate, safe and efficient parking. Parking route planning.

CN118701034APending Publication Date: 2024-09-27HUIZHOU DESAY SV AUTOMOTIVE
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410844445.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing parking path planning methods cannot meet the demand for parking at any angle. The graph search algorithm requires high memory and computing power. The numerical optimization algorithm is prone to falling into minimum values, resulting in low solution efficiency. It cannot effectively solve the parking difficulties in first- and second-tier cities. problem.

Method used

Multi-segment arc curves are used to obtain the optimal parking posture, and multiple search strategies are used to plan the initial parking path, the vehicle gear and search strategies are dynamically adjusted, and the vehicle kinematics model is combined for nonlinear planning, and different paths are spliced ​​to obtain the final result. Parking path.

Benefits of technology

It achieves accurate parking path planning, improves parking success rate and safety, adapts to the needs of different models and parking space sizes, saves parking time, and has good versatility and adaptability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118701034A
    Figure CN118701034A
Patent Text Reader

Abstract

The invention provides a parking path planning method, a vehicle control system and a storage medium. The parking path planning method comprises the steps that the optimal parking pose is obtained through multiple sections of circular curves, then each section of parking path is determined through a search strategy and multiple sections of calculation, and finally the parking paths obtained through calculation are spliced together to form the final parking path. According to the invention, accurate parking path planning can be realized, and the parking success rate is improved; the initial parking path is planned through various search strategies, so that the collision risk of the vehicle in the parking process can be avoided, and the driving safety is ensured; by splicing different paths, quick and efficient parking operation can be realized, and the parking time is saved; the method can meet the parking requirements of different vehicle types and parking space sizes, and has good universality and adaptability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of path planning, and in particular to a parking path planning method, a vehicle control system and a storage medium. Background Art

[0002] In some first- and second-tier cities, the problem of parking difficulties is becoming increasingly prominent, and automatic parking technology has received widespread attention from consumers and R&D personnel.

[0003] Existing parking path planning methods usually have restrictions on the vehicle position and posture at the beginning of parking, and cannot meet the needs of parking at any angle. Current planning methods mainly use graph search algorithms and numerical optimization algorithms; graph search algorithms have high requirements for memory and computing power, and the search efficiency depends on the rationality of the heuristic function; while numerical optimization algorithms are prone to fall into the minimum value, resulting in low solution efficiency. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a parking path planning method, a vehicle control system and a storage medium.

[0005] Specifically, the present application provides a parking path planning method, comprising the following steps:

[0006] S100: Acquire a parking posture of the current vehicle in a target parking space based on multiple arc curves to obtain an optimal parking posture, and simultaneously obtain a first parking path from the optimal parking posture to a target parking posture.

[0007] S200: planning an initial parking path of the current vehicle outside the target parking space according to multiple search strategies and based on the parking starting position of the current vehicle, so as to obtain an initial parking path with the shortest total number of target search path points in each search strategy as a second parking path.

[0008] S300: obtaining a target parking posture based on the terminal posture of the second parking path, obtaining a third parking path from the target parking posture to the optimal parking posture, and obtaining a parking path from the terminal posture to the target parking posture as a fourth parking path.

[0009] And S400: sequentially splicing the second parking path, the fourth parking path, the third parking path and the first parking path to obtain a final parking path from the parking starting position to the target parking position.

[0010] In the above technical solution, by obtaining the optimal parking position based on multiple arc curves, accurate parking path planning can be achieved to improve the parking success rate; by planning the initial parking path through multiple search strategies, the risk of vehicle collision during parking can be avoided to ensure driving safety; by splicing different paths, fast and efficient parking operations can be achieved to save parking time; this method can adapt to the parking needs of different vehicle models and parking space sizes, and has good versatility and adaptability.

[0011] Furthermore, before executing step S100, the following steps are included:

[0012] Get the rear axle center coordinates, body heading angle, and vehicle size parameters of the current vehicle to obtain the vehicle vertex coordinates of the current vehicle.

[0013] In the above technical solution, by acquiring the rear axle center coordinates, heading angle and size parameters of the vehicle, the actual position and size of the vehicle can be determined more accurately, thereby improving the accuracy of parking path planning.

[0014] Furthermore, the step S100 also includes calculating the target parking position, specifically:

[0015] The parking space vertex coordinates of the target parking space are obtained to calculate the target parking position based on the parking space vertex coordinates and the vehicle size parameters.

[0016] In the above technical solution, by obtaining the parking space vertex coordinates of the target parking space and considering the vehicle size parameters, the target parking position can be accurately calculated, making the vehicle parking position more accurate and appropriate, and the parking path planning can be more personalized to adapt to the conditions of different vehicles and parking spaces, thereby improving parking efficiency.

[0017] Furthermore, the step S100 of obtaining the optimal parking position is specifically as follows:

[0018] The set distance between the current vehicle and the target parking space is determined in advance according to the vehicle vertex coordinates and the parking space vertex coordinates.

[0019] The first curve origin coordinates and the first curve radius of the circular arc curve are obtained, and a first center angle range is determined, so as to obtain a first parking posture based on the first curve origin coordinates, the first curve radius and the first center angle range; wherein the circular arc curve is tangent to the center line of the current vehicle transverse axis.

[0020] And determining an optimal parking posture according to the first parking posture and the set distance.

[0021] In the above technical solution, by determining in advance the set distance between the vehicle and the target parking space and the relevant parameters of the arc curve, a more accurate optimal parking position can be obtained, thereby improving the accuracy and efficiency of parking; at the same time, the method may also be able to adapt to different types of parking scenarios, thereby enhancing the versatility and flexibility of the parking system.

[0022] Furthermore, the step S200 is specifically as follows:

[0023] S201: Determine a vehicle gear position, and determine the Nth search strategy as a target search strategy; wherein N≥1.

[0024] S202: Determine whether the total number of points in the current search path is less than or equal to the maximum number of points in the search path. If so, proceed to step S203; otherwise, switch the vehicle gear according to a preset rule, for N+1, to update the target search strategy, and proceed to step S204.

[0025] S203: Entering the search process based on the target search strategy.

[0026] And S204: determine whether the updated target search strategy is the N+Mth search strategy. If so, end the process, obtain the initial parking path corresponding to each search strategy, and output the initial parking path with the shortest total number of target search path points as the optimal obstacle avoidance path; otherwise return to step S202; wherein M≥1.

[0027] In the above technical solution, the optimal obstacle avoidance path can be effectively found by dynamically adjusting the vehicle's gear position and search path strategy; this method has a certain degree of adaptability, and can flexibly adjust the search strategy according to the specific situation, and ultimately find the best path; in addition, by setting different search strategies and rules, the efficiency and accuracy of the obstacle avoidance path search can be improved.

[0028] Furthermore, the search process in step S203 is specifically as follows:

[0029] S2031: Obtain the coordinates of the second curve origin and the second curve radius of the arc curve, and determine the second center angle range, so as to plan the second parking position of the current vehicle based on the coordinates of the second curve origin, the second curve radius, the second center angle range, the target search strategy and the vehicle gear position.

[0030] S2032: Expand the second parking posture based on a preset search step length to obtain an expanded parking posture.

[0031] S2033: Determine whether the extended parking posture has a collision risk. If so, switch the vehicle gear and plan an escape path based on the extended parking posture, and return to step S2031; otherwise, obtain the initial parking path, and use the current total search path points as the target search path total points, and when the target search path total points are less than the maximum search path points, update the maximum search path points based on the target search path total points, and return to step S202.

[0032] In the above technical solution, arc curve parameters and vehicle gear information are used to more accurately plan the second parking position of the vehicle, and find the optimal parking position by gradually expanding the search; at the same time, the safety and reliability of the parking process are increased by real-time detection of collision risks and corresponding processing; the entire process is highly adaptable and can flexibly adjust strategies according to actual conditions to improve the success rate and efficiency of parking.

[0033] Furthermore, the step S200 further includes:

[0034] The optimal obstacle avoidance path is smoothed by using a preset curve model to obtain a second parking path.

[0035] In the above technical solution, the smoothed path is closer to the ideal trajectory, reducing trajectory deviations caused by path fluctuations or sudden changes in curvature, and improving parking accuracy and stability.

[0036] Furthermore, the step S300 is specifically as follows:

[0037] Get the vehicle kinematic model.

[0038] Based on the vehicle kinematic model, an optimal control problem is established with time continuity as the goal, satisfying differential equation constraints, boundary constraints, path curvature constraints, initial and final state constraints, and intermediate process constraints, and the optimal control problem is discretized based on the pseudo-spectral method to obtain a nonlinear programming problem; wherein the pseudo-spectral method is preferably the GAUSS pseudo-spectral method.

[0039] The nonlinear programming problem is solved to obtain the third parking path.

[0040] A preset curve model is obtained and a path curvature constraint is added to obtain a fourth parking path.

[0041] In the above technical solution, establishing the optimal control problem based on the vehicle kinematic model can more accurately describe the movement law of the vehicle during the parking process, thereby making the generated parking path more reasonable and reliable; using the nonlinear programming method to solve the optimal control problem can effectively optimize the parking path so that the path meets various constraints and ensures the smooth progress of the parking process.

[0042] Based on the same concept, the present application also provides a vehicle control system, including:

[0043] The planning module obtains a final parking path from a parking starting position to a target parking position through the parking path planning method.

[0044] The control module controls the current vehicle to park in a target parking space based on the final parking path.

[0045] In the above technical solution, the system is based on a carefully designed parking path planning method to ensure that the vehicle follows the optimal path during parking and takes into account various constraints, thereby improving the safety and reliability of parking; the system can autonomously plan and control the vehicle's parking process, reduce the driver's operating burden, and improve the convenience and accuracy of parking; the system can be applied to various parking lot environments and vehicle types, providing the driver with effective assistance when parking, and enhancing driving pleasure and parking experience.

[0046] Based on the same concept, the present application also provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the parking path planning method when running.

[0047] Compared with the prior art, the beneficial effects of this application are:

[0048] The present application obtains an optimal parking posture based on multiple arc curves to obtain a first parking path from the optimal parking posture to a target parking posture; then, according to multiple search strategies, an initial parking path with the shortest total number of points in the target search path is obtained as a second parking path; further, a third parking path for the current vehicle to reach the optimal parking posture from the target parking posture (obtained based on the terminal posture of the second parking path) is obtained, and a parking path from the terminal posture of the second parking path to the target parking posture is obtained as a fourth parking path; finally, the second parking path, the fourth parking path, the third parking path and the first parking path are sequentially spliced ​​to obtain a final parking path.

[0049] This application can achieve accurate parking path planning and improve the parking success rate by obtaining the optimal parking posture based on multiple arc curves; by planning the initial parking path through multiple search strategies, the risk of vehicle collision during parking can be avoided and driving safety can be ensured; by splicing different paths, fast and efficient parking operations can be achieved, saving parking time; this method can adapt to the parking needs of different vehicle models and parking space sizes, and has good versatility and adaptability. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 This is a flow chart of the parking path planning method described in Example 1.

[0051] Figure 2 This is a schematic diagram of the meaning of the vehicle size parameters of the current vehicle described in Example 1.

[0052] Figure 3 Schematic diagram of the relative position of the target parking posture and the target parking space described in Example 1.

[0053] Figure 4 This is a schematic diagram of the arc curve planning process of the current vehicle in the forward process described in Example 1.

[0054] Figure 5 It is a schematic diagram of the arc curve planning process of the current vehicle in the reversing process described in Example 1.

[0055] Figure 6 This is a schematic diagram of the current vehicle and the target parking space when the distance is set according to the first embodiment.

[0056] Figure 7 This is a schematic diagram of planning an escape route as described in Example 1.

[0057] Figure 8 This is a schematic diagram of the two-degree-of-freedom bicycle model described in Example 1.

[0058] Fig. 9 This is a schematic diagram of the effect of the entire parking path planning process described in Example 1.

[0059] Fig.10 This is a schematic diagram of the effect of another entire parking path planning process described in Example 1.

[0060] Fig.11 This is a framework diagram of the vehicle control system described in Example 2. DETAILED DESCRIPTION

[0061] A parking path planning method, a vehicle control system and a storage medium of the present application are further described in detail below in conjunction with specific embodiments and drawings.

[0062] Embodiment 1:

[0063] See also Figure 1 The present application provides a parking path planning method, which is mainly used to plan the path for the current vehicle to park in a parallel parking space, including the following steps:

[0064] Step S100: Obtain the parking posture of the current vehicle in the target parking space based on multiple arc curves to obtain the optimal parking posture, and simultaneously obtain a first parking path from the optimal parking posture to the target parking posture; wherein the arc curve is tangent to the centerline of the horizontal axis of the current vehicle (see Figure 4 ).

[0065] Furthermore, before executing step S100, the following steps are included:

[0066] Get the rear axle center coordinates, body heading angle, and vehicle size parameters of the current vehicle to obtain the vehicle vertex coordinates of the current vehicle.

[0067] In this embodiment, according to the rear axle center coordinate (x r ,y r ), vehicle heading angle θ r and vehicle size parameters (see Figure 2 , including the vehicle width W c , the distance from the front axle to the rear axle L, the distance from the front axle to the front end of the vehicle L f , the distance from the rear axle to the rear end of the vehicle is L r ), the four vehicle vertex coordinates of the current vehicle can be obtained through geometric relationships, as follows:

[0068]

[0069] Among them, the coordinate system 1 of the coordinates described in this embodiment takes the center of the rear axle of the current vehicle after parking is confirmed as the origin, the vertical forward direction of the vehicle is the positive direction of the X-axis, and the left side of the forward direction is the positive direction of the Y-axis.

[0070] In the above technical solution, by acquiring the rear axle center coordinates, heading angle and size parameters of the vehicle, the actual position and size of the vehicle can be determined more accurately, thereby improving the accuracy of parking path planning.

[0071] Furthermore, the step S100 also includes calculating the target parking position, specifically:

[0072] Get the parking space vertex coordinates of the target parking space (A x ,A y )、(B x ,B y ) and (D x ,D y ), to calculate the target parking position based on the parking space vertex coordinates and vehicle size parameters (see Figure 3 ).

[0073] In this embodiment, in order to ensure that the target parking position is in the center of the parallel parking space, the center point of the vehicle at the target parking point is set to coincide with the center point of the parallel parking space.

[0074] The target parking position (x e ,y e ,θ e ) is calculated as follows:

[0075]

[0076] In the above technical solution, by obtaining the parking space vertex coordinates of the target parking space and considering the vehicle size parameters, the target parking position can be accurately calculated, making the vehicle parking position more accurate and appropriate, and the parking path planning can be more personalized to adapt to the conditions of different vehicles and parking spaces, thereby improving parking efficiency.

[0077] Furthermore, the step S100 of obtaining the optimal parking position is specifically as follows:

[0078] The set distance between the current vehicle and the target parking space is determined in advance according to the vehicle vertex coordinates and the parking space vertex coordinates.

[0079] In this embodiment, it is assumed that the distance is set to m.

[0080] Get the coordinates of the first origin of the arc curve (x o ,y o ) and the first curve radius R min , and determine the first center angle range (such as α 0 , α 1 ), to obtain a first parking posture (such as (x e ,y e ,θ e )、(x s ,y s ,θ s )).

[0081] In this embodiment, the current process of adjusting the parking posture of the vehicle in the parking space adopts a multi-segment tangent arc curve to plan the parking path. Taking the parking process in the left parking space as an example, the arc curve planning process of the vehicle moving forward is as follows: Figure 4 As shown in the figure, the formula for planning the parking path using an arc curve is as follows:

[0082]

[0083] The arc curve planning process of the current vehicle in the reversing process is as follows: Figure 5 As shown in the figure, the formula for planning the parking path using an arc curve is as follows:

[0084]

[0085] And determining an optimal parking posture according to the first parking posture and the set distance.

[0086] Furthermore, the optimal parking position (x g ,y g ,θ g) is the position of the vehicle when the left front vertex exceeds the target parking space or obstacle boundary m, see Figure 6 .

[0087] Among them, the optimal parking posture for adjusting the vehicle body posture in the parking space by using an arc curve is the posture when the left front vertex of the vehicle exceeds the target parking space or obstacle boundary m. Using the vehicle's minimum turning radius (i.e., the first curve radius) to plan the arc curve can ensure that the vehicle body heading angle adjusted in a single-step parking path is the largest, thereby ensuring that the total number of steps to adjust the parking posture is the least.

[0088] In the above technical solution, by determining in advance the set distance between the vehicle and the target parking space and the relevant parameters of the arc curve, a more accurate optimal parking position can be obtained, thereby improving the accuracy and efficiency of parking; at the same time, the method may also be able to adapt to different types of parking scenarios, thereby enhancing the versatility and flexibility of the parking system.

[0089] Step S200: planning an initial parking path of the current vehicle outside the target parking space according to multiple search strategies and based on the parking starting position of the current vehicle, so as to obtain an initial parking path with the shortest total number of target search path points in each search strategy as a second parking path.

[0090] In this embodiment, a geometric curve search algorithm is used to plan the initial parking path for the current vehicle to adjust the parking position outside the target parking space. The search strategies are the first step forward in the clockwise direction (the first search strategy), the first step reverse in the clockwise direction (the second search strategy), the first step forward in the counterclockwise direction (the third search strategy), and the first step reverse in the counterclockwise direction (the fourth search strategy). The initial parking path with the shortest total number of target search path points among the four search strategies is used as the second parking path.

[0091] Furthermore, the search process uses the minimum turning radius arc to obtain the extended parking posture. When the second parking posture collides with an obstacle, a short straight path is planned to ensure that the vehicle can escape, and then the minimum turning radius arc is continued to be used to obtain the extended parking posture. Please refer to Figure 7 , the step S200 is specifically as follows:

[0092] S201: Determine a vehicle gear position, and determine the Nth search strategy as a target search strategy; wherein N≥1.

[0093] In this embodiment, the initial vehicle gear position D=1 is assumed, and the first search strategy (i.e., the first step forward in the clockwise direction) is determined as the target search strategy; wherein, D=1 indicates that the steering wheel is in a clockwise direction and the vehicle is in a forward gear (such as D gear), or the steering wheel is in a counterclockwise direction and the vehicle is in a reverse gear (such as R gear), or the steering wheel is in a clockwise direction and the vehicle is in a reverse gear, or the steering wheel is in a counterclockwise direction and the vehicle is in a forward gear.

[0094] S202: Determine whether the total number of points in the current search path is less than or equal to the maximum number of points in the search path. If so, proceed to step S203; otherwise, switch the vehicle gear according to a preset rule, for N+1, to update the target search strategy, and proceed to step S204.

[0095] In this embodiment, it is determined whether the total number of points in the current search path is less than or equal to 600 (the maximum number of points in the search path). If so, the search process (geometric curve search process) is entered.

[0096] Otherwise, the vehicle gear is switched, such as switching to D=-D, and the target search strategy is updated to the second search strategy; wherein, D=-D means opposite to the previous vehicle gear. If the previous vehicle gear is the steering wheel clockwise and the vehicle is in the forward gear, then the switched vehicle gear is the steering wheel counterclockwise and the vehicle is in the reverse gear.

[0097] S203: Entering the search process based on the target search strategy.

[0098] Furthermore, the search process in step S203 is specifically as follows:

[0099] S2031: Obtain the coordinates of the second curve origin and the second curve radius of the arc curve, and determine the second center angle range, so as to plan the second parking position of the current vehicle based on the coordinates of the second curve origin, the second curve radius, the second center angle range, the target search strategy and the vehicle gear position.

[0100] The step S2021 is similar to the process of obtaining the first parking posture in step S100, and will not be described in detail here.

[0101] S2032: Expand the second parking posture (x i ,y i ,θ i ) to obtain the extended parking posture (x i+1 ,y i+1 ,θ i+1 ).

[0102] It should be noted that the preset search step size, such as 0.2, can be set by those skilled in the art according to practical applications and is not limited here.

[0103] S2033: Determine whether the extended parking posture has a collision risk. If so, switch the vehicle gear and plan an escape path based on the extended parking posture, and return to step S2031; otherwise, obtain the initial parking path, and use the current total search path points as the target search path total points, and when the target search path total points are less than the maximum search path points, update the maximum search path points based on the target search path total points, and return to step S202.

[0104] It should be noted that if the total target search path points obtained by the first search strategy are 400, which is less than the initial maximum search path points of 600, the maximum search path points are updated to 400, and then the second search strategy is executed.

[0105] Furthermore, during the second search strategy, if the total number of points in the current search path is greater than 400, the maximum number of points in the search path will not be updated and will remain at 400, and the third search strategy will be executed until all search strategies have been traversed, thus terminating the planning process.

[0106] In this embodiment, the vehicle gear is switched intelligently based on different collision risks to plan a short straight escape path.

[0107] Among them, if the current vehicle gear position is the steering wheel clockwise and the vehicle is in the forward gear, or the steering wheel is counterclockwise and the vehicle is in the forward gear, it is judged that the extended parking position has a collision risk, and it is necessary to plan a straight backward escape path. Here, planning can also be performed based on the preset search step size to prevent the vehicle from continuing to move forward and colliding.

[0108] Similarly, if the current vehicle gear position is with the steering wheel turned clockwise and the vehicle in reverse gear, or with the steering wheel turned counterclockwise and the vehicle in reverse gear, it is determined that the extended parking position has a collision risk, and a straight forward escape path needs to be planned to prevent the vehicle from continuing to reverse and colliding.

[0109] In the above technical solution, arc curve parameters and vehicle gear information are used to more accurately plan the second parking position of the vehicle, and find the optimal parking position by gradually expanding the search; at the same time, the safety and reliability of the parking process are increased by real-time detection of collision risks and corresponding processing; the entire process is highly adaptable and can flexibly adjust strategies according to actual conditions to improve the success rate and efficiency of parking.

[0110] S204: Determine whether the updated target search strategy is the N+Mth search strategy. If so, end the process, obtain the initial parking paths corresponding to each search strategy, and output the initial parking path with the shortest total number of points in the target search path as the optimal obstacle avoidance path; otherwise, return to step S202; wherein M≥1.

[0111] In this embodiment, when N is 1, M is, for example, 4, and the last search strategy in this embodiment is the fourth search strategy; when the updated target search strategy is the fifth search strategy, the process is terminated, and the initial parking path with the shortest total number of target search path points is output as the optimal obstacle avoidance path.

[0112] In the above technical solution, the optimal obstacle avoidance path can be effectively found by dynamically adjusting the vehicle's gear position and search path strategy; this method has a certain degree of adaptability, and can flexibly adjust the search strategy according to the specific situation, and ultimately find the best path; in addition, by setting different search strategies and rules, the efficiency and accuracy of the obstacle avoidance path search can be improved.

[0113] Furthermore, the step S200 further includes:

[0114] The optimal obstacle avoidance path is smoothed by using a preset curve model to obtain a second parking path.

[0115] In this embodiment, the preset curve model is a Bezier curve model.

[0116] Among them, the optimal obstacle avoidance path is smoothed by the Bezier curve model to obtain the second parking path. This process can further improve the smoothness and feasibility of the parking path. The Bezier curve is a commonly used curve model. By adjusting the position and weight of the control point, the shape of the curve can be flexibly controlled to make the curve smoother and consistent with the actual path.

[0117] In parking path planning, by taking the key points of the optimal obstacle avoidance path as control points and using the Bezier curve model for interpolation and smoothing, the turning points of the path can be made more natural, reducing sharp turns and unnecessary twists and turns, and improving the comfort and safety of the parking process; at the same time, the Bezier curve model can also help optimize the path trajectory, making the vehicle's path planning around obstacles more efficient and accurate.

[0118] By applying Bezier curve smoothing to the optimal obstacle avoidance path, the curvature change of the parking path can be effectively improved, reducing turns and unnecessary pauses, making the parking process smoother and more coherent; this technology can enhance the intelligence and humanization of the parking path and provide drivers with a better parking experience.

[0119] In the above technical solution, the smoothed path is closer to the ideal trajectory, reducing trajectory deviations caused by path fluctuations or sudden changes in curvature, and improving parking accuracy and stability.

[0120] Step S300: obtaining a target parking posture based on the terminal posture of the second parking path, obtaining a third parking path from the target parking posture to the optimal parking posture, and obtaining a parking path from the terminal posture to the target parking posture as a fourth parking path.

[0121] In this embodiment, a vehicle kinematic model is established, and a third parking path for the vehicle to reach the optimal parking position from the target parking position is obtained based on the GAUSS pseudo-spectral method. The advantage is that by setting reasonable boundary constraints, it is possible to ensure that the solved vehicle parking path meets the collision constraints and vehicle kinematic constraints of the parking scene, including the minimum turning radius constraint and the maximum tire angle change rate constraint.

[0122] Furthermore, the step S300 is specifically as follows:

[0123] Get the vehicle kinematic model.

[0124] In this embodiment, since the vehicle speed during the automatic parking process is low, the influence of the tire lateral force on the vehicle motion can be ignored. Therefore, the motion process of the vehicle parking satisfies the Ackerman steering principle, and the vehicle kinematic model can be simplified to a two-degree-of-freedom bicycle model as shown in FIG. Figure 8 shown.

[0125] According to the Ackerman steering principle, the kinematic constraints of the front and rear axles of the vehicle during automatic parking are:

[0126]

[0127] The speed of the center point of the vehicle's rear axle is:

[0128]

[0129] According to the geometric relationship between the front and rear wheels:

[0130]

[0131] The vehicle kinematic model can be obtained by combining the following equations:

[0132]

[0133] where x r ,y r , is the coordinates of the center point of the vehicle's rear axle and the vehicle's heading angle, v r, a is the center velocity and acceleration of the vehicle's rear axle, δ, ω are the vehicle's tire angle and tire angle change rate.

[0134] Based on the vehicle kinematic model, an optimal control problem is established with time continuity as the goal, satisfying differential equation constraints, boundary constraints, path curvature constraints, initial and final state constraints, and intermediate process constraints. The optimal control problem is discretized based on the GAUSS pseudo-spectral method to obtain a nonlinear programming problem.

[0135] The nonlinear programming problem is solved to obtain the third parking path.

[0136] In this embodiment, the GAUSS pseudo-spectral method is used to describe the vehicle parking process as a time-continuous multi-stage optimal control problem, where the state variable s(t) includes x r ,y r , v r and δ, the control variables u(t) include a and ω, as well as the static parameters p and time t∈[t 0 ,t f ], and thus the optimal solution that minimizes the Bolza performance index is obtained. The performance function J is expressed as:

[0137]

[0138] Where φ is the Mayer term and g is the Lagrangian term. At the same time, the dynamic differential equation constraint f, boundary constraint b and path constraint c need to be satisfied.

[0139]

[0140] Among them, the state variables of the starting point and the end point satisfy the initial and final state constraints. The end point is the optimal parking posture, and the starting point is based on the current second parking posture (x i ,y i ,θ i The target parking posture is obtained by extending the line of ) (i.e., the end posture of the second parking path), where the length of the extension line is l, and the initial and final state constraints are as follows:

[0141]

[0142] The state variables satisfy the intermediate process constraints as follows:

[0143]

[0144] The control variables satisfy the constraints as follows:

[0145]

[0146] The time t∈[t0 ,t f ] is converted to the GAUSS pseudospectral method within the discrete definition interval of the LG interpolation points:

[0147]

[0148] Where the time variable τ∈[-1,1], so the performance function J and the constraint formula can be transformed into:

[0149]

[0150] in,

[0151]

[0152] The GAUSS pseudospectral method discretizes the optimal control problem through the Lagrange interpolation polynomial, which is:

[0153]

[0154] In each stage, N+1 Lagrange interpolation polynomials are used to approximate the curves of state variables and control variables changing with time:

[0155]

[0156] Where L i (τ) is the Lagrange interpolation basis function, and its expression is:

[0157]

[0158] The GAUSS pseudo-spectral method approximates the state variables through global interpolation polynomials. The differential equations of the state variables can be obtained by differentiation:

[0159]

[0160] where k = 1, 2, ..., N, D ki is a differential matrix of N×(N+1), and its algebraic expression is:

[0161]

[0162] D ki Substituting the algebraic expression of into the constraint equation, the discretized expression is:

[0163]

[0164] Since the LG interpolation point does not include the end time point τ f =1, so the terminal state needs to be obtained by integrating the dynamic differential equation in the time interval τ∈[-1,1]:

[0165]

[0166] The terminal state is discretely interpolated and approximated by Gauss integral:

[0167]

[0168] Among them, Gauss integral weight coefficient

[0169] Similarly, the Gauss integral can be used to calculate the integral term of the performance function and obtain the discrete approximation performance function J.

[0170]

[0171] After the above discretization process, the mathematical expression of the nonlinear programming problem (NLP) is as follows:

[0172]

[0173] The NLP equation is solved by sequential quadratic programming to obtain an approximate solution to the Bolza problem, and the parking path of the parking process (i.e., the third parking path from the current vehicle to the optimal parking position from the target parking position) can be obtained, and the path curvature satisfies the vehicle's minimum turning radius constraint and the maximum tire angle change rate constraint.

[0174] A preset curve model is obtained and a path curvature constraint is added to obtain a fourth parking path.

[0175] In this embodiment, a Bezier curve (i.e., a preset curve model) is used to plan a parking path from the end position of the second parking path to the target parking position. By adding a path curvature constraint, it can be ensured that the Bezier curve satisfies the vehicle's minimum turning radius constraint and the maximum tire angle change rate constraint.

[0176] The mathematical expression of the Bezier curve is as follows:

[0177]

[0178] The mathematical expression of the third-order Bezier curve for planning parking paths is as follows:

[0179]

[0180] The heading angle and curvature of the curve path point can be obtained as:

[0181]

[0182] The simultaneous equations can be used to obtain the Bezier curve path connecting the planned starting point and the planned target point (ie, the parking path from the end point posture of the second parking path to the target parking posture).

[0183] In the above technical solution, establishing the optimal control problem based on the vehicle kinematic model can more accurately describe the movement law of the vehicle during the parking process, thereby making the generated parking path more reasonable and reliable; using the nonlinear programming method to solve the optimal control problem can effectively optimize the parking path so that the path meets various constraints and ensures the smooth progress of the parking process.

[0184] Step S400: sequentially joining the second parking path, the fourth parking path, the third parking path and the first parking path to obtain a final parking path from the parking start position to the target parking position.

[0185] See also Fig. 9 , is a schematic diagram of the planning effect when the second parking path is not a blank path, where the pink rectangular box is the second parking path of the geometric curve search algorithm, the light blue rectangular box is the fourth parking path, the dark blue rectangular box is the third parking path, the green rectangular box is the first parking path of the vehicle adjusting the first parking posture in the target parking space, the black rectangular box is the parking starting posture, and the red rectangular box is the target parking posture.

[0186] See also Fig.10 , is a schematic diagram of the planning effect when the second parking path is a blank path. The meanings of the rectangular boxes of different colors are the same Fig. 9 That is, in step S200, after traversing all search strategies, it is concluded that the total number of points in the current search path is greater than the maximum number of points in the search path, and the current vehicle has no collision risk during the search process, and there is no need to plan an escape path. At this time, the second parking path obtained is a blank path, and step S300 is directly executed to proceed to the next step of planning.

[0187] In the above technical solution, by obtaining the optimal parking position based on multiple arc curves, accurate parking path planning can be achieved to improve the parking success rate; by planning the initial parking path through multiple search strategies, the risk of vehicle collision during parking can be avoided to ensure driving safety; by splicing different paths, fast and efficient parking operations can be achieved to save parking time; this method can adapt to the parking needs of different vehicle models and parking space sizes, and has good versatility and adaptability.

[0188] Embodiment 2:

[0189] See also Fig.11 , the present application also provides a vehicle control system, comprising:

[0190] The planning module obtains a final parking path from a starting parking position to a target parking position through the parking path planning method described in the first embodiment.

[0191] The control module controls the current vehicle to park in a target parking space based on the final parking path.

[0192] In the above technical solution, the system is based on a carefully designed parking path planning method to ensure that the vehicle follows the optimal path during parking and takes into account various constraints, thereby improving the safety and reliability of parking; the system can autonomously plan and control the vehicle's parking process, reduce the driver's operating burden, and improve the convenience and accuracy of parking; the system can be applied to various parking lot environments and vehicle types, providing the driver with effective assistance when parking, and enhancing driving pleasure and parking experience.

[0193] Embodiment three:

[0194] The present application also provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the parking path planning method described in Example 1 when running.

[0195] In this embodiment, the storage medium stores a number of computer programs for enabling the vehicle-mounted terminal to execute all or part of the steps of the method described in each embodiment of the present application.

[0196] The medium may include a U disk, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, and other media that can store program codes.

[0197] In summary, the present application provides a parking path planning method, a vehicle control system and a storage medium; first, an optimal parking posture is obtained based on multiple arc curves to obtain a first parking path from the optimal parking posture to a target parking posture; then a second parking path is obtained according to multiple search strategies; further, a third parking path for the current vehicle to reach the optimal parking posture from the target parking posture is obtained, and a parking path from the terminal posture of the second parking path to the target parking posture is obtained as a fourth parking path; finally, the second parking path, the fourth parking path, the third parking path and the first parking path are sequentially spliced ​​to obtain a final parking path; wherein the target parking posture is obtained based on the terminal posture. This application can achieve accurate parking path planning and improve the parking success rate by obtaining the optimal parking posture based on multiple arc curves; by planning the initial parking path through multiple search strategies, the risk of vehicle collision during parking can be avoided and driving safety can be ensured; by splicing different paths, fast and efficient parking operations can be achieved, saving parking time; this method can adapt to the parking needs of different vehicle models and parking space sizes, and has good versatility and adaptability.

[0198] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present application to this. Those of ordinary skill in the art may make various changes and modifications therein without departing from the scope and spirit of the present application. All these changes and modifications are intended to be included within the scope of the present application as required by the appended claims.

[0199] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0200] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.

[0201] The various component embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some modules according to the embodiments of the present application. The application can also be implemented as a device program (e.g., computer program and computer program product) for executing a part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0202] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0203] Although the description of the present application is carried out in conjunction with the above specific embodiments, it is obvious that those skilled in the art can make many substitutions, modifications and changes based on the above content. Therefore, all such substitutions, improvements and changes are included in the spirit and scope of the appended claims.

Claims

1. A parking path planning method, characterized in that: The following steps are involved: S100: obtaining a parking posture of the current vehicle in a target parking space based on multiple arc curves to obtain an optimal parking posture, and simultaneously obtaining a first parking path from the optimal parking posture to the target parking posture; S200: planning an initial parking path of the current vehicle outside the target parking space according to multiple search strategies and based on the parking starting position of the current vehicle, so as to obtain an initial parking path with the shortest total number of target search path points in each search strategy as a second parking path; S300: obtaining a target parking posture based on the terminal posture of the second parking path, obtaining a third parking path from the target parking posture to the optimal parking posture, and obtaining a parking path from the terminal posture to the target parking posture as a fourth parking path; and S400: sequentially joining the second parking path, the fourth parking path, the third parking path and the first parking path to obtain a final parking path from the parking start position to the target parking position.

2. The parking path planning method according to claim 1, characterized in that: Before executing step S100, it includes: obtaining the rear axle center coordinates, the vehicle body heading angle and the vehicle size parameters of the current vehicle to obtain the vehicle vertex coordinates of the current vehicle.

3. The parking path planning method according to claim 1, characterized in that: The step S100 also includes calculating the target parking position, specifically: The parking space vertex coordinates of the target parking space are obtained to calculate the target parking position based on the parking space vertex coordinates and the vehicle size parameters.

4. The parking path planning method according to claim 1, characterized in that: The step S100 of obtaining the optimal parking position is specifically as follows: Determine in advance the set distance between the current vehicle and the target parking space according to the vehicle vertex coordinates and the parking space vertex coordinates; Acquire a first curve origin coordinate and a first curve radius of the arc curve, and determine a first center angle range, so as to acquire a first parking posture based on the first curve origin coordinate, the first curve radius and the first center angle range; and determining an optimal parking posture according to the first parking posture and the set distance; Wherein, the arc curve is tangent to the center line of the current vehicle transverse axis.

5. The parking path planning method according to claim 1, characterized in that: The step S200 is specifically as follows: S201: Determine the gear position of the vehicle, and determine the Nth search strategy as the target search strategy; wherein N≥1; S202: Determine whether the total number of points in the current search path is less than or equal to the maximum number of points in the search path. If so, proceed to step S203; otherwise, switch the vehicle gear according to a preset rule, for N+1, to update the target search strategy, and proceed to step S204; S203: Entering a search process based on a target search strategy; and S204: Determine whether the updated target search strategy is the N+Mth search strategy. If so, end the process, obtain the initial parking paths corresponding to each search strategy, and output the initial parking path with the shortest total number of points in the target search path as the optimal obstacle avoidance path; otherwise, return to step S202; wherein M≥1.

6. The parking path planning method according to claim 1, characterized in that: The search process in step S203 is specifically as follows: S2031: Acquire the coordinates of the second curve origin and the second curve radius of the arc curve, and determine the second center angle range, so as to plan a second parking posture of the current vehicle based on the coordinates of the second curve origin, the second curve radius, the second center angle range, the target search strategy and the vehicle gear position; S2032: Expanding the second parking posture based on a preset search step length to obtain an expanded parking posture; as well as S2033: determining whether the extended parking posture has a collision risk, and if so, switching the vehicle gear, and planning an escape path based on the extended parking posture, and returning to step S2031; Otherwise, the initial parking path is obtained, and the total points of the current search path are used as the total points of the target search path. When the total points of the target search path are less than the maximum search path points, the maximum search path points are updated based on the total points of the target search path, and the process returns to step S202.

7. The parking path planning method according to claim 1, characterized in that: The step S200 further includes: The optimal obstacle avoidance path is smoothed by using a preset curve model to obtain a second parking path.

8. The parking path planning method according to claim 1, characterized in that: The step S300 is specifically as follows: Obtain vehicle kinematic model; Based on the vehicle kinematic model, an optimal control problem is established with time continuity as the goal, satisfying differential equation constraints, boundary constraints, path curvature constraints, initial and final state constraints, and intermediate process constraints, and the optimal control problem is discretized based on a pseudo-spectral method to obtain a nonlinear programming problem; Solving the nonlinear programming problem to obtain the third parking path; A preset curve model is obtained and a path curvature constraint is added to obtain a fourth parking path.

9. A vehicle control system, characterized in that: include: A planning module, which obtains a final parking path from a parking starting position to a target parking position by using a parking path planning method according to any one of claims 1 to 8; The control module controls the current vehicle to park in a target parking space based on the final parking path.

10. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the parking path planning method according to any one of claims 1 to 8 when running.

Citation Information

Cited By

  • Obstacle detection method and device based on path constraint, equipment and medium

    CN120270232A

  • Parking method, electronic equipment and storage medium

    CN121106201A