Introduction

Optical clock networks promise advances in precision navigation, time distribution, coherent sensing, relativity experiments, dark matter searches, and other areas1,2,3,4,5,6,7,8,9,10,11,12. Such networks will need to compare and synchronize clocks over free-space optical links between moving airborne or satellite-borne clocks. However, current comb-based optical two-way time–frequency transfer (O-TWTFT)13,14,15 cannot support femtosecond clock synchronization in the presence of motion. Even modest closing velocities between clocks lead to many picoseconds of non-reciprocity in the two-way optical time-of-flight, and correspondingly large time synchronization errors. Here, we demonstrate an advanced comb-based O-TWTFT to synchronize clocks without penalty, despite strong effective closing velocities.

There are multiple challenges in implementing sub-femtosecond time–frequency distribution between moving clocks via free-space optical links. These challenges reflect and extend those faced by rf time–frequency transfer over free space16,17,18 and optical time–frequency transfer via fiber optics7,8,9,10,19,20,21,22,23,24,25. First, because of turbulence and diffraction, the received free-space signals will be weak, vary strongly, and suffer frequent fades. These turbulence-induced effects are far less for rf links, because of the longer wavelength, or for fiber-optic links, because of the stable medium. Previous comb-based O-TWTFT has nevertheless overcome these turbulence effects to achieve femtosecond synchronization13,14,15. Here, we focus on the second critical challenge. Namely, the clock sites can move rapidly, leading to strong Doppler shifts and a complete breakdown in the reciprocity of the two-way time-of-flight. Consider even a terrestrial velocity of 30 m s−1. The fractional Doppler shift of 10−7 must be suppressed by 1011 to synchronize clocks to 10−18 in frequency. At this same velocity, the non-reciprocal time-of-flight of 3 ps (due to the finite speed-of-flight) must be suppressed by 104 to synchronize clocks to below 1 fs in time. This level of suppression is orders of magnitude beyond that achieved in rf time–frequency transfer. Moreover, it must be achieved, despite recurrent turbulence-induced signal fades.

Here, we demonstrate an advanced comb-based O-TWTFT that synchronizes clocks to within femtoseconds, despite motion. We synchronize two optical timescales connected via a quadcopter-mounted retroreflector or swept delay line over turbulent air paths at speeds up to 24 m s−1. The synchronized clocks agree to ~10−18 in frequency, despite 10−7 Doppler shifts, and to < 1 fs in time deviation, despite 50-ps breakdown in time-of-flight reciprocity.

Results

Advanced O-TWTFT System

We synchronize two sites A and B each with a clock, or optical timescale, defined by the labeled pulses from a 200-MHz fiber frequency comb phase-locked to a ~195-THz local optical oscillator. (For a full atomic clock, this optical oscillator would be locked to an atomic transition.) Site A acts as the master site. Site B is synchronized to it by adjusting the phase of the site B frequency comb. Because a fully flyable optical clock/oscillator is currently unavailable, both sites are fixed and we instead change the distance between sites by bouncing the optical signals off a quadcopter-mounted retroflector or a rapidly swept delay line. In either case, the link also includes the 2- or 4 -km free-space turbulent air path. As shown in Fig. 1, the link is folded to enable verification by a single short fiber link that directly connects the sites to provide out-of-loop verification of the time synchronization13,14,15. All O-TWTFT information traverses the 2–4 -km open-path link as if the two clock sites were, in fact, separated by this distance.

Fig. 1
figure 1

Experimental configuration for O-TWTFT demonstration via a moving platform. a Two optical timescales are synchronized over a folded link to a moving quadcopter-mounted retroreflector. The light is polarization multiplexed between site A and site B, co-located in a rooftop laboratory, and directed over the air to the quadcopter by a tracking telescope. b Schematic of master site A consisting of the comb A with repetition rate fr, transfer comb X with repetition rate fr + Δfr, a cavity-stabilized laser, a phase-modulated distributed feedback (DFB) laser to support the optical communication channel and a digital signal processor. Remote site B is identical except that it contains only the remote comb B. In addition, the digital signal processor at site B applies feedback to remote comb B to synchronize the two sites. Gray lines: optical fiber; gray ovals: 50:50 couplers; blue oval: wavelength division multiplexer; D: balanced photodetector; dashed black lines: rf signals. c Images from Supplementary Movie 1. The real-time output includes the calculated times (from system turn-on), the round-trip propagation distance, the closing speed, and link status including the percentage of time without signal fades. d Additional experimental setup to synchronize the two sites over a 0–4 km free-space path to a fixed retroreflector and including an in-line 6-pass swept delay line that mimics high closing velocities (see inset)

The system uses a layered approach: TWTFT with a modulated communication channel for picosecond-level time transfer26 followed by TWTFT with coherent frequency comb pulses for femtosecond-level time transfer. Frequency-comb TWTFT uses linear-optical sampling (LOS) to achieve femtosecond uncertainty (with a 5-nanosecond ambiguity given by the ~200-MHz comb repetition rate). LOS requires the repetition rate of the two pulse trains transmitted across the link to differ by Δfr ~2 kHz, which leads to inclusion of a third transfer comb X at Site A (see Fig. 1b.) The timing data from the communication channel and frequency-comb transfer are input into synchronization algorithms that, unlike ref. 13, resolve the 5-ns ambiguity on the comb pulse-by-pulse to generate four calculated timestamps \(\left\{ {T_{{\mathrm{AA}}},\;T_{{\mathrm{AB}}},\;T_{{\mathrm{BB}}},\;T_{{\mathrm{BA}}}} \right\}\) (see the Methods section). These four calculated timestamps can be formally interpreted as in conventional two-way time-transfer wherein one signal departs site A at time TAA, as recorded at site A, and arrives at site B at time \(T_{{\mathrm{AB}}} = T_{{\mathrm{AA}}} + T_{{\mathrm{A}} \to {\mathrm{B}}} - \Delta t_{{\mathrm{AB}}}\), as recorded at site B where ΔtAB is the time offset between sites and \(T_{{\mathrm{A}} \to {\mathrm{B}}}^{}\) is the time-of-flight from A to B. A second signal departs site B at time TBB and arrives at site A at time \(T_{{\mathrm{BA}}} = T_{{\mathrm{BB}}} + T_{{\mathrm{B}} \to {\mathrm{A}}} + \Delta t_{{\mathrm{AB}}}\), where \(T_{{\mathrm{B}} \to {\mathrm{A}}}\) is the time-of-flight from B to A. From these calculated timestamps, we find the clock time offset as

$$\Delta t_{{\mathrm{AB}}} = \frac{1}{2}\left[ {T_{{\mathrm{AA}}} - T_{{\mathrm{AB}}} - T_{{\mathrm{BB}}} + T_{{\mathrm{BA}}}} \right] + \frac{1}{2}\left[ {T_{{\mathrm{A}} \to {\mathrm{B}}} - T_{{\mathrm{B}} \to {\mathrm{A}}}} \right] + \Delta T_{{\mathrm{cal}}}$$
(1)

where ΔTcal is an overall transceiver calibration.

To estimate the time offset at femtosecond levels, each of the three terms on the right-hand side of Eq. (1) must be similarly evaluated to femtosecond levels. The last term is the overall calibration offset between transceivers and is discussed in the Methods section. The middle term is the non-reciprocal (unequal) time-of-flight between signals traveling from site A to site B compared with signals traveling from site B to site A. With motion, this non-reciprocity is significant as discussed next. Finally, the first term is the linear sum of timestamps derived from the LOS of the arriving comb pulses. The closing velocity between the sites leads to strong Doppler shifts that, in turn, couple to system dispersion and can lead to significant systematic errors in these timestamps, if not corrected as described below.

Velocity-dependent reciprocity breakdown

For the case realized here experimentally, the two clocks are connected via a retroreflector moving at closing velocity V/2 away from the clocks. The retroreflector is at a distance LA(t) from site A and LB(t) from site B. This scenario mimics time transfer via a moving, intermediate clock site—the solution presented here could be generalized to the alternate scenario of a stationary clock A and moving clock B with inclusion of the time dilation effect and choice of reference frame. Because of motion, the time-of-flight is non-reciprocal and given by18

$$T_{{\mathrm{A}} \to {\mathrm{B}}} - T_{{\mathrm{B}} \to {\mathrm{A}}} = \left( {V/c} \right)\left( {T_{{\mathrm{AB}}} - T_{{\mathrm{BA}}} + \Delta t_{{\mathrm{AB}}}} \right) + \left( {V/c^2} \right)\left( {L_{\mathrm{A}} - L_{\mathrm{B}}} \right)$$
(2)

to first order in V/c, where c is the speed of light. The first term arises because the link distance is sampled at different times (asynchronously) by the pulses traveling each direction since they do not necessarily depart their transceiver at the same time. The second term exists even for synchronous sampling and arises from the motion of the retroreflector. It can be derived from geometric considerations or more formally via Lorentz transformations. At a modest V = 30 m s−1, 4-km link, and an asynchronous sampling of \(T_{{\mathrm{AB}}} - T_{{\mathrm{BA}}} + \Delta t_{{\mathrm{AB}}} \approx 0.5\) ms, the first term in (2) yields a non-reciprocal time-of-flight of 50 ps. At the same velocity and for a reflector located adjacent to one clock site \(\left( {L_{\mathrm{A}} - L_{\mathrm{B}} \sim 4\;{\mathrm{km}}} \right)\), as is the case with the swept delay line, the second term in (2) yields a non-reciprocal time-of-flight of 1.3 ps. Note that for a symmetrically located retroreflector, as is approximately true for the quadcopter, this term vanishes. We include these two non-reciprocity corrections in (1) to <100 as uncertainty by using the available O-TWTFT data to calculate the speed to 20 μm s−1 uncertainty at 1-s averaging time. The speed is found from the rate-of-change of the measured time-of-flight (calculated via a different combination of timestamps) over three consecutive measurements. Errors due to acceleration are suppressed to <0.1 fs at even our maximum experimental acceleration of 7 g, both by the fast update rate (~2 kHz) of the O-TWTFT system and the use of centered derivatives to determine the speed at the correct time.

Velocity-dependent systematic timing shifts

The Doppler shifts of the received comb light are large (10−7, or 20 MHz, at V = 30 m s−1) and changing as V is not constant. These Doppler shifts can couple with the system dispersion to cause distortions in the measured heterodyne signal between the incoming and local comb light. These distortions can lead to picosecond-level timing errors in the calculated timestamps. To avoid this, we calculate the cross-ambiguity function27 between the measured heterodyne signal and a frequency-shifted template of the expected zero velocity waveform. We find its peak in real time (< 300 μs) to <100 as uncertainty by use of a Fourier transform algorithm and the Nelder–Mead search algorithm28.

Synchronization feedback via an adaptive Kalman filter

The final synchronization algorithms are implemented in a digital signal processing platform to generate an estimate of ΔtAB in real time at a 2-kHz measurement rate. Under strong turbulence, signal fades block the exchange of comb pulses and the communication link, but these fades are usually of short duration, e.g., a few milliseconds. With motion, these signal fades can extend over longer durations because of the challenges of tracking the moving platform. Indeed, for the quadcopter data shown later, we suffer signal fades of many seconds. To synchronize despite these signal fades, we implement a Kalman-filter-based loop filter as in ref. 29. The Kalman filter provides optimal hold-over behavior during fades. It uses a two-element state vector, modeling, respectively, time error and frequency error. The state transition matrix is simply two integrators in order to accurately account for the random frequency walk of the cavity-stabilized oscillators (1/f4 phase noise). The measurement noise is modeled as white noise with a 5-femtosecond standard deviation at the 2-kHz update rate. The Kalman filter’s output is sent to a standard proportional-integrator controller which changes the Site B’s frequency (via the offset between comb B and its local cavity-stabilized laser) to adjust the calculated time offset to zero. The combination of the measurement and clock noise levels sets the Kalman filter’s effective bandwidth to 10–100 Hz, which limits the closed-loop bandwidth to the same value. During long fades, the clock time offset varies randomly according to the phase noise of the local cavity-stabilized laser. For our system phase noise, and in agreement with the Kalman filter model, the clock time offset can exceed 150 fs for fades longer than 1 s.

Results of time synchronization with quadcopter and swept delay line

Figure 2 shows time synchronization between the two sites A and B over a link that includes both 4 km of turbulent air and the swept delay line operated at closing velocities from 0 m s−1 to ± 24 m s−1. The time-of-flight, closing velocity, and calculated time offset are all returned from the O-TWTFT signals. In parallel, the clocks’ time offset (i.e., arrival time of labeled optical comb pulses) is measured by the out-of-loop verification. When actively synchronized (outside of signal fades >20 ms), the clock times agree with a standard deviation of 1.1 fs at the full 2.2 kHz update rate. During brief signal fades due to atmospheric turbulence, the clocks’ times walk off randomly as previously mentioned (cyan trace of Fig. 2b), but are resynchronized when the signal is reacquired.

Fig. 2
figure 2

Synchronization over 4 km with the in-line swept delay line. a The time-of-flight and closing velocity are retrieved from the O-TWTFT data. The closing velocity varied from 0 m s−1 to 24 m s−1. The clock time offset is the out-of-loop verification. During active synchronization (i.e., no long fades) the standard deviation is 1.1 fs. All data are at the 2.2 kHz update rate. b Expanded view. The clocks’ time offset is shown for all time (cyan) and only during active synchronization, i.e., no turbulence-induced fades (black line)

Synchronization to a quadcopter-mounted retroreflector is shown in Supplementary Movie 1 and Fig. 3. The quadcopter provided a maximum 500-m optical pathlength change and a 20 m s−1 (quadcopter-limited) maximum speed. Again, we see femtosecond-level synchronization with no evidence of speed-dependent bias. These data do show much longer fades due to the additional challenge of tracking the moving quadcopter, accomplished as in ref. 30.

Fig. 3
figure 3

Synchronization results for a link to the flying quadcopter. The results shown are the time-of-flight (optical pathlength), closing velocity, and clocks’ time offset as measured by the out-of-loop verification channel. The clock’s time offset is given for periods of active synchronization (gray dots) at the full ~2 kHz update rate and for all times (cyan dots) at a 10 Hz sampling rate. The latter clearly shows the walkoff of the clocks during longer duration fades. The walkoff of the clock offset can exceed ~100 femtoseconds for fades longer than 1 s. The standard deviation is 3.7 fs for active synchronization at the ~2 kHz update rate (also see Supplementary Movie 1)

Analysis of time and frequency instability

Figure 4 shows the time and modified Allan deviations. For these data, the swept delay line was operated for ~20 min at ± 24 m s−1 with free-space links of 0, 2, and 4 km. The resulting time deviations, calculated from the out-of-loop verification, all remain below 1 fs for averaging times from 0.1 s (the inverse of the synchronization bandwidth) to 200 s and are essentially unchanged from a static 0-km shorted measurement. For the quadcopter, the time deviation remains at ~1 fs, elevated above the delay-line data due to the many long fades and calibration uncertainties associated with the tracking terminal. The relative fractional frequency instability (modified Allan deviation) for the swept-delay line data is below 10−15 at a 1-s averaging and 10−18 at 200-s averaging for all closing velocities. For the quadcopter data, it is 2 × 10−15 at a 1-s averaging and 2 × 10−17 at a 100-s averaging.

Fig. 4
figure 4

Time deviations and modified Allan deviations. a Time deviation for periods of active synchronization off the quadcopter with 0–20 m s−1 motion (open green squares) and with the in-line swept delay line with ± 24 m s−1 motion and a free-space pathlength of 0 m (red circles), 2 km (blue circles), and 4 km (cyan circles). Uncertainty bars are the statistical uncertainty on the calculated deviations. Also shown is the time deviation at 0 m s−1 and 0 m free-space path (black circles). The elevated time deviation for the quadcopter data is due to the many signal fades and calibration uncertainties associated with the tracking terminal. The O-TWTFT synchronization bandwidth was 10 Hz. b Corresponding modified Allan deviation

In conclusion, we demonstrate it is possible to synchronize two optical timescales to the femtosecond level despite closing velocities of up to 24 m s−1. This level of synchronization is afforded by the calculation of all correction terms to sub-femtosecond level and by the similar suppression of velocity-dependent systematics due to the coupling of Doppler shifts and system dispersion. The synchronization implies syntonization as well, and thus the two sites’ frequencies agree to ~10−18 despite 10−7 Doppler shifts.

This same approach should scale to the far greater closing velocities of future airborne and satellite-borne clocks, although this remains to be tested. Such high velocities will likely require implementation of IQ detection to permit continuous LOS of the comb pulses as the Doppler shifts exceed the comb repetition rate. In addition, ground-to-satellite links will suffer from non-reciprocity due to point-ahead effects, i.e., the separation of the up-link and down-link optical paths due to transverse motion, but theory and the ground-based experiments predict minimal impact31,32,33.

The advanced comb-based O-TWTFT described here should support multiple applications that benefit from the ability to compare and synchronize high-performance clocks over free-space links to moving sites. One potential future application would be optically cross-linked synchronized clocks for global navigation satellite systems (GNSS). Such a configuration could reduce the number of full atomic clocks required for the constellation and enable higher performance navigation, although the latter would require other major advances. For scientific applications, comb-based O-TWTFT could enable free-space optical networks between airborne or satellite-borne platforms to support experiments ranging from relativity tests to dark matter detection.

Methods

Hardware

The advanced comb-based O-TWTFT demonstrated here differs significantly in hardware, calibration, and algorithms from the previous comb-based O-TWTFT described in refs. 13,14,15. The full extent of the hardware and algorithms is discussed in a follow-on article34. The overall transceiver structure is similar to ref. 13, but with major alterations to allow for the presence of motion. Briefly, the overall dispersion in the transceivers was reduced 30-fold by use of dispersion compensation, the transceiver calibration was performed by a custom, integrated optical time domain reflectometer (OTDR), the rf system was redesigned to reduce multipath reflections due to impedance mismatches, the rf group delay were measured and digitally canceled prior to interferogram detection, and the digital signal processing hardware was redesigned to support the more extensive, real-time synchronization algorithms. A more detailed description of the redesigned transceiver is given in ref. 34.

Synchronization algorithm

The presence of motion in the O-TWTFT link required entirely new synchronization algorithms and implementation. The derivation of the four effective timestamps is lengthy and provided in ref. 34. We briefly outline a different derivation here that leads to a single master synchronization equation, but does not provide the same physical insight as the use of the virtual calculated timestamps of Eq. (1).

At site A, the comb pulses arrive at the local defined reference plane at times \(t_{\mathrm{A}} = n_{\mathrm{A}}f_{\mathrm{r}}^{ - 1} + \tau _{\mathrm{A}}\), where the integer nA labels the pulses, fr is the nominal defined repetition frequency and τA is the overall time offset that includes any integrated frequency error in the local comb. At site B, the comb B pulses arrive at the local defined reference plane at \(t_{\mathrm{B}} = n_{\mathrm{B}}f_{\mathrm{r}}^{ - 1} + \tau _{\mathrm{B}}\), where again τB is the slowly varying clock offset. Note τA and τB are both here defined with respect to some common arbitrary ad hoc timescale; in the end, we are only concerned with their differences. For verification purposes, we locate the reference plane for both sites at the end of the optical fiber that is used for the out-of-loop time synchronization measurement so that this out-of-loop measurement directly yields \(\Delta t_{{\mathrm{AB}}}^{} \equiv t_{\mathrm{A}} - t_{\mathrm{B}}\).

The linear-optical sampling (LOS) detection used in comb-based O-TWTFT requires the pulse trains of the two combs transmitted across the link have repetition rates differing by Δfr ~2 kHz13. Therefore, we introduce a third, transfer comb X at the master site with repetition rate \(f_{\mathrm{r}} + \Delta f_{\mathrm{r}}\) and time offset τx, also phase-locked to the master optical oscillator.

We measure three heterodyne signals between the master, transfer, and remote combs, each consisting of a series of consecutive interferograms, i.e., short heterodyne pulse envelopes, as the pulses cross each other at a rate Δfr. If we label each interferogram by an integer p with appropriate subscripts, the three signals are:

$$\begin{array}{l}\tilde I_{{\mathrm{AX}}}\left( t \right) \approx \mathop {\sum}\nolimits_{\mathrm{p}_{{\mathrm{AX}}}} {I_{{\mathrm{AX}}}^{}\left( {t - t_{{\mathrm{pAX}}}} \right)} \;\;{\mathrm{:}}\;{\mathrm{Master}}\; \to {\mathrm{Transfer}}\;{\mathrm{,}}\\ \tilde I_{{\mathrm{BX}}}\left( t \right) \approx \mathop {\sum}\nolimits_{\mathrm{p}_{{\mathrm{BX}}}} {I_{{\mathrm{BX}}}^V\left( {t - t_{{\mathrm{pBX}}}} \right)} \;\;{\mathrm{:}}\;{\mathrm{Remote}}\; \to {\mathrm{Transfer}}\\ \tilde I_{{\mathrm{XB}}}\left( t \right) \approx \mathop {\sum}\nolimits_{\mathrm{p}_{{\mathrm{XB}}}} {I_{{\mathrm{XB}}}^V\left( {t - t_{{\mathrm{pXB}}}} \right)\;\;{\mathrm{:}}\;{\mathrm{Transfer}}\; \to {\mathrm{Remote}}} \end{array}$$

where \(I_{{\mathrm{BX}}}^V\left( t \right),\;I_{{\mathrm{XB}}}^V\left( t \right){\mathrm{,}}\;{\mathrm{and}}\;I_{{\mathrm{AX}}}^{}\left( t \right)\) are the interferogram pulse shapes. The times tpAX, tpBX, and tpXB are the arrival time of the pAXth, pBXth, and pXBth interferograms. The time t is some common ad hoc arbitrary timescale that is mathematically convenient, but drops out of the final synchronization equation. The first interferogram, IAX, is generated from the local heterodyne mixing of the master and transfer comb at the master site. The middle interferogram, \(I_{{\mathrm{BX}}}^V\), is the heterodyne signal between the transmitted remote comb pulses and the transfer comb at the master site. The third interferogram, \(I_{{\mathrm{XB}}}^V\), is the heterodyne signal between the transmitted transfer comb and the remote comb at the remote site. We are ultimately interested in the times tpAX, tpBX, and tpXB that define the centers of the successive interferograms since we will combine these timing data with the communication-based two-way time–frequency transfer to evaluate ΔtAB.

The interferograms’ waveform depends on the Doppler shift of the incoming light as it couples to the relative chirp between the comb pulses thereby distorting the interferogram shape and causing systematic timing shifts. As discussed in the article, to avoid this, we use the ambiguity function, which suppresses this systematic to below 100 as.

Assuming successful suppression of this velocity-induced bias and following similar analysis as in ref. 13, the three times are

$$\begin{array}{l}t_{{\mathrm{pAX}}} = \Delta f_{\mathrm{r}}^{ - 1}\left\{ {p_{{\mathrm{AX}}} - \left[ {f_{\mathrm{r}} + \Delta f_{\mathrm{r}}} \right]\tau _{\mathrm{X}} + f_{\mathrm{r}}\tau _{\mathrm{A}}} \right\}\\ t_{{\mathrm{pBX}}} = \Delta f_{\mathrm{r}}^{ - 1}\left\{ {p_{{\mathrm{BX}}} - f_{\mathrm{r}}T_{{\mathrm{B}} \to {\mathrm{A}}}^{}\left( {t_{{\mathrm{pBX}}}} \right) + f_{\mathrm{r}}\tau _{\mathrm{B}} - \left[ {f_{\mathrm{r}} + \Delta f_{\mathrm{r}}} \right]\tau _{\mathrm{X}}} \right\}\\ t_{{\mathrm{pXB}}} = \Delta f_{\mathrm{r}}^{ - 1}\left\{ {p_{{\mathrm{XB}}} + \left[ {f_{\mathrm{r}} + \Delta f_{\mathrm{r}}} \right]T_{{\mathrm{A}} \to {\mathrm{B}}}^{}\left( {t_{{\mathrm{pXB}}}} \right) + f_{\mathrm{r}}\tau _{\mathrm{B}} - \left[ {f_{\mathrm{r}} + \Delta f_{\mathrm{r}}} \right]\tau _{\mathrm{X}}} \right\}\end{array}$$
(3)

as measured with respect to the timescale t. In the system, however, the timestamps are instead measured against the local timescale at site A or B. Therefore, we use the relationships \(t_{{\mathrm{pAX}}} = f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pAX}}} - \tau _A\), \(t_{{\mathrm{pBX}}} = f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pBX}}} - \tau _{\mathrm{A}}\), and \(t_{{\mathrm{pXB}}} = f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pXB}}} - \tau _{\mathrm{B}}\), where τA(B) are the time offsets of the site A(B) timescale from the ad-hoc timescale t and \(f_{\mathrm{r}}^{ - 1}k\) is the definition of a local time. k is the ADC sample number of the retrieved peak of the ambiguity function from the Nelder–Mead search, which is found with sub-sample precision. As a consequence, k is not restricted to an integer ADC sample number. Note that the function \(T_{{\mathrm{A}} \to {\mathrm{B}}}^{}\left( t \right)\) is the time-of-flight for a signal that arrives at B at time t. To solve these equations for the time offset between sites, \(\Delta t_{{\mathrm{AB}}} = t_{\mathrm{A}} - t_{\mathrm{B}}\), we need the integer values, pAX, pBX, and pXB, as extracted from the communication-based O-TWTFT. We also need the time-of-flight non-reciprocity, Eq. (2), which is briefly derived here.

From (3) and the substitution mentioned afterward, it is clear we are interested in the asymmetry\(T_{{\mathrm{A}} \to {\mathrm{B}}}^{}\left( {f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pXB}}} - \tau _{\mathrm{B}}} \right) - T_{{\mathrm{B}} \to {\mathrm{A}}}^{}\left( {f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pBX}}} - \tau _{\mathrm{A}}} \right)\). We first must extrapolate the time-of-flight to a common measurement time. To this end and to first order in V/c, we write

$${T_{{\mathrm{A}} \to {\mathrm{B}}}^{}\left( {f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pXB}}} - \tau _{\mathrm{B}}} \right) = T_{{\mathrm{A}} \to {\mathrm{B}}}^{}\left( {f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pBX}}} - \tau _{\mathrm{A}}} \right) + \left( {V/c} \right)\left[ {f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pXB}}} - f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pBX}}} + \Delta t_{{\mathrm{AB}}}} \right]}$$
(4)

where the second term is the asynchronous sampling contribution. Because of the finite speed of light, \(T_{{\mathrm{A}} \to {\mathrm{B}}}^{}\left( t \right) - T_{{\mathrm{B}} \to {\mathrm{A}}}^{}\left( t \right) = \left( {V/c} \right)\left[ {L_{\mathrm{A}}\left( t \right) - L_{\mathrm{B}}\left( t \right)} \right] + O\left( {\left( {V/c} \right)^2} \right)\). Combined with (4), this yields the breakdown in reciprocity,

$$\begin{array}{c}T_{{\mathrm{A}} \to {\mathrm{B}}}^{}\left( {f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pXB}}} - \tau _{\mathrm{B}}} \right) - T_{{\mathrm{B}} \to {\mathrm{A}}}^{}\left( {f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pBX}}} - \tau _{\mathrm{A}}} \right) = \left( {V/c} \right)\left[ {f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pXB}}} - f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pBX}}} + \Delta t_{{\mathrm{AB}}}} \right]\\ + \left( {V/c^2} \right)\left[ {L_{\mathrm{A}} - L_{\mathrm{B}}} \right]\end{array}$$
(5)

With this information, we can solve to find the time offset,

$$\begin{array}{*{20}{l}} {\Delta t_{{\mathrm{AB}}} = \frac{1}{{2 - V/c + \Delta f_{\mathrm{r}}/f_{\mathrm{r}}}}} \hfill & {\left\{ {\frac{{\Delta f_{\mathrm{r}}^{}}}{{f_{\mathrm{r}}^2}}\left\{ {2k_{{\mathrm{pAX}}} - k_{{\mathrm{pXB}}} - k_{{\mathrm{pBX}}}^{}} \right\} + \frac{{\Delta f_{\mathrm{r}}^{}}}{{f_{\mathrm{r}}^{}}}T_{{\mathrm{A}} \to {\mathrm{B}}}\left( {t_{{\mathrm{pXB}}}} \right)} \right.} \hfill \\ {} \hfill & { + f_{\mathrm{r}}^{ - 1}\left[ {{\mathrm{p}}_{{\mathrm{XB}}}^{} + {\mathrm{p}}_{{\mathrm{BX}}}^{} - 2{\mathrm{p}}_{{\mathrm{AX}}}^{}} \right] + 2\Delta T_{{\mathrm{cal}}}} \hfill \\ {} \hfill & {\left. { + \frac{V}{c}\left( {f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pXB}}} - f_{\mathrm{r}}^{ - 1}k_{{\mathrm{pBX}}} + c^{ - 1}\left[ {L_{\mathrm{A}} - L_{\mathrm{B}}} \right] + 2\Delta T_{{\mathrm{cal}}}^V} \right)} \right\}} \hfill \end{array}$$
(6)

where we introduce two calibration terms, ΔTcal, ΔTVcal, discussed below, and drop terms of order (V/c)2 and higher throughout. In the real-time computation, the closing velocity, V, is found by a combination of centered numerical derivatives using the previous three measurements of \(T_{{\mathrm{A}} \to {\mathrm{B}}}^{}\) and \(T_{{\mathrm{B}} \to {\mathrm{A}}}^{}\), which assumes constant acceleration over 3/Δfr ~1.5 ms. A rough estimate of the time offset error due to a changing acceleration, i.e., jerk, is \(\sim (1/6)\left( {\dot a/c} \right)\left( {2\Delta f_{\mathrm{r}}} \right)^{ - 3}\). A 1 fs timing error is reached only at a jerk of \(\dot a \sim 10^4\) g s−1.

Transceiver calibration

The calibration term, ΔTcal, nominally reflects a time delay in the transceiver between the reference plane and the incoming pulse detection. However, in reality, each transceiver consists of multiple optical and rf paths between, for example, the optical oscillator, the frequency combs, the optical detection of the arriving frequency comb pulses, the various analog-to-digital converters, and throughout the communication-based O-TWTFT. Without motion, all these paths can be lumped into a single overall time delay. With motion and the resulting Doppler shifts, some delay paths must be corrected for velocity. As a result, the overall transceiver must be calibrated via a built-in rf-domain optical time domain reflectometer (OTDR) that measures the various required delays34. In a simplified view, the net result is that the calibration becomes velocity-dependent as \(\Delta T_{{\mathrm{cal}}} \to \Delta T_{{\mathrm{cal}}} + \left( {V/c} \right)\Delta T_{{\mathrm{cal}}}^V\).