Method for determining position of obstacle in surrounding environment of vehicle, and related device
By setting up grid windows around the vehicle and using ultrasonic sensors to identify grid categories, the problem of insufficient ultrasonic signal detection accuracy in the existing technology is solved, and accurate obstacle detection and free parking space identification in complex scenes are achieved, improving efficiency. Performance of the vehicle's assisted parking functions.
Patent Information
- Application Number
- PCT/CN2023/079004
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-01
- Publication Date
- 2024-09-06
AI Technical Summary
Existing obstacle detection methods based on ultrasonic signals have insufficient accuracy in complex scenes, making it difficult to accurately determine the location of parking spaces and affecting the performance of vehicle auxiliary parking functions.
By setting up grid windows around the vehicle, using ultrasonic sensors to send and receive ultrasonic signals, determining features based on the ultrasonic data within the grid, identifying grid categories, and determining the location of obstacles through grid collections, achieving accurate detection in complex scenes. Obstacle detection.
It improves the accuracy and accuracy of obstacle detection, helps improve the performance of vehicle auxiliary parking functions, can accurately detect vacant parking spaces in complex scenes, and improves the reliability of automatic parking.
Smart Images

Figure CN2023079004_06092024_PF_FP
Abstract
Description
Method and related device for determining the position of obstacles in the vehicle's surrounding environment Technical Field
[0001] The present application relates to vehicle automatic control, and more particularly, to a method and apparatus for determining the position of obstacles in the surrounding environment of the vehicle based on ultrasonic signals. Background Art
[0002] Parking space detection is a crucial step in implementing assisted parking. This can be achieved by leveraging sensor signals to detect obstacles in the vehicle's surroundings. More accurate obstacle detection leads to more accurate parking space determination, improving the performance of assisted parking.
[0003] Ultrasonic sensors (USS) provide a low-cost obstacle detection method. However, conventional detection methods using ultrasonic signals are usually rule-based and cannot be effectively applied to more complex scenarios. In addition, the accuracy of obstacle location detection based on ultrasonic signals needs to be improved to help improve the performance of vehicle assisted parking functions.
[0004] Summary of the Invention
[0005] The following summary is provided to introduce selected concepts in a simplified form that are further described in the detailed description below. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to limit the scope of the claimed subject matter.
[0006] According to one aspect of the present application, a method for determining the position of an obstacle in a surrounding environment of a vehicle based on ultrasonic signals is provided, wherein the vehicle has an ultrasonic sensor for emitting and receiving ultrasonic signals to monitor the surrounding environment of the vehicle. The method comprises: determining ultrasonic signal-related features of each grid in at least a portion of grids in a grid window based on ultrasonic data within the grid window, wherein the grid window corresponds to a spatial region of a first size, and each grid in the grid window corresponds to a spatial region of a second size within the spatial region of the first size; for each grid in at least a portion of the grids in the grid window, identifying the grid as one of a first category and a second category based on the ultrasonic signal-related features of the grid; identifying multiple grids of the first category in the grid window as a grid set; determining ultrasonic signal-related features of the grid set based on ultrasonic data in the grid set; and determining the position of an obstacle corresponding to the grid set based on the ultrasonic signal-related features of the grid set.
[0007] According to one aspect of the present application, a method for detecting an empty parking space is provided, comprising: determining a position of an obstacle in the surrounding environment of a vehicle based on an ultrasonic signal by executing the method described herein; and detecting the empty parking space based on the determined position of the obstacle.
[0008] According to one aspect of the present application, a method for assisted parking is provided, comprising: determining the position of an obstacle in the surrounding environment of a vehicle based on an ultrasonic signal by executing the method described herein; detecting an empty parking space based on the determined position of the obstacle; and planning a route for driving the vehicle into the empty parking space based on the detected empty parking space.
[0009] According to one aspect of the present application, a control system for a vehicle is provided, comprising: one or more processing units, which, when executing program instructions, are configured to perform the method described herein for determining the position of obstacles in the surrounding environment of the vehicle based on ultrasonic signals.
[0010] According to one aspect of the present application, a machine-readable storage medium is provided, which stores executable instructions that, when executed, cause one or more processors to perform the method described herein for determining the position of an obstacle in a surrounding environment of a vehicle based on ultrasonic signals.
[0011] By utilizing the method for determining the position of obstacles in the surrounding environment of a vehicle based on ultrasonic signals according to the present application, it is possible to accurately detect the position of obstacles based on ultrasonic signals in various complex scenarios, thereby achieving accurate detection of vacant parking spaces, which helps to improve the performance of the assisted parking function. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] A further understanding of the nature and advantages of the present disclosure may be achieved by reference to the following drawings, in which similar components or features may have the same reference numerals.
[0013] FIG1 shows a schematic diagram of a vehicle according to one embodiment.
[0014] FIG2 shows a schematic diagram of a control system in a vehicle according to one embodiment.
[0015] FIG3 shows a schematic diagram of ultrasound data according to one embodiment.
[0016] FIG4 shows a schematic diagram of a method for determining positions of obstacles around a vehicle according to one embodiment.
[0017] FIG. 5 shows a simplified schematic diagram of the embodiment shown in FIG. 4 .
[0018] FIG5A is a schematic diagram showing a method for determining a grid category according to one embodiment.
[0019] FIG5B shows a block diagram of a method for determining a grid category according to one embodiment.
[0020] FIG5C shows a block diagram of a method for determining the location of an obstacle according to one embodiment.
[0021] FIG6 shows a block diagram of a method for determining a position of an obstacle according to one embodiment.
[0022] FIG. 7 shows a flow chart of a method for determining a position of an obstacle in the surroundings of a vehicle according to one embodiment.
[0023] FIG8 shows a flow chart of a method for detecting a vacant parking space according to one embodiment.
[0024] FIG9 shows a flowchart of a method for assisting parking according to one embodiment.
[0025] FIG10 shows a block diagram of a control system for a vehicle according to one embodiment. DETAILED DESCRIPTION
[0026] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that discussing these embodiments is intended only to enable those skilled in the art to better understand and implement the subject matter described herein, and is not intended to limit the scope of protection, applicability, or examples set forth in the claims. The functions and arrangements of the elements discussed may be changed without departing from the scope of protection of this disclosure. Various examples may omit, replace, or add various processes or components as needed. For example, the described method may be performed in an order different from the described order, and various steps may be added, omitted, or combined. In addition, features described relative to some examples may also be combined in other examples.
[0027] As used herein, the term "including" and its variations are open-ended terms meaning "including but not limited to." The term "based on" means "based at least in part on." The terms "one embodiment" and "an embodiment" mean "at least one embodiment." The term "another embodiment" means "at least one other embodiment." The terms "first," "second," etc. may refer to different or the same objects. Unless the context clearly indicates otherwise, the definition of a term is consistent throughout the specification.
[0028] FIG1 shows a schematic diagram of a vehicle according to one embodiment.
[0029] Vehicle 100 is equipped with ultrasonic sensors 110. As shown in the figure, ultrasonic sensors 110 can be installed on the front, rear, left, and right sides of the vehicle, corresponding to the front, rear, left, and right sides of the vehicle, respectively. The number and installation positions of ultrasonic sensors 110 are not limited to those shown in FIG. 1 . In different implementations, vehicle 100 may include more or fewer ultrasonic sensors 110, and the installation positions of ultrasonic sensors may also vary.
[0030] The ultrasonic sensor 110 can emit an ultrasonic signal 120. When the ultrasonic signal 120 encounters an obstacle and is reflected, the ultrasonic sensor 110 can receive the reflected ultrasonic echo signal. Various ultrasonic data related to the ultrasonic signal can be obtained based on the transmitted ultrasonic signal and the received echo. In one embodiment, the ultrasonic sensor module may include the ultrasonic sensor 110 and a processing unit. The ultrasonic sensor 110 includes a transmitter for transmitting the ultrasonic signal and a receiver for receiving the ultrasonic signal, such as an echo. The corresponding processing unit can obtain various ultrasonic data based on the transmitted ultrasonic signal and the received echo signal. The ultrasonic data includes various features related to the ultrasonic signal.
[0031] For example, the two ultrasonic sensors 110 on the right front side of the vehicle shown in Figure 1 can constitute an ultrasonic sensor module, which includes two ultrasonic sensors for sending and receiving ultrasonic signals and a processing unit. The processing unit can obtain corresponding various ultrasonic data based on the ultrasonic signals emitted by the corresponding two sensing units and the corresponding received echo signals; similarly, the two ultrasonic sensors 110 on the right rear side of the vehicle shown in Figure 1, the two ultrasonic sensors 110 on the left front side, the two ultrasonic sensors 110 on the left rear side, the four ultrasonic sensors 110 on the front side, and the four ultrasonic sensors 110 on the rear side can all constitute an ultrasonic sensor module with their corresponding processing units.
[0032] For another example, the four ultrasonic sensors 110 on the right side of the vehicle shown in FIG1 and their corresponding processing units may constitute an ultrasonic sensor module, and the processing unit may obtain corresponding various ultrasonic data based on the ultrasonic signals emitted by the corresponding four sensors and the corresponding echo signals received; similarly, the four ultrasonic sensors 110 on the left side of the vehicle, the four ultrasonic sensors 110 on the front side, and the four ultrasonic sensors on the rear side may all constitute an ultrasonic sensor module with their corresponding processing units.
[0033] For another example, all ultrasonic sensors 110 shown in FIG. 1 may constitute an ultrasonic sensor module together with their corresponding processing units. The processing unit may obtain corresponding various ultrasonic data based on the ultrasonic signals emitted by the corresponding sensors and the corresponding received echo signals.
[0034] In each of the above examples, the processing unit can control the transmission and reception of signals from each ultrasonic sensor, and obtain corresponding various ultrasonic data based on the ultrasonic signals emitted by the corresponding sensor and the corresponding echo signals received. In this document, depending on the context, the term "ultrasonic sensor" can refer to an ultrasonic sensing unit for transmitting and receiving ultrasonic signals and echoes, or it can refer to the ultrasonic sensor module in each of the above examples. Those skilled in the art will be able to distinguish the meaning of "ultrasonic sensor" in a specific context.
[0035] The processing unit of the ultrasonic sensor module can obtain various corresponding ultrasonic data based on the ultrasonic signals emitted by the corresponding sensor 110 and the corresponding received echo signals. In one embodiment, the ultrasonic data may include echo data, which may include the echo amplitude, echo strength, echo distance, echo first coordinate, echo second coordinate, sensor first coordinate, sensor second coordinate, timestamp, etc. In one embodiment, the echo data can be obtained using a centerline method. For example, while the vehicle is moving along direction 140, the ultrasonic sensor 110 on the right front side of the vehicle transmits ultrasonic signals and receives ultrasonic echo signals under the control of its processing unit. In the centerline method, it is assumed that the reflection point on the detected obstacle is on the centerline 150 of the ultrasonic arc. Based on this, the processing unit can detect the reflection point of the corresponding ultrasonic signal as the location of the echo, which can be expressed as echo coordinates, for example.
[0036] In one embodiment, the ultrasonic data may include intersection data, which may include a first intersection coordinate, a second intersection coordinate, an intersection distance, a nearest neighbor distance, a first sensor coordinate, a second sensor coordinate, a first nearest neighbor coordinate, a second nearest neighbor coordinate, and the like. For example, while a vehicle is traveling along direction 140, ultrasonic sensor 110 on the right front side of the vehicle transmits ultrasonic signals and receives ultrasonic echo signals under the control of its processing unit. In the example shown in FIG1 , two sensors 110 transmit two ultrasonic signals 120. Based on the known positional relationship between the two sensors 110, the transmission time of the two ultrasonic signals 120, and the reception time of the corresponding echoes, the processing unit may calculate an intersection point 160 of the ultrasonic arcs of the two ultrasonic signals 120. This intersection point 160 may represent a reflection point on the detected obstacle, and the data regarding this intersection point 160 may be used as the aforementioned intersection data. In one embodiment, the intersection point is not limited to the intersection point of two ultrasonic arcs transmitted by two sensors; it may also be the intersection point of two ultrasonic arcs transmitted by the same sensor at different times. Those skilled in the art will appreciate that the intersection point data is calculated based on the echo data, and corresponding intersection point data may be obtained based on an ultrasonic arc of any two echo data within a certain range.
[0037] In one embodiment, the ultrasound data may include the above-mentioned echo data and / or intersection data, and the ultrasound data may optionally also include other data related to the ultrasound signal, such as data related to the ultrasound signal obtained based on methods known in the art or possible methods in the future.
[0038] The processing unit of the ultrasonic sensor module can provide the obtained ultrasonic data to the vehicle's control unit 130. In one embodiment, the vehicle's control unit 130 can be the vehicle's electronic control unit (ECU). In one embodiment, some or all of the operations performed by the ultrasonic sensor module's processing unit can also be performed by the vehicle's control unit 130. For example, the aforementioned operations of obtaining corresponding echo data and / or intersection point data based on the ultrasonic signals emitted by the corresponding sensors 110 and the corresponding received echo signals can alternatively be performed by the control unit 130 or another processing unit outside of the sensor module.
[0039] FIG2 shows a schematic diagram of a control system in a vehicle according to one embodiment.
[0040] In the control system shown in FIG2 , the same components as those in FIG1 are marked with the same reference numerals. Those skilled in the art will appreciate that FIG2 only shows components related to the technical solution of the present disclosure.
[0041] As shown in FIG2 , ultrasonic sensor modules 105-1 through 105-N each include one or more ultrasonic sensors 110 and processing units 115-1 through 115-N. As described above in conjunction with FIG1 , a vehicle may include only one ultrasonic sensor module 105, which includes, for example, multiple ultrasonic sensors 110 and an ultrasonic processing unit 115 mounted on the vehicle as shown in FIG1 . Those skilled in the art will appreciate that, in various implementations, a vehicle may include one or more ultrasonic sensor modules 105, each of which may include one or more ultrasonic sensors 110.
[0042] The vehicle control unit 130 can control the operation of the ultrasonic sensor module 105, receive ultrasonic data from the ultrasonic sensor module 105, and perform further operations based on the ultrasonic data. As described above, some or all of the operations performed by the processing unit 115 of the ultrasonic sensor module 105 can also be performed by other processing units other than the vehicle control unit 130 or the ultrasonic sensor module 105.
[0043] The vehicle control system may further include a human-machine interface 180. The control unit 130 may output information understandable to a user, such as a driver, via the human-machine interface 180, and may also receive information input by the user through the human-machine interface. In one embodiment, the user may input a selection to enter the assisted parking mode via the human-machine interface 180. Upon receiving the instruction to enter the assisted parking mode, the control unit 130 may control the vehicle to operate in the assisted parking mode, for example, to automatically search for a parking space and automatically park the vehicle. In another embodiment, the control unit 130 may automatically control the vehicle to enter the assisted parking mode or the automatic parking mode.
[0044] FIG3 shows a schematic diagram of ultrasound data according to one embodiment.
[0045] In the embodiment shown in FIG3 , for example, while a vehicle is traveling in a parking lot along a direction 310 , the ultrasonic sensor module 105 acquires ultrasonic data 320 . This ultrasonic data 320 includes the echo data and / or intersection data described above. Each ultrasonic data sample point 320 shown in FIG3 represents an echo data sample point or an intersection data sample point. Each echo data sample point may include the echo amplitude, echo intensity, echo distance, echo first coordinate, echo second coordinate, sensor first coordinate, sensor second coordinate, timestamp, etc. of the echo. Each intersection data sample point may include the intersection first coordinate, intersection second coordinate, intersection distance, intersection neighbor distance, sensor first coordinate, sensor second coordinate, intersection neighbor first coordinate, intersection neighbor second coordinate, etc. Those skilled in the art will appreciate that, in addition to the echo data and intersection data features described above, the echo data and intersection data may also include other features related to ultrasonic signals. Any echo data and intersection data features known in the art or that may be adopted in the future may be applied to the technical solutions of the present disclosure. Those skilled in the art will appreciate that, in addition to the exemplified echo data and intersection data, the ultrasound data 320 may also include other data related to the ultrasound signal, such as data related to the ultrasound signal obtained based on methods known in the art or possible methods in the future.
[0046] In one embodiment, for example, ultrasonic data 320 shown in FIG. 3 may be cached in a buffer or memory of the vehicle's processing system, and the vehicle's control unit 130 or other processing unit may further process the cached ultrasonic data 320. In one embodiment, the vehicle's control unit 130 or other processing unit may further process the cached ultrasonic data 320 to determine the location of an obstacle. In one embodiment, the vehicle's control unit 130 or other processing unit may determine whether there are vacant parking spaces based on the determined location of the obstacle. In one embodiment, the vehicle's control unit 130 or other processing unit may plan an automated parking route based on the detection of vacant parking spaces.
[0047] FIG4 shows a schematic diagram of a method for determining positions of obstacles around a vehicle according to one embodiment.
[0048] In the embodiment shown in FIG4 , a grid window 330 is provided, which includes a plurality of grids 335. The grid window 330 corresponds to a spatial region of a first size, and each grid 335 in the grid window corresponds to a spatial region of a second size within the spatial region of the first size. For example, the grid window 330 can be set to correspond to a spatial region of 5 meters by 2 meters, which can roughly cover the spatial area of a parking space, and each grid 335 can be set to correspond to a spatial region of 0.1 meters by 0.1 meters. In this example, the grid window 330 can include 50 by 20 grids. The size of the grid window 330 is not limited to a specific value, and the size of each grid 335 is also not limited to a specific value. In one embodiment, the size of the grid window 330 can be set based on the size of the buffer. In one embodiment, the size of the grid 335 can be set based on the requirement for position detection accuracy.
[0049] The ultrasound data 320 in the buffer can be extracted based on the grid window 330 or based on each grid 335 in the grid window 330. In one embodiment, characteristics related to the ultrasound signal of each grid 335 in the grid window 330 can be determined based on the ultrasound data within the grid. For example, the grid 335 includes multiple ultrasound data samples, and the multiple ultrasound data sample points may include echo data sample points and / or intersection data sample points. Each echo data sample point may include characteristics related to the ultrasound signal, such as the echo amplitude, echo intensity, echo distance, echo first coordinate, echo second coordinate, sensor first coordinate, sensor second coordinate, timestamp, etc. Each intersection data sample point may include characteristics related to the ultrasound signal, such as the intersection first coordinate, intersection second coordinate, intersection distance, intersection nearest neighbor distance, sensor first coordinate, sensor second coordinate, intersection nearest neighbor first coordinate, and intersection nearest neighbor second coordinate.
[0050] In one embodiment, an average value of corresponding features of each ultrasound data sample point in the grid 335 may be calculated to serve as the ultrasound signal-related feature of the grid 335. For example, the grid 335 includes multiple echo data samples (e.g., 10 echo data samples) and multiple intersection data samples (e.g., 10 intersection data samples), each echo data sample includes multiple ultrasound signal-related features (e.g., 8 echo features 1-8), and each intersection data sample includes multiple ultrasound signal-related features (e.g., 8 intersection features 9-16). Therefore, a feature vector including multidimensional features may be obtained for each ultrasound data sample. For example, in this example, a feature vector including 16 features 1-16 may be obtained for each ultrasound data sample, and an average feature vector may be calculated for the 20 ultrasound data samples in the grid to serve as the ultrasound signal-related feature vector of the grid. For another example, in the above example, an average feature vector of the echo data (e.g., including features 1-8) can be calculated for multiple (e.g., 10) echo data samples, and an average feature vector of the intersection data (e.g., including features 9-16) can be calculated for multiple (e.g., 10) intersection data samples. The average feature vector of the echo data and the average feature vector of the intersection data are combined to form an average feature vector of the ultrasound data samples in the grid 335 (e.g., including features 1-16), which serves as the feature related to the ultrasound signal of the grid 335. Those skilled in the art will appreciate that appropriate methods can be used to determine the feature related to the ultrasound signal of the grid based on the ultrasound data in the grid, and the technical solutions of the present disclosure are not limited to the specific implementation methods in the above examples.
[0051] FIG. 5 shows a simplified schematic diagram of the embodiment shown in FIG. 4 .
[0052] For ease of illustration, FIG5 shows only the grid window 330, without showing the ultrasound data 320 within the grid. In one embodiment, for each grid 335 in at least a portion of the grids in the grid window 330, the grid is identified as being in one of a first category and a second category based on characteristics of the grid 335 related to the ultrasound signal. The first category and the second category can be an occupied category and an unoccupied category, respectively, indicating whether there is an obstacle in the grid.
[0053] FIG5A shows a schematic diagram for determining a grid category according to one embodiment.
[0054] 5A shows a grid 335 to be classified, and grids 338 with diagonal shading represent adjacent grids 335 surrounding grid 336. In one embodiment, grid 336 is identified as either occupied or unoccupied based on ultrasound-related features of grid 336 and ultrasound-related features of its surrounding adjacent grids 338.
[0055] FIG5B shows a block diagram for determining a grid category according to one embodiment.
[0056] As shown in FIG5B , the classification can be performed by a classification module 510. The ultrasound-related feature vector of grid 336 and the ultrasound-related feature vectors of the eight adjacent grids 338 are input to the classification module 510. Based on the ultrasound-related features of grids 336 and 338, the classification module 510 outputs a category 520 for grid 336, which is either occupied or idle. In one embodiment, the classification module 510 can be implemented using a scalable gradient boosting (xgboost) model.
[0057] In another embodiment, the classification of grid 336 as occupied or idle may be determined based on the characteristics of grid 336. In another embodiment, grid 336 may be identified as occupied or idle based on the characteristics of grid 336 and one or more adjacent grids. In another embodiment, other network models may also be used to implement classification module 510.
[0058] In the example shown in FIG5 , each grid 335 is classified as occupied or unoccupied using the classification module 510 shown in FIG5B . As shown in FIG5 , grids 337 with shaded shading represent grids classified as occupied. In one embodiment, connected grids 337 of the occupied category can be identified as a grid set 337 , which can roughly represent the location of an obstacle.
[0059] FIG5C shows a block diagram for determining the location of an obstacle according to one embodiment.
[0060] In one embodiment, features associated with the ultrasound signal in grid set 337 are determined based on the ultrasound data in grid set 337. As shown in FIG5C , the features associated with the ultrasound signal in grid set 337 are used as input to a location determination module 530. Based on the features associated with the ultrasound signal in grid set 337, location determination module 530 outputs a location 540 of the obstacle corresponding to grid set 337. As shown in FIG5 , the location output by location determination module 530 may be two coordinates 339, each representing the location of the end of the obstacle. In one embodiment, location determination module 530 may be implemented using a scalable gradient boosting (xgboost) model.
[0061] FIG6 shows a block diagram for determining the location of an obstacle according to one embodiment.
[0062] In the embodiment shown in FIG6 , the location determination module 530 includes four submodules 610, 620, 630, and 640. Submodules 610, 620, 630, and 640 generate four coordinate values 616, 626, 636, and 646, respectively, based on four feature subsets 615, 625, 635, and 645 of the grid set 337 related to the ultrasonic signal. Coordinate values 616 and 626 represent the abscissa and ordinate of the position 339 at one end of the grid set 337, while coordinate values 636 and 646 represent the abscissa and ordinate of the position 339 at the other end of the grid set 337. The coordinates (616, 626) and (636, 646) at the two ends of the grid set 337 can accurately represent the location of the corresponding obstacle, thereby helping to improve the performance of subsequent parking space detection and automatic parking planning.
[0063] Feature subset 615 can be determined based on ultrasound data in a grid subset 337-1 in grid set 337. In one embodiment, grid subset 337-1 includes grids at the ends of grid set 337, such as the leftmost grid in grid set 337 shown in FIG5. In one embodiment, grid subset 337-1 includes the grid at the end of grid set 337 and adjacent grids within a predetermined range. For example, in the example described above where the grid window size is 5 meters by 2 meters and the grid size is 0.1 meters by 0.1 meters, ultrasound data within a specific range (e.g., 50 centimeters) of the end grids has an impact on the accuracy of obstacle location estimation. Therefore, in this example, grids within a 50-centimeter range centered on the end grid in grid set 337 can be selected as grid subset 337-1. Similarly, grids within a 50-centimeter range centered on the other end grid in grid set 337 can be selected as grid subset 337-2. The feature subset 625 may be determined based on the ultrasound data in the grid subset 337 - 1 , and the feature subsets 635 and 645 may be determined based on the ultrasound data in the grid subset 337 - 2 .
[0064] In one embodiment, the statistics of the features of the plurality of ultrasound data samples in the grid subset 337-1 may be used as the feature subset 615. For example, the statistics set may include the mean, minimum, maximum, variance, quantile, and kurtosis. For example, the grid subset 337-1 includes a plurality of echo data samples (e.g., 50 echo data samples) and a plurality of intersection data samples (e.g., 50 intersection data samples), each echo data sample includes a plurality of features related to the ultrasound signal (e.g., 50 echo features 1-50) and each intersection data sample includes a plurality of features related to the ultrasound signal (e.g., 50 intersection features 51-100). Various statistics of the echo data may be calculated for the plurality of (e.g., 50) echo data samples (e.g., if all the statistics in the above statistics set are used), Six statistics are calculated based on the six statistical feature vectors, each of which includes features 1-50), and various statistics of the intersection data are calculated for multiple (e.g., 50) intersection data samples (e.g., six statistical feature vectors are calculated, each of which includes features 51-100). The statistical feature vectors of the echo data and the corresponding statistical feature vectors of the intersection data are combined into statistical feature vectors of the ultrasound data samples in the grid 335 (e.g., six statistical feature vectors, each of which includes features 1-100), as a feature subset 615. Similarly, the statistics of the features of the multiple ultrasound data samples in the grid subset 337-1 can be used as a feature subset 625, and the statistics of the features of the multiple ultrasound data samples in the grid subset 337-2 can be used as feature subsets 635 and 645. In the above embodiment, a first number of features (e.g., 16 features) is used when calculating the features associated with the ultrasonic signal for grid 335, and a second number of features (e.g., 100 features) is used when calculating the statistical features used as input to classification module 510, where the second number is greater than the first number. By adopting this implementation, a rough classification of the grid can be performed with a lower computational effort, while ensuring more accurate determination of the obstacle's location during the precise location determination phase. Those skilled in the art will appreciate that the technical solutions disclosed herein are not limited to a specific number of features employed.
[0065] In one embodiment, the same ultrasound data features can be used for submodules 610 to 640. For example, the amplitude, intensity, and echo travel distance of the echo data, as well as the intersection point coordinates, the distance from the intersection point to the first reference point, the distance from the intersection point to the second reference point, and the sensor coordinates of the intersection point data can be used for submodules 610 to 640. In another embodiment, different ultrasound data features can be used for submodules 610 to 640. Those skilled in the art will appreciate that during the training process of models 610 to 640, optimal ultrasound data features for each of submodules 610 to 640 can be determined.
[0066] In one embodiment, the first statistical subset from the above statistical set can be used as feature subset 615, the second statistical subset from the above statistical set can be used as feature subset 625, the third statistical subset from the above statistical set can be used as feature subset 635, and the fourth statistical subset from the above statistical set can be used as feature subset 645. The first to fourth statistical subsets can be different. For example, the first statistical subset includes the mean, minimum, variance, and quartiles from the statistical set, the second statistical subset includes the mean, maximum, variance, and kurtosis from the statistical set, the third statistical subset includes the mean, maximum, variance, and quartiles from the statistical set, and the fourth statistical subset includes the mean, maximum, variance, and quartiles from the statistical set. Those skilled in the art will appreciate that during the training process of models 610 to 640, the optimal first, second, third, and fourth statistical subsets can be determined. Those skilled in the art will appreciate that the technical solutions disclosed herein are not limited to specific statistical sets or specific statistical sets.
[0067] In one embodiment, the first position determination submodule 610, the second position determination submodule 620, the third position determination submodule 630 and the fourth position determination submodule 640 can be implemented using a scalable gradient boosting (xgboost) model. In one embodiment, the first position determination submodule 610, the second position determination submodule 620, the third position determination submodule 630 and the fourth position determination submodule 640 can have different model structures. For example, when the xgboost model is used to implement them, the submodules 610 to 640 have different numbers of layers and the number of decision nodes per layer. Those skilled in the art will appreciate that during the training process of the submodels 610 to 640, the structures of the optimal first xgboost model, the second xgboost model, the third xgboost model and the fourth xgboost model can be determined. Those skilled in the art will appreciate that the technical solutions disclosed herein are not limited to the structure of a specific xgboost model.
[0068] In one embodiment, the feature subset 615 may include, in addition to the aforementioned statistical features of the features of the plurality of ultrasound data samples in the grid subset 337-1, the features of the plurality of ultrasound data samples in the grid subset 337-1. Similarly, the feature subsets 625, 635, and 645 may include, in addition to the aforementioned statistical features of the features of the plurality of ultrasound data samples in the grid subset 337-1 or 337-2, the features of the plurality of ultrasound data samples in the grid subset 337-1 or 337-2.
[0069] FIG. 7 shows a flow chart of a method for determining a position of an obstacle in the surroundings of a vehicle according to one embodiment.
[0070] In step 710, ultrasound signal-related features of each grid in a grid window are determined based on ultrasound data within the grid window, wherein the grid window corresponds to a spatial region of a first size and each grid in the grid window corresponds to a spatial region of a second size within the spatial region of the first size.
[0071] At step 720 , for each grid in at least a portion of the grids in the grid window, the grid is identified as one of a first category and a second category based on a characteristic of the grid related to the ultrasound signal.
[0072] At step 730 , a plurality of grids of the first category in the grid window are identified as a grid set.
[0073] At step 740 , features of the grid set related to the ultrasound signal are determined based on the ultrasound data in the grid set.
[0074] At step 750 , a position of an obstacle corresponding to the grid set is determined based on the characteristics of the grid set related to the ultrasonic signal.
[0075] According to one embodiment, the grid window slides according to a step length. For each sliding grid window, steps 710 to 750 are repeatedly performed. The step length is smaller than the length of the grid window along the sliding direction. For example, the step length can be 0.5 meters, 1 meter, 1.5 meters, etc.
[0076] According to one embodiment, step 710 further comprises determining a characteristic of the grid related to the ultrasound signal by averaging corresponding characteristics of each ultrasound data point within the grid.
[0077] According to one embodiment, step 720 further includes: identifying the grid as one of the first category and the second category based on the ultrasonic signal-related features of the grid and the ultrasonic signal-related features of grids adjacent to the grid. According to one embodiment, step 720 is performed by a first xgboost model.
[0078] According to one embodiment, step 730 further includes: identifying a plurality of connected grids of the first category in the grid window as a grid set.
[0079] According to one embodiment, step 740 further includes determining ultrasound signal-related features of the grid set based on ultrasound data in a first grid subset at one end of the grid set and ultrasound data in a second grid subset at the other end. According to one embodiment, the first grid subset and the second grid subset include a first grid at the end of the grid set and a second grid at the other end, respectively. According to one embodiment, the first grid subset and the second grid subset include a first grid at the end of the grid set and adjacent grids within a predetermined range thereof, and a second grid at the other end and adjacent grids within a predetermined range thereof, respectively.
[0080] According to one embodiment, step 740 further includes: determining a first set of features and a second set of features of the grid set related to the ultrasound signal based on the ultrasound data in the first grid subset, and determining a third set of features and a fourth set of features of the grid set related to the ultrasound signal based on the ultrasound data in the second grid subset.
[0081] According to one embodiment, step 740 further includes: determining a first set of features and a second set of features related to the ultrasound signal of the grid set by respectively calculating a first set of statistics and a second set of statistics from a plurality of statistics for the first and second sets of features of the ultrasound data in the first grid subset, and determining a third set of features and a fourth set of features related to the ultrasound signal of the grid set by respectively calculating a third set of statistics and a fourth set of statistics from the plurality of statistics for the third and fourth sets of features of the ultrasound data in the second grid subset. The first set of features, the second set of features, the third set of features, and the fourth set of features may be the same features or different features.
[0082] According to one embodiment, step 750 further includes: determining the first coordinate value and the second coordinate value of the first position of the obstacle corresponding to the grid set based on the first set of features and the second set of features of the grid set related to the ultrasonic signal, and determining the third coordinate value and the fourth coordinate value of the second position of the obstacle corresponding to the grid set based on the third set of features and the fourth set of features of the grid set related to the ultrasonic signal.
[0083] According to one embodiment, step 740 is performed by a second XGBoost model. According to one embodiment, the second XGBoost model includes a first XGBoost sub-model, a second XGBoost sub-model, a third XGBoost sub-model, and a fourth XGBoost sub-model, wherein the first XGBoost sub-model, the second XGBoost sub-model, the third XGBoost sub-model, and the fourth XGBoost sub-model generate the first coordinate value, the second coordinate value, the third coordinate value, and the fourth coordinate value based on the first set of features, the second set of features, the third set of features, and the fourth set of features related to the ultrasound signal of the grid set, respectively.
[0084] According to one embodiment, the ultrasound data includes: echo data representing characteristics of corresponding echoes of each emitted ultrasound signal; and / or intersection data representing characteristics of intersections between different ultrasound signals. According to one embodiment, the echo data includes at least a portion of the coordinates of corresponding echoes of each ultrasound signal obtained based on a centerline detection method, the first echo coordinates, the second echo coordinates, the echo amplitude, the echo intensity, and the echo distance of the corresponding echo; and / or, the intersection data includes at least a portion of the first intersection coordinate, the second intersection coordinate, the intersection distance, the intersection neighbor distance, the first sensor coordinate, the second sensor coordinate, the first intersection neighbor coordinate, and the second intersection neighbor coordinate.
[0085] FIG8 shows a method for detecting a vacant parking space according to one embodiment.
[0086] At step 810 , the positions of obstacles around the vehicle are determined based on the ultrasonic signals. The various embodiments described herein in conjunction with FIG. 1-7 may be employed to determine the positions of obstacles around the vehicle based on the ultrasonic signals.
[0087] In step 820, vacant parking spaces are detected based on the determined obstacle positions. In one embodiment, for each sliding of the sliding grid window, step 810 outputs the positions of one or more obstacles within the sliding window. In step 820, the positions of the obstacles and the position and size of the space beyond the obstacles can be determined based on this position data, thereby accurately identifying the positions and sizes of vacant parking spaces. Detecting vacant parking spaces based on the positions of obstacles in step 820 can be implemented using various suitable methods known in the art.
[0088] FIG9 shows a method for assisting parking according to one embodiment.
[0089] At step 910 , vacant parking spaces around the vehicle are detected. The various embodiments described herein in conjunction with FIG. 1-8 may be employed to determine vacant parking spaces around the vehicle based on ultrasonic signals.
[0090] In step 920, a route for driving the vehicle into the vacant parking space is planned based on the detected vacant parking space. The parking route planning in step 920 can be implemented in various suitable ways in the art.
[0091] FIG10 shows a block diagram of a control system for a vehicle according to one embodiment.
[0092] According to one embodiment, the control system or processing system 1000 may include one or more control units or processing units 1010, which execute one or more machine-readable instructions stored or encoded in a machine-readable storage medium (i.e., memory 1020). Although not shown in FIG10 , those skilled in the art will appreciate that the control system 1000 may include various other components, such as various communication modules, bus modules, and possibly a user interface module.
[0093] In one embodiment, the control system 1000 may include the control unit 130 and / or the processing unit 115 shown in Figures 1 and 2, which are configured to perform the various operations and functions described above in conjunction with Figures 1-9 when executing program instructions.
[0094] According to one embodiment, a program product, such as a non-transitory machine-readable medium, is provided. The non-transitory machine-readable medium may have instructions that, when executed by a machine, such as the control unit 1010, cause a device, such as the control unit 1010, a vehicle, etc., to perform the various operations and functions described above in conjunction with Figures 1-9 in various embodiments of the present application.
[0095] According to one embodiment, a vehicle is provided having an ultrasonic sensor such as that shown in FIG1 for emitting and receiving ultrasonic signals, and a control system 100 as shown in FIG10 .
[0096] The specific embodiments described above in conjunction with the accompanying drawings describe exemplary embodiments, but do not represent all embodiments that can be implemented or fall within the scope of protection of the claims. The term "example" used throughout this specification may mean "used as an example, instance or illustration" and does not mean "preferred" or "having advantages" over other embodiments. For the purpose of providing an understanding of the described technology, the specific embodiments include specific details. However, these technologies can be implemented without these specific details. In some instances, in order to avoid obscuring the concepts of the described embodiments, well-known structures and devices are shown in block diagram form.
[0097] The foregoing description of the present disclosure is provided to enable any person skilled in the art to implement or use the present disclosure. Various modifications to the present disclosure will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the scope of the present disclosure. Therefore, the present disclosure is not limited to the examples and designs described herein, but is intended to be consistent with the widest range of principles and novel features disclosed herein.
Claims
1. A method for determining the position of an obstacle in the surrounding environment of a vehicle based on ultrasonic signals, include: determining a feature related to the ultrasound signal of each grid in at least a portion of the grids in the grid window based on ultrasound data in the grid, wherein the grid window corresponds to a spatial region of a first size and each grid in the grid window corresponds to a spatial region of a second size in the spatial region of the first size; For each grid in at least a portion of the grids in the grid window, identifying the grid as one of a first category and a second category based on a feature of the grid related to the ultrasound signal; Identify a plurality of grids of the first category in the grid window as a grid set; determining ultrasound signal-related features of the grid set based on ultrasound data in the grid set; and The position of an obstacle corresponding to the grid set is determined based on the characteristics of the grid set related to the ultrasonic signal.
2. The method according to claim 1, in, The grid window slides according to a step size, and for each sliding grid window, the steps of determining features of the grid related to the ultrasonic signal, identifying the grid as one of the first category and the second category, identifying multiple grids of the first category in the grid window as a grid set, determining features of the grid set related to the ultrasonic signal, and determining the position of an obstacle corresponding to the grid set are performed.
3. The method according to claim 1, in, The identifying the grid as one of the first category and the second category based on the characteristics of the grid related to the ultrasonic signal includes: identifying the grid as one of the first category and the second category based on the characteristics of the grid related to the ultrasonic signal and the characteristics of the grids adjacent to the grid related to the ultrasonic signal.
4. The method according to one of claims 1 to 3, in, The identifying the grid as one of the first category and the second category based on the feature of the grid related to the ultrasound signal is performed by a first xgboost model.
5. The method according to claim 1, in, The identifying a plurality of first-category grids in the grid window as a grid set includes: identifying a plurality of connected first-category grids in the grid window as a grid set.
6. The method according to claim 1, in, The determining the ultrasonic signal-related features of the grid set includes: determining the ultrasonic signal-related features of the grid set based on ultrasonic data in a first grid subset at one end of the grid set and ultrasonic data in a second grid subset at the other end.
7. The method according to claim 6, in, The first grid subset and the second grid subset respectively include a first grid at an end of the grid set and a second grid at the other end; or wherein the first grid subset and the second grid subset respectively include a first grid at an end of the grid set and adjacent grids within a predetermined range thereof and a second grid at the other end and adjacent grids within a predetermined range thereof.
8. The method according to claim 7, in, The determining of the features of the grid set related to the ultrasonic signal includes: determining a first group of features and a second group of features of the grid set related to the ultrasonic signal based on the ultrasonic data in the first grid subset, and determining a third group of features and a fourth group of features of the grid set related to the ultrasonic signal based on the ultrasonic data in the second grid subset.
9. The method according to claim 8, in, The method of determining the features of the grid set related to the ultrasonic signal includes: determining a first group of features and a second group of features of the grid set related to the ultrasonic signal by respectively calculating a first part of statistics and a second part of statistics from a plurality of statistics for a first part of features and a second part of features of the ultrasonic data in the first grid subset, and determining a third group of features and a fourth group of features of the grid set related to the ultrasonic signal by respectively calculating a third part of statistics and a fourth part of statistics from the plurality of statistics for a third part of features and a fourth part of features of the ultrasonic data in the second grid subset.
10. The method as claimed in claim 8, in, The determining of the position of the obstacle corresponding to the grid set includes: determining a first coordinate value and a second coordinate value of the first position of the obstacle corresponding to the grid set based on the first set of features and the second set of features of the grid set related to the ultrasonic signal, and determining a third coordinate value and a fourth coordinate value of the second position of the obstacle corresponding to the grid set based on the third set of features and the fourth set of features of the grid set related to the ultrasonic signal.
11. The method according to claim 10, in, The determining the position of the obstacle corresponding to the grid set based on the features related to the ultrasonic signal of the grid set is performed by a second xgboost model.
12. The method according to claim 11, in, The second xgboost model includes a first xgboost sub-model, a second xgboost sub-model, a third xgboost sub-model and a fourth xgboost sub-model, wherein the first xgboost sub-model, the second xgboost sub-model, the third xgboost sub-model and the fourth xgboost sub-model respectively generate the first coordinate value, the second coordinate value, the third coordinate value and the fourth coordinate value based on the first group of features, the second group of features, the third group of features and the fourth group of features related to the ultrasonic signal of the grid set.
13. The method of claim 1, in, The step of determining the ultrasonic signal-related feature of each grid based on the ultrasonic data in at least part of the grids in the grid window comprises: The characteristic associated with the ultrasound signal of the grid is determined by averaging the corresponding characteristics of each ultrasound data point within the grid.
14. The method according to one of claims 1 to 13, in, The ultrasonic data includes: echo data, which indicates the characteristics of the corresponding echo of each ultrasonic signal emitted; and / or intersection data, which indicates the characteristics of the intersection between different ultrasonic signals.
15. The method of claim 14, in, The echo data includes at least a part of the echo first coordinate, echo second coordinate, echo amplitude, echo intensity and echo distance of the corresponding echo of each ultrasonic signal obtained based on the centerline detection method; and / or, wherein the intersection point data includes at least a part of the intersection point first coordinate, intersection point second coordinate, intersection point distance, intersection point neighbor distance, sensor first coordinate, sensor second coordinate, intersection point neighbor first coordinate, and intersection point neighbor second coordinate.
16. A method for detecting an empty parking space, include: Determining the position of the obstacle by the method of one of claims 1 to 15; A vacant parking space is detected based on the determined position of the obstacle.
17. A method for assisting parking, include: Detecting an empty parking space by the method of claim 16; A route for driving the vehicle into the vacant parking space is planned based on the detected vacant parking space.
18. A control system for a vehicle, include: One or more processing units, which, when executing program instructions, are configured to perform the method of one of claims 1 to 17.
19. A vehicle, include: An ultrasonic sensor for sending and receiving ultrasonic signals; A control system as claimed in claim 18.
20. A machine-readable storage medium storing executable instructions which, when executed, cause one or more processors to perform the method of any one of claims 1 to 17.
Citation Information
Patent Citations
Environment map construction method and device
CN107966702A
Obstacle detection method and system, computer equipment and storage medium
CN112644480A
Obstacle detection method and device, electronic equipment and storage medium
CN114565906A
Grid map creating method and device, vehicle and readable storage medium
CN115407344A
Method and driver assistance system for detecting and determining the geometric properties of objects using ultrasound
DE102020211237A1
