Ultrasonic radar mapping method and device, vehicle and storage medium

By constructing and optimizing the obstacle boundary model, the accuracy problem of ultrasonic radar mapping in non-vertical obstacle boundary directions is solved, and the accuracy and reliability of automatic parking are improved.

CN118625329APending Publication Date: 2024-09-10GUANGZHOU XIAOPENG CONNECTIVITY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410635923.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The accuracy of existing ultrasonic radar mapping technology decreases when the direction of the obstacle boundary and the normal direction of the sensor are not perpendicular, affecting the reliability and accuracy of automatic parking.

Method used

By obtaining specified ultrasonic measurement results, a local obstacle boundary model is constructed, and the obstacle boundary model to be optimized is initialized based on the first and second measurement results, and the detection distance is used to build a constrained optimization model to improve the prediction accuracy of the obstacle boundary.

Benefits of technology

It improves the accuracy of ultrasonic radar mapping and automatic parking, ensuring that vehicles can accurately plan parking paths in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625329A
    Figure CN118625329A
Patent Text Reader

Abstract

The invention discloses an ultrasonic radar mapping method and device, a vehicle and a storage medium. The method comprises the following steps: acquiring specified ultrasonic measurement results, wherein the specified ultrasonic measurement results comprise a first measurement result and a second measurement result; a local obstacle boundary model is constructed, the local obstacle boundary model is initialized based on the first obstacle position information and the second obstacle position information, a to-be-optimized obstacle boundary model is obtained, and each obstacle comprises a plurality of local obstacle boundaries; based on the first detection distance and the second detection distance, respectively constructing constraints of the to-be-optimized obstacle boundary model, and taking a model obtained when the to-be-optimized obstacle boundary model converges as a target obstacle boundary model; and performing ultrasonic radar mapping based on the target obstacle boundary model to plan a parking path of the vehicle. According to the method, the obstacle position prediction capability of the model can be improved, so that the subsequent ultrasonic radar mapping precision is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent parking technology, and more specifically, to an ultrasonic radar mapping method, device, vehicle and storage medium. Background Art

[0002] With the rapid development of automobile technology, more and more cars are equipped with the Autonomous Parking Assist (APA) function. Cars equipped with this assisted driving function can use ultrasonic and visual sensors to map the surrounding environment of the car, and then automatically park the vehicle in the target parking space selected by the user through planning and control. Among them, ultrasonic radar mapping depicts the accessible space in the parking environment for automatic parking, which is an important factor in successfully and efficiently completing automatic parking. However, the current ultrasonic radar mapping technology needs to be improved, which affects the mapping accuracy to a certain extent. Summary of the invention

[0003] This application proposes an ultrasonic radar mapping method, device, vehicle and storage medium to improve the above-mentioned problems.

[0004] In a first aspect, an embodiment of the present application provides an ultrasonic radar mapping method, the method comprising: obtaining specified ultrasonic measurement results, the specified ultrasonic measurement results comprising a first measurement result and a second measurement result, the first measurement result comprising first obstacle position information and a first detection distance, the second measurement result comprising second obstacle position information and a second detection distance; constructing a local obstacle boundary model, and initializing the local obstacle boundary model based on the first obstacle position information and the second obstacle position information to obtain an obstacle boundary model to be optimized, wherein each obstacle comprises multiple local obstacle boundaries; constructing constraints of the obstacle boundary model to be optimized based on the first detection distance and the second detection distance, respectively, and using the model obtained when the obstacle boundary model to be optimized converges as the target obstacle boundary model; performing ultrasonic radar mapping based on the target obstacle boundary model to plan a parking path for the vehicle.

[0005] In a second aspect, an embodiment of the present application provides an ultrasonic radar mapping device, the device comprising: an ultrasonic measurement result acquisition module, used to obtain specified ultrasonic measurement results, the specified ultrasonic measurement results including a first measurement result and a second measurement result, the first measurement result including first obstacle position information and a first detection distance, the second measurement result including second obstacle position information and a second detection distance; an obstacle boundary model construction module, used to construct a local obstacle boundary model, and initialize the local obstacle boundary model based on the first obstacle position information and the second obstacle position information to obtain an obstacle boundary model to be optimized, each obstacle including multiple local obstacle boundaries; an obstacle boundary model optimization module, used to construct constraints of the obstacle boundary model to be optimized based on the first detection distance and the second detection distance, respectively, and use the model obtained when the obstacle boundary model to be optimized converges as the target obstacle boundary model; an ultrasonic radar mapping module, used to perform ultrasonic radar mapping based on the target obstacle boundary model to plan a parking path for the vehicle.

[0006] In a third aspect, the present application provides a vehicle comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method of the first aspect above.

[0007] In a fourth aspect, the present application provides a computer-readable storage medium having program code stored therein, wherein the method of the first aspect is executed when the program code is run.

[0008] The present application provides an ultrasonic radar mapping method, device, vehicle and storage medium, which obtains a specified ultrasonic measurement result, wherein the specified ultrasonic measurement result includes a first measurement result and a second measurement result, wherein the first measurement result includes first obstacle position information and a first detection distance, and the second measurement result includes second obstacle position information and a second detection distance; constructs a local obstacle boundary model, and initializes the local obstacle boundary model based on the first obstacle position information and the second obstacle position information to obtain an obstacle boundary model to be optimized, wherein each obstacle includes multiple local obstacle boundaries; constructs constraints of the obstacle boundary model to be optimized based on the first detection distance and the second detection distance, respectively, and uses the model obtained when the obstacle boundary model to be optimized converges as the target obstacle boundary model; and performs ultrasonic radar mapping based on the target obstacle boundary model to plan the parking path of the vehicle. Thus, by locally modeling the obstacle to construct an obstacle boundary model that is more in line with the real environment, and establishing optimization constraints on the local obstacle boundary model, the target obstacle boundary model obtained after optimization can have the ability to more accurately predict the obstacle position, thereby improving the accuracy of subsequent ultrasonic radar mapping. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0010] Figure 1 A flow chart of an ultrasonic radar mapping method provided in an embodiment of the present application is shown.

[0011] Figure 2 An example diagram comparing the echo position of the ultrasonic probe provided in the embodiment of the present application and the echo position of the ultrasonic probe in the related art is shown.

[0012] Figure 3 A diagram showing an example of the principle of verifying the spatial consistency of multiple frames of measurement results of the same probe provided by an embodiment of the present application is shown.

[0013] Figure 4 A principle example diagram of the optimization constraints for constructing an obstacle boundary model to be optimized provided in an embodiment of the present application is shown.

[0014] Figure 5 Another principle example diagram of the optimization constraints for constructing the obstacle boundary model to be optimized provided in an embodiment of the present application is shown.

[0015] Figure 6A flow chart of an ultrasonic radar mapping method provided in another embodiment of the present application is shown.

[0016] Figure 7 A diagram showing an example of the principle of selecting a reference model for a local obstacle boundary model provided in an embodiment of the present application is shown.

[0017] Figure 8 A flowchart of an ultrasonic radar mapping method provided in yet another embodiment of the present application is shown.

[0018] Fig. 9 A structural block diagram of an ultrasonic radar mapping device provided in an embodiment of the present application is shown.

[0019] Fig.10 A structural block diagram of a vehicle provided in an embodiment of the present application is shown.

[0020] Fig.11 A storage unit for storing or carrying program codes for implementing the ultrasonic radar mapping method according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0022] Cars equipped with the APA function can help users park intelligently, which is extremely friendly to some users who do not know how to park, and greatly improves the user's driving experience. There are currently two main types of ultrasonic radars on the market, non-coding ultrasonic radars and coded ultrasonic radars. Among them, the mapping of non-coding ultrasonic radars is limited by the limitations of the sensor itself, and the accuracy of mapping can only be guaranteed when the obstacle boundary direction and the sensor normal direction are roughly perpendicular. Therefore, the APA function cannot be turned on when turning. Due to the different mapping principles, the coded ultrasonic radar can ensure the mapping accuracy of the obstacle boundary and the sensor at any relative position, which greatly expands the scope of use of APA.

[0023] The inventors found that in order to improve mapping accuracy, most current solutions use coded ultrasonic radar for ultrasonic radar mapping. However, the current coded ultrasonic radar mapping technology has yet to be improved, which affects the mapping accuracy to a certain extent.

[0024] After long-term research, the inventor found that the specified ultrasonic measurement results can be obtained, the specified ultrasonic measurement results include the first measurement results and the second measurement results, the first measurement results include the first obstacle position information and the first detection distance, and the second measurement results include the second obstacle position information and the second detection distance; construct a local obstacle boundary model, and initialize the local obstacle boundary model based on the first obstacle position information and the second obstacle position information to obtain the obstacle boundary model to be optimized, each obstacle includes multiple local obstacle boundaries; based on the first detection distance and the second detection distance, the constraints of the obstacle boundary model to be optimized are respectively constructed, and the model obtained when the obstacle boundary model to be optimized converges is used as the target obstacle boundary model; ultrasonic radar mapping is performed based on the target obstacle boundary model to plan the parking path of the vehicle. Therefore, by locally modeling the obstacles to construct an obstacle boundary model that is more in line with the real environment, and establishing optimization constraints for the local obstacle boundary model, the target obstacle boundary model obtained after optimization can have the ability to more accurately predict the obstacle position, thereby improving the accuracy of subsequent ultrasonic radar mapping.

[0025] Therefore, in order to improve the above-mentioned problems, the inventors proposed the ultrasonic radar mapping method, device, vehicle and computer-readable storage medium provided in the present application, which can improve the accuracy of ultrasonic radar mapping.

[0026] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0027] See also Figure 1 , shows a flow chart of an ultrasonic radar mapping method provided by an embodiment of the present application. This embodiment provides an ultrasonic radar mapping method that can be applied to vehicles, and the type and model of the vehicle are not limited. The method includes:

[0028] Step S110: obtaining a specified ultrasonic measurement result, wherein the specified ultrasonic measurement result includes a first measurement result and a second measurement result, wherein the first measurement result includes first obstacle position information and a first detection distance, and the second measurement result includes second obstacle position information and a second detection distance.

[0029] During the process of automatic parking, the obstacles around the vehicle are usually irregular or criss-crossed. In order to maximize the accuracy of ultrasonic radar mapping, it is necessary to accurately measure the position of the obstacles.

[0030] As a method of accurately measuring the position of an obstacle, the present application may regard an obstacle as being composed of multiple local obstacle boundaries, and the specific number of local obstacle boundaries corresponding to each obstacle may not be limited. In this way, a specified ultrasonic measurement result may be understood as a local detection result of the obstacle, and the local detection result is an obstacle boundary. Optionally, the detection result may be the echo position of the ultrasonic wave.

[0031] In the implementation manner of the present application, the specified ultrasonic measurement result may include a first measurement result and a second measurement result. The first measurement result represents the direct measurement result of the ultrasonic wave, the first measurement result is measured by the same ultrasonic probe, and the first measurement result may include the first obstacle position information and the first detection distance; the second measurement result represents the indirect measurement result of the ultrasonic wave, the second measurement result is measured by a different ultrasonic probe, and the second measurement result may include the second obstacle position information and the second detection distance.

[0032] Among them, the first obstacle position information is part of the boundary information of the obstacle, and the second obstacle position information is another part of the boundary information of the obstacle, that is, direct measurement and indirect measurement can be for the same obstacle. The first detection distance represents the detection distance between the same probe and different echo positions (that is, the same probe corresponds to multiple frames of detection), and the second detection distance represents the detection distance between different probes and different echo positions (that is, each probe corresponds to one frame of detection, and there are multiple probes). The first detection distance and the second detection distance have the same unit, but different specific values. Optionally, the first detection distance and the second detection distance are both the original detection results of the ultrasonic wave.

[0033] In the process of obtaining the specified ultrasonic measurement results, as an implementation method, multiple frames (the specific number of frames may not be limited, and in some specific implementations, the same ultrasonic probe may only correspond to two frames of obstacle position information) of obstacle position information corresponding to the same ultrasonic probe may be obtained. At this time, it is assumed that every two adjacent frames of obstacles in the multiple frames of obstacles are located on the same straight line, and the multiple frames of detection results corresponding to each ultrasonic probe are a local observation sliding window; then, the spatial consistency of the multiple frames of obstacle position information is verified in a sliding window manner to eliminate noise observations and obtain the first obstacle position information.

[0034] It is understandable that due to the change of the detection position and the reflection of the long wave, the echo positions of two frames directly measured by the same ultrasonic probe are usually not at the same point (the traditional solution is to intersect at one point, such as Figure 2 left figure), but on the same straight line (as shown in Figure 2As shown in the right figure, the echo position of the first frame and the echo position of the second frame of the same probe do not intersect at one point, but are on the same straight line). As a specific implementation, in the process of obtaining the boundary information of the first obstacle, it can be assumed that each probe corresponds to two frames of measurement results, and the two frames of measurement results correspond to the same obstacle (that is, it can be assumed that two or more frames of each probe can detect the same obstacle), and the echo positions of the two frames of measurement results are two points. Optionally, the straight line connected by the two points can be used as the trilateral measurement result of direct measurement, and the straight line connected by the two points can be expressed as a straight line equation.

[0035] In the actual measurement process, each probe may correspond to multiple frames of measurement results, and the number of the multiple frames is greater than or equal to 2. For example, one probe may correspond to 5 frames of measurement results, and at this time, each two adjacent frames of measurement results in the 5 frames of measurement results are located on the same straight line. In order to ensure the accuracy of the obstacle position calculation, for the multiple frames of measurement results corresponding to each probe, the principle of spatial consistency can be used to check whether there are measurement results with large errors in the multiple frames of measurement results of the probe, and if so, they are eliminated. Optionally, the measurement result with large errors can be a noise observation result, specifically, it can be a measurement result with the echo position as an outlier.

[0036] For example, in a specific application scenario, see Figure 3 , shows a schematic diagram of the principle of verifying the spatial consistency of multiple frames of measurement results of the same probe provided by an embodiment of the present application. Figure 3 As shown in the figure, it is assumed that a certain probe corresponds to 3 frames of measurement results, which are Figure 3 Frame 1 (first frame), frame 2 (second frame) and frame 3 (third frame) are shown. Optionally, if the measurement result of the second frame is as follows Figure 3 As shown in the left figure, the echo position corresponding to the second frame is an outlier (outlier), which indicates that the measurement result of this frame (the second frame) has a large error and needs to be eliminated. Figure 3 As shown in the right figure, the echo position corresponding to the second frame is in the inner layer, that is, the echo position corresponding to the first frame and the echo position corresponding to the second frame are on the same straight line, and the echo position corresponding to the second frame and the echo position corresponding to the third frame are on the same straight line, indicating that the measurement result of the second frame is normal, and the measurement result of the second frame can be retained. Figure 3 In the case shown in the right figure, the echo positions of these three frames may not be on the same straight line.

[0037] Optionally, each sliding window in the implementation manner of the present application may include measurement results from the same probe. For example, the aforementioned 5 frames may be 5 frames of measurement results from the same probe, or may be measurement results from different probes. For example, the aforementioned 5 frames may be measurement results from 3 probes, the 1st and 2nd frames of the 5 frames are from one probe, the 3rd and 4th frames are from another probe, and the 5th frame is from other probes different from the aforementioned two probes.

[0038] Step S120: constructing a local obstacle boundary model, and initializing the local obstacle boundary model based on the first obstacle position information and the second obstacle position information to obtain an obstacle boundary model to be optimized, wherein each obstacle includes a plurality of local obstacle boundaries.

[0039] On the basis of obtaining the local ultrasonic measurement results of the obstacle, in order to minimize the impact of the obstacle's location information on the accuracy of smart parking, a local obstacle boundary model can be constructed, that is, an obstacle is divided into several (the specific number can be set as needed) local obstacle boundaries using the idea of ​​differentiation, that is, each obstacle includes multiple local obstacle boundaries, and a corresponding local obstacle boundary model can be constructed for each local obstacle boundary. The local obstacle boundary model can be used to predict the position of the local obstacle boundary, and the combined result of several local obstacle boundary models can be used to predict the position of the entire obstacle.

[0040] In this way, for each local obstacle boundary model, it can be initialized based on the first obstacle position information and the second obstacle position information, and then the obstacle boundary model to be optimized can be obtained. As an implementation method, the first obstacle position information and the second obstacle position information can be used as prior parameters of the local obstacle boundary model to ensure that the iterative optimization starting point in the subsequent iterative optimization process is closer to the global optimum and accelerate the convergence speed of the iterative optimization.

[0041] Step S130: constructing constraints of the obstacle boundary model to be optimized based on the first detection distance and the second detection distance respectively, and using the model obtained when the obstacle boundary model to be optimized converges as the target obstacle boundary model.

[0042] In this embodiment, after determining the prior parameters of the local obstacle boundary model, the constraints of the obstacle boundary model to be optimized can be constructed based on the first detection distance and the second detection distance, respectively, so as to optimize the obstacle boundary model to be optimized as a whole, and the model obtained when the obstacle boundary model to be optimized converges is used as the target obstacle boundary model. The target obstacle boundary model has a relatively accurate obstacle boundary prediction capability to improve the vehicle's ability to avoid obstacles, thereby improving the accuracy of intelligent parking.

[0043] In the process of constructing the constraints of the obstacle boundary model to be optimized based on the first detection distance and the second detection distance, as an implementation method, the first detection distance perpendicular to the local obstacle boundary model can be used as the constraint of the obstacle boundary model to be optimized, and the second detection distance that constitutes a mirror reflection with the local obstacle boundary model can be used as the constraint of the obstacle boundary model to be optimized.

[0044] For details, please refer to Figure 4 , shows a principle example diagram of the optimization constraints for constructing the obstacle boundary model to be optimized provided by the embodiment of the present application. Figure 4 As shown, for the direct measurement result of the ultrasonic wave, the constraint of the obstacle boundary model to be optimized can be set as follows: the distance from the direct measurement result (i.e., the first detection distance) to the local obstacle boundary model is the minimum (i.e., the first detection distance is perpendicular to the local obstacle boundary model). Optionally, if the first detection distance is not perpendicular to the local obstacle boundary model, the position of the local obstacle boundary model needs to be adjusted until the first detection distance is perpendicular to the local obstacle boundary model. Optionally, the specific form of the local obstacle boundary model may not be limited, for example, Figure 4 The local obstacle boundary model shown can be in the form of a point, an arc, or a straight line.

[0045] See also Figure 5 , shows another principle example diagram of the optimization constraint for constructing the obstacle boundary model to be optimized provided by the embodiment of the present application. Figure 5 As shown, for the indirect measurement result of ultrasonic wave, the constraint of the obstacle boundary model to be optimized can be set as follows: the distance from the indirect measurement result (i.e., the second detection distance) to the local obstacle boundary model constitutes a mirror reflection, such as Figure 5 The incident angle α and the reflection angle β are equal, wherein the second detection distance includes the detection distance of each of the two probes to the local obstacle boundary model. Optionally, if the detection distance of each of the two probes to the local obstacle boundary model does not constitute a mirror reflection, the position of the local obstacle boundary model needs to be adjusted until the detection distance of each of the two probes to the local obstacle boundary model constitutes a mirror reflection. Optionally, Figure 4 similar, Figure 5 The local obstacle boundary model shown may also be in the form of a point, an arc, or a straight line.

[0046] Step S140: constructing an ultrasonic radar map based on the target obstacle boundary model to plan a parking path for the vehicle.

[0047] As a way, after the local obstacle boundary model is optimized, ultrasonic radar mapping can be performed based on the optimized target obstacle boundary model to plan the parking path of the vehicle. The optimized local obstacle boundary model has more accurate obstacle location information detection capability than the local obstacle boundary model before optimization, so that the planned parking path has better obstacle avoidance capability, thereby better providing intelligent parking services for vehicles.

[0048] It should be noted that in the process of ultrasonic radar mapping based on the target obstacle boundary model, since the obstacle is divided into several obstacle boundaries, each obstacle boundary corresponds to an obstacle boundary model, it is also necessary to cluster and fit the outputs of several obstacle boundary models to obtain the final vehicle parking path.

[0049] The ultrasonic radar mapping method provided in this embodiment obtains a specified ultrasonic measurement result, wherein the specified ultrasonic measurement result includes a first measurement result and a second measurement result, wherein the first measurement result includes first obstacle position information and a first detection distance, and the second measurement result includes second obstacle position information and a second detection distance; constructs a local obstacle boundary model, and initializes the local obstacle boundary model based on the first obstacle position information and the second obstacle position information to obtain an obstacle boundary model to be optimized, wherein each obstacle includes multiple local obstacle boundaries; constructs constraints of the obstacle boundary model to be optimized based on the first detection distance and the second detection distance, respectively, and uses the model obtained when the obstacle boundary model to be optimized converges as the target obstacle boundary model; and performs ultrasonic radar mapping based on the target obstacle boundary model to plan the parking path of the vehicle. Thus, by locally modeling the obstacle to construct an obstacle boundary model that is more in line with the real environment, and establishing optimization constraints on the local obstacle boundary model, the target obstacle boundary model obtained after optimization can have the ability to more accurately predict the obstacle position, thereby improving the accuracy of subsequent ultrasonic radar mapping.

[0050] See also Figure 6 , shows a flow chart of an ultrasonic radar mapping method provided by another embodiment of the present application. This embodiment provides an ultrasonic radar mapping method that can be applied to vehicles, and the type and model of the vehicle are not limited. The method includes:

[0051] Step S210: obtaining a specified ultrasonic measurement result, wherein the specified ultrasonic measurement result includes a first measurement result and a second measurement result, wherein the first measurement result includes first obstacle position information and a first detection distance, and the second measurement result includes second obstacle position information and a second detection distance.

[0052] The specific implementation of step S210 may refer to the relevant description of step S110 in the aforementioned embodiment, which will not be repeated here.

[0053] In this embodiment, while using the principle of spatial consistency to eliminate noise observations from multiple frames of measurement results of each probe, in order to further improve the accuracy of obstacle position information detection (prediction or measurement), the Q value test (Q test is also called the rejection quotient method, which is mainly used to make selection and judgment on suspicious values ​​(outliers)) and the standard deviation test can be used to filter outliers in the measurement results before optimizing the local obstacle boundary model, or the cache loss function and other types of loss functions can be used to eliminate outliers in the measurement results during the optimization of the local obstacle boundary model. The specific implementation process will not be repeated here.

[0054] Step S220: constructing a local obstacle boundary model, and respectively initializing the multiple local obstacle boundary models based on the first obstacle position information and the second obstacle position information to obtain multiple reference obstacle boundary models, where each obstacle includes multiple local obstacle boundaries.

[0055] In this implementation, any local obstacle boundary model may be of multiple types. For example, each local obstacle boundary model may include: Figure 5 In this way, for each local obstacle boundary model, multiple types of local obstacle boundary models corresponding to it can be initialized based on the first obstacle position information and the second obstacle position information, thereby obtaining multiple reference obstacle boundary models.

[0056] Step S230: selecting an obstacle boundary model from the plurality of reference obstacle boundary models based on a preset rule as the obstacle boundary model to be optimized.

[0057] Furthermore, for each local obstacle boundary model, as an implementation manner, an obstacle boundary model may be selected from a plurality of corresponding reference obstacle boundary models based on a preset rule as the obstacle boundary model to be optimized.

[0058] The preset rules may be set according to actual conditions. For example, corresponding priorities may be assigned to multiple different types of reference obstacle boundary models, and then a reference obstacle boundary model with the fastest convergence speed may be selected in descending order of priority as the obstacle boundary model to be optimized. The priorities corresponding to different types of reference obstacle boundary models may be the same, or the priorities corresponding to different types of reference obstacle boundary models may be different.

[0059] Optionally, if the priorities corresponding to two reference obstacle boundary models are the same, the final obstacle boundary model to be optimized can be further selected according to the loss (cost) of the model. Alternatively, if the priorities corresponding to two reference obstacle boundary models are the same, and one of the reference obstacle boundary models can converge and the other reference obstacle boundary model cannot converge, then the reference obstacle boundary model that can converge is selected as the final obstacle boundary model to be optimized. Optionally, if the two reference obstacle boundary models with the same priority cannot converge, the remaining type of reference obstacle boundary model is selected as the final obstacle boundary model to be optimized. Optionally, if the remaining type of reference obstacle boundary model cannot converge, the local obstacle boundary model before direct optimization can be used as the final obstacle boundary model to be optimized.

[0060] For example, in a specific application scenario, see Figure 7 , shows an example diagram of the principle of selecting a reference model for a local obstacle boundary model provided by an embodiment of the present application. Figure 7 As shown, the straight line model, the arc model and the single point model are all constructed local obstacle boundary models, and these three models all include the original measurement results of the ultrasonic wave (i.e., the aforementioned first detection distance and the second detection distance) and the priori three-sided measurement results (i.e., the aforementioned first obstacle position information and the second obstacle position information) for preliminary optimization, and the priority of the straight line model is the same as that of the arc model, and the priority of the arc model and the straight line model is higher than that of the single point model. On this basis, the straight line model and the arc model can be optimized based on the first obstacle position information and the second obstacle position information to see whether they converge. Optionally, at this time, if the straight line model and the arc model are If both models converge, the model with smaller cost is selected as the obstacle boundary model to be optimized; if the two models do not converge at the same time, it can be seen whether any of them converges, and the converged model is selected as the obstacle boundary model to be optimized; optionally, if neither of them converges, the single-point model will be optimized based on the first obstacle position information and the second obstacle position information, and it is determined whether the optimized single-point model converges. Optionally, if the optimized single-point model converges, it can be used as the obstacle boundary model to be optimized; if the optimized single-point model does not converge, the priori result (i.e., the original ultrasonic measurement result) will be selected as the ultrasonic measurement result.

[0061] As another implementation method, a geometric element can be directly selected from a plurality of preset geometric elements as the local obstacle boundary model, and different geometric elements represent local obstacle boundary models of different curvatures. The preset plurality of geometric elements may include the aforementioned points, lines, arcs, etc. For example, a line can be directly used as a local obstacle boundary model. In this way, only the local obstacle boundary model of the line type can be initialized, that is, the local obstacle boundary model of the line type is initialized based on the first obstacle position information and the second obstacle position information, thereby obtaining the obstacle boundary model to be optimized.

[0062] Step S240: constructing constraints of the obstacle boundary model to be optimized based on the first detection distance and the second detection distance respectively, and using the model obtained when the obstacle boundary model to be optimized converges as the target obstacle boundary model.

[0063] The specific implementation of step S240 may refer to the relevant description of step S130 in the aforementioned embodiment, which will not be repeated here.

[0064] In the implementation mode of the present application, the constructed constraints are used to optimize the obstacle boundary model to be optimized. During the optimization process, due to the working principle characteristics of the sliding window algorithm, the measurement results of the same frame may fall into different sliding windows, and the measurement results falling into each sliding window will be optimized, so that the same frame corresponds to multiple measurement results. In this way, in order to improve the accuracy of the obstacle position calculation, for each frame of measurement results, one measurement result can be selected as the optimal measurement result.

[0065] As an implementation method, for each frame of direct measurement, the measurement result closest to the center of the sliding window can be selected as the final measurement result. For example, assuming that the measurement result of a frame falls into 5 sliding windows, namely sliding window 1, sliding window 2, sliding window 3, sliding window 4 and sliding window 5, the measurement result falling into sliding window 3 can be selected as the final measurement result of the frame.

[0066] As another implementation, for each frame of indirect measurement, the measurement result with the highest optimized frequency and / or the smallest model loss in the sliding window can be selected as the final measurement result. Among them, the priority of the optimized frequency is higher than the priority of the model loss. For example, assuming that a certain frame measurement result falls into 5 sliding windows, namely sliding window 1, sliding window 2, sliding window 3, sliding window 4 and sliding window 5, if the measurement results in two sliding windows are optimized to circles, and the measurement results in other sliding windows are not optimized or are not optimized to circles, the model losses corresponding to the two measurement results optimized to circles can be compared, and then the measurement result with the smaller corresponding model loss can be selected as the final measurement result.

[0067] Step S250: Perform ultrasonic radar mapping based on the target obstacle boundary model to plan a parking path for the vehicle.

[0068] The specific implementation of step S250 may refer to the relevant description of step S140 in the aforementioned embodiment, which will not be repeated here.

[0069] The ultrasonic radar mapping method provided in the present embodiment obtains a specified ultrasonic measurement result, wherein the specified ultrasonic measurement result includes a first measurement result and a second measurement result, wherein the first measurement result includes first obstacle position information and a first detection distance, and the second measurement result includes second obstacle position information and a second detection distance; constructs a local obstacle boundary model, and initializes the multiple local obstacle boundary models based on the first obstacle position information and the second obstacle position information to obtain multiple reference obstacle boundary models, wherein each obstacle includes multiple local obstacle boundaries; selects an obstacle boundary model from the multiple reference obstacle boundary models based on a preset rule as the obstacle boundary model to be optimized; constructs constraints of the obstacle boundary model to be optimized based on the first detection distance and the second detection distance, respectively, and uses the model obtained when the obstacle boundary model to be optimized converges as the target obstacle boundary model; and performs ultrasonic radar mapping based on the target obstacle boundary model to plan a parking path for the vehicle. Therefore, by locally modeling the obstacles to build an obstacle boundary model that is more in line with the real environment, and establishing optimization constraints on the local obstacle boundary model, the optimized target obstacle boundary model can have the ability to more accurately predict the obstacle position, thereby improving the accuracy of subsequent ultrasonic radar mapping.

[0070] At the same time, by selecting a better local obstacle boundary model from different types of local obstacle boundary models for optimization, the optimization of the local obstacle boundary model can be made more effective, thereby improving the ability to predict obstacle location information through the local obstacle boundary model.

[0071] See also Figure 8 , shows a flow chart of an ultrasonic radar mapping method provided by another embodiment of the present application. This embodiment provides an ultrasonic radar mapping method that can be applied to vehicles, and the type and model of the vehicle are not limited. The method includes:

[0072] Step S310: obtaining a specified ultrasonic measurement result, wherein the specified ultrasonic measurement result includes a first measurement result and a second measurement result, wherein the first measurement result includes first obstacle position information and a first detection distance, and the second measurement result includes second obstacle position information and a second detection distance.

[0073] The specific implementation of step S310 may refer to the relevant description of step S110 in the aforementioned embodiment, which will not be repeated here.

[0074] Step S320: construct a local obstacle boundary model, and respectively initialize the multiple local obstacle boundary models based on the first obstacle position information and the second obstacle position information to obtain multiple reference obstacle boundary models, where each obstacle includes multiple local obstacle boundaries.

[0075] The specific implementation of step S320 may refer to the relevant description of step S120 and step S220 in the aforementioned embodiment, which will not be repeated here.

[0076] Step S330: selecting an obstacle boundary model from the plurality of reference obstacle boundary models based on a preset rule as the obstacle boundary model to be optimized.

[0077] The specific implementation of step S330 may refer to the relevant description of step S230 in the aforementioned embodiment, which will not be repeated here.

[0078] Step S340: constructing constraints of the obstacle boundary model to be optimized based on the first detection distance and the second detection distance respectively, and using the model obtained when the obstacle boundary model to be optimized converges as the target obstacle boundary model.

[0079] The specific implementation of step S340 may refer to the relevant description of step S130 and step S240 in the aforementioned embodiment, which will not be repeated here.

[0080] Step S341: if the obstacle boundary model to be optimized has not converged, initializing the local obstacle boundary model based on the first obstacle position information to obtain the obstacle boundary model to be optimized.

[0081] In this embodiment, during the optimization process of the obstacle boundary model to be optimized, if the obstacle boundary model to be optimized converges, the target obstacle boundary model can be obtained; if the obstacle boundary model to be optimized does not converge, in order to ensure the quality of the output measurement results, the local obstacle boundary model can be initialized based on the first obstacle position information, that is, the local obstacle boundary model can be initialized based only on the results of direct measurement to obtain the obstacle boundary model to be optimized.

[0082] Step S342: constructing constraints of the obstacle boundary model to be optimized based on the first detection distance, and using the model obtained when the obstacle boundary model to be optimized converges as the target obstacle boundary model.

[0083] When the local obstacle boundary model is initialized only based on the results of direct measurement, the constraints of the obstacle boundary model to be optimized can also be constructed only based on the first detection distance (i.e., the original measurement results of the ultrasound). In this way, the model obtained when the obstacle boundary model to be optimized converges under this constraint condition can still be used as the target obstacle boundary model.

[0084] Step S343: If the obstacle boundary model to be optimized has not converged, ultrasonic radar mapping is performed based on the first measurement result and the second measurement result to plan a parking path for the vehicle.

[0085] Optionally, when the constraint of the obstacle boundary model to be optimized is constructed based only on the first detection distance (i.e., the original ultrasonic measurement result), if the obstacle boundary model to be optimized still fails to converge, the ultrasonic radar mapping can be directly performed based on the measurement results before optimization (i.e., the first measurement result and the second measurement result) to plan the parking path of the vehicle. By performing constraint optimization on the obstacle boundary model to be optimized by means of optimization fallback, it can be ensured that the current radar mapping accuracy is not lower than the radar mapping accuracy before optimization.

[0086] Step S350: Perform ultrasonic radar mapping based on the target obstacle boundary model to plan a parking path for the vehicle.

[0087] The specific implementation of step S350 may refer to the relevant description of step S140 in the aforementioned embodiment, which will not be repeated here.

[0088] In this implementation manner, if the obstacle boundary model to be optimized can converge when the constraints of the obstacle boundary model to be optimized are respectively constructed based on the first detection distance and the second detection distance, the content of step S350 can be executed.

[0089] The ultrasonic radar mapping method provided in this embodiment obtains a specified ultrasonic measurement result, wherein the specified ultrasonic measurement result includes a first measurement result and a second measurement result, wherein the first measurement result includes first obstacle position information and a first detection distance, and the second measurement result includes second obstacle position information and a second detection distance; constructs a local obstacle boundary model, and initializes the multiple local obstacle boundary models based on the first obstacle position information and the second obstacle position information, respectively, to obtain multiple reference obstacle boundary models, wherein each obstacle includes multiple local obstacle boundaries; selects an obstacle boundary model from the multiple reference obstacle boundary models based on a preset rule as the obstacle boundary model to be optimized; and selects an obstacle boundary model based on the first detection distance, the second detection distance, the second obstacle position information, and the second obstacle boundary model. The constraint of the obstacle boundary model to be optimized is constructed based on the first detection distance, and the model obtained when the obstacle boundary model to be optimized converges is used as the target obstacle boundary model; if the obstacle boundary model to be optimized does not converge, the local obstacle boundary model is initialized based on the first obstacle position information to obtain the obstacle boundary model to be optimized; the constraint of the obstacle boundary model to be optimized is constructed based on the first detection distance, and the model obtained when the obstacle boundary model to be optimized converges is used as the target obstacle boundary model; if the obstacle boundary model to be optimized does not converge, ultrasonic radar mapping is performed based on the first measurement result and the second measurement result to plan the parking path of the vehicle; ultrasonic radar mapping is performed based on the target obstacle boundary model to plan the parking path of the vehicle. Thus, by locally modeling the obstacle to construct an obstacle boundary model that is more in line with the real environment, and establishing optimization constraints on the local obstacle boundary model, the target obstacle boundary model obtained after optimization can have the ability to more accurately predict the obstacle position, thereby improving the accuracy of subsequent ultrasonic radar mapping.

[0090] See also Fig. 9 , is a structural block diagram of an ultrasonic radar mapping device provided in an embodiment of the present application. This embodiment provides an ultrasonic radar mapping device 400, which can be operated on a vehicle. The device 400 includes an ultrasonic measurement result acquisition module 410, an obstacle boundary model construction module 420, an obstacle boundary model optimization module 430 and an ultrasonic radar mapping module 440:

[0091] The ultrasonic measurement result acquisition module 410 is used to acquire a specified ultrasonic measurement result, wherein the specified ultrasonic measurement result includes a first measurement result and a second measurement result, wherein the first measurement result includes first obstacle position information and a first detection distance, and the second measurement result includes second obstacle position information and a second detection distance.

[0092] As an implementation mode, the ultrasonic measurement result acquisition module 410 can be used to obtain multiple frames of obstacle position information corresponding to the same ultrasonic probe, where each two adjacent frames of obstacles in the multiple frames are located on the same straight line, and the multiple frames of detection results corresponding to each ultrasonic probe are a local observation sliding window; then, the spatial consistency of the multiple frames of obstacle position information is verified in a sliding window manner to eliminate noise observations and obtain the first obstacle position information.

[0093] The obstacle boundary model construction module 420 is used to construct a local obstacle boundary model and initialize the local obstacle boundary model based on the first obstacle position information and the second obstacle position information to obtain an obstacle boundary model to be optimized, where each obstacle includes multiple local obstacle boundaries.

[0094] As an implementation manner, the obstacle boundary model construction module 420 may be used to select a geometric element from a plurality of preset geometric elements as a local obstacle boundary model, and different geometric elements represent local obstacle boundary models with different curvatures.

[0095] In this embodiment, each local obstacle boundary model may be of multiple types. In this manner, the obstacle boundary model construction module 420 may be used to respectively initialize the multiple local obstacle boundary models based on the first obstacle position information and the second obstacle position information to obtain multiple reference obstacle boundary models; and then select an obstacle boundary model from the multiple reference obstacle boundary models based on a preset rule as the obstacle boundary model to be optimized.

[0096] The obstacle boundary model optimization module 430 is used to construct constraints of the obstacle boundary model to be optimized based on the first detection distance and the second detection distance, and use the model obtained when the obstacle boundary model to be optimized converges as the target obstacle boundary model.

[0097] As an implementation mode, the obstacle boundary model optimization module 430 can be used to use a first detection distance perpendicular to the local obstacle boundary model as a constraint of the obstacle boundary model to be optimized, and a second detection distance that constitutes a mirror reflection with the local obstacle boundary model as a constraint of the obstacle boundary model to be optimized.

[0098] As an implementation method, if the obstacle boundary model to be optimized does not converge when the constraints of the obstacle boundary model to be optimized are respectively constructed based on the first detection distance and the second detection distance, the local obstacle boundary model can be initialized based on the first obstacle position information to obtain the obstacle boundary model to be optimized; then, the constraints of the obstacle boundary model to be optimized are constructed based on the first detection distance, and the model obtained when the obstacle boundary model to be optimized converges is used as the target obstacle boundary model.

[0099] As another implementation method, if the obstacle boundary model to be optimized does not converge when the constraints of the obstacle boundary model to be optimized are constructed based on the first detection distance, ultrasonic radar mapping can be performed based on the first measurement result and the second measurement result to plan the parking path of the vehicle.

[0100] The ultrasonic radar mapping module 440 is used to perform ultrasonic radar mapping based on the target obstacle boundary model to plan a parking path for the vehicle.

[0101] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0102] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0103] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0104] See also Fig.10 Based on the above ultrasonic radar mapping method and device, the embodiment of the present application also provides a vehicle 100 that can execute the above ultrasonic radar mapping method. The vehicle 100 includes a memory 102 and one or more (only one is shown in the figure) processors 104 coupled to each other, and the memory 102 and the processor 104 are connected by a communication line. The memory 102 stores a program that can execute the content of the above embodiment, and the processor 104 can execute the program stored in the memory 102.

[0105] Among them, the processor 104 may include one or more processing cores. The processor 104 uses various interfaces and lines to connect various parts in the entire vehicle 100, and executes various functions and processes data of the vehicle 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 102, and calling data stored in the memory 102. Optionally, the processor 104 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 104 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 104, but may be implemented separately through a communication chip.

[0106] The memory 102 may include a random access memory (RAM) or a read-only memory (ROM). The memory 102 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 102 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the aforementioned embodiments, etc. The data storage area may also store data created by the vehicle 100 during use (such as a phone book, audio and video data, chat record data), etc.

[0107] Please refer to Fig.11 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 500 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.

[0108] The computer-readable storage medium 500 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium 500 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 500 has storage space for program code 510 that performs any method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code 510 can be compressed, for example, in an appropriate form.

[0109] In summary, the embodiments of the present application provide an ultrasonic radar mapping method, device, vehicle and storage medium. The method can be applied to vehicles. The method obtains specified ultrasonic measurement results, wherein the specified ultrasonic measurement results include a first measurement result and a second measurement result, wherein the first measurement result includes first obstacle position information and a first detection distance, and the second measurement result includes second obstacle position information and a second detection distance; constructs a local obstacle boundary model, and initializes the local obstacle boundary model based on the first obstacle position information and the second obstacle position information to obtain an obstacle boundary model to be optimized, wherein each obstacle includes multiple local obstacle boundaries; constructs constraints of the obstacle boundary model to be optimized based on the first detection distance and the second detection distance, respectively, and uses the model obtained when the obstacle boundary model to be optimized converges as the target obstacle boundary model; and performs ultrasonic radar mapping based on the target obstacle boundary model to plan a parking path for the vehicle. Therefore, by locally modeling the obstacles to build an obstacle boundary model that is more in line with the real environment, and establishing optimization constraints on the local obstacle boundary model, the optimized target obstacle boundary model can have the ability to more accurately predict the obstacle position, thereby improving the accuracy of subsequent ultrasonic radar mapping.

[0110] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. An ultrasonic radar mapping method, It is characterized in that The method comprises: Acquire a specified ultrasonic measurement result, wherein the specified ultrasonic measurement result includes a first measurement result and a second measurement result, wherein the first measurement result includes first obstacle position information and a first detection distance, and the second measurement result includes second obstacle position information and a second detection distance; Constructing a local obstacle boundary model, and initializing the local obstacle boundary model based on the first obstacle position information and the second obstacle position information to obtain an obstacle boundary model to be optimized, wherein each obstacle includes a plurality of local obstacle boundaries; constructing constraints of the obstacle boundary model to be optimized based on the first detection distance and the second detection distance respectively, and using the model obtained when the obstacle boundary model to be optimized converges as the target obstacle boundary model; Ultrasonic radar mapping is performed based on the target obstacle boundary model to plan a parking path for the vehicle.

2. The method according to claim 1, It is characterized in that The obtaining of the specified ultrasonic measurement result includes: Obtaining multiple frames of obstacle position information corresponding to the same ultrasonic probe, where each two adjacent frames of obstacles in the multiple frames are located on the same straight line, and the multiple frames of detection results corresponding to each ultrasonic probe are a local observation sliding window; The spatial consistency of the multiple frames of obstacle position information is verified in a sliding window manner to eliminate noise observations and obtain the first obstacle position information.

3. The method according to claim 1, It is characterized in that The constraining of the obstacle boundary model to be optimized based on the first detection distance and the second detection distance respectively includes: using a first detection distance perpendicular to the local obstacle boundary model as a constraint of the obstacle boundary model to be optimized, and The second detection distance that forms a specular reflection with the local obstacle boundary model is used as a constraint of the obstacle boundary model to be optimized.

4. The method according to claim 1, It is characterized in that The constructing of the local obstacle boundary model includes: A geometric element is selected from a plurality of preset geometric elements as a local obstacle boundary model, and different geometric elements represent local obstacle boundary models with different curvatures.

5. The method according to claim 1, It is characterized in that There are multiple types of each local obstacle boundary model, and the initializing the local obstacle boundary model based on the first obstacle position information and the second obstacle position information to obtain the obstacle boundary model to be optimized includes: Initializing the multiple local obstacle boundary models respectively based on the first obstacle position information and the second obstacle position information to obtain multiple reference obstacle boundary models; An obstacle boundary model is selected from the plurality of reference obstacle boundary models based on a preset rule as the obstacle boundary model to be optimized.

6. The method according to any one of claims 1 to 5, It is characterized in that The method further comprises: If the obstacle boundary model to be optimized has not converged, initializing the local obstacle boundary model based on the first obstacle position information to obtain the obstacle boundary model to be optimized; The constraints of the obstacle boundary model to be optimized are constructed based on the first detection distance, and a model obtained when the obstacle boundary model to be optimized converges is used as a target obstacle boundary model.

7. The method according to claim 6, It is characterized in that The method further comprises: If the obstacle boundary model to be optimized has not converged, ultrasonic radar mapping is performed based on the first measurement result and the second measurement result to plan a parking path for the vehicle.

8. An ultrasonic radar mapping device, It is characterized in that The device comprises: An ultrasonic measurement result acquisition module, used to acquire a specified ultrasonic measurement result, wherein the specified ultrasonic measurement result includes a first measurement result and a second measurement result, wherein the first measurement result includes first obstacle position information and a first detection distance, and the second measurement result includes second obstacle position information and a second detection distance; An obstacle boundary model construction module is used to construct a local obstacle boundary model and initialize the local obstacle boundary model based on the first obstacle position information and the second obstacle position information to obtain an obstacle boundary model to be optimized, wherein each obstacle includes a plurality of local obstacle boundaries; an obstacle boundary model optimization module, configured to construct constraints of the obstacle boundary model to be optimized based on the first detection distance and the second detection distance, respectively, and use the model obtained when the obstacle boundary model to be optimized converges as a target obstacle boundary model; The ultrasonic radar mapping module is used to perform ultrasonic radar mapping based on the target obstacle boundary model to plan the parking path of the vehicle.

9. A vehicle, It is characterized in that including one or more processors and memory; One or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores program code, wherein when the program code is executed by a processor, the method according to any one of claims 1 to 7 is executed.