Full text
54 IEEE TRANSACTIONS ON COMPUTATIONAL IMAGING, VOL. 10, 2024 Simultaneous Multifrequency Demodulation for Single-Shot Multiple-Path ToF Imaging Peyman Fayyaz Shahandashti , Graduate Student Member, IEEE, Paula López , Senior Member, IEEE, Víctor Manuel Brea , Daniel García-Lesta , and Miguel Heredia Conde , Member, IEEE Abstract—Indirect Time-of-Flight (iToF) sensors measure the received signal’s phase shift or time delay to calculate depth. In realistic conditions, however, recovering depth is challenging as reflections from secondary scattering areas or translucent objects may interfere with the direct reflection, resulting in inaccurate 3D estimates. We propose a new measurement concept including a single-shot on-chip multifrequency demodulation method with periodically-repeated ultrashort-pulsed illumination using a novel pixel array architecture to address a main limitation of conventional iToF, the Multi-Path Interference (MPI). Due to the careful hardware/software codesign, the proposed single-shot architecture provides close-to-optimal Fourier measurements to a spectral estimation algorithm that retrieves the unknown parameters of the interfering return paths in a closed form. Electrical simulations of the on-chip multifrequency demodulation circuit demonstrate the feasibility of distance retrieval in double and triple bounce conditions in a single shot with high accuracy. Furthermore, we propose a set of methods for processing the resulting sensor measurements that exploit valuable a priori information and structural constraints of the data and observe that they yield a substantial increase in accuracy. Index Terms—CMOS image sensor, depth image sensor, macropixel, multifrequency demodulation, multipath interference, single-shot, spectral estimation, time-of-flight. I. INTRODUCTION IN CONTRAST to typical digital cameras, which produce 2D images, ToF sensors capture 3D images, where the third dimension is the depth or distance [1],[2]. ToF sensors rely on a simple idea, albeit complex to implement: time and distance are Manuscript received 26 January 2023; revised 5 August 2023 and 31 October 2023; accepted 14 December 2023. Date of publication 1 January 2024; date of current version 12 January 2024. This work was supported by the European Union’s H2020 Research and Innovation Programme under the Marie Skłodowska-Curie under Grant 860370, in part by the Spanish Ministry of Science, Innovation and Universities under Grant PID2021-128009OB-C32, in part by Xunta de Galicia-Consellería de Cultura, Educación e Ordenación Universitaria Accreditation under Grant 2019-2022 ED431G-2019/04, and in part by Reference Competitive Group Accreditation under Grant 2021-2024 ED431C2021/048, co-funded through (ERDF/FEDER Programme). The associate editor coordinating the review of this manuscript and approving it for publication was Prof. Jinli Suo. (Corresponding author: Peyman Fayyaz Shahandashti.) Peyman Fayyaz Shahandashti, Paula López, Víctor Manuel Brea, and Daniel García-Lesta are with the Centro Singular de Investigación en Tecnoloxías Intelixentes (CiTIUS), Universidade de Santiago de Compostela, 15705 Santiago de Compostela, Spain (e-mail: peyman.f[email protected]; [email protected]; victor[email protected]; [email protected]). Miguel Heredia Conde is with the Center for Sensor Systems (ZESS), University of Siegen, 57076 Siegen, Germany (e-mail: [email protected]gen.de). Digital Object Identifier 10.1109/TCI.2023.3348758 linearly related [3]. While optical ToF sensors are a relatively recent phenomenon, other ToF systems, such as radar, sonar, and seismic technology, have been used for many years. The ToF approach is based on the time difference between the emitted and reflected signals. Since the time delay is related to the distance, measuring the ToF is equivalent to measuring the object’s range. Even though ToF systems can be based on pulse waves, commercial products are mostly based on continuous wave demodulation [4], in which the light source intensity is modulated at radio frequencies (tens to hundreds of MHz). The sensor measurements allow for estimating the phase shift between the emitted and reflected signals. The modulation frequency converts phase into a time delay and the speed of light to convert time delay into distance [5],[6]. This method, known as amplitude-modulated continuous wave (AMCW) ToF, attains a sufficient signal-to-noise ratio (SNR) by integrating over many modulation cycles. In recent years, substantial efforts have been made toward the coherent codesign of the image sensor and signal/image processing in the growing field of computational imaging, [7], [8],[9],[10]. However, to a great extent, it has been primarily limited to 2D scenes, despite the fact that capturing 3D information of a scene provides novel capabilities that can be used in many applications, such as autonomous driving, mobile robotics, industry, and augmented and virtual reality. Therefore, combining the circuit design and signal processing perspectives is essential to overcome challenges in ToF imaging that neither sophisticated circuits nor algorithms alone can tackle, such as the MPI problem. MPI occurs due to inter-reflections in the scene, causing objects to be illuminated by both direct and indirect illumination, as shown in Fig. 1. Because of this superposition of two (or more) phase-shifted signals, the camera produces an incorrect measurement, which can result in considerable depth and amplitude errors. Although many topologies have been proposed in pixel design for overcoming today’s challenges in iToF, like background light [11],[12], motion artifacts [13], and limited speed [14], no architecture has been designed for acquiring optimal measurements to solve the MPI problem. On the other hand, from the signal processing point of view, an active field of research deals with MPI [15],[16],[17]. Reliable depth estimation under MPI conditions has been addressed comprehensively in the iToF literature; nonetheless, it is still one of the main challenges in this technique [18],[19], [20],[21]. Resolving MPI generally requires formulating an © 2024 The Authors. This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
SHAHANDASHTI et al.: SIMULTANEOUS MULTIFREQUENCY DEMODULATION FOR SINGLE-SHOT MULTIPLE-PATH TOF IMAGING 55 Fig. 1. Examples of Multi-Path Interference (MPI) scenarios where the sensor receives light from various reflections. The estimated depth from the conventional approach in these cases is erroneous. appropriate mathematical model of the phenomenon and a separation method to disentangle the interfering bounces. Many solutions have been proposed to mitigate MPI that do not need hardware modifications but mostly at the cost of many frequencies or dense temporal sampling [22],[23],[24],[25]. This work presents a joint hardware/signal processing codesign approach to tackle the MPI problem in iToF imaging for the first time. The proposed system can reduce computational costs and memory requirements, increasing speed and enabling realtime MPI solutions, which is crucial for various applications, including autonomous driving and robotics. From the signal processing perspective, the key novelty is the introduction of a unified pipeline that takes the single-shot raw data from the sensor as input, where a complete image or frame is captured in a single exposure or acquisition and delivers an independent depth image per interfering path. We use the measurements to estimate the lowest-frequency Fourier coefficients of the scene response function, which can be ideally modeled as a train of Dirac delta functions in the reflective MPI case. Crucially, for the reflective MPI model, it follows that the optimal measurement space is the Fourier space [26],[27]. Besides, we propose data refinement methods to improve depth estimation accuracy. On the other hand, from the hardware perspective, the key novelty is the design of an iToF sensor architecture specifically designed to deliver the best possible measurements for inverting the reflective MPI problem. We propose a single-shot multifrequency approach to deal with MPI under different conditions. Conventional multifrequency methods rely on acquiring consecutive scene samples at different frequencies with the consequent frame rate reduction. The single-shot multifrequency ToF sensor proposed here can deliver Fourier measurements with minimal harmonic distortion. This is achieved by clustering groups of neighboring ToF pixels, each modulated with a different frequency, forming macro-pixels [28]. Increasing the macro-pixel size allows more raw data at different frequencies to be acquired in a single frame. On the other hand, owing to recent advancements in process technologies, a reasonable increase in the resolution of ToF imagers has been achieved (e.g., 1 Mpix sensor with 3.5 μm pixel pitch in [29]). Therefore, even though implementing macro-pixels results in lower spatial resolution, state-of-the-art technologies can obtain a reasonable performance. The conceptualized idea resembles the utilization of RGB color filters in 2D imaging. Performance evaluation Fig. 2. Conventional multifrequency measurement (a) and simultaneous multifrequency demodulation concept (b). An array of macro-pixels, including 16 subpixels (magnified area), is shown. The proposed iToF imaging setup with multifrequency demodulation and impulse illumination (c). is conducted using standard electrical simulation tools. The proposed codesign is compared to the state-of-the-art methods, including related methods leveraging sparsity (such as [18]) and deep learning approaches. The work is organized as follows: in Section II, the sensor architecture is presented, while the depth retrieval algorithm and data refinement methods are explained in Sections III and IV, respectively. In Section V, experimental results and comparison with prior works are provided. The main conclusions of the work are summarized in Section VI. II. IN-PIXEL SIMULTANEOUS MULTIFREQUENCY DEMODULATION The first part of this section is dedicated to the array architecture (macro-pixel grouping), which enables the desired multifrequency demodulation, and the second part deals with the pixel architecture and the readout stages. A. Simultaneous Multifrequency Demodulation Two significant challenges hinder the possibility of real-time multiple-path ToF imaging. First, regarding the hardware implementations, the raw images taken at different frequencies need to be acquired sequentially, like in Fig. 2(a), whereas the number of required frequencies will increase linearly with the number of interfering paths. Second, most sparse retrieval algorithms are too slow in signal processing to work at an acceptable frame rate without resorting to neural network inference. To overcome these issues, we propose an iToF sensor architecture specifically designed to deliver undistorted Fourier measurements in a single shot that can be used to solve the inverse problem due to MPI in aclosedform.
56 IEEE TRANSACTIONS ON COMPUTATIONAL IMAGING, VOL. 10, 2024 Fig. 3. Circuit diagram of the 2-tap pixel, the system architecture of the proposed iToF sensor (a), and the timing diagram of the system for image acquisition (b). Fig. 2(b) shows the single-shot multifrequency acquisition architecture proposed in this paper, which can be achieved by grouping several ToF pixels into a macro-pixel [30]. Each pixel shown in the magnified macro-pixel has a different demodulation frequency, f, which is an integer multiple of f0, the base modulation frequency (f={f0}=16 =1 ). These pixels, connected to different control demodulating signals, are called subpixels. This concept can be implemented with architectures that allow a programmable number of sub-pixels, e.g., up to 16 sub-pixels inthis work. As a result, the arrangement of sub-pixels can be altered or modified to suit specific requirements or design considerations. In addition, the measurement setup in Fig. 2(c) is considered. As seen there, it consists of a modulated illumination signal (LED or laser), a scene that reflects the light, and a ToF sensor that demodulates light echo. Single-shot multifrequency operation requires sufficient frequency spread in the illumination waveforms. We obtain this using a sharp light pulse that closely emulates a Dirac delta function. The pulse is periodically repeated during the exposure time to gain SNR. The received light’s amplitude decays and is phase-shifted with the distance to the target. As mentioned, most conventional ToF systems operate with sine wave modulation. Generally, these systems are homodyne, meaning the pixels demodulate at the same frequency as the modulated light source. In our approach, each subpixel can demodulate at a different ffrequency, achieving close-to-zero harmonic distortion by implementing a resonant circuit at the desired frequency for each control signal, taking advantage of the intrinsic capacitance of the control gates and adding an inductor of adequate value [31],[32]. Thus, simultaneously acquired undistorted Fourier measurements at various frequencies are provided, as intended. B. ToF Pixel Architecture Typically, an iToF sensor works with two accumulation regions, called floating diffusion (FD) nodes, in each pixel to demodulate the photogenerated signal. The lock-in pixel architecture is commonly used in iToF imagers [33]. Different designs for lock-in pixels have been proposed, such as the Photonic Mixer Device (PMD) [34], lateral electric field charge modulator [35], current-assisted photonic demodulator [36], and gate assisted photonic demodulator [37]. Fig. 3(a) depicts a circuit diagram of the two-tap lock-in pixel with a symmetrical active pixel sensor structure and the system architecture of the iToF sensor [31]. Each pixel consists of a 4μm ×4μm Pinned Photo Diode (PPD), transfer gate (TG) transistors, diode-switched transistors performing anti-blooming, global shutters (GS), reset switches, source followers (SF), and row-select transistors [14]. Current sources are connected to two-tap pixel outputs, COLAand COLB,for the biasing of the source followers. The system architecture highlights the configuration of the main blocks of our proposed system. The Column Filtering Stage (CFS) is placed in each column to filter and measure the voltage difference of the outputs (COLAand COLB), ΔV. The outputs of the CFS are directly connected with a capacitive feedback amplifier circuit in the Double-Delta-Sampling (DDS) stage. The final outputs of the system are V0±AΔV, where V0is a DC offset and Ais the gain of the amplifier. The system consists of an array of 128 ×128 pixels, the CFS, and the DDS stages. It has an array-shared modulating signal generator, row and column control circuits, and driver circuits [38]. Fig. 3(b) illustrates the timing diagram of the iToF pixel proposed in this work. The operation procedure starts with the pixel reset by setting the FD nodes to a specific value. The next step is pixel demodulation, in which the gates of the TG transistors start to demodulate. At the same time, they are synchronized with the light illumination (i.e., demodulating with 0◦and 180◦phase shift with respect to the emitter) so that the photo-generated electrons in the PPD are transferred to the corresponding FD during the exposure time. During this time, the voltage of both FDs starts to drop proportionally to the number of electrons they accumulate. The GS signal is ON during the exposure time to ensure that all pixels’ measurements are synchronized. The final output is buffered by the SF and stored on its source, ready to be read to the output lines through row-select transistors. The final step is the readout, accomplished by sequentially reading the outputs of the pixels per row, repeating this as many times as the number of rows. To assess the performance and functionality of the proposed hardware architecture, we have conducted not only nominal but also post-layout electrical simulations using commercial CMOS
SHAHANDASHTI et al.: SIMULTANEOUS MULTIFREQUENCY DEMODULATION FOR SINGLE-SHOT MULTIPLE-PATH TOF IMAGING 57 technology design kits. These simulations faithfully emulate the real operation of the 3D imager by taking into account offsets, nonlinearities, charge injections, and cross-coupling effects as well as parasitic capacitances, resistances, and other non-ideal effects caused by the physical implementation of the system [31], [38]. III. MEASUREMENT MODEL AND DEPTH RETRIEVAL ALGORITHM USING MULTIFREQUENCY MEASUREMENTS In this section, the measurement model of iToF systems, as well as depth retrieval and accuracy improvement algorithms based on multifrequency measurements, will be presented. A. Baseline Model In iToF, the distance map of the scene can be calculated with d=cφ 4πf =ctd 2,t d=φ 2πf ,(1) where dis the distance, cis the speed of light, φis the phase shift, fis the modulation frequency, and tdis the time delay. Phase ambiguity limits the total detectable distance range, inversely proportional to the base modulation frequency. For example, at 4 MHz, a range of 37.5 m can be unambiguously achieved. In the light echo signal, besides the phase, φ, two more parameters are unknown in the incoming signal: amplitude and offset. Therefore, a single measurement is insufficient to recover the phase information, and at least three measurements are needed to calculate a distance. Usually, four samples are measured, known as the Four Bucket Method [4],[39], corresponding to applied phase shifts of 0, π/2,π, and 3π/2. These four measurements can be acquired in two cycles in a two-tap lock-in pixel structure. In the baseline mono-frequency approach, the phase shift can be calculated by, φ= arctan m(3π/2) −m(π/2) m(0) −m(π),(2) where m(0)to m(3π/2),asin(6), are proportional to the number of accumulated photo-generated carriers in each tap of the pixel (OUTAand OUTBin Fig. 3(a)) during the exposure time (texp). This method works well for single bounces but cannot resolve MPI because using a single modulating frequency means that the “bandwidth” of our measurements in the frequency domain is zero, and thus, more than one target can not be distinguished from a single resultant target in the range domain. Consequently, in AMCW ToF, the depth estimation from phase measurement suffers from MPI and ambiguity or phase-wrapping issues. Hence, a desirable phase estimation algorithm should jointly correct for any distortions and phase-wrapping. In the following, we provide a general sensing model for the ToF imaging system, shown in Fig. 4. As mentioned, we consider an illumination pulse with a very low duty cycle, ideally a Dirac delta function. This allows for attaining high SNR while complying with eye safety regulations. Therefore, the illumination function i(t)that interacts with a scene can be Fig. 4. Block diagram of the mathematical model of iToF system. modeled as, i(t)= Q q=0 δ(t−qT),T=1/f, (3) where the number of impulses, Q,istexp/T. The emitted light will be reflected from the scene according to a scene response function that, for a single path, can be modeled as h(t)=aδ(t−td),d=c 2td.(4) The aim is to estimate the amplitude, a, and td. The reflection function, r(t), which represents the back-reflected illumination from the emitter, can be modeled as the convolution operation between the illumination and scene response function, r(t)=(i∗h)(t)=a Q q=0 δ(t−td−qT)).(5) Finally, the sinusoidal demodulation control signal, c(t)= cos(ωt), synchronized with the illumination signal, is applied to the TG transistors in Fig. 3(a). As a result, the obtained measurements m(τ)are discrete samples of the cross-correlation between the reflected signal and the demodulation control signal applied to the pixel, m(τ)=c(t)⊗r(t)=c(t)⊗(i∗h)(t)=(i⊗c)∗h(t) =acos(ωτ −φ)+b, φ ∈[0,2π),(6) where φ=ωtd=2dω/c is the frequency-dependant phase. In reality, the sinusoidal hypothesis does not hold. The measurements are samples of a scaled and shifted Instrument Response Function (IRF), which models the aggregated electrooptical behavior of the iToF system, including the low-pass effect of the electronics, the rising and falling times of the light emitters, and inner multi-path effects in the lens system. In this work, we consider a realistic IRF model arising from electrical simulations, which introduces frequency-dependant scaling and phase-shifting in (6). The effect of the IRF can be counteracted by an element-wise calibration in the frequency domain equivalent to deconvolution in the time domain. As mentioned, to estimate parameters φand a, four samples are typically taken at ωτ =[0,π 2,π,3π 2]. For a given modulation frequency, these four measurements are enough to form the complex number, X=cos(φ)−jsin(φ) =(m(0) −m(π)) + j(m(3π/2) −m(π/2)) .(7)
58 IEEE TRANSACTIONS ON COMPUTATIONAL IMAGING, VOL. 10, 2024 where measurements m(0) to m(3π/2) are exactly the measurements used in (2). These measurements form Fourier coefficients of the scene response function. B. Multipath Measurement Model The previous formulation can be extended to account for MPI. In this case, the scene response function takes the form of a P-sparse filter, h(t)= P k=1 akδ(t−tk),t k=2 dk c,(8) where tkand dkare time delay and distance in the case of multiple paths, and Pis the number of optical paths. Therefore, with the same illumination function i(t), the reflection function can be formed: r(t)= P k=1 Q q=0 akδ(t−tk−qT).(9) In (9),r(t)is a weighted sum of impulses with varying time shifts (time delays). The interaction between the reflected signal and the ToF sensor results in the measured signal m. Hence, the measurements take the form m(τ)= P k=1 akcos(ωτ−φk)+bk,φ k=ωtk,(10) where is the frequency index for the multiple measurements, taken at different modulation frequencies (ω=ω0). For a certain modulation frequency, four measurements are enough to form the complex number, X=1 2ejωτ P k=1 ake−jωtk =1 2ejωτ P k=1 ak(cos(ωtk)−jsin(ωtk)).(11) The Four Bucket method provides an estimate of the phasor in (11) from the measurements, X=(m(0) −m(π)) + j(m(3π/2) −m(π/2)),(12) where the measurements m(0) to m(3π/2) are exactly the same as measurements in (2), but for different frequencies. C. Depth Retrieval Algorithms Using Multifrequency Measurements Fig. 5shows the real part of the scene response function in the Fourier domain for representation simplicity for the case of three bounces. As seen, three different response functions, one for each time delay, are obtained at t1,t2, and t3, each represented with a complex phasor. In the Fourier domain, the sensor measures the sum of the three sinusoids from the three phasors. Ideally, sampling more points (Fourier coefficients) from the sum figure (sum of sinusoids) results in a more accurate retrieval of the multipath parameters, but with the cost of speed and power consumption. Hence, the idea is to take as few measurements as Fig. 5. Scene response function of the ToF system in the time (left) and the real part of Fourier (right) domains: the individual harmonic constituents arise from the three individual bounces and the composed result (purple figure). possible on the sum curve, allowing us to calculate time delays with reasonable accuracy. MPI in frequency-domain ToF mode can be reinterpreted as a spectral estimation problem consisting of recovering the parameters of a sum of complex exponentials from noisy samples. In the following, we will outline two fast procedures to recover MPI components from multiple frequency measurements to recover depth, namely the Matrix Pencil, [4],[40], and the Inverse Discrete Fourier Transform methods (IDFT) [41]. The matrix pencil method is a non-iterative algorithm of a parametric nature, yielding a high-speed execution. Instead of the standard sparsity-promoting 1regularization strategy, this parametric model estimation approach uses a sparsity assumption translated into a matrix rank constraint in a Toeplitz matrix. This yields a closed-form, non-iterative solution to the multipath estimation problem in contrast to iterative optimization strategies, which might have problems with convergence and require much more computation time. The algorithm requires 2Pnonzero frequency measurements (2P+1 including the zero frequency) to recover Pbounces. The factor 2 in the 2P+1accounts for positive and negative frequencies, while the negative frequencies can be retrieved from the positive ones in (12) by simple conjugation, provided that the scene response function is a real function. Thus, without model mismatch or noise, Ppaths can be retrieved from P measurements at Pdifferent nonzero frequencies. The algorithm scales to any modulation frequencies and interfering paths, where the number of detectable paths is only limited by SNR and modulation frequency bandwidth. Our second approach uses the most basic spectral estimation tool, which is the Fourier transform. This method allows us to have rapid and straightforward 3D depth formation by means of the IDFT. To improve the accuracy, instead of typical IDFT calculation, the normalization factor can be increased, resulting in a higher number of discrete steps in the time domain, resulting, xn= N =1 1 NXej2π(−1)n/N,(13) where nis a running index on the time domain, Nis the number of steps in both domains, Xthe vector of measurements as in (12), and N=λ×Nis the number of samples in the time domain, where λis the “super-resolution factor,” i. e., the ratio between the number of measurements in the time domain and the number of measurements in the frequency domain. Therefore,
SHAHANDASHTI et al.: SIMULTANEOUS MULTIFREQUENCY DEMODULATION FOR SINGLE-SHOT MULTIPLE-PATH TOF IMAGING 59 Fig. 6. Magnitude versus distance of IDFT of the 16 frequency measurements in the case of a single (left) and double bounces (right). more points in the target domain (time domain in this case) can be generated. The optimum value of λis the value beyond which the accuracy no longer improves. At this point, the result is no longer limited by the grid resolution, and refining the temporal grid is futile. The effect of λon the retrieved distance error has been studied in our previous work [41]. Here, λ= 1000 is selected in most of the computations, a relatively good trade-off between speed and accuracy. The magnitude of the xnin (13) will show a single peak in the time domain in the case of a single bounce and secondary peaks when having more than a single bounce. These peaks are exactly where the Dirac delta function was in the scene response function. Since time and frequency are interrelated by the Fourier transform, the time delay value corresponding to the location of the detected peak in the time domain can be calculated. By estimating the time delay, the distance can be directly recovered from (1).Fig.6shows the magnitude with respect to the distance of the 16 frequency measurements after IDFT in the case of single (left) and double bounces (right). The targets are assumed to be at 11.4 m in the single bounce and 3.25 m and 7.5 m in the double bounce. As can be seen, the main peaks of the magnitude correspond to the position of the targets. IV. DATA REFINEMENT Here, we propose data refinement strategies to improve accuracy by minimizing the signals’ residual harmonic content and noise. The methods integrate valuable information (e.g., low rank, Toeplitz structure, depth statistics, etc.) within the signal processing pipeline. The more a priori information is used, the more the solution space is restricted, thus counteracting the effect of disturbances and noise. A. Self-Compensation The main idea of this method is to use the measurements obtained at all frequencies to cancel out the possible distortion present in the measurements at each of the frequencies. This is a flexible procedure that can compensate for systematic effects such as harmonic distortion and can be carried out through a calibration process. The ideal model of measurements can be presented as follows, −→ XI=Φ I −→ R, −→ X∈C,−→ R∈Cη,Φ∈C×η,η(14) where ΦIis the partial Discrete Fourier Transform (DFT) matrix at chosen frequencies and −→ Ris a sparse vector of reflectivities. The real model is: −→ X=Φ −→ R, (15) where Φis the set of distorted complex sinusoids at chosen frequencies, affected by harmonic distortion, obtained from measurements or realistic simulations. The objective of SelfCompensation (SC) is to cancel the harmonics of measurements in a simple linear fashion, which means to retrieve −→ XIfrom −→ X utilizing a linear operator or compensation matrix: −→ ˆ XI=C−→ X=CΦ −→ R, (16) where C∈C×is the compensation matrix. On the other hand, −→ ˆ XI=−→ XI⇔CΦ=Φ I,(17) Therefore, CΦΦ∗=Φ IΦ∗,(18) Hence, C=Φ IΦ∗(ΦΦ∗)−1=Φ IΦ†,(19) where Φ†is the Moore-Penrose Pseudoinverse of Φ. B. Self-Compensation With Probability Density Function In order to give more importance to the depth locations where depth appears more often in reality (based on the system), the self-compensation method can be modified with a weighting matrix. This focuses on reducing distortion over those domain areas that are statistically most relevant. It is important to note that this approach relies on a priori scene knowledge and does not apply to scenarios where this does not hold. The diagonal weighting matrix, W, can be calculated from the Probability Density Function (PDF) of the system with respect to the distance: Wi,i =f(dPDF),(20) where fis a sublinear function, such as the square root (adopted in the experimental validation) and dPDF is the empirical PDF. More probable depths are weighted more heavily, and close-tozero probability values (e.g., lower than 10−4) are masked. The new compensation matrix can be formed as, C=Φ IWΦ∗(ΦWΦ∗)−1.(21) C. Cadzow Denoising The Cadzow Denoising algorithm forces the Toeplitz matrix formed with the vector of measurements to be both low-rank and preserve the Toeplitz structure. The algorithm runs a predefined number of iterations with two sequential steps, forcing first the desired rank and later the Toeplitz structure. Algorithm 1 presents the Cadzow iterative denoising method implemented in this work, which follows the procedure outlined in [42].The algorithm’s input is the Fourier coefficients obtained from the measurements of our iToF sensor as in (12). First, it builds a rectangular Toeplitz matrix (T) from the vector of Fourier coefficients in the first row and column of Tand repeats them along diagonals. Then, it performs a Singular Value Decomposition
60 IEEE TRANSACTIONS ON COMPUTATIONAL IMAGING, VOL. 10, 2024 Algorithm 1: Cadzow Denoising. (SVD) of Tand approximates this matrix by retaining the largest eigenvalues. Finally, it converts Tagain into a Toeplitz matrix via diagonal averaging and constructs a denoised approximation X of X. V. RESULTS AND DISCUSSION In this section, we present the results of a series of experiments focused on evaluating the performance of the proposed joint design of the sensor architecture and a depth retrieval algorithm. We performed a series of electrical simulations under different conditions to demonstrate the concept of acquiring single-shot multifrequency demodulation for single, double, and triple bounces. Despite our system being optimized for solving the reflective MPI problem, its ability to mitigate the effect of diffusive MPI is also demonstrated. The base frequency modulation is f0=ω0/2π=4MHz, while the other subpixels reach up to 64 MHz for the sixteenth frequency (4 MHz increment). The integration time in simulations is 50 μs, the pulse width of the illumination signal is 5 ns in all simulations, and its repetition frequency is equal to the base frequency (2% duty cycle). The pulse widths of the order of nanoseconds are feasible to implement considering the state-of-the-art commercially available illumination drivers and Vertical Cavity Surface Emitting Lasers (VCSEL). Fig. 7illustrates the electrical simulation results of the voltage difference between the pixel’s taps, ΔV, for the first subframe, showcasing the ability of the system to provide quasi-sinusoidal correlation measurements with low harmonic distortion. The system’s output corresponds to samples of the cross-correlation function between the incoming illumination signal and the demodulation signals controlling the gates. The demodulating signals were fixed to perform this simulation while the illumination signal was time-shifted. As expected from (10), since the illumination is an ultrashort-pulsed signal, the cross-correlation function must be a sinusoidal function, as demonstrated in Fig. 7, as opposed to existing ToF systems (cf. Fig. 3of [43]). Fig. 7. Electrical simulation results showing the nominal output voltage difference as a function of the time delay for each subpixel. Fig. 8. Measured depth error with the baseline, matrix pencil, and IDFT methods for a single bounce. A. Single-Bounce Depth Retrieval The circuit implementation in the simulation setup of our iToF system is based on Fig. 3. The illumination is a lowduty cycle pulse, and the demodulation control signals at the transfer gates TGAand TGBare clean sinusoidal signals thanks to the resonant demodulation technique from [31]. To investigate the system’s functionality and verify the validity of the mathematical models, a macro-pixel consisting of 16 subpixels is designed and integrated into a full iToF array. Fig. 8depicts the error estimated over the whole possible range of 0–37.5 m with the three methods introduced in Section III using the electrical simulations of the proposed ToF architecture. The extracted error values of matrix pencil and IDFTs, taken from 16 frequencies, are indicated. As can be seen, the matrix pencil and IDFT methods outperform the classical four-phase baseline algorithm in the single-path case thanks to the combination of measurements at different frequencies. Leveraging measurements at different frequencies allows
SHAHANDASHTI et al.: SIMULTANEOUS MULTIFREQUENCY DEMODULATION FOR SINGLE-SHOT MULTIPLE-PATH TOF IMAGING 61 Fig. 9. Scenes and their ground truth from the iToF2dToF dataset and their corresponding depth errors with the baseline, matrix pencil, and IDFT depth estimation methods. All scales are in meters. TABLE I COMPARISON OF DISTANCE RMSE VALUES WITH DIFFERENT NUMBERS OF FREQUENCY MEASUREMENTS annihilating the wiggling effect since harmonic frequencies contribute to the estimation instead of disturbing it, as would be the case under the classical mono-frequency hypothesis. The baseline approach uses only the base frequency (f=4MHz), while the matrix pencil and IDFT use multifrequency in a single shot. The overlaid plot shows a magnification of the results for the matrix pencil and IDFT methods. While the performance of the matrix pencil and IDFT are very similar, the matrix pencil is faster in the case of λ= 1000, and it is slower in the case of λ= 100. This illustrates that, as explained in Section III,the IDFT method can trade accuracy for speed. Additionally, the effect of the number of frequency measurements on the accuracy has been investigated. Table Icompares the matrix pencil and IDFT methods’ accuracy with different frequency measurements. The RMSE is measured for 200 equally separated target locations over the range of 0–37.5 m with {2α}α=4 α=0 measurements obtained using the depth retrieval algorithms. As expected, the error is reduced by increasing the number of frequency measurements. It is worth noting that while RMSE values for matrix pencil and IDFT are reported in the case of 16 frequency measurements in Fig. 8, the RMSE of all three methods is very close in mono-frequency measurement, where the baseline approach is the fastest and IDFT (with λ= 1000) is the slowest. Adding more measurements at higher frequencies helps but to some limits. A performance decay is anticipated at some point, especially when adding measurements at frequencies approaching the overall system bandwidth. To compare these methods in more detail, the system’s measurements are tested against the iToF2dToF 3D image dataset provided in [44]. The ground truth of two different scenes from the dataset is selected. Fig. 9plots the original RGB images, the ground truth, and the retrieved depth errors using the three TABLE II COMPARISON OF DISTANCE RMSE VALUES OF THE BASELINE,MATRIX PENCIL,AND IDFT METHODS methods considered in this work. The measurement steps are adjusted using linear interpolation to solve the grid mismatch between our electrical simulation results and the ground truth from the iToF2dToF dataset. Then, the depth is recovered with the proposed methods for each pixel. As can be seen, the matrix pencil and IDFT show great performance compared to the baseline method, which shows poor performance in some parts (e.g., in the corner of the top image). The actual values of the RMSE of the top image can be found in Table II. B. Reflective MPI: Two-Bounces Depth Retrieval In reality, several reflections with different phase shifts can reach the pixel. Consequently, the measured voltage drop in the pixel, proportional to the accumulated charges during the exposure time, includes the sum of all these reflections. The retrieved phase shift under mono frequency assumptions, therefore, is erroneous. To demonstrate the capability of our proposed single-shot multifrequency architecture against the reflective MPI problem, we have performed electrical simulations for the case in which two bounces are received simultaneously. Fig. 10 provides plots of the retrieved distance errors obtained using the matrix pencil and IDFT algorithms described in Section III for the two-bounces case. Simulations were carried out by fixing the first bounce at relatively close (1 m) and long (4 m) distances and shifting the position of the second bounce. In addition, different ratios of illumination signal amplitudes for the first, a1, and second, a2bounces were considered. Since
62 IEEE TRANSACTIONS ON COMPUTATIONAL IMAGING, VOL. 10, 2024 Fig. 10. Retrieved distance errors of the electrical simulations with the matrix pencil and IDFT methods in the presence of two bounces. The measured depth errors of the second bounce are shown for different amplitude ratios with respect to the first bounce. The first bounce is fixed at a constant distance of 1 m and 4 m for the first (a) and second (b) sets of experiments, respectively. The retrieved depth RMSE values (scales in centimeters) for the first bounce are also included in the figures, denoted as RMSE1. the distance error reduces with increasing the frequency measurements, as shown in Table I, only depth, retrievals from 16 frequencies (the best case) are calculated in Fig. 10. As can be seen, the proposed system can retrieve the distance in the presence of the second bounce in a single shot. Even though the super-resolution factor is selected to be relatively high in the IDFT method (λ= 1000), unlike the single bounce case, the matrix pencil is more accurate when dealing with MPI. Here, we take advantage of our realistic electrical simulations to answer two critical questions: the minimum detectable illumination power and the minimum and maximum recoverable range for the second bounce. Different ratios of a1to a2are considered, and the retrieved depth from the outputs of electrical simulations is tested. The distance can be recovered perfectly from the system until a2is 5% of a1. Below this ratio, errors in some ranges are observed. To answer the second question, we repeated the same simulations where the first target is fixed at 1 m and the power of the second bounce is 1/8of the first one. The minimum and maximum distances that could be retrieved for the second bounce were 2 m and 37.5 m for the matrix pencil method. Also, the distance of the first bounce (1 m) is correctly recovered when the second bounce is placed between 2–37.5 m. Therefore, the distances in the matrix pencil method can be accurately recovered when the targets are at least separated 1 m from each other. In the IDFT method, while the first target’s distance (1 m) can be retrieved in the whole range (similar to the main peak in the right diagram of Fig. 6), the second distance can be only recovered from 3.5 m to 17 m. Even in this range, some distances can not be recovered. The problem with the IDFT in MPI recovery is that for some locations of the second target, a virtual secondary target arising from constructive interference of side lobes becomes dominant and appears at the wrong location. Apart from its lower accuracy, this is a problem that may indeed happen in practice and one of the reasons why IDFT may not be very robust. More frequency measurements are needed for the IDFT method to perform more accurately. For clarity, two scenes from the iToF2dToF dataset have been used by artificially adding another bounce at a distance of 1 m in some areas. These areas are marked with a red rectangle in Fig. 11 and all the pixels in this area are deep green, which represents 1 m distance. Fig. 11 shows images of the ground truth for the first and second bounce and the recovered depth with both methods. Please note that the backgrounds, which are the unmarked areas with single depth, are recovered from the single bounce simulations and are depicted in both images. As can be seen, the matrix pencil method outperforms the IDFT in the two-paths case. The actual values of the RMSE of the top image can be found in Table II. To compare the computational time and the accuracy of the two methods, Fig. 12 provides plots of the Mean Absolute Error (MAE) of the distance to computational time in single (left) and double bounce (right) cases. While the MAE and computational time of the matrix pencil method are constant, these two parameters are in a trade-off that depends on the λ in the IDFT method. While the IDFT method can be a perfect candidate in a single-bounce depth recovery, the matrix pencil method performs better than the IDFT in MPI. Even though detecting the first target in MPI is the main goal in several applications, and the IDFT method might be interesting where the speed can be traded for accuracy, the matrix pencil shows superior results for the same computational budget results. Therefore, the matrix pencil is a stronger candidate for our codesign. To measure the matrix pencil’s robustness to noise, simulations were performed on the proposed algorithm using ideal outputs from the system (clean sinusoidal shapes) as inputs of the algorithm. In contrast to the other evaluations in this section that study accuracy, the performance metric evaluated here is precision, allowing for an assessment of the algorithm’s response to noise under controlled conditions. The algorithm’s performance is evaluated for different SNR of the measurements in Fig. 13 for single (left) and double bounce (right) cases. The noise source in the simulations is random Gaussian white noise. Fig. 13 provides plots of means and standard deviations of depth RMSE of the output signals extracted from the algorithm in over 100 samples versus SNR for different numbers of frequency measurements. In the two-bounce cases, only the RMSE of the first bounce is shown for clarity, while the results of the second bounce had the same behavior. The SNR of our hardware is roughly estimated and shown with a solid vertical line. The value of the RMSE is significantly reduced as the number of frequencies increases. These results show the importance of multifrequency measurement for reliable depth retrieval, especially in noisy environments. The ratio of the retrieved signal’s amplitude for the first and second paths was a2=a1/4.In general, the algorithm can recover the distances with less error when a2is closer to zero, meaning that the second path is weak compared to the dominant main path. However, this is not valid