Automatic parking collision avoidance method and device, medium and vehicle
By determining the collision time and motion status between the vehicle and the target obstacle, dividing the risk level and controlling the vehicle speed, the problem of collision risk of the automatic parking system during parking is solved, and safety and user experience are improved.
Patent Information
- Application Number
- CN202411078622.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-10-01
AI Technical Summary
Existing automatic parking systems ignore safety during the parking process, causing vehicles to easily collide in complex or small parking lot environments, affecting user experience.
By determining the collision time and motion state between the vehicle and the target obstacle, the collision risk level is divided, and the safe braking distance and target vehicle speed are determined according to the level, and parking control is performed to avoid collision.
It effectively reduces the risk of collision of autonomous vehicles during parking and improves the safety and user experience of autonomous parking.
Smart Images

Figure CN118722601A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of automatic parking, and in particular to an automatic parking collision avoidance method, device, medium and vehicle. Background Art
[0002] Automatic parking technology is an innovative parking service model that combines unmanned driving, intelligent equipment and manual operation. It gives control to intelligent vehicles, which are then responsible for parking the vehicles in designated parking areas. This technology has a wide range of applications and can be promoted and applied in places with large parking demands, such as commercial areas, airports, and stations, to provide users with more convenient and efficient parking services.
[0003] However, in the existing technology, the speed control strategies of most automatic parking systems may focus more on parking efficiency at the expense of certain safety. Although the vehicle's automatic driving and parking functions are realized, the risk of accidents during automatic driving is ignored, resulting in easy collisions during parking. Especially in complex or narrow parking environments, the risk of collision is even greater, greatly affecting the user's car experience. Summary of the invention
[0004] The present application provides an automatic parking collision avoidance method, device, medium and vehicle, which can effectively overcome the collision safety problem of an autonomous driving vehicle during driving in a parking lot and improve the safety of automatic parking.
[0005] A first aspect of an embodiment of the present application provides an automatic parking collision avoidance method, the method comprising:
[0006] Determine the collision time between the vehicle and the target obstacle;
[0007] determining a collision risk level of the vehicle based on the collision time;
[0008] Determining a safe braking distance and a target vehicle speed of the vehicle at the collision risk level based on the motion state of the target obstacle;
[0009] Parking control is performed on the vehicle based on the safe braking distance and the target vehicle speed.
[0010] Optionally, determining a collision time between the vehicle and the target obstacle includes:
[0011] Determining a collision distance between the vehicle and the target obstacle based on a planned path of the vehicle within a preset future time and movement information of the target obstacle;
[0012] The collision time is determined based on the collision distance and the current vehicle speed.
[0013] Optionally, determining the collision risk level of the vehicle based on the collision time includes:
[0014] When the collision time is greater than a first collision time threshold, determining the collision risk level to be a low risk level;
[0015] When the collision time is less than or equal to a first collision time threshold and greater than a second collision time threshold, determining that the collision risk level is a medium risk level;
[0016] When the collision time is less than or equal to a second collision time threshold, a collision risk level of the vehicle is determined based on an image detection result of the target obstacle.
[0017] Optionally, determining the collision risk level of the vehicle based on the image detection result of the target obstacle includes:
[0018] When the image detection results of a first preset number of consecutive frames all indicate that the confidence level of the target obstacle is greater than or equal to a first confidence threshold, determining that the collision risk level is a high risk level;
[0019] In the case where, among the image detection results of a first preset number of consecutive frames, any image detection result indicates that the confidence level of the target obstacle is less than a first confidence threshold, the collision risk level is determined to be a medium risk level.
[0020] Optionally, determining the collision risk level of the vehicle based on the image detection result of the target obstacle includes:
[0021] When the motion state of the target obstacle meets the preset conditions, if the image detection results of a second preset number of consecutive frames all indicate that the confidence of the target obstacle is greater than or equal to a second confidence threshold, the collision risk level is determined to be a high risk level; wherein the second preset number of frames is greater than the first preset number of frames;
[0022] When the motion state of the target obstacle meets the preset conditions, if any of the image detection results of a second preset number of consecutive frames indicates that the confidence of the target obstacle is less than a second confidence threshold, the collision risk level is determined to be a medium risk level.
[0023] Optionally, the target obstacle includes a target vehicle and a target pedestrian; and the method further includes:
[0024] When the ratio of the portion of the detection frame of the target vehicle outside the lane to the detection frame exceeds a ratio threshold, or when the target pedestrian has no tendency to cross, it is determined that the motion state of the target obstacle meets the preset condition.
[0025] Optionally, when the collision risk level is a low risk level or a medium risk level, determining a safe braking distance and a target vehicle speed of the vehicle at the collision risk level based on the motion state of the target obstacle includes:
[0026] When the moving state of the target obstacle is a stationary state, determining the safe braking distance based on a preset first safety distance;
[0027] The target vehicle speed is determined based on a preset first deceleration and the safe braking distance.
[0028] Optionally, when the collision risk level is a low risk level or a medium risk level, determining a safe braking distance and a target vehicle speed of the vehicle at the collision risk level based on the motion state of the target obstacle includes:
[0029] When the motion state of the target obstacle is a moving state, determining the safe braking distance based on the following distance of the vehicle and the relative distance between the vehicle and the target obstacle;
[0030] The target vehicle speed is determined based on a preset second deceleration and the safety braking distance.
[0031] Optionally, when the collision risk level is a high risk level, determining a safe braking distance and a target vehicle speed of the vehicle at the collision risk level based on the motion state of the target obstacle includes:
[0032] The safe braking distance is determined based on a second safe distance, and the target vehicle speed is zero.
[0033] Based on the same inventive concept, a second aspect of an embodiment of the present application provides an automatic parking collision avoidance device, the device comprising:
[0034] A collision time calculation module, used to determine the collision time between the vehicle and the target obstacle;
[0035] A collision level classification module, used to determine the collision risk level of the vehicle based on the collision time;
[0036] A collision avoidance decision module, configured to determine a safe braking distance and a target vehicle speed of the vehicle at the collision risk level based on the motion state of the target obstacle;
[0037] A parking control module is used to perform parking control on the vehicle based on the safe braking distance and the target vehicle speed.
[0038] Based on the same inventive concept, the third aspect of an embodiment of the present application provides a storage medium, in which machine executable instructions are stored. When the machine executable instructions are executed by a processor, the automatic parking collision avoidance method proposed in the first aspect of the present application is implemented.
[0039] Based on the same inventive concept, the fourth aspect of an embodiment of the present application provides a vehicle, including a processor and a memory; the memory stores machine executable instructions that can be executed by the processor, and the processor is used to execute the machine executable instructions to implement the automatic parking collision avoidance method proposed in the first aspect of the present application.
[0040] Compared with the prior art, this application has the following advantages:
[0041] An automatic parking collision avoidance method provided in an embodiment of the present application first determines the collision time between a vehicle and a target obstacle, and based on the collision time, determines the collision risk level of the vehicle. Then, based on the motion state of the target obstacle, determines the safe braking distance and target speed of the vehicle under the collision risk level, and performs parking control on the vehicle based on the safe braking distance and target speed. Thus, during the parking process, by predicting the collision time between the vehicle and surrounding obstacles according to the current driving conditions, and dividing the collision risk level based on the collision time, and then performing corresponding deceleration braking control under various collision risk levels, the vehicle is prevented from colliding with surrounding obstacles by reducing the speed to pass through the obstacle or braking to a stop, thereby effectively overcoming the collision safety problem of the autonomous driving vehicle during the parking process, improving the safety of automatic parking, and thereby enhancing the user's parking experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0043] Figure 1 is a flow chart of an automatic parking collision avoidance method in one embodiment of the present application;
[0044] Figure 2 is a logic diagram of an automatic parking collision avoidance method in another embodiment of the present application;
[0045] Figure 3 is a schematic diagram of functional modules of an automatic parking collision avoidance device in one embodiment of the present application;
[0046] Figure 4 It is a structural schematic diagram of a vehicle in one embodiment of the present application. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0048] Please refer to Figure 1 , Figure 1 1 is a flow chart of an automatic parking collision avoidance method proposed in one embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0049] S101: Determine the collision time between the vehicle and the target obstacle.
[0050] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, or an electronic device with the above functions such as a driving computer, a vehicle-mounted computer, etc., such as ECU (Electronic Control Unit), BCM (Body Control Module), VCU (Vehicle Control Unit), etc. This implementation does not make specific restrictions on the execution subject.
[0051] In this embodiment, the target obstacles mainly include some static objects and dynamic objects, such as parking lot boundary walls or fences, pillars, supporting structures and other fixed facilities, trash cans, fire hydrants, bicycles lying on the ground, scattered objects and other irregular obstacles, other parked vehicles, etc., as well as possible pedestrians and other moving vehicles.
[0052] Collision time refers to the predicted time value of the possible collision between the vehicle and the target obstacle when there is a collision risk between the vehicle and the target obstacle. Specifically, the autonomous driving vehicle can perceive the surrounding environment through a variety of sensors (such as cameras, lidar, millimeter wave radar, ultrasonic radar, etc.), and combine advanced algorithms and artificial intelligence technologies to identify and track obstacles, so as to obtain real-time images, distances, speeds and other information of the surrounding environment, and make decisions and plan driving paths accordingly. When the planned path of the vehicle intersects with the moving path of the target obstacle, it can be considered that there is a collision risk between the vehicle and the target obstacle. Furthermore, the collision time between the vehicle and the target obstacle can be calculated based on the relative distance and relative speed between the vehicle and the obstacle.
[0053] S102: Determine a collision risk level of the vehicle based on the collision time.
[0054] In this embodiment, when there is a risk of collision between the vehicle and the target obstacle, the collision risk level of the vehicle can be specifically divided based on the collision time, so as to make the most reasonable collision avoidance decision according to the current driving situation, make better driving planning for the vehicle, and improve the user's parking experience.
[0055] It is easy to understand that the longer the collision time between the vehicle and the target obstacle, the less urgent the current situation is, the lower the collision risk level is, and the milder the collision avoidance measures taken at this time are, such as slightly reducing the speed to avoid colliding with the target obstacle. On the contrary, the shorter the collision time, the more urgent the current situation is, the higher the collision risk level is, and the more violent the collision avoidance measures taken at this time are, such as directly performing emergency braking to ensure safety and avoid colliding with the target obstacle.
[0056] Specifically, in this embodiment, the collision risk level is divided into three levels, including: when the collision time is greater than the first collision time threshold, the collision risk level is determined to be a low risk level; when the collision time is less than or equal to the first collision time threshold and greater than the second collision time threshold, the collision risk level is determined to be a medium risk level; when the collision time is less than or equal to the second collision time threshold, the collision risk level is determined to be a high risk level.
[0057] In this embodiment, the first collision time threshold is greater than the second collision time threshold, and the setting of the first collision time threshold and the second collision time threshold can be considered based on the driving conditions and environmental conditions of the vehicle in the actual parking environment. Exemplarily, the first collision time threshold can be set to 3 seconds, and the second collision time threshold can be set to 1 second. Therefore, when the collision time t>3 seconds detected between the vehicle and the target obstacle during the parking process, the collision risk level of the current vehicle is considered to be a low risk level, when 1≤t<3 seconds, the collision risk level of the current vehicle is considered to be a medium risk level, and when t<1 second, the collision risk level of the current vehicle is considered to be a high risk level.
[0058] S103: Determine a safe braking distance and a target vehicle speed of the vehicle at a collision risk level based on the motion state of the target obstacle.
[0059] In this embodiment, different collision avoidance measures are taken at different collision risk levels. For example, a speed reduction strategy is adopted at a low risk level to bypass the target obstacle at a low speed to ensure safety while improving parking efficiency, while the vehicle is directly braked to a stop at a high risk level to ensure parking safety. Therefore, the safe braking distance and target speed of the vehicle are different at different collision risk levels. Among them, the safe braking distance of the vehicle refers to the distance traveled from the time the vehicle recognizes that collision avoidance measures need to be taken to the time the vehicle slows down to a preset value or stops completely. It is easy to understand that the higher the collision risk level, the shorter the safe braking distance of the vehicle, and the lower the collision risk level, the longer the safe braking distance. The target speed refers to the safe speed that the vehicle can take, calculated based on the current situation after the vehicle recognizes that collision avoidance measures need to be taken, in order to control the vehicle to drive or stop safely.
[0060] Furthermore, the motion state of the target obstacle includes a stationary state and a moving state. The considerations and calculation methods of the safe braking distance of the vehicle and the target vehicle speed are different in different motion states. The state of the vehicle can be most appropriately controlled according to the actual motion situation between the current vehicle and the target obstacle, so as to achieve the purpose of meeting the safety requirements of parking and ensuring parking efficiency.
[0061] S104: Parking control of the vehicle is performed based on the safe braking distance and the target vehicle speed.
[0062] In this embodiment, when there is a risk of collision between the vehicle and the target obstacle, during the execution of the collision avoidance strategy, the vehicle is controlled to travel at the target speed calculated in real time until it slows down to a safe speed (e.g., 2 km / h) or stops at the safe braking distance to avoid collision with the target obstacle and ensure the safety of the parking process.
[0063] For example, at a low risk level, the vehicle is controlled to slow down to 2 km / h 2 meters before the collision point where a collision may occur. At a high risk level, the vehicle is controlled to slow down to 0 km / h 1 meter before the collision point, that is, it is braked to a stop at the safe braking distance.
[0064] In addition, it should be noted that this embodiment mainly controls the vehicle longitudinally by determining the safe braking distance and the target vehicle speed, because longitudinal control is particularly important in a parking environment, which can not only automatically decelerate the vehicle when approaching an obstacle to avoid a collision, but also enable the vehicle to enter the designated position safely and smoothly in a narrow garage or parking space environment. As for the lateral control of the vehicle, that is, the control of the vehicle steering wheel, a method based on geometric tracking or a method based on a dynamic model, etc., can be used, and the prior art can be referred to, and this application will not go into details.
[0065] This application predicts the collision time between the vehicle and surrounding obstacles according to the current driving situation, and divides the collision risk level based on the collision time. Then, according to the current collision risk situation, the safe braking distance and target speed of the vehicle are determined, so as to perform corresponding deceleration and braking control on the vehicle within the safe braking distance, so as to reduce the speed to pass the obstacle or brake to prevent the vehicle from colliding with the surrounding obstacles. At the same time, through reasonable speed planning and control, the acceleration and impact of the vehicle during parking are reduced, so that passengers feel more stable, and finally the vehicle can achieve safe, efficient and comfortable parking operations in various complex parking environments.
[0066] Please refer to Figure 2 , Figure 2 FIG. 1 is a logic diagram of an automatic parking collision avoidance method in another embodiment of the present application. Figure 2 As shown in FIG. 1 , the control process of automatic parking collision avoidance mainly includes:
[0067] S201: Determine the collision time between the vehicle and the target obstacle based on the driving trajectory of the vehicle.
[0068] In this embodiment, the collision distance between the vehicle and the target obstacle is first determined based on the planned path of the vehicle within a preset time in the future and the movement information of the target obstacle, and then the collision time is determined based on the collision distance and the current vehicle speed.
[0069] The preset time should not be too short. If there is a collision risk, the vehicle may not have time to react and may collide with the target obstacle. The preset time should not be too long either, because the state of the target obstacle may be constantly changing. If the preset time is too long, the accuracy of the collision risk prediction is not high. For example, the preset time can be set to 4 seconds.
[0070] like Figure 2 As shown in the figure, by obtaining the current position information of the vehicle (including vehicle speed, heading, etc.), as well as the planned path of the vehicle in the next 4 seconds and the movement information of the target obstacle (including the position, direction, speed, etc. of the target obstacle), it is determined whether the target obstacle will intersect with the vehicle path. If there is a possibility of intersection, it is considered that there is a risk of collision between the vehicle and the target obstacle, and the intersection point is the possible collision point. The collision distance is the distance between the current vehicle and the collision point. Then, the possible collision time can be calculated based on the collision distance and the current vehicle speed.
[0071] Specifically, when the target obstacle is stationary, the collision time TTC = 3.6*ObjDis / Vh, where the collision time TTC is in seconds, ObjDis is the collision distance in meters, and Vh is the vehicle speed in kilometers per hour. When the target obstacle is moving, the calculation method is similar, but the vehicle speed Vh needs to be replaced by the relative speed between the vehicle and the target obstacle.
[0072] Afterwards, the collision risk level of the vehicle can be divided based on the collision time, so that corresponding collision avoidance measures can be taken to ensure parking safety. The specific process is as follows:
[0073] S202: When the collision time is greater than a first collision time threshold, determine that the collision risk level is a low risk level, and execute a first speed reduction strategy.
[0074] In this embodiment, the first collision time threshold can be considered based on the driving conditions and environmental conditions of the vehicle in the actual parking environment. For example, in the case where the collision risk is determined by intercepting the planned path of the vehicle within the next 4 seconds, the first collision time threshold can be set to 3 seconds. When the predicted collision time is greater than 3 seconds, it means that the current situation is not very urgent. At this time, the collision risk level is determined to be a low risk level, and the first speed reduction strategy is executed to allow the vehicle to safely bypass the target obstacle at a low speed.
[0075] like Figure 2 As shown, specifically, the process of executing the first speed reduction strategy includes:
[0076] S202-1: When the target obstacle is in a stationary state, determine a safe braking distance based on a preset first safe distance; and determine a target vehicle speed based on a preset first deceleration and the safe braking distance.
[0077] In this embodiment, the first safety distance represents the shortest distance from the stationary target obstacle when the vehicle slows down to the safe speed. Therefore, the safe braking distance TargetDistance of the vehicle can be determined based on the preset first safety distance:
[0078] TargetDistance=ObjDis-SafeDis
[0079] Wherein, ObjDis represents the collision distance between the vehicle and the target obstacle, and SafeDis represents the preset first safety distance.
[0080] That is, the vehicle needs to perform braking and deceleration operations within the safe braking distance. For example, when the collision distance between the vehicle and the target obstacle is 5 meters and the first safe distance is set to 1 meter, the vehicle needs to perform deceleration operations within 4 meters and finally reach a safe speed, such as 2km / h.
[0081] Furthermore, during the braking deceleration process, the real-time target speed of the vehicle can be calculated as follows:
[0082]
[0083] Among them, TarSpeed represents the target vehicle speed, TarAccAim represents the preset first deceleration, and Vh represents the current vehicle speed.
[0084] In specific implementation, the first deceleration TarAccAim can be obtained through actual vehicle test calibration, so as to make adaptive adjustments to different types of roads (such as highways, urban roads, rural roads, etc.) and traffic conditions (such as congestion, smooth traffic, construction, etc.), to ensure that the autonomous driving system can reasonably, effectively and accurately control the vehicle deceleration under different road conditions and traffic environments, which helps to avoid the risk of collision caused by inaccurate deceleration and improve the safety of autonomous driving. At the same time, it makes the autonomous driving vehicle more stable during the deceleration process, which is conducive to improving the ride comfort and user satisfaction of autonomous driving.
[0085] In this embodiment, when the target obstacle is stationary, since only the vehicle itself is moving, the safe braking distance of the vehicle is determined based on a fixed safety distance, and the real-time target speed of the vehicle is calculated according to the safe braking distance and the preset first deceleration, so as to adjust the vehicle state in real time to avoid collision with the target obstacle and ensure parking safety.
[0086] S202-2: When the target obstacle is in a moving state, determine a safe braking distance based on the vehicle's following distance and the relative distance between the vehicle and the target obstacle; determine a target vehicle speed based on a preset second deceleration and the safe braking distance.
[0087] In this embodiment, the following distance can be understood as the time required for the driver of the following vehicle to take braking measures to completely stop the vehicle after discovering the front vehicle. The following distance is related to the vehicle speed. The faster the vehicle speed, the larger the following distance, and the slower the vehicle speed, the smaller the following distance. The product of the following distance and the speed represents the following distance. When both the vehicle and the target obstacle are moving, the vehicle needs to maintain a safe following distance from the target obstacle to ensure that the vehicle has enough time and space to avoid collision in an emergency and ensure driving safety.
[0088] The relative distance between the vehicle and the target obstacle refers to the real-time distance between the vehicle and the target obstacle. Therefore, based on the vehicle's following distance and the relative distance between the vehicle and the target obstacle, the vehicle's safe braking distance TargetDistance can be determined:
[0089]
[0090] Wherein, DtcBrakeDis represents the relative distance between the vehicle and the target obstacle, and TimeGap represents the time gap between the following vehicles. In this embodiment, the time gap between the following vehicles is flexibly adjusted according to the vehicle speed to ensure that the vehicle has sufficient reaction time and braking distance in an emergency.
[0091] Specifically, if TargetDistance>0, then:
[0092]
[0093] If TargetDistnace<0, then:
[0094]
[0095] TarAccAim represents a second deceleration, which may be the same as or different from the first deceleration used by the vehicle to decelerate when the target obstacle is stationary.
[0096] In this embodiment, when the target obstacle is in a moving state, if the safe braking distance TargetDistance is greater than 0, that is, the distance between the current vehicle and the target obstacle is greater than the safe following distance that needs to be maintained, it means that the current vehicle is still far away from the target obstacle, so the speed can be appropriately increased at this time to improve parking efficiency. For example, when the vehicle and the target obstacle are traveling in the same direction, when the target obstacle accelerates, the vehicle also accelerates to achieve a good collision avoidance function of following the vehicle. However, if the safe braking distance TargetDistance is less than 0, that is, the distance between the current vehicle and the target obstacle is less than the safe following distance that needs to be maintained, it means that the current vehicle is relatively close to the target obstacle, so it is necessary to decelerate appropriately at this time to maintain a safe following distance to ensure parking safety.
[0097] In this embodiment, when the target obstacle is in a moving state, both the vehicle and the target obstacle are moving, so at this time, the following distance is determined based on the current vehicle speed to dynamically determine the current safe following distance that needs to be maintained, and then determine the safe braking distance of the vehicle. Then, the real-time target speed of the vehicle is calculated based on the safe braking distance and the preset second deceleration, so as to adjust the state of the vehicle itself in real time according to the moving state of the target obstacle, avoid collision with the target obstacle, ensure parking safety and improve parking efficiency.
[0098] It should be noted that there is no order of precedence between the above steps S202-1 and S202-2, which are just different speed control methods adopted for different motion states of the target obstacle.
[0099] In this embodiment, when the collision risk level of the vehicle is low and the first deceleration strategy is executed, different deceleration methods are adopted according to the different motion states of the target obstacles. For stationary target obstacles, more reaction time and braking distance are reserved by detecting and decelerating in advance, thereby avoiding collision, and the deceleration process is smoother and more controllable. For moving target obstacles, the future driving conditions are predicted according to the speed and path, and the vehicle speed and driving rhythm are adjusted accordingly, making the entire driving process smoother and more efficient, reducing sudden braking and sudden acceleration, thereby improving passenger comfort and driving experience.
[0100] S203: When the collision time is less than or equal to the first collision time threshold and greater than the second collision time threshold, determine that the collision risk level is a medium risk level, and execute a second speed reduction strategy.
[0101] In this embodiment, the second collision time threshold can be considered based on the driving conditions and environmental conditions of the vehicle in the actual parking environment. For example, in the case where the risk of collision is determined by intercepting the planned path of the vehicle within the next 4 seconds, the first collision time threshold can be set to 3 seconds and the second collision time threshold can be set to 1 second. When the predicted collision time is greater than 1 second and less than 3 seconds, it means that the current situation is more urgent. At this time, the collision risk level is determined to be a medium risk level, and the second speed reduction strategy is executed to allow the vehicle to safely bypass the target obstacle at a low speed.
[0102] like Figure 2 As shown, specifically, the process of executing the second speed reduction strategy is similar to the process of executing the first speed reduction strategy under the above-mentioned low risk level, and corresponding control is also performed according to the different motion states of the target obstacle, except that the deceleration (TarAccAim) and the following vehicle distance TimeGap during the speed reduction process are appropriately enlarged.
[0103] In addition, it should be noted that when the moving target obstacle is a pedestrian and the pedestrian has a tendency to cross, the collision risk level needs to be increased from a low risk level or a medium risk level to a high risk level, and an emergency braking strategy is executed to stop the vehicle and ensure safety.
[0104] In specific implementation, whether a pedestrian has a tendency to cross the road can be judged through multiple technical means such as multi-sensor fusion, behavior prediction algorithm, and context-based understanding. When the pedestrian's moving speed Vp>0.8m / s toward the center of the road is detected, it is considered that the pedestrian has a tendency to cross the road. At this time, the emergency braking strategy is executed to give way to the pedestrian to avoid collision with the pedestrian.
[0105] S204: When the collision time is less than or equal to the second collision time threshold, determine the collision risk level of the vehicle based on the image detection result of the target obstacle, and execute a braking stop strategy in the case of a high risk level.
[0106] In this embodiment, in the case of a high risk level, a braking strategy is executed: a safe braking distance is determined based on the second safe distance, and the target vehicle speed is zero.
[0107] The second safety distance represents the shortest distance from the target obstacle when the vehicle stops. When the target obstacle is stationary, the second safety distance is less than or equal to the first safety distance, and the safe braking distance of the vehicle is calculated in the manner of step S203-1 above. When the target obstacle is moving, the second safety distance is determined based on the current vehicle speed and the following distance in the manner of step S203-2 above, and the safe braking distance of the vehicle is calculated in the manner of step S203-2 above. Then, the target speed is directly set to 0, and the target deceleration At_Emergency of the vehicle is determined based on the target speed and the safe braking distance:
[0108] At_Emergency=(0 2 -Vh_mps 2 ) / 2*TargetDistance
[0109] Wherein, Vh represents the current speed of the vehicle, and TargetDistance represents the safe braking distance. Thus, the vehicle is directly controlled to brake at the target deceleration, so that the vehicle stops at the safe braking distance, realizes emergency braking, and avoids collision with the target obstacle.
[0110] In a feasible implementation manner, when the collision time is less than or equal to the second collision time threshold, it indicates that the current situation is very urgent. At this time, the collision risk level is determined to be a high risk level, and a braking strategy is executed.
[0111] In another feasible implementation, since the collision time and the collision risk level are determined comprehensively based on the planned path of the vehicle and the moving path of the target obstacle obtained through image detection, that is, the accuracy of the image detection result of the target obstacle will also affect the judgment of the collision risk. Therefore, in order to improve the accuracy of risk judgment, reduce the probability of triggering the braking stop strategy at a high risk level, and avoid mis-triggering of emergency braking resulting in a poor user experience, this embodiment further determines whether the current situation of the vehicle is really very critical and belongs to a high risk level based on the image detection result of the target obstacle when the collision time is less than or equal to the second collision time threshold.
[0112] Specifically, the process mainly includes: when the image detection results of a first preset number of consecutive frames all indicate that the confidence of the target obstacle is greater than or equal to a first confidence threshold, determining the collision risk level to be a high risk level; when any image detection result among the image detection results of a first preset number of consecutive frames indicates that the confidence of the target obstacle is less than the first confidence threshold, determining the collision risk level to be a medium risk level.
[0113] In this embodiment, the target fusion image captured by the vehicle camera can be used to identify and classify obstacles through a deep learning network model to obtain image detection results, including the coordinates, type (such as vehicle or pedestrian) and confidence level of the target obstacle.
[0114] Among them, the deep learning network model can be a Convolutional Neural Networks (CNN) model, a Deep Belief Networks (DBN) model, a Stacked Auto Encoder Networks (SAE) model, a Recurrent Neural Networks (RNN) model, a Deep Neural Networks (DNN) model, a Long Short-Term Memory (LSTM) network model or a Gated Recurring Units (GRU) model, etc. The type of deep learning network model is not limited here and can be set according to actual needs.
[0115] The confidence reflects the credibility or accuracy of the model for the detection result. When the confidence of the target obstacle is greater than or equal to the first confidence threshold, the detection result is considered reliable. When the image detection results of the first preset number of consecutive frames all indicate that the confidence of the target obstacle is greater than or equal to the first confidence threshold, that is, when the image detection results of multiple consecutive frames are reliable, if the collision time is still less than or equal to the second collision time threshold, it means that the current situation of the vehicle is really very critical. At this time, the collision risk level of the vehicle is determined to be a high risk level. If, in multiple consecutive image detection results, there is a situation where the confidence of the target obstacle is less than the first confidence threshold, that is, there is an unreliable detection result, even if the collision time is still less than or equal to the second collision time threshold, in order to avoid false triggering of emergency braking, the collision risk level of the vehicle is determined to be a medium risk level, and the above-mentioned second speed reduction strategy is executed.
[0116] This embodiment determines the collision risk level of the vehicle by combining the collision time and the image detection result of the target obstacle, which can improve the accuracy of collision risk judgment and reduce the probability of triggering the braking stop strategy at a high risk level.
[0117] S205: At the high risk level, if the motion state of the target obstacle meets the preset conditions, it is downgraded to the medium risk level and the judgment time of the emergency braking scene is prolonged.
[0118] In this embodiment, the target obstacle includes a target vehicle and a target pedestrian. When the ratio of the portion of the detection frame of the target vehicle outside the lane to the detection frame exceeds a ratio threshold, or when the target pedestrian has no tendency to cross, it is determined that the motion state of the target obstacle meets the preset condition.
[0119] Specifically, the ratio threshold can be set to 80%. When the ratio of the portion of the target vehicle's detection frame outside the lane to the detection frame exceeds the ratio threshold of 80%, it means that most of the target vehicle is outside the lane. At this time, for the vehicle normally traveling in the lane, it is usually possible to slow down and bypass it, and there is no need to perform emergency braking. The same is true when the target obstacle is a target pedestrian who is outside the lane and has no tendency to cross. Therefore, in this embodiment, when the collision risk level is determined to be a high-risk level through the above steps S201-S204, if the target obstacle is a vehicle and the ratio of the portion of the target vehicle's detection frame outside the lane to the detection frame exceeds the ratio threshold, or the target obstacle is a pedestrian and the target pedestrian has no tendency to cross, the collision risk level is reduced to a medium-risk level, and the above-mentioned second deceleration strategy is executed, and the braking and stopping strategy under the high-risk level is temporarily not executed to improve the driving experience.
[0120] At the same time, after the risk level is reduced to medium, the judgment time of the emergency braking scene is lengthened, for example, the frame number requirement of the high-risk image detection result is extended from the original 2 frames to 10 frames, and the target obstacle is continuously monitored to re-determine the collision risk level of the vehicle according to the actual situation. Specifically, the process includes:
[0121] When the motion state of the target obstacle meets the preset conditions, if the image detection results of a second consecutive preset number of frames all indicate that the confidence of the target obstacle is greater than or equal to the second confidence threshold, the collision risk level is determined to be a high risk level; when the motion state of the target obstacle meets the preset conditions, if any image detection result of the image detection results of a second consecutive preset number of frames indicates that the confidence of the target obstacle is less than the second confidence threshold, the collision risk level is determined to be a medium risk level.
[0122] In this embodiment, the second confidence threshold is greater than or equal to the above-mentioned first confidence threshold, and the second preset number of frames is greater than the first preset number of frames. For example, under normal circumstances, the judgment requirement for the high-risk level is: the image detection results of 2 consecutive frames both indicate that the confidence of the target obstacle is greater than or equal to 70%, and the collision time is less than 1 second. In the case where the ratio of the part of the detection frame of the target vehicle located outside the lane to the detection frame exceeds the ratio threshold of 80%, the judgment requirement for the high-risk level is further limited to: the image detection results of 10 consecutive frames all indicate that the confidence of the target obstacle is greater than or equal to 70%, and the collision time is less than 1 second. Alternatively, in the case where the target pedestrian does not have a tendency to cross, the judgment requirement for the high-risk level is further limited to: the image detection results of 5 consecutive frames all indicate that the confidence of the target obstacle is greater than or equal to 70%, and the collision time is less than 1 second.
[0123] Therefore, when the motion state of the target obstacle meets the preset conditions, the frame number requirement of the image detection result in the high-risk level judgment requirement is increased to lengthen the judgment time of the emergency braking scenario, and the process is downgraded to the medium-risk level within this time. Emergency braking is not performed until the new high-risk level judgment requirement is met, so as to avoid false triggering of emergency braking and resulting in a poor user experience.
[0124] S206: At high risk levels, increase the safe distance for ultrasonic braking.
[0125] In this embodiment, when the ultrasonic sensor detects an obstacle ahead, it will calculate the distance to the obstacle based on the time difference between the ultrasonic wave transmission and reception. When the detected distance is less than the safe distance for ultrasonic braking, the braking operation will be automatically triggered to reduce the speed of the vehicle or completely stop the vehicle, thereby avoiding or reducing a collision accident.
[0126] This embodiment increases the trigger threshold of ultrasonic braking while performing emergency braking at a high risk level, and uses ultrasonic braking as a safety redundancy measure at a high risk level to avoid the problem of losing the forward vision or front radar target due to the target being too close, and then being unable to accurately know the distance to the target, causing a collision accident.
[0127] Please refer to Figure 3 Based on the same inventive concept, the second aspect of the embodiment of the present application provides an automatic parking collision avoidance device, the automatic parking collision avoidance device 300 includes:
[0128] A collision time calculation module 301 is used to determine the collision time between the vehicle and the target obstacle;
[0129] A collision level classification module 302 is used to determine the collision risk level of the vehicle based on the collision time;
[0130] The collision avoidance decision module 303 is used to determine the safe braking distance and target vehicle speed of the vehicle under the collision risk level based on the motion state of the target obstacle;
[0131] The parking control module 304 is used to perform parking control on the vehicle based on the safe braking distance and the target vehicle speed.
[0132] Optionally, the collision time calculation module 301 includes:
[0133] A collision distance calculation submodule is used to determine the collision distance between the vehicle and the target obstacle based on the planned path of the vehicle within a preset time in the future and the movement information of the target obstacle;
[0134] The collision time calculation submodule is used to determine the collision time based on the collision distance and the current vehicle speed.
[0135] Optionally, the collision level classification module 302 includes:
[0136] A low risk judgment submodule, used to determine that the collision risk level is a low risk level when the collision time is greater than a first collision time threshold;
[0137] A medium risk judgment submodule, used to determine that the collision risk level is a medium risk level when the collision time is less than or equal to the first collision time threshold and greater than the second collision time threshold;
[0138] The high risk judgment submodule is used to determine the collision risk level of the vehicle based on the image detection result of the target obstacle when the collision time is less than or equal to the second collision time threshold.
[0139] Optionally, the high-risk judgment submodule includes:
[0140] A first judgment unit is used to determine that the collision risk level is a high risk level when the image detection results of a first preset number of consecutive frames all indicate that the confidence level of the target obstacle is greater than or equal to a first confidence threshold;
[0141] The second judgment unit is used to determine that the collision risk level is a medium risk level when any image detection result among the image detection results of the first preset number of consecutive frames indicates that the confidence level of the target obstacle is less than a first confidence threshold.
[0142] Optionally, the high risk judgment submodule further includes:
[0143] A third judgment unit is used to determine that the collision risk level is a high risk level if the image detection results of a second preset number of consecutive frames indicate that the confidence level of the target obstacle is greater than or equal to a second confidence threshold when the motion state of the target obstacle meets the preset condition; wherein the second preset number of frames is greater than the first preset number of frames;
[0144] The fourth judgment unit is used to determine that the collision risk level is a medium risk level if any image detection result among the image detection results of a second preset number of consecutive frames indicates that the confidence of the target obstacle is less than a second confidence threshold when the motion state of the target obstacle meets the preset conditions.
[0145] Optionally, the third judgment unit is further used for:
[0146] When the ratio of the portion of the detection frame of the target vehicle outside the lane to the detection frame exceeds a ratio threshold, or when the target pedestrian has no tendency to cross, it is determined that the motion state of the target obstacle meets the preset conditions.
[0147] Optionally, when the collision risk level is a low risk level or a medium risk level, the collision avoidance decision module 303 includes:
[0148] The stationary decision submodule is used to determine the safe braking distance based on the preset first safe distance when the motion state of the target obstacle is stationary; and to determine the target vehicle speed based on the preset first deceleration and the safe braking distance.
[0149] Optionally, when the collision risk level is a low risk level or a medium risk level, the collision avoidance decision module 303 further includes:
[0150] The dynamic decision submodule is used to determine the safe braking distance based on the vehicle's following distance and the relative distance between the vehicle and the target obstacle when the target obstacle is in a moving state; and to determine the target vehicle speed based on a preset second deceleration and the safe braking distance.
[0151] Optionally, when the collision risk level is a high risk level, the collision avoidance decision module 303 includes:
[0152] The brake stop submodule is used to determine a safe braking distance based on the second safe distance, and the target vehicle speed is zero.
[0153] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0154] On the third aspect, based on the same inventive concept, an embodiment of the present application provides a storage medium, in which machine executable instructions are stored. When the machine executable instructions are executed by a processor, the automatic parking collision avoidance method proposed in the first aspect of the present application is implemented.
[0155] It should be noted that the specific implementation of the storage medium in the embodiment of the present application refers to the specific implementation of the automatic parking collision avoidance method proposed in the first aspect of the embodiment of the present application, and will not be repeated here.
[0156] In the fourth aspect, based on the same inventive concept, refer to Figure 4 An embodiment of the present application provides a vehicle 400, including a processor 401 and a memory 402; the memory 402 stores machine executable instructions that can be executed by the processor 401, and the processor 401 is used to execute the machine executable instructions to implement the automatic parking collision avoidance method proposed in the first aspect of the present application.
[0157] It should be noted that the specific implementation of the vehicle 400 in the embodiment of the present application refers to the specific implementation of the automatic parking collision avoidance method proposed in the first aspect of the embodiment of the present application, and will not be repeated here.
[0158] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0159] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0160] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0161] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1A function specified in one or more boxes.
[0162] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0163] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0164] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0165] The above is a detailed introduction to the automatic parking collision avoidance method, device, medium and vehicle provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. An automatic parking collision avoidance method, It is characterized in that The method comprises: Determine the collision time between the vehicle and the target obstacle; determining a collision risk level of the vehicle based on the collision time; Determining a safe braking distance and a target vehicle speed of the vehicle at the collision risk level based on the motion state of the target obstacle; Parking control is performed on the vehicle based on the safe braking distance and the target vehicle speed.
2. The method according to claim 1, It is characterized in that Determining a collision risk level of the vehicle based on the collision time includes: When the collision time is greater than a first collision time threshold, determining the collision risk level to be a low risk level; When the collision time is less than or equal to a first collision time threshold and greater than a second collision time threshold, determining that the collision risk level is a medium risk level; When the collision time is less than or equal to a second collision time threshold, a collision risk level of the vehicle is determined based on an image detection result of the target obstacle.
3. The method according to claim 2, It is characterized in that Determining a collision risk level of the vehicle based on an image detection result of the target obstacle includes: When the image detection results of a first preset number of consecutive frames all indicate that the confidence level of the target obstacle is greater than or equal to a first confidence threshold, determining that the collision risk level is a high risk level; In the case where, among the image detection results of a first preset number of consecutive frames, any image detection result indicates that the confidence level of the target obstacle is less than a first confidence threshold, the collision risk level is determined to be a medium risk level.
4. The method according to claim 3, It is characterized in that Determining a collision risk level of the vehicle based on an image detection result of the target obstacle includes: When the motion state of the target obstacle meets the preset conditions, if the image detection results of a second preset number of consecutive frames all indicate that the confidence of the target obstacle is greater than or equal to a second confidence threshold, the collision risk level is determined to be a high risk level; wherein the second preset number of frames is greater than the first preset number of frames; When the motion state of the target obstacle meets the preset conditions, if any of the image detection results of a second preset number of consecutive frames indicates that the confidence of the target obstacle is less than a second confidence threshold, the collision risk level is determined to be a medium risk level.
5. The method according to claim 4, It is characterized in that The target obstacles include target vehicles and target pedestrians; the method further includes: When the ratio of the portion of the detection frame of the target vehicle outside the lane to the detection frame exceeds a ratio threshold, or when the target pedestrian has no tendency to cross, it is determined that the motion state of the target obstacle meets the preset condition.
6. The method according to claim 2 or 3, It is characterized in that When the collision risk level is a low risk level or a medium risk level, determining the safe braking distance and the target vehicle speed of the vehicle at the collision risk level based on the motion state of the target obstacle includes: When the moving state of the target obstacle is a stationary state, determining the safe braking distance based on a preset first safety distance; The target vehicle speed is determined based on a preset first deceleration and the safe braking distance.
7. The method according to claim 2 or 3, It is characterized in that When the collision risk level is a low risk level or a medium risk level, determining the safe braking distance and the target vehicle speed of the vehicle at the collision risk level based on the motion state of the target obstacle includes: When the motion state of the target obstacle is a moving state, determining the safe braking distance based on the following distance of the vehicle and the relative distance between the vehicle and the target obstacle; The target vehicle speed is determined based on a preset second deceleration and the safety braking distance.
8. The method according to claim 3, It is characterized in that When the collision risk level is a high risk level, determining the safe braking distance and target vehicle speed of the vehicle at the collision risk level based on the motion state of the target obstacle includes: The safe braking distance is determined based on a second safe distance, and the target vehicle speed is zero.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the automatic parking collision avoidance method as claimed in any one of claims 1 to 8 is implemented.
10. A vehicle, It is characterized in that It comprises a processor and a memory; the memory stores machine executable instructions that can be executed by the processor, and the processor is used to execute the machine executable instructions to implement the automatic parking collision avoidance method as described in any one of claims 1 to 8.
Citation Information
Cited By
Vehicle control method and device, medium and vehicle
CN119261887A
Vehicle control methods, devices, media and vehicles
CN119261887B
Vehicle braking method, device and equipment
CN119682708A
Parking method, device, equipment and storage medium
CN119872530A
Safety device for reducing back-up collision risk in automatic driving test process
CN119905006A
