Echo processing method and device
By identifying and filtering the interference noise generated by high reflectivity objects in the SPAD array of lidar, the problem of distance calculation errors in the DTOF system in high reflectivity scenarios is solved, and more accurate target data and ranging results are achieved.
Patent Information
- Application Number
- CN202310997008.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-08
- Publication Date
- 2025-02-18
AI Technical Summary
The DTOF system in existing lidars is difficult to effectively filter out the interfering noise signals generated by high reflectivity objects, resulting in errors in distance calculation.
By determining multiple statistical data in the SPAD array of the lidar, the interference noise generated by the high reflectivity object is identified using the first position information and the preset offset value, and then these interference noises are filtered out to obtain more accurate target data.
Improve the accuracy of the target data and enhance the accuracy of ranging, especially in high reflectivity scenarios.
Smart Images

Figure CN119471626A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of laser radar, and in particular to an echo processing method and device. Background Art
[0002] At present, the direct time of flight (DTOF) system in the laser radar calculates the distance information of the object through the detection signal emitted to the object and the echo signal reflected by the object. For example, the TOF system synchronizes with the time of emitting the detection signal and records the time of receiving the echo signal to determine the flight time ΔT of the signal, and calculates the distance information of the object based on the flight time ΔT. However, in actual applications, the signal received by the TOF system may include various interference noise signals in addition to the echo signal reflected by the object, such as interference noise signals generated by high reflectivity objects, interference noise signals formed by the laser radar itself, or interference noise signals caused by external ambient light. The interference noise signal will affect the flight time ΔT, resulting in errors in the calculated distance information. Therefore, how to filter out the interference noise signal has become a problem that needs to be solved urgently by those skilled in the art.
[0003] The prior art provides an echo processing technology, which first performs histogram statistics on the flight time to obtain a histogram of the flight time distribution, then performs high-order matched filtering on the histogram data to filter out low-frequency noise and high-frequency noise (for example, glitches) in the histogram data, performs peak detection (also known as echo analysis) on the waveform corresponding to the filtered histogram data to obtain multiple peaks and multiple troughs, and screens out waveforms that are greater than a preset trough value and greater than a preset peak value to obtain echo data.
[0004] However, high-order matched filtering and peak detection cannot filter out the interfering noise signals generated by high-reflectivity objects. Summary of the invention
[0005] The present application provides an echo processing method and device, which relate to the field of laser radar and are used to filter out interference noise generated by a target object with high reflectivity.
[0006] In order to achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, an echo processing method is provided, which is applied to a laser radar including a single-photon avalanche diode (SPAD) array, the SPAD array including multiple pixels arranged horizontally and vertically, each pixel including multiple single-photon avalanche diodes (SPAD), the method including: determining multiple statistical data based on the echo signal received by the laser radar, each of the multiple statistical data corresponding to a pixel; determining a first statistical data with a frequency greater than a preset threshold value among the multiple statistical data, each of the multiple statistical data including multiple flight times, and a frequency corresponding to each of the multiple flight times, the statistical data being data obtained by accumulating and counting the flight times recorded in the corresponding pixel; determining interference noise based on first position information and a preset offset value, the first position information being the position information of the first pixel corresponding to the first statistical data in the SPAD array, the interference noise being generated by a target object with high reflectivity, and the preset offset value being a preset position offset value of the first pixel along the horizontal direction of the SPAD array; filtering out the interference noise in the multiple statistical data to obtain target data.
[0008] In the technical solution provided in the present application, interference noise of high-reflectivity objects determined by the first position information of the first pixel and a preset offset value in multiple statistical data is filtered out, thereby improving the accuracy of the target data; further, when the target data is used to calculate the distance to the object, the accuracy of the ranging is improved.
[0009] In a possible implementation of the first aspect, at least one pixel group located in the same row is determined based on the first position information, and the pixel group includes one or multiple consecutive first pixels; the second position information of the interfering pixel is determined based on the first position information of the first first pixel in the at least one pixel group, the first position information of the last first pixel, and a preset offset value; and the statistical data in the interfering pixel is determined as interference noise based on the second position information. In the above possible implementation, the second position information of the interfering pixel is determined, the statistical data in the interfering pixel is determined as interference noise, the interference noise is filtered out, and the accuracy of the target data is improved.
[0010] In a possible implementation of the first aspect, determining a first statistical data having a frequency greater than a preset threshold value among multiple statistical data includes: dividing the SPAD array into multiple regions, each region including at least one pixel; and scanning the multiple regions simultaneously to determine the first statistical data. In the above possible implementation, scanning the multiple regions simultaneously increases the rate of determining the first statistical data.
[0011] In a possible implementation of the first aspect, after receiving the multiple statistical data, the method further includes: performing low-order matched filtering on the multiple statistical data. In the above possible implementation, noise, such as burrs, in the multiple statistical data is filtered out, thereby improving the accuracy of the multiple statistical data.
[0012] In a possible implementation of the first aspect, after obtaining the target data, the method further includes: performing high-order matched filtering on the target data. In the above possible implementation, the signal-to-noise ratio of the target data is improved.
[0013] In a possible implementation of the first aspect, the echo processing method is applied to a high reflectivity scene. In the above possible implementation, interference noise in a high reflectivity scene can be filtered out, thereby increasing the application scenarios of the echo processing method.
[0014] In a second aspect, an echo processing device is provided, which is applied to a laser radar including a single-photon avalanche diode (SPAD) array, the SPAD array including multiple pixels arranged horizontally and vertically, each pixel including multiple single-photon avalanche diodes (SPAD), and the echo processing device including: a determination unit, used to determine multiple statistical data based on the echo signal received by the laser radar, each of the multiple statistical data corresponds to a pixel; the determination unit is also used to determine a first statistical data with a frequency greater than a preset threshold value among the multiple statistical data, each of the multiple statistical data includes multiple flight times, and the frequency corresponding to each of the multiple flight times, the statistical data is data obtained after accumulating and counting the flight times recorded in the corresponding pixel; the determination unit is also used to determine interference noise based on first position information and a preset offset value, the first position information is the position information of the first pixel corresponding to the first statistical data in the SPAD array, the interference noise is generated by a target object with high reflectivity, and the preset offset value is a preset position offset value of the first pixel along the horizontal direction of the SPAD array; a filtering unit is used to filter out the interference noise in the multiple statistical data to obtain target data.
[0015] In a possible implementation of the second aspect, the determination unit is also used to: determine at least one pixel group located in the same row based on the first position information, the pixel group including one or multiple consecutive first pixels; determine the second position information of the interfering pixel based on the first position information of the first first pixel in the at least one pixel group, the first position information of the last first pixel and a preset offset value; and determine the statistical data in the interfering pixel as the interference noise based on the second position information.
[0016] In a possible implementation manner of the second aspect, the determination unit is further used to: divide the SPAD array into multiple regions, each region including at least one pixel; and simultaneously scan the multiple regions to determine the first statistical data.
[0017] In a possible implementation manner of the second aspect, the device further includes: a first filtering unit, configured to perform low-order matched filtering on the multiple statistical data.
[0018] In a possible implementation manner of the second aspect, the device further includes: a second filtering unit, configured to perform high-order matched filtering on the target data.
[0019] In a possible implementation manner of the second aspect, the echo processing device is applied in a high reflectivity scenario.
[0020] In a third aspect, an echo processing device is provided, comprising: a processor, a memory and a communication interface, wherein the communication interface is used to transmit data, the memory is used to store instructions, and the processor is used to execute the echo processing method provided by the first aspect or any possible implementation of the first aspect.
[0021] In a fourth aspect, a laser radar is provided, comprising: a receiver, a transmitter, and an echo processing device provided by the second aspect or any possible implementation of the second aspect.
[0022] In a fifth aspect, a terminal device is provided, including: a laser radar, wherein the laser radar is used to execute the echo processing method provided by the above-mentioned first aspect or any possible implementation method of the first aspect.
[0023] In a sixth aspect, a vehicle is provided, comprising a laser radar, wherein the laser radar is used to execute the echo processing method provided by the first aspect or any possible implementation of the first aspect.
[0024] In another aspect of the present application, a computer-readable storage medium is provided, which includes computer instructions. When the computer instructions are executed on an echo processing device, the echo processing device executes the echo processing method provided by the first aspect or any possible implementation of the first aspect.
[0025] In another aspect of the present application, a computer program product comprising instructions is provided. When the computer program product is run on a computer device, the computer device executes the echo processing method provided by the first aspect or any possible implementation of the first aspect.
[0026] It can be understood that the echo processing device, laser radar, terminal equipment, vehicle, computer-readable storage medium and computer program product provided above can be used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a structural schematic diagram of a DTOF system;
[0028] Figure 2 A schematic diagram of a filtering method;
[0029] Figure 3 is a flow chart of another filtering method;
[0030] Figure 4 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0031] Figure 5 A schematic diagram of the structure of another terminal device provided in an embodiment of the present application;
[0032] Figure 6 A schematic diagram of the structure of another terminal device provided in an embodiment of the present application;
[0033] Figure 7 A schematic diagram of the structure of a SPAD array provided in an embodiment of the present application;
[0034] Figure 8 A schematic diagram of a flow chart of an echo processing method provided in an embodiment of the present application;
[0035] Fig. 9 A schematic diagram of a histogram provided in an embodiment of the present application;
[0036] Fig.10 A schematic diagram of another SPAD array provided in an embodiment of the present application;
[0037] Fig.11 A schematic diagram of a flow chart of another echo processing method provided in an embodiment of the present application;
[0038] Fig.12 A schematic diagram of the structure of another SPAD array provided in an embodiment of the present application;
[0039] Fig.13 A schematic diagram of an application scenario provided in an embodiment of the present application;
[0040] Fig.14 A schematic diagram of the structure of an echo processing device provided in an embodiment of the present application;
[0041] Fig.15 A schematic diagram of the structure of another echo processing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] In this application, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of the associated objects, indicating that there may be three relationships. 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. The character " / " generally indicates that the objects associated with each other are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, the embodiments of the present application use words such as "first" and "second" to distinguish between the same items or similar items with basically the same functions and effects. For example, the first threshold and the second threshold are only to distinguish different thresholds, and do not limit their order. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order.
[0043] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0044] Before introducing the embodiments of the present application, the principle of using direct time of flight (DTOF) ranging is briefly described first.
[0045] The direct time of flight (DTOF) system in the lidar calculates the distance information of the object through the detection signal emitted to the object and the echo signal reflected by the object. For example, the TOF system synchronizes with the time of transmitting the detection signal and records the time of receiving the echo signal to determine the flight time ΔT of the signal, and calculates the distance information of the object based on the flight time ΔT.
[0046] At present, the DTOF system uses a single photon avalanche diode (SPAD) array in conjunction with a vertical cavity surface emitting laser (VCSEL) to achieve ranging.
[0047] For example, Figure 1As shown, the DTOF system 100 includes a laser driver 101, a VCSEL 102, a receiver 103, a transmitting end optical lens 104, and a receiving end optical lens 105. The receiver 103 includes a SPAD array. The SPAD array may include a plurality of pixels (also referred to as channels), and the plurality of pixels are also distributed in an array. Each pixel includes a plurality of SPADs in an array. Each pixel can be used to capture a single photon in a very short time and record its time and spatial position. For example, each pixel may include a time data converter (time-to-digital converter, TDC), and each pixel records the time of capturing a single photon through the TDC, and generates a histogram of the flight time distribution.
[0048] Specifically, VCSEL102, driven by the laser driver 101, transmits a pulse signal (also called a detection signal) of a specific wavelength to the target object through the transmitting end optical lens 104. The pulse signal is reflected after encountering the target object within the field of view (FOV) of VCSEL102. The receiving end optical lens 105 focuses the reflected echo signal. The receiver 103 receives the echo signal through the SPAD array as a detection event and records the corresponding time. According to the above process, N detections are performed to obtain N corresponding flight times. The flight time corresponding to each detection event is accumulated and counted, and a histogram of the flight time distribution is generated. Figure 1 The interfering noise signal is ignored.
[0049] The processing module calculates the target distance based on the flight time with the highest frequency. The target distance D satisfies formula (1):
[0050]
[0051] Where ΔT is the time it takes to receive the echo signal, and C is the speed of light.
[0052] It should be noted that, in actual applications, the TOF system can determine the flight time by synchronizing with the time of transmitting the detection signal and recording the time of receiving the echo signal; it can also determine the flight time based on the difference between the time of transmitting the detection signal and the time of receiving the echo signal.
[0053] However, in practical applications, the signal received by the TOF system may include various interference noise signals in addition to the echo signal reflected by the object, such as interference noise signals generated by high reflectivity objects or interference noise signals caused by external ambient light. Interference noise signals will affect the flight time ΔT, resulting in errors in the calculated distance information. Therefore, how to filter out interference noise signals has become a problem that needs to be solved urgently by technicians in this field. At present, the following two solutions are used to filter out interference noise signals.
[0054] Solution 1: Filter the received signal by adjusting the echo detection threshold of the receiving channel. The specific method flow chart is as follows: Figure 2 As shown, S201, obtain the point cloud data generated by the laser radar, and the image corresponding to the point cloud data; S202, determine the image area in the image that meets the preset conditions based on the pixel data of each pixel in the image; S203, obtain the point data set corresponding to the image area; S204, adjust the echo detection threshold of the receiving channel corresponding to the point data set based on the pixel data of the image area, so as to detect the echo signal from the complex received signal.
[0055] Solution 2: Filter the received signal through high-order matched filtering and peak detection. Specifically, first perform histogram statistics on the flight time to obtain a histogram of the flight time distribution, then perform high-order matched filtering on the histogram data to filter out low-frequency noise and high-frequency noise (such as glitches) in the histogram data, perform peak detection (also known as echo analysis) on the waveform corresponding to the filtered histogram data, obtain multiple peaks and multiple troughs, and filter out waveforms that are greater than the preset trough value and greater than the preset peak value to obtain echo data.
[0056] For example, Figure 3 As shown, assuming that the SPAD array is a 6×6 array, the SPADs in the 1st column L0 to the 3rd column L2 belong to the 1st pixel, and the SPADs in the 3rd column L3 to the 6th column L5 belong to the 2nd pixel, the recorded flight times in the 1st pixel and the 2nd pixel are respectively subjected to histogram statistics to obtain the 1st histogram data and the 2nd histogram data, the 1st histogram data and the 2nd histogram data are respectively filtered, and the filtered 1st histogram data and the filtered 2nd histogram data are echo detected to obtain the 1st echo data and the 2nd echo data, and the 1st echo data and the 2nd echo data are merged to obtain the echo data.
[0057] However, neither the first solution nor the second solution can filter out the interference noise signal generated by the target object with high reflectivity.
[0058] Based on this, the present application provides an echo processing method and device, which is applied to a laser radar including a SPAD array, the SPAD array including multiple pixels, each pixel including multiple single-photon avalanche diodes SPAD, the method including: determining multiple statistical data based on the echo signal received by the laser radar, each of the multiple statistical data corresponds to a pixel; determining a first statistical data with a frequency greater than a preset threshold value among the multiple statistical data, each of the multiple statistical data including multiple flight times, and the frequency corresponding to each of the multiple flight times, the statistical data is the data obtained after accumulating and counting the flight times recorded in the corresponding pixels; determining interference noise based on first position information and a preset offset value, the first position information is the position information of the first pixel corresponding to the first statistical data in the SPAD array, the interference noise is generated by a target object with high reflectivity, and the preset offset value is a preset position offset value of the first pixel along the horizontal direction of the SPAD array; filtering out the interference noise in the multiple statistical data to obtain target data.
[0059] In this solution, interference noise generated by a target object with high reflectivity determined by first position information of a first pixel and a preset offset value in multiple statistical data is filtered out, thereby improving the accuracy of the target data; further, when the target data is used to calculate the distance to the object, the accuracy of ranging is improved.
[0060] The echo processing method provided in this embodiment can be applied to a laser radar, and the laser radar can be applied to a terminal device, which can include but is not limited to a mobile device (such as a mobile phone, a tablet computer, etc.), a wearable device, a car, a consumer terminal device, a mobile robot, a sweeping robot, and a drone, etc. For example, Figure 4 As shown, the terminal device 400 includes a laser radar 401 and an echo processing device 402.
[0061] Among them, the laser radar 401 can be used to generate statistical data. For example, as an example, Figure 5 As shown, the laser radar 401 includes a transmitter 4010 and a receiver 4011.
[0062] In practical applications, the echo processing device 402 can be integrated with the laser radar 401, or can be separately provided. When the echo processing device 402 can be separately provided with the laser radar 401, the structural diagram of the terminal device 400 is as follows: Figure 4 When the echo processing device 402 can be integrated with the laser radar 401, the structural diagram of the terminal device 400 is as shown in FIG. Figure 6 shown.
[0063] The transmitter 4010 can be used to transmit a detection signal to a target object. For example, the detection signal can be a pulse signal of a specific wavelength. For example, the transmitter 4010 can include a VCSEL, and the VCSEL can be used to transmit a pulse signal of a specific wavelength to a target object. Optionally, the transmitter 4010 can also include a laser driver and an optical lens. The laser driver is used to drive the VCSEL to transmit the detection signal. The optical lens can be used to focus light. For example, when the optical lens is set at the transmitting end, it can be used to focus the detection signal emitted by the VCSEL.
[0064] The receiver 4011 can be used to capture the signal transmitted by the target object and record the corresponding flight time. For example, the receiver can include a SPAD array, such as Figure 7 As shown, the SPAD array may include multiple pixels arranged horizontally and vertically, and the multiple pixels are also distributed in an array, and each pixel includes multiple SPADs in an array. Each pixel can be used to capture a single photon in a very short time and record its time and spatial position. For example, each pixel may include a TDC, which can be used to record the time when a single photon is captured and generate a histogram of the flight time distribution to obtain a statistical data. Optionally, the receiver 4011 may also include an optical lens for focusing the signal reflected from the target object. Figure 7 The TDC is not shown in the figure, and an example is taken in which four SPADs are included in one pixel.
[0065] The echo processing device 402 may be used to perform noise processing on the statistical data to filter out interference noise generated by target objects with high reflectivity in the statistical data. For example, the echo processing device may include a determination unit and a filtering unit.
[0066] The determination unit can be used to determine the first statistical data, for example, the determination unit can be used to scan multiple pixels in the SPAD array to determine the first statistical data with a frequency greater than a preset threshold. The determination unit is also used to determine interference noise, for example, the determination unit is also used to determine the interference noise based on the position information of the first pixel corresponding to the first statistical data in the SPAD array and the preset offset value.
[0067] The filtering unit can be used to filter out interference noise in multiple statistical data to obtain target data.
[0068] The communication interface may be used to transmit data, for example, the communication interface may be used to output target data. The communication interface may include a mobile industry processor interface (MIPI).
[0069] It should be noted that when the transmitter 4010 and the receiver 4011 are integrated into one system, the system can be Figure 1 The DTOF system shown in .
[0070] In actual applications, when the laser radar detects a target object with a normal scattering surface (a surface with relatively low reflectivity), only the echo beam formed at the center of gravity of the beam is received by the laser radar to generate a valid point. However, when the laser radar detects a target object with high reflectivity (such as road signs, road cones, signboards, etc.), due to the high reflectivity of the target object, in addition to the echo beam at the center of gravity of the beam generating a valid point, the echo signal formed by the non-center of gravity of the beam falling in the high reflectivity area is also very strong, so it can also be received by the laser radar and generate invalid points. In this case, the area where the point cloud originally composed of valid points is located will expand due to the appearance and addition of invalid points, that is, the point cloud will expand, which will cause the point cloud formed by the laser radar detection to deviate from the actual object, affecting the detection performance of the laser radar.
[0071] Based on this, the following Figure 6 The laser radar shown introduces and illustrates the echo processing method provided in the embodiment of the present application.
[0072] Figure 8 A schematic diagram of a flow chart of an echo processing method provided in an embodiment of the present application, the method comprising:
[0073] S801: Determine multiple statistical data based on the echo signal received by the laser radar, each of the multiple statistical data corresponds to a pixel.
[0074] The statistical data can also be called histogram data. In practical applications, each pixel in the SPAD array can be used to capture the signal reflected by the corresponding area in the target object in a very short time, and record the corresponding time to generate a histogram about the flight time. Therefore, each pixel corresponds to a statistical data, and multiple pixels in the SPAD array correspond to multiple statistical data.
[0075] In addition, each statistical data in the plurality of statistical data corresponds to a pixel, that is, each statistical data is data in the corresponding pixel.
[0076] S802: Determine a first statistical data having a frequency greater than a preset threshold value among multiple statistical data, each of the multiple statistical data includes multiple flight times and a frequency corresponding to each of the multiple flight times, and the statistical data is data obtained by accumulating and counting the flight times recorded in the corresponding pixels.
[0077] In addition, the preset threshold is the maximum frequency in the signal reflected by the target object with normal reflectivity. The specific value of the preset threshold can be set according to actual needs and the experience of relevant staff, and the embodiments of the present application do not make specific limitations on this.
[0078] In addition, the SPAD array in the embodiment of the present application can be a two-dimensional planar array, which can also be called a surface array.
[0079] In addition, the frequency is obtained by accumulating and counting the flight time. The frequency corresponding to a certain flight time is used to indicate the number of times a certain flight time occurs. The frequency can also be called the number of times.
[0080] Optionally, the first statistical data can be determined by one determination unit or by multiple determination units, and the frequency used to determine the first statistical data can be the maximum frequency in the statistical data or the frequency corresponding to each flight time in multiple flight times. The specific process of determining the first statistical data in different situations is introduced and explained below.
[0081] In the first case, the first statistical data is determined by a determination unit, and the frequency is the maximum frequency in the statistical data. Specifically, the determination unit first scans each pixel in the SPAD array in sequence, determines the maximum frequency of the statistical data in each pixel, compares the maximum frequency with a preset threshold, and determines the first statistical data whose maximum frequency is greater than the preset threshold.
[0082] In the second case, the first statistical data is determined by a determination unit, and the frequency is the frequency corresponding to each flight time in the multiple flight times. Specifically, the determination unit first scans each pixel in the SPAD array in sequence, determines the frequency corresponding to each flight time in each statistical data, compares the frequency corresponding to each flight time with a preset threshold, and determines the first statistical data whose frequency is greater than the preset threshold.
[0083] If the first statistical data is determined by multiple determination units, then determining the first statistical data whose frequency is greater than a preset threshold among the multiple statistical data includes: dividing the SPAD array into multiple areas, each area includes at least one pixel, each area corresponds to a determination unit, and multiple areas correspond to multiple determination units; multiple determination units scan multiple areas simultaneously to determine the first statistical data.
[0084] In the third case, the first statistical data is determined by multiple determination units, and the frequency is the maximum frequency in the statistical data. Multiple regions are scanned simultaneously by multiple determination units corresponding to the multiple regions. Specifically, for each region in the multiple regions, at least one pixel included in the region is scanned by the determination unit corresponding to the region, the maximum frequency in the statistical data of the at least one pixel is determined, the maximum frequency is compared with a preset threshold, and the first statistical data whose maximum frequency is greater than the preset threshold is determined.
[0085] In the fourth case, the first statistical data is determined by multiple determination units, and the frequency is the frequency corresponding to each flight time in the multiple flight times. Specifically, multiple determination units corresponding to the multiple regions are used to scan multiple regions simultaneously. Specifically, for each region in the multiple regions, the determination unit corresponding to the region scans at least one pixel included in the region, determines the frequency corresponding to each flight time in the statistical data of the at least one pixel, compares the frequency corresponding to each flight time with a preset threshold, and determines the first statistical data whose frequency is greater than the preset threshold.
[0086] In the first and second cases above, one processing unit is used for processing. When the processing unit is integrated into the echo processing device, the area of the echo processing device is reduced and the integration level is improved.
[0087] In the third and fourth situations above, multiple processing units simultaneously scan and determine the first statistical data, which shortens the time for determining the first statistical data and improves efficiency.
[0088] It should be noted that if the target object is not an object with high reflectivity, or there is no high reflectivity area, the histogram generated by the statistical data of each pixel in the SPAD array is as follows: Fig. 9 As shown in (a), Fig. 9 (a) in FIG. 1 is a schematic diagram of a histogram under an ideal state, wherein the horizontal axis is the flight time t, the vertical axis is the frequency f, and the frequency corresponding to the flight time t1 is f1. Fig. 9 Other interfering noises are ignored in (a).
[0089] For example, if the target object is an object with high reflectivity, the histogram generated by the statistical data of each pixel in the SPAD array is as follows: Fig. 9 As shown in (b), the horizontal axis is the flight time t, the vertical axis is the frequency f, and each flight time can correspond to a frequency, for example, the frequency corresponding to the flight time t0 is f0, the frequency corresponding to the flight time t1 is f11, and the frequency corresponding to the flight time t2 is f2. The frequency corresponding to the flight time t0 is f0, and the frequency corresponding to the flight time t2 is f2, which is interference noise.
[0090] It should be noted that when the SPAD array is divided into regions, the number of pixels included in each region may be the same or different, and this embodiment of the present application does not specifically limit this.
[0091] For example, Fig.10 As shown, assuming that the SPAD array can be a 10×10 array, the SPAD array can include 25 pixels, each pixel can include 4 SPADs, and the 4 SPADs form a 2×2 array. The SPAD array is divided into 5 regions, and their identification information can be represented as R1 to R5, each region includes 5 pixels, and each region corresponds to a determination unit for processing statistical data in the pixels in the region. Fig.10 In the example, each area includes 5 pixels and each pixel includes 4 SPADs. Fig.10 Only the identification information of some areas and some pixels is shown.
[0092] S803: Determine interference noise based on first position information and a preset offset value, where the first position information is position information of the first pixel corresponding to the first statistical data in the SPAD array, the interference noise is generated by a target object with high reflectivity, and the preset offset value is a preset position offset value of the first pixel along the horizontal direction of the SPAD array.
[0093] Among them, the transverse direction can also be called the horizontal direction, that is, the preset offset value is a preset position offset value along the horizontal direction of the SPAD array. For example, the preset offset value can be a horizontal left offset value and a horizontal right offset value. The preset offset value is pre-set. For example, the preset offset value can be pre-set based on the specific size of the pixel and the distance between pixels. The specific numerical value can be set according to actual needs and the experience of relevant staff. The embodiment of the present application does not make specific limitations on this.
[0094] In addition, the SPAD array includes a plurality of first pixels, and the preset offset value corresponding to each of the plurality of first pixels is equal.
[0095] In a possible implementation, the first location information is determined in real time. Fig.11 As shown, before step S803, the echo processing method provided by the present application further includes S804: determining first position information.
[0096] Exemplarily, a coordinate system is established on the first plane where the SPAD array is located, a direction parallel to the first plane and horizontally to the right is determined as the X axis, a direction parallel to the first plane and vertically upward is determined as the Y axis, and the first position information of the first pixel P1 corresponding to the first statistical data S1 in the SPAD array is determined as (X P1 , Y 2 ).
[0097] In another possible implementation, the first position information may be predetermined. For example, the position information of each pixel may be determined in the process of designing the SPAD array, and the determined position information of each pixel may be stored in a corresponding memory, and the first position information may be directly obtained in the corresponding memory when executing the relevant steps. The embodiment of the present application does not specifically limit the method for obtaining the first position information.
[0098] Due to the characteristics of the target object itself (high reflectivity), the point cloud formed by the lidar detection will expand. For example, the area where the point cloud composed of valid points is located (i.e., the high reflectivity area) will expand a certain distance horizontally to the left and right (i.e., the interference area). Corresponding to the SPAD array, the pixel corresponding to the high reflectivity area is the first pixel, and the pixels within a certain distance range horizontally to the left of the first pixel and the pixels within a certain distance range horizontally to the right are interference pixels. The interference pixels record the flight time of the interference area (i.e., interference noise). Therefore, determining the position of the interference pixel can determine the interference noise.
[0099] Furthermore, interference noise is determined based on the first position information and a preset offset value, including: determining at least one pixel group located in the same row based on the first position information, the pixel group including one or multiple consecutive first pixels; determining second position information of the interference pixel based on the first position information of the first first pixel in at least one pixel group, the first position information of the last first pixel and the preset offset value; and determining statistical data in the interference pixel as interference noise based on the second position information.
[0100] When the pixel group includes a first pixel, the first first pixel and the last first pixel in the pixel group are the same pixel, and the first first pixel and the last first pixel both indicate the first pixel included in the pixel group.
[0101] When the pixel group includes a plurality of continuous first pixels, the first first pixel may be the first first pixel counted from left to right in the pixel group, or the first first pixel counted from right to left, which is not specifically limited in the present application.
[0102] For example, Fig.12As shown, assuming that the SPAD array can be a 20×10 array, the SPAD array can include 50 pixels, each pixel can include 4 SPADs, and the 4 SPADs form a 2×2 array. The first statistical data are S1 to S8, and the corresponding first pixels are P1 to P8. The second row includes two pixel groups, the first pixel group includes the first pixel P1, and the second pixel group includes the first pixel P5. The third row includes two pixel groups, the first pixel group includes the continuous first pixel P2, the first pixel P3 and the first pixel P4, and the second pixel group includes the continuous first pixel P6, the first pixel P7 and the first pixel P8.
[0103] A coordinate system is established on the first plane where the SPAD array is located, and the direction parallel to the first plane and horizontally to the right is determined as the X axis, and the direction parallel to the first plane and vertically upward is determined as the Y axis, so that the first position information of the first pixel can be determined. Among them, the first position information of the first pixel P1 (X P1 , Y 2 ), the first position information of the first pixel P2 (X P2 , Y 3 ), the first position information of the first pixel P3 (X P3 , Y 3 ), the first position information (X P4 , Y 3 ), the first position information (X P5 , Y 2 ), the first position information (X P6 , Y 3 ), the first position information of the first pixel P7 (X P7 , Y 3 ) and the first position information (X P8 , Y 3 ).
[0104] Based on the first position information (X) of the first pixel P1 in the first pixel group in the second row P1 , Y 2 ), the horizontal left and right directions are offset by a preset offset value M, and the second position information (X P1-M , Y 2 ), and the second position information (X P1+M , Y 2 ); Based on the first position information (X) of the first pixel P5 in the second pixel group in the second row P5 , Y 2 ), the horizontal left and right directions are offset by a preset offset value M, and the second position information (XP5-M , Y 2 ), and the second position information (X P5+M , Y 2 Based on the first position information (X) of the first pixel P2 in the first pixel group in the third row. P2 , Y 3 ) is horizontally shifted to the left by a preset offset value M, and the second position information (X) of the interfering pixel IP5 is determined. P2-M , Y 3 ), based on the first position information of the first pixel P4 is (X P4 , Y 3 ) is horizontally shifted to the right by a preset offset value M, and the second position information (X P4+M , Y 3 Based on the first position information (X) of the first pixel P6 in the second pixel group in the third row. P6 , Y 3 ) is horizontally shifted to the left by a preset offset value M, and the second position information (X) of the interfering pixel IP7 is determined. P6-M , Y 3 ), based on the first position information of the first pixel P8 is (X P8 , Y 3 ) is horizontally shifted to the right by a preset offset value M, and the second position information (X P8+M , Y 3 ). According to the determined second position information, the statistical data in the interference pixels IP1 to IP8 are determined as interference noise.
[0105] S805: Filter out interference noise in multiple statistical data to obtain target data.
[0106] Optional, such as Fig.11 As shown, after step S801, the echo processing method provided by the present application also includes S806: performing low-order matched filtering on multiple statistical data. Among them, matched filtering can suppress high-frequency signals and low-frequency signals, allowing intermediate frequency signals to pass, thereby realizing frequency interception of the signal, so that the high-frequency and low-frequency components in the signal are suppressed, thereby achieving the purpose of filtering. Low-order matched filtering is to use a relatively low order to perform matched filtering on statistical data to filter out low-frequency noise and high-frequency noise in the statistical data. In this embodiment, low-order matched filtering is performed on multiple statistical data, which can filter out low-frequency noise and high-frequency noise (for example, burrs) in multiple statistical data, thereby improving the accuracy of multiple statistical data.
[0107] Optional, such as Fig.11As shown, after step S805, the echo processing method provided by the present application further includes S807: performing high-order matched filtering on the target data. Among them, the high-order matched filtering is to use a higher order to perform matched filtering on the target data to filter out low-frequency noise and high-frequency noise in the target data. In this embodiment, performing high-order matched filtering on the target data can improve the signal-to-noise ratio of the target data.
[0108] Furthermore, the echo processing method provided in the embodiment of the present application is applied to high-reflectivity scenes, for example, scenes including target objects with high reflectivity such as road signs, road cones, and signboards.
[0109] Optionally, the echo processing method provided in the embodiment of the present application can be applied to a scenario of measuring the distance from a vehicle to a target object. Fig.13 As shown, Fig.13 This is an application scenario of the echo processing method provided in an embodiment of the present application, and the scenario includes: a vehicle, a laser radar is provided in the vehicle, the laser radar includes an echo processing device, the laser radar can be used to transmit a detection signal to a target object, the laser radar can be used to receive an echo signal reflected from the target object, and the echo processing device can be used to execute the relevant steps in the above method embodiment to obtain the actual distance between the vehicle and the target object.
[0110] The echo processing method provided in the present application filters out interference noise generated by target objects with high reflectivity in multiple statistical data, thereby improving the accuracy of target data; further, when the target data is used to calculate the distance to the object, the accuracy of ranging is improved.
[0111] It is understandable that the echo processing device includes hardware structures and / or software modules for executing the corresponding functions in order to realize the above functions. Those skilled in the art should easily realize that, in combination with the echo processing method steps of each example described in the embodiments herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0112] The embodiment of the present application can divide the echo processing device into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0113] In the case of dividing each functional module into corresponding functional modules, Fig.14 A possible structural schematic diagram of an echo processing device involved in the above embodiment is shown, and the echo processing device includes: a determination unit 140 and a filtering unit 141. The determination unit 140 is used to support the echo processing device to execute S801, S802 and S803 in the above method embodiment; the filtering unit 141 is used to support the echo processing device to execute S805 in the above method embodiment.
[0114] Optional, such as Fig.15 As shown, the echo processing device may further include: a first filtering unit 142 and a second filtering unit 143, the first filtering unit being used to support the echo processing device to execute S806 in the above method embodiment; the second filtering unit being used to support the echo processing device to execute S807 in the above method embodiment.
[0115] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here. The device provided in the embodiment of the present application is used to perform the corresponding functions in the above embodiment, so it can achieve the same effect as the above control method.
[0116] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0117] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0118] 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 readable storage medium. Based on this understanding, the technical solution of the embodiment 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, which is stored in a storage medium and includes several instructions for the device to perform 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 noise, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks or optical disks.
[0119] In another aspect of the present application, an echo processing device is provided, comprising: a processor, a memory and a communication interface, wherein the communication interface is used to transmit data, the memory is used to store instructions, and the processor is used to execute relevant steps in the above method embodiment.
[0120] Another aspect of the present application provides a laser radar, including a receiver, a transmitter and an echo processing device, wherein the transmitter is used to transmit a laser signal, the receiver is used to receive an echo signal, and the echo processing device is used to perform the relevant steps in the above method embodiment. The echo processing device can be the above Figure 4 , Figure 5 or Figure 6 The echo processing device provided in.
[0121] Another aspect of the present application provides a terminal device, including: a laser radar, the laser radar is used to perform the relevant steps in the above method embodiment. The terminal device can be the above Figure 4 , Figure 5 or Figure 6 The terminal equipment shown.
[0122] In another aspect of the present application, a vehicle is provided, comprising a laser radar, wherein the laser radar is used to execute relevant steps in the above method embodiment.
[0123] In another aspect of the present application, a computer-readable storage medium is provided, which includes computer instructions. When the computer instructions are executed on an echo processing device, the echo processing device executes relevant steps in the above method embodiments.
[0124] In yet another aspect of the present application, a computer program product comprising instructions is provided. When the computer program product is executed on a computer device, the computer device is enabled to execute the relevant steps in the above method embodiments.
[0125] Finally, it should be noted that the above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An echo processing method, characterized in that: Applied to a laser radar including a single photon avalanche diode (SPAD) array, the SPAD array including a plurality of pixels arranged horizontally and vertically, each pixel including a plurality of single photon avalanche diodes (SPAD), the method comprising: Determine a plurality of statistical data according to the echo signal received by the laser radar, each statistical data of the plurality of statistical data corresponding to a pixel; Determine a first statistical data having a frequency greater than a preset threshold value among the multiple statistical data, each of the multiple statistical data includes multiple flight times and a frequency corresponding to each of the multiple flight times, and the statistical data is data obtained by accumulating and counting the flight times recorded in the corresponding pixels; Determine interference noise according to first position information and a preset offset value, wherein the first position information is position information of a first pixel corresponding to the first statistical data in the SPAD array, the interference noise is generated by a target object with high reflectivity, and the preset offset value is a preset position offset value of the first pixel along the lateral direction of the SPAD array; The interference noise in the multiple statistical data is filtered out to obtain target data.
2. The method according to claim 1, characterized in that The determining the interference noise according to the first position information and the preset offset value includes: Determine, according to the first position information, at least one pixel group located in the same row, the pixel group including one or a plurality of consecutive first pixels; Determine second position information of the interfering pixel according to first position information of a first first pixel in the at least one pixel group, first position information of a last first pixel and the preset offset value; According to the second position information, statistical data in the interference pixels are determined as the interference noise.
3. The method according to claim 1 or 2, characterized in that: The step of determining a first statistical data having a frequency greater than a preset threshold value among the plurality of statistical data comprises: Dividing the SPAD array into a plurality of regions, each region including at least one pixel; The plurality of regions are scanned simultaneously to determine the first statistical data.
4. The method according to any one of claims 1 to 3, characterized in that: After receiving the plurality of statistical data, the method further comprises: A low-order matched filtering is performed on the plurality of statistical data.
5. The method according to any one of claims 1 to 4, characterized in that: After obtaining the target data, the method further includes: A high-order matched filter is performed on the target data.
6. The method according to any one of claims 1 to 5, characterized in that: The echo processing method is applied in high reflectivity scenes.
7. An echo processing device, characterized in that: Applicable to a laser radar including a single photon avalanche diode SPAD array, the SPAD array including a plurality of pixels arranged horizontally and vertically, each pixel including a plurality of SPADs, the echo processing device including: A determination unit, configured to determine a plurality of statistical data according to an echo signal received by the laser radar, wherein each of the plurality of statistical data corresponds to a pixel; The determining unit is further configured to determine a first statistical data having a frequency greater than a preset threshold value among the plurality of statistical data, each of the plurality of statistical data comprising a plurality of flight times and a frequency corresponding to each of the plurality of flight times, and the statistical data is data obtained by accumulating and counting the flight times recorded in the corresponding pixels; The determination unit is further used to determine interference noise according to first position information and a preset offset value, wherein the first position information is position information of a first pixel corresponding to the first statistical data in the SPAD array, the interference noise is generated by a target object with high reflectivity, and the preset offset value is a preset position offset value of the first pixel along the transverse direction of the SPAD array; The filtering unit is used to filter out the interference noise in the multiple statistical data to obtain target data.
8. The device according to claim 7, characterized in that The determining unit is further configured to: Determine, according to the first position information, at least one pixel group located in the same row, the pixel group including one or a plurality of consecutive first pixels; Determine second position information of the interfering pixel according to first position information of a first first pixel in the at least one pixel group, first position information of a last first pixel and the preset offset value; According to the second position information, statistical data in the interference pixels are determined as the interference noise.
9. The device according to claim 7 or 8, characterized in that The determining unit is further configured to: Dividing the SPAD array into a plurality of regions, each region including at least one pixel; The plurality of regions are scanned simultaneously to determine the first statistical data.
10. The device according to any one of claims 7 to 9, characterized in that: The device also includes: The first filtering unit is used to perform low-order matched filtering on the multiple statistical data.
11. The device according to any one of claims 7 to 10, characterized in that: The device also includes: The second filtering unit is used to perform high-order matched filtering on the target data.
12. The device according to any one of claims 7 to 11, characterized in that: The echo processing device is applied in high reflectivity scenarios.
13. An echo processing device, characterized in that: include: A processor, a memory and a communication interface, wherein the communication interface is used to transmit data, the memory is used to store instructions, and the processor is used to execute the echo processing method according to any one of claims 1 to 6.
14. A laser radar, characterized in that: The laser radar includes a transmitter, a receiver and an echo processing device as described in any one of claims 7 to 12, wherein the transmitter is used to transmit laser signals and the receiver is used to receive echo signals.
15. A terminal device, characterized in that: The terminal device includes a laser radar, which is used to execute the echo processing method as described in any one of claims 1-6.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises computer instructions, and when the computer instructions are executed on an echo processing device, the echo processing device is enabled to perform the echo processing method according to any one of claims 1 to 6.
17. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer device, the computer device is enabled to execute the echo processing method according to any one of claims 1 to 6.
Citation Information
Cited By
Laser radar chip, test system, point cloud generation method and readable storage medium
CN121385844A