Method, system, device and medium for cornering speed planning of valet parking tracking
Through global path planning and local path judgment, the vehicle target speed is dynamically adjusted, which solves the collision risk caused by path error when the vehicle is cornering in valet parking technology, and achieves safe and comfortable driving of the vehicle when cornering.
Patent Information
- Application Number
- CN202211236141.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-10
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-10-10
AI Technical Summary
In the existing valet parking technology, only the curvature of the planned path is used to determine the vehicle's cornering status, resulting in a large error between the vehicle's actual driving path and the planned path, which may lead to the risk of the vehicle colliding with the road boundary when cornering.
Carry out global path planning by obtaining the vehicle's parking lot map data, combine the vehicle's current path point and actual driving posture, determine the path width status and turning status, calculate the corner collision distance, and dynamically plan the vehicle's target speed to ensure that the vehicle passes Safe and comfortable driving when cornering.
It effectively reduces the risk of the vehicle colliding with the road boundary when cornering, ensuring that the vehicle follows the track safely and smoothly, and improves the safety and comfort during valet parking.
Smart Images

Figure CN115683140B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile autonomous driving technology, and in particular to a method, system, device and medium for planning cornering speed for valet parking tracking. Background Art
[0002] As a high-level autonomous driving system, valet parking technology is a key technology for the development of future smart cars. Since it can autonomously handle various working conditions encountered in the process of tracking driving in the garage, it has a good prospect for engineering mass production. It has become a hot topic in the field of automotive intelligence research and is also a function urgently needed by the market. Smart cars equipped with valet parking functions use multiple sensors such as cameras, radars, and positioning systems to perceive parking lot road conditions. After receiving multi-sensor information, the planning and control system plans a route from the current position to the designated position or parking space and follows the route, which tests the real-time and accuracy of the perception system and the stability and safety of the planning and control tracking path and speed. The scenarios solved by valet parking are mainly underground parking lots, including normal lanes, narrow passages, right-angle turns, and various dynamic and stationary targets. Finally, the car drives to the target parking space for parking or stops at the target point.
[0003] Since various moving and static targets in the parking lot move unsteadily, and there are narrow curves, walls and other boundaries that are difficult to detect accurately, it is particularly important to drive safely and smoothly during valet parking. During valet parking, the vehicle is controlled to follow the planned path by sending steering wheel angle control instructions. Due to the control deviation between the actual driving route of the vehicle and the planned path during the tracking process, the vehicle cannot follow the path in time. This problem is more obvious during the turning process. Once the vehicle speed is high, the probability of the vehicle colliding with the path boundary such as the wall or the vehicle in the parking space is very high. Therefore, when valet parking is tracking, especially when turning, it is necessary to reduce the speed in advance and control the turning speed to ensure that the vehicle can track and turn smoothly. At present, the method of valet parking technology on how to ensure the safety and smooth cornering of the vehicle mainly uses the curvature of the driving trajectory to constrain the cornering speed. This method only uses the curvature of the planned path as the judgment of the vehicle's cornering state. In most cases, there is a large error between the actual driving path of the vehicle and the planned path. Once the driving path deviates greatly from the actual path, the constrained speed obtained by the path curvature is likely to not meet the tracking driving cornering, and may even cause the actual driving path of the vehicle to intersect with the road boundary, which is very likely to cause a collision risk. Summary of the invention
[0004] The present application provides a method, system, device and medium for planning vehicle speed when cornering for valet parking tracking, which solves the problem in the related art that only the curvature of the planned path is used to determine the vehicle's cornering state. In most cases, there is a large error between the actual driving path of the vehicle and the planned path. Once the driving path deviates greatly from the actual path, the constrained vehicle speed obtained by the path curvature is likely to fail to meet the tracking driving cornering, and may even cause the actual driving path of the vehicle to intersect with the road boundary, which is very likely to cause a collision risk.
[0005] The first aspect of the present application provides a method for planning a vehicle speed for valet parking tracking, comprising the following steps: obtaining map data of a parking lot for a vehicle, and performing global path planning based on the map data; performing automatic driving according to the global path planning, and determining a path width within a front preview range of the vehicle based on the global path planning and the current path point of the vehicle; performing local path planning for the vehicle, and determining a turning state of the vehicle based on the local path planning, and obtaining a corresponding path width state based on the path width and the turning state, the path width state including a non-narrow path state and a narrow path state; when the path width state is a narrow path state, obtaining an actual driving posture of the vehicle and a current position of the vehicle; estimating a collision position between the actual driving path of the vehicle and a road boundary based on the actual driving posture, and obtaining a turning collision distance of the vehicle based on the current position and the collision position; and planning a turning target speed of the vehicle based on the turning collision distance.
[0006] According to the above technical means, the embodiment of the present application can perform a method for planning the vehicle speed when turning during tracking driving based on the curve information and road boundary information of the planned path. When the vehicle is tracking and driving for valet parking in an underground garage, the vehicle's target speed is planned accordingly by judging whether the path ahead is a turn, the width of the path boundary, and whether there is a risk of collision between the actual path and the boundary. This allows the vehicle to turn at a safe and comfortable speed, and brake to a stop when necessary to ensure vehicle driving safety.
[0007] Optionally, the step of determining the path width within the front preview range of the vehicle based on the global path planning and the current path point of the vehicle includes: obtaining the distance between the path point in the global path planning and the left and right boundaries of the road boundary; and calculating the path width within the front preview range of the vehicle based on the distance and the current path point of the vehicle.
[0008] According to the above technical means, the embodiment of the present application can obtain the path width within the preview range in front of the vehicle through the distance between the path point and the left and right boundaries of the road boundary in the global path planning and the current path point of the vehicle.
[0009] Optionally, the starting point of the local path planning is the center point of the rear axle of the vehicle, and the local path planning includes 60 path points with a point spacing of 0.3 m.
[0010] Optionally, the step of determining the turning state of the vehicle based on the local path planning includes: selecting three path partitions in the local path planning, and respectively determining the curve attributes corresponding to the three path partitions; and determining the turning state of the vehicle according to the curve attributes corresponding to each of the path partitions.
[0011] According to the above-mentioned technical means, the embodiment of the present application can determine the turning state of the vehicle according to the curve attributes of each path partition, and can adjust the target speed of the vehicle in time to ensure early deceleration before entering the curve and to introduce the curve speed constraint in advance when exiting the curve, making the experience more reasonable.
[0012] Optionally, the turning state includes a curve state and a non-curve state, and the step of obtaining the corresponding path width state according to the path width and the turning state includes: if the path width is not greater than a width threshold and the turning state is a curve state, outputting the path width state as a narrow path state; if the path width is greater than a width threshold and the turning state is a non-curve state, outputting the path width state as a non-narrow path state.
[0013] According to the above technical means, the embodiment of the present application can determine the path width state of the vehicle during driving through the path width and the turning state, and then adjust the target speed of the vehicle in time according to the path width state.
[0014] Optionally, the steps of estimating the collision position between the actual driving path of the vehicle and the road boundary based on the actual driving posture, and obtaining the cornering collision distance of the vehicle according to the current position and the collision position include: generating an estimated actual driving path of the vehicle according to the position deviation and heading angle deviation of the path point of the current position of the vehicle and the local path planning; traversing the boundary of the drivable area of the curve in the vehicle body coordinate system to see whether each boundary point is located within the vehicle projection range corresponding to each path point in the estimated actual driving path; if each boundary point is located within the vehicle projection range corresponding to each path point in the estimated actual driving path, calculating the distance between each boundary point and the boundary of the vehicle, and taking the minimum distance between each boundary point and the boundary of the vehicle as the cornering collision distance.
[0015] According to the above-mentioned technical means, the embodiment of the present application can estimate the position where the actual driving path of the vehicle collides with the road boundary based on the actual driving posture of the vehicle, and then calculate the cornering collision distance. According to the cornering collision distance, the target speed of the vehicle is planned accordingly, so that the vehicle can travel through the corner at a safe and comfortable speed, and brake to stop when necessary to ensure the safety of vehicle driving.
[0016] Furthermore, the step of planning the vehicle's target cornering speed based on the cornering collision distance includes: determining whether the cornering collision distance is less than a preset collision distance; if the cornering collision distance is less than the preset collision distance, outputting the vehicle's target cornering speed as 0; if the cornering collision distance is not less than the preset collision distance, calculating a first target speed based on the path width state, and using the minimum value between the first target speed and the preset target speed as the vehicle's target cornering speed.
[0017] According to the above technical means, the embodiment of the present application can calculate the corresponding target vehicle speed for cornering based on the cornering collision distance, thereby achieving safe cornering of the vehicle.
[0018] The second aspect of the present application provides a valet parking tracking and cornering speed planning system, comprising: a global path planning module, used to obtain map data of a parking lot of a vehicle, and perform global path planning according to the map data; a path width determination module, used to automatically drive according to the global path planning, and determine the path width within the front preview range of the vehicle according to the global path planning and the current path point of the vehicle; a local path planning module, used to perform local path planning for the vehicle, and determine the turning state of the vehicle based on the local path planning, and obtain a corresponding path width state according to the path width and the turning state, wherein the path width state includes a wide path and a narrow path; a vehicle information acquisition module, used to obtain the actual driving posture of the vehicle and the current position of the vehicle when the path width state is a narrow path; a collision distance calculation module, used to estimate the collision position of the actual driving path of the vehicle with the road boundary based on the actual driving posture, and obtain the cornering collision distance of the vehicle according to the current position and the collision position; a target speed output module, used to plan the cornering target speed of the vehicle according to the cornering collision distance.
[0019] Optionally, the path width determination module includes: a boundary distance acquisition unit, used to obtain the distance between the path point in the global path planning and the left and right boundaries of the road boundary; a path width calculation unit, used to calculate the path width within the front preview range of the vehicle based on the distance and the current path point of the vehicle.
[0020] Optionally, the local path planning module includes: a curve attribute judgment unit, used to select three path partitions in the local path planning, and respectively judge the curve attributes corresponding to the three path partitions; a turning state determination unit, used to determine the turning state of the vehicle according to the curve attributes corresponding to each of the path partitions.
[0021] Optionally, the local path planning module also includes: a first state output unit, used to output the path width state as a narrow path state if the path width is not greater than a width threshold and the turning state is a curve state; and a second state output unit, used to output the path width state as a non-narrow path state if the path width is greater than a width threshold and the turning state is a non-curve state.
[0022] Optionally, the collision distance calculation module includes: a driving path estimation unit, which is used to generate an estimated actual driving path of the vehicle based on the position deviation and heading angle deviation between the current position of the vehicle and the path point position of the local path planning; a driving path judgment unit, which is used to traverse the boundary of the drivable area of the curve in the vehicle body coordinate system to determine whether each boundary point is located within the vehicle projection range corresponding to each path point in the estimated actual driving path; a collision distance calculation unit, which is used to calculate the distance between each boundary point and the boundary of the vehicle if each boundary point is located within the vehicle projection range corresponding to each path point in the estimated actual driving path, and take the minimum distance between each boundary point and the boundary of the vehicle as the cornering collision distance.
[0023] Optionally, the target vehicle speed output module includes: a collision distance judgment unit, used to judge whether the cornering collision distance is less than a preset collision distance; a first vehicle speed output unit, used to output the vehicle's cornering target speed as 0 if the cornering collision distance is less than the preset collision distance; a second vehicle speed output unit, used to calculate the first target vehicle speed according to the path width state if the cornering collision distance is not less than the preset collision distance, and use the minimum value of the first target vehicle speed and the preset target vehicle speed as the vehicle's cornering target speed.
[0024] A third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the cornering speed planning method for valet parking tracking as described in the above embodiment.
[0025] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the cornering speed planning method for valet parking tracking as described in the above embodiment.
[0026] The embodiment of the present application can perform a method for planning the vehicle speed when cornering during tracking driving based on the curve information and road boundary information of the planned path. When the vehicle is tracking and driving for valet parking in an underground garage, the vehicle's target speed is planned accordingly by judging whether the path ahead is a turn, the width of the path boundary, and whether there is a risk of collision between the actual path and the boundary. This allows the vehicle to corner at a safe and comfortable speed, and brake to a stop when necessary to ensure vehicle driving safety.
[0027] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0029] Figure 1 A flowchart of a method for planning cornering speed for valet parking tracking according to an embodiment of the present application;
[0030] Figure 2 for Figure 1 Detailed flow chart of step S102;
[0031] Figure 3 for Figure 1 A detailed flowchart of the step of determining the turning state of the vehicle based on the local path planning in step S103;
[0032] Figure 4 for Figure 1 A detailed flow chart of the step of obtaining the corresponding path width state according to the path width and the turning state in step S103;
[0033] Figure 5 for Figure 1 Detailed flow chart of step S105;
[0034] Figure 6 for Figure 1 Detailed flow chart of step S106;
[0035] Figure 7 is a schematic diagram of a cornering speed planning system for valet parking tracking according to an embodiment of the present application;
[0036] Figure 8 is an exemplary diagram of an electronic device according to an embodiment of the present application.
[0037] Among them, 10-valet parking tracking cornering speed planning system; 100-global path planning module, 200-path width determination module, 300-local path planning module, 400-vehicle information acquisition module, 500-collision distance calculation module, 600-target vehicle speed output module. DETAILED DESCRIPTION
[0038] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0039] The following describes the method, system, device and medium for planning the turning speed of valet parking tracking in the embodiment of the present application with reference to the accompanying drawings. In view of the fact that only the curvature of the planned path is used as the judgment of the vehicle's turning state mentioned in the above background technology, there is a large error between the actual driving path of the vehicle and the planned path in most cases. Once the driving path deviates greatly from the actual path, the constraint speed obtained by the path curvature is likely to not meet the tracking driving turning, and even cause the actual driving path of the vehicle to intersect with the road boundary, which is very likely to cause the risk of collision. The present application provides a method for planning the turning speed of valet parking tracking. In this method, a method for planning the turning speed during tracking driving can be performed according to the curve information and road boundary information of the planned path. When the vehicle is tracking for valet parking in an underground garage, the vehicle's target speed is planned accordingly by judging whether the path ahead is a turn, the width of the path boundary and whether there is a risk of collision between the actual path and the boundary, so that the vehicle can drive through the turn at a safe and comfortable speed, and brake to stop when necessary to ensure the safety of the vehicle.
[0040] Specifically, Figure 1 A schematic flow chart of a method for planning cornering speed for valet parking tracking provided in an embodiment of the present application.
[0041] like Figure 1 As shown, the cornering speed planning method for valet parking tracking includes the following steps:
[0042] In step S101, map data of a parking lot of a vehicle is obtained, and global path planning is performed according to the map data;
[0043] Among them, since the valet parking scenes are mainly underground parking lots, the lanes in different parking lots have different widths, and there are many static boundaries such as walls and pillars at the turns, it is necessary to consider the different boundary widths when following the curve and dynamically adjust the curve speed.
[0044] It should be noted that the left and right boundaries of the valet parking driving path in the global path planning are mainly given by the parking map and the vehicle body sensors. In the specific implementation, the map data of the parking lot is obtained, and the map data includes the road type and road distribution of the internal roads of the parking lot. The road type includes crossroads, T-shaped intersections or L-shaped intersections. Points are drawn from one end boundary of the internal road of the parking lot to the other end boundary to obtain all the path points of the parking lot.
[0045] In step S102, automatic driving is performed according to the global path planning, and a path width within a forward preview range of the vehicle is determined according to the global path planning and the current path point of the vehicle;
[0046] For further information, see Figure 2 , the step S102 specifically includes steps S1021 to S1022:
[0047] S1021, obtaining the distance between the path point in the global path planning and the left and right boundaries of the road boundary;
[0048] S1022: Calculate a path width within a preview range ahead of the vehicle according to the distance and the current path point of the vehicle.
[0049] In the specific implementation, during the driving process of the vehicle, the 7th and 8th columns of the global path point BaseLinePoints in the above-mentioned global path planning respectively give the left and right boundary distances of the path point from the road boundary, and the path width within the preview range ahead is judged in combination with the current path point of the vehicle, and the path width state RoadWidthSts is output, where 0 represents a wider path, i.e., a non-narrow path state; 1 represents a narrow path, i.e., a narrow path state; and the default state is 0.
[0050] In step S103, a local path planning is performed on the vehicle, and a turning state of the vehicle is determined based on the local path planning, and a corresponding path width state is obtained according to the path width and the turning state, wherein the path width state includes a non-narrow path state and a narrow path state;
[0051] For further information, see Figure 3 The step of determining the turning state of the vehicle based on the local path planning in step S103 specifically includes steps S1031 to S1032:
[0052] S1031, selecting three path partitions in the local path planning, and determining the curve attributes corresponding to the three path partitions respectively;
[0053] S1032: Determine the turning state of the vehicle according to the curve attributes corresponding to each of the path partitions.
[0054] It should be noted that in this embodiment, the local path planning includes 60 path points with a point spacing of 0.3 m. The starting point of the local path planning is the center point of the rear axle of the vehicle, that is, the serial number of the coordinate point is 1.
[0055] In specific implementation, the bend attribute is judged by segmenting the local path in the above local planning:
[0056] Specifically, three path intervals are selected from the above 60 path points to judge their respective bend attributes, namely the entering bend state EnterTurnSts, the exiting bend state ExitTurnSts, and the bend state EndPointSts of the end point of the local path. These three states are judged by the 6th column attribute of the local path LocalPath in the local path planning (the 6th column of the local path LocalPath is the bend attribute of each path point. If the path point is judged to be a bend according to the curvature, it is set to 1, otherwise it is set to 0):
[0057] 1. EnterTurnSts = max(LocalPath(TurnStartPointEntry:TurnEndPointEntry, 6)), where TurnStartPointEntry and TurnEndPointEntry are the starting point and the ending point for judging the entering bend state. This range is mainly a certain distance in front of the vehicle head. If there is a bend in the bend attribute within this distance, it is considered that the vehicle is about to enter the bend. In this embodiment, TurnStartPointEntry = 5 and TurnEndPointEntry = 30;
[0058] 2. ExitTurnSts = max(LocalPath(TurnStartPointExit:TurnEndPointExit, 6)), where TurnEndPointExit is the ending point for judging the exiting bend state, and TurnEndPointExit < TurnEndPointEntry. In this embodiment, TurnEndPointExit = 12;
[0059] 3. EndPointSts = max(LocalPath(TurnEndPointExit:EndPoint, 6)), where EndPoint = 60, that is, to judge whether the latter half of the path is in a bend. If it is a continuous bend, the bend vehicle speed constraint will be maintained until the end of the continuous bend.
[0060] Furthermore, the turning state TurnState for the vehicle speed control on the curve is outputted through the curve attribute decisions at different positions on the local path obtained above. The turning state TurnState includes two states, namely, curve state 1 and non-curve state 0. The default is the non-curve state. The specific conditions are as follows:
[0061] 1. When the following conditions are met at the same time, the turning state TurnState jumps from the non-curve state to the curve state:
[0062] a) EnterTurnSts = 1;
[0063] b)EnterTurnStsDelay=0.
[0064] That is, EnterTurnSts in the preview range of the front section of the local path jumps from the non-curve state to the curve state.
[0065] 2. When the following conditions are met at the same time, TurnState jumps from the curve state to the non-curve state:
[0066] c) EndPointTurnSts = 0, that is, the second half of the local path is in a non-curve state;
[0067] d)(EnterTurnStatus=0&&EnterTurnStatusDelay~=0)||(ExitTurnStatus=0&&ExitTurnStatusD elay~=0), that is, the path front end preview range jumps from the curve state to the non-curve state.
[0068] For further information, see Figure 4 , the turning state includes a curve state and a non-curve state, and the step of obtaining the corresponding path width state according to the path width and the turning state in step S103 specifically includes steps S1033 to S1034:
[0069] S1033, if the path width is not greater than the width threshold and the turning state is a curve state, outputting the path width state as a narrow path state;
[0070] S1034: If the path width is greater than the width threshold and the turning state is a non-curve state, output the path width state as a non-narrow path state.
[0071] In specific implementation, the corresponding path width state is obtained according to the above path width and turning state. The specific state jump logic is as follows:
[0072] 1. When the following conditions are met at the same time, the path width state RoadWidthSts jumps from the non-narrow path state 0 to the narrow path state 1:
[0073] a) Road width (RoadWidth) <= width threshold (RoadWidthThres), where in this application, the width threshold RoadWidthThres is the road width corresponding to the position of the 10th path point in the preview range, usually 4m;
[0074] b) Turning state TurnState = 1, in the turning state.
[0075] 2. If the following conditions are met, the path width state RoadWidthSts jumps from narrow path state 1 to non-narrow path state 0:
[0076] Turning state TurnState=0, in non-curving state.
[0077] In step S104, when the path width state is a narrow path state, the actual driving posture of the vehicle and the current position of the vehicle are acquired;
[0078] In step S105, the collision position between the actual driving path of the vehicle and the road boundary is estimated based on the actual driving posture, and the cornering collision distance of the vehicle is obtained according to the current position and the collision position;
[0079] For further information, see Figure 5 , the step S105 specifically includes steps S1051 to S1053:
[0080] S1051, generating an estimated actual driving path of the vehicle according to a path point position deviation and a heading angle deviation between a current position of the vehicle and the local path planning;
[0081] S1052, in the vehicle body coordinate system, whether each boundary point of the traversal curve drivable area boundary is located within the vehicle projection range corresponding to each path point in the estimated actual driving path;
[0082] S1053, if each of the boundary points is located within the vehicle projection range corresponding to each path point in the estimated actual driving path, the distance between each boundary point and the boundary of the vehicle is calculated, and the minimum distance between each boundary point and the boundary of the vehicle is used as the cornering collision distance.
[0083] It should be noted that during the valet parking tracking process, due to the large error in the actual vehicle control following the curve, there is a deviation between the actual driving path of the vehicle and the planned path, which may cause the vehicle to collide with boundaries such as walls. Therefore, when turning, it is necessary to estimate the position where the actual driving path of the vehicle collides with the boundary based on the actual driving posture of the vehicle, and output the distance DTC between the collision position and the current position.
[0084] In a specific implementation, when the vehicle is in a turning process, the actual driving posture and current position of the vehicle are obtained; the estimated actual driving path ReckonPath of the vehicle is generated according to the path point position deviation and heading angle deviation between the current position and the local path LocalPath;
[0085] Determine whether the vehicle position of the estimated actual driving path intersects with the boundary point of the FreeSpace drivable area of the curve, that is, in the vehicle body coordinate system, whether the boundary coordinate point of the FreeSpace drivable area of the curve traversing the curve is within the vehicle projection range corresponding to each path point in the estimated actual driving path ReckonPath;
[0086] If the boundary coordinate point of the curve drivable area FreeSpace is within the projection range of the vehicle corresponding to each path point in the estimated actual driving path ReckonPath, the distance between each boundary point and the boundary of the vehicle is calculated, and the minimum distance between each boundary point and the boundary of the vehicle is used as the cornering collision distance DTC;
[0087] If the boundary coordinate point of the drivable area FreeSpace of the curve is not within the vehicle projection range corresponding to each path point in the estimated actual driving path ReckonPath, there is no collision risk, and the default value of the cornering collision distance DTC of 20m will be output.
[0088] In step S106, a target cornering speed of the vehicle is planned according to the cornering collision distance.
[0089] For further information, see Figure 6 , the step S106 specifically includes steps S1061 to S1063:
[0090] S1061, determining whether the cornering collision distance is less than a preset collision distance;
[0091] S1062, if the cornering collision distance is less than a preset collision distance, outputting a cornering target speed of the vehicle as 0;
[0092] S1063, if the cornering collision distance is not less than the preset collision distance, calculate the first target vehicle speed according to the path width state, and use the minimum value between the first target vehicle speed and the preset target vehicle speed as the cornering target vehicle speed of the vehicle.
[0093] It should be noted that during the process of valet parking vehicle's function-activated path following driving, the upper speed limit is generally about 10 km / h. If it encounters a narrow passage or a bend, it needs to decelerate to pass. The cornering target vehicle speed is comprehensively planned through the above-mentioned turning state, path width state and cornering collision distance. The specific steps are as follows:
[0094] In the state where the autonomous valet parking (AVP) function is activated, that is, when WorkMode = 1 and the turning state TurnStae = 1, first judge whether the above-mentioned cornering collision distance DTC is less than the preset collision distance (in this embodiment, the preset collision distance is 20 m). If the cornering collision distance DTC is less than 20 m, that is, there is a collision risk in the bend and the turning collision distance is small, output the cornering target vehicle speed VtTurn of the vehicle as 0 and request to stop to avoid vehicle collision.
[0095] If the cornering collision distance DTC is not less than 20 m and the turning state TurnStae = 1, that is, there is no collision risk in the bend, calculate the cornering target vehicle speed of the vehicle according to the following formula:
[0096] VtTurn = min(VtTurnCons, VtSteeringAng);
[0097] Among them, VtTurnCons is the speed upper limit when entering the bend state, which is 5 km / h in this embodiment; VtSteeringAng is the linear solution value with the steering wheel angle as the input, and according to the path width state RoadWidthSts, there are two steering wheel solution target vehicle speeds. The larger the steering wheel angle, the smaller the target vehicle speed.
[0098] 1. When RoadWidthSts = 0, that is, the path width state is a non-narrow path state:
[0099] VtSteeringAng = k1 * SteeringAng + Vconstant;
[0100] 2. When RoadWidthSts = 1, that is, the path width state is a narrow path state:
[0101] VtSteeringAng = k2 * SteeringAng + Vconstant, where k2 < k1 < 0, and Vconstant is the default vehicle speed when the steering wheel angle is 0.
[0102] According to the cornering speed planning method for valet parking tracking proposed in the embodiment of the present application, a cornering speed planning method can be performed during tracking according to the curve information and road boundary information of the planned path. When the vehicle is tracking for valet parking in an underground garage, the target speed of the vehicle is planned accordingly by judging whether the path ahead is a turn, the width of the path boundary, and whether there is a risk of collision between the actual path and the boundary. This allows the vehicle to pass the turn at a safe and comfortable speed, and brake to a stop when necessary to ensure vehicle driving safety.
[0103] Next, the cornering speed planning system for valet parking tracking according to the embodiment of the present application is described with reference to the accompanying drawings.
[0104] Figure 7 It is a block diagram of a cornering speed planning system for valet parking tracking according to an embodiment of the present application.
[0105] like Figure 7 As shown, the valet parking tracking cornering speed planning system 10 includes: a global path planning module 100, a path width determination module 200, a local path planning module 300, a vehicle information acquisition module 400, a collision distance calculation module 500 and a target vehicle speed output module 600:
[0106] The global path planning module 100 is used to obtain the map data of the parking lot of the vehicle and perform global path planning according to the map data;
[0107] A path width determination module 200, configured to automatically drive according to the global path planning, and determine the path width within the forward preview range of the vehicle according to the global path planning and the current path point of the vehicle;
[0108] A local path planning module 300, configured to perform local path planning for the vehicle, determine a turning state of the vehicle based on the local path planning, and obtain a corresponding path width state according to the path width and the turning state, wherein the path width state includes a wide path and a narrow path;
[0109] The vehicle information acquisition module 400 is used to acquire the actual driving posture of the vehicle and the current position of the vehicle when the path width state is a narrow path;
[0110] A collision distance calculation module 500, for estimating a collision position between the actual driving path of the vehicle and a road boundary based on the actual driving posture, and obtaining a cornering collision distance of the vehicle according to the current position and the collision position;
[0111] The target vehicle speed output module 600 is used to plan the target vehicle speed for turning according to the turning collision distance.
[0112] Further, in some embodiments, the path width determination module 200 includes:
[0113] A boundary distance acquisition unit, used to acquire the distance between the path point in the global path planning and the left and right boundaries of the road boundary;
[0114] A path width calculation unit is used to calculate the path width within the front preview range of the vehicle according to the distance and the current path point of the vehicle.
[0115] Further, in some embodiments, the local path planning module 300 includes:
[0116] A curve attribute judgment unit, used for selecting three path partitions in the local path planning, and respectively judging the curve attributes corresponding to the three path partitions;
[0117] The turning state determination unit is used to determine the turning state of the vehicle according to the curve attributes corresponding to each of the path partitions.
[0118] Furthermore, in some embodiments, the local path planning module 300 further includes:
[0119] A first state output unit, configured to output that the path width state is a narrow path state if the path width is not greater than a width threshold and the turning state is a curve state;
[0120] The second state output unit is configured to output the path width state as a non-narrow path state if the path width is greater than a width threshold and the turning state is a non-curve state.
[0121] Further, in some embodiments, the collision distance calculation module 500 includes:
[0122] A driving path estimation unit, used for generating an estimated actual driving path of the vehicle according to a path point position deviation and a heading angle deviation between a current position of the vehicle and the path point position deviation of the local path planning;
[0123] A driving path judgment unit, used to determine whether each boundary point of the traversal of the boundary of the drivable area of the curve is located within the vehicle projection range corresponding to each path point in the estimated actual driving path in the vehicle body coordinate system;
[0124] A collision distance calculation unit is used to calculate the distance between each boundary point and the boundary of the vehicle if each boundary point is located within the vehicle projection range corresponding to each path point in the estimated actual driving path, and use the minimum distance between each boundary point and the boundary of the vehicle as the cornering collision distance.
[0125] Further, in some embodiments, the target vehicle speed output module 600 includes:
[0126] A collision distance judgment unit, used to judge whether the cornering collision distance is less than a preset collision distance;
[0127] A first vehicle speed output unit, configured to output a target vehicle speed of the vehicle as 0 if the cornering collision distance is less than a preset collision distance;
[0128] The second vehicle speed output unit is used to calculate a first target vehicle speed according to the path width state if the cornering collision distance is not less than a preset collision distance, and use the minimum value between the first target vehicle speed and the preset target vehicle speed as the cornering target vehicle speed of the vehicle.
[0129] It should be noted that the aforementioned explanation of the embodiment of the method for valet parking tracking cornering speed planning is also applicable to the valet parking tracking cornering speed planning system of this embodiment, and will not be repeated here.
[0130] According to the cornering speed planning system for valet parking tracking proposed in the embodiment of the present application, a cornering speed planning method can be performed during tracking according to the curve information and road boundary information of the planned path. When the vehicle is tracking for valet parking in an underground garage, the target speed of the vehicle is planned accordingly by judging whether the path ahead is a turn, the width of the path boundary, and whether there is a risk of collision between the actual path and the boundary. This allows the vehicle to pass the turn at a safe and comfortable speed, and brake to a stop when necessary to ensure vehicle driving safety.
[0131] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:
[0132] A memory 801 , a processor 802 , and a computer program stored in the memory 801 and executable on the processor 802 .
[0133] When the processor 802 executes the program, the cornering speed planning method for valet parking tracking provided in the above embodiment is implemented.
[0134] Furthermore, the electronic device further comprises:
[0135] The communication interface 803 is used for communication between the memory 801 and the processor 802 .
[0136] The memory 801 is used to store computer programs that can be executed on the processor 802 .
[0137] The memory 801 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0138] If the memory 801, the processor 802 and the communication interface 803 are implemented independently, the communication interface 803, the memory 801 and the processor 802 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0139] Optionally, in a specific implementation, if the memory 801, the processor 802 and the communication interface 803 are integrated on a chip, the memory 801, the processor 802 and the communication interface 803 can communicate with each other through an internal interface.
[0140] The processor 802 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0141] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned method for planning vehicle speed through corners for valet parking tracking.
[0142] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0143] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0144] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0145] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0146] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0147] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0148] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0149] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for planning cornering speed for valet parking tracking. It is characterized in that The following steps are involved: Acquire map data of a parking lot for the vehicle, and perform global path planning based on the map data; Automatically driving according to the global path planning, and determining a path width within a forward preview range of the vehicle according to the global path planning and a current path point of the vehicle; Performing local path planning on the vehicle, and determining a turning state of the vehicle based on the local path planning, and obtaining a corresponding path width state according to the path width and the turning state, wherein the path width state includes a non-narrow path state and a narrow path state; When the path width state is a narrow path state, acquiring an actual driving posture of the vehicle and a current position of the vehicle; estimating a collision position between the actual driving path of the vehicle and a road boundary based on the actual driving posture, and obtaining a cornering collision distance of the vehicle according to the current position and the collision position; Planning a target turning speed of the vehicle according to the turning collision distance; The steps of estimating the collision position between the actual driving path of the vehicle and the road boundary based on the actual driving posture, and obtaining the cornering collision distance of the vehicle according to the current position and the collision position include: Generate an estimated actual driving path of the vehicle according to the path point position deviation and heading angle deviation between the current position of the vehicle and the local path planning; In the vehicle body coordinate system, whether each boundary point of the traversal curve drivable area boundary is located within the vehicle projection range corresponding to each path point in the estimated actual driving path; If each of the boundary points is located within the vehicle projection range corresponding to each of the path points in the estimated actual driving path, the distance between each of the boundary points and the boundary of the vehicle is calculated, and the minimum distance between each of the boundary points and the boundary of the vehicle is used as the cornering collision distance; The step of planning the target turning speed of the vehicle according to the turning collision distance comprises: Determining whether the cornering collision distance is less than a preset collision distance; If the cornering collision distance is less than the preset collision distance, outputting the cornering target speed of the vehicle as 0; If the cornering collision distance is not less than the preset collision distance, a first target vehicle speed is calculated according to the path width state, and a minimum value between the first target vehicle speed and the preset target vehicle speed is used as the cornering target vehicle speed of the vehicle.
2. The method according to claim 1, It is characterized in that The step of determining the path width within the front preview range of the vehicle according to the global path planning and the current path point of the vehicle comprises: Obtaining the distance between the path point in the global path planning and the left and right boundaries of the road boundary; The path width within the front preview range of the vehicle is calculated according to the distance and the current path point of the vehicle.
3. The method according to claim 1, It is characterized in that The starting point of the local path planning is the center point of the rear axle of the vehicle. The local path planning includes 60 path points, and the point spacing is 0.3m.
4. The method according to claim 1, It is characterized in that The step of determining the turning state of the vehicle based on the local path planning comprises: Selecting three path partitions in the local path planning, and determining the curve attributes corresponding to the three path partitions respectively; The turning state of the vehicle is determined according to the curve attributes corresponding to each of the path partitions.
5. The method according to claim 1, It is characterized in that The turning state includes a curve state and a non-curve state, and the step of obtaining a corresponding path width state according to the path width and the turning state includes: If the path width is not greater than the width threshold and the turning state is a curve state, outputting the path width state as a narrow path state; If the path width is greater than a width threshold and the turning state is a non-curve state, the path width state is output as a non-narrow path state.
6. A valet parking tracking cornering speed planning system, It is characterized in that include: A global path planning module, used to obtain map data of the parking lot of the vehicle and perform global path planning based on the map data; A path width determination module, used for automatically driving according to the global path planning, and determining the path width within the front preview range of the vehicle according to the global path planning and the current path point of the vehicle; A local path planning module, used to perform local path planning for the vehicle, and determine the turning state of the vehicle based on the local path planning, and obtain a corresponding path width state according to the path width and the turning state, wherein the path width state includes a wide path and a narrow path; A vehicle information acquisition module, used for acquiring the actual driving posture of the vehicle and the current position of the vehicle when the path width state is a narrow path; A collision distance calculation module, used to estimate the collision position between the actual driving path of the vehicle and the road boundary based on the actual driving posture, and obtain the cornering collision distance of the vehicle according to the current position and the collision position; A target vehicle speed output module, used for planning a target vehicle speed for turning the vehicle according to the turning collision distance; The steps of estimating the collision position between the actual driving path of the vehicle and the road boundary based on the actual driving posture, and obtaining the cornering collision distance of the vehicle according to the current position and the collision position include: Generate an estimated actual driving path of the vehicle according to the path point position deviation and heading angle deviation between the current position of the vehicle and the local path planning; In the vehicle body coordinate system, whether each boundary point of the traversal curve drivable area boundary is located within the vehicle projection range corresponding to each path point in the estimated actual driving path; If each of the boundary points is located within the vehicle projection range corresponding to each of the path points in the estimated actual driving path, the distance between each of the boundary points and the boundary of the vehicle is calculated, and the minimum distance between each of the boundary points and the boundary of the vehicle is used as the cornering collision distance; The step of planning the target turning speed of the vehicle according to the turning collision distance comprises: Determining whether the cornering collision distance is less than a preset collision distance; If the cornering collision distance is less than the preset collision distance, outputting the cornering target speed of the vehicle as 0; If the cornering collision distance is not less than the preset collision distance, a first target vehicle speed is calculated according to the path width state, and a minimum value between the first target vehicle speed and the preset target vehicle speed is used as the cornering target vehicle speed of the vehicle.
7. An electronic device, It is characterized in that include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the cornering speed planning method for valet parking tracking as described in any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that The program is executed by a processor to implement the cornering speed planning method for valet parking tracking as described in any one of claims 1-5.
