Flight time measuring system and measuring method
By emitting pulse sequences of different periods in the time-of-flight measurement system and correcting the time-of-flight, the distance folding problem is solved and accurate distance measurement and high frame rate depth information acquisition are achieved.
Patent Information
- Application Number
- CN202310415331.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-11
- Publication Date
- 2024-10-18
AI Technical Summary
In time-of-flight measurement systems based on the time-of-flight principle, in order to maintain the frame rate, distance folding problems are prone to occur when using lower pulse intervals, causing the measured distance value to deviate from the actual distance.
In the time-of-flight measurement system, the transmitter sequentially emits pulse sequences with different periods to the target point, and obtains the corresponding detection signal sequence through the collector. The control and processing circuit processes these signals to obtain the flight time and expansion period number of the pulse. The flight time of the pulse is then corrected to determine the actual distance to the target point.
It effectively solves the distance folding problem, ensures the accuracy and precision of measurement results, and maintains high frame rate depth information measurement.
Smart Images

Figure CN118795491A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of time-of-flight measurement, and in particular to a time-of-flight measurement system and a measurement method. Background Art
[0002] The time of flight principle (TOF) can be used to measure the distance of the target to obtain a depth image containing the depth value of the target. The time of flight measurement system based on the time of flight principle has been widely used in consumer electronics, unmanned vehicles, AR / VR and other fields. The time of flight measurement system based on the time of flight principle usually includes a transmitter, a collector, and a control and processing circuit. The transmitter continuously emits multiple pulse beams (pulse sequences) to multiple target points in the target scene. The pulses reflected by the target point are collected by the collector and output a signal indicating the flight time corresponding to the pulse going to and from the target point. The control and processor receives the signal and calculates the flight time corresponding to the pulse going to and from the target point based on the time correlated single photo counting method (TCSPC), and further calculates the distance between the target point and the measurement system.
[0003] In a time-of-flight measurement system based on the time-of-flight principle, in order to measure depth information at a reasonable frame rate, the transmitter is usually modulated to emit a pulse beam at a relatively low time interval (pulse period), and the pulse period is usually set as the maximum flight time that the system can detect. However, when using a relatively low pulse interval to measure distance using the TCSPC method, flight time folding will occur, resulting in a deviation between the measured distance value and the actual distance of the target point. Figure 1 As shown, assuming that the transmitter sends multiple pulse beams with a pulse period of T, the corresponding maximum detection flight time of the system is T, and the maximum detection distance is D, where D = CT / 2, C is the speed of light, and the dotted line can be used to represent the emission time of each pulse. When the target point is within the maximum detection distance, assuming it is at a distance D1, the system detects that the flight time corresponding to the target point is t1, and the distance D1 of the target point can be calculated based on t1. However, if the pulse beam emitted by the system is projected to the target point at D2 and the reflected beam is collected, since the maximum flight time detected by the system is T, the flight time that actually exceeds T will be folded, that is, it will be folded according to an integer multiple of the period T, that is, the flight time detected by the system is still t1, and the corresponding calculated distance to the target is D1, while the actual distance of the target point is D2.
[0004] Therefore, how to solve distance folding while ensuring frame rate is an urgent problem that needs to be solved. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides a flight time measurement system and a measurement method to at least solve the problems described in the background technology.
[0006] To achieve the above-mentioned purpose, an embodiment of the present application provides a flight time measurement system, including a transmitter, configured to sequentially transmit a plurality of pulse sequences with different periods toward a target point, each pulse sequence including a plurality of pulses; a collector, configured to collect the plurality of pulse sequences reflected by the target point to form a plurality of detection signal sequences; a control and processing circuit, processing the plurality of detection signal sequences to obtain the flight time of the pulses in the pulse sequence and the number of extended periods corresponding to the pulses, so as to correct the flight time of the pulses.
[0007] In some embodiments, the transmitter is configured to transmit a first pulse sequence and a second pulse sequence with a period greater than the first pulse sequence to a target point; the collector collects the first pulse sequence and the second pulse sequence reflected by the target point to output a first detection signal sequence and a second detection signal sequence; the control and processing circuit processes the first detection signal sequence and the second detection signal sequence to obtain a first flight time of the first pulse and a second flight time of the second pulse. In one embodiment, the control and processing circuit can calculate the first extension cycle number corresponding to the first pulse according to the first flight time and the second flight time, and correct the first flight time of the first pulse according to the first extension cycle number; or, the control and processing circuit calculates the second extension cycle number corresponding to the second pulse according to the first flight time and the second flight time, and corrects the second flight time of the second pulse according to the second extension cycle number. In another embodiment, the control and processing circuit processes the first detection signal sequence to obtain at least one first echo signal, and processes the second detection signal sequence to obtain at least one second echo signal; selects the first echo signal and / or the second echo signal with the largest echo signal intensity to obtain a group of pulse signals; calculates the flight time and the extension cycle number of the pulse according to the pulse signal. In another embodiment, the control and processing circuit processes the first detection signal sequence to obtain at least two first echo signals, and processes the second detection signal sequence to obtain at least two second echo signals; determines the matching relationship between the first echo signal and the second echo signal to obtain at least two groups of pulse signals; and calculates the pulse flight time and the number of extended cycles based on each group of pulse signals.
[0008] In some embodiments, the transmitter includes multiple light sources; the collector includes multiple macro pixels; each light source is adapted to each macro pixel to form a detection field of view to measure the flight time corresponding to the pulse returning to the target point; each macro pixel is configured with a histogram circuit; or, each macro pixel is configured with multiple histogram circuits, and the number of histogram circuits is equal to the number of pulse emission sequences.
[0009] In some embodiments, the control and processing circuit is further configured to process the detection signal sequence to generate a grayscale image of the target scene.
[0010] According to one embodiment of the present application, a flight time measurement method is also provided, including: sequentially emitting a plurality of pulse sequences with different periods toward a target point, each pulse sequence including a plurality of pulses; collecting the plurality of pulse sequences reflected by the target point to form a plurality of detection signal sequences; processing the plurality of detection signal sequences to obtain the flight time of the pulses in the pulse sequence and the number of extended periods corresponding to the pulses, so as to correct the flight time of the pulses.
[0011] In some embodiments, the above-mentioned measurement method further includes: transmitting a first pulse sequence and a second pulse sequence having a period greater than the first pulse sequence to the target point; collecting the first pulse sequence and the second pulse sequence reflected by the target point to output a first detection signal sequence and a second detection signal sequence; processing the first detection signal sequence and the second detection signal sequence to obtain a first flight time of the first pulse and a second flight time of the second pulse. In one embodiment, the first extended period number corresponding to the first pulse is further calculated based on the first flight time and the second flight time, and the first flight time of the first pulse is corrected based on the first extended period number; or, the second extended period number corresponding to the second pulse is calculated based on the first flight time and the second flight time, and the first flight time of the first pulse is corrected based on the second extended period number.
[0012] In one embodiment, processing the first detection signal sequence and the second detection signal sequence to obtain the first flight time of the first pulse and the second flight time of the second pulse includes: processing the first detection signal sequence to obtain at least one first echo signal, processing the second detection signal sequence to obtain at least one second echo signal; selecting the first echo signal and / or the second echo signal with the largest echo signal intensity to obtain a group of pulse signals; and calculating the flight time and the number of extended cycles of the pulse according to the pulse signal.
[0013] In one embodiment, processing a first detection signal sequence and a second detection signal sequence to obtain a first flight time of a first pulse and a second flight time of a second pulse includes: processing the first detection signal sequence to obtain at least two first echo signals, processing the second detection signal sequence to obtain at least two second echo signals; determining a matching relationship between the first echo signal and the second echo signal to obtain at least two groups of pulse signals; and calculating the pulse flight time and the number of extended cycles based on each group of pulse signals.
[0014] The present application controls the transmitter to transmit pulse sequences with different periods to the target point in sequence, and obtains the flight time of the pulse and the corresponding number of extended cycles according to the detection signal sequence output by the collector, so as to correct the flight time of the pulse according to the number of extended cycles, thereby determining the actual flight time of the pulse to and from the target point, and further determining the actual distance of the target, effectively solving the problem of distance folding. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic diagram of the distance folding principle in the background technology;
[0016] Figure 2 A schematic diagram of a time-of-flight measurement system in some embodiments of the present application;
[0017] Figure 3 Schematic diagram of histogram in some embodiments of the present application;
[0018] Figure 4 A schematic diagram of a detection scenario of a time-of-flight measurement system in some embodiments of the present application;
[0019] Figure 5 Schematic diagram of the time-of-flight measurement method in some embodiments of the present application. DETAILED DESCRIPTION
[0020] The following is a clear and complete description of the technical solution in this application in combination with the embodiments and the accompanying drawings. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0021] Figure 2 A time-of-flight measurement system 10 provided by the present application is shown, including a transmitter 11, a collector 12, and a control and processing circuit connected to the transmitter and the collector. The transmitter 11 includes one or more light sources 111, an emitting optical element 112, and a driver 113. The light source 111 can emit a pulse light beam at a certain frequency (pulse period) under the control of the driver 113. The pulse light beam passes through the emitting optical element 112 and is projected onto the corresponding target point to form an illumination spot. In one embodiment, the light source 111 is a VCSEL array light source chip formed by generating multiple VCSEL light sources on a single semiconductor substrate. If the VCSEL array light source chip is controlled to emit light simultaneously, multiple pulse light beams can be emitted simultaneously and illuminate multiple target points in the target scene, and the distance information of each target point can be detected respectively.
[0022] The collector 12 includes a pixel array 121, a filtering unit 122, and a receiving optical element 123, etc. The receiving optical element 123 images the spot light beam reflected by the target point onto the pixel array 121. The pixel array 121 includes a plurality of pixels for collecting photons, and the pixels may be one of the single-photon devices for collecting photons such as SPAD and SiPM. The situation in which the pixel array 121 collects photons is regarded as a photon detection event and outputs a photon signal. In one embodiment, the pixel array 121 is composed of a plurality of SPADs, and the SPADs can respond to incident single photons and output signals indicating the corresponding arrival time of the received photons at each SPAD. Generally, the collector 12 also includes signal processing units such as a time-to-digital converter (TDC) and a histogram circuit connected to the SPAD array, and each signal processing unit is connected to one or more SPADs (macro pixels) for sensing and recording the signals output by the pixels to measure the flight time of the pulse to and from the target point. Among them, TDC is used to receive the signal output by SPAD and record the flight time of the pulse from emission to collection to generate a time signal (for example, time code), and the time signal is input into the histogram circuit to find the corresponding storage unit (time bin) in the histogram circuit, and the photon count value in the time bin is increased by 1. After repeatedly emitting multiple pulse beams (pulse sequences) to the target point, the time signals detected multiple times are input into the corresponding storage unit (time bin) of the histogram circuit and accumulated so that the histogram circuit generates a histogram containing the pulse waveform, and the flight time of the pulse from emission to reception can be determined according to the histogram.
[0023] like Figure 3 FIG. 1 is a schematic diagram of a histogram generated in some embodiments. The ordinate of the histogram represents the photon count value, and the abscissa corresponds to a time bin 301. Each time bin has a preset size. The storage space of the histogram circuit is associated with the period of the emission pulse. Figure 3 A histogram with the same time bin is shown. If the size of each time bin is tn, the time interval corresponding to the first time bin is 0-tn, and the second is tn-2tn. Similarly, if the time signal output by the TDC corresponds to the interval tn-2tn, the count value in the second time bin is "increased by 1". In practical applications, in addition to collecting the pulse beam reflected by the target point, the collector also collects ambient light. The time signal caused by the ambient light is randomly distributed in each storage unit of the histogram circuit and generates noise relative to the pulse beam.
[0024] It is understood that the signal and processing unit can be integrated into the SPAD array, or can be partially or completely separated from the SPAD array and integrated with the controller. Figure 2 In the illustrated embodiment, the signal processing unit and the controller are collectively referred to as a “control and processing circuit”.
[0025] The controller 13 connects the emitter 11 and the collector 12, controls each light source 111 to continuously emit a pulse beam 30 with a fixed time interval (pulse period) to each target point in the target object 20, and is also used to control the activation of pixels in the pixel array 121 to collect echoes 40 reflected by the target point. In some embodiments, the controller 13 can identify the area where the light beam emitted by each light source is incident on the SPAD array after being reflected by the target point, and activates the pixels in the area to detect the echo signal, while not activating the pixels outside these areas to reduce power consumption. The controller 13 generally includes a programmable processor, which is programmed with software and / or firmware to perform the functions described herein. In the implementation process, it can be a single chip or two or more chips. In addition, the controller 13 includes a depth processing unit for receiving and processing the histogram data output by the signal processing unit to derive the flight time of the pulse, thereby mapping the distance information between each target point and the measurement system. Specifically, filtering can be performed first to reduce the impact of noise, pulse identification can be performed on the filtered histogram, and the centroid calculation can be performed after locating the pulse position to determine the flight time of the pulse to and from the target point.
[0026] In some embodiments, the controller 13 can also process the detection signal sequence to generate a grayscale image of the target scene. Specifically, the detection signal sequence output by the SPAD can represent the grayscale value of the target scene collected by the pixel, and the grayscale value of the pixel can be obtained by accumulating the detection signal; or, the output histogram data can be accumulated to obtain the corresponding grayscale value.
[0027] In order to solve the distance folding problem mentioned in the background technology, the transmitter 11 is configured to sequentially transmit a plurality of pulse sequences with different periods toward the target point, and each pulse sequence includes a plurality of pulses; the collector 12 is configured to collect the plurality of pulse sequences reflected by the target point to form a plurality of detection signal sequences; the control and processing circuit processes the plurality of detection signal sequences to obtain the flight time of the pulses in the pulse sequence to and from the target point and the number of extended periods corresponding to the pulses, so as to correct the flight time of the pulses, and thus determine the actual flight time of the pulses according to the number of extended periods.
[0028] In some embodiments, since the spot size of the reflected light beam is larger than the photosensitive area of the pixel, multiple pixels are usually set to be activated together to collect the photon signal in the reflected light beam. The multiple pixels activated together are called macro pixels. For example, a macro pixel is configured to detect the distance information of a target point, and multiple pulse sequences emitted toward the target point are sequentially incident on the macro pixel to form multiple detection signal sequences, that is, each light source is matched with a macro pixel to form a detection field of view, which is used to measure the flight time of the target point in the target scene located in the detection field of view. At this time, the signal processing unit connected to the macro pixel may include one or more histogram circuits. If only one histogram circuit is included, the histogram circuit is used to store all the detection signal sequences and output a histogram; if multiple histogram circuits are included, the number of histogram circuits is matched with the number of emission pulse sequences, and each histogram circuit is used to store each detection signal sequence and output a histogram respectively. In addition, when the transmitter does not emit a pulse sequence, the collector can be modulated to collect ambient light to obtain the average value of ambient photons. Usually, the ranging system can be set to detect the ambient light before starting measurement to obtain the current average value of ambient photons. The control and processing circuit can use the average value of ambient photons to further process the histogram to improve the calculation accuracy.
[0029] The scheme provided in the present application will be described in detail below by taking the emission of two pulse sequences as an example. In this embodiment, a macro pixel is configured to connect two histogram circuits.
[0030] The transmitter 11 first transmits a first pulse sequence to the target point, and then transmits a second pulse sequence with a period greater than the first pulse sequence; the collector 12 successively collects the first pulse sequence and the second pulse sequence reflected by the target point to form a first detection signal sequence and a second detection signal sequence, and respectively forms a first histogram and a second histogram through a first histogram circuit and a second histogram circuit, and the control and processing circuit processes the first histogram and the second histogram to obtain a first flight time of the first pulse and a second flight time of the second pulse, respectively. Further, the control and processing circuit calculates the first extension cycle number corresponding to the first pulse according to the first flight time and the second flight time, and determines the actual flight time corresponding to the target point according to the first extension cycle number; or, the control and processing circuit calculates the second extension cycle number corresponding to the second pulse according to the first flight time and the second flight time, and determines the actual flight time corresponding to the target point according to the second extension cycle number.
[0031] Specifically, the control and processing circuit drives the light source to emit a first pulse sequence with a period of T1 (the time difference between each pulse is T1) and a second pulse sequence with an emission period of T2 (T2 is greater than T1) to the target point; the first histogram is processed to obtain the first flight time t1 of the first pulse, and the second histogram is processed to obtain the second flight time t2 of the second pulse. If there is no distance folding, the first flight time and the second flight time are theoretically equal, and the distance of the target point can be determined based on the first flight time and / or the second flight time. Due to the existence of distance folding, further processing is required to determine the actual flight time corresponding to the target point. According to t1, t2, T1, and T2, the number of extended cycles N1 of the first pulse and the number of extended cycles N2 of the second pulse are determined. The first actual flight time of the first pulse is calculated by N1, t1, and T1, and the second actual flight time of the second pulse is calculated by N2, t2, and T2. Since the pulses are emitted to the same target point, the first actual flight time and the second actual flight time should be the same in theory.
[0032] Figure 4 Schematic diagram of detection scene in some embodiments of the present application is shown. In one embodiment, assuming that the light source 410 and the macro pixel 420 form a detection field of view, if there is only one target point in the detection field of view, according to the TCSPC mechanism, the detection signal sequence formed by the acquisition of the emission pulse sequence by the collector will be continuously superimposed in the histogram to form an echo signal (pulse signal) reflecting the waveform of the emission pulse. The control and processing circuit processes the first histogram and the second histogram to determine the distribution interval of the pulse signal in the histogram, such as Figure 3 The distribution interval 302 shown in the figure is used, and the flight time of the pulse to and from the target point is calculated based on the time bin 301 in the distribution interval. However, in actual applications, due to the influence of ambient light and other laser transmitters, the collector will collect many interference signals, and echo signals will also be formed in the histogram, resulting in the inability to accurately determine the pulse waveform of the transmitted pulse in the histogram. Therefore, the histogram needs to be processed to filter out the echo signal (pulse signal) corresponding to the transmitted pulse. Specifically, the control and processing circuit performs the following steps:
[0033] S11: Screening the histogram according to the average value of ambient photons (signal extraction threshold), the pulse width of the transmitted pulse light beam and the pulse signal intensity to obtain at least one echo signal.
[0034] If the photon count value in each time bin in the histogram is greater than the signal extraction threshold, it is recorded as "1", and if it is less than the signal extraction threshold, it is recorded as "0". At this time, the time bin less than the signal extraction threshold is considered to be the number of ambient photons collected, thereby determining multiple distribution intervals, each of which corresponds to at least one time bin recorded as "1" in the histogram. Further, the number of time bins in each distribution interval is counted and recorded as the echo signal pulse width. When the echo signal pulse width is less than the pulse width of the emitted pulse beam, it is considered that the distribution interval is not an echo signal, thereby screening out at least one distribution interval greater than the pulse width. Among them, the pulse width of the emitted pulse beam can be preset according to the situation, for example, the half-peak width of the emitted pulse can be selected as the pulse width. The filtered distribution interval is signal accumulated, that is, the photon count value in each time bin included in the interval is accumulated, and the accumulated value is recorded as the echo signal intensity. The filter is performed again according to the pulse signal intensity of the emitted pulse. When the echo signal intensity is lower than the pulse signal intensity, it is considered invalid, and at least one echo signal is further filtered out. Then, after screening the first histogram and the second histogram, at least one first echo signal and at least one second echo signal are obtained in each histogram.
[0035] S12: Determine the pulse signal in each histogram according to the screening result.
[0036] In this embodiment, it corresponds to the case where there is only one target point in the detection field of view, and there is only one pulse signal in each histogram, forming a group of pulse signals for detecting the same target point. After screening, one or more echo signals can be obtained in each histogram. If there is only one echo signal, the two are a group of valid pulse signals, which are echo pulses corresponding to the same target point. If more than one echo signal is obtained in a histogram after screening, the echo signals in the histogram are sorted according to the echo signal strength, and the first echo signal and / or the second echo signal with the largest echo signal strength are used as pulse signals.
[0037] S13: Determine the flight time and the number of extended cycles corresponding to the pulse according to the pulse signal to correct the flight time of the pulse.
[0038] Specifically, the first flight time t1 is calculated based on the first pulse signal selected. In one embodiment, the first pulse signal is distributed in the histogram as follows: Figure 3As shown in the distribution interval 302, the peak value of the pulse signal can be determined based on the selected multiple time bins, and the first flight time t1 can be determined based on the peak value of the pulse signal, that is, the flight time corresponding to the time bin with the largest photon count value (for example, the time at the center of the time bin). In another embodiment, the centroid position is calculated based on the selected multiple time bins using the centroid method, and the time corresponding to the position is the flight time. Similarly, the same operation can be performed on the second histogram to determine the second flight time t2 of the second pulse signal.
[0039] The control and processing circuit calculates the extension cycle number of the first pulse and / or the extension cycle number of the second pulse based on the first flight time and the second flight time. The flight time of the pulse can be corrected based on the extension cycle number to solve the folding problem, and the actual distance of the target point can be further calculated.
[0040] The method for calculating the number of extended cycles N1 corresponding to the first pulse of the first pulse sequence and the method for calculating the number of extended cycles N2 corresponding to the second pulse of the second pulse sequence is as follows:
[0041] When t1≥t2, then N1=N2=(t1-t2) / (T2-T1)+1
[0042] When t2>t1, N1=N2+1=(T1+t1-t2) / (T2-T1)+1.
[0043] Wherein, N1 and N2 are both integers.
[0044] If there is no distance folding, the first flight time and the second flight time are equal in theory, and the distance of the target point can be determined based on the first flight time and / or the second flight time. Therefore, the first actual flight time of the first pulse calculated by N1, t1, and T1 and the second actual flight time of the second pulse calculated by N2, t2, and T2 should be the same in theory. Then the actual flight time t = t1 + (N1-1) * T1 = t2 + (N2-1) * T2. The actual distance of the target point can be output based on the actual flight time of the pulse.
[0045] It can be understood that when calculating the number of extended cycles, the flight time calculated based on the first pulse signal and the second pulse signal is a rough flight time. Preferably, the first flight time and the second flight time can be calculated by determining the peak value of the pulse signal to calculate the number of extended cycles. After calculating the number of cycle extensions, it can be seen from the above formula that the first flight time or the second flight time can be selected for correction. Assuming that the first flight time is selected, when solving the actual flight time, the centroid method can be selected to calculate the more accurate first flight time t1 corresponding to the pulse signal, and then the actual flight time can be calculated in combination with the extended cycle amount, thereby improving the calculation efficiency while ensuring the calculation accuracy.
[0046] In the actual measurement process, when the flight time measurement system is applied to some special detection scenarios, multiple target points appear in the same detection field of view, and a pulse is emitted that can pass through each target and hit the target point behind in turn. Each target point forms a reflected pulse signal, and multiple pulse signals are generated in turn in the histogram. After processing, multiple flight times can be obtained, and the distance of each target point can be determined based on each flight time. For example, when detecting a target behind the glass, the pulse light beam will be reflected at the glass to form a reflection signal, and then pass through the glass to hit the target point to reflect and form another reflection signal. If folding occurs when the target point is far away, the flight time of the next target point will be less than that of one target point, and it will be difficult to directly select the pulse signal belonging to the same target point reflection from the histogram. Therefore, the histogram output by the histogram circuit is first screened to extract multiple echo signals corresponding to each pulse sequence, and then the matching relationship between the echo signals in different pulse sequences is determined, so as to select the echo signals corresponding to the same target point to form a group of pulse signals. For each group of pulse signals, the flight time of the pulse to and from the target point and the number of extended cycles corresponding to the pulse are determined, and the flight time of the pulse is further corrected to obtain the actual distance of the target point.
[0047] In another embodiment, it is assumed that the detection field of view formed by the light source 411 and the macro pixel 421 includes a plurality of target points located at different distances, such as Figure 4As shown, assuming that there are two targets, the first pulse sequence emitted by the light source 411 passes through the target points on the target 430 and the target 431 and is incident on the macro pixel 421. The macro pixel 421 collects pulses reflected from target points at different distances to form an echo signal. According to the TCSPC mechanism, more than two echo signals will appear in the first histogram, of which there are two corresponding pulse signals; similarly, after the second pulse sequence is emitted, there are also two corresponding pulse signals in the second histogram. If the echo signal with the largest echo signal intensity is still selected as the pulse signal, there will be a deviation. Simply grouping and determining the pulses belonging to the same target point in the order of the pulse signals ignores the influence of folding. Therefore, it is necessary to determine the matching relationship between the echo signals in the first histogram and the echo signals in the second histogram to select the pulse signals belonging to the same group, that is, the first echo signal (first pulse signal) and the second echo signal (second pulse signal) formed by the first pulse and the second pulse reflected from the same target point.
[0048] The control and processing circuit first screens the first histogram and the second histogram to determine a plurality of first echo signals and second echo signals, and then determines the matching relationship between the first echo signals and the second echo signals to select a group of pulse signals belonging to the same target point, and determines the actual flight time corresponding to each target point according to each group of pulse signals. Specifically, the control and processing circuit performs the following steps:
[0049] S21: Screening the histogram according to the average value of ambient photons (signal extraction threshold), the pulse width of the transmitted pulse light beam and the pulse signal intensity to obtain at least one echo signal.
[0050] The screening process of step S21 is the same as that of step S11 and will not be described again here.
[0051] S22: Determine the matching relationship of the echo signals in each histogram according to the screening result to determine at least two groups of pulse signals.
[0052] The difference from the above-mentioned embodiment is that the screening result includes multiple groups of pulse signals, and the corresponding relationship cannot be directly determined according to the magnitude of the echo signal strength, so further processing is required.
[0053] Specifically, after screening the first histogram and the second histogram, multiple first echo signals and second echo signals are obtained respectively, the screened multiple first echo signals and multiple second echo signals are sorted according to signal strength, each first echo signal is matched with the second echo signal in sequence, and multiple groups of pulse signals with matching relationships are selected.
[0054] For example, n first echo signals are selected in the first histogram, and m second echo signals are selected in the second histogram. Each first echo signal in the first histogram is judged in turn with each second echo signal in the second histogram according to the order of the intensity of the echo signals, and the matching relationship between the first echo signal and the second echo signal is determined to obtain multiple groups of pulse signals. At this time, the echo signal contained in each group of pulse signals is the pulse signal formed by the reflected pulse of the target point. The number of extended cycles is further calculated for the two echo signals in each group of pulse signals, and the actual flight time of each group of pulse signals is determined according to the number of extended cycles.
[0055] The matching relationship between the two is determined by calculating whether the number of extended cycles of each first echo signal and each second echo signal meets the preset condition. That is, the first flight time t corresponding to each echo signal in the first histogram is 1i , i=1, 2…n respectively correspond to the second flight time t corresponding to each echo signal in the second histogram 2j , j=1,2…m for judgment. The rules for determining the matching relationship are as follows: select the i-th first echo signal and the j-th echo signal for judgment;
[0056] If 1i >t 2j , then calculate t ij =t 1i -t 2j , and calculate the number of extended cycles of the i-th first echo signal in the first histogram as N ij =t ij / ΔT, ΔT is the period difference between the second period and the first period;
[0057] If 1i ≤t 2j , then calculate t ij =T1+t 1i -t 2j , and calculate the number of extended cycles of the i-th first echo signal in the first histogram as N ij =t ij / ΔT+1;
[0058] Judgment|N ij -round(N ij )|>δ / ΔT; if it meets the requirement, then determine N ij Invalid; round means rounding, δ is a constant, and ΔT is the difference between T2 and T1.
[0059] After the calculations in the first two steps, the i-th first echo signal in the first histogram will correspond to j extended cycles, where j is a positive integer greater than or equal to 2. According to the previous introduction, each first echo signal only satisfies a matching relationship with one second echo signal. Therefore, it is also necessary to select a suitable matching relationship, that is, to determine a group of pulse signals through the judgment in the third step. In one embodiment, for example, the first histogram extracts two first echo signals I11 and I12, and the second histogram extracts two second echo signals I21 and I22, and they are first sorted in descending order according to the pulse intensity: I11, I12 (first histogram); I22, I21 (second histogram). First, the echo signal I11 is selected to be compared with the echo signals I22 and I21 in turn, that is, the first flight time t11 corresponding to I11 is compared with the flight times corresponding to the echo signals I22 and I21 respectively, and the echo signal I11 is calculated according to the judgment rules mentioned above to obtain two extended cycle numbers N11 and N12. Furthermore, the second echo signal corresponding to the first echo signal I11 is found to form a group of pulse signals, and the actual flight time of the target point corresponding to this group of pulse signals can be calculated.
[0060] In one embodiment, if after the above judgment, the i-th first echo signal in the first histogram still corresponds to at least 2 extended cycle numbers, then the j-th second echo signal whose echo signal strength is closest to the first echo signal strength in the second echo signal is selected to satisfy the matching relationship, and the j-th second echo signal and the i-th first echo signal are selected as a group of pulse signals. The control and processing circuit can correct the flight time of the pulse according to this group of pulse signals, thereby determining the actual distance of a target point in the target scene. At this time, the extended cycle amount corresponding to the i-th first pulse signal is Nij, and the actual flight time of the pulse t=t i +(N ij The specific calculation process is similar to that of the above embodiment and will not be described again.
[0061] It is understandable that each second echo signal in the second histogram may be used as a reference and compared with each first echo signal in the first histogram in sequence. This is not specifically limited in the present application and the protection scope of the present application cannot be limited thereby.
[0062] In the introduction to the aforementioned embodiment, the scheme of the present application is explained by taking “configuring macro pixels to connect two histogram circuits” as an example. In other embodiments, “macro pixels may be configured to connect a histogram circuit”. After the transmitter is controlled to transmit the first pulse sequence and the second pulse sequence in sequence, the reflected first echo and the second echo are collected and superimposed and are respectively in the first interval and the second interval in the histogram. When the control and processing circuit processes the histogram, it can distinguish the first interval and the second interval of the histogram based on the pulse emission period, that is, divide the histogram into two sub-histograms, and obtain the first echo signal and the second echo signal respectively. This is equivalent to the aforementioned scheme of outputting two histograms using two histogram circuits. The processing processes of the control and processing circuits are the same, so they will not be repeated.
[0063] Figure 5 A schematic diagram of a time of flight measurement method provided by the present application is shown. A time of flight method includes:
[0064] sequentially emitting a plurality of pulse sequences with different periods toward a target point, each pulse sequence comprising a plurality of pulses;
[0065] collecting a plurality of pulse sequences reflected by the target point to form a plurality of detection signal sequences;
[0066] A plurality of detection signal sequences are processed to obtain the flight time of the pulses in each pulse sequence from and to the target point and the number of extension cycles corresponding to the pulses, so as to correct the flight time of the pulses.
[0067] In some embodiments, the method further includes: transmitting a first pulse sequence and a second pulse sequence having a period greater than the first pulse sequence to the target point; collecting the first pulse sequence and the second pulse sequence reflected by the target point to output a first detection signal sequence and a second detection signal sequence; processing the first detection signal sequence and the second detection signal sequence to obtain a first flight time of the first pulse and a second flight time of the second pulse. Further, the first extension cycle number corresponding to the first pulse is calculated based on the first flight time and the second flight time, and the first flight time of the first pulse is corrected based on the first extension cycle number; or, the second extension cycle number corresponding to the second pulse is calculated based on the first flight time and the second flight time, and the second flight time of the second pulse is corrected based on the second extension cycle number.
[0068] In one embodiment, processing the first detection signal sequence and the second detection signal sequence to obtain the first flight time of the first pulse and the second flight time of the second pulse includes: processing the first detection signal sequence to obtain at least one first echo signal, processing the second detection signal sequence to obtain at least one second echo signal; selecting the first echo signal and / or the second echo signal with the largest echo signal intensity to obtain a group of pulse signals; and calculating the flight time and the number of extended cycles of the pulse according to the pulse signal.
[0069] In another embodiment, processing the first detection signal sequence and the second detection signal sequence to obtain the first flight time of the first pulse and the second flight time of the second pulse includes: processing the first detection signal sequence to obtain at least two first echo signals, processing the second detection signal sequence to obtain at least two second echo signals; determining the matching relationship between the first echo signal and the second echo signal to obtain at least two groups of pulse signals; and calculating the pulse flight time and the number of extended cycles based on each group of pulse signals.
[0070] The method of the present application is applied to the aforementioned time-of-flight measurement system. The specific implementation details can be found in the previous description and will not be repeated here.
[0071] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0072] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A time-of-flight measurement system, characterized in that: include: A transmitter configured to sequentially transmit a plurality of pulse sequences with different periods toward a target point, each of the pulse sequences comprising a plurality of pulses; A collector configured to collect a plurality of pulse sequences reflected by a target point to form a plurality of detection signal sequences; The control and processing circuit processes a plurality of the detection signal sequences to obtain the flight time of the pulses in the pulse sequence and the number of extension cycles corresponding to the pulses, so as to correct the flight time of the pulses.
2. The time-of-flight measurement system according to claim 1, wherein: The transmitter is configured to transmit a first pulse sequence and a second pulse sequence with a period greater than that of the first pulse sequence to a target point; The collector collects the first pulse sequence and the second pulse sequence reflected by the target point to output a first detection signal sequence and a second detection signal sequence; The control and processing circuit processes the first detection signal sequence and the second detection signal sequence to obtain a first flight time of a first pulse and a second flight time of a second pulse.
3. The time-of-flight measurement system according to claim 2, wherein: The control and processing circuit calculates a first extension cycle number corresponding to the first pulse according to the first flight time and the second flight time, and corrects the first flight time of the first pulse according to the first extension cycle number; or, The control and processing circuit calculates a second extension cycle number corresponding to the second pulse according to the first flight time and the second flight time, and corrects the second flight time of the second pulse according to the second extension cycle number.
4. The flight time measurement system according to claim 2, characterized in that: The control and processing circuit processes the first detection signal sequence to obtain at least one first echo signal, and processes the second detection signal sequence to obtain at least one second echo signal; Selecting the first echo signal and / or the second echo signal with the largest echo signal strength to obtain a group of pulse signals; The flight time and the number of extended cycles of the pulse are calculated according to the pulse signal.
5. The flight time measurement system according to claim 2, characterized in that: The control and processing circuit processes the first detection signal sequence to obtain at least two first echo signals, and processes the second detection signal sequence to obtain at least two second echo signals; determining a matching relationship between the first echo signal and the second echo signal to obtain at least two groups of pulse signals; The pulse flight time and the number of extended cycles are calculated according to each group of the pulse signals.
6. The time-of-flight measurement system according to claim 1, wherein: The emitter includes a plurality of light sources; the collector includes a plurality of macro pixels; each of the light sources is adapted to each of the macro pixels to form a detection field of view to measure the flight time corresponding to the pulse going back and forth to the target point; Each of the macro-pixels is configured with a histogram circuit; Alternatively, each of the macro-pixels is configured with a plurality of histogram circuits, and the number of the histogram circuits is equal to the number of the pulse emission sequences.
7. The time-of-flight measurement system according to claim 1, wherein: The control and processing circuit is further used to process the detection signal sequence to generate a grayscale image of the target scene.
8. A method for measuring time of flight, characterized in that: include: sequentially emitting a plurality of pulse sequences with different periods toward a target point, each of the pulse sequences comprising a plurality of pulses; collecting a plurality of the pulse sequences reflected by the target point to form a plurality of detection signal sequences; A plurality of detection signal sequences are processed to obtain the flight time of the pulses in the pulse sequence and the number of extension cycles corresponding to the pulses, so as to correct the flight time of the pulses.
9. The flight time measurement method according to claim 8, characterized in that: Also includes: Transmitting a first pulse sequence and a second pulse sequence with a period greater than that of the first pulse sequence to a target point; Collecting the first pulse sequence and the second pulse sequence reflected by the target point to output a first detection signal sequence and a second detection signal sequence; The first detection signal sequence and the second detection signal sequence are processed to obtain a first flight time of a first pulse and a second flight time of a second pulse.
10. The flight time measurement method according to claim 9, characterized in that: Also includes: Calculate a first extension cycle number corresponding to the first pulse according to the first flight time and the second flight time, and correct the first flight time of the first pulse according to the first extension cycle number; or, A second extended cycle number corresponding to the second pulse is calculated according to the first flight time and the second flight time, and the first flight time of the first pulse is corrected according to the second extended cycle number.
11. The flight time measurement method according to claim 9, characterized in that: The processing of the first detection signal sequence and the second detection signal sequence to obtain a first flight time of a first pulse and a second flight time of a second pulse comprises: Processing the first detection signal sequence to obtain at least one first echo signal, and processing the second detection signal sequence to obtain at least one second echo signal; Selecting the first echo signal and / or the second echo signal with the largest echo signal strength to obtain a group of pulse signals; The flight time and the number of extended cycles of the pulse are calculated according to the pulse signal.
12. The flight time measurement method according to claim 9, characterized in that: The processing of the first detection signal sequence and the second detection signal sequence to obtain a first flight time of a first pulse and a second flight time of a second pulse comprises: Processing the first detection signal sequence to obtain at least two first echo signals, and processing the second detection signal sequence to obtain at least two second echo signals; determining a matching relationship between the first echo signal and the second echo signal to obtain at least two groups of pulse signals; The pulse flight time and the number of extended cycles are calculated according to each group of the pulse signals.
Citation Information
Cited By
DTOF ranging method and device capable of saving storage space and electronic equipment
CN121028106A
Laser radar and ranging method thereof, receiving end sensing chip and electronic equipment
CN121385912A
