Obstacle detection method, device, electronic device, vehicle and storage medium
The obstacle detection method through the fusion of multi-sensor historical observation data solves the problems of short detection range and false recall of low objects by vehicle-mounted ultrasonic reversing radar, improves the accuracy and real-time performance of obstacle detection, and is suitable for autonomous driving cruise scenarios.
Patent Information
- Application Number
- CN202110558357.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-21
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-05-21
AI Technical Summary
Existing vehicle-mounted ultrasonic reversing radar has the problems of short detection range, low real-time performance and low obstacle detection accuracy in obstacle detection. It is especially unable to effectively detect long-distance and low objects in autonomous driving cruise scenarios.
An obstacle detection method based on the fusion of multi-sensor historical observation data is adopted to improve the detection accuracy and real-time.
It effectively improves the obstacle recall rate and real-time performance, significantly improves the accuracy of long-distance detection, reduces the probability of false detection of low objects, and is suitable for high-demand scenarios such as autonomous driving and cruising.
Smart Images

Figure CN113281760B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of autonomous driving technology, and in particular to an obstacle detection method, device, electronic device, vehicle, non-transitory computer-readable storage medium, and computer program product. Background Art
[0002] In order to reduce the occurrence of safety accidents, more and more vehicles are equipped with ultrasonic radars to detect obstacles within a preset scanning range in real time. This type of ultrasonic radar is usually called a reversing radar. In related technologies, vehicle-mounted ultrasonic reversing radar obstacle detection focuses on single-frame processing, mainly including the use of secondary echo comparison, single echo echo energy filtering, obstacle point area cutting, etc. as processing solutions, and determines whether to output a valid obstacle based on the processing results of the single frame. Summary of the invention
[0003] The present disclosure provides a vehicle-mounted ultrasonic obstacle detection method, device, electronic device, vehicle, non-transitory computer-readable storage medium and computer program product based on multi-sensor historical observation data fusion.
[0004] According to a first aspect of the present disclosure, there is provided an obstacle detection method, comprising:
[0005] Acquiring vehicle body posture change information, and predicting the position of historically observed obstacles based on the vehicle body posture change information to obtain predicted position information of the historically observed obstacles;
[0006] Obtain the location information of the candidate obstacles obtained by the current observation;
[0007] According to the predicted position information of the historically observed obstacle and the position information of the candidate obstacle, the historically observed obstacle and the candidate obstacle are associated to generate a known obstacle;
[0008] The confidence level of the known obstacles is obtained, and valid obstacles are determined from the known obstacles according to the confidence level.
[0009] According to a second aspect of the present disclosure, there is provided an obstacle detection device, comprising:
[0010] The first acquisition module is used to acquire the vehicle body posture change information;
[0011] A position prediction module, used to predict the position of the historically observed obstacle according to the vehicle body posture change information, and obtain the predicted position information of the historically observed obstacle;
[0012] The second acquisition module is used to obtain the position information of the candidate obstacle obtained by the current observation;
[0013] an association module, configured to associate the historically observed obstacle with the candidate obstacle according to the predicted position information of the historically observed obstacle and the position information of the candidate obstacle, so as to generate a known obstacle;
[0014] A third acquisition module is used to obtain the confidence level of the known obstacle;
[0015] A determination module is used to determine a valid obstacle from the known obstacles according to the confidence level.
[0016] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0017] at least one processor; and
[0018] a memory communicatively coupled to the at least one processor;
[0019] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the obstacle detection method described in the first aspect embodiment.
[0020] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the obstacle detection method described in the embodiment of the first aspect above.
[0021] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the obstacle detection method described in the embodiment of the first aspect is implemented.
[0022] According to a sixth aspect of the present disclosure, a vehicle is provided, comprising: a plurality of sensors for observing the surrounding environment of the vehicle and the obstacle detection device described in the embodiment of the second aspect.
[0023] The technology disclosed in the present invention solves the problems of short ultrasonic detection distance and false recall of low objects, improves the long-distance recall rate, and improves the real-time recall of obstacles.
[0024] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0026] Figure 1is a flow chart of an obstacle detection method according to an exemplary embodiment;
[0027] Figure 2 is an example diagram of a process of generating known obstacles according to an embodiment of the present disclosure;
[0028] Figure 3 is a flowchart of algorithm processing in the obstacle detection method of an embodiment of the present disclosure;
[0029] Figure 4 is a block diagram of an obstacle detection device according to an exemplary embodiment;
[0030] Figure 5 is a block diagram of a vehicle according to an exemplary embodiment;
[0031] Figure 6 The block diagram is a block diagram of an electronic device used to implement the obstacle detection method according to the embodiment of the present disclosure. DETAILED DESCRIPTION
[0032] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0033] In the related technology, the obstacle detection of vehicle-mounted ultrasonic reversing radar focuses on single-frame processing, mainly including the use of secondary echo comparison, single echo echo energy filtering, obstacle point area cutting, etc. as processing solutions, as follows: 1) Secondary echo comparison refers to caching the data of the same sensor. When new observation data enters, the distance value of the current frame is obtained according to the observation data, and the distance value of the current frame is subtracted from the distance value of the previous frame. If the difference is less than the set threshold, the observation is considered valid, otherwise the observation is considered invalid. 2) Single echo echo energy filtering: Ultrasonic detection obstacles all have echo energy information. A certain energy threshold is set according to the calibration. If the observed obstacle distance energy value is higher than the set energy threshold, the observation is considered valid, otherwise the observation is considered invalid. 3) Divide the corresponding effective obstacle detection area according to the sensor installation position. For sensor observation, if the sensor observes an obstacle in the effective obstacle detection area, the obstacle observation is considered valid, otherwise the obstacle observation is considered invalid.
[0034] However, the above scheme focuses on real-time single-frame observation data processing and more on information filtering on the one-dimensional original detection distance, resulting in problems such as short detection distance, low real-time performance, and low obstacle detection accuracy. For example, the vehicle-mounted ultrasonic reversing radar obstacle detection in the related art mainly has the following shortcomings in terms of function realization:
[0035] 1) Short detection distance. Since it is impossible to effectively distinguish whether a long-distance obstacle is a false detection of ground detection, the actual distance for effective obstacle detection is very short, usually within 1.2m;
[0036] 2) The real-time performance is not high. Since the original detection distance of multiple frames of obstacles is cached for comparison and confirmation, the delay in detecting obstacles is relatively large.
[0037] 3) The obstacle detection accuracy is low. The accuracy here is reflected in two aspects. On the one hand, since there is no position tracking based on historical obstacles, the obstacle position deviation is relatively large. On the other hand, low obstacles cannot be filtered very effectively, resulting in false obstacle detection.
[0038] That is to say, the obstacle detection data processing scheme in the related art is to determine the echo energy threshold, confirm the previous and next frames twice or three times, and limit the obstacles observed within the theoretical ground detection range (such as 1.2 meters) to be effective obstacles. This scheme can meet the needs of traditional reversing radar and APA (Auto Parking Assist), but it is not applicable to AVP (Autonomous Valet Parking) scenarios that require autonomous driving cruising at a certain speed.
[0039] In order to solve the problems of short ultrasonic detection distance and false recall of low objects, improve the long-distance recall rate, and improve the real-time recall of obstacles, the present invention proposes a vehicle-mounted ultrasonic radar obstacle detection method, device, electronic device and storage medium based on multi-sensor historical observation data fusion, which can be applicable to AVP scenarios, APA scenarios, reversing radars, vehicle-mounted ultrasonic obstacle detection scenarios, etc.
[0040] The obstacle detection method, device, electronic device, and storage medium according to the embodiments of the present disclosure are described below with reference to the accompanying drawings.
[0041] Figure 1 is a flow chart of an obstacle detection method according to an exemplary embodiment. It should be noted that the obstacle detection method of the embodiment of the present disclosure can be applied to the obstacle detection device of the embodiment of the present disclosure, and the obstacle detection device can be configured in an electronic device. As an example, the electronic device can be set on a vehicle so that the vehicle has an obstacle detection function. Figure 1As shown, the obstacle detection method may include the following steps.
[0042] In step 101, vehicle body posture change information is obtained.
[0043] As an example, the body posture change information of the ego vehicle is obtained through the observation data of multiple sensors on the vehicle. For example, based on the observation data of the previous frame of the multiple sensors and the observation data of the current frame, the posture change of the vehicle in the time difference between the two frames is obtained, and the posture change of the ego vehicle in the time difference between the two frames is used as the body posture change information of the ego vehicle.
[0044] In step 102, the position of the historically observed obstacle is predicted based on the vehicle body posture change information to obtain the predicted position information of the historically observed obstacle.
[0045] For example, the time of the previous frame of observation data detected by the multi-sensor and the time of the current frame of observation data detected by the multi-sensor can be determined, the time difference between the previous frame and the current frame can be calculated, and the position of the historically observed obstacle detected in the previous frame can be predicted based on the time difference between the previous frame and the current frame and the vehicle body posture change information between the two frames to obtain the predicted position information of the historically observed obstacle. The predicted position information can be two-dimensional coordinate information.
[0046] In step 103, the position information of the candidate obstacle currently observed is obtained.
[0047] Optionally, observation data of observation points generated by multiple ultrasonic radars are obtained, and candidate obstacles are calculated by a triangulation positioning method to obtain position information of candidate obstacles currently observed by multiple sensors. The multiple sensors may be understood as multiple ultrasonic radar sensors.
[0048] In step 104, the historically observed obstacles and the candidate obstacles are associated with each other according to the predicted position information of the historically observed obstacles and the position information of the candidate obstacles to generate known obstacles.
[0049] It should be noted that, since the observation signals of multiple sensors are signals that change over time, the observation data between two adjacent frames are usually associated. For example, the candidate obstacle observed in the current frame will have a certain association with the historically observed obstacle in the previous frame (or previous frames). Therefore, after obtaining the position information of the currently observed candidate obstacle, the historically observed obstacle and the candidate obstacle can be associated according to the predicted position information of the historically observed obstacle and the position information of the candidate obstacle, and a known obstacle is generated according to the association result. Among them, the known obstacle refers to an obstacle that has been determined to be an obstacle, and the known obstacle may include deleted historically observed obstacles and currently observed obstacles; the deleted historically observed obstacles refer to the historically observed obstacles remaining after deleting the historically observed obstacles that are not associated with the observation data that are not involved in the calculation of the candidate obstacles; the currently observed obstacle refers to the candidate obstacle that has not been associated, that is, the candidate obstacle that has not been associated is regarded as the currently newly observed obstacle.
[0050] In one implementation, Figure 2 As shown, the method for generating the known obstacle may include the following steps:
[0051] Step 21, judging whether the candidate obstacle is associated according to the position information of the candidate obstacle;
[0052] Step 22, in response to the candidate obstacle not being associated, determining the candidate obstacle as a currently observed obstacle;
[0053] For example, based on the location information of the candidate obstacle, it can be determined whether the candidate obstacle can be associated with the historically observed obstacle. If the candidate obstacle cannot be associated with the historically observed obstacle, it means that the candidate obstacle is not a historically observed obstacle that has been observed and marked as an obstacle before, that is, it means that the candidate obstacle is a newly observed obstacle, and the candidate obstacle is determined as the currently observed obstacle.
[0054] Step 23, judging whether the historically observed obstacle is associated according to the predicted position information of the historically observed obstacle;
[0055] Step 24, in response to the historically observed obstacle not being associated, judging whether the historically observed obstacle is associated with the observation data that is not involved in the candidate obstacle calculation according to the predicted position information of the historically observed obstacle and the position information of the candidate obstacle;
[0056] For example, based on the predicted position information of the historically observed obstacle, it can be determined whether the historically observed obstacle can be associated with the candidate obstacle. If the historically observed obstacle can be associated with the candidate obstacle, the historically observed obstacle and the candidate obstacle may be the same obstacle observed by multiple sensors, or the historically observed obstacle may be a low obstacle. At this time, it is necessary to further determine whether the historically observed obstacle can be associated with the observation data that is not involved in the calculation of the candidate obstacle.
[0057] Step 25, in response to the historically observed obstacle being not associated with the observation data that is not involved in the calculation of the candidate obstacle, deleting the historically observed obstacle;
[0058] For example, if a historically observed obstacle cannot be associated with observation data that is not involved in the calculation of candidate obstacles, it can be considered that the historically observed obstacle may be a low obstacle (such as being observed only once and not observed in the current frame). In this case, the historically observed obstacle that may be a low obstacle can be deleted.
[0059] Step 26: determine the currently observed obstacle and the remaining historically observed obstacles obtained after deletion as the known obstacles.
[0060] For example, the currently observed obstacle and the remaining historically observed obstacles after deletion are determined as the known obstacles. The above process can be considered as a screening process for the currently known obstacles. This process can not only determine the currently newly observed candidate obstacles as new known obstacles, but also delete the historically observed obstacles that may be low obstacles, thereby effectively filtering the low obstacles.
[0061] In some embodiments, the screening process of the currently known obstacles may also include the following steps: in response to a candidate obstacle being associated, updating the position of the historically observed obstacle according to the position information of the candidate obstacle; in response to a historically observed obstacle being associated, updating the position of the historically observed obstacle according to the predicted position information of the historically observed obstacle; in response to the historically observed obstacle being associated with observation data that does not participate in the calculation of the candidate obstacle, updating the position of the historically observed obstacle.
[0062] For example, if it is determined that the candidate obstacle can be associated with the historically observed obstacle based on the position information of the candidate obstacle, it means that the candidate obstacle is a historically observed obstacle that has been observed and marked as an obstacle before, that is, it means that the candidate obstacle has been observed and determined to be a known obstacle. At this time, the position of the associated historically observed obstacle can be updated according to the position information of the candidate obstacle. When it is determined that the historically observed obstacle can be associated with the candidate obstacle based on the predicted position information of the historically observed obstacle, it means that the historically observed obstacle and the candidate obstacle may be the same obstacle observed by multiple sensors. At this time, the position of the historically observed obstacle can be updated according to the predicted position information of the historically observed obstacle. If it is determined that the historically observed obstacle can be associated with the observation data that does not participate in the calculation of the candidate obstacle, since the observation data that does not participate in the calculation of the candidate obstacle is usually not the observation data used to calculate the new obstacle, but is usually data related to the historically observed obstacle, at this time, the position of the historically observed obstacle can be updated according to the observation data that does not participate in the calculation of the candidate obstacle.
[0063] Therefore, the above method can realize the association processing of historical obstacles and candidate obstacles obtained by current observation, and determine the currently observed obstacles and the remaining historically observed obstacles obtained after deletion as the known obstacles. The above process can be regarded as the screening process of the current known obstacles. This process can not only determine the candidate obstacles newly observed at present as new known obstacles, and update the positions of the historically observed obstacles determined as known obstacles, but also delete the historically observed obstacles that may be low obstacles, so as to effectively filter the low obstacles.
[0064] In step 105, the confidence of the known obstacles is obtained, and valid obstacles are determined from the known obstacles according to the confidence.
[0065] Optionally, in the process of associating the historically observed obstacles with the candidate obstacles, the confidence of the known obstacles may be obtained by recording the associated feature information between the currently observed obstacle and the historically observed obstacles.
[0066] In one implementation, in the process of associating the historically observed obstacles with the candidate obstacles based on the predicted position information of the historically observed obstacles and the position information of the candidate obstacles, the associated feature information between the currently observed obstacle and the historically observed obstacle can be recorded, and the confidence of the known obstacle can be obtained based on the associated feature information.
[0067] In order to ensure the validity of the associated feature information and improve the accuracy of obstacle identification, the associated feature information between the currently observed obstacle and the historically observed obstacle can be recorded from multiple dimensions. Optionally, the associated feature information between the currently observed obstacle and the historically observed obstacle can be recorded from at least two dimensions of the obstacle observation variance, the obstacle observation sensor ID, the number of obstacle position associations, and the number of single distance associations. The single distance refers to the distance between the observation sensor and the obstacle, which can be determined by the single echo echo energy of the observation sensor.
[0068] It should be noted that the observation data of multiple sensors usually includes the ID of the current observation sensor, the location information of the observed obstacle, the single distance of the observed obstacle, and the obstacle observation variance. However, the dimensions of the associated feature information that can be described for the same obstacle may be different. The present application may include, but is not limited to, the two-dimensional coordinates of the obstacle within a certain range, the obstacle observation variance, the obstacle observation sensor ID, the single distance of the obstacle, etc. for the same obstacle. Therefore, in the embodiment of the present application, in the process of associating the historically observed obstacles with the candidate obstacles, the associated feature information between the currently observed obstacle and the historically observed obstacles can be recorded from at least two dimensions of the obstacle observation variance, the obstacle observation sensor ID, the number of obstacle location associations, and the number of single distance associations, which can ensure the validity of the associated feature information and improve the accuracy of obstacle identification.
[0069] In one implementation, in the process of associating historically observed obstacles with candidate obstacles, the associated feature information is recorded from four dimensions, namely, obstacle observation variance, obstacle observation sensor ID, obstacle position association times, and single distance association times. Therefore, the number of successful associations of the associated feature information can be counted, and for the same obstacle, the number of successful associations of the associated feature information of the obstacle can be used as the confidence of the obstacle.
[0070] In order to further effectively distinguish low obstacles and greatly reduce the probability of false detection of low obstacles, in some embodiments, when recording the associated feature information between the currently observed obstacle and the historically observed obstacle, the confidence of the known obstacle is generated by the confidence accumulation method. In other words, the present application records the historical associated feature information of the currently known obstacle, and expresses the recorded associated feature information by the confidence accumulation method, so as to obtain the confidence of the currently known obstacle.
[0071] For example, taking the historically observed obstacles among the known obstacles as an example, since the historical association feature information of the historically observed obstacles is usually obtained by associating the obstacles based on multiple frames of observation data, for example, assuming that there is a historically observed obstacle A in the Nth frame, the N+1th frame, and the N+2th frame, when the obstacles are associated according to the observation data of each frame, the historically observed obstacle A in the current frame can be associated with the candidate obstacles in the current frame. In each association, if the association is successful, the confidence of the historically observed obstacle A is increased by 1, and the obtained value is used as the latest confidence of the historically observed obstacle A. In this way, when the historically observed obstacle A is associated again and the association is successful, the latest confidence of the historically observed obstacle A can be increased by 1, and the obtained value is updated to the latest confidence of the historically observed obstacle A. Therefore, the confidence of the obstacle can be obtained by accumulating confidence.
[0072] It should be noted that since real obstacles are generally observed more times and there are many observable sensor angles and data, the accumulated confidence is higher, while low obstacles are only observed at specific distances and angles, so the accumulated confidence is small. Therefore, by adopting the method of confidence accumulation, low obstacles can be further effectively distinguished and the probability of false detection of low obstacles can be greatly reduced.
[0073] In order to ensure that the obstacles in the known obstacles are different obstacles, optionally, the same obstacles and the confidence of the same obstacles in the known obstacles are fused; according to the confidence obtained after the fusion process, the known obstacles with a confidence greater than or equal to a preset threshold are determined as valid obstacles from the known obstacles obtained after the fusion process. Thus, by fusing the same obstacles in the known obstacles, the purpose of deduplication is achieved; in addition, by determining the known obstacles with a confidence greater than or equal to the preset threshold as valid obstacles, the accuracy of effective obstacle detection can be improved. That is to say, when the confidence of the obstacle accumulates to the threshold, since the present disclosure has a correction output for each frame of current observation data, the obstacles detected and output are highly real-time, avoiding the problem of lag. In addition, the present disclosure uses the cumulative confidence method to confirm the validity of the obstacle, which can preserve the accuracy of obstacle detection in the long-distance segment and greatly improve the overall distance at which reliable obstacles can be detected.
[0074] According to the obstacle detection method of the embodiment of the present disclosure, the position of the historically observed obstacle is predicted using the vehicle body posture change information, and the position information of the candidate obstacle obtained by the current observation is associated with the updated historically observed obstacle and the position is updated, the historically observed obstacle and the candidate obstacle are associated, the confidence of all currently known obstacles is obtained, and the effective obstacle is selected and output according to a certain confidence setting rule among all known obstacles according to the confidence. It can be seen that the present disclosure records the historical associated feature information of the currently generated obstacle and expresses it in the form of confidence. When the confidence of the obstacle reaches the preset threshold, the effective obstacle is selected and given. Since the real obstacle is generally observed many times and the observable sensor angle and number are large, the accumulated confidence is high, and the low obstacle is only observed at a specific distance segment and angle, so the accumulated confidence is small. Therefore, the low obstacle can be effectively distinguished by this method, so that the probability of false detection of obstacle detection is greatly reduced. In addition, the present disclosure uses the real-time posture information of the vehicle and the real-time sensor observation information to fuse the position of the historically observed obstacle for tracking and calibration, which greatly improves the accuracy of the detected obstacle position.
[0075] In order to facilitate the understanding of those skilled in the art, Figure 3 The obstacle detection method of the embodiment of the present disclosure is described in detail.
[0076] like Figure 3 As shown, the algorithm processing in the obstacle detection method of the embodiment of the present disclosure may include the following steps:
[0077] Step 31: Obtain observation data of the observation point generated by the ultrasonic radar, for example, the distance from the observation point to the radar probe.
[0078] Step 32: Calculate candidate points through triangulation positioning method to form a candidate point set, where the candidate point set can be understood as the candidate obstacle information mentioned above.
[0079] In this embodiment, after obtaining the set of candidate points, it can be determined whether the trajectory pool is initialized. The trajectory pool can be understood as a storage pool for storing historical information of obstacles. When the trajectory pool is initialized, the historical information of the obstacle will be recorded in the trajectory pool. If the trajectory pool is not initialized, it means that there is no historical information of the obstacle in the trajectory pool. If it is determined that the trajectory pool is not initialized, it means that there is no historical information of the obstacle in the trajectory pool. At this time, all candidate points in the candidate points can be used to generate corresponding new trajectories, that is, all candidate points are used to generate corresponding new obstacles. If it is determined that the trajectory pool is initialized, it means that the historical information of the obstacle is stored in the trajectory pool, and step 33 can be executed at this time.
[0080] Step 33: According to the time difference between the previous frame and the current frame and the change in the vehicle's posture between the two frames, the positions of all the tracks in the track pool of the previous frame are predicted to obtain new two-dimensional coordinate information of all the tracks in the track pool.
[0081] It should be noted that the trajectories in the trajectory pool can be understood as historical obstacles.
[0082] Step 34: Perform data association and hybrid model tracking based on the new two-dimensional coordinate information of all trajectories in the trajectory pool and the candidate point information in the candidate point set.
[0083] In this embodiment, if Figure 3 As shown, it is possible to determine whether a candidate point is associated based on the candidate point information in the candidate point set. If the candidate point is not associated, a corresponding new trajectory is generated based on the unassociated candidate point, that is, a new obstacle is generated. If the candidate point is associated, the KF (Kalman Filter) algorithm is used to update the trajectory in the trajectory pool based on the candidate point information, that is, to update the historical obstacle. In this embodiment, Figure 3 As shown, it is also possible to determine whether the trajectory in the trajectory pool is associated according to the new two-dimensional coordinate information of the trajectory in the trajectory pool. If the trajectory is associated, the KF algorithm is used to update the trajectory according to the new two-dimensional coordinate information of the trajectory; if the trajectory is not associated, it is determined whether the trajectory can be associated with the observation data that does not participate in the candidate point calculation. If the trajectory can be associated with the observation data that does not participate in the candidate point calculation, the EKF (Extended Kalman Filter) algorithm is used to update the trajectory. If the trajectory cannot be associated with the observation data that does not participate in the candidate point calculation, the trajectory is deleted.
[0084] Step 35: Record the associated feature information of all trajectories in the trajectory pool and the candidate points in the candidate point set, and calculate the confidence of the obstacle by combining the historical associated feature information.
[0085] It should be noted that the confidence of an obstacle can be understood as the number of successful associations of the associated feature information of the obstacle, that is, the number of successful associations of the associated feature information of the obstacle can be used as the confidence of the obstacle. For example, taking the case where the associated feature information includes the obstacle observation variance, the obstacle observation sensor ID, the obstacle position, and the single echo echo energy as an example, when the historically observed obstacle and the candidate obstacle are associated, if the obstacle association is judged to be successful based on the obstacle observation variance and the obstacle position, the number of successful associations of the obstacle is counted; the obstacle is judged to be in a dangerous area based on the obstacle position and the single echo echo energy, and the number of successful associations of the dangerous area is determined; the number of successful associations of the single echo echo energy of the obstacle is determined, wherein the single echo echo energy association refers to the association of single echo echo energies observed by multiple different sensors; the number of successful associations of the single echo echo cluster is determined based on the single echo echo energy of the obstacle and the obstacle observation sensor ID, wherein the single echo echo cluster association refers to the association of single echo echo energies from the same sensor; the number of successful associations of the obstacle, the number of successful associations of the dangerous area, the number of successful associations of the single echo echo energy, and the number of successful associations of the single echo echo cluster can be determined as confidences, so that whether the obstacle is a valid obstacle can be determined by the confidence.
[0086] For example, if the number of successful associations of an obstacle is greater than a certain threshold, the obstacle can be considered to be a valid obstacle; or, if the number of successful associations of a dangerous area is greater than a certain threshold, the obstacle can be considered to be a valid obstacle; or, if the number of successful associations of a single echo echo energy is greater than a certain threshold, the obstacle can be considered to be a valid obstacle; or, if the number of successful associations of a single echo echo cluster is greater than a certain threshold, the obstacle can be considered to be a valid obstacle. Therefore, the present application implements the screening of valid obstacles through confidence, and then uses the valid obstacles as the final output result, so that the output result can be used for other operations later, such as using the output result to perform operations such as obstacle avoidance. Since the output result is a valid obstacle (i.e., a real obstacle), the avoidance effect can be improved.
[0087] In order to ensure the accuracy of effective obstacle screening and avoid excessive computing resources, the number of associations can be limited. That is, when the obstacles are associated, the number of associations is limited to a certain threshold. For example, taking the single echo echo energy association as an example, according to experience, generally the confidence of the obstacle is relatively high after four single echo echo energies are associated. At this time, the confidence can be used to determine whether the obstacle is a valid obstacle.
[0088] It can be seen that this embodiment uses Kalman filtering and vehicle posture and heading angle to track the position of obstacles, and uses a relatively large number of vehicle-mounted ultrasonic radars to make a judgment on the effectiveness of obstacles based on the feature that the confidence level of obstacles is greatly improved after being observed by sensors at different angles. The present disclosure significantly reduces the false detection of obstacles caused by low obstacles and the false detection of obstacles caused by crosstalk between sensors, and improves the user experience of AVP scenarios. With the improvement of detection distance and real-time performance of obstacle detection, this embodiment greatly improves the safety performance of AVP scenarios.
[0089] Figure 4 FIG. 1 is a block diagram of an obstacle detection device according to an exemplary embodiment. Figure 4 As shown, the obstacle detection device may include: a first acquisition module 410 , a position prediction module 420 , a second acquisition module 430 , an association module 440 , a third acquisition module 450 and a determination module 460 .
[0090] Specifically, the first acquisition module 410 is used to acquire vehicle body posture change information.
[0091] The position prediction module 420 is used to predict the position of the historically observed obstacle according to the vehicle body posture change information, and obtain the predicted position information of the historically observed obstacle.
[0092] The second acquisition module 430 is used to acquire the position information of the candidate obstacle currently observed.
[0093] The association module 440 is used to associate the historically observed obstacles with the candidate obstacles according to the predicted position information of the historically observed obstacles and the position information of the candidate obstacles, and generate known obstacles. As an example, the association module 440 is specifically used to: determine whether the candidate obstacle is associated according to the position information of the candidate obstacle; in response to the candidate obstacle not being associated, determine the candidate obstacle as the current observed obstacle; determine whether the historically observed obstacle is associated according to the predicted position information of the historically observed obstacle; in response to the historically observed obstacle not being associated, determine whether the historically observed obstacle is associated with the observation data that does not participate in the calculation of the candidate obstacle according to the predicted position information of the historically observed obstacle and the position information of the candidate obstacle; in response to the historically observed obstacle not being associated with the observation data that does not participate in the calculation of the candidate obstacle, delete the historically observed obstacle; determine the current observed obstacle and the remaining historically observed obstacles obtained after deletion as known obstacles.
[0094] In one implementation, the association module 440 is further used to: in response to a candidate obstacle being associated, update the position of the historically observed obstacle according to the position information of the candidate obstacle; in response to a historically observed obstacle being associated, update the position of the historically observed obstacle according to the predicted position information of the historically observed obstacle; in response to the historically observed obstacle being associated with observation data that does not participate in the calculation of the candidate obstacle, update the position of the historically observed obstacle.
[0095] The third acquisition module 450 is used to obtain the confidence of the known obstacle. As an example, the third acquisition module 450 is specifically used to: in the process of associating the historically observed obstacle with the candidate obstacle according to the predicted position information of the historically observed obstacle and the position information of the candidate obstacle, record the associated feature information between the currently observed obstacle and the historically observed obstacle; and obtain the confidence of the known obstacle according to the associated feature information.
[0096] In one implementation, the third acquisition module 450 records the associated characteristic information between the currently observed obstacle and the historically observed obstacle as follows: the associated characteristic information between the currently observed obstacle and the historically observed obstacle is recorded from at least two dimensions of obstacle observation variance, obstacle observation sensor ID, obstacle position association times, and single distance association times.
[0097] In a possible implementation, when recording the associated feature information between the currently observed obstacle and the historically observed obstacles, the third acquisition module 450 generates the confidence of the known obstacle by accumulating the confidence.
[0098] The determination module 460 is used to determine valid obstacles from known obstacles according to the confidence. As an example, the determination module 460 performs fusion processing on the same obstacles and the confidence of the same obstacles among the known obstacles; according to the confidence obtained after the fusion processing, the known obstacles with a confidence greater than or equal to a preset threshold are determined as valid obstacles from among the known obstacles obtained after the fusion processing.
[0099] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0100] According to the obstacle detection device of the embodiment of the present disclosure, the historical obstacle position is predicted using the real-time vehicle body posture information, and the candidate obstacle information obtained by the current observation is associated with the updated historical obstacle and the position is updated, the historical obstacle is associated with the candidate obstacle obtained by the current observation, and the obstacle confidence is obtained. According to the obstacle confidence, the effective obstacle is selected and output according to a certain confidence setting rule from all known obstacles. It can be seen that the present disclosure records the historical association information of the currently generated obstacle and expresses it in the form of confidence accumulation. When the confidence of the obstacle reaches the preset threshold, the effective obstacle is selected and given. Since the real obstacle is generally observed many times and the observable sensor angle and number are large, the accumulated confidence is high, and the low obstacle is only observed at a specific distance segment and angle, so the accumulated confidence is small. Therefore, the low obstacle can be effectively distinguished by this method, and the probability of false detection is greatly reduced. In addition, the present disclosure uses the real-time vehicle posture information and the real-time sensor observation information to fuse the historical obstacle position for tracking and calibration, which greatly improves the accuracy of the obstacle position given. In addition, when the confidence of the obstacle is accumulated to the threshold, since the present disclosure has a correction output for each frame of current observation data, the obstacle given is highly real-time and there is no lag problem. In addition, the present disclosure uses the cumulative confidence method to confirm the effectiveness of the obstacle, which can preserve the accuracy of obstacle detection at long distances and greatly improve the distance of the reliable obstacle given overall.
[0101] In order to implement the above embodiments, the present disclosure also provides a vehicle. Figure 5 As shown, the vehicle may include a multi-sensor 501 and an obstacle detection device 502. The obstacle detection device 502 may be the obstacle detection device described in any of the above embodiments of the present application, which will not be described in detail herein.
[0102] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
[0103] like Figure 6 , is a block diagram of an electronic device for implementing an obstacle detection method according to an embodiment of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0104] like Figure 6 As shown, the electronic device includes: one or more processors 601, a memory 602, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 601 is taken as an example.
[0105] The memory 602 is a non-transitory computer-readable storage medium provided by the present disclosure. The memory stores instructions executable by at least one processor to enable the at least one processor to perform the obstacle detection method provided by the present disclosure. The non-transitory computer-readable storage medium of the present disclosure stores computer instructions, which are used to enable a computer to perform the obstacle detection method provided by the present disclosure.
[0106] The memory 602 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the obstacle detection method in the embodiment of the present disclosure. The processor 601 executes various functional applications and data processing of the server by running the non-transient software programs, instructions and modules stored in the memory 602, that is, implementing the obstacle detection method in the above method embodiment.
[0107] The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and applications required for at least one function; the data storage area may store data created according to the use of the electronic device for implementing obstacle detection, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 602 may optionally include a memory remotely arranged relative to the processor 601, and these remote memories may be connected to the electronic device for implementing obstacle detection via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0108] The electronic device for implementing the obstacle detection method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0109] The input device 603 can receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device for implementing the obstacle detection method, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 604 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device may be a touch screen.
[0110] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0111] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0112] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0113] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.
[0114] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0115] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in this disclosure can be achieved, and this document is not limited here.
[0116] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. An obstacle detection method, comprising: Acquiring vehicle body posture change information, and predicting the position of historically observed obstacles based on the vehicle body posture change information to obtain predicted position information of the historically observed obstacles; Obtain the location information of the candidate obstacles obtained by the current observation; According to the predicted position information of the historically observed obstacle and the position information of the candidate obstacle, the historically observed obstacle and the candidate obstacle are associated to generate a known obstacle; Acquiring the confidence of the known obstacles, and determining valid obstacles from the known obstacles according to the confidence; Wherein, the method further comprises: In the process of associating the historically observed obstacles with the candidate obstacles, the associated feature information is recorded from multiple dimensions, and the number of successful associations of the associated feature information is counted; the number of successful associations of the associated feature information of the same obstacle is used as the confidence of the obstacle; the multiple dimensions include obstacle observation variance, obstacle observation sensor ID, obstacle position association times, and single distance association times; the associated feature information is obtained when the obstacles are associated based on multiple frames of historical observation data.
2. The method according to claim 1, wherein: The step of associating the historically observed obstacle with the candidate obstacle according to the predicted position information of the historically observed obstacle and the position information of the candidate obstacle to generate a known obstacle includes: Determining whether the candidate obstacle is associated according to the position information of the candidate obstacle; In response to the candidate obstacle not being associated, determining the candidate obstacle as a currently observed obstacle; Determining whether the historically observed obstacle is associated according to the predicted position information of the historically observed obstacle; In response to the historically observed obstacle not being associated, determining whether the historically observed obstacle is associated with observation data that is not involved in candidate obstacle calculation according to the predicted position information of the historically observed obstacle and the position information of the candidate obstacle; In response to the historically observed obstacle being not associated with the observation data that is not involved in the calculation of the candidate obstacle, deleting the historically observed obstacle; The currently observed obstacle and the remaining historically observed obstacles obtained after deletion are determined as the known obstacles.
3. The method according to claim 2, wherein: The step of associating the historically observed obstacle with the candidate obstacle according to the predicted position information of the historically observed obstacle and the position information of the candidate obstacle to generate a known obstacle further includes: In response to the candidate obstacle being associated, updating the position of the historically observed obstacle according to the position information of the candidate obstacle; In response to the historically observed obstacle being associated, updating the position of the historically observed obstacle according to the predicted position information of the historically observed obstacle; In response to the historically observed obstacle being associated with the observation data that does not participate in the candidate obstacle calculation, the position of the historically observed obstacle is updated.
4. The method according to claim 2, wherein: The recording of associated feature information from multiple dimensions includes: The association feature information between the currently observed obstacle and the historically observed obstacle is recorded from at least two dimensions of obstacle observation variance, obstacle observation sensor ID, obstacle position association times, and single distance association times.
5. The method according to claim 1 or 4, wherein: The obtaining the confidence level of the known obstacle according to the associated feature information includes: When recording the associated characteristic information between the currently observed obstacle and the historically observed obstacle, the confidence of the known obstacle is generated by accumulating confidence.
6. The method according to claim 1, wherein: The determining, according to the confidence level, a valid obstacle from the known obstacles comprises: Fusing the same obstacles among the known obstacles and the confidence levels of the same obstacles; According to the confidence obtained after the fusion process, from among the known obstacles obtained after the fusion process, the known obstacles whose confidence is greater than or equal to a preset threshold are determined as the valid obstacles.
7. An obstacle detection device, comprising: The first acquisition module is used to acquire the vehicle body posture change information; A position prediction module, used to predict the position of the historically observed obstacle according to the vehicle body posture change information, and obtain the predicted position information of the historically observed obstacle; The second acquisition module is used to obtain the position information of the candidate obstacle obtained by the current observation; an association module, configured to associate the historically observed obstacle with the candidate obstacle according to the predicted position information of the historically observed obstacle and the position information of the candidate obstacle, so as to generate a known obstacle; A third acquisition module is used to obtain the confidence level of the known obstacle; A determination module, configured to determine a valid obstacle from the known obstacles according to the confidence level; Wherein, in the process of associating the historically observed obstacles with the candidate obstacles, the device records the associated feature information from multiple dimensions and counts the number of successful associations of the associated feature information; the number of successful associations of the associated feature information of the same obstacle is used as the confidence of the obstacle; the multiple dimensions include obstacle observation variance, obstacle observation sensor ID, obstacle position association times, and single distance association times; the associated feature information is obtained when the obstacles are associated based on multiple frames of historical observation data.
8. The device according to claim 7, wherein: The association module is specifically used for: Determining whether the candidate obstacle is associated according to the position information of the candidate obstacle; In response to the candidate obstacle not being associated, determining the candidate obstacle as a currently observed obstacle; Determining whether the historically observed obstacle is associated according to the predicted position information of the historically observed obstacle; In response to the historically observed obstacle not being associated, determining whether the historically observed obstacle is associated with observation data that is not involved in candidate obstacle calculation according to the predicted position information of the historically observed obstacle and the position information of the candidate obstacle; In response to the historically observed obstacle being not associated with the observation data not participating in the candidate obstacle calculation, deleting the historically observed obstacle; The currently observed obstacle and the remaining historically observed obstacles obtained after deletion are determined as the known obstacles.
9. The device according to claim 8, wherein: The association module is also used for: In response to the candidate obstacle being associated, updating the position of the historically observed obstacle according to the position information of the candidate obstacle; In response to the historically observed obstacle being associated, updating the position of the historically observed obstacle according to the predicted position information of the historically observed obstacle; In response to the historically observed obstacle being associated with the observation data that does not participate in the candidate obstacle calculation, the position of the historically observed obstacle is updated.
10. The device according to claim 8, wherein: The third acquisition module is specifically used for: The association feature information between the currently observed obstacle and the historically observed obstacle is recorded from at least two dimensions of obstacle observation variance, obstacle observation sensor ID, obstacle position association times, and single distance association times.
11. The device according to claim 7 or 10, wherein: The third acquisition module is specifically used for: When recording the associated characteristic information between the currently observed obstacle and the historically observed obstacle, the confidence of the known obstacle is generated by accumulating confidence.
12. The device according to claim 7, wherein: The determination module is specifically used for: Fusing the same obstacles among the known obstacles and the confidence levels of the same obstacles; According to the confidence obtained after the fusion process, from among the known obstacles obtained after the fusion process, the known obstacles whose confidence is greater than or equal to a preset threshold are determined as the valid obstacles.
13. An electronic device, comprising: at least one processor; as well as a memory communicatively coupled to the at least one processor; The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the obstacle detection method according to any one of claims 1 to 6.
14. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the obstacle detection method according to any one of claims 1 to 6.
15. A vehicle comprising: Multiple sensors for observing the environment surrounding the vehicle; as well as The obstacle detection device according to any one of claims 7 to 12.
Citation Information
Patent Citations
Online target tracking method and apparatus
CN105894542A
Obstacle tracking method and device
CN109509210A
Millimeter-wave radar target tracking and confidence degree algorithm and device thereof
CN109814080A
Obstacle position prediction method and device and electronic equipment
CN110879395A
Information fusion method and device for multiple sensors for vehicle
CN110879598A
