Time-of-flight measurement system and measurement method
By emitting pulse sequences of different periods in the time-of-flight measurement system and processing the corresponding extended period number, the problem of distance folding in the time-of-flight measurement system is solved and accurate measurement of the distance to the target point is achieved.
Patent Information
- Application Number
- PCT/CN2023/138863
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-11
- Filing Date
- 2023-12-14
- Publication Date
- 2024-10-17
AI Technical Summary
The time-of-flight measurement system based on the time-of-flight principle has a distance folding problem while ensuring the frame rate, causing the measured distance value to deviate from the actual distance.
In the time-of-flight measurement system, the transmitter emits pulse sequences with different periods to the target point in sequence. The collector collects the reflected pulse sequence and processes the control and processing circuit to obtain the flight time and expansion period number of the pulse to correct the flight of the pulse. time to determine the actual flight time of the target point.
It effectively solves the distance folding problem and ensures the accuracy and precision of the measurement results.
Smart Images

Figure CN2023138863_17102024_PF_FP_ABST
Abstract
Description
A time-of-flight measurement system and method 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 method. Background Art
[0002] The time-of-flight principle (TOF) can be used to measure the distance of a target to obtain a depth image containing the depth value of the target. The TOF measurement system based on the TOF principle has been widely used in consumer electronics, unmanned vehicles, AR / VR and other fields. The TOF measurement system based on the TOF 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 points are collected by the collector and output a signal indicating the corresponding flight time of the pulse to the target point. The control and processor receives the signal and calculates the corresponding flight time of the pulse to the target point based on the time correlated single photo counting (TCSPC) method, 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 typically modulated to emit pulsed beams at a relatively short time interval (pulse period), and the pulse period is usually set as the maximum flight time that the system can detect. However, using a relatively short pulse interval can cause flight time folding when using the TCSPC method for ranging, resulting in a deviation between the measured distance value and the actual distance to the target point. As shown in Figure 1, assuming that the transmitter emits 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 range, assuming it is at distance D1, the system detects the corresponding flight time of the target point as t1. Based on t1, the distance to the target point D1 can be calculated. However, if the pulse beam emitted by the system is projected onto 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 at this time is still t1, and the corresponding calculated target distance is D1, while the actual distance to the target point is D2.
[0004] Therefore, how to solve distance folding while ensuring the frame rate is an urgent problem that needs to be solved.
[0005] Summary of the Invention
[0006] To solve the above technical problems, the present application provides a time-of-flight measurement system and a measurement method to at least solve the problems described in the background technology.
[0007] To achieve the above-mentioned purpose, an embodiment of the present application provides a time-of-flight measurement system, including a transmitter, configured to sequentially transmit multiple pulse sequences with different periods toward a target point, each pulse sequence including multiple pulses; a collector, configured to collect multiple pulse sequences reflected by the target point to form multiple detection signal sequences; a control and processing circuit, processing the multiple 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.
[0008] In some embodiments, the transmitter is configured to transmit a first pulse sequence and a second pulse sequence having a period greater than the first pulse sequence toward 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 a first extended period number corresponding to the first pulse based on the first flight time and the second flight time, and correct the first flight time of the first pulse based on the first extended period number; or, the control and processing circuit can calculate a second extended period number corresponding to the second pulse based on the first flight time and the second flight time, and correct the second flight time of the second pulse based on the second extended period 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; and calculates the flight time and extended period number of the pulse based on 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.
[0009] In some embodiments, the emitter 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 traveling to and from 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.
[0010] 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.
[0011] According to one embodiment of the present application, a flight time measurement method is also provided, including: sequentially emitting multiple pulse sequences with different periods toward a target point, each pulse sequence including multiple pulses; collecting the multiple pulse sequences reflected by the target point to form multiple detection signal sequences; processing the multiple 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.
[0012] In some embodiments, the measurement method further includes: emitting 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, a 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, a 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.
[0013] 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 based on the pulse signal.
[0014] 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 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.
[0015] 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 extended period number according to the detection signal sequence output by the collector, so as to correct the flight time of the pulse according to the extended period number, 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
[0016] FIG1 is a schematic diagram of the distance folding principle in the background art;
[0017] FIG2 is a schematic diagram of a time-of-flight measurement system in some embodiments of the present application;
[0018] FIG3 is a schematic diagram of a histogram in some embodiments of the present application;
[0019] FIG4 is a schematic diagram of a detection scenario of a time-of-flight measurement system in some embodiments of the present application;
[0020] FIG5 is a flow chart of a time-of-flight measurement method in some embodiments of the present application. DETAILED DESCRIPTION
[0021] The following is a clear and complete description of the technical solutions in this application in conjunction 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 making creative work are within the scope of protection of this application.
[0022] FIG2 shows a time-of-flight measurement system 10 provided by the present application, including an emitter 11, a collector 12, and a control and processing circuit connected to the emitter and the collector. The emitter 11 includes one or more light sources 111, an emitting optical element 112, and a driver 113. The light source 111 can emit a pulsed light beam at a certain frequency (pulse period) under the control of the driver 113. The pulsed 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 at the same time, multiple pulsed light beams can be emitted simultaneously and illuminate multiple target points in the target scene, and the distance information of each target point is detected respectively.
[0023] The collector 12 includes a pixel array 121, a filtering unit 122, and a receiving optical element 123. 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 that collect photons. The pixels can be one of the single-photon devices that collect photons, such as SPAD and SiPM. The situation where 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, which can respond to a single incident photon and output a signal indicating the corresponding arrival time of the received photon at each SPAD. Generally, the collector 12 also includes a signal processing unit such as a time-to-digital converter (TDC) and a histogram circuit connected to the SPAD array. Each signal processing unit is connected to one or more SPADs (macro pixels) for sensing and recording the signal output by the pixel to measure the flight time of the pulse to and from the target point. Among them, the TDC is used to receive the signal output by the SPAD and record the flight time of the pulse from emission to acquisition to generate a time signal (for example, a time code). The time signal is input into the histogram circuit to find the corresponding storage unit (time bin) in the histogram circuit and increase the photon count value in the time bin by 1. After repeatedly emitting multiple pulse beams (pulse trains) 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. The flight time of the pulse from emission to reception can be determined based on the histogram.
[0024] FIG3 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 transmitted pulse. FIG3 shows a histogram with the same time bins. If the size of each time bin is tn, the first time bin corresponds to the time interval 0-tn, the second to tn-2tn, and so on. 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 actual applications, the collector not only collects the pulse light beam reflected by the target point but also collects ambient light. The time signal caused by the ambient light is randomly distributed in the various storage cells of the histogram circuit and generates noise relative to the pulse light beam.
[0025] 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. In this application, for ease of description, in conjunction with the embodiment shown in Figure 2, the signal processing unit and the controller are collectively referred to as the "control and processing circuit."
[0026] The controller 13 connects the emitter 11 and the collector 12, controls each light source 111 to continuously emit a pulsed light beam 30 with a fixed time interval (pulse period) to each target point in the target object 20, and controls 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 of the SPAD array where the light beam emitted by each light source is incident on the SPAD array after being reflected by the target point, and activate the pixels in this area to detect the echo signal, while not activating the pixels outside this area to reduce power consumption. The controller 13 generally includes a programmable processor that is programmed with software and / or firmware to perform the functions described herein. During implementation, 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, and then the filtered histogram can be used for pulse identification. After locating the pulse position, the centroid calculation is performed to determine the flight time of the pulse to and from the target point.
[0027] In some embodiments, the controller 13 may further process the detection signal sequence to generate a grayscale image of the target scene. Specifically, the detection signal sequence output by the SPAD may represent the grayscale value of the target scene captured by the pixel, and the grayscale value of the pixel may be obtained by accumulating the detection signals. Alternatively, the output histogram data may be accumulated to obtain the corresponding grayscale value.
[0028] 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 based on the number of extended periods.
[0029] 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 activated together to collect the photon signal in the reflected light beam. The multiple pixels activated together are called macropixels. For example, a macropixel is configured to detect the distance information of a target point, and then multiple pulse sequences emitted toward the target point are sequentially incident on the macropixel to form multiple detection signal sequences, that is, each light source is adapted to a macropixel to form a detection field of view, which is used to measure the flight time of the target point located in the detection field of view in the target scene. At this time, the signal processing unit connected to the macropixel 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 adapted to the number of emitted 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.
[0030] The solution 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.
[0031] 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, respectively forming a first histogram and a second histogram via a first histogram circuit and a second histogram circuit. 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. Furthermore, the control and processing circuit calculates a first extension cycle number corresponding to the first pulse based on the first flight time and the second flight time, and determines the actual flight time corresponding to the target point based on the first extension cycle number; or, the control and processing circuit calculates a second extension cycle number corresponding to the second pulse based on the first flight time and the second flight time, and determines the actual flight time corresponding to the target point based on the second extension cycle number.
[0032] 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 a 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 extended period number N1 of the first pulse and the extended period number 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.
[0033] FIG4 shows a schematic diagram of a detection scene in some embodiments of the present application. In one embodiment, it is assumed 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 collector collecting the emission pulse sequence is 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 the distribution interval 302 shown in FIG3 , and calculates the flight time of the pulse to and from the target point 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 will also form an echo signal in the histogram, resulting in the inability to accurately determine the pulse waveform of the emission pulse in the histogram. Therefore, the histogram needs to be processed to filter out the echo signal (pulse signal) corresponding to the emission pulse. Specifically, the control and processing circuit performs the following steps:
[0034] 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.
[0035] If the photon count value within 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". In this case, time bins less than the signal extraction threshold are considered to be the number of collected ambient photons. Multiple distribution intervals are thus determined, each of which corresponds to at least one time bin recorded as "1" in the histogram. Furthermore, the number of time bins within 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 transmitted pulse beam, the distribution interval is considered not to be an echo signal, thereby screening out at least one distribution interval with a pulse width greater than the pulse width. The pulse width of the transmitted pulse beam can be preset as needed, for example, the half-peak width of the transmitted pulse can be selected as the pulse width. Signal accumulation is performed on the screened distribution intervals, i.e., the photon count values within each time bin within the interval are accumulated, and the accumulated value is recorded as the echo signal strength. Further screening is performed based on the pulse signal strength of the transmitted pulse. If the echo signal strength is less than the pulse signal strength, it is considered invalid, and at least one echo signal is further screened 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.
[0036] S12: Determine the pulse signal in each histogram according to the screening result.
[0037] In this embodiment, corresponding to the case where only one target point is detected within the field of view, each histogram contains only one pulse signal, forming a group of pulse signals detecting the same target point. After screening, one or more echo signals may be obtained in each histogram. If there is only one echo signal, the two together constitute a valid pulse signal group, representing the echo pulse reflected from the same target point. If a histogram contains more than one echo signal after screening, the echo signals in the histogram are sorted according to echo signal strength, and the first echo signal and / or second echo signal with the largest echo signal strength are selected as the pulse signal.
[0038] 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.
[0039] Specifically, the first flight time t1 is calculated based on the first pulse signal that has been screened. In one embodiment, the distribution interval of the first pulse signal in the histogram is shown as the distribution interval 302 in Figure 3. The peak value of the pulse signal can be determined based on the multiple time bins that have been screened, and the first flight time t1 is 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 multiple time bins that have been screened 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.
[0040] The control and processing circuit calculates the extended cycle number of the first pulse and / or the extended 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 according to the extended cycle number to solve the folding problem, and the actual distance of the target point can be further calculated.
[0041] 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 are as follows:
[0042] When t1≥t2, then N1=N2=(t1-t2) / (T2-T1)+1
[0043] When t2>t1, N1=N2+1=(T1+t1-t2) / (T2-T1)+1.
[0044] Wherein, N1 and N2 are both integers.
[0045] If there is no distance folding, the first and second flight times are theoretically equal, and the distance to the target point can be determined based on the first and / or second flight times. Therefore, the first actual flight time of the first pulse calculated using N1, t1, and T1 and the second actual flight time of the second pulse calculated using N2, t2, and T2 should theoretically be the same. The actual flight time t = t1 + (N1-1)*T1 = t2 + (N2-1)*T2. The actual distance to the target point can be output based on the actual flight time of the pulse.
[0046] It is 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 cycle extension number, it can be seen from the above formula that either the first flight time or the second flight time can be selected for correction. Assuming that the first flight time is selected, when solving for the actual flight time, the centroid method can be used to first 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 value. This can improve calculation efficiency while ensuring calculation accuracy.
[0047] In the actual measurement process, when the time-of-flight measurement system is applied to some special detection scenarios, multiple target points appear in the same detection field of view. A pulse is emitted that can pass through each target and hit the target point behind it in turn. Each target point then forms a reflected pulse signal, and multiple pulse signals are generated in sequence 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 glass, the pulse beam will be reflected by the glass to form a reflection signal, and then pass through the glass to hit the target point and reflect to form another reflection signal. If the target point is far away and folding occurs, the flight time of the next target point will be less than that of one target point, making it difficult to directly select the pulse signals reflected from the same target point 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 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.
[0048] In another embodiment, assume that the detection field of view formed by light source 411 and macropixel 421 includes multiple target points at different distances. As shown in Figure 4, assuming there are two targets, the first pulse sequence emitted by light source 411 passes through target points on targets 430 and 431, respectively, and is incident on macropixel 421. Macropixel 421 collects pulses reflected from target points at different distances to form echo signals. According to the TCSPC mechanism, more than two echo signals will appear in the first histogram, corresponding to two pulse signals. Similarly, after emitting the second pulse sequence, two pulse signals will also appear in the second histogram. If the echo signal with the highest echo signal intensity is still selected as the pulse signal, deviation will occur. Simply grouping pulses belonging to the same target point based on the order of the pulse signals ignores the effect of foldover. 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 pulse signals belonging to the same group, namely, the first echo signal (first pulse signal) and the second echo signal (second pulse signal) formed by the first and second pulses reflected from the same target point.
[0049] The control and processing circuit first screens the first histogram and the second histogram to determine multiple first echo signals and second echo signals, 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 based on each group of pulse signals. Specifically, the control and processing circuit performs the following steps:
[0050] 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.
[0051] The screening process of step S21 is the same as that of step S11 and will not be described again here.
[0052] S22: Determine a matching relationship of the echo signals in each histogram according to the screening result to determine at least two groups of pulse signals.
[0053] The difference from the above embodiment is that the screening result includes multiple groups of pulse signals, and the corresponding relationship cannot be directly determined according to the echo signal strength, so further processing is required.
[0054] 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, and each first echo signal is matched with the second echo signal in sequence and multiple groups of pulse signals with matching relationships are selected.
[0055] For example, n first echo signals are screened from the first histogram, and m second echo signals are screened from the second histogram. Each first echo signal in the first histogram is then compared with each second echo signal in the second histogram in order of echo signal strength. Matching relationships between the first and second echo signals are determined to generate multiple groups of pulse signals. Each group of pulse signals contains the echo signal formed by the pulse reflected from the target point. The number of extended cycles is then calculated for the two echo signals within each group of pulse signals, and the actual flight time of each group of pulse signals is determined based on the number of extended cycles.
[0056] 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 conditions. 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;
[0057] If t 1i >t 2j , then calculate t ij =t 1i -t 2j , and calculate the number of extended cycles of the first echo signal of the i-th in the first histogram as N ij =t ij / ΔT, ΔT is the period difference between the second period and the first period;
[0058] If t 1i ≤t 2j , then calculate t ij =T1+t 1i -t 2j , and calculate the number of extended cycles of the first echo signal of the i-th in the first histogram as N ij =t ij / ΔT+1;
[0059] Judgment|N ij -round(N ij )|>δ / ΔT;If it meets the requirements, determine N ij Invalid; round indicates rounding, δ is a constant, and ΔT is the difference between T2 and T1.
[0060] 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. As previously described, each first echo signal only matches one second echo signal. Therefore, it is necessary to select a suitable matching relationship, i.e., determine a group of pulse signals through the judgment in the third step. In one embodiment, for example, if two first echo signals, I11 and I12, are extracted from the first histogram, and two second echo signals, I21 and I22, are extracted from the second histogram, they are first sorted in descending order of pulse intensity: I11, I12 (first histogram); I22, I21 (second histogram). First, the echo signal I11 is selected and 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 time corresponding to the echo signals I22 and I21 respectively. After calculation according to the judgment rules mentioned above, the echo signal I11 corresponds to 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.
[0061] 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 period numbers, then the j-th second echo signal whose echo signal intensity is closest to the first echo signal intensity in the second echo signal is selected to meet 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 based on this group of pulse signals, thereby determining the actual distance of a target point in the target scene. At this time, the extended period 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 repeated here.
[0062] 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 does not limit the scope of protection of the present application.
[0063] In the introduction of the aforementioned embodiment, the scheme of the present application is explained using "configuring macro pixels to connect two histogram circuits" as an example. In other embodiments, "macro pixels can also 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 transmission period, that is, the histogram is divided into two sub-histograms, and the first echo signal and the second echo signal are obtained respectively, which is equivalent to the aforementioned scheme of outputting two histograms using two histogram circuits. The processing process of the control and processing circuit is the same, so it will not be repeated.
[0064] FIG5 shows a flow chart of a time-of-flight measurement method provided by the present application. A time-of-flight method includes:
[0065] sequentially transmitting a plurality of pulse sequences with different periods toward a target point, each pulse sequence comprising a plurality of pulses;
[0066] collecting a plurality of pulse sequences reflected by the target point to form a plurality of detection signal sequences;
[0067] The plurality of detection signal sequences are processed to obtain the flight time of the pulses in each pulse sequence from the target point to the target point and the number of extension cycles corresponding to the pulses, so as to correct the flight time of the pulses.
[0068] 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 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; 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. Furthermore, a first extended period 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 extended period number; or a second extended period 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 extended period number.
[0069] 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 based on the pulse signal.
[0070] 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 extension cycles based on each group of pulse signals.
[0071] The method of the present application is applied to the aforementioned time-of-flight measurement system. Specific implementation details can be found in the previous description and will not be repeated here.
[0072] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. 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. By way of illustration and not limitation, RAM is available in various 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).
[0073] 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 them. 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; Or, each of the macro pixels is configured with a plurality of histogram circuits, The number of the histogram circuits is equal to the number of the pulse transmission 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: Process the first detection signal sequence to obtain at least two first echo signals, and process the second detection signal sequence to obtain at least two first echo signals. 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
Patent Citations
Range imaging device and solid-state imaging device
CN107850669A
Distance measurement system and method
CN111856485A
Selection of pulse repetition intervals for sensing time of flight
CN112068149A
Differentiating close-range measurements of time of flight
US20230058113A1
