Time-of-flight detection system using effective phase measurement
By selecting a frequency phase measurement system and a single frequency analysis algorithm, combined with a cheap microprocessor and gain control, the limitations of the response time and dynamic range of the TOF measurement system are solved, efficient distance measurement is achieved, and noise interference and ambient light effects are overcome.
Patent Information
- Application Number
- CN202280015377.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-09-17
- Filing Date
- 2022-09-16
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-09-16
AI Technical Summary
Existing time-of-flight (TOF) measurement systems have limitations in fast response and dynamic range, especially in noisy environments where it is difficult to achieve sub-millisecond response times and dynamic ranges spanning 1:10,000.
Using a Selected Frequency Phase Measurement (SFPM) system, a cheap microprocessor and commercial processing circuit, combined with a single frequency analysis algorithm and gain control, achieve fast response time and wide dynamic range. Specific measures include phase measurements using multiple modulation frequencies, digital signal processing, and phase offset calculations between the received and transmitted signals.
It achieves a distance measurement system with sub-millisecond response time and dynamic range from 1:50 to 1:100000, overcomes noise interference and ambient light effects, and provides an efficient indirect time-of-flight measurement system.
Smart Images

Figure CN116868082B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of U.S. Provisional Application Serial No. 63 / 261,317, filed on September 17, 2021 by Ashley Wise, entitled “Time of Flight Detection Systems with Efficient Phase Measurement.”
[0003] This application incorporates the entire contents of the aforementioned applications herein by reference.
[0004] The subject matter of this application may share common invention rights with and / or may be related to the subject matter of the following applications:
[0005] U.S. Application Serial No. 15 / 625,949, entitled “Open-Loop Laser Power-Regulation,” filed by Ashley Wise on June 16, 2017, and issued as U.S. Patent No. 9,985,414 on May 29, 2018;
[0006] U.S. application serial number PCT / US21 / 71304, entitled “Open-Loop Photodiode Gain Regulation,” filed by Ashley Wise et al. on August 27, 2021;
[0007] U.S. Application Serial No. 63 / 107,311, filed on October 29, 2020 by David S. Anderson et al., entitled “Frequency Domain Opposed-Mode Photoelectric Sensor”;
[0008] U.S. Application Serial No. 17 / 036,255, filed on September 29, 2020 by Ashley Wise et al., entitled “Near Range Radar”;
[0009] U.S. Application Serial No. 62 / 924,025, entitled “Near Range Radar,” filed by Ashley Wise et al. on October 21, 2019;
[0010] U.S. Application Serial No. 17 / 446,142, filed on August 26, 2021, by Ashley Wise et al., entitled “Open-Loop Photodiode Gain Regulation”; and
[0011] U.S. application serial number 63 / 071,080, filed on August 27, 2020, by Ashley Wise et al., and entitled “Open-Loop Photodiode Gain Regulation.”
[0012] This application incorporates the entire contents of the aforementioned applications herein by reference. Technical Field
[0013] Various embodiments generally relate to phase measurement.
[0014] Overview
[0015] Apparatus and related methods relate to a selected frequency phase measurement (SFPM) time of flight (TOF) system including a transmitter and a receiver. The transmitter may generate a transmit signal modulated at at least one frequency. The transmit signal may be, for example, a pulsed light signal. The receiver may generate a signal in response to receiving a reflection of the transmit signal from a target object. An ADC element may digitize a signal generated by a receiving element and a reference signal generated by a monitoring signal modulating the transmit signal. A processing element may generate a phase signal using a single frequency analysis of the digitized signal. A distance measurement signal may be generated based on the phase signal. Various embodiments may advantageously achieve sub-millisecond sensor response times, for example using commercial processing elements.
[0016] Various embodiments may achieve one or more advantages. Various embodiments may, for example, advantageously determine the phase offset between the transmitted signal and the received signal using an effective phase calculation algorithm based on a selected (e.g., known) frequency application. Various embodiments may, for example, advantageously achieve fast response times using commercial processing circuits (e.g., inexpensive microprocessors, by combining commodity-grade integrated circuits (ICs)). For example, some SFPM embodiments may advantageously achieve sub-millisecond response times in TOF sensors using inexpensive microprocessors. Various embodiments may advantageously provide an effective, indirect TOF measurement system. For example, some embodiments may apply multiple modulation frequencies to advantageously be used to disambiguate distances exceeding the full wavelength of the phase shift. Some embodiments may, for example, simultaneously sample the transmitted signal and the received signal to advantageously allow for faster response speeds. Some embodiments may, for example, provide gain control to advantageously span a dynamic range of 1:10,000 or more possible inputs.
[0017] The details of various embodiments are set forth in the drawings and the description that follows. Other features and advantages will be apparent from the description and drawings, and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1Depicted is an exemplary selected frequency phase measurement (SFPM) time-of-flight (TOF) sensor employed in an illustrative use case scenario.
[0020] Figure 2 An exemplary block diagram of an exemplary SFPM TOF system is depicted.
[0021] Figure 3 An exemplary amplitude modulation scheme for detecting phase is depicted.
[0022] Figure 4 An exemplary pulse-train time-of-flight phase detection scheme is depicted.
[0023] Figure 5 An exemplary received detection pulse obscured by noise is depicted.
[0024] Figure 6 An exemplary phase integration scheme is depicted.
[0025] Figure 7 Depicted are exemplary discrete received signals and corresponding exemplary amplitude and phase signals determined by frequency analysis.
[0026] Figure 8 An exemplary digital signal corresponding to a weak reflection masked by noise is depicted.
[0027] Fig. 9 An exemplary digital signal corresponding to averaged weak reflections is depicted.
[0028] Fig.10 Depicted is an exemplary block diagram of an exemplary SFPM TOF system in an illustrative use case scenario with gain control.
[0029] Fig.11 Depicted are exemplary spectral leakage and spectral interpolation in a finite sampling window.
[0030] Fig.12 Depicted is an exemplary signal received at a transmitter compared to a transmit signal measured by a monitoring circuit.
[0031] Fig.13 Depicted are exemplary phase signals of an exemplary signal received at a transmitter compared to a transmit signal measured by a monitoring circuit.
[0032] Fig.14 An exemplary set of three frequencies that can be used to resolve the phase is depicted.
[0033] Fig.15 An exemplary method of measuring distance using a SFPM TOF sensor is depicted.
[0034] Like reference symbols in the various drawings indicate like elements.
[0035] DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
[0036] To aid understanding, this document is organized as follows. First, to help introduce the discussion of various embodiments, refer to Figure 1-Figure 2 Selected Frequency Phase Measurement (SFPM) Time of Flight (TOF) sensors are introduced. Second, this introduction leads to reference Figure 3-Figure 4 A description of some exemplary embodiments of TOF sensors. Figure 5-Figure 9 , describes practical measurement and determination methods applied to an exemplary SFPM TOF sensor. Fourth, reference Fig.10 , the discussion turns to an exemplary embodiment showing a SFPM TOF system with high selective dynamic gain. Fifth, with reference to Figure 11-Figure 14 , the present disclosure turns to a review of experimental data and a discussion of phase measurement based on reflection modulated waveforms. Seventh, this document references Fig.15 An exemplary SFPMTOF method is presented.Finally, the document discusses further embodiments, exemplary applications and aspects related to the SFPM TOF distance measurement system.
[0037] Figure 1 An exemplary selected frequency phase measurement (SFPM) time of flight (TOF) sensor employed in an illustrative use case scenario is depicted. In the exemplary use case scenario 100, the distance between a target 105 and a sensor 110 decreases. For example, the target may be a moving object. For example, the target may include an object on a conveyor belt. For example, the target may include (a portion of) a machine. For example, the target may include a fluid in a reservoir. The sensor 110 may, for example, be configured to measure the distance to the target 105.
[0038] The sensor 110 includes a transmitter module 115. The transmitter module 115 transmits a pulsed transmit signal 120. The pulsed transmit signal 120 is at least partially reflected from the target 105, resulting in a reflected signal 125 returning to the sensor 110. The phase of the reflected signal 125 is shifted relative to the phase of the pulsed transmit signal 120 by a phase shift φ. The sensor 110 includes a receiver module 130. The receiver module 130 receives the reflected signal 125.
[0039] The pulsed transmit signal 120 may, for example, include an optical signal. The modulation of the pulsed transmit signal 120 may, for example, be digital modulation. The phase of the pulsed transmit signal 120 may, for example, be known. As shown, the transmitter module 115 is operably coupled to a controller 135 (e.g., including one or more (micro)processors). The controller 135 may, for example, monitor the phase of the transmit signal.
[0040] The controller 135 is operably coupled to the receiver module 130. The controller 135 may be configured to determine the distance between the sensor 110 and the target 105 based on φ. The receiver module 130 may generate a received signal 140, for example, in response to the reflected signal 125. The received signal may, for example, include noise. The noise may, for example, include circuit effects. The noise may, for example, include ambient light. The contribution of the reflected signal 125 to the received signal 140 may, for example, be masked by the noise. The controller 135 processes the received signal 140 to generate a signal 145 corresponding to the pulses in the reflected signal 125. The controller 135 may compare the signal 145 with a processed transmit signal 150 corresponding to the pulses in the pulsed transmit signal 120. The controller 135 determines an amplitude (A) of the signal 145. The controller 135 may determine φ based on a phase difference (e.g., in the frequency domain) between the signal 145 and the processed transmit signal 150. In the depicted example, sensor 110 may determine distance measurement 155 based on phase offset φ and amplitude A (eg, versus time, as shown).
[0041] The controller 135 may, for example, operate on a digitized signal corresponding to the received signal 140. The controller 135 may, for example, operate on a selected frequency in the received signal 140. For example, the transmitter module 115 may transmit a pulsed transmit signal 120 including at least one known frequency. For example, the controller 135 may perform frequency analysis on the received signal 140 only at the known frequencies. The frequency analysis may include a single frequency analysis algorithm. The single frequency analysis algorithm may, for example, include a single bin discrete Fourier transform algorithm. The frequency analysis algorithm may, for example, include a Goertzel analysis.
[0042] Various embodiments may, for example, advantageously determine the phase offset between the transmitted and received signals using an efficient phase calculation algorithm applied based on a selected (e.g., known) frequency. Various embodiments may, for example, advantageously achieve fast response times using commercial processing circuitry (e.g., an inexpensive microprocessor, by combining commodity grade integrated circuits (ICs)). For example, some SFPM embodiments may advantageously achieve sub-millisecond response times in a TOF sensor using an inexpensive microprocessor. Various embodiments may advantageously provide an efficient, indirect TOF measurement system.
[0043] Figure 2An exemplary block diagram of an exemplary SFPM TOF system is depicted. The SFPM TOF system 200 includes a controller 205 (labeled "microcontroller"). The controller 205 may include at least one processor. For example, as shown, the controller 205 includes a microcontroller. The controller 205 is operably coupled to a random access memory module (RAM memory 210). The controller 205 is operably coupled to a program memory module 215. For example, the program memory module 215 may include an instruction program. The controller 205 may be configured to execute the instruction program. For example, the program memory module 215 may include a non-volatile memory.
[0044] The controller 205 is also operably coupled to a transmitter module 220 (e.g., transmitter module 115). The controller 205 can transmit a modulated signal to the transmitter module 220 (e.g., transmitter 1005 and / or transmitter power module 1010) so that the transmitter module 220 generates a signal (e.g., pulsed transmit signal 120) using a known modulation scheme (e.g., including phase).
[0045] The monitor photodiode 225 can be configured to monitor the signal emitted by the transmitter module 220. For example, the signal emitted by the transmitter module 220 may be distorted by signal noise (e.g., noise introduced by the transmitter circuit). In some examples, the monitor photodiode 225 can measure the actual emission signal with signal noise. In some implementations, the transmitter module may include an adjustable transmitter power. For example, the microcontroller 205 can increase the gain output of the transmitter module 220. In some examples, the measurement signal from the monitor photodiode 225 can be advantageously compensated for the change in transmitter power. Therefore, the SFPM TOF system 200 can use an accurate emission signal for single frequency analysis.
[0046] Monitor photodiode 225 is operably coupled to ADC 230. Controller 205 is also operably coupled to ADC 230. ADC 230 may generate a (digitized) signal from the signal generated by monitor photodiode 225 that corresponds to the transmit signal.
[0047] ADC 230 may generate a (digitized) signal based on a signal received from circuit 235. Circuit 235 may generate the signal based on a signal received from a receiver photodiode 240 (e.g., part of receiver module 130). Receiver photodiode 240 may, for example, receive a reflection of the transmitted signal (e.g., reflected signal 125).
[0048] Various embodiments may, for example, provide an (industrial) distance measurement sensor with a small product size and / or at a low price point. Various embodiments may, for example, advantageously allow the use of a low-cost microprocessor circuit to replace an application specific integrated circuit (ASIC). For example, the microprocessor circuit may be implemented using one or more integrated circuits (ICs). Thus, such embodiments may advantageously save, for example, millions of dollars in the development of an ASIC.
[0049] Various embodiments may, for example, advantageously allow the use of low-cost microprocessor circuits in place of field programmable gate arrays (FPGAs). Thus, various such embodiments may advantageously allow for smaller board sizes and / or lower costs. Various embodiments may advantageously implement TOF without ASICs, FPGAs, and / or higher-end processors.
[0050] In various implementations, the SFPM TOF system 200 determines the distance between the sensor device (e.g., sensor 110) and the target object (e.g., target 105) based on a phase offset determined using a first digital single frequency analysis of a received signal from the receiver photodiode 240 and a second digital single frequency analysis of a reference signal measured by the monitor photodiode 225. The reference signal can be generated, for example, based on a modulated waveform transmitted by the transmitter module 220. The received signal can include, for example, a reflection of the modulated waveform from the target object. For example, the received signal and the reference signal can be digitized by the ADC 230. For example, the first digital single frequency analysis and the second digital single frequency analysis are each performed at a predetermined drive frequency of the modulated waveform.
[0051] Figure 3 An exemplary amplitude modulation scheme for detecting phase is depicted. Various embodiments may, for example, be configured as an indirect TOF sensor. For example, some embodiments may be configured to use amplitude modulation, as depicted in diagram 300. A modulated wave 305 (e.g., of light) may be emitted at one or more frequencies. A received signal 310 may include a reflected wave mixed with the emitted modulated wave 305. In this example, the received signal 310 may be processed by a mixer 315. The output of the mixer 315 may, for example, be proportional to the phase shift between the modulated wave 305 and the received signal and / or the distance between the transmitter 320 and the target 325.
[0052] In some implementations, more than one frequency may be used, for example, to measure distance. For example, multiple frequencies may be advantageously employed to resolve distances exceeding a full wavelength of the phase shift.
[0053] Figure 4An exemplary burst time-of-flight phase detection scheme is depicted. Various embodiments may employ a form of burst TOF, as depicted in diagram 400. Pulse burst TOF is an indirect method by which a modulated optical signal may be transmitted. The modulated optical signal may, for example, not necessarily be a sine wave. For example, an analog delay locked loop (DLL 405) may be used to process the received signal, which may determine the phase shift of the incident optical pulse.
[0054] Analog indirect TOF methods may, for example, require analog mixers (e.g., as in Ref. Figure 3 mixer 315) or analog DLL 405 (e.g., as shown in reference Figure 4 In some examples, performing the measurements in hardware may require a sufficient signal-to-noise ratio of the received signal.
[0055] Figure 5 An exemplary received detection pulse obscured by noise is depicted. The exemplary illustration 500 may, for example, correspond to a (light) reflection of the transmitted signal 505 from a dark target and / or a (light) reflection at a long distance. In the depicted example, the received signal 510 may, for example, be too similar to noise to make analog measurements invalid. Some embodiments may provide digital signal processing (e.g., mixing or pulse train analysis) to reduce the noise level for distance measurement analysis.
[0056] Figure 6 An exemplary phase integration scheme is depicted. Some embodiments may, for example, implement phase integration, such as exemplary phase integration scheme 600. Phase integration may, for example, advantageously distinguish a received signal from noise in a signal having a low signal-to-noise ratio. Phase integration may, for example, integrate charge over multiple pulses. For example, some schemes may integrate over hundreds or thousands of pulses. As shown, phase measurements are measured at multiple predetermined phase shifts. Based on the measurements, a distance between a transmitter and a target may be calculated based on a predetermined modulation frequency of the transmitted waveform.
[0057] Phase integration may, for example, require very long integration times. For example, phase integration may require hundreds of microseconds or thousands of microseconds and may need to be repeated over several phase shift cycles, resulting in a total response time of tens of milliseconds. In contrast, industrial sensor TOF solutions may require sub-millisecond response times. Long integration times may, for example, make the system very susceptible to ambient light noise. For example, strong ambient light may saturate the signal.
[0058] Various embodiments can, for example, advantageously provide an efficient indirect time-of-flight system. Various embodiments can, for example, advantageously overcome limitations of analog phase shift measurements. For example, the received signal can be digitized. In some embodiments, the received signal can be converted to a digital signal using, for example, a high-speed analog-to-digital converter (e.g., as described in reference to FIG. Fig.10 The ADC 1040 depicted can be used to digitize the data. The ADC can be integrated into a microprocessor, for example. In various exemplary embodiments, by way of example and not limitation, the ADC can have a capability between 2 megasamples per second (Msps) and 7.5Msps. In some embodiments, a dedicated ADC can be provided. The ADC can, for example, have a processing capability in the range of tens of Msps.
[0059] In various embodiments, the modulation frequency of the transmit signal (eg, the transmitted optical signal) may be lower than the Nyquist frequency sampled by the ADC. As an illustrative example, if a 40Msps ADC is provided, the transmit signal may have a modulation lower than 20MHz.
[0060] Figure 7 An exemplary discrete received signal and a corresponding exemplary amplitude and phase signal determined by frequency analysis are depicted. In graph 700, frequency analysis is applied to a received ADC sampled signal 705. The frequency analysis may, for example, include a fast Fourier transform (FFT). The frequency analysis may, for example, include a discrete Fourier transform (DFT). The frequency analysis generates a phase signal 710 corresponding to the received ADC sampled signal 705. The frequency analysis also generates an amplitude signal 715 corresponding to the received ADC sampled signal 705.
[0061] For example, the phase can be calculated relative to a system clock (e.g., the clock of controller 205). The system clock can, for example, be used to drive transmitter modulation. The phase shift can be proportional to the transit-time-distance of the light. For 10 MHz light modulation, a distance resolution of 1 mm is equivalent to a phase resolution of 0.0004 radians.
[0062] A full DFT or FFT may, for example, be computationally expensive. For example, on some microcontrollers, it may take hundreds of microseconds to calculate a full DFT or FFT. Various embodiments may, for example, implement fast phase measurement by utilizing a single frequency analysis method. A single frequency analysis method may, for example, calculate a single frequency bin of a DFT. Such calculations may be several orders of magnitude faster than a full FFT. Various embodiments may employ one or more single frequency measurement methods configured to measure phase. Therefore, various embodiments may advantageously be configured to quickly determine the phase of a reflected signal (e.g., relative to a transmitted signal) that is related to a distance.
[0063] In some embodiments, the single frequency measurement may, for example, include a Goertzel analysis. In an exemplary Goertzel implementation, the first stage may calculate an intermediate sequence s(n):
[0064] Equation 1: s(n) = x(n) + 2cos(ω 0 )s(n-1)-s(n-2)
[0065] in:
[0066] x(n) is the input sequence (e.g., corresponding to the input signal),
[0067] ω 0 is the frequency to be analyzed (e.g., normalized to radians per sample), and
[0068] n is an index variable.
[0069] For example, the first stage may apply an infinite impulse response filter to the input signal.The cosine term may, for example, be implemented as a (pre-computed) constant (eg, advantageously saving computational cost at runtime).
[0070] In an exemplary Goertzel implementation, the second stage may apply a filter to s(n), producing an output sequence y(n):
[0071] Equation 2:
[0072] Among them: j = √(-1), which is an imaginary number.
[0073] The filter applied in the second stage may be, for example, a finite impulse response filter.The Goertzel algorithm may, for example, advantageously implement a computationally efficient single frequency analysis.
[0074] In embodiments where the modulation frequency is known, the frequency analysis may only require a single frequency. Various embodiments may advantageously apply the Goertzel algorithm to calculate the phase. The phase may be directly related to the distance. Therefore, various embodiments may advantageously apply a single frequency Goertzel analysis to one or more selected frequencies (e.g., the modulation frequency) to determine the distance based on the received signal (e.g., relative to the transmitted signal).
[0075] For example, various embodiments may improve the signal-to-noise ratio by averaging many measurements.Averaging the received signal may be advantageously implemented, for example, since the signal has been digitized by the ADC.
[0076] Figure 8 An exemplary digital signal corresponding to a weak reflection obscured by noise is depicted. In the depicted graph 800, without averaging, the noise dominates the signal at the weak reflection.
[0077] Fig. 9 An exemplary digital signal corresponding to weak reflections that have been averaged is depicted. In the depicted graph 900, Figure 8In the same deployment environment, the signal dominates over the noise.
[0078] Fig.10 An exemplary block diagram of an exemplary SFPM TOF system in an illustrative use case scenario with gain control is depicted. In the depicted exemplary SFPM TOF system 1000, a transmitter 1005 is controlled by a transmitter power module 1010. In the depicted illustrative example, the transmitter power module can, by way of example and not limitation, adjust the transmitter power by changing the current to the laser. The transmitter power module can, for example, provide a transmitter power dynamic range between 1:5 and 1:20. In various examples, the transmitter 1005 can transmit a signal (e.g., an electromagnetic signal) to a target object 1015. The transmitter 1005 can, for example, include a photoelectric transmitter. The transmitter 1005 can, for example, include a laser, and the transmitted signal can include a light beam. The transmitter 1005 can, for example, include an LED. The transmitter 1005 can, for example, transmit a pulse signal. The pulse signal can, for example, be clocked. The monitor photodiode can, for example, measure a characteristic of the transmitted signal.
[0079] Various embodiments may increase the dynamic range by adjusting the system gain. For example, for a given system response time, multiple (e.g., many) iterations of phase measurement may be required. In order to keep the response time less than a predetermined maximum response time, sufficiently effective phase measurements may be used. For example, some embodiments may be configured to have a response time of less than 1 ms.
[0080] The receiver may, for example, receive a reflection of a transmitted signal reflected from a target object 1015. The receiver may, for example, include a photodetector. As shown, the photodetector may include an avalanche photodiode (APD 1020). APD 1020 is driven by an APD voltage 1025 (e.g., a reverse bias voltage). As shown, APD voltage 1025 may, for example, represent a dynamic gain range from 1:1 to 1:20.
[0081] In the depicted example, electronic circuit gain is applied to the output (eg, voltage, current) of the APD 1020. As shown, the electronic circuit gain may be provided by a transimpedance amplifier (TIA 1030). The TIA 1030 may, for example, be implemented to adjust the gain of the output of the APD 1020.
[0082] In the depicted example, the electronic circuit gain can be provided by a gain stage (e.g., an operational amplifier gain stage) circuit (gain stage 1035). Stage 1035 can, for example, be implemented to adjust the gain of the output of APD 1020. In some embodiments, stage 1035 can operate directly on the output of APD 1020. In some embodiments, stage 1035 can, for example, operate on the output of TIA 1030. The electronic circuit gain (e.g., TIA 1030 and / or stage 1035) can, for example, provide a dynamic range between 1:5 and 1:20 in adjustable gain. In some embodiments, TIA 1030 can be omitted, for example. In some embodiments, stage 1035 can be omitted, for example.
[0083] As shown, an analog-to-digital converter (ADC 1040) circuit may operate on the output of stage 1035. ADC 1040 may, for example, operate on the output of TIA 1030. ADC 1040 may, for example, provide a dynamic (gain) range of between 1:50 and 1:200 as an example dynamic range for the system, where target distance (1:100) and target reflectivity (1:10000) require a dynamic range of up to 1:100000, while the ADC measurement may only have a dynamic range of approximately 1:200.
[0084] In some embodiments, a gain control may be provided, such as reference Fig.10 In the depicted example, the ADC input voltage range combined with the noise floor may only yield a dynamic range of about 1:200. The goal may, for example, span a dynamic range of 1:10,000 or more. Changing the gain may advantageously move the 1:200 visible window across the entire 1:10,000 range of possible inputs.
[0085] Various embodiments may be configured to provide sufficient time at the sensor update rate to allow for repeated averaging and gain change cycles. For example, a determination may be made based on the amplitude of the ADC samples whether a gain change is needed. For example, a frequency analysis may be used to calculate the amplitude of a frequency. Various embodiments may perform gain decisions based on the frequency analysis. For example, various embodiments may advantageously isolate a desired gain level for a particular frequency.
[0086] In some embodiments, for example, a single frequency analysis may be calculated. For example, a single frequency analysis may be performed at more than one frequency. For example, some embodiments may perform a single frequency analysis at a frequency close to a center frequency. Such embodiments may, for example, advantageously analyze a power spectrum of a noise frequency. Such embodiments may, for example, advantageously interpolate frequencies that are not aligned at an expected discrete frequency analysis (e.g., discrete Fourier transform (DFT)) bin (e.g., see Fig.11 ).
[0087] Fig.11 Depicted is an exemplary spectral leakage and spectral interpolation in a finite sampling window. Diagram 1100 depicts spectral leakage due to a finite sampling window, and spectral interpolation due to frequencies not falling exactly at a DFT bin.
[0088] In various embodiments, the distance may be determined as a ratio to a measured value of the phase shift of the received signal relative to the modulated signal. In some embodiments, the transmitter (e.g., laser, VCSEL, EEL, LED) may not transmit light having the same waveform shape and / or duty cycle as the modulated signal from the main processing element. Various embodiments may, for example, have a transmit signal that is affected by circuit delays, temperature variations, turn-on thresholds, rise times, or some combination thereof. Therefore, the actual time of transmitting the signal (e.g., light) may be different from the modulated (e.g., command) signal.
[0089] Various embodiments may measure the emitted signal. For example, at least with reference to Figure 2 The disclosed embodiments use a monitor photodiode to monitor the emitted light signal. In various embodiments, the light emitter component (e.g., a laser) may include an (integrated) monitor photodiode. Various embodiments may include an independent photodiode. For example, an independent photodiode may detect a small portion of the actual emitted light.
[0090] Fig.12 Depicted is an exemplary signal received at the transmitter compared to a transmitted signal measured by a monitoring circuit, such as monitor photodiode 225. In the depicted example graph 1200, the phase of received light 1205 being smaller than the phase of transmitted light 1210 reveals a significantly more accurate distance measurement than the phase of received light alone.
[0091] Fig.13 An exemplary phase signal of an exemplary signal received at a transmitter is depicted compared to a transmit signal measured by a monitoring circuit. In the depicted example graph 1300, a phase 1305 is measured from the receive signal. A phase 1310 is measured from a monitor photodiode that monitors the transmit signal that is reflected and corresponds to the receive signal. For example, if the transmitter transmission is delayed relative to the modulated signal, there is a corresponding shift in both the monitor phase and the receive phase. Various embodiments may, for example, subtract the shift. Thus, various embodiments may advantageously produce receive phase measurements with improved accuracy.
[0092] In some embodiments, the received signal can be measured separately from the monitor photodiode. Such embodiments can, for example, advantageously require only a single ADC (e.g., saving size and / or cost). Some such embodiments may, for example, require a longer time to collect all required samples (e.g., samples of the transmitted signal and the received signal). Some embodiments can, for example, sample two signals (e.g., the transmitted signal and the received signal) simultaneously. Such embodiments can, for example, advantageously allow for faster response speeds. Such embodiments, for example, may require more board space and / or cost for a second ADC.
[0093] For a given modulation frequency, the signal may phase wrap at 2π radians or one wavelength. For example, a 10 MHz modulation will phase wrap at 100 ns, which may correspond to a range of 15 meters. Various embodiments may, for example, be configured to measure distances greater than the phase wrap distance. Various embodiments may, for example, distinguish unexpected reflections from exceeding the phase wrap distance.
[0094] In some embodiments (e.g., as at least referenced Fig.14 Disclosed), more than one modulation frequency may be used. The distance measurements may be combined to resolve the true distance, which for any single modulation frequency may be greater than the phase wrap distance.
[0095] Fig.14 An exemplary set of three frequencies that can be used to resolve phase is depicted. Using multiple (known) transmitter modulation frequencies can, for example, enable the SFPM TOF system to resolve distances greater than the phase wrap-around distance of a single frequency. For example, at least two (known transmitter modulation) frequencies can be analyzed by single frequency analysis. In some embodiments, the frequency analysis can be configured to perform frequency analysis on multiple selected frequencies simultaneously. Some embodiments can, for example, use three frequencies (e.g., as depicted in graph 1400). Some embodiments can use more than three frequencies.
[0096] Fig.15 An exemplary method for measuring distance using a SFPM TOF sensor is depicted. In method 1500, a received signal may be sampled by an ADC. The ADC values may be averaged together to improve the signal-to-noise ratio. An effective single frequency analysis may be performed to determine, for example, the amplitude and phase of the signal. A gain control may adjust the gain if necessary. For a monitor photodiode, the ADC sampling and averaging process may be repeated. The results of both may be combined to determine a distance measurement value for the system.
[0097] In this example, method 1500 begins when a drive modulation signal is transmitted in step 1505. In step 1510, ADC samples are received from the monitor photodiode. Next, in step 1515, averaged ADC samples are received over multiple iterations of step 1505 at different frequencies. After the averaged ADC samples are calculated, a single frequency analysis is performed on the averaged ADC samples of the monitor photodiode signal in step 1520. In step 1525, the monitor photodiode phase is determined.
[0098] In step 1530, ADC samples are received from the receiver. Next, in step 1535, averaged ADC samples are received through multiple iterations of step 1505 at different frequencies. In step 1540, single frequency analysis is performed on the ADC samples of the received signal. In step 1545, the received signal phase is determined. At decision point 1550, it is determined whether the ADC samples of the received signal are sampled at a desired gain. For example, it can be determined whether the gain needs to be changed, for example, based on the amplitude of the ADC samples. If it is determined that the ADC samples of the received signal are sampled at the desired gain, then in step 1555, a distance measurement is calculated based on the monitor photodiode phase and the received signal phase, and method 1500 ends. If it is determined that the ADC samples of the received signal are sampled at the desired gain, then in step 1560, the adjusted output gain is applied and step 1505 is repeated.
[0099] Although various embodiments have been described with reference to the drawings, other embodiments are possible.
[0100] Although example systems have been described with reference to the accompanying figures, other implementations may be deployed in other industrial, scientific, medical, commercial, and / or residential applications.
[0101] In various embodiments, some bypass circuit implementations may be controlled in response to signals from analog or digital components, which may be discrete, integrated, or a combination of each thereof. Some embodiments may include a programmed device, a programmable device, or some combination thereof (e.g., a PLA, a PLD, an ASIC, a microcontroller, a microprocessor), and may include one or more data storage devices (e.g., cells, registers, blocks, pages) that provide single-level or multi-level digital data storage capabilities and may be volatile, non-volatile, or some combination thereof. Some control functions may be implemented in hardware, software, firmware, or any combination thereof.
[0102] A computer program product may include a set of instructions that, when executed by a processor device, causes the processor to perform specified functions. These functions may be performed in conjunction with a controlled device in operable communication with the processor. A computer program product, which may include software, may be stored in a data storage device tangibly embedded on a storage medium, such as an electronic, magnetic, or rotating storage device, and may be fixed or removable (e.g., hard disk, floppy disk, thumb drive, CD, DVD).
[0103] Although examples of systems that may be portable have been described with reference to the above figures, other implementations may be deployed in other processing applications, such as desktop and networked environments.
[0104] For example, temporary auxiliary energy input can be received from a rechargeable or disposable battery, which can enable use in portable or remote applications. Some embodiments can operate using other DC voltage sources, such as a 9V (nominal) battery. An alternating current (AC) input, such as provided from a 50 / 60Hz power port or from a portable generator, can be received via a rectifier and appropriate scaling. The supply of an AC (e.g., sine wave, square wave, triangle wave) input can include a line frequency converter to provide voltage step-up, voltage step-down, and / or isolation.
[0105] Although specific features of the architecture have been described, other features may be combined to improve performance. For example, cache (e.g., L1, L2, ...) techniques may be used. Random access memory may be included, for example, to provide a scratch pad memory and / or load executable code or parameter information stored for use during runtime operations. Other hardware and software may be provided to perform operations, such as network or other communications using one or more protocols, wireless (e.g., infrared) communications, stored operating energy and power (e.g., batteries), switching and / or linear power supply circuits, software maintenance (e.g., self-testing, upgrading), etc. One or more communication interfaces may be provided to support data storage and related operations.
[0106] Some systems may be implemented as computer systems that may be used in various implementations. For example, various implementations may include digital circuits, analog circuits, computer hardware, firmware, software, or a combination thereof. An apparatus may be implemented in a computer program product that is tangibly embodied in an information carrier, such as a machine-readable storage device, for execution by a programmable processor; a method may be executed by a programmable processor executing an instruction program to perform the functions of various embodiments by operating on input data and generating output. Various embodiments may advantageously be implemented in one or more computer programs that may be executed in a programmable system that includes at least one programmable processor coupled to receive data and instructions from and transmit data and instructions to a data storage system, at least one input device, and / or at least one output device. A computer program is a set of instructions that may be used directly or indirectly in a computer to perform a specific activity or produce a specific result. Computer programs may be written in any form of programming language, including compiled or interpreted languages, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0107] As examples, suitable processors for executing instruction programs include general and special purpose microprocessors, which may include a single processor or one of multiple processors of any type of computer. Typically, the processor will receive instructions and data from a read-only memory or a random access memory or both. The key elements of a computer are a processor for executing instructions and one or more memories for storing instructions and data. Typically, a computer will also include one or more mass storage devices for storing data files, or be operatively coupled to the one or more mass storage devices to communicate with them; such devices include disks, such as internal hard disks and removable disks; magneto-optical disks; and optical disks. Storage devices suitable for tangibly embodying computer program instructions and data include all forms of non-volatile memory, including, as examples, semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; disks, such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and memory may be supplemented by or incorporated into an ASIC (Application Specific Integrated Circuit).
[0108] In some implementations, each system can be programmed with the same or similar information and / or initialized with substantially the same information stored in volatile and / or non-volatile memory. For example, one data interface can be configured to perform auto-configuration, auto-download, and / or auto-update functions when coupled to an appropriate host device (such as a desktop computer or server).
[0109] In some implementations, one or more user interface features may be custom configured to perform a specific function. Various embodiments may be implemented in a computer system that includes a graphical user interface and / or an Internet browser. To provide interaction with a user, some implementations may be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user, a keyboard, and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer.
[0110] In various implementations, the system may communicate using suitable communication methods, equipment, and techniques. For example, the system may communicate with compatible devices (e.g., devices capable of transmitting data to and / or from the system) using point-to-point communication, in which messages are transmitted directly from a source to a receiver via a dedicated physical link (e.g., a fiber optic link, point-to-point wiring, a daisy chain). The components of the system may exchange information via analog or digital data communication of any form or medium, including packet-based messages on a communication network. Examples of communication networks include, for example, a LAN (local area network), a WAN (wide area network), a MAN (metropolitan area network), wireless and / or optical networks, computers and networks forming the Internet, or some combination thereof. Other implementations may transmit messages by broadcasting to all or substantially all devices coupled together by a communication network, such as by using omnidirectional radio frequency (RF) signals. Still other implementations may transmit messages characterized by high directivity, such as RF signals transmitted using directional (i.e., narrow beam) antennas or infrared signals that may optionally be used with focusing optics. Other implementations are possible using appropriate interfaces and protocols, such as, by way of example but not limitation, USB 2.0, Fire wire, ATA / IDE, RS-232, RS-422, RS-485, 802.11a / b / g, Wi-Fi, Ethernet, IrDA, FDDI (Fiber Distributed Data Interface), Token Ring, multiplexing techniques based on frequency division, time division or code division, or some combination thereof. Some implementations may optionally incorporate features such as error detection and correction (ECC) for data integrity, or security measures such as encryption (e.g., WEP) and password protection.
[0111] In various embodiments, a computer system may include an Internet of Things (IoT) device. IoT devices may include objects embedded with electronics, software, sensors, actuators, and network connections that enable these objects to collect and exchange data. IoT devices can send data to another device through an interface, allowing them to be used with wired or wireless devices. IoT devices can collect useful data and then autonomously transmit the data between other devices.
[0112] Various examples of modules can be implemented using circuits including various electronic hardware. As an example and not limitation, the hardware can include transistors, resistors, capacitors, switches, integrated circuits, other modules, or some combination thereof. In various examples, the modules can include analog logic, digital logic, discrete components, traces, and / or memory circuits manufactured on a silicon substrate, including various integrated circuits (e.g., FPGAs, ASICs), or some combination thereof. In some embodiments, the modules can involve the execution of pre-programmed instructions, software executed by a processor, or some combination thereof. For example, various modules may involve both hardware and software.
[0113] In an exemplary aspect, a method of indirect time-of-flight distance measurement may include a transmitter element emitting photons modulated by one or more frequencies. A receiving element may generate a signal in response to receiving a small portion of those photons reflected from a target object. An ADC element may digitize the signal generated by the receiving element. A processing element may generate a phase signal using frequency analysis of at least one selected frequency. A distance measurement signal may be generated based on the phase signal.
[0114] The frequency analysis may include a single frequency analysis. The single frequency analysis may include a Goertzel filter.
[0115] The at least one selected frequency may be a modulation frequency of the emitted photons.The frequency analysis may include a single frequency analysis at the modulation frequency.
[0116] The at least one selected frequency may include at least two modulation frequencies of the emitted photons. The frequency analysis may include single frequency analysis at each of the at least two modulation frequencies such that distances exceeding a phase wrap distance of any of the at least two frequencies are resolved.
[0117] A phase signal may be generated based on the difference between the received signal and the monitor photodiode signal.
[0118] Multiple iterations of ADC sampling may be averaged together before generating the phase signal.
[0119] In illustrative aspects, a distance measurement device may include a transmitter (e.g., 115) configured to transmit a modulated waveform (e.g., 120) at at least one predetermined drive frequency. The device may include a monitoring photodiode (e.g., 225) configured to generate a reference signal in response to measuring the transmitted modulated waveform. The device may include a receiver (e.g., 130) configured to generate a received signal in response to a received waveform (e.g., 125). The received waveform may include a reflection of the transmitted modulated waveform. The device may include at least one analog-to-digital converter (ADC) (e.g., 230) configured to generate ADC samples by digitizing the reference signal and the digitized received signal. The device may include at least one gain control stage (e.g., one or more stages shown in 1000) configured to selectively control the output gain of the ADC so that the dynamic range spans from 1:50 to at least 1:100000. The device may include processing circuitry (e.g., 135) configured to determine a distance between a transmitter and a target surface through a distance determination operation (e.g., one or more steps shown in 1500). The operation may include generating a pre-averaged received signal by averaging a plurality of ADC samples of the received signal. The operation may include determining a phase offset using a first digital single frequency analysis of the averaged ADC samples of the received signal and a second digital single frequency analysis of the ADC samples of the reference signal. The first digital single frequency analysis and the second digital single frequency analysis may each be performed at a predetermined drive frequency of the modulated waveform.
[0120] The at least one gain control stage may include at least two of an avalanche photodiode gain, an amplifier circuit gain, and an ADC gain.
[0121] The processing circuit may be configured to selectively apply an output gain based on a frequency amplitude calculated using the first digital single frequency analysis.
[0122] The selectively applied output gain may include a first selectable gain applied to the output of the transmitter. The selectively applied output gain may include a second selectable gain applied to the control voltage of the receiver. The selectively applied output gain may include a third selectable gain applied to the receive signal generated by the receiver.
[0123] The transmitter may transmit a modulated waveform at at least two predetermined modulation frequencies such that distances beyond a phase wrap distance of the predetermined modulation frequencies are resolved.
[0124] The first digital single frequency analysis and the second digital single frequency analysis may each include a single frequency Goertzel analysis.
[0125] The processing circuitry may comprise commercially available integrated circuits.
[0126] The distance measuring device may include two ADCs so that the reference signal and the received signal are sampled simultaneously.
[0127] In illustrative aspects, a distance measurement device may include a transmitter (e.g., 115) configured to transmit a modulated waveform (e.g., 120) at at least one predetermined drive frequency. The device may include a monitoring photodiode (e.g., 225) configured to generate a reference signal in response to measuring the transmitted modulated waveform. The device may include a receiver (e.g., 130) configured to generate a received signal in response to a received waveform (e.g., 125). The received waveform may include a reflection of the transmitted modulated waveform. The device may include at least one analog-to-digital converter (ADC) (e.g., 230) configured to digitize the reference signal and the received signal. The device may include a processing circuit (e.g., 135) configured to determine the distance between the transmitter and the target surface through a distance determination operation (e.g., one or more steps shown in 1500). The operation may include generating a pre-averaged received signal by averaging a plurality of ADC samples of the received signal. Operations may include determining the phase offset using a first digital single frequency analysis of a pre-averaged received signal and a second digital single frequency analysis of ADC samples of a reference signal. The first digital single frequency analysis and the second digital single frequency analysis may each be performed at a predetermined drive frequency of the modulated waveform.
[0128] The distance measuring device may comprise at least one gain control stage configured to control the output gain of the ADC such that the dynamic range spans from 1:50 to at least 1:100000.
[0129] The at least one gain control stage may include at least two of a transmitter gain, an amplifier circuit gain, and an ADC gain.
[0130] The processing circuit may be configured to selectively apply an output gain based on a frequency amplitude calculated using the first digital single frequency analysis.
[0131] The selectively applied output gain may include a first selectable gain applied to the output of the transmitter. The selectively applied output gain may include a second selectable gain applied to the control voltage of the receiver. The selectively applied output gain may include a third selectable gain applied to the receive signal generated by the receiver.
[0132] The transmitter may transmit a modulated waveform at at least two predetermined modulation frequencies such that distances beyond a phase wrap distance of the predetermined modulation frequencies are resolved.
[0133] The first digital single frequency analysis and the second digital single frequency analysis may include single frequency Goertzel analysis.
[0134] The processing circuitry may comprise commercially available integrated circuits.
[0135] The distance measuring device may include two ADCs so that the reference signal and the received signal are sampled simultaneously.
[0136] In an illustrative aspect, an indirect time-of-flight distance measurement method may include transmitting a first modulated signal at a first predetermined modulation frequency. The method may include receiving a first measured ADC sample of the first modulated signal. The method may include transmitting a second modulated signal at a second predetermined modulation frequency. The method may include receiving a second measured ADC sample of the second transmitted modulated signal. The method may include determining an averaged transmitter ADC sample based on the first measured ADC sample and the second ADC sample. The method may include receiving a third measured ADC sample of the first received signal. The first received signal may be generated based on a measured reflection signal of the first modulated signal from a target object. The method may include receiving a fourth measured ADC sample of the second received signal. The second received signal may be generated based on a measured reflection signal of the second modulated signal from a target object. The method may include applying an output gain to the third measured ADC sample and the fourth ADC sample so that the noise-to-signal ratio is reduced. The method may include determining an averaged receiver ADC sample based on the third measured ADC sample and the fourth ADC sample. The method may include determining a received signal phase based on the averaged receiver ADC sample using a first single-frequency digital analysis, and determining a transmitter signal phase based on the averaged transmitter ADC sample using a second single-frequency digital analysis. The method may include determining a distance measurement based on a received signal phase and a transmitter signal phase.
[0137] The first digital single frequency analysis and the second digital single frequency analysis may include single frequency Goertzel analysis.
[0138] The method may include determining whether the output gain is within a predetermined gain range based on the frequency amplitude calculated using the first digital single tone analysis. The method may include applying an adjusted output gain such that the output gain of the averaged receiver ADC samples is within the predetermined gain range.
[0139] Many implementations are described. However, it should be understood that various modifications may be made. For example, advantageous results may be obtained if the steps of the disclosed technology are performed in a different order, or if the components of the disclosed system are combined in a different manner, or if these components are supplemented with other components. Therefore, other implementations are contemplated within the scope of the appended claims.
Claims
1. A distance measuring device, comprising: a transmitter (115) configured to transmit a modulated waveform (120) at at least one predetermined drive frequency; a monitor photodiode (225) configured to generate a reference signal in response to measuring the transmitted modulated waveform; a receiver (130) configured to generate a receive signal in response to a receive waveform (125), wherein the receive waveform includes a reflection of the transmitted modulated waveform; at least one analog-to-digital converter (ADC) (230) configured to generate ADC samples by digitizing the reference signal and digitizing the received signal; at least one gain control stage (1000) configured to selectively control the output gain of the ADC such that a dynamic range spans from 1:50 to at least 1:100000, wherein the transmitter is controlled by a transmitter power module, and wherein a measurement signal from the monitor photodiode can be used to compensate for variations in transmitter power; and A processing circuit (135) configured to determine a distance between the emitter and a target surface by a distance determination operation (1500), the operation comprising: generating a pre-averaged received signal by averaging a plurality of ADC samples of the received signal, and The phase offset is determined using a first digital single frequency analysis of averaged ADC samples of the received signal and a second digital single frequency analysis of ADC samples of the reference signal, wherein The first digital single frequency analysis and the second digital single frequency analysis are each performed at the predetermined driving frequency of the modulated waveform.
2. The distance measuring device according to claim 1, wherein: The at least one gain control stage includes at least two of an avalanche photodiode gain, an amplifier circuit gain, and an ADC gain.
3. The distance measuring device according to claim 1, wherein: The processing circuit is configured to selectively apply the output gain based on a frequency amplitude calculated using the first digital single frequency analysis.
4. The distance measuring device according to claim 3, wherein: Optionally applied output gains include: a first selectable gain applied to an output of said transmitter; a second selectable gain of a control voltage applied to the receiver; and A third selectable gain is applied to a receive signal generated by the receiver.
5. The distance measuring device according to claim 1, wherein: The transmitter transmits the modulated waveform at at least two predetermined modulation frequencies so that distances exceeding phase wrapping distances of the predetermined modulation frequencies are resolved.
6. The distance measuring device according to claim 1, wherein: The first digital single frequency analysis and the second digital single frequency analysis each include a single frequency Goertzel analysis.
7. The distance measuring device according to claim 1, wherein: The processing circuit comprises a commercially available integrated circuit. 8 . The distance measuring device according to claim 1 , further comprising two ADCs such that the reference signal and the received signal are sampled simultaneously.
9. A distance measuring device, comprising: a transmitter (115) configured to transmit a modulated waveform (120) at at least one predetermined drive frequency; a monitor photodiode (225) configured to generate a reference signal in response to measuring the transmitted modulated waveform; a receiver (130) configured to generate a receive signal in response to a receive waveform (125), wherein the receive waveform includes a reflection of the transmitted modulated waveform; at least one analog-to-digital converter (ADC) (230) configured to digitize the reference signal and the received signal; as well as A processing circuit (135) configured to determine a distance between the emitter and a target surface by a distance determination operation (1500), the operation comprising: generating a pre-averaged received signal by averaging a plurality of ADC samples of the received signal, and Phase offset is determined using a first digital single frequency analysis of the pre-averaged received signal and a second digital single frequency analysis of ADC samples of the reference signal, wherein the first digital single frequency analysis and the second digital single frequency analysis are each performed at the predetermined drive frequency of the modulating waveform.
10. The distance measurement device of claim 9, further comprising at least one gain control stage configured to control the output gain of the ADC such that a dynamic range spans from 1:50 to at least 1:100000.
11. The distance measuring device according to claim 10, wherein: The at least one gain control stage includes a transmitter gain, an amplifier circuit gain, and an ADC gain.
12. The distance measuring device according to claim 10, wherein: The processing circuit is configured to selectively apply the output gain based on a frequency amplitude calculated using the first digital single frequency analysis.
13. The distance measuring device according to claim 12, wherein: Optionally applied output gains include: a first selectable gain applied to an output of said transmitter; a second selectable gain of a control voltage applied to the receiver; and A third selectable gain is applied to a receive signal generated by the receiver.
14. The distance measuring device according to claim 9, wherein: The transmitter transmits the modulated waveform at at least two predetermined modulation frequencies so that distances exceeding phase wrapping distances of the predetermined modulation frequencies are resolved.
15. The distance measuring device according to claim 9, wherein: The first digital single frequency analysis and the second digital single frequency analysis include single frequency Goertzel analysis.
16. The distance measuring device according to claim 9, wherein: The processing circuit comprises a commercially available integrated circuit. 17 . The distance measuring device according to claim 9 , further comprising two ADCs such that the reference signal and the received signal are sampled simultaneously.
18. A method for indirect time-of-flight distance measurement, comprising: transmitting a first modulated signal at a first predetermined modulation frequency; receiving a first measured ADC sample of the first modulated signal; transmitting a second modulated signal at a second predetermined modulation frequency; receiving second measured ADC samples of the second modulated signal; determining an averaged transmitter ADC sample based on the first measured ADC sample and the second measured ADC sample; receiving third measured ADC samples of a first received signal generated based on a measured reflection signal of the first modulated signal from a target object; receiving fourth measured ADC samples of a second received signal, wherein the second received signal is generated based on a measured reflection signal of the second modulated signal from a target object; applying an output gain to the third measured ADC samples and the fourth measured ADC samples such that a noise to signal ratio is reduced; determining an averaged receiver ADC sample based on the third measured ADC sample and the fourth measured ADC sample; determining a received signal phase based on the averaged receiver ADC samples using a first digital single frequency analysis and determining a transmitter signal phase based on the averaged transmitter ADC samples using a second digital single frequency analysis; as well as A distance measurement is determined based on the received signal phase and the transmitter signal phase.
19. The method of indirect time-of-flight distance measurement according to claim 18, wherein: The first digital single frequency analysis and the second digital single frequency analysis include single frequency Goertzel analysis.
20. The method of indirect time-of-flight distance measurement according to claim 18, further comprising: determining whether the output gain is within a predetermined gain range based on the frequency amplitude calculated using the first digital single frequency analysis; as well as An adjusted output gain is applied such that the output gain of the averaged receiver ADC samples is within the predetermined gain range.
