Occupancy grid map generation method and apparatus
By directly determining the information and energy distribution of the spatial position grid from the radar echo signal, and combining it with the inverse sensor model for denoising, the problem of inaccurate prediction of large target occupancy probability by the Gaussian distribution model is solved, and the accuracy of autonomous driving vehicles is improved. Occupy raster map accuracy and security.
Patent Information
- Application Number
- PCT/CN2023/078706
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-09-06
AI Technical Summary
When the existing technology uses the Gaussian distribution model to predict the occupancy probability of large targets in autonomous vehicles, the accuracy is insufficient, which leads to a decrease in the accuracy of the occupancy grid map (OGM) and affects the safety of autonomous driving.
By receiving the radar echo signal, the position information and energy information of each spatial location grid are directly determined based on the radar echo signal, reflecting the real continuous energy distribution in space, and then determining the occupancy probability of each location grid, using the inverse The sensor model is denoised to improve the accuracy of OGM.
It improves the accuracy of the occupied grid map, enhances the safety of autonomous vehicles, and avoids the problem of inaccurate prediction of large target probability by the Gaussian distribution model.
Smart Images

Figure CN2023078706_06092024_PF_FP
Abstract
Description
Occupancy grid map generation method and device Technical Field
[0001] The present application relates to the field of intelligent driving technology, and in particular to a method and device for generating an occupancy grid map. Background Art
[0002] The occupied grid map (OGM) is a crucial component of static obstacle perception and road scene understanding in autonomous / assisted driving technologies. The OGM contains information about the occupancy of objects in the three-dimensional road space. The space is divided into multiple grids, and the value of each grid indicates whether it is occupied by an object. The OGM enables curb detection and static obstacle location, thereby determining the vehicle's traversable area and ensuring the safety of autonomous vehicles.
[0003] In the process of generating OGM, mathematical models such as Gaussian distribution are generally used to predict the occupancy probability of each divided grid. When using Gaussian distribution to predict the occupancy probability of smaller point targets, the predicted probability distribution is consistent with the actual probability of the point being occupied. However, when using Gaussian distribution to predict the occupancy probability of large targets with size (hereinafter referred to as extended targets), since the Gaussian distribution curve does not match the actual probability distribution of the extended target, the result of using the Gaussian distribution model to predict the occupancy probability of the extended target is not accurate. Inaccurate probability prediction will directly lead to a decrease in the accuracy of the generated OGM, thereby reducing the safety of autonomous driving.
[0004] Summary of the Invention
[0005] The embodiments of the present application provide a method and apparatus for generating an occupancy grid map, which are used to improve the accuracy of an OGM, thereby improving the safety of autonomous driving.
[0006] In a first aspect, the present application provides a method for generating an occupancy grid map, which is applied to a vehicle or a module in a vehicle, and includes: receiving a radar echo signal of a vehicle in a current frame; obtaining a first spectrum based on the radar echo signal, wherein the first spectrum is used to describe the correspondence between the first position information and the first energy information of the spatial position grid of the echo, and the first position information includes speed, distance and angle; determining the occupancy probability of the spatial position grid indicated by each first position information based on the first energy information corresponding to each first position information in the first spectrum, so as to obtain a measured occupancy grid map OGM of the current frame; wherein any spatial position grid corresponds to at least one grid in the measured OGM; determining the predicted OGM of the current frame based on the vehicle's posture data and motion information and the OGM of the previous frame of the current frame; and correcting the predicted OGM of the current frame based on the measured OGM of the current frame to obtain the OGM of the current frame.
[0007] The traditional method of generating OGM is to extract energy points in space through the energy of spatial echoes, and use mathematical models to fit the occupancy probability of energy points. However, since the use of mathematical models to fit the occupancy probability of extended targets with sizes is not ideal, in the solution of this application, energy points are no longer extracted. Instead, the position information and energy information of each spatial position grid are directly determined based on the radar echo signal, thereby reflecting the true continuous energy distribution in space. Then, the grid in the OGM corresponding to each position grid is determined based on the position information of each position grid, and the value of the corresponding grid is determined based on the energy information of each position grid. Compared with the traditional method, the accuracy of the generated OGM can be improved, thereby improving the safety of autonomous driving.
[0008] In some embodiments, obtaining a first spectrum based on the radar echo signal includes: performing Fourier transform on the radar echo signal to obtain a second spectrum; the second spectrum is used to describe the correspondence between second position information of the spatial position grid of the echo and the first energy information, the second position information including speed and distance; and performing direction of arrival (DOA) estimation on the second spectrum to obtain the first spectrum.
[0009] In some embodiments, the DOA estimation of the second spectrum to obtain the angle included in the first spectrum includes: adjusting the initial angle N times to obtain the angle included in the first spectrum; wherein the i-th adjustment includes: determining the covariance matrix of the echo signal of the angle obtained by the i-1-th adjustment based on the power of the echo signal of the angle obtained by the i-1-th adjustment; adjusting the angle obtained by the i-1-th adjustment according to the covariance matrix to obtain the angle obtained by the i-th adjustment; wherein, N>1, 0<i<N.
[0010] In some embodiments, the angle in the first position information includes an arrival angle in a horizontal dimension and an arrival angle in a pitch dimension of an echo signal of a spatial position grid described by the first position information.
[0011] Compared with the traditional solution of performing Fourier transform on the radar echo signal to obtain the distance, Doppler and angle information of each position grid in space, this application proposes to use an adaptive iterative algorithm to perform DOA estimation on the second spectrum to determine the angle information of the position grid, and the determined angle information includes the arrival angle in the horizontal dimension and the pitch dimension, which improves the accuracy and comprehensiveness of the angle information and is conducive to determining the actual position of each position grid in space.
[0012] In some embodiments, determining the occupancy probability of the spatial position grid indicated by each first position information based on the first energy information corresponding to each first position information in the first map to obtain the measured occupancy grid map OGM of the current frame includes: using an inverse sensor model to denoise the occupancy probability of the spatial position grid indicated by each first position information to obtain the measured OGM of the current frame.
[0013] Based on the above scheme, when generating the measured OGM of the current frame, the inverse sensor model can be used to denoise the occupancy probability of each spatial position grid to improve the accuracy of the measured OGM.
[0014] In a second aspect, the present application provides a device for generating an occupancy grid map, which can be a vehicle or a module in a vehicle, or can also be applied to a vehicle or a module in a vehicle. The device includes a communication unit and a processing unit, wherein the communication unit is configured to receive a radar echo signal from a vehicle in a current frame; the processing unit is configured to obtain a first spectrum based on the radar echo signal, and determine the occupancy probability of the spatial position grid indicated by each first position information based on the first energy information corresponding to each first position information in the first spectrum, to obtain a measured occupancy grid map (OGM) for the current frame; the processing unit is further configured to determine a predicted OGM for the current frame based on the vehicle's posture data and motion information and the OGM of the previous frame before the current frame, and to correct the predicted OGM for the current frame based on the measured OGM of the current frame to obtain the OGM of the current frame. The first spectrum is configured to describe the correspondence between the first position information and the first energy information of the spatial position grid of the echo, wherein the first position information includes speed, distance, and angle; and any of the spatial position grids corresponds to at least one grid in the measured OGM.
[0015] In some embodiments, the processing unit is specifically used to: perform Fourier transform on the radar echo signal to obtain a second spectrum; the second spectrum is used to describe the correspondence between the second position information of the spatial position grid of the echo and the first energy information, and the second position information includes speed and distance; perform direction of arrival (DOA) estimation on the second spectrum to obtain the first spectrum.
[0016] In some embodiments, the processing unit is specifically used to: adjust the initial angle N times to obtain the angle included in the first spectrum; wherein the i-th adjustment includes: determining the covariance matrix of the echo signal of the angle obtained by the i-1-th adjustment based on the power of the echo signal of the angle obtained by the i-1-th adjustment; adjusting the angle obtained by the i-1-th adjustment according to the covariance matrix to obtain the angle obtained by the i-th adjustment; wherein N>1, 0<i<N.
[0017] In some embodiments, the angle in the first position information includes an arrival angle in a horizontal dimension and an arrival angle in a pitch dimension of an echo signal of a spatial position grid described by the first position information.
[0018] In some embodiments, the processing unit is specifically configured to: perform denoising processing on the occupancy probability of the spatial position grid indicated by each first position information using an inverse sensor model to obtain the measured OGM of the current frame.
[0019] In a third aspect, the present application proposes another occupancy grid map generation device, comprising a processor and a memory; the memory is used to store programs; the processor is used to execute the programs stored in the memory, so that the device implements the method described in any possible design of the first aspect above.
[0020] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a program code. When the program code runs on the computer, the computer executes the method described in any possible design of the first aspect above.
[0021] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method described in any possible design of the first aspect above.
[0022] In a sixth aspect, an embodiment of the present application provides a chip system, which includes a processor coupled to a memory and configured to call a computer program or computer instruction stored in the memory so that the processor executes the method described in any possible design of the first aspect above.
[0023] In a seventh aspect, an embodiment of the present application provides a processor for calling a computer program or computer instruction stored in a memory so that the processor executes the method described in the possible design of the first aspect above.
[0024] The embodiments of the present application can be further combined to provide more implementations based on the implementations provided in the above aspects. The technical effects that can be achieved by any possible design in any of the second to seventh aspects can be described with reference to the technical effects that can be achieved by any possible design in the first aspect, and the repetitions are not discussed here. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] FIG1 is a schematic diagram of a vehicle provided in an embodiment of the present application;
[0026] FIG2 is a flow chart of a method for generating an OGM;
[0027] FIG3 is a schematic diagram of a probability distribution curve of a point target fitted using a Gaussian distribution model according to an embodiment of the present application;
[0028] FIG4 is a schematic diagram of a probability distribution curve of an extended target fitted using a Gaussian distribution model according to an embodiment of the present application;
[0029] FIG5 is a flow chart of a method for generating an OGM provided in an embodiment of the present application;
[0030] FIG6 is a schematic structural diagram of an OGM generation device provided in an embodiment of the present application;
[0031] FIG7 is a schematic structural diagram of another OGM generation device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to facilitate understanding of the solutions proposed in the embodiments of this application, the technical terms involved in this application are first introduced.
[0033] (1) Environmental perception: Environmental perception is the foundation and prerequisite for autonomous driving of intelligent vehicles. The collection, processing, and analysis of environmental and in-vehicle information can help autonomous vehicles plan paths and avoid obstacles. Applying multi-radar fusion to environmental perception is expected to enable algorithms to adapt to more complex scenarios and describe more complex road environments. In multi-radar fusion application scenarios, OGM is a commonly used method. OGM can be used to detect road edges and locate static obstacles, thereby obtaining the vehicle's passable area and ensuring the safety of autonomous driving.
[0034] (2) Millimeter wave radar: This is a radar that works in the millimeter wave band. The operating frequency band is generally 30GHz-300GHz, with a wavelength of 1-10mm, which is between microwaves and centimeter waves. Compared with centimeter wave radar, millimeter wave radar has the characteristics of small size, easy integration and high spatial resolution. Therefore, it is often used in vehicles to assist vehicles in achieving autonomous driving. In terms of hardware structure, the components of vehicle-mounted millimeter wave radar mainly include antenna, transceiver module and signal processing module. The working principle of millimeter wave radar is: using high-frequency circuit to generate electromagnetic waves with a specific modulation frequency, and sending electromagnetic waves through the antenna and receiving electromagnetic waves reflected from the target, and calculating various parameters of the target by the parameters of the sent and received electromagnetic waves. It can also measure the distance, speed and azimuth of multiple targets at the same time. Among them, ranging is to continuously send millimeter wave signals to the target, and then use the sensor to receive the millimeter waves returned from the object, and obtain the distance to the target by detecting the round-trip time of the millimeter wave. Velocity measurement relies on the Doppler effect. By calculating the frequency change of radar waves returning to the receiving antenna, the target's velocity relative to the radar can be determined. Simply put, relative velocity is proportional to the frequency change. Azimuth measurement calculates the target's azimuth by measuring the phase difference of radar waves reflected from the same target by the antenna array.
[0035] (3) Range Doppler (RD) spectrum: This is a spectrum used to represent the distance and velocity information of each point in space. The RD spectrum is obtained by first windowing and Fourier transforming the range dimension of the radar echo signal to obtain the range spectrum. Then, the velocity dimension of the range spectrum is windowed, Fourier transformed, and Doppler compensated to obtain the RD spectrum.
[0036] (4) Constant false alarm rate (CFAR) detection algorithm: an algorithm for detecting energy points in the RD spectrum. The specific implementation process is as follows: First, find a target-free area in the RD spectrum and use the average power of the area as the noise power. For example, when the Doppler information of a certain area indicates that the velocity of the area is small (or zero), the area can be determined to be a target-free area. Secondly, set a threshold value based on the noise power of the target-free area, and calculate the noise of all points based on the noise power of the target-free area, and retain points with noise greater than the threshold value. Thirdly, filter the retained points. For example, when the distance corresponding to a point is very close, but the noise of its echo is much smaller than the noise of the distance, it is considered that the point may be a virtual point and the point is deleted. Finally, the remaining points after filtering are regarded as energy points.
[0037] (5) Inverse sensor model (ISM): Vehicle-mounted radar can detect objects at long distances under various weather conditions. However, due to the influence of sensor noise, the radar echo signal is affected by noise and cannot be used to distinguish whether a spatial area is free or occupied. To solve this problem, related technologies propose using an inverse sensor model to convert the raw radar scan data into an OGM using a deep neural network. The deep neural network uses partial occupancy labels generated by the radar for self-supervision, learning the actual occupancy of the space from past experience without the need for human supervision.
[0038] (6) Snapshot number: refers to the number of sampling points of the time domain signal.
[0039] (7) Fast Fourier Transformation (FFT): Since it is difficult to discern the characteristics of a signal from the time domain, FFT is used to transform the signal into the frequency domain and analyze the characteristics of the signal from the signal spectrum. Assuming the sampling frequency is Fs, the signal frequency is F, and the number of sampling points is N, then after performing the FFT, a complex number with N points is obtained. Each point corresponds to a frequency point, and the modulus value of each point is the amplitude characteristic at the corresponding frequency value.
[0040] (8) The “at least one item” involved in the embodiments of the present application refers to one or more items, and “multiple items” refers to two or more items. “At least one” refers to one or more items, and “multiple items” refers to two or more items. “And / or” describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In the text description of the embodiments of the present application, the character “ / ” generally indicates that the related objects before and after are in an “or” relationship.
[0041] The solution of this application can be applied to autonomous driving scenarios. With the development and advancement of science and technology, the intelligence of vehicles has gradually become a research hotspot in the automotive field. Intelligent vehicles (hereinafter referred to as vehicles) can provide people with a safer and more comfortable driving experience. For example, a vehicle can be equipped with a variety of sensors to obtain environmental information about the vehicle's surroundings through sensors, analyze and process the acquired information, and implement functions such as obstacle perception, target recognition, vehicle positioning, path planning, and driver monitoring / reminders, thereby improving the safety, automation, and comfort of vehicle driving. As shown in Figure 1, sensors that can be installed on a vehicle may include millimeter-wave radar. Millimeter-wave radar uses millimeter waves as a detection medium and can measure the distance, angle, and speed between the millimeter-wave radar and the measured object. Millimeter-wave radar can be divided into long-range radar, medium-range radar, and short-range radar based on its detection range. Long-range radar is mainly used in application scenarios such as active cruise control and brake assist. Long-range radar has low requirements for the detection angular width, which is reflected in the low beamwidth requirements of the antenna. Medium-range and short-range radars are primarily targeted at application scenarios such as automated parking, lane change assistance, and blind spot detection. These radars require a wide angular detection range, which translates to high antenna beamwidth requirements and low sidelobe levels. The beamwidth ensures the detectable angular range, while low sidelobes reduce ground-reflected clutter, lowering false alarms and ensuring driving safety. The long-range radar can be installed at the front of the vehicle, while the medium-range and short-range radars can be installed at the four corners. Together, they provide 360-degree coverage around the vehicle.
[0042] A millimeter-wave radar may include a housing housing at least one printed circuit board (PCB). For example, this may include a power supply PCB and a radar PCB. The power supply PCB provides voltage for the radar's internal use, as well as an interface for communication with other devices and security features. The radar PCB transmits, receives, and processes millimeter-wave signals and integrates components for millimeter-wave signal processing and antennas for millimeter-wave signal transmission and reception (a transmitting antenna Tx and a receiving antenna Rx). The antennas may be formed on the back of the radar PCB in a microstrip array format for transmitting and receiving millimeter waves.
[0043] It should be noted that Figure 1 is merely an illustrative depiction of a vehicle. The vehicles covered by this application are not limited to the one shown in Figure 1. For example, a vehicle may also include other components, such as an onboard chip, an onboard controller, an onboard terminal, a camera, a laser radar, a millimeter-wave radar, and an ultrasonic sensor. The camera in the vehicle is used to capture image information of the vehicle's environment. Currently, multiple cameras can be installed on a vehicle to capture information from a wider range of angles. Laser radar, short for laser detection and ranging system, primarily consists of a transmitter, a receiver, and a signal processing unit, and is used to measure information such as the position, speed, distance, and / or size of a target object. An ultrasonic sensor, also known as an ultrasonic radar, is a sensing device that uses ultrasonic detection. Its operating principle is that an ultrasonic transmitter emits ultrasonic waves, and a receiver receives the ultrasonic waves reflected by obstacles. The distance is calculated based on the time difference between the reflected and received waves. This application does not limit the type of onboard radar used to implement the solution. For example, data collected by laser radar, millimeter-wave radar, and ultrasonic radar can be used to implement the solution of this application. For ease of description, the following description uses a millimeter-wave radar as an example of the onboard radar used in this application.
[0044] To improve the safety of autonomous driving, the vehicle generates an OGM based on its posture data during driving and sensor data. The OGM is used to implement obstacle avoidance and route planning. Figure 2 shows a flow chart of a method for generating an OGM. This method can be executed by a processor in the vehicle's radar or by other processing modules within the vehicle. Specifically, the method includes: Step 201: Receive the vehicle's radar echo signal for the current frame. Taking a millimeter-wave radar as an example, after transmitting millimeter waves, the radar can receive radar echo signals from various regions or location grids in space. Step 202: Generate an RD spectrum based on the radar echo signal for the current frame. The specific RD spectrum generation process can be found in the technical terminology section above and will not be further described here. Step 203: Extract energy points from the RD spectrum using the CFAR algorithm. Energy points are grid locations where target objects are located. The specific implementation process for extracting energy points can also be found in the technical terminology section above. After extracting energy points, RD spectrum point cloud data is obtained, with each point in the point cloud data being an energy point. In step 204, the Direction of Arrival (DOA) of the RD spectrum point cloud data is estimated to determine the angle information of each energy point. In step 205, the occupancy probability of each point in the RD spectrum point cloud data is estimated using a Gaussian distribution model. For example, the position of each point in real three-dimensional space can be determined based on the distance, velocity, and angle information of each point in the RD spectrum point cloud data. Combined with the energy information of the radar echo corresponding to each point, the occupancy probability of each point can be predicted using a Gaussian distribution model, thereby obtaining the occupancy probability of each position grid in space. In step 206, the estimated spatial occupancy probability distribution is denoised using an inverse sensor model to obtain the measured OGM for the current frame. For example, the values of each grid corresponding to the measured OGM are used to indicate whether a target object exists in the position grid in space corresponding to each grid. The values of each grid can be stored as a measurement matrix. In step 207, the OGM of the previous frame is translated based on the vehicle's posture data and motion information in the current frame to obtain the predicted OGM for the current frame. There is no limitation on the execution order of step 207 and steps 201-206. For example, step 207 can be executed first and then steps 201-206, or step 207 and steps 201-206 can be executed synchronously. For example, the vehicle's posture data may include the vehicle's posture data and the motion information may include the vehicle's displacement, yaw, etc. In step 208, the predicted OGM of the current frame is corrected using the measured OGM of the current frame to obtain the OGM of the current frame. Based on the OGM of the current frame, it is possible to determine whether a target object exists in each position grid in the real space, thereby achieving timely obstacle avoidance.
[0045] However, in step 205 of Figure 2 above, when the mathematical model of Gaussian distribution is used to predict the occupancy probability of each grid, for smaller point targets, the Gaussian distribution curve has a better fit with the probability distribution of the point target. For example, see Figure 3, (a)-(b) in Figure 3 are the probability distribution curves of the point target fitted by Gaussian distribution, and (c) in Figure 3 is the occupancy of the point target actually simulated. It can be seen that for the probability fitting of point targets, the accuracy of prediction using Gaussian distribution is higher. However, for larger extended targets, see Figure 4, (a)-(b) in Figure 4 are the probability distribution curves of the extended target fitted by Gaussian distribution, and (c) in Figure 4 is the occupancy of the extended target actually simulated. It can be seen that the probability distribution of the extended target fitted by Gaussian distribution does not match the actual probability distribution, which will cause the accuracy of the generated OGM to decrease, reducing the safety of autonomous driving.
[0046] To address the above problems, the present application proposes a method for generating an occupancy grid map. In the process of generating the OGM, the energy points in the RD spectrum are no longer extracted. Instead, the position information and energy information of each spatial position grid are directly determined based on the echo signal received by the radar, thereby obtaining the true energy distribution of the entire space. Based on the true energy distribution, the occupancy probability of each spatial position grid is determined to obtain the measured OGM of the current frame. The predicted OGM of the current frame obtained by combining the OGM prediction of the previous frame is then used to jointly determine the OGM of the current frame, thereby improving the accuracy of the generated OGM and thus improving the safety of autonomous driving.
[0047] Below, the solution of the present application is specifically introduced in conjunction with the vehicle shown in Figure 1. Referring to Figure 5, a flow chart of an occupancy grid map generation method provided in an embodiment of the present application is provided. For example, the method flow shown in Figure 5 can be executed by the processor of the on-board radar, or it can be executed by other processing modules or processing chips in the vehicle, such as the vehicle's mobile data center (MDC). For example, when the method flow shown in Figure 5 is executed by the MDC, a communication interface between the on-board radar and the MDC can be set for the on-board radar to transmit the collected data to the MDC, and the MDC generates the OGM based on the data from the on-board radar. The method flow shown in Figure 5 specifically includes:
[0048] 501, receiving the radar echo signal of the vehicle in the current frame.
[0049] For example, the vehicle-mounted radar may transmit radar signals at set intervals or in real time, and receive radar echo signals reflected from each position grid in the external space.
[0050] 502. Obtain a first spectrum according to the radar echo signal.
[0051] The first spectrum is used to describe the corresponding relationship between the first position information of the spatial position grid of the echo and the first energy information, and the first position information includes speed, distance and angle.
[0052] Taking any position grid in space as an example, the distance, velocity, and angle of the position grid can be determined based on the echo signal reflected back from the position grid (the specific determination process can be found in the introduction to millimeter wave radar in point (2) of the above technical terminology introduction section). Thus, the first position information of the position grid in space can be determined based on the distance, velocity, and angle of the position grid. Furthermore, the corresponding relationship between the first energy information and the first position information of the position grid can be determined based on the energy of the echo signal reflected back from the position grid.
[0053] After determining the correspondence between the energy and position information of all energy points in the space, the first spectrum of the space can be determined.
[0054] 503 : Determine the occupancy probability of the spatial position grid indicated by each piece of first position information according to the first energy information corresponding to each piece of first position information in the first spectrum, to obtain the measured OGM of the current frame.
[0055] Still taking any position grid in space as an example, the position of the position grid in space can be determined based on the first position information of the position grid, and the occupancy probability of the position grid, that is, the probability that an object exists in the position grid, can be determined based on the first energy information of the position grid. Furthermore, the grid in which the position grid is located in the OGM to be generated is determined in combination with the position of the position grid in space. Optionally, the position grid can correspond to a grid in the OGM to be generated, or can correspond to a set number of grids in the OGM to be generated (the specific set number can be determined by the generation accuracy of the OGM), and then the value corresponding to one or more grids can be determined based on the occupancy probability of the position grid.
[0056] For example, after determining the occupancy probability corresponding to each first position information and before generating the OGM, the inverse sensor model can be used to denoise the occupancy probability corresponding to each first position information to obtain the denoised occupancy probability corresponding to each first position information, thereby improving the accuracy of the value when determining the value of the corresponding grid in the OGM based on the occupancy probability.
[0057] 504 , determining a predicted OGM of the current frame based on the vehicle's position data and motion information and the OGM of the previous frame of the current frame.
[0058] Among them, the previous frame of the current frame is the echo signal received after the radar last transmitted the radar signal.
[0059] For example, the vehicle's pose data may include data such as the vehicle's steering angle between the previous frame and the current frame, and the vehicle's motion information may include information such as the vehicle's displacement between the previous frame and the current frame. In other words, the vehicle's pose data and motion information are used to characterize the vehicle's positional changes in space between the previous frame and the current frame. Based on the vehicle's positional changes, the previous frame's OGM is translated to obtain the predicted OGM for the current frame.
[0060] It should be noted that this application does not limit the execution order of step 504 and steps 501-503. For example, step 504 can be executed first, and then steps 501-503. Alternatively, step 504 and steps 501-503 can be executed simultaneously.
[0061] 505 , correct the predicted OGM of the current frame according to the measured OGM of the current frame to obtain the OGM of the current frame.
[0062] For example, when the OGM of the current frame is generated according to the measured OGM and the predicted OGM, it can be constructed according to the static binary Bayesian filtering principle, for example, as shown in the following formula (1):
[0063] l t,i =l t-1,i +ism(m i )+l0 formula (1)
[0064] In the above formula (1), if time t corresponds to the current frame, time t-1 corresponds to the previous frame of the current frame, l t-1,i is the value of the ith grid of the OGM of the previous frame, ism(m i ) is the value of the i-th grid in the measurement OGM of the current frame, l t,i is the value of the i-th grid in the OGM of the current frame, l0 is the logarithmic value of the prior occupancy probability, and l0 is a constant, for example, it can be 0.
[0065] Based on the above scheme, the OGM generation method proposed in this application no longer extracts energy points from the RD spectrum, thus avoiding the problem of inaccurate occupancy probabilities of energy points when fitting mathematical models such as Gaussian distribution. This application proposes using echo signals to determine the position information and energy information of each spatial position grid, thereby reflecting the true energy distribution in space. Furthermore, the grid in the OGM corresponding to each position grid is determined based on the position information of each position grid, and the grid value is determined based on the energy information of each position grid. This improves the accuracy of the generated OGM compared to traditional methods, thereby improving the safety of autonomous driving.
[0066] In some embodiments, when executing the above step 502 and obtaining the first spectrum based on the radar echo signal, the radar echo signal can first be Fourier transformed twice to obtain a second spectrum (or it can also be called an RD spectrum. The specific process of generating the RD spectrum can be found in the introduction of the technical terms section above. For the sake of terminology consistency, the second spectrum will be used as an example for the following introduction). The second spectrum is used to describe the correspondence between the second position information and the first energy information of the spatial position grid of the echo, where the second position information includes speed and distance. Furthermore, the direction of arrival (DOA) of the second spectrum can be estimated to obtain the angle information of each spatial position grid, and the first position information of each spatial position grid can be determined by combining the angle, distance and speed information. Thus, the correspondence between the first position information and the first energy information of each spatial position grid can be obtained, that is, the first spectrum.
[0067] For example, when performing DOA estimation on the second spectrum to determine the angle information of each spatial position grid, an FFT algorithm can be used, or a super-resolution algorithm, such as an iterative adaptive approach (IAA) algorithm, can be used. The following describes the steps for performing DOA estimation on the second spectrum using the IAA algorithm as an example:
[0068] Step 1: Set up a K×K dimensional diagonal matrix P, where each element on the diagonal of the matrix P corresponds to the power of the signal reflected at each angle on the spatial position grid.
[0069] For example, to set the initial values of the diagonal elements of the matrix P, refer to the following formula (2):
[0070] in, is the angle θ on the k-th spatial position grid k The power of the reflected signal, a(θ k ) is the antenna array at an angle θ k is the steering vector (related to the element spacing of the antenna array), N is the number of snapshots, and y(n) is the received signal.
[0071] Step 2: Calculate the covariance matrix based on the matrix P set in step 1.
[0072] For example, the covariance matrix can be calculated using the following formula (3): R = A(θ)PA H (θ); Formula (3)
[0073] Where R is the covariance matrix, A is the array manifold of the antenna array, A=[a1,a2,…,a k ].
[0074] Step 3: Update the angle θ according to the covariance matrix k .
[0075] For example, the following formulas (4) and (5) can be used to calculate each spatial position grid k:
[0076] in, is the nth snapshot of the signal received on the kth spatial position grid. The remaining parameter descriptions in formula (4)-formula (5) can refer to the introduction in formula (1)-formula (3) above.
[0077] Step 4: Repeat steps 2-3 for a preset number of times and output the last updated angle θ k is the estimated angle.
[0078] The following describes an OGM generation device for implementing the above method in an embodiment of the present application in conjunction with the accompanying drawings. Therefore, the above content can be used in subsequent embodiments, and repeated content will not be repeated.
[0079] Figure 6 is a schematic block diagram of an OGM generation device 600 provided in an embodiment of the present application. The OGM generation device 600 can implement the functions or steps implemented by the vehicle or the modules in the vehicle in the above-mentioned various method embodiments. The OGM generation device 600 may include a communication unit 601 and a processing unit 602. Optionally, it may also include a storage unit, which can be used to store instructions (codes or programs) and / or data. The processing unit 602 and the communication unit 601 can be coupled to the storage unit. For example, the processing unit 602 can read the instructions (codes or programs) and / or data in the storage unit to implement the corresponding method. The above-mentioned units can be set independently or partially or fully integrated.
[0080] In some possible implementations, the OGM generation device 600 can implement the behaviors and functions of the vehicle or the module in the vehicle in the above-mentioned method embodiments. For example, the OGM generation device 600 can be a vehicle, or it can be a processing module or processor or chip system in the vehicle. Among them, the communication unit 601 can be used to perform all the transceiver operations performed by the vehicle or the module in the vehicle (such as an on-board radar) in the above-mentioned embodiments. For example, the communication unit 601 can be used to perform the operation of receiving the radar echo signal in the embodiment shown in Figure 5 above. Among them, the processing unit 602 can be used to perform all the operations except the transceiver operations performed by the vehicle or the module in the vehicle in the embodiment shown in Figure 5 above, and / or to support other processes of the technology described herein.
[0081] For example, the processing unit 602 can be used to obtain a first spectrum based on the radar echo signal, and determine the occupancy probability of the spatial position grid indicated by each first position information based on the first energy information corresponding to each first position information in the first spectrum to obtain the measured occupancy grid map OGM of the current frame. The processing unit 602 is also used to determine the predicted OGM of the current frame based on the posture data and motion information of the vehicle and the OGM of the previous frame of the current frame, and correct the predicted OGM of the current frame based on the measured OGM of the current frame to obtain the OGM of the current frame. The first spectrum is used to describe the correspondence between the first position information and the first energy information of the spatial position grid of the echo, and the first position information includes speed, distance and angle; any of the spatial position grids corresponds to at least one grid in the measured OGM.
[0082] For other operations performed by the processing unit 602 and the communication unit 601, reference may be made to the relevant description of the aforementioned method embodiment.
[0083] It should be noted that the division of units in the embodiments of the present application is schematic and is merely a logical functional division. In actual implementation, other division methods may be used. Each functional unit in the embodiments of the present application may be integrated into a processing unit 602, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0084] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0085] It should be understood that the processing unit 602 in the embodiments of the present application can be implemented by a processor or processor-related circuit components, and the communication unit 601 can be implemented by a transceiver or transceiver-related circuit components or a communication interface. For example, the OGM generation device in the above embodiment can also adopt the form shown in Figure 7. The device 700 shown in Figure 7 includes at least one processor 710, a memory 720, and optionally a communication interface 730.
[0086] The specific connection medium between the processor 710 and the memory 720 is not limited in the embodiment of the present application.
[0087] In the device as shown in Figure 7, a communication interface 730 is also included. When the processor 710 communicates with other devices, it can transmit signals through the communication interface 730. For example, the communication interface 730 can be used to transmit radar signals outward and receive radar echo signals reflected from the outside under the instruction of the processor 710.
[0088] When the OGM generation device adopts the form shown in Figure 7, the processor 710 in Figure 7 can call the computer execution instructions stored in the memory 720, so that the device 700 can execute the method executed by the OGM generation device in any of the above method embodiments.
[0089] An embodiment of the present application also provides a chip system, which includes a processor for calling a computer program or computer instruction stored in a memory so that the processor executes the method of any of the above embodiments.
[0090] In a possible implementation, the processor is coupled to the memory through an interface.
[0091] In one possible implementation, the chip system further includes a memory in which computer programs or computer instructions are stored.
[0092] An embodiment of the present application further relates to a processor, which is used to call a computer program or computer instruction stored in a memory so that the processor executes the method described in any of the above embodiments.
[0093] It should be understood that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0094] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0096] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application also intends to include such modifications and variations.
Claims
1. A method for generating an occupancy grid map, characterized in that: The method is applied to a vehicle or a module in a vehicle, and the method comprises: Receive the radar echo signal of the vehicle in the current frame; Obtaining a first spectrum according to the radar echo signal, wherein the first spectrum is used to describe the correspondence between first position information of a spatial position grid of the echo and first energy information, wherein the first position information includes speed, distance and angle; Determine the occupancy probability of the spatial position grid indicated by each first position information according to the first energy information corresponding to each first position information in the first spectrum, so as to obtain a measured occupancy grid map OGM of the current frame; wherein any of the spatial position grids corresponds to at least one grid in the measured OGM; Determine the predicted OGM of the current frame according to the posture data and motion information of the vehicle and the OGM of the previous frame of the current frame; The predicted OGM of the current frame is modified according to the measured OGM of the current frame to obtain the OGM of the current frame.
2. The method according to claim 1, characterized in that The step of obtaining a first spectrum according to the radar echo signal comprises: Performing Fourier transform on the radar echo signal to obtain a second spectrum; the second spectrum is used to describe the corresponding relationship between second position information of the spatial position grid of the echo and the first energy information, the second position information including the speed and the distance; The direction of arrival (DOA) is estimated on the second spectrum to obtain the angle included in the first spectrum.
3. The method according to claim 2, characterized in that The performing DOA estimation on the second spectrum to obtain the angle included in the first spectrum includes: The initial angle is adjusted N times to obtain the angle included in the first spectrum; wherein the i-th adjustment includes: Determine the covariance matrix of the echo signal at the angle obtained by the i-1th adjustment according to the power of the echo signal at the angle obtained by the i-1th adjustment; The angle obtained by the i-1th adjustment is adjusted according to the covariance matrix to obtain the angle obtained by the i-th adjustment; wherein N>1, 0<i<N.
4. The method according to any one of claims 1 to 3, characterized in that: The angles in the first position information include the arrival angles of the echo signals of the spatial position grid described by the first position information in the horizontal dimension and in the elevation dimension.
5. The method according to any one of claims 1 to 4, characterized in that: The determining, according to the first energy information corresponding to each first position information in the first spectrum, the occupancy probability of the spatial position grid indicated by each first position information to obtain the measured occupancy grid map OGM of the current frame includes: An inverse sensor model is used to perform denoising processing on the occupancy probability of the spatial position grid indicated by each first position information to obtain the measured OGM of the current frame.
6. An occupancy grid map generating device, characterized in that: The device is a vehicle or a module in a vehicle, or the device is applied to the vehicle or a module in the vehicle, and the device includes: A communication unit, used for receiving a radar echo signal of a vehicle in a current frame; A processing unit, configured to obtain a first spectrum according to the radar echo signal, wherein the first spectrum is used to describe the echo. A correspondence between first position information of a spatial position grid and first energy information, wherein the first position information includes speed, distance and angle; The processing unit is further used to determine the occupancy probability of the spatial position grid indicated by each first position information according to the first energy information corresponding to each first position information in the first spectrum, so as to obtain the measured occupancy grid map OGM of the current frame; wherein any of the spatial position grids corresponds to at least one grid in the measured OGM; The processing unit is further used to determine the predicted OGM of the current frame according to the posture data and motion information of the vehicle and the OGM of the previous frame of the current frame; The processing unit is further configured to correct the predicted OGM of the current frame according to the measured OGM of the current frame to obtain the OGM of the current frame.
7. The device according to claim 6, characterized in that The processing unit is specifically used for: Performing Fourier transform on the radar echo signal to obtain a second spectrum; the second spectrum is used to describe the correspondence between second position information of the spatial position grid of the echo and the first energy information, the second position information including speed and distance; The first spectrum is obtained by performing direction of arrival (DOA) estimation on the second spectrum.
8. The device according to claim 7, characterized in that The processing unit is specifically used for: The initial angle is adjusted N times to obtain the angle included in the first spectrum; wherein the i-th adjustment includes: Determine the covariance matrix of the echo signal at the angle obtained by the i-1th adjustment according to the power of the echo signal at the angle obtained by the i-1th adjustment; The angle obtained by the i-1th adjustment is adjusted according to the covariance matrix to obtain the angle obtained by the i-th adjustment; wherein N>1, 0<i<N.
9. The device according to any one of claims 6 to 8, characterized in that: The angles in the first position information include the arrival angles of the echo signals of the spatial position grid described by the first position information in the horizontal dimension and in the elevation dimension.
10. The device according to any one of claims 6 to 9, characterized in that: The processing unit is specifically used for: An inverse sensor model is used to perform denoising processing on the occupancy probability of the spatial position grid indicated by each first position information to obtain the measured OGM of the current frame.
11. A device for generating an occupancy grid map, characterized in that: include: Processor and memory; The memory is used to store programs; The processor is used to execute the program stored in the memory so that the device implements the method as described in any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called by an electronic device, the electronic device executes the method according to any one of claims 1 to 5.
13. A chip system, characterized in that: Including communication interface and processor: The communication interface is used to input and / or output signaling or data; The processor is used to execute a computer executable program so that a device equipped with the chip system executes the method as described in any one of claims 1 to 5.
14. A computer program product, characterized in that When the computer program product is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Generalized 3D inverse sensor model
CN110471064A
Radar data processing device and local range resolving power adjusting method
CN112230193A
Method and system for generating predicted occupancy grid maps
CN113348422A
Radar reference map generation
CN114646953A
Device, method, and program for generating environmental map
JP2019178971A
Cited By
Air-ground collaborative three-dimensional occupancy prediction method, system, equipment and medium
CN121353361A
