Parking trajectory generation method, device, computer equipment and storage medium

By determining the planned path and split path of the parking area of ​​interest in the unmanned mining truck system, and performing speed planning based on the motion model, the problem of insufficient accuracy of the unmanned mining truck in the parking process of complex mining areas is solved, and the vehicle is realized accurate parking.

CN113670305BActive Publication Date: 2024-09-27CHANGSHA INTELLIGENT DRIVING INST CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010402570.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-13
Publication Date
2024-09-27
Estimated Expiration
2040-05-13

AI Technical Summary

Technical Problem

In mining areas with remote geographical locations and complex terrain, the unmanned mining truck system cannot accurately guide the vehicle to park in the parking space during the parking process.

Method used

By determining the planned path of the vehicle in the parking area of ​​interest, the path point information is obtained, the path points are traversed to determine the segmentation point, and the velocity planning strategy based on the motion model is used to perform speed planning on the segmentation path to generate the parking trajectory of the vehicle.

Benefits of technology

It improves the accuracy of vehicle parking, ensures that the vehicle can accurately park in the parking space, and enhances the parking capability of the unmanned mining truck system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113670305B
    Figure CN113670305B
Patent Text Reader

Abstract

The present application relates to a parking trajectory generation method, device, computer equipment and storage medium. The method includes: determining the planned path corresponding to each preset planning cycle of the vehicle in the parking area of ​​interest; obtaining the orientation angle of each path point in the planned path; when the angle difference between the orientation angle of the displacement vector of the current path point pointing to the next path point and the orientation angle of the current path point is greater than the preset angle difference, determining the current path point as a path segmentation point, and obtaining the segmentation path corresponding to the planned path; performing speed planning on each segmented path according to the speed planning strategy data based on the motion model and the initial motion data of the vehicle, and determining the speed information of the vehicle on the segmented path; determining the motion trajectory corresponding to each segment of the planned path according to the speed information and the path point; splicing each segment of the motion trajectory according to the current position to obtain the parking trajectory of the vehicle. The use of this method can improve the accuracy of the parking trajectory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of autonomous driving technology, and in particular to a parking trajectory generation method, device, computer equipment and storage medium. Background Art

[0002] With the development of autonomous driving technology, the application of autonomous driving technology has been gradually promoted, for example, unmanned vehicles driving on public roads and unmanned trucks in mines. In metal mining areas, mining trucks are an important type of transportation equipment in mining areas. A large amount of ores, equipment, materials, and personnel rely on the transportation of mining trucks. The unmanned mining truck system can improve the efficiency and productivity of mining, reduce labor costs, enhance the safety of mines, reduce work accidents, and manage the vehicles in mining areas in a unified manner.

[0003] However, in mining areas with remote locations and complex terrain, when unmanned mining trucks are parking, the unmanned mining truck system cannot guide the vehicle to park accurately in the parking space based on the generated parking trajectory. Summary of the invention

[0004] Based on this, it is necessary to provide a parking trajectory generation method, device, computer equipment and storage medium that can improve the accuracy of vehicle parking trajectory in response to the above technical problems.

[0005] A parking trajectory generation method, the method comprising:

[0006] Determine a planned path corresponding to each preset planning cycle of the vehicle in the parking area of ​​interest;

[0007] Acquire path point information of each path point in the planned path, wherein the path point information includes a direction angle of the path point;

[0008] Traversing each of the path points in the planned path, when the angle difference between the orientation angle of the displacement vector of the current path point pointing to the next path point and the orientation angle of the current path point is greater than a preset angle difference, determining the current path point as a path segmentation point, and obtaining a segmentation path corresponding to the planned path;

[0009] Acquiring initial motion data of the vehicle;

[0010] Performing speed planning on each of the segmented paths according to the speed planning strategy data based on the motion model and the initial motion data, and determining the speed information of the vehicle on each of the segmented paths;

[0011] Determine the motion trajectory of the vehicle corresponding to each segment of the segmented path according to the speed information and the path points on the segmented path;

[0012] The current position of the vehicle is obtained, and each segment of the motion trajectory is spliced ​​according to the current position to obtain the parking trajectory of the vehicle.

[0013] In one embodiment, the initial motion data includes the initial speed, initial acceleration and initial displacement of the vehicle; and the speed planning strategy data includes a first speed limit.

[0014] In one embodiment, performing speed planning on each of the segmented paths according to the speed planning strategy data based on the motion model and the initial motion data, and determining the speed information of the vehicle on each of the segmented paths comprises:

[0015] When the initial speed is equal to the first speed limit, obtaining corresponding first speed planning strategy data;

[0016] Speed ​​planning is performed on each of the divided paths according to the first speed planning strategy data to determine speed information of the vehicle on each of the divided paths.

[0017] In one embodiment, performing speed planning on each of the segmented paths according to the speed planning strategy data based on the motion model and the initial motion data, and determining the speed information of the vehicle on each of the segmented paths comprises:

[0018] When the initial speed is greater than the first speed limit, obtaining corresponding second speed planning strategy data;

[0019] Speed ​​planning is performed on each of the divided paths according to the second speed planning strategy data and the initial motion data to determine speed information of the vehicle on each of the divided paths.

[0020] In one embodiment, performing speed planning on each of the segmented paths according to the speed planning strategy data based on the motion model and the initial motion data, and determining the speed information of the vehicle on each of the segmented paths comprises:

[0021] When the initial speed is less than the first speed limit, obtaining corresponding third speed planning strategy data;

[0022] Speed ​​planning is performed on each of the divided paths according to the third speed planning strategy data and the initial motion data to determine speed information of the vehicle on each of the divided paths.

[0023] In one embodiment, performing speed planning on each of the segmented paths according to the first speed planning strategy data to determine the speed information of the vehicle on each of the segmented paths includes:

[0024] When the initial speed is equal to the first speed limit, the vehicle is decelerated from the initial acceleration to a preset acceleration at a preset deceleration, performs uniform acceleration motion at the preset acceleration, and obtains a first displacement when the vehicle speed is equal to a second speed limit;

[0025] When the difference between the first displacement and the second preset displacement is within a preset difference range, the vehicle is made to move at a uniform speed at the second speed limit, and speed information of the vehicle on each of the divided paths is determined;

[0026] When the difference between the first displacement and the second preset displacement is less than the minimum value of the preset difference range, obtaining first target intersection information of a motion curve of the vehicle decelerating from the initial acceleration to the maximum deceleration at a preset deceleration and a speed limit curve;

[0027] Determine the motion state of the vehicle on the segmented paths according to the first target intersection information, the second preset displacement, the time threshold, and the real-time length of the vehicle motion, and determine the speed information of the vehicle on each of the segmented paths;

[0028] When the difference between the first displacement and the second preset displacement is greater than the maximum value of the preset difference range, the uniform speed duration of the vehicle's uniform motion is determined according to the initial speed, initial acceleration, preset acceleration, first preset displacement and preset deceleration, the motion state of the vehicle in the divided paths is determined according to the uniform speed duration, and the speed information of the vehicle in each of the divided paths is determined.

[0029] In one embodiment, performing speed planning on each of the segmented paths according to the first speed planning strategy data and the initial motion data to determine the speed information of the vehicle on each of the segmented paths includes:

[0030] When the initial speed is greater than the first speed limit, the vehicle is decelerated from the initial acceleration to a preset acceleration at a preset deceleration, performs uniform acceleration motion at the preset acceleration, and obtains a second displacement when the vehicle speed is equal to the first speed limit;

[0031] When the difference between the second displacement and the second preset displacement is within the preset difference range, the vehicle moves at a uniform speed at the first speed limit, and speed information of the vehicle on each of the divided paths is determined;

[0032] When the difference between the second preset displacement and the second displacement is less than the minimum value of the preset difference, obtaining second target intersection information of the motion curve with the preset deceleration and the preset maximum deceleration as parameters and the speed limit curve;

[0033] Determine the motion state of the vehicle on the divided paths according to the second target intersection information, the first preset displacement, the second preset displacement and a time threshold, and determine the speed information of the vehicle on each of the divided paths;

[0034] When the difference between the second preset displacement and the second displacement is greater than the maximum value of the preset difference, the vehicle is made to decelerate at the first speed limit and then decelerate at a constant speed, so as to obtain the speed information of the vehicle in each segmented path.

[0035] In one embodiment, performing speed planning on each of the segmented paths according to the first speed planning strategy data and the initial motion data to determine the speed information of the vehicle on each of the segmented paths includes:

[0036] When the initial speed is less than the first speed limit, the vehicle is decelerated from the initial acceleration to a preset acceleration at a preset deceleration, performs uniform acceleration motion at the preset acceleration, and obtains a first displacement when the vehicle speed is equal to a second speed limit;

[0037] When the difference between the first displacement and the second preset displacement is within a preset difference range, the vehicle is made to move at a uniform speed at the second speed limit, and speed information of the vehicle on each of the divided paths is determined;

[0038] When the difference between the first displacement and the second preset displacement is less than the minimum value of the preset difference range, obtaining third target intersection information of a motion curve of the vehicle decelerating from the initial acceleration to the maximum deceleration at a preset deceleration and a speed limit curve;

[0039] Determine the motion state of the vehicle on the segmented paths according to the third target intersection information, the second preset displacement, the time threshold, and the real-time length of the vehicle motion, and determine the speed information of the vehicle on each of the segmented paths;

[0040] When the difference between the first displacement and the second preset displacement is greater than the maximum value of the preset difference range, obtaining the acceleration, speed and displacement of the vehicle after acceleration for a preset acceleration time;

[0041] Using the acceleration, velocity and displacement of the vehicle after acceleration for a preset acceleration time as the initial acceleration, initial velocity and initial displacement, decelerating the vehicle from the initial acceleration to a preset acceleration at a preset deceleration, performing uniform acceleration motion at the preset acceleration, and obtaining a third displacement when the vehicle speed is equal to the second speed limit;

[0042] The motion state of the vehicle on the divided paths is determined according to the third displacement and the second preset displacement, and the speed information of the vehicle on each of the divided paths is determined.

[0043] A parking trajectory generating device, the device comprising:

[0044] A path planning module, used to determine the planned path corresponding to each preset planning cycle of the vehicle in the parking area of ​​interest;

[0045] An acquisition module, used to acquire path point information of each path point in the planned path, wherein the path point information includes a direction angle of the path point;

[0046] A path segmentation module, configured to traverse each of the path points in the planned path, and when the angle difference between the orientation angle of the displacement vector of the current path point pointing to the next path point and the orientation angle of the current path point is greater than a preset angle difference, determine that the current path point is a path segmentation point, and obtain a segmented path corresponding to the planned path;

[0047] A speed planning module, used to obtain the initial motion data of the vehicle, perform speed planning on each of the segmented paths according to the speed planning strategy data based on the motion model and the initial motion data, and determine the speed information of the vehicle on each of the segmented paths;

[0048] A trajectory determination module, used to determine the motion trajectory of the vehicle corresponding to each segment of the planned path according to the speed information and the path points on the segmented path;

[0049] The trajectory merging module is used to obtain the current position of the vehicle, and splice the motion trajectory segments according to the current position to obtain the parking trajectory of the vehicle.

[0050] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0051] Determine a planned path corresponding to each preset planning cycle of the vehicle in the parking area of ​​interest;

[0052] Acquire path point information of each path point in the planned path, wherein the path point information includes a direction angle of the path point;

[0053] Traversing each of the path points in the planned path, when the angle difference between the orientation angle of the displacement vector of the current path point pointing to the next path point and the orientation angle of the current path point is greater than a preset angle difference, determining the current path point as a path segmentation point, and obtaining a segmentation path corresponding to the planned path;

[0054] Acquiring initial motion data of the vehicle;

[0055] Performing speed planning on each of the segmented paths according to the speed planning strategy data based on the motion model and the initial motion data, and determining the speed information of the vehicle on each of the segmented paths;

[0056] Determine the motion trajectory of the vehicle corresponding to each segment of the segmented path according to the speed information and the path points on the segmented path;

[0057] The current position of the vehicle is obtained, and each segment of the motion trajectory is spliced ​​according to the current position to obtain the parking trajectory of the vehicle.

[0058] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0059] Determine a planned path corresponding to each preset planning cycle of the vehicle in the parking area of ​​interest;

[0060] Acquire path point information of each path point in the planned path, wherein the path point information includes a direction angle of the path point;

[0061] Traversing each of the path points in the planned path, when the angle difference between the orientation angle of the displacement vector of the current path point pointing to the next path point and the orientation angle of the current path point is greater than a preset angle difference, determining the current path point as a path segmentation point, and obtaining a segmentation path corresponding to the planned path;

[0062] Acquiring initial motion data of the vehicle;

[0063] Performing speed planning on each of the segmented paths according to the speed planning strategy data based on the motion model and the initial motion data, and determining the speed information of the vehicle on each of the segmented paths;

[0064] Determine the motion trajectory of the vehicle corresponding to each segment of the segmented path according to the speed information and the path points on the segmented path;

[0065] The current position of the vehicle is obtained, and each segment of the motion trajectory is spliced ​​according to the current position to obtain the parking trajectory of the vehicle.

[0066] The above-mentioned parking trajectory generation method, device, computer equipment and storage medium determine the planned path corresponding to the vehicle in the parking area of ​​interest through a preset planning cycle, that is, the parking path of the vehicle is planned in real time; the planned path is segmented according to the orientation angle of each path point in the planned path, and the segmented path in the planned path is determined; the speed of the vehicle is planned on each segmented path according to the speed planning strategy data based on the motion model and the initial motion data of the vehicle, and the speed information corresponding to each path point on the segmented path is determined; the motion trajectory corresponding to each segment of the planned path is determined according to the speed information of each path point on the segmented path; and the motion trajectory of each segment is spliced ​​according to the current position of the vehicle to obtain the parking trajectory of the vehicle. That is, the parking path of the vehicle is segmented according to the orientation angle of the path point to obtain the segmented path corresponding to each preset planning cycle; the speed of each segmented path is planned according to the initial motion data and speed planning strategy data of the vehicle, and the speed information of the vehicle in each segmented path is determined; the parking trajectory of the vehicle is obtained by performing path planning and speed planning on the parking path in real time, and the vehicle is guided to park accurately according to the parking trajectory, thereby improving the accuracy of vehicle parking. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 is an internal structure diagram of a computer device in one embodiment;

[0068] Figure 2 Schematic diagram of a parking track generation method in one embodiment;

[0069] Figure 3 A schematic diagram of a parking area of ​​interest in one embodiment;

[0070] Figure 4 A schematic diagram of segmenting path points in one embodiment;

[0071] Figure 5 A schematic diagram of a speed limit curve for speed planning in one embodiment;

[0072] Figure 6 A schematic diagram of the steps of speed planning in one embodiment;

[0073] Figure 7 A schematic diagram of the steps of speed planning in another embodiment;

[0074] Figure 8 A schematic diagram of the steps of speed planning in another embodiment;

[0075] Fig. 9 A schematic diagram of a speed planning ladder-type speed limit mode in one embodiment;

[0076] Fig.10A schematic diagram of a speed planning ladder-type speed limit mode in another embodiment;

[0077] Fig.11 A schematic diagram of a speed planning ladder-type speed limit mode in another embodiment;

[0078] Fig.12 A schematic diagram of a speed planning ladder-type speed limit mode in another embodiment;

[0079] Fig.13 FIG. 4 is a structural block diagram of a parking track generating device in one embodiment. DETAILED DESCRIPTION

[0080] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0081] The parking trajectory generation method provided in this application can be applied to Figure 1 In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 1 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device, a navigation device and a sensor connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a parking trajectory generation method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0082] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0083] In one embodiment, Figure 2 As shown, a parking trajectory generation method is provided, and the method is applied to Figure 1 The terminal in is used as an example to illustrate, including the following steps:

[0084] Step 202: determining a planned path corresponding to each preset planning cycle of the vehicle in the parking area of ​​interest.

[0085] Among them, the preset planning cycle is a pre-set path planning cycle, and the planning cycle can be 0.1 seconds. The area of ​​interest determines the starting position and the end position of the vehicle according to the input data; and establishes the parking area of ​​interest of the vehicle according to the starting position and the end position. Among them, the input data includes vehicle model parameters, perception prediction information, navigation information, positioning information, relative map information and vehicle chassis information. The vehicle model parameters include steering wheel angle, corner angular velocity, vehicle wheelbase width, radius, etc.; perception prediction information refers to obstacles in the surrounding environment, such as obstacles such as stones in the mining area; navigation information refers to the global information of the vehicle's parking from the starting position to the end position; positioning information is the vehicle position information of navigation positioning; relative map information refers to the corresponding position information in the relative map according to the navigation information of the vehicle. The relative map of the vehicle in the mining area is obtained through the configuration of the road network map. The relative map (Real-time Relative Map) is based on the vehicle coordinate system, and its origin is located at the vehicle itself. The road network map of the mining area is obtained by installing navigation equipment (such as positioning equipment GPS equipment, laser radar, etc.) on the sprinkler truck. The sprinkler truck collects the driving trajectory of the sprinkler truck during operation, integrates the driving trajectory and the road surface information received by the perception sensor, and processes the recorded map information in an offline manner to obtain the road network map; optionally, when the sprinkler truck enters the road network again, it will be updated according to the changes in the environment and the road network map will be updated.

[0086] The parking area of ​​interest refers to the driving area consisting of the lane area and parking space that the vehicle drives from the current position to the parking space within the preset parking distance range. Figure 3 As shown, the dotted area is the area of ​​interest for vehicle parking; when the vehicle is within the preset parking distance range, a rectangular coordinate system is established based on the parking space, and the parking space area is a convex polygon in the counterclockwise direction. The polygon is composed of the upper left vertex A, the lower left vertex B, the lower right vertex C, and the upper right vertex D. The coordinate system follows the right-hand rule, with the origin being the upper left vertex A, the Y axis along the horizontal direction of the lane, and the X axis along the vertical direction of the lane. Extend a preset distance (for example, 15 meters) from the center of the upper left vertex and the upper right vertex to both ends of the longitudinal direction of the lane, and form a convex hull area based on the lane area in the relative map. This area is the parking region of interest (ROI).

[0087] Specifically, the current posture of the vehicle and the terminal posture of the vehicle in the parking space are obtained, and the coordinates of the current posture of the vehicle are used as the starting planning point. A collision-free and shortest target path for the vehicle is searched in the ROI area through the Hybird A Star and Reeds-Shepp curves; the planning path corresponding to each preset planning cycle is obtained from the target path. Among them, Hybird A Star is a grid-based search algorithm that takes into account the actual movement direction constraints of the object to ensure that the generated path is executable and continuous. When the vehicle turns at a fixed radius, the vehicle can move forward and backward during driving. The shortest parking path from the starting posture to the terminal posture is determined by the Reeds-Shepp curve.

[0088] Step 204, obtaining path point information of each path point in the planned path, where the path point information includes the orientation angle of the path point.

[0089] Among them, the coordinates of the waypoints are the coordinates in the relative map relative to the vehicle body coordinate system (FLU) of the mining truck; the waypoint information includes the position coordinates, orientation angle, discrete curvature value, curvature change rate and cumulative distance value relative to the starting planning point of the waypoint; the orientation angle refers to the radian angle of the waypoint based on the current vehicle body coordinate system.

[0090] Step 206, traverse each path point in the planned path. When the angle difference between the displacement vector of the current path point pointing to the next path point and the angle of the current path point is greater than the preset angle difference, determine that the current path point is a path segmentation point, and obtain the segmentation path corresponding to the planned path.

[0091] Specifically, each path point on the planned path is traversed. When the difference between the orientation angle of the displacement vector from the current path point to the next path point and the orientation angle of the current path point is greater than the preset angle difference, the current path point is determined as a path segmentation point, and all path segmentation points of the planned path are determined to obtain the segmentation path corresponding to the planned path. The preset angle difference can be 90 degrees, such as Figure 4 As shown, the difference between the orientation angle of the displacement vector of the current path point pointing to the next path point and the orientation angle of the current path point is greater than 90 degrees and less than 90 degrees. Optionally, the segmented path includes the path of the vehicle's forward gear position and the path of the reverse gear position. The path type of the vehicle's path can be determined according to the current position of the vehicle, and the vehicle control system is triggered to generate a control instruction according to the path type to control the vehicle to move forward or reverse on the corresponding path.

[0092] Step 208, obtaining initial motion data of the vehicle.

[0093] The initial motion data may include the initial velocity, initial acceleration, initial displacement, and initial jerk of the vehicle at the starting planning point, etc. The initial motion data may be displayed in the form of a velocity curve or an acceleration curve.

[0094] Step 210 , performing speed planning on each segmented path according to the speed planning strategy data based on the motion model and the initial motion data, and determining the speed information of the vehicle on each segmented path.

[0095] The speed planning strategy data includes the first speed limit, the second speed limit, the maximum acceleration, the maximum deceleration, the maximum jerk, the minimum jerk, the first preset displacement corresponding to the change of the first speed limit, the second preset displacement corresponding to the change of the vehicle speed to the second speed limit, and the speed limit curve, etc. The speed planning strategy data includes the first speed planning strategy data whose initial speed is equal to the first speed limit, the second speed planning strategy data whose initial speed is greater than the first speed limit, and the third speed planning strategy data whose initial speed is less than the first speed limit; each speed planning strategy data plans the speed on the segmented path according to the relationship between the initial speed of the vehicle and the first speed limit.

[0096] The speed limit curve may include a uniform speed limit mode (such as Figure 5 a) Step speed limit mode (such as Figure 5 b) Downhill speed limit mode (such as Figure 5 c) and ladder-type speed limit mode (such as Figure 5 d) and other modes. This application adopts but is not limited to the uniform speed limit mode and the ladder speed limit mode to plan the speed of the segmented path.

[0097] Specifically, the terminal obtains the initial speed of the vehicle, and determines the corresponding speed planning strategy data based on the motion model according to the relationship between the initial speed and the first speed limit; the relationship between the initial speed and the first speed limit includes three situations: the initial speed of the vehicle is greater than the first speed limit, the initial speed is less than the first speed limit, and the initial speed is equal to the first speed limit. When the initial speed of the vehicle is equal to the first speed limit, the first speed planning strategy data is used to perform speed planning on each segmented path, and the target speed planning method is determined from the first speed planning strategy data to obtain the speed information of the vehicle on each segmented path; when the initial speed of the vehicle is greater than the first speed limit, the second speed planning strategy data is used to perform speed planning on each segmented path, and the target speed planning method is determined from the second speed planning strategy data to obtain the speed information of the vehicle on each segmented path; when the initial speed is less than the first speed limit, the third speed planning strategy data is used to perform speed planning on each segmented path, and the target speed planning method is determined from the third speed planning strategy data to obtain the speed information of the vehicle on each segmented path.

[0098] Step 212, determining the motion trajectory of the vehicle corresponding to each segmented path according to the speed information and the path points on the segmented path.

[0099] Specifically, the path point corresponding to each cumulative distance value in the speed information is determined by interpolation, and the motion trajectory of the vehicle on each segmented path is obtained.

[0100] In one embodiment, when the curvature change value of the segmented path is greater than a preset curvature change value, the segmented path is optimized by a conjugate gradient smoothing algorithm so that the curvature change value is equal to the preset curvature change value, and an optimized segmented path is obtained, and the step of obtaining the path point information of each path point in the planned path is executed.

[0101] Specifically, path optimization includes path smoothing and speed smoothing. When the curvature change value of the segmented path is greater than the preset curvature change value, the speed curve and acceleration corresponding to the vehicle movement are discontinuous, and optimization will be performed according to the application requirements. The segmented path is optimized by the conjugate gradient smoothing algorithm so that the curvature change value is equal to the preset curvature change value, and the optimized segmented path is obtained. The step of obtaining the path point information of each path point in the planned path is executed, and an accurate parking trajectory is obtained by optimizing the path, guiding the vehicle to accurately reach the parking space according to the parking trajectory.

[0102] Step 214, obtaining the current position of the vehicle, and splicing each segment of the motion trajectory according to the current position to obtain the parking trajectory of the vehicle.

[0103] Specifically, the current position of the vehicle is obtained, the corresponding trajectory point of the current position in the previous motion trajectory is determined, and the motion trajectory is spliced ​​with the trajectory point as the starting planning point until the posture of the vehicle is the same as the posture of the end point, and the parking trajectory of the vehicle is obtained. The corresponding trajectory point can be a trajectory point at a preset time interval or a preset position according to the current position and the trajectory point.

[0104] In the above parking trajectory generation method, the planning path corresponding to the vehicle in the parking area of ​​interest is determined through a preset planning cycle, that is, the parking path of the vehicle is planned in real time; the planned path is segmented according to the orientation angle of each path point in the planned path, and the segmented path in the planned path is determined; the speed of the vehicle is planned on each segmented path according to the speed planning strategy data based on the motion model and the initial motion data of the vehicle, and the speed information corresponding to each path point on the segmented path is determined; the motion trajectory corresponding to each segment of the planned path is determined according to the speed information and the path point; and the motion trajectory of each segment is spliced ​​according to the current position of the vehicle to obtain the parking trajectory of the vehicle. That is, the parking path of the vehicle is segmented according to the orientation angle of the path point to obtain the segmented path corresponding to each preset planning cycle; the speed of each segmented path is planned according to the initial speed of the vehicle and the speed planning strategy data, and the speed information of the vehicle in each segmented path is determined; the parking trajectory of the vehicle is obtained by performing path planning and speed planning on the parking path in real time, and the vehicle is guided to park accurately according to the parking trajectory, thereby improving the accuracy of vehicle parking.

[0105] In one embodiment, Figure 6 As shown, the steps of performing speed planning for each segmented path according to the speed planning strategy data based on the motion model and the initial motion data and determining the speed information of the vehicle on each segmented path include:

[0106] Step 602: When the initial speed is equal to the first speed limit, obtain the corresponding first speed planning strategy data.

[0107] Step 604 , performing speed planning on each segmented path according to the first speed planning strategy data and the initial motion data, and determining speed information of the vehicle on the segmented path.

[0108] Specifically, when the initial speed is equal to the first speed limit, the vehicle is decelerated from the initial acceleration to the preset acceleration at a preset deceleration, uniformly accelerated at the preset acceleration, and the first displacement when the vehicle speed is equal to the second speed limit is obtained; when the difference between the first displacement and the second preset displacement is within a preset difference range, the vehicle is made to move uniformly at the second speed limit to obtain speed information of each segmented path.

[0109] Optionally, the preset deceleration is greater than or equal to the minimum jerk and less than or equal to the maximum jerk; when the initial speed v0 is equal to the first limit speed V const1 When the initial acceleration a0 is less than or equal to the preset acceleration a, the vehicle initial acceleration a0 is obtained. When a0≥0, set a0=0. const When a0=a const Otherwise, the vehicle is accelerated at a preset deceleration J dec Decelerate from initial acceleration a0 to preset acceleration aconst , with a preset acceleration a const Perform uniform acceleration motion and obtain the vehicle speed equal to the second speed limit V const2 The first displacement S at the time. The calculation formula of the preset acceleration can be expressed as:

[0110]

[0111] Among them, the preset acceleration a const is the vehicle's displacement from the first preset S th1 To the second preset displacement S th2 The speed in the interval is from the first speed limit V const1 Slow down to the second speed limit V const2 The maximum acceleration required; where V const1 >V const2 ≥0, S th1 <5 th2 When the first displacement S and the second preset displacement S th2 When the difference is within the preset difference range, that is, 0≤S th2 -S≤ε, the vehicle is driven at the second speed limit V const2 Perform uniform motion, speed planning is successful, and speed information of each segmentation path is obtained; where ε is a sufficiently small value, such as 10.

[0112] When the difference between the first displacement and the second preset displacement is less than the minimum value of the preset difference range, the first target intersection information of the motion curve of the vehicle decelerating from the initial acceleration to the maximum deceleration with the preset deceleration and the speed limit curve is obtained, and the first target intersection information includes the first intersection duration, the first intersection acceleration, the first intersection speed and the displacement; the motion state of the vehicle in the divided path is determined according to the target intersection information and the second preset displacement, the time threshold and the running time of the vehicle movement, and the speed information of each divided path is obtained.

[0113] Optionally, when the difference between the first displacement and the second preset displacement is less than the minimum value of the preset difference range, that is, S th2 -S<0, if the initial acceleration of the vehicle a0>0, then set a0=0; if the initial acceleration a0 is less than the maximum deceleration A dec When a0=A dec Otherwise, obtain the vehicle with a preset deceleration J dec Decelerate from initial acceleration a0 to maximum deceleration A dec The first target intersection information of the motion curve and the speed limit curve includes the first intersection time T3, the first intersection acceleration a(T3), the first intersection speed v(T s ) and the first intersection displacement s(T3), such as Figure 7 shown.

[0114] If s(T s )≥S th2 When the vehicle running time t>T3, the vehicle is made to move at a uniform speed at the second speed limit to obtain the speed information of each segmented path.

[0115] If s(r3)<S th2 , get the duration threshold T of the vehicle running time th , according to the running time t and the time threshold T th The motion state of the vehicle in the segmented path is determined by the time length T3, and the speed information of each segmented path is obtained. The expression of the time threshold can be:

[0116]

[0117] When t≤T3, the vehicle is made to move at a uniform speed on the divided path at the third speed limit in the uniform speed limit mode to obtain speed information on the divided path.

[0118] When T3<t≤T th When the vehicle adopts an acceleration a equal to a const The uniform acceleration motion model is used to decelerate the vehicle to V const2 ;

[0119] When t ≥ T th When the vehicle moves at a uniform speed on the segmented path at the second speed limit, the speed information of the vehicle on the segmented path is obtained.

[0120] When the difference between the first displacement and the second preset displacement is greater than the maximum value of the preset difference range, the uniform speed duration of the vehicle's uniform motion is determined according to the initial speed, initial acceleration, preset acceleration, first preset displacement and preset deceleration, and the motion state of the vehicle in the segmented path is determined according to the uniform speed duration to obtain the speed information of each segmented path.

[0121] Optionally, when the difference between the first displacement and the second preset displacement is greater than the maximum value of the preset difference range, that is, S th2 -S>ε, according to the initial velocity v0, initial acceleration a0, preset acceleration a const , the first preset displacement S th1 and preset deceleration J dec Determine the uniform time duration T1 of the uniform motion of the vehicle. The calculation expression for determining the uniform time duration T1 includes formula (1) and formula (2):

[0122]

[0123] Where, ΔT dec The acceleration a0 is the preset deceleration J dec Reduce to aconst The deceleration time, v dec The acceleration a0 is the preset deceleration J dec Reduce to a const The final velocity, S dec The vehicle acceleration a0 is set to the preset deceleration J dec Reduce to a const The distance travelled.

[0124] When the vehicle is moving at a constant speed, a0 = 0. According to formula (1), S dec Expression and v dec The expression is:

[0125]

[0126] According to formula (1) and formula (2), the expression of vehicle running time t is obtained: The displacement S of the vehicle in uniform motion th0 for:

[0127]

[0128] When the displacement S of the vehicle is moving at a constant speed th0 When the difference from the initial displacement S0 is greater than or equal to zero, that is, S th0 -S0≥0, the vehicle moves at a constant speed from S0 to S th0 The uniform speed duration T1 is: T1=(S th0 -S0) / v0, such as Figure 8 shown.

[0129] When the vehicle's running time t is less than the uniform speed time T1, that is, t≤T1, the vehicle moves at the first speed limit V const1 Move at a uniform speed; when the vehicle's running time t satisfies T1<t≤T1+ΔT dec When the vehicle's running time t satisfies t>T1+ΔT dec When the vehicle has an acceleration a equal to a const The uniform acceleration motion model is used to decelerate the vehicle to V const2 When the vehicle is at V const2 Do steady-state motion.

[0130] In this embodiment, in the speed planning method for performing speed planning for each segmented path based on the speed planning strategy data of the motion model and the initial motion data, when the initial speed of the vehicle is equal to the first speed limit, the motion trajectory of the vehicle in each segmented path is planned according to the initial acceleration, the preset acceleration, the second preset displacement, the preset deceleration, the maximum deceleration, the time threshold and the limiting curve, the speed of the vehicle in the parking trajectory is determined, the vehicle is guided to travel on each segmented path, the accuracy of the vehicle parking trajectory is improved, the data processing time of the terminal is reduced, and the processing performance of the terminal processor is improved.

[0131] In another embodiment, Fig. 9 As shown, the steps of performing speed planning for each segmented path according to the speed planning strategy data based on the motion model and the initial motion data and determining the speed information of the vehicle on each segmented path include:

[0132] Step 902: when the initial speed is greater than the first speed limit, obtain corresponding second speed planning strategy data.

[0133] Step 904 , performing speed planning on each segmented path according to the second speed planning strategy data and the initial motion data, and determining speed information of each segmented path.

[0134] Specifically, when the initial speed is greater than the first speed limit, the vehicle is decelerated from the initial acceleration to the preset acceleration at a preset deceleration, uniformly accelerated at the preset acceleration, and the second displacement when the vehicle speed is equal to the first speed limit is obtained. When the difference between the second displacement and the second preset displacement is within a preset difference range, the vehicle moves uniformly at the first speed limit to obtain speed information of each segmented path.

[0135] Optionally, the preset deceleration is greater than or equal to the minimum jerk and less than or equal to the maximum jerk; when v0>V const1 When a0≥0, let a0=0; if a0≤a const , let a0=a const Otherwise, the vehicle is accelerated at a preset deceleration J dec Decelerate from initial acceleration a0 to preset acceleration a const , with a preset acceleration a const Perform uniform acceleration motion and obtain the vehicle speed equal to the first speed limit V const1 The second displacement S at this time is recorded, and the target intersection information between the curve and the speed limit curve, that is, the intersection information of the last intersection, is also recorded. The intersection information includes the intersection duration T3, intersection displacement s(T3), intersection velocity v(T3) and intersection acceleration a(T3).

[0136] When the second displacement satisfies 0≤S th2 -S≤ε, the vehicle continues at Vconst1 Perform uniform motion and obtain the vehicle's speed information, which means the planning is successful.

[0137] When the difference between the second preset displacement and the second displacement is less than the minimum value of the preset difference, the second target intersection information of the motion curve with the preset deceleration and the preset maximum deceleration as parameters and the speed limit curve is obtained. The motion state of the vehicle in the divided path is determined according to the second target intersection information, the first preset displacement, the second preset displacement and the time threshold, and the speed information of each divided path is obtained.

[0138] Optionally, when the second displacement satisfies S th2 -S<0, determine the initial acceleration of the vehicle. If a0>0, then: let a0=0; if a0<A dec , then: let a0=A dec Otherwise, obtain the vehicle with a preset deceleration J dec Decelerate from initial acceleration a0 to maximum deceleration A dec The second target intersection point information of the motion curve and the speed limit curve includes the duration T3, acceleration a(T3), speed v(T3) and displacement s(T3), such as Fig.10 As shown. If the deceleration J dec Decelerate from initial acceleration a0 to maximum deceleration A dec If there is no intersection between the motion curve and the speed limit curve, an error is recorded.

[0139] When the displacement s(T3) in the target intersection information ≥ S th2 , that is, when t>T3, the vehicle adopts a uniform speed v=V const2 The motion model moves at a uniform speed. At this time, the vehicle speed planning is successful and the vehicle speed information is obtained.

[0140] When S th1 ≤s(T3)<S th2 , get the duration threshold T of the vehicle running time th , according to the running time t and the time threshold T th The motion state of the vehicle in the segmented path is determined by the time length T3, and the speed information of each segmented path is obtained. The expression of the time threshold can be:

[0141]

[0142] When t≤T3, the vehicle is driven at the third speed limit v in the uniform speed limit mode. const Perform uniform motion on the segmented path to obtain the speed information of the vehicle on the segmented path.

[0143] When T3<t≤T th When the vehicle adopts an acceleration a equal to a constThe uniform acceleration motion model is used to decelerate the vehicle to V const2 .

[0144] When t ≥ T th When the vehicle moves at a uniform speed on the segmented path at the second speed limit, the speed information of the vehicle on the segmented path is obtained.

[0145] When s(T3)<S th1 , then: Let v(T3) = V const1 When the difference between the second preset displacement and the second displacement is greater than the maximum value of the preset difference, the vehicle is caused to perform a deceleration motion at a first limited speed and then a deceleration motion at a constant speed, so as to obtain the speed information of the vehicle in each divided path.

[0146] When the difference between the second preset displacement and the second displacement is greater than the maximum value of the preset difference, the vehicle is made to perform deceleration motion at the first limited speed and then perform deceleration motion at a constant speed again, so as to obtain the speed information of the vehicle in each segmented path.

[0147] Optionally, when the difference between the second preset displacement and the second displacement is greater than the maximum value of the preset difference, the vehicle moves at Fig.11 The ladder speed limit mode shown in a is used for speed planning. If the running time of the vehicle is t≤T3, the vehicle is made to move at a uniform speed on the split path at the third speed limit in the uniform speed limit mode to obtain the speed information of the vehicle on the split path.

[0148] When t>T3, a(T3), v(T3), s(T3) are the initial states of the vehicle. Fig.11 The ladder-type speed limit mode shown in b performs speed planning on each segmented path according to the first speed planning strategy data and the initial motion data to determine the speed information of the vehicle on the segmented path.

[0149] In this embodiment, in the speed planning method for performing speed planning for each segmented path based on the speed planning strategy data of the motion model and the initial motion data, when the initial speed of the vehicle is greater than the first speed limit, the motion trajectory of the vehicle in each segmented path is planned according to the initial acceleration, the preset acceleration, the first preset displacement, the second preset displacement, the preset deceleration, the maximum deceleration, the time threshold and the limiting curve, the speed of the vehicle in the parking trajectory is determined, the vehicle is guided to travel on each segmented path, the accuracy of the vehicle parking trajectory is improved, the data processing time of the terminal is reduced, and the processing performance of the terminal processor is improved.

[0150] In another embodiment, Fig.12 As shown, the steps of performing speed planning for each segmented path according to the speed planning strategy data based on the motion model and the initial motion data and determining the speed information of the vehicle on each segmented path include:

[0151] Step 1210: When the initial speed is less than the first speed limit, obtain corresponding third speed planning strategy data.

[0152] Step 1212: Perform speed planning on each segmented path according to the third speed planning strategy data and the initial motion data to determine the speed information of the vehicle on the segmented path.

[0153] Specifically, when the initial speed is less than the first speed limit, the vehicle is decelerated from the initial acceleration to the preset acceleration at a preset deceleration, uniformly accelerated at the preset acceleration, and a first displacement is obtained when the vehicle speed is equal to the second speed limit; when the difference between the first displacement and the second preset displacement is within a preset difference range, the vehicle is made to move uniformly at the second speed limit to obtain speed information of each segmented path.

[0154] Optionally, when the initial speed is equal to the first speed limit, the initial acceleration a0 of the vehicle is obtained. If a0 ≥ 0, a0 = 0; if the initial acceleration a0 is less than or equal to the preset acceleration a const When a0=a const Otherwise, the vehicle is accelerated at a preset deceleration J dec Decelerate from initial acceleration a0 to preset acceleration a const , with a preset acceleration a const Perform uniform acceleration motion and obtain the vehicle speed equal to the second speed limit V const2 When the first displacement S is equal to the second preset displacement S th2 When the difference is within the preset difference range, that is, 0≤S th2 -S≤ε, the vehicle is driven at the second speed limit V const2 Perform uniform motion to obtain the speed information of the vehicle on the segmented path.

[0155] When the difference between the first displacement and the second preset displacement is less than the minimum value of the preset difference range, the third target intersection information of the motion curve of the vehicle decelerating from the initial acceleration to the maximum deceleration with the preset deceleration and the speed limit curve is obtained, and the third target intersection information includes the third intersection duration, the third intersection acceleration, the third intersection speed and the third intersection displacement; the motion state of the vehicle in the divided path is determined according to the third target intersection information and the second preset displacement, the time threshold and the real time length of the vehicle movement, and the speed information of each divided path is obtained.

[0156] Optionally, when the difference between the first displacement and the second preset displacement is less than the minimum value of the preset difference range, that is, S th2 -S<0, the speed planning of the segmented path is performed according to the speed planning strategy data in which the difference between the first displacement and the second preset displacement in the first speed planning strategy data is less than the minimum value of the preset difference range, which will not be elaborated here.

[0157] When the difference between the first displacement and the second preset displacement is greater than the maximum value of the preset difference range, the acceleration, speed and displacement of the vehicle after acceleration for the preset acceleration time are obtained.

[0158] Optionally, when S th2 - When S>ε, the vehicle needs to accelerate first and then decelerate. Get the preset acceleration time T1 of the vehicle. If the vehicle acceleration a0 is greater than the maximum acceleration A acc When a0=A acc Otherwise, the vehicle moves at a constant Jerk = J acc Acceleration, where the acceleration limit is A acc , the speed limit is V const1 ; After the vehicle accelerates by T1, the acceleration a(T1), speed v(T1) and displacement s(T1) of the vehicle after acceleration for a preset acceleration time are obtained.

[0159] The acceleration, velocity and displacement of the vehicle after acceleration for a preset acceleration time are used as the initial acceleration, initial velocity and initial displacement, the vehicle is decelerated from the initial acceleration to the preset acceleration at a preset deceleration, uniformly accelerated at the preset acceleration, and the third displacement is obtained when the vehicle speed is equal to the second speed limit. The motion state of the vehicle in the segmented path is determined according to the third displacement and the second preset displacement, and the velocity information of each segmented path is obtained.

[0160] Optionally, the acceleration a(T1), the velocity v(T1) and the displacement s(T1) are used as the initial acceleration, initial velocity and initial displacement of the vehicle, so that the vehicle is accelerated at a preset deceleration J dec Decelerate from initial acceleration a(T1) to preset acceleration a const , with a preset acceleration a const Perform uniform acceleration motion and obtain the vehicle speed equal to the second speed limit V const2 The third displacement S at .

[0161] When 0≤S th2 -S≤ε, the vehicle continues at V const2 Perform uniform motion, which means that the speed planning is successful and the vehicle's speed information is obtained.

[0162] When S th2 - When S>ε, execute T1=t i +time_step, where t i The above steps are performed every time interval, that is, time_step (which can be 0.1 seconds), and the speed information of the vehicle on the segmented path is obtained.

[0163] When S th2When -S<0, the calculation result of the previous step is taken as the output result of this mode, and the mode ends, and the output result is used as the speed information of the vehicle on the divided path.

[0164] In this embodiment, in the speed planning method for performing speed planning for each segmented path based on the speed planning strategy data of the motion model and the initial motion data, when the initial speed of the vehicle is less than the first speed limit, the motion trajectory of the vehicle in each segmented path is planned according to the initial acceleration, the preset acceleration, the first preset displacement, the second preset displacement, the preset deceleration, the maximum deceleration, the time threshold and the limiting curve, the speed of the vehicle in the parking trajectory is determined, the vehicle is guided to travel on each segmented path, the accuracy of the vehicle parking trajectory is improved, the data processing time of the terminal is reduced, and the processing performance of the terminal processor is improved.

[0165] It should be understood that although Figure 2 , Figure 6 , Fig. 9 and Fig.12 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 , Figure 6 , Fig. 9 and Fig.12 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0166] In one embodiment, Fig.13 As shown, a parking trajectory generation device is provided, including: a path planning module 1302, an acquisition module 1304, a path segmentation module 1306, a speed planning module 1308, a trajectory determination module 1310 and a trajectory merging module 1312, wherein:

[0167] The path planning module 1302 is used to determine the planned path corresponding to each preset planning cycle of the vehicle in the parking area of ​​interest.

[0168] The acquisition module 1304 is used to acquire the path point information of each path point in the planned path, where the path point information includes the orientation angle of the path point.

[0169] The traversal module 1306 is used to traverse each path point in the planned path. When the angle difference between the displacement vector of the current path point pointing to the next path point and the angle of the current path point is greater than a preset angle difference, the current path point is determined to be a path segmentation point, and the segmentation path corresponding to the planned path is obtained.

[0170] The speed planning module 1308 is used to obtain the initial motion data of the vehicle, perform speed planning on each segmented path according to the speed planning strategy data based on the motion model and the initial motion data, and determine the speed information of the vehicle on each segmented path.

[0171] The trajectory determination module 1310 is used to determine the motion trajectory of the vehicle corresponding to each segment of the planned path according to the speed information and the segmented path.

[0172] The track splicing module 1312 is used to obtain the current position of the vehicle, and splice the motion track according to the current position to obtain the parking track of the vehicle.

[0173] In the above parking trajectory generating device, the planning path corresponding to the vehicle in the parking area of ​​interest is determined by a preset planning cycle, that is, the parking path of the vehicle is planned in real time; the planned path is segmented according to the orientation angle of each path point in the planned path, and the segmented path in the planned path is determined; the speed of the vehicle is planned on each segmented path according to the speed planning strategy data based on the motion model and the initial motion data of the vehicle, and the speed information corresponding to each path point on the segmented path is determined; the motion trajectory corresponding to each segment of the planned path is determined according to the speed information and the path point; and the motion trajectory of each segment is spliced ​​according to the current position of the vehicle to obtain the parking trajectory of the vehicle. That is, the parking path of the vehicle is segmented according to the orientation angle of the path point to obtain the segmented path corresponding to each preset planning cycle; the speed of each segmented path is planned according to the initial speed of the vehicle and the speed planning strategy data, and the speed information of the vehicle in each segmented path is determined; the parking trajectory of the vehicle is obtained by performing path planning and speed planning on the parking path in real time, and the vehicle is guided to park accurately according to the parking trajectory, thereby improving the accuracy of vehicle parking.

[0174] In another embodiment, in addition to the path planning module 1302, the acquisition module 1304, the traversal module 1306, the speed planning module 1308, the trajectory determination module 1310 and the trajectory splicing module 1312, it also includes: an area establishment module and a path optimization module, wherein:

[0175] The area establishment module is used to determine the starting position and the end position of the vehicle based on input data; the input data includes vehicle model parameters, perception prediction information, navigation information, positioning information, relative map information and vehicle chassis information; and establish the parking area of ​​interest of the vehicle based on the starting position and the end position.

[0176] In one embodiment, the trajectory determination module is also used to obtain the current position of the vehicle; determine the trajectory point corresponding to the current position in the previous motion trajectory, and splice the motion trajectory according to the current position and the trajectory point until the vehicle's posture is the same as the terminal posture, thereby obtaining the parking trajectory of the vehicle.

[0177] In one embodiment, the speed planning module is further configured to obtain corresponding first speed planning strategy data when the initial speed is equal to the first speed limit.

[0178] Speed ​​planning is performed on each segmented path according to the first speed planning strategy data and the initial motion data to determine speed information of the vehicle on each segmented path.

[0179] In one embodiment, the speed planning module is also used to obtain corresponding second speed planning strategy data when the initial speed is greater than the first speed limit; perform speed planning on each segmented path according to the second speed planning strategy data and the initial motion data, and determine the speed information of the vehicle on each segmented path.

[0180] In one embodiment, the speed planning module is also used to obtain corresponding third speed planning strategy data when the initial speed is less than the first speed limit; perform speed planning on each segmented path according to the third speed planning strategy data and the initial motion data, and determine the speed information of the vehicle on each segmented path.

[0181] In one embodiment, the speed planning module is also used to decelerate the vehicle from the initial acceleration to the preset acceleration at a preset deceleration when the initial speed is equal to the first limit speed, perform uniform acceleration motion at the preset acceleration, and obtain a first displacement when the vehicle speed is equal to the second limit speed.

[0182] When the difference between the first displacement and the second preset displacement is within the preset difference range, the vehicle is made to move at a uniform speed at the second limit speed, and the speed information of the vehicle on each segmented path is determined.

[0183] When the difference between the first displacement and the second preset displacement is less than the minimum value of the preset difference range, first target intersection information of a motion curve of the vehicle decelerating from an initial acceleration to a maximum deceleration at a preset deceleration and a speed limit curve is obtained.

[0184] The motion state of the vehicle in the divided paths is determined according to the first target intersection information, the second preset displacement, the time threshold, and the real-time length of the vehicle movement, and the speed information of the vehicle in each divided path is determined.

[0185] When the difference between the first displacement and the second preset displacement is greater than the maximum value of the preset difference range, the uniform speed duration of the vehicle's uniform motion is determined according to the initial speed, initial acceleration, preset acceleration, first preset displacement and preset deceleration, the motion state of the vehicle in the divided path is determined according to the uniform speed duration, and the speed information of the vehicle in each divided path is determined.

[0186] In one embodiment, the speed planning module is also used to decelerate the vehicle from the initial acceleration to the preset acceleration at a preset deceleration when the initial speed is greater than the first limit speed, perform uniform acceleration motion at the preset acceleration, and obtain a second displacement when the vehicle speed is equal to the first limit speed.

[0187] When the difference between the second displacement and the second preset displacement is within the preset difference range, the vehicle moves at a uniform speed at the first limit speed, and the speed information of the vehicle on each segmented path is determined;

[0188] When the difference between the second preset displacement and the second displacement is less than the minimum value of the preset difference, the second target intersection information of the motion curve with the preset deceleration and the preset maximum deceleration as parameters and the speed limit curve is obtained; the motion state of the vehicle in the divided path is determined according to the second target intersection information, the first preset displacement, the second preset displacement and the time threshold, and the speed information of the vehicle in each divided path is determined.

[0189] When the difference between the second preset displacement and the second displacement is greater than the maximum value of the preset difference, the vehicle is made to perform deceleration motion at the first limited speed and then perform deceleration motion at a constant speed again, so as to obtain the speed information of the vehicle in each segmented path.

[0190] In one embodiment, the speed planning module is also used to decelerate the vehicle from the initial acceleration to the preset acceleration at a preset deceleration when the initial speed is less than the first limit speed, perform uniform acceleration motion at the preset acceleration, and obtain a first displacement when the vehicle speed is equal to the second limit speed.

[0191] When the difference between the first displacement and the second preset displacement is within the preset difference range, the vehicle is made to move at a uniform speed at the second limit speed, and the speed information of the vehicle on each segmented path is determined.

[0192] When the difference between the first displacement and the second preset displacement is less than the minimum value of the preset difference range, third target intersection information of a motion curve of the vehicle decelerating from an initial acceleration to a maximum deceleration at a preset deceleration and the speed limit curve is obtained.

[0193] The motion state of the vehicle on the divided paths is determined according to the third target intersection information, the second preset displacement, the time threshold, and the duration of the vehicle's motion, and the speed information of the vehicle on each divided path is determined.

[0194] When the difference between the first displacement and the second preset displacement is greater than the maximum value of the preset difference range, the acceleration, speed and displacement of the vehicle after acceleration for the preset acceleration time are obtained.

[0195] The acceleration, velocity and displacement of the vehicle after acceleration for a preset acceleration time are used as the initial acceleration, initial velocity and initial displacement, the vehicle is decelerated from the initial acceleration to the preset acceleration at a preset deceleration, the vehicle performs uniform acceleration motion at the preset acceleration, and the third displacement is obtained when the vehicle speed is equal to the second speed limit.

[0196] The motion state of the vehicle in the divided paths is determined according to the third displacement and the second preset displacement, and the speed information of the vehicle in each divided path is determined.

[0197] The path optimization module is used to optimize the segmentation path through a conjugate gradient smoothing algorithm when the curvature change value of the segmentation path is greater than a preset curvature change value, so that the curvature change value is equal to the preset curvature change value, thereby obtaining an optimized segmentation path.

[0198] In the above-mentioned parking trajectory generating device, the starting position and terminal position of the vehicle are determined by establishing a good relative map and input data, and the parking area of ​​interest is established, and the corresponding planning path of the vehicle in the parking area of ​​interest for each preset planning cycle is determined. According to the orientation angle of the path point in the path, the segmentation path points in the planned path are determined, and the segmentation is performed according to the planned path to obtain the segmented path; the speed planning is performed on each segmented path according to the speed planning strategy data based on the motion model and the initial motion data of the vehicle to obtain the speed curve and acceleration curve of the vehicle in the segmented path; the motion trajectory corresponding to the planned path is obtained according to the speed curve, the acceleration curve and the path point; according to the current position of the vehicle, the corresponding trajectory point in the previous motion path is determined as the starting planning point for trajectory splicing, until the posture of the vehicle is the same as the posture of the terminal, and the parking trajectory of the vehicle from the starting posture to the terminal posture is obtained; the vehicle is guided to park accurately through the parking trajectory.

[0199] For the specific definition of the parking trajectory generation device, please refer to the definition of the parking trajectory generation method above, which will not be repeated here. Each module in the above parking trajectory generation device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0200] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0201] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0202] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0203] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0204] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A parking trajectory generation method, characterized in that: The method comprises: Determine a planning path corresponding to each preset planning cycle of the vehicle in a parking area of ​​interest; the parking area of ​​interest refers to: within a preset parking distance range, a lane area where the vehicle travels from a current posture to a parking space and a driving area composed of the parking space; Acquire path point information of each path point in the planned path, wherein the path point information includes a direction angle of the path point; Traversing each of the path points in the planned path, when the angle difference between the orientation angle of the displacement vector of the current path point pointing to the next path point and the orientation angle of the current path point is greater than a preset angle difference, determining the current path point as a path segmentation point, and obtaining a segmentation path corresponding to the planned path; Acquiring initial motion data of the vehicle; Performing speed planning on each of the segmented paths according to the speed planning strategy data based on the motion model and the initial motion data, and determining the speed information of the vehicle on each of the segmented paths; the speed planning strategy data includes: first speed planning strategy data when the initial speed of the vehicle is equal to the first speed limit, second speed planning strategy data when the initial speed of the vehicle is greater than the first speed limit, and third speed planning strategy data when the initial speed of the vehicle is less than the first speed limit; Determine the motion trajectory of the vehicle corresponding to each segment of the segmented path according to the speed information and the path points on the segmented path; The current position of the vehicle is obtained, and each segment of the motion trajectory is spliced ​​according to the current position to obtain the parking trajectory of the vehicle.

2. The method according to claim 1, characterized in that The initial motion data includes the initial speed, initial acceleration and initial displacement of the vehicle; the speed planning strategy data includes a first speed limit.

3. The method according to claim 2, characterized in that The performing speed planning on each of the segmented paths according to the speed planning strategy data based on the motion model and the initial motion data, and determining the speed information of the vehicle on each of the segmented paths comprises: When the initial speed is equal to the first speed limit, obtaining corresponding first speed planning strategy data; Speed ​​planning is performed on each of the divided paths according to the first speed planning strategy data and the initial motion data to determine speed information of the vehicle on each of the divided paths.

4. The method according to claim 2, characterized in that: The performing speed planning on each of the segmented paths according to the speed planning strategy data based on the motion model and the initial motion data, and determining the speed information of the vehicle on each of the segmented paths comprises: When the initial speed is greater than the first speed limit, obtaining corresponding second speed planning strategy data; Speed ​​planning is performed on each of the divided paths according to the second speed planning strategy data and the initial motion data to determine speed information of the vehicle on each of the divided paths.

5. The method according to claim 2, characterized in that: The performing speed planning on each of the segmented paths according to the speed planning strategy data based on the motion model and the initial motion data, and determining the speed information of the vehicle on each of the segmented paths comprises: When the initial speed is less than the first speed limit, obtaining corresponding third speed planning strategy data; Speed ​​planning is performed on each of the divided paths according to the third speed planning strategy data and the initial motion data to determine speed information of the vehicle on each of the divided paths.

6. The method according to claim 3, characterized in that The performing speed planning on each of the segmented paths according to the first speed planning strategy data and the initial motion data to determine the speed information of the vehicle on each of the segmented paths comprises: When the initial speed is equal to the first speed limit, the vehicle is decelerated from the initial acceleration to a preset acceleration at a preset deceleration, performs uniform acceleration motion at the preset acceleration, and obtains a first displacement when the vehicle speed is equal to a second speed limit; When the difference between the first displacement and the second preset displacement is within a preset difference range, the vehicle is made to move at a uniform speed at the second speed limit, and speed information of the vehicle on each of the divided paths is determined; When the difference between the first displacement and the second preset displacement is less than the minimum value of the preset difference range, obtaining first target intersection information of a motion curve of the vehicle decelerating from the initial acceleration to the maximum deceleration at a preset deceleration and a speed limit curve; Determine the motion state of the vehicle on the segmented paths according to the first target intersection information, the second preset displacement, the time threshold, and the real-time length of the vehicle motion, and determine the speed information of the vehicle on each of the segmented paths; When the difference between the first displacement and the second preset displacement is greater than the maximum value of the preset difference range, the uniform speed duration of the vehicle's uniform motion is determined according to the initial speed, initial acceleration, preset acceleration, first preset displacement and preset deceleration, the motion state of the vehicle in the divided paths is determined according to the uniform speed duration, and the speed information of the vehicle in each of the divided paths is determined.

7. The method according to claim 4, characterized in that The performing speed planning on each of the segmented paths according to the second speed planning strategy data and the initial motion data to determine the speed information of the vehicle on each of the segmented paths comprises: When the initial speed is greater than the first speed limit, the vehicle is decelerated from the initial acceleration to a preset acceleration at a preset deceleration, performs uniform acceleration motion at the preset acceleration, and obtains a second displacement when the vehicle speed is equal to the first speed limit; When the difference between the second displacement and the second preset displacement is within a preset difference range, the vehicle moves at a uniform speed at the first speed limit, and speed information of the vehicle on each of the divided paths is determined; When the difference between the second preset displacement and the second displacement is less than a minimum value of the preset difference, obtaining second target intersection information of the motion curve with the preset deceleration and the preset maximum deceleration as parameters and the speed limit curve; Determine the motion state of the vehicle on the divided paths according to the second target intersection information, the first preset displacement, the second preset displacement and the time threshold, and determine the speed information of the vehicle on each of the divided paths; When the difference between the second preset displacement and the second displacement is greater than the maximum value of the preset difference, the vehicle is made to decelerate at the first speed limit and then decelerate at a constant speed, so as to obtain the speed information of the vehicle in each segmented path.

8. The method according to claim 5, characterized in that The performing speed planning on each of the segmented paths according to the third speed planning strategy data and the initial motion data to determine the speed information of the vehicle on each of the segmented paths comprises: When the initial speed is less than the first speed limit, the vehicle is decelerated from the initial acceleration to a preset acceleration at a preset deceleration, performs uniform acceleration motion at the preset acceleration, and obtains a first displacement when the vehicle speed is equal to a second speed limit; When the difference between the first displacement and the second preset displacement is within a preset difference range, the vehicle is made to move at a uniform speed at the second speed limit, and speed information of the vehicle on each of the divided paths is determined; When the difference between the first displacement and the second preset displacement is less than the minimum value of the preset difference range, obtaining third target intersection information of a motion curve of the vehicle decelerating from the initial acceleration to the maximum deceleration at a preset deceleration and a speed limit curve; Determine the motion state of the vehicle on the segmented paths according to the third target intersection information, the second preset displacement, the time threshold, and the real-time length of the vehicle motion, and determine the speed information of the vehicle on each of the segmented paths; When the difference between the first displacement and the second preset displacement is greater than the maximum value of the preset difference range, obtaining the acceleration, speed and displacement of the vehicle after acceleration for a preset acceleration time; Using the acceleration, velocity and displacement of the vehicle after acceleration for a preset acceleration time as the initial acceleration, initial velocity and initial displacement, decelerating the vehicle from the initial acceleration to a preset acceleration at a preset deceleration, performing uniform acceleration motion at the preset acceleration, and obtaining a third displacement when the vehicle speed is equal to the second speed limit; The motion state of the vehicle on the divided paths is determined according to the third displacement and the second preset displacement, and the speed information of the vehicle on each of the divided paths is determined.

9. A parking trajectory generating device, characterized in that: The device comprises: A path planning module, used to determine the planned path corresponding to each preset planning cycle of the vehicle in the parking area of ​​interest; the parking area of ​​interest refers to: within a preset parking distance range, the lane area where the vehicle travels from the current posture to the parking space and the driving area composed of the parking space; An acquisition module, used to acquire path point information of each path point in the planned path, wherein the path point information includes a direction angle of the path point; A path segmentation module, configured to traverse each of the path points in the planned path, and when the angle difference between the orientation angle of the displacement vector of the current path point pointing to the next path point and the orientation angle of the current path point is greater than a preset angle difference, determine that the current path point is a path segmentation point, and obtain a segmented path corresponding to the planned path; A speed planning module, used to obtain the initial motion data of the vehicle, perform speed planning on each of the segmented paths according to the speed planning strategy data based on the motion model and the initial motion data, and determine the speed information of the vehicle on each of the segmented paths; the speed planning strategy data includes: first speed planning strategy data when the initial speed of the vehicle is equal to the first speed limit, second speed planning strategy data when the initial speed of the vehicle is greater than the first speed limit, and third speed planning strategy data when the initial speed of the vehicle is less than the first speed limit; A trajectory determination module, used to determine the motion trajectory of the vehicle corresponding to each segment of the planned path according to the speed information and the path points on the segmented path; The trajectory merging module is used to obtain the current position of the vehicle, and splice the motion trajectory segments according to the current position to obtain the parking trajectory of the vehicle.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.