Parking path planning method and system

By using parking space information and vehicle position data for path planning and optimization in parking technology, the problem of requiring low-speed steering in the existing technology is solved, fully automatic parking under constant speed driving is achieved, and parking intelligence is improved. and accuracy.

CN114889586BActive Publication Date: 2024-08-23BEIJING ELECTRIC VEHICLE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210586614.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-26
Publication Date
2024-08-23
Estimated Expiration
2042-05-26

AI Technical Summary

Technical Problem

Existing parking technology is not intelligent enough. It requires a low speed or stationary state to perform steering. It also has high requirements on the steering system and cannot achieve fully automatic parking in a narrow parking space while driving at a constant speed.

Method used

By obtaining the parking space information and the vehicle's current position coordinate point, determine the longitudinal distance and width between the vehicle and the parking space edge, calculate the guide point coordinates and the offset of the path end point, plan a two-segment straight line and a three-segment arc path, and compare the original path Perform clothoid transformation optimization to generate an optimized parking planning path.

Benefits of technology

It enables the vehicle to control the steering wheel angle while driving at a constant speed, completes fully automatic parking in a narrow parking space, improves the intelligence and accuracy of parking path planning, and avoids the problem of low-speed steering or in-situ steering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114889586B
    Figure CN114889586B
Patent Text Reader

Abstract

The present application provides a parking path planning method and system, which relates to the field of path planning technology. The longitudinal distance between the vehicle and the parking space edge line and the parking space width are determined according to the acquired parking space information and the coordinate point of the vehicle's current position, and then the offset between the guide point coordinates and the end point of the first path segment is determined. The original planned path is collected, that is, the first straight line-first arc-second arc-third arc-second straight line, and the first straight line and the first arc, the third arc and the second straight line are optimized by the roundabout transformation to obtain the parking planning path. The problem that the parking technology in the prior art is not intelligent enough, steering can only be performed at low speed or static state, and the steering system has extremely high requirements is solved. The optimization based on the parking planning path is achieved, so that the vehicle can control the steering wheel angle when driving at a constant speed, and the purpose of fully automatic parking in a narrow parking space is achieved.
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 and system. Background Art

[0002] Nowadays, with the popularization of automobiles, parking technology has also developed rapidly. Existing technology can automatically park cars. The performance of fully automatic parking depends to a large extent on parking path planning technology.

[0003] The corresponding parking route planning can be carried out according to the location of the parking space and the specific location of the car. However, the parking technology used nowadays is not mature enough and has certain limitations.

[0004] The existing technology has the following technical problems: the existing parking technology is not intelligent enough, and the vehicle needs to be in a low speed or stationary state to turn during parking, and the steering system has high requirements. Summary of the invention

[0005] The technical purpose to be achieved by the embodiments of the present application is to provide a parking path planning method and system to solve the technical problems existing in the prior art that the existing parking technology is not intelligent enough, requires a low vehicle speed or a stationary state to turn, and has extremely high requirements for the steering system.

[0006] To solve the above technical problems, the present application provides a parking path planning method and system, including:

[0007] In a first aspect, the present application provides a parking path planning method, the method comprising: obtaining parking space information and a current position coordinate point of a vehicle; obtaining a longitudinal distance between the vehicle and a parking space boundary line and a parking space width based on the current position coordinate point of the vehicle and the parking space information; determining a guide point coordinate and an offset of an end point of a first path segment according to the longitudinal distance between the vehicle and the parking space boundary line and the parking space width; obtaining a parking target point; performing two-segment straight line and three-segment circular arc path planning according to the current position coordinate point, the guide point coordinate, the offset of an end point of a first path segment, and the parking target point to obtain an original path planning, the original path planning being a first straight line-a first circular arc-a second circular arc-a third circular arc-a second straight line; performing a clothoid transformation optimization between the first straight line and the first circular arc, and between the third circular arc and the second straight line to obtain a parking planning path.

[0008] In a second aspect, the present application provides a parking path planning system, the system comprising: a first obtaining unit, the first obtaining unit being used to obtain parking space information and a current position coordinate point of a vehicle; a second obtaining unit, the second obtaining unit being used to obtain a longitudinal distance between the vehicle and a parking space boundary line and a parking space width based on the current position coordinate point of the vehicle and the parking space information; a first determining unit, the first determining unit being used to determine a guide point coordinate and an offset of an end point of a first path segment according to the longitudinal distance between the vehicle and the parking space boundary line and the parking space width; a third obtaining unit, the third obtaining unit being used to obtain a parking target point; a fourth obtaining unit, the fourth obtaining unit being used to perform two-segment straight line and three-segment circular arc path planning according to the current position coordinate point, the guide point coordinate, the offset of an end point of a first path segment, and the parking target point to obtain an original path planning, the original path planning being a first straight line-a first circular arc-a second circular arc-a third circular arc-a second straight line; a fifth obtaining unit, the fifth obtaining unit being used to perform a clothoid transformation optimization between the first straight line and the first circular arc, and between the third circular arc and the second straight line to obtain a parking planning path.

[0009] In a third aspect, the present application provides an electronic device, comprising: a processor, the processor is coupled to a memory, the memory is used to store a program, when the program is executed by the processor, the system executes any one of the methods described in the first aspect.

[0010] Compared with the prior art, the parking path planning method provided in the embodiment of the present application has at least the following beneficial effects:

[0011] The embodiment of the present application provides a parking path planning method, which establishes a corresponding rectangular coordinate system according to parking space information, determines the longitudinal distance between the vehicle and the parking space edge line and the parking space width based on the obtained parking space information and the current position coordinate point of the vehicle, further determines the guide point coordinates and the offset of the end point of the first path segment, determines the parking target point position based on the established rectangular system, performs two-segment straight line and three-segment circular arc path planning according to the current position coordinate point of the vehicle to be parked, the guide point coordinates, the offset of the end point of the first path segment, and the parking target point, obtains the original path planning, and the original path planning is specifically expressed as the first straight line-the first circular arc-the second circular arc-the third circular arc-the second straight line, performs a clothoid transformation optimization between the first straight line and the first circular arc, and between the third circular arc and the second straight line, and obtains the parking planning path. By planning the original parking path and performing corresponding optimization based on the clothoid curve, the intelligence of the path planning is improved, so that the vehicle can control the steering wheel angle when driving at a constant speed, so as to achieve the purpose of fully automatic parking in a narrow parking space.

[0012] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A parking path planning method flow chart is provided for this application;

[0014] Figure 2 A schematic diagram of the process of obtaining the original path planning in the parking path planning method is provided for this application;

[0015] Figure 3 A schematic diagram of an optimization process of an original planned path in a parking path planning method is provided for this application;

[0016] Figure 4 An original path planning diagram is provided for this application;

[0017] Figure 5 A graphical representation of a parking optimization path is provided for this application;

[0018] Figure 6 A transition path optimization diagram of a connection point is provided for this application;

[0019] Figure 7 A parking path planning system structure diagram is provided for this application;

[0020] Figure 8 A structural schematic diagram of an electronic device is provided for the present application.

[0021] Explanation of the reference numerals: first obtaining unit 11 , second obtaining unit 12 , first determining unit 13 , third obtaining unit 14 , fourth obtaining unit 15 , fifth obtaining unit 16 , electronic device 300 , memory 301 , processor 302 , communication interface 303 , bus architecture 304 . DETAILED DESCRIPTION

[0022] The present application provides a parking path planning method to solve the technical problems in the prior art that the parking technology is not intelligent enough, steering can only be performed at a low speed or stationary state, and the steering system has extremely high requirements.

[0023] Application Overview

[0024] Nowadays, with the popularization of fully automatic parking technology, it has provided great convenience for users. The parking path of the car is planned based on the location of the parking space and the specific location of the car, and corresponding operations are performed accordingly. However, the parking technology used today is not mature enough and has certain limitations.

[0025] The existing technology has the following technical problems: the existing parking technology is not intelligent enough, and the vehicle needs to be in a low speed or stationary state to turn during parking, and the steering system has high requirements.

[0026] In response to the above technical problems, the overall idea of ​​the technical solution provided by this application is as follows:

[0027] The method provided in the present application can further obtain the longitudinal distance between the vehicle and the parking space edge line and the parking space width by acquiring the parking space information and the vehicle's current position coordinate point, and determine the guide point coordinates and the offset of the end point of the first path segment accordingly, and obtain the parking target point. According to the acquired current position coordinate point, the guide point coordinates, the offset of the end point of the first path segment, and the parking target point, two-segment straight line and three-segment circular arc path planning is performed to determine the original path planning, which is specifically expressed as the first straight line-the first circular arc-the second circular arc-the third circular arc-the second straight line, and the first straight line and the first circular arc, the third circular arc and the second straight line are optimized by performing a roundabout transformation, and the final parking planning path is obtained.

[0028] In order to make the technical problems, technical solutions and advantages to be solved by the application clearer, the following will be described in detail in conjunction with the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help fully understand the embodiments of the application. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the application. In addition, for clarity and brevity, the description of known functions and structures has been omitted.

[0029] Embodiment 1

[0030] like Figure 1 As shown, the present application provides a parking path planning method, the method comprising:

[0031] Step S100: obtaining parking space information and vehicle current position coordinates;

[0032] Specifically, information is collected from the vehicle to be parked, and the parking space information and the current position coordinate point of the vehicle are obtained. The parking space information of the vehicle includes the parking space address, parking space area, floor material, surrounding adverse factors, etc. The current position coordinate point of the vehicle refers to the relative position of the vehicle with the specific position of the parking space as the reference point, that is, the starting point S of the parking path. Based on the parking space position, the horizontal width direction of the parking space is used as the horizontal coordinate, and the longitudinal distance direction is used as the vertical coordinate. A rectangular coordinate system is established, and the center point of the vehicle is taken to point it. The relative coordinate point of the vehicle to be parked is located in the rectangular coordinate system, which is defined as (x S ,y S ) and store them, and based on the rectangular coordinate system, plan the parking path according to the vehicle coordinate points, and obtain the parking space information and the current position coordinate points of the vehicle, which lays the foundation for the subsequent parking path planning.

[0033] Step S200: based on the current position coordinate point of the vehicle and the parking space information, obtaining the longitudinal distance between the vehicle and the parking space boundary line and the parking space width;

[0034] Specifically, the parking space edge line refers to the horizontal boundary line that defines the range of the parking space. According to the current position coordinate point of the vehicle to be parked and the parking space information, the longitudinal distance between the vehicle and the parking space edge line and the parking space width are measured. The longitudinal distance between the vehicle and the parking space edge line refers to the distance from the center position point of the vehicle to the parking space edge line, and the parking space width refers to the distance of the parking space in the horizontal axis direction. By measuring the longitudinal distance between the vehicle and the parking space edge line and the parking space width, the parking path can be determined based on actual information to improve the accuracy of the corresponding path.

[0035] Step S300: determining the guide point coordinates and the offset of the end point of the first path segment according to the longitudinal distance between the vehicle and the parking space edge line and the parking space width;

[0036] Specifically, according to the longitudinal distance between the vehicle and the parking space edge line and the parking space width, based on the established rectangular coordinate system, the position coordinates of the guide point and the offset of the end point of the first path segment are determined. The guide point is located on the guide line, and the intersection of the guide wire and the vehicle to be parked in the horizontal coordinate direction is located as point A. (x A ,y A ), point B is the end point of the first path, and the coordinates of point B (x B ,y B ) is located on the offset line after the parking space center line is offset to the left by Δl, and the measured offset distance Δl is used as the offset after the end of this path, that is, the offset of the first end point. By measuring the offset of the guide point coordinates and the first path segment, a basis is provided for the subsequent original path planning.

[0037] Step S400: obtaining a parking target point;

[0038] Step S500: performing two-segment straight line and three-segment circular arc path planning according to the current position coordinate point, the guide point coordinate, the offset of the end point of the first path segment, and the parking target point to obtain an original path planning, wherein the original path planning is the first straight line-the first circular arc-the second circular arc-the third circular arc-the second straight line;

[0039] Specifically, the parking target point position is collected on the established rectangular coordinate system to obtain its corresponding position coordinates. The parking target point refers to the correct parking position of the vehicle to be parked in the parking space based on the planned parking path. By obtaining the parking target position point coordinates, the parking path can be planned based on the initial position and the parking target point.

[0040] Specifically, based on the established rectangular coordinate system, the corresponding parking path is planned according to the obtained current position coordinate point, that is, the vehicle initial position coordinate point, the guide point coordinate point A coordinate, the first path end point offset Δl, and the parking target point, and the three arcs are calculated according to the corresponding formula to obtain the first arc. The second arc and the third arc The original planned path can be divided into two straight lines and three arc paths. The determined planned paths are connected in their first places to obtain the original planned path, which can be specifically expressed as the first straight line-the first arc-the second arc-the third arc-the second straight line. By obtaining the original planned path, a basis is provided for subsequent path optimization.

[0041] Step S600: performing clothoid transformation optimization between the first straight line and the first arc, and between the third arc and the second straight line to obtain a parking planning path.

[0042] Specifically, the relevant information at the connection points between the first straight line and the first arc, and between the third arc and the second straight line path is obtained, and the corresponding connection paths are collected. Since the arc curvature is a fixed value, the curvatures of the first arc and the third arc are calculated, and a transition path is designed for the optimized connection point. The optimized connection point refers to the connection point between the straight line path and the arc path, so that the curvature of the filtered path increases linearly from zero to the fixed curvature value. The transition curve is smoothed using a clothoid curve to determine a modified endpoint, and the endpoint of the transition curve is adjusted according to the modified endpoint to obtain the final parking planning path. The original path is optimized by transforming the clothoid curve, making the parking process more intelligent and improving the accuracy of path planning.

[0043] Furthermore, according to the longitudinal distance between the vehicle and the parking space boundary line and the parking space width, the guide point coordinates and the offset of the end point of the first path segment are determined. Step S300 of the present application further includes:

[0044] Step S310: obtaining a preset granularity;

[0045] Step S320: Based on the preset granularity, the value range of the horizontal coordinate of the traversal guide point and the value range of the offset of the end point of the first path segment are used to obtain a parking path set, wherein the parking path set is a set of parking paths according to different parking space widths l p , the parking path determined by the longitudinal distance Δy from the parking space edge line;

[0046] Step S330: according to the preset screening requirement of minimum parking space occupancy, determining the selected value of the horizontal coordinate of the guide point and the selected value of the offset of the end point of the first segment of the path from the parking path set;

[0047] Step S340: Based on the selected value of the horizontal coordinate of the guide point, the selected value of the offset of the end point of the first path segment and the width of the parking space l p , and the longitudinal distance Δy with the parking space edge line are fitted multiple times to obtain the horizontal coordinate function of the guide point and the offset function of the end point of the first path segment.

[0048] Specifically, the granularity is preset, which refers to the smallest decomposition unit and clarity that can be achieved in the understanding and expression of things, that is, working for clarity, setting the granularity according to actual needs, so that it is sufficient for the expression and explanation of ideas. The guide point is located on the guide line, the intersection of the guide wire and the vehicle to be parked in the horizontal coordinate direction, and the point A is located. (x A ,y A ) is expressed as follows: the first path is the first arc path, which passes through point A and ends at point B. Point B (x B ,y B ) is on the offset line after the parking space center line is offset to the left by Δl, and the value range of the horizontal coordinate of the guide point and the value range of the offset of the end point of the first segment of the path are traversed to obtain the value range of the parking space according to different parking space widths l p , a parking path determined by a longitudinal distance Δy from the edge line of the parking space, and the parking paths determined according to the actual situation are included in the same set to obtain the parking path set.

[0049] Furthermore, the screening requirements are preset, and the space occupied during parking is minimized, and a certain safety distance is left between the parking space and obstacles as the best path evaluation criteria. According to different parking space conditions, the corresponding guide point horizontal coordinate x is determined from the parking path set. A The selected value, the selected value of the offset of the end point B of the first path segment, and the selected value of the horizontal coordinate of the guide point, the selected value of the offset of the end point of the first path segment and the width of the parking space lp , and the longitudinal distance Δy of the parking space edge line are fitted multiple times, and the horizontal coordinate function of the guide point Δx=f(l p ,Δy), and the offset function of the end point of the first path segment is obtained by fitting a seventh-order polynomial Δl=g(l p ,Δy), through the above function, for different parking spaces, the offset between the horizontal coordinate of the guide point and the end point of the first path can be calculated, which lays the foundation for determining the corresponding parking path.

[0050] Furthermore, if Figure 2 As shown, the two-segment straight line and three-segment circular arc path planning is performed according to the current position coordinate point, the guide point coordinate, the offset of the end point of the first path segment, and the parking target point to obtain the original path planning. Step S500 of this application also includes:

[0051] Step S510: determining a first straight line as a first path segment according to the current position coordinate point and the guide point coordinate point;

[0052] Step S520: According to the guide point coordinates and the offset of the end point of the first path segment, the formula:

[0053]

[0054] Determine the first arc As the second path, A is the guide point, and the coordinates of the guide point are (x A ,y A ), B is the end point of the first arc, the coordinates of the end point of the first arc are (x B ,y B ), Δl is the offset of the end point of the first path segment;

[0055] Step S530: According to the formula: Get the second arc As the third path, C is the end point of the second arc;

[0056] Step S540: According to the formula:

[0057]

[0058]

[0059] Get the third arc As the fourth path, D is the end point of the third arc;

[0060] Step S550: obtaining the second straight line as the fifth path segment according to the coordinates of the end point of the third path segment and the parking target point;

[0061] Step S560: The original path plan is obtained by sequentially connecting the first path segment, the second path segment, the third path segment, the fourth path segment, and the fifth path segment.

[0062] Specifically, the coordinates of the position point S (x S ,y S ) and the corresponding guide point coordinates A (x A ,y A ), the straight line segment between the two points is taken as the first path segment, and the second path segment is the arc between the guide point A and the point B located on the parking space center line offset line Point B (x B ,y B ) as the end point of the first arc segment, based on the obtained offset Δl between the guide point coordinates and the end point of the first path segment, according to the formula: Determined arc is the second path, where R is the determined arc radius, and the end point of the first arc is used as the starting point, through the formula: Calculate the second arc to obtain the second arc Among them, point C (x C ,y C ) is the coordinate of the end point of the second arc. As the third segment of the parking path, the end point of the second arc is taken as the starting point, and the formula Calculate the third arc to obtain the third arc Among them, point D (x D ,y D ) is the coordinate of the end point of the third arc. The fourth path segment of the parking path is used as the fourth path segment, wherein the arc radii of the first arc, the second arc and the fourth arc are not less than the minimum turning radius of the vehicle. The end point of the fourth path segment is used as the starting point. According to the coordinates of the point and the coordinates of the parking target point, the straight line between the two points is the second straight line, i.e., the fifth path segment. The first path segment, the second path segment, the third path segment, the fourth path segment and the fifth path segment are sequentially connected to obtain a straight line-arc-arc-arc-straight line parking original path planning. By performing parking path planning from the guide point to the parking target point, a foundation is laid for later optimization of the original path.

[0063] Furthermore, if Figure 3 As shown, the first straight line and the first arc, the third arc and the second straight line are optimized by clothoid transformation, and step S600 of the present application further includes:

[0064] Step S610: Obtain respective transition connection paths according to the first straight line and the first arc, and the third arc and the second straight line;

[0065] Step S620: obtaining a fixed curvature value;

[0066] Step S630: obtaining transition path curvatures according to the respective transition connection paths, and linearly increasing the transition path curvatures from zero to the fixed curvature value to obtain transition curves;

[0067] Step S640: smoothing the transition curve using a clothoid curve to determine a correction endpoint;

[0068] Step S650: adjusting the endpoint of the transition curve based on the corrected endpoint.

[0069] Specifically, since there is a sudden change in curvature at the connection point between the straight line and the arc in the original path planning, the turning can only be performed at a lower speed or in a stationary state during the parking process. First, the relevant information of the connection between the first straight line and the first arc, and the third arc and the second straight line path is obtained, and the corresponding connection paths are collected, wherein the curvatures of the first arc and the third arc are fixed values, and the curvature values ​​corresponding to the arcs are obtained. Based on the connection path between the straight line and the arc, the transition path of the optimized connection point is designed, and the original path connecting the straight line and the arc is converted into a relatively smooth transition curve, and the corresponding transition path curvature is obtained. The curvature of the filtered path is linearly increased from zero to the fixed curvature value, and the transition curve is smoothed by a clothoid curve, and the optimized connection point is corrected, and the corrected endpoint is determined. The optimized connection point is replaced by the corrected endpoint, and the endpoint of the transition curve is adjusted based on the corrected endpoint to obtain the optimized curvature continuous parking planning path. By optimizing the original planning path through the transformation of the clothoid curve, low-speed turning or turning in place when turning the direction can be effectively avoided.

[0070] Furthermore, to obtain a fixed curvature value, step S620 of the present application further includes:

[0071] Step S621: The curvature fixed value is Among them, Rmin is the minimum radius of the arc.

[0072] Specifically, the curvature of the first arc and the third arc is collected. The curvatures of the first arc and the third arc are fixed values, which can be expressed as Rmin is the minimum radius of the arc. Based on the above formula, the curvature of each arc is calculated. Since the transition path curvature increases linearly from zero to the fixed curvature value, the obtained fixed curvature value is the maximum curvature in the transition path curvature after the clothoid curve processing.

[0073] Furthermore, the transition curve is smoothed by using the clothoid curve to determine the correction endpoint, and step S640 of the present application further includes:

[0074] Step S641: According to the clothoid formula:

[0075]

[0076]

[0077]

[0078] Calculate the coordinates of any point on the clothoid curve and the tangent angle of any point;

[0079] Step S642: According to the clothoid formula, the offset between the transition curve endpoint and the correction endpoint is obtained, wherein the offset includes a lateral offset and a longitudinal offset. The lateral offset calculation formula is: n1 = x k -R min sinα2, the longitudinal offset calculation formula is: n2=y k -R min (1-cosα2), where α2 is the tangent angle of the first transition endpoint, and the first transition endpoint is the transition curve endpoint located on the first straight line or the second straight line;

[0080] Step S643: Determine the correction endpoint according to the lateral offset and the longitudinal offset of the transition curve endpoint.

[0081] Specifically, the transition curve is smoothed by using the clothoid curve, the optimized connection point is corrected, and the corrected endpoint is determined to replace the optimized connection point. According to the clothoid curve formula: To calculate the coordinates of any point on the clothoid curve (x K ,y K ), according to the formula To calculate the tangent angle ɑ2 of any point on the clothoid curve, where S k is the distance between the correction point and any point on the transition curve, C is the rate of change of curvature, R min The minimum radius of the arc.

[0082] Furthermore, according to the above clothoid curve formula, the offset between the transition curve endpoint and the correction endpoint is calculated, and the offset includes a lateral offset and a longitudinal offset. The lateral offset calculation formula is: n1 = x k -R min sinα2, where x k is the horizontal coordinate of the corresponding point on the curve, α2 is the tangent angle of the first transition endpoint, and the longitudinal offset calculation formula is: n2 = y k -R min (1-cosα2), wherein the value of n2 is negligible, the first transition endpoint is the transition curve endpoint located on the first straight line or the second straight line, the lateral offset and longitudinal offset distance of the transition curve endpoint are obtained by calculation, and the optimized connection point is correspondingly offset to determine the position of the modified endpoint. By performing corresponding smoothing processing through the clothoid curve, the obtained optimized parking path is more accurate and more in line with the habits.

[0083] Furthermore, step S641 of the present application also includes:

[0084] Step S6411: constraining the curvature of the clothoid curve by the average curvature change rate, wherein the constraint condition of the average curvature change rate is: Where Δs is the change in path curvature, Δl is the change in path length, and θ max is the equivalent maximum front wheel turning angle of the vehicle, L is the vehicle wheelbase, v is the vehicle speed, and α is the steering wheel speed.

[0085] Specifically, through the constraint condition of the average curvature change rate The curvature of the clothoid curve is constrained, and the average curvature refers to the average value of any two mutually perpendicular orthogonal curvatures on the clothoid curve. For example, a set of mutually perpendicular orthogonal curvatures K1 and K2, the average curvature of which can be expressed as K = (K1 + K2) / 2, where Δs is the change value of the path curvature, Δl is the change value of the path length, and θ max is the maximum equivalent front wheel turning angle of the vehicle, L is the wheelbase of the vehicle, v is the vehicle speed, and α is the steering wheel speed. By constraining the clothoid curvature, it is convenient to standardize the curvature of the finally determined circular arc path.

[0086] Furthermore, step S6411 of the present application also includes:

[0087] Step S64111: According to the constraint condition of the average curvature change rate, a sampling point sequence of the clothoid is calculated at a discrete interval of 0.1 m, wherein the sampling point sequence includes abscissa, ordinate, heading angle, and curvature;

[0088] Step S64112: flipping the discrete sampling point sequence horizontally and vertically, and translating it to the endpoint of the first transition curve to obtain the transition curve adjustment endpoint, and determine the adjustment transition path;

[0089] Step S64113: Smoothly optimize the straight line and curve connection segments in the original path planning according to the adjusted transition path to obtain the parking planning path.

[0090] Specifically, based on the constraint condition of the obtained average curvature change rate, with 0.1m as the sampling interval, the corresponding attributes such as the horizontal coordinate, vertical coordinate, heading angle and curvature of the clothoid curve sampling point are collected according to the path order, and a discrete sampling point sequence of the clothoid curve is obtained and stored. The obtained discrete clothoid curve sampling sequence is horizontally flipped and vertically flipped, and translated to the first transition curve endpoint, the first transition curve endpoint refers to the optimized connection point between the first straight line path and the first circular arc path, which is adjusted to the corresponding transition circular arc path, the optimized connection point between the second straight line path and the third circular arc path is vertically flipped and counterclockwise flipped, and then the corresponding transition path is obtained by reversing the clothoid curve sampling sequence, so as to obtain the transition curve adjustment endpoint of the second straight line path and the third circular arc path. Through the above adjustment, the adjusted transition path of the parking path can be obtained, and based on the adjusted transition path, the connection between the straight line path and the circular arc path of the original planned path is smoothly optimized, and the optimized path is the parking planned path. Through transformation based on the clothoid line, the original path is smoothly optimized, which effectively avoids turning on the spot or decelerating turning when there is no gear shift, improves the success rate of automatic parking in vertical parking spaces in narrow spaces, and enhances the intelligence level of the vehicle.

[0091] For example, Figure 4 As shown in the figure, the original path planning is marked. The parking path can be specifically described as a straight line-arc-arc-arc-straight line. Point S is the starting point, point A is the guide point, point B is the end point of the first path segment and also the starting point of the second segment, point C is the end point of the second path segment, point D is the end point of the third path segment, and point E is the path target point. According to the design method, the guide point A (x A ,y A ) is on the guide line, point B (x B ,y B ) is on the offset line after the parking space center line is offset to the left by Δl. Guide point A (x A ,y A ) is the width of the parking space l p 、Starting point S(x S ,y S) and the longitudinal distance Δy of the parking space edge line Δx=f(l p ,Δy). Δl is the parking space width l p 、Starting point S(x S ,y S ) and the longitudinal distance Δy from the parking space edge line Δl=g(l p ,Δy).

[0092] The original path planning is optimized for transition optimization of the connection points, such as Figure 5 As shown in the figure, it is the transition path between the first straight line path and the first arc path, and a rectangular coordinate system HXY is established, where x K ,y K are the horizontal and vertical coordinates of any point on the transition path. After the arc KI is smoothed by the clothoid curve, the endpoint I is corrected to the endpoint H. The transition path from point H to point K is designed based on the clothoid curve. The angle between the tangent of the arc at point K and the X-axis is a2.

[0093] Figure 6 For the optimized parking path planning, a rectangular coordinate system XOY is established based on the parking space, where point A and point D are the optimized connection points. Based on the flipping of the clothoid curve, a transition path with a starting point A1 and an end point A2 is obtained, and a transition path with a starting point D1 and an end point D2 is obtained. n1 represents the lateral offset from the corrected endpoint to the optimized connection point, n2 represents the longitudinal offset from the corrected endpoint to the optimized connection point, and d p , l p It is the horizontal and vertical width of the parking space.

[0094] In summary, the parking path planning method provided by this application has the following technical effects:

[0095] 1. The method provided in the present application obtains the parking space information and the current position coordinate point of the vehicle, and based on this, obtains the longitudinal distance between the vehicle and the parking space edge line and the parking space width, further determines the guide point coordinates and the offset of the end point of the first path segment, obtains the coordinates of the parking target point based on the coordinate system, and performs two-segment straight line and three-segment circular arc path planning through the current position coordinate point, the guide point coordinates, the offset of the end point of the first path segment, and the parking target point to obtain the original path planning, the original path planning is expressed as the first straight line-the first circular arc-the second circular arc-the third circular arc-the second straight line, and optimizes the first straight line and the first circular arc, and the third circular arc and the second straight line through the clothoid curve transformation to obtain the optimized parking planning path. By planning the parking path and performing corresponding optimization based on the clothoid curve, the vehicle can control the steering wheel angle when driving at a constant speed, and achieve the purpose of fully automatic parking in a narrow parking space, thereby improving the intelligence of parking.

[0096] 2. The three arc paths are obtained by calculating the coordinates of the guide point and the offset of the end point of the first path segment. The three arc paths are connected with the two straight line paths in sequence end to end to obtain the original path planning, which lays the foundation for the subsequent optimization of the original path. Corresponding optimization can be performed based on the original path.

[0097] 3. By optimizing the clothoid transformation between the first straight line and the first arc, and between the third arc and the second straight line, the transition curve is smoothed using the clothoid curve, and the correction endpoint is determined, the problem of only being able to turn at a low speed or turn on the spot when changing direction is effectively avoided.

[0098] Embodiment 2

[0099] Based on the same inventive concept as the parking path planning method in the above embodiment, Figure 7 As shown, the present application provides a parking path planning system, wherein the system includes:

[0100] A first obtaining unit 11, the first obtaining unit 11 is used to obtain parking space information and a current position coordinate point of the vehicle;

[0101] A second obtaining unit 12, the second obtaining unit 12 is used to obtain a longitudinal distance between the vehicle and a parking space edge line and a parking space width based on the current position coordinate point of the vehicle and the parking space information;

[0102] A first determining unit 13, the first determining unit 13 is used to determine the guide point coordinates and the offset of the end point of the first path segment according to the longitudinal distance between the vehicle and the parking space boundary line and the parking space width;

[0103] A third obtaining unit 14, the third obtaining unit 14 is used to obtain a parking target point;

[0104] A fourth obtaining unit 15, the fourth obtaining unit 15 is used to perform two-segment straight line and three-segment circular arc path planning according to the current position coordinate point, the guide point coordinate, the offset of the end point of the first path segment, and the parking target point, and obtain an original path planning, wherein the original path planning is a first straight line-a first circular arc-a second circular arc-a third circular arc-a second straight line;

[0105] The fifth obtaining unit 16 is used to perform clothoid transformation optimization between the first straight line and the first arc, and between the third arc and the second straight line to obtain a parking planning path.

[0106] Furthermore, the system further comprises:

[0107] A sixth obtaining unit, the sixth obtaining unit being used to obtain a preset granularity;

[0108] A seventh obtaining unit, the seventh obtaining unit is used to obtain a parking path set based on the preset granularity traversal guide point horizontal coordinate value range and the first path end point offset value range, wherein the parking path set is a parking path set according to different parking space widths l p , the parking path determined by the longitudinal distance Δy from the parking space edge line;

[0109] a second determining unit, the second determining unit being configured to determine, from the parking path set, a selected value of a horizontal coordinate of a guide point and a selected value of an offset of an end point of a first path segment according to a preset screening requirement that the parking space occupancy is minimal;

[0110] An eighth obtaining unit is used to obtain a value of the horizontal coordinate of the guide point, a value of the offset of the end point of the first path segment, and a value of the parking space width l. p , and the longitudinal distance Δy with the parking space edge line are fitted multiple times to obtain the horizontal coordinate function of the guide point and the offset function of the end point of the first path segment.

[0111] Furthermore, the system also includes:

[0112] A third determining unit, the third determining unit is used to determine a first straight line as a first path segment according to the current position coordinate point and the guide point coordinate point;

[0113] A ninth obtaining unit, the ninth obtaining unit is used to obtain, according to the guide point coordinates and the offset of the end point of the first path segment, the following formula:

[0114]

[0115] Get the first arc As the second path, A is the guide point, and the coordinates of the guide point are (x A ,y A ), B is the end point of the first path segment, and the coordinates of the end point of the first path segment are (x B ,y B ), Δl is the offset of the end point of the first arc path;

[0116] A tenth obtaining unit, wherein the tenth obtaining unit is used to obtain the following formula: Get the second arc As the third path, C is the end point of the second arc path;

[0117] An eleventh obtaining unit is used for obtaining the following equation:

[0118]

[0119]

[0120] Get the third arc As the fourth path, D is the end point of the third arc path;

[0121] a twelfth obtaining unit, the twelfth obtaining unit being used to obtain the second straight line as the fifth path segment according to the coordinates of the end point of the third path segment and the parking target point;

[0122] The thirteenth obtaining unit is used to obtain the original path planning by sequentially connecting the first path segment, the second path segment, the third path segment, the fourth path segment, and the fifth path segment.

[0123] Furthermore, the system further comprises:

[0124] a fourteenth obtaining unit, the fourteenth obtaining unit being used to obtain respective transition connection paths according to the first straight line and the first circular arc, and the third circular arc and the second straight line;

[0125] a fifteenth obtaining unit, the fifteenth obtaining unit being used to obtain a fixed curvature value;

[0126] A sixteenth obtaining unit, the sixteenth obtaining unit is used to obtain a transition path curvature according to each of the transition connection paths, and linearly increase the transition path curvature from zero to the fixed curvature value to obtain a transition curve;

[0127] a fourth determining unit, the fourth determining unit being used to smooth the transition curve using a clothoid curve to determine a correction endpoint;

[0128] A first adjustment unit is configured to perform endpoint adjustment on the transition curve based on the modified endpoint.

[0129] Furthermore, the system further comprises:

[0130] The first interpretation unit is used for the curvature fixed value Among them, Rmin is the minimum radius of the arc.

[0131] Furthermore, the system further comprises:

[0132] A seventeenth obtaining unit is used for obtaining the following according to the clothoid formula:

[0133]

[0134]

[0135]

[0136] Calculate the coordinates of any point on the clothoid curve and the tangent angle of any point;

[0137] An eighteenth obtaining unit is used to obtain the offset between the transition curve endpoint and the correction endpoint according to the clothoid formula, wherein the offset includes a lateral offset and a longitudinal offset, and the lateral offset calculation formula is: n1=x k -R min sinα2, the longitudinal offset calculation formula is: n2=y k -R min (1-cosα2), where α2 is the tangent angle of the first transition endpoint, and the first transition endpoint is the transition curve endpoint located on the first straight line or the second straight line;

[0138] A fifth determining unit, the fifth determining unit is used to determine the corrected endpoint according to the lateral offset and the longitudinal offset of the transition curve endpoint.

[0139] Furthermore, the system further comprises:

[0140] The first constraint unit is used to constrain the curvature of the clothoid curve by an average curvature change rate, wherein the constraint condition of the average curvature change rate is: Where Δs is the change in path curvature, Δl is the change in path length, and θ max is the equivalent maximum front wheel turning angle of the vehicle, L is the vehicle wheelbase, v is the vehicle speed, and α is the steering wheel speed.

[0141] Furthermore, the system further comprises:

[0142] A nineteenth obtaining unit, the nineteenth obtaining unit is used to obtain a sampling point sequence of the clothoid by calculating at discrete intervals of 0.1 m according to the constraint condition of the average curvature change rate, wherein the sampling point sequence includes a horizontal coordinate, a vertical coordinate, a heading angle, and a curvature;

[0143] A sixth determining unit, the sixth determining unit is used to horizontally flip and vertically flip the discrete sampling point sequence, and translate it to the first transition curve endpoint, obtain the transition curve adjustment endpoint, and determine the adjustment transition path;

[0144] The twentieth obtaining unit is used to smoothly optimize the straight line and curve connection segments in the original path planning according to the adjusted transition path to obtain the parking planning path.

[0145] Embodiment 3

[0146] Based on the same inventive concept as the parking path planning method in the aforementioned embodiment, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method in embodiment one is implemented.

[0147] Through the above detailed description of a parking path planning method, those skilled in the art can clearly understand a parking path planning method and system in this embodiment, so for the sake of brevity of the specification, it will not be described in detail here. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0148] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

[0149] Exemplary Electronic Devices

[0150] Reference below Figure 8 To describe the electronic device of the embodiment of the present application.

[0151] Based on the same inventive concept as a parking path planning method in the aforementioned embodiment, the present application also provides a parking path planning system, including: a processor, the processor is coupled to a memory, the memory is used to store a program, when the program is executed by the processor, the system executes the steps of the method described in embodiment one.

[0152] The electronic device 300 includes: a processor 302, a communication interface 303, and a memory 301. Optionally, the electronic device 300 may also include a bus architecture 304. The communication interface 303, the processor 302, and the memory 301 may be interconnected via the bus architecture 304; the bus architecture 304 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus architecture 304 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0153] The processor 302 may be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the present application.

[0154] The communication interface 303 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), wired access networks, etc.

[0155] The memory 301 may be a ROM or other types of static storage devices that can store static information and instructions, a RAM or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via the bus architecture 304. The memory may also be integrated with the processor.

[0156] The memory 301 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 302. The processor 302 is used to execute the computer-executable instructions stored in the memory 301, thereby realizing a parking path planning method provided in the above embodiment of the present application.

[0157] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0158] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0159] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0160] In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0161] In addition, the present application may repeat reference numerals and / or letters in different examples. This repetition is for the purpose of simplicity and clarity, and does not in itself indicate the relationship between the various embodiments and / or settings discussed.

[0162] It should also 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", "comprises" or any other variations thereof are intended to cover non-exclusive inclusions.

[0163] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles described in the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A parking path planning method, characterized in that: The method comprises: Get parking space information and vehicle current location coordinates; Based on the current position coordinate point of the vehicle and the parking space information, the longitudinal distance between the vehicle and the parking space edge line and the parking space width are obtained; Determine the guide point coordinates and the offset of the end point of the first path segment according to the longitudinal distance between the vehicle and the parking space edge line and the parking space width; Get the parking target point; According to the current position coordinate point, the guide point coordinate, the offset of the end point of the first path segment, and the parking target point, two straight lines and three arcs are planned to obtain an original path planning, wherein the original path planning is the first straight line-the first arc-the second arc-the third arc-the second straight line; Performing clothoid transformation optimization between the first straight line and the first arc, and between the third arc and the second straight line to obtain a parking planning path; Wherein, the method further comprises: Get the preset granularity; Based on the preset granularity traversal guide point horizontal coordinate value range and the first path end point offset value range, a parking path set is obtained, wherein the parking path set is based on different parking space widths l p , the parking path determined by the longitudinal distance Δy from the parking space edge line; According to the preset screening requirement of minimizing the parking space occupation, determining the selected value of the horizontal coordinate of the guide point and the selected value of the offset of the end point of the first segment of the path from the parking path set; Based on the selected value of the horizontal coordinate of the guide point, the selected value of the offset of the end point of the first path segment and the parking space width l p , and the longitudinal distance Δy with the parking space edge line are fitted multiple times to obtain the horizontal coordinate function of the guide point and the offset function of the end point of the first path segment.

2. The method according to claim 1, characterized in that The method of performing two straight line and three circular arc path planning according to the current position coordinate point, the guide point coordinate, the offset of the end point of the first path segment, and the parking target point to obtain the original path planning includes: Determine a first straight line as a first path segment according to the current position coordinate point and the guide point coordinate point; According to the guide point coordinates and the offset of the end point of the first path segment, the formula: Determine the first arc As the second path, A is the guide point, and the coordinates of the guide point are (x A ,y A ), B is the end point of the first path segment, and the coordinates of the end point of the first path segment are (x B ,y B ), Δl is the offset of the end point of the first arc path, and R is the arc radius; According to the formula: Get the second arc As the third path, C is the end point of the second arc path; According to the formula: Get the third arc As the fourth path, D is the end point of the third arc path; According to the coordinates of the end point of the third path segment and the parking target point, the second straight line is obtained as the fifth path segment; The original path planning is obtained by sequentially connecting the first path segment, the second path segment, the third path segment, the fourth path segment, and the fifth path segment.

3. The method according to claim 2, characterized in that Performing clothoid transformation optimization between the first straight line and the first circular arc, and between the third circular arc and the second straight line, comprises: Obtaining respective transition connection paths according to the first straight line and the first circular arc, and the third circular arc and the second straight line; Get the fixed value of curvature; Obtaining transition path curvatures according to the respective transition connection paths, and linearly increasing the transition path curvatures from zero to the fixed curvature value to obtain transition curves; Using a clothoid curve to smooth the transition curve and determine a correction endpoint; The transition curve is subjected to endpoint adjustment based on the modified endpoint.

4. The method according to claim 3, characterized in that The curvature fixed value is Among them, Rmin is the minimum radius of the arc.

5. The method according to claim 4, characterized in that The step of smoothing the transition curve using the clothoid curve to determine the correction endpoint includes: According to the clothoid formula: Calculate the coordinates of any point on the clothoid curve and the tangent angle of any point, where S k is the distance between the correction point and any point on the transition curve, and C is the curvature change rate; According to the clothoid formula, the offset between the transition curve endpoint and the correction endpoint is obtained, wherein the offset includes a lateral offset and a longitudinal offset. The lateral offset calculation formula is: n1 = x k -R min sinα2, the longitudinal offset calculation formula is: n2=y k -R min (1-cosα2), where α2 is the tangent angle of the first transition endpoint, and the first transition endpoint is the transition curve endpoint located on the first straight line or the second straight line; The correction endpoint is determined according to the lateral offset and the longitudinal offset of the transition curve endpoint.

6. The method according to claim 5, characterized in that The method further comprises: The curvature of the clothoid curve is constrained by the average curvature change rate, wherein the constraint condition of the average curvature change rate is: Where Δs is the change in path curvature, Δl is the change in path length, and θ max is the equivalent maximum front wheel turning angle of the vehicle, L is the vehicle wheelbase, v is the vehicle speed, and α is the steering wheel speed.

7. The method according to claim 6, characterized in that The method comprises: According to the constraint condition of the average curvature change rate, a sampling point sequence of the clothoid is calculated at discrete intervals of 0.1 m, wherein the sampling point sequence includes a horizontal coordinate, a vertical coordinate, a heading angle, and a curvature; The discrete sampling point sequence is flipped horizontally and vertically, and translated to the endpoint of the first transition curve to obtain the transition curve adjustment endpoint, and determine the adjustment transition path; The straight line and curve connection segments in the original path planning are smoothly optimized according to the adjusted transition path to obtain the parking planning path.

8. A parking path planning system, characterized in that: The system comprises: A first obtaining unit, the first obtaining unit is used to obtain parking space information and a coordinate point of a current position of the vehicle; A second obtaining unit, the second obtaining unit is used to obtain a longitudinal distance between the vehicle and a parking space boundary line and a parking space width based on the current position coordinate point of the vehicle and the parking space information; A first determining unit, the first determining unit is used to determine the guide point coordinates and the offset of the end point of the first path segment according to the longitudinal distance between the vehicle and the parking space boundary line and the parking space width; a third obtaining unit, the third obtaining unit being used to obtain a parking target point; a fourth obtaining unit, the fourth obtaining unit being used to perform two-segment straight line and three-segment circular arc path planning according to the current position coordinate point, the guide point coordinate, the offset of the end point of the first path segment, and the parking target point, and obtain an original path planning, wherein the original path planning is the first straight line-the first circular arc-the second circular arc-the third circular arc-the second straight line; a fifth obtaining unit, configured to perform clothoid transformation optimization between the first straight line and the first circular arc, and between the third circular arc and the second straight line to obtain a parking planning path; Wherein, the system further comprises: A sixth obtaining unit, the sixth obtaining unit being used to obtain a preset granularity; A seventh obtaining unit, the seventh obtaining unit is used to obtain a parking path set based on the preset granularity traversal guide point horizontal coordinate value range and the first path end point offset value range, wherein the parking path set is a parking path set according to different parking space widths l p , the parking path determined by the longitudinal distance Δy from the parking space edge line; a second determining unit, the second determining unit being configured to determine, from the parking path set, a selected value of a horizontal coordinate of a guide point and a selected value of an offset of an end point of a first path segment according to a preset screening requirement that the parking space occupancy is minimal; An eighth obtaining unit is used to obtain a value of the horizontal coordinate of the guide point, a value of the offset of the end point of the first path segment, and a value of the parking space width l. p , and the longitudinal distance Δy with the parking space edge line are fitted multiple times to obtain the horizontal coordinate function of the guide point and the offset function of the end point of the first path segment.

9. A parking path planning system, characterized in that: include: A processor, the processor is coupled to a memory, the memory is used to store a program, when the program is executed by the processor, the system is enabled to perform the steps of the method according to any one of claims 1 to 7.