Next Article in Journal
Usability and User Experience in an Industrial Metaverse: A Mixed-Methods Study of the Necoverse Point Cloud Inspection System for Shipbuilding
Next Article in Special Issue
Vehicle, Driver, and Road Digital Twins for Connected Mobility: A Critical Review and Unified Conceptual Framework
Previous Article in Journal
ChatGPT-Assisted Task Analysis for Special Education Teachers: An Exploratory Study of Alignment, Readability, Efficiency, and Acceptability
Previous Article in Special Issue
Semantic Communication Unlearning: A Variational Information Bottleneck Approach for Backdoor Defense in Wireless Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

FPGA-Based Time Synchronization over Ethernet Networks for the DTT Control and Data Acquisition System

1
Department of Computer Science, Modeling, Electronics and Systems Engineering (DIMES), University of Calabria, Via P. Bucci, 87036 Rende, Italy
2
ENEA, Nuclear Department, CR Frascati, Via E Fermi 45, 00044 Rome, Italy
3
Consorzio RFX, Corso Stati Uniti, 4, 35127 Padova, Italy
*
Author to whom correspondence should be addressed.
Future Internet 2026, 18(3), 159; https://doi.org/10.3390/fi18030159
Submission received: 1 February 2026 / Revised: 10 March 2026 / Accepted: 17 March 2026 / Published: 18 March 2026
(This article belongs to the Special Issue Future Industrial Networks: Technologies, Algorithms, and Protocols)

Abstract

Time synchronization is a fundamental requirement for the reliable operation of Control and Data Acquisition Systems (CODASs) in large-scale fusion experiments such as the Divertor Tokamak Test (DTT). Distributed diagnostics, sensors, and control subsystems must share a unified time reference to guarantee deterministic data acquisition and stable plasma control. This paper presents the FPGA-based implementation and evaluation of a synchronization system that combines the IEEE 1588 Precision Time Protocol (PTP) with Pulse Per Second (PPS) generation. The proposed platform is built on Zynq UltraScale+ Kria KR260 System-on-Modules (SOMs) running a customized PetaLinux distribution with LinuxPTP utilities. Hardware timestamping is enabled through the integrated Timestamping Unit (TSU) in the Gigabit Ethernet MAC, while a hardware logic module generates PPS signals from the synchronized PTP clock. Experimental validation demonstrates nanosecond-level synchronization with an RMS timing accuracy of approximately 8.5 ns. A detailed analysis of PPS offset, network path delay, and servo adjustments confirms stability of the timing system. The proposed design offers a low-cost, flexible, fully customizable and controllable solution for distributed diagnostic and control systems in fusion facilities.

1. Introduction

The DTT facility is a key pillar of the European fusion roadmap currently under construction at the ENEA Frascati Research Center in Italy. Its mission is to investigate advanced divertor solutions for power-exhaust management in next-generation fusion reactors [1]. The DTT integrates a wide range of diagnostics, sensors, and actuators [2] operating under the supervision of CODAS, which orchestrates experiment sequencing, real-time control loops, and data archiving.
Within the CODAS architecture, time coordination is essential, and communication is structured across four dedicated Ethernet-based sub-networks [3]. The Central Control Online Network (CCON) exchanges status information and commands between CODAS and plants, while the Data Archiving Online Network (DAON) handles high-throughput data streaming for data-acquisition tasks. The Real-Time Online Network (RTON) manages the exchange of time-critical signals between plant subsystems and the central Plasma Control System (PCS), while the Time Enabling Online Network (TEON) distributes timing information and synchronization messages required to achieve precise, network-based time alignment across all CODAS components as illustrated in Figure 1. In addition to these, two further networks are present within the architecture: the Occupational Safety Online Network (OSON), responsible for safety-related communications, and the Machine Protection Online Network (MPON), dedicated to machine protection signaling
PCS forms the core of this closed-loop infrastructure, where timing deviations can propagate into control instabilities and inaccuracies in diagnostic measurements. Even sub-microsecond misalignment between sensors and actuators may introduce phase errors, degrade plasma regulation, and compromise the consistency of post-shot analyses.
To address these requirements, a variety of time-synchronization standards have been employed in large-scale scientific and industrial environments, including GPS, Network Time Protocol (NTP), PTP, and White Rabbit (WR). GPS provides nanosecond-level absolute timing but is unsuitable for fusion facilities, where heavily shielded experimental halls prevent reliable reception of satellite signals. NTP, although simple to deploy, is limited to millisecond-level accuracy [5] and therefore cannot satisfy CODAS timing requirements. PTP is designed for high-precision synchronization over Ethernet [6] and typically achieves accuracies on the order of 100 ns, which is sufficient for most fusion diagnostics and control operations. WR, an extension of PTP combined with Synchronous Ethernet, further enhances precision into the sub-nanosecond domain [7]. However, WR infrastructure is more complex and is primarily deployed in large scientific facilities, whereas standard PTP offers a practical balance of accuracy, cost, and integration flexibility suitable for many fusion experiments.
In many fusion facilities, PTP-based synchronization is realized through proprietary PXI-based timing infrastructures or facility-specific hardware platforms. While these solutions achieve high synchronization accuracy, they depend on dedicated chassis, vendor-specific timing modules, and tightly integrated hardware–software stacks, which increase infrastructure cost and limit flexibility. In parallel, numerous FPGA-based PTP implementations attain high precision by integrating complete PTP protocol engines directly in programmable logic (PL) [8], including custom HDL-based timestamping units, protocol state machines, and clock-control architectures, or by relying on licensed timing IP cores [9]. Although effective, such approaches increase development complexity, FPGA resource utilization, and long-term maintenance effort.
Recent FPGA SOM platforms such as the KRIA KR260 integrate PTP-compliant hardware timestamping directly within the Ethernet MAC through a dedicated TSU. This feature enables the realization of synchronization nodes without implementing a full fabric-level PTP protocol engine. However, the systematic evaluation of such MAC-integrated SOM architectures as deployment-ready timing nodes within fusion-grade CODAS infrastructures remains unexplored.
The main contribution of this work is the system-level validation of a reconfigurable FPGA-based SOM as a flexible and cost-effective alternative to proprietary PXI-class timing infrastructures for fusion environments. Specifically, this work provides:
  • System-level validation of a MAC-integrated FPGA SOM with an embedded TSU as a PTP timing node for fusion CODAS environments.
  • Hardware-level synchronization verification through deterministic PPS generation derived from the PTP-disciplined TSU counter.
  • Comprehensive multi-hour statistical evaluation of synchronization performance, including PPS offset, network path delay, and clock-servo frequency correction.
By framing the kria KR260 as a compact, software-driven, and reconfigurable timing node, this work establishes a scalable and cost-effective integration methodology for IEEE 1588-based synchronization across TEON and related CODAS networks.
The remainder of this paper is organized as follows. Section 2 reviews the related work. Section 3 provides background information on PTP. Section 4 describes the system overview and the design approach adopted in this study. Section 5 presents Experimental Validation and Measurement Setup. Section 6 discusses the experimental results. Finally, Section 7 summarizes the conclusions and future developments.

2. Related Work

Advancements in large-scale distributed and networked systems, particularly within fusion facilities, have intensified the demand for precise, deterministic, and scalable time synchronization across distributed control and diagnostic subsystems. To address these requirements, several fusion facilities have adopted PTP-based timing systems, which provide nanosecond-level synchronization accuracy over Ethernet networks [10]. In this context, many facilities have developed custom trigger and timing solutions to meet timing requirements and support deterministic event generation [11], while others are transitioning their existing timing infrastructures toward PTP-based architectures [12]. Large-scale facilities such as ITER [13] have strict synchronization requirements and provide detailed architectural guidelines to ensure deterministic distribution of time, clocks, and triggers across all subsystems. In accordance with these specifications, diagnostic and control modules commonly integrate PTP-enabled receiver boards that track a Grand Master Clock (GMC) and generate synchronized clocks and trigger signals for subsequent stages.
Over the past decade, substantial progress has been reported in hardware-assisted PTP implementations for distributed control and data-acquisition systems in fusion experiments. An early contribution by Jabłoński et al. [14] presented a PTP-compliant synchronization module for the MTCA.4 platform, achieving an RMS synchronization accuracy of 11.7 ns through hardware timestamping. Building on this work, Sanz et al. [15] proposed a clock-distribution network implemented on FlexRIO devices within a PXIe infrastructure, employing an NI PXI-6682 timing module as the PTP GMC to meet the timing requirements of the ITER Fast Controller prototype. Owing to their high timing performance and tight integration with commercial software environments, NI PXI-based timing platforms have since been widely adopted across multiple fusion facilities, including the Indian Test Facility (INTF) for the ITER Diagnostic Neutral Beam (DNB) [16], the EAST tokamak [17,18], the HL-2M tokamak [19], and the MITICA experiment at the ITER Neutral Beam Test Facility (NBTF) [20].
In the context of long-pulse fusion experiments, Tripathi et al. [16] reported an event-driven, high-speed data-acquisition system synchronized via IEEE-1588 PTP for the INTF associated with ITER’s DNB. Their hybrid architecture combined conventional low-speed acquisition with a high-speed FPGA-based digitizer (CAEN DT5720), enabling the handling of both synchronous diagnostic events, such as Cavity Ring-Down Spectroscopy (CRDS), and asynchronous events, including high-voltage breakdowns. Time synchronization was achieved using a PXI-6683H timing card as the PTP GMC and PCI-1588 slave cards coordinated through LabVIEW-based real-time software. PPS-based validation demonstrated an RMS timing error below 50 ns under direct network connection.
A more detailed evaluation of PTP-based synchronization in tokamak environments was presented by He et al. [17] for the EAST tokamak, where a timing system for the poloidal field (PF) power-supply control system was developed using NI PXI-6683H timing boards. The architecture relied on GPS-disciplined clocks and PTPv2 over Ethernet to synchronize multiple PXI slave nodes via PTP-enabled switches. A key outcome of this study was the comparative assessment of standard and real-time Linux kernels, which showed that real-time operation significantly improves synchronization performance, reducing the RMS error from approximately 200 ns to about 35 ns. Following similar design principles, Liu et al. [19] implemented a high-precision distributed timing system for the HL-2M tokamak using a commercial PTP infrastructure based on HIRSCHMANN IEEE-1588-enabled switches and PXI-6683H timing modules integrated into PXIe chassis. By exploiting Future Time Event mechanisms and LabVIEW-based control, the system enabled flexible and deterministic triggering across subsystems. Experimental validation using PPS measurements demonstrated an RMS timing accuracy of 8.12 ns, with peak deviations confined within ±35 ns.
Addressing ITER-relevant conditions, Trevisan et al. [20] conducted a comprehensive assessment of PTP-based synchronization for the MITICA (Megavolt ITER Injector & Concept Advancement) experiment at the ITER NBTF, located at Consorzio RFX, Padova, Italy. Their architecture combined a microSync RX201 PTP grandmaster clock (Meinberg Funkuhren GmbH & Co. KG, Bad Pyrmont, Germany), SICOM 3000A PTP-aware switches with Transparent Clock functionality (Kyland Technology Co., Ltd., Beijing, China), and PXI-6683H timing cards at slave nodes (National Instruments, Austin, TX, USA). Using hardware timestamping and high-speed oscilloscope measurements, the authors reported RMS synchronization errors of approximately 11 ns for a single-switch topology and about 18 ns for a two-switch topology, both well within the ITER requirement of maintaining RMS timing errors below 50 ns. In addition, a digital twin of the timing network was developed using OMNeT++ to analyze timing behavior under different configurations, and an Ethernet-based “Lazy Trigger” mechanism was introduced to support event-driven acquisition.
Beyond PXI-based infrastructures, extensive research has also focused on FPGA-based implementations of PTP. As reviewed in [21], many architectures implement hardware-assisted PTP engines directly in FPGA fabric, incorporating custom HDL-based timestamping modules, protocol state machines, and dedicated clock-control logic. Open-source and commercial IP cores such as HA1588 and hardware-assisted timing cores synthesize timestamping logic at the MAC or PHY layer to improve precision.
Collectively, these studies confirm the technical maturity of PTP-based synchronization in fusion-oriented control and data acquisition systems, particularly when proprietary PXI-based infrastructures or FPGA platforms with hardware-assisted timestamping are employed. Existing works demonstrate that nanosecond-level synchronization accuracy is achievable; however, most implementations either rely on chassis-based commercial timing platforms or integrate substantial protocol functionality directly within FPGA fabric. A systematic system-level evaluation of the KRIA KR260 FPGA SoM, which relies on MAC-level hardware timestamping and software-based clock discipline without implementing a custom fabric-level PTP engine, remains limited in the context of fusion CODAS infrastructures. In particular, long-duration statistical characterization and deployment-oriented validation of such architectures under fusion-relevant conditions have not been comprehensively reported. The present work addresses this gap through the experimental validation of a KRIA KR260 FPGA SoM platform within the DTT timing framework.

3. Precision Time Protocol

PTP, defined in the IEEE 1588 standard, is designed to provide sub-microsecond synchronization accuracy for measurement and control systems while maintaining sufficient flexibility to operate across heterogeneous clock sources. The standard specifies a hierarchical clock architecture and a set of procedures for selecting the best reference clock within a network. This best-clock selection, commonly known as the Best Master Clock Algorithm (BMCA), is performed through the continuous exchange of PTP messages, whose transmission and reception timestamps allow each device to evaluate clock quality. Consequently, the local oscillator of each slave node is disciplined toward the most suitable reference clock in the network. However, the synchronization performance ultimately depends on the accuracy of timestamping, network latency symmetry, and the stability of the local oscillators.
In IEEE 1588 PTP, the offset represents the instantaneous phase difference between the reference and slave clocks and is computed from the timestamps exchanged during the synchronization cycle using the Sync and Delay Req messages as shown in Figure 2. During each exchange, four timestamps are recorded: t 1 , the transmission time of the Sync message by the master; t 2 , the reception time of the Sync message at the slave; t 3 , the transmission time of the Delay Req message by the slave; and t 4 , the reception time of the Delay Req message at the master. Under the assumption of symmetric propagation delays in both directions, the offset of the slave clock relative to the master is calculated as:
Offset = ( t 2 t 1 ) ( t 4 t 3 ) 2
and the corresponding mean path delay is given by:
Path Delay = ( t 2 t 1 ) + ( t 4 t 3 ) 2 .
Here, ( t 2 t 1 ) represents the master-to-slave propagation interval, while ( t 4 t 3 ) denotes the slave-to-master interval. A positive offset indicates that the slave clock lags behind the master, whereas a negative offset signifies that it runs ahead. The ptp4l servo continuously estimates this offset at each synchronization interval and compensates for it by applying phase and frequency corrections to align the slave clock with the master reference.

4. System Overview and Design Approach

This section outlines the system overview and design approach of the proposed synchronization platform developed for DTT CODAS.
The developed synchronization platform is built on the AMD Kria KR260 SoM [22], which integrates a Zynq UltraScale+ MPSoC comprising a quad-core ARM Cortex-A53 processing system (PS) and FPGA PL fabric. This heterogeneous architecture provides an efficient hardware–software co-design approach. In this work, time-critical functions such as timestamping and signal generation are implemented in the PL, while higher-level synchronization services such as PTP daemons, control logic, and user interfaces execute in the PS under an embedded Linux environment. As illustrated in Figure 3, the complete system is organized into a four-layer stack running on a customized PetaLinux distribution. At the hardware layer, the Gigabit Ethernet MAC (GEM) controller integrates the TSU and the PTP Hardware Clock (PHC), providing the fundamental timing capabilities. In the kernel space, the MACB driver interfaces directly with the TSU hardware, while the PHC framework exposes the hardware clock to user space through the /dev/ptpX interface.
At the user space layer, two primary PTP components execute: ptp4l, which manages PTP message exchange and performs clock synchronization [23], and phc2sys, which disciplines the system clock to align with the PHC [24]. Within this framework, the ptp4l daemon implements the PTP clock servo responsible for correcting the slave clock relative to the master reference. The synchronization process relies on a proportional–integral (PI) control mechanism that continuously estimates the master–slave clock offset using hardware timestamps provided by the TSU. The estimated offset is processed by the PI servo to apply frequency corrections to the local oscillator through the PHC [25]. In this study, the default hardware timestamping servo gains provided by LinuxPTP were used, with proportional gain K p = 0.7 and integral gain K i = 0.3 also reported in [26]. These parameters provide stable offset convergence and effective compensation of oscillator drift under hardware timestamping conditions while avoiding oscillatory behavior in the clock control loop.
The proposed architecture facilitates efficient interaction between hardware and software. To support this architecture, a customized PetaLinux (v2022.2) distribution was developed to include the LinuxPTP stack, GCC utilities, and additional development tools. Kernel modifications were applied to enable hardware timestamping by setting the parameter CONFIG_MACB_USE_HWTSTAMP = y in the Cadence MACB driver. The complete implementation integrates three tightly coupled components: (i) the Vivado hardware design containing the clocking IPs and TSU routing, (ii) the PetaLinux kernel configured for hardware timestamping, and (iii) the LinuxPTP software utilities for PTP message handling and servo control.
To provide a hardware-level validation of synchronization performance, a PPS signal is adopted as the observable timing reference instead of relying on Time of Day (ToD) comparison or hardware loopback methods. The ToD clock is maintained in hardware by the TSU counter; however, its comparison requires register readout through software interfaces, which introduces access latency and operating-system-induced uncertainty. Hardware loopback, on the other hand, characterizes internal signal paths within a single node and does not reflect end-to-end synchronization across distributed devices. In this work, the objective is to assess the relative phase alignment between master and slave nodes over the network. Therefore, PPS edge-to-edge offset measurement is employed, as it provides a direct physical-layer evaluation of synchronization error with nanosecond resolution, independent of software readout effects.
In the Zynq UltraScale+ architecture, the TSU implements a 102-bit hardware timestamp counter. When GEM0 is enabled on the KR260 platform, the TSU counter is externally exposed as a 94-bit signal, where the upper 48 bits represent the seconds field and the remaining 46 bits represent the fractional field corresponding to nanoseconds and sub-nanoseconds. Bit 46 corresponds to the MSB of the fractional field and changes state once per second as the fractional counter completes one full cycle and rolls over while incrementing the seconds field. As a result, the transitions of this signal provide an inherently synchronized hardware-derived PPS timing reference.
The TSU was clocked using a 250 MHz reference generated through a Clocking Wizard IP via the EMIO interface, providing a counter resolution of 4 ns per tick. This resolution is sufficient to support the sub-100 ns synchronization accuracy required for CODAS timing validation. The EMIO clock path was selected to ensure that the exposed 94-bit timer signal remains synchronous with the PL clock domain, while the Clocking Wizard IP provides a clean, phase-stable, and jitter-attenuated clock source isolated from other PS peripherals. The resulting PPS signal therefore represents a deterministic hardware timing reference derived directly from the PTP-disciplined TSU counter. This internally generated PPS signal served as the primary observable reference for assessing master–slave synchronization performance during experimental validation.
Each node was configured using a dedicated PTP configuration file specifying clock type, delay mechanism, and servo parameters. The master node was set with slaveOnly = 0, priority1 = 100, and priority2 = 128 to ensure master selection, while the slave node used slaveOnly = 1, priority1 = 255, and priority2 = 64 to enforce slave operation. Both nodes were configured as ordinary clocks (OC) using UDPv4 transport and the end-to-end (E2E) delay mechanism. Upon system startup, ptp4l was launched on both nodes, and phc2sys was executed on the slave to align the system clock with the local PHC. The Ethernet interface eth1 corresponds to GEM0, whose TSU counter is visible to user space as /dev/ptp0. Hardware timestamping functionality was verified by reading raw PHC values through the command phc_ctl eth1 get, which correctly returned continuously incrementing timestamps once the Vivado bitstream and kernel drivers were loaded.

5. Experimental Validation and Measurement Setup

To validate the proposed synchronization design approach, an experimental evaluation was conducted using two AMD Kria KR260 boards interconnected through a dedicated Gigabit Ethernet network, as shown in Figure 4. The boards were connected via a single Ethernet switch to ensure a stable and controlled communication path. Both devices booted from customized PetaLinux images stored on SD cards, with one board configured as the PTP master and the other operating as the PTP slave. The PPS output signals generated by both boards were connected to an external high-resolution oscilloscope, enabling direct time-domain comparison of the PPS waveforms and precise measurement of synchronization performance.
The measurements were performed using a Teledyne LeCroy HDO6104B (Chestnut Ridge, NY, USA) high-definition oscilloscope (1 GHz bandwidth, 12-bit resolution). The PPS signals were acquired at a sampling rate of 5 GS/s using identical 10× passive voltage probes connected to adjacent analog channels. According to the manufacturer’s specifications, the oscilloscope provides a timebase accuracy of ± 2.5 ppm + 1.0 ppm/year and a typical inter-channel timing jitter of 2 ps RMS for analog channels [27]. Since both PPS signals were captured simultaneously using the same internal timebase, absolute clock accuracy does not affect the relative edge-to-edge comparison. No manual channel deskew calibration was applied. Identical probe models and symmetric channel connections were used to minimize inter-channel delay mismatch. The instrumentation-related timing uncertainty is therefore significantly smaller than the nanosecond-level synchronization offsets reported in this work.
The experimental workflow consisted of five sequential stages. In the first stage, the two boards operated independently, and the generated PPS signals were measured prior to enabling the LinuxPTP service to determine the initial clock offset between the nodes. In the second stage, the PTP synchronization process was initiated by running the ptp4l and phc2sys daemons, allowing the clock-servo loop to converge until steady-state operation was achieved. In the third stage, PPS waveforms were captured at high resolution, and ptp4l logs were recorded to extract network path-delay and clock frequency-adjustment data. In the fourth stage, Python-based (Version 3.9.25) analysis scripts were employed to process the acquired data and compute statistical parameters, including mean offset, standard deviation, and path-delay variation over time. Finally, synchronization accuracy was assessed through comparative analysis of the aligned PPS signals to confirm nanosecond-level performance between the master and slave boards.

6. Results and Discussion

This section presents and discusses the experimental results obtained from the evaluation of the PTP-based synchronization system. The analysis highlights the implications of the measured performance for timing-sensitive applications within the DTT CODAS. The synchronization behavior between the master and slave nodes was evaluated using the experimental configuration illustrated in Figure 4. In the absence of synchronization, independent oscillators in the two KR260 boards would operate with slight frequency differences, resulting in a phase offset between their generated timing signals. When the PTP service is enabled, the slave clock is disciplined to the master reference through continuous timestamp exchange and clock correction performed by the LinuxPTP stack. This process ensures that the slave hardware clock tracks the master time reference while compensating oscillator drift and network delay variations.
To quantitatively evaluate synchronization performance, the experiment was conducted for a duration exceeding five hours. PPS waveforms were acquired at a sampling rate of 5 GS/s to enable high-resolution timing analysis. Representative waveform samples used for offset estimation are shown in Figure 5. The high sampling rate allows precise detection of the rising edges of the master and slave PPS signals, enabling accurate estimation of the time offset and delay between the synchronized nodes.
A total of 9245 PPS pulses were acquired during the experiment. The timing offset for each pulse was computed by detecting the rising edges of the master and slave PPS signals using a fractional-sample interpolation technique, providing sub-nanosecond resolution. Across the full dataset, the system achieved a mean offset of 0.59 ns and an RMS synchronization error of 8.51 ns, with a standard deviation of 8.49 ns. Figure 6 presents the offset evolution over time, and Figure 7 illustrates the statistical distribution of clock offsets over the entire acquisition period. A summary of the statistical results is provided in Table 1. These statistical indicators provide insight into the stability characteristics of the synchronized clocks. Long-term clock stability is assessed through the offset time series shown in Figure 6. The offset remains bounded throughout the five-hour observation period without exhibiting any systematic drift or increasing trend, indicating that the frequency difference between the master and slave oscillators is effectively compensated. The approximately Gaussian distribution of offsets shown in Figure 7, centered near zero with no significant asymmetry, further indicates that the residual synchronization error is dominated by random noise rather than systematic effects, which is consistent with stable closed-loop clock discipline over the entire acquisition period.
The near-zero mean offset of −0.59 ns indicates the absence of any significant systematic timing bias. The small residual mean can be attributed to minor static path-delay asymmetry arising from differences between the forward and reverse propagation paths, which the End-to-End delay compensation mechanism cannot fully eliminate. The RMS synchronization error of 8.51 ns reflects the combined contribution of two principal noise sources: network-induced path-delay jitter, evidenced by the measured path-delay standard deviation of 2.50 ns, and residual short-term oscillator phase noise. Occasional offset excursions reaching approximately ±32 ns are likely caused by transient network delay variations, from which the system quickly recovers within one to two synchronization cycles.
In parallel with the PPS-based measurements, PTP log data were collected to analyze network latency and clock-servo behavior. Figure 8 shows the estimated one-way network path delay between the master and slave nodes, computed as half of the round-trip delay in accordance with the PTP delay-request mechanism. The path delay remained highly stable throughout the experiment, with a mean value of μ = 850 ns and a standard deviation of σ = 2.50 ns, indicating a consistent and symmetric network path under the controlled laboratory conditions. The low path delay variation is consistent with the dedicated Gigabit Ethernet link used in the experimental setup, which minimizes switch-induced queuing delays and competing traffic from the PTP timing path. Under these controlled conditions, the measured delay primarily reflects the intrinsic propagation characteristics of the link. In a practical deployment environment, however, the presence of intermediate network switches, background traffic, and longer cable paths may introduce additional packet delay variation and increase synchronization uncertainty. This consideration motivates the use of PTP-aware network elements, such as transparent or boundary clocks, in the future TEON timing infrastructure to mitigate network-induced timing variability.
Figure 9 illustrates the clock-servo frequency adjustment applied to the slave oscillator over the full acquisition period. The correction values, expressed in parts per billion (ppb), represent the fine-grained frequency tuning performed by the control loop to maintain long-term synchronization. The frequency adjustment exhibits a mean value of 1938 ppb with a standard deviation of 47 ppb, indicating that the slave oscillator naturally runs slightly faster than the master and is continuously slowed to maintain phase alignment. A noticeable deviation in the frequency correction is observed around 11,600 s, which is also reflected as a temporary disturbance in the PPS offset measurements. This event can be interpreted as the transient response of the clock control loop to a short-term disturbance affecting the synchronization process. In such cases, the proportional component reacts immediately to the offset variation, producing a brief frequency correction spike, while the integral component gradually restores the steady-state correction. The rapid recovery observed after this event indicates that the control loop remains stable and effectively compensates short-term disturbances. Overall, the bounded nature of the frequency adjustment confirms robust long-term clock stability throughout the entire observation period.
Overall, the experimental results demonstrate nanosecond-level synchronization accuracy, low path-delay variation, and stable long-term clock discipline under controlled conditions. These results confirm the feasibility of the proposed approach for distributed timing applications in fusion-oriented CODAS environments. To assess the obtained synchronization performance with respect to existing timing solutions, a quantitative comparison with representative PTP timing platforms reported in the literature is summarized in Table 2. The comparison includes the timing platform architecture, reported RMS synchronization accuracy, and the corresponding deployment application.
As shown in Table 2, the synchronization accuracy achieved by the proposed KR260-based timing node (RMS ≈ 8.5 ns) is comparable to that of widely used commercial PXI-based timing systems and other PTP implementations reported in fusion facilities such as ITER, EAST, and HL-2M. The proposed solution reduces hardware complexity by eliminating the need for dedicated PXI chassis, licensed timing IP cores, and fully custom FPGA-based PTP engines. Consequently, the KR260-based platform represents a flexible and reconfigurable synchronization node suitable for scalable deployment in fusion-grade CODAS environments, while maintaining nanosecond-level timing performance comparable to that of industrial-grade timing systems.

7. Conclusions and Future Work

This paper has presented a practical solution for high-precision clock synchronization using a low-cost FPGA platform. In the proposed approach, the hardware design has been intentionally kept simple, relying on the integrated TSU of the Kria KR260 and a dedicated PPS generation module derived from the synchronized PTP clock. The complexity of the timing alignment process is handled primarily in software through LinuxPTP, which continuously compensates for oscillator drift and maintains frequency alignment. The nanosecond-level accuracy obtained in the presented experiments, characterized by a mean offset of −0.59 ns and an RMS synchronization accuracy of 8.5 ns across 9245 PPS pulses, demonstrates that the Kria KR260 platform can deliver synchronization performance well beyond the typical requirements of CODAS systems, where accuracies on the order of 100 ns RMS are commonly sufficient. The measured stability in offset, path delay, and servo frequency adjustment further confirms the robustness of the proposed approach. The built-in hardware timestamping capability of the Kria platform, together with software control through PetaLinux, makes the system a low-cost, flexible, and fully customizable solution for distributed diagnostic and control systems in fusion facilities.
The experimental validation presented in this study provides an initial baseline assessment of the proposed synchronization architecture. The experiments were conducted under controlled laboratory conditions using a two-node configuration in order to isolate and accurately assess the intrinsic synchronization performance of the KR260-based timing platform. At the current stage, the DTT facility is still under development, and the full TEON timing network has not yet been deployed. Consequently, performing controlled validation prior to large-scale integration is necessary to establish a reliable performance baseline.
We are currently extending this work toward a general-purpose timing generator capable of producing synchronized 10 MHz reference clocks and configurable trigger patterns for a broad range of diagnostic needs. As a next step, the developed timing module will be integrated into the DTT CODAS network through the TEON communication layer, where its performance will be evaluated under multi-node and switched-network conditions to assess long-term stability and synchronization behavior in a realistic operational environment.

Author Contributions

Conceptualization, A.A.P., G.F. and G.M.; Methodology, A.A.P. and L.B.; Software and Hardware Implementation, A.A.P.; Validation and Data Analysis, A.A.P. and L.B.; Writing—Original Draft Preparation, A.A.P.; Writing—Review and Editing, G.F. and G.M. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Italian National Recovery and Resilience Plan (PNRR–NextGenerationEU), PhD grant D.M. 117/2023, and by the DTT project (CUP: H23C23000620003).

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Acknowledgments

The authors gratefully acknowledge the Italian National Agency for New Technologies, Energy and Sustainable Economic Development (ENEA, Frascati, Italy), the Divertor Tokamak Test facility (DTT S.c.a r.l., Frascati, Italy), and the Consortium for Fusion Research (Consorzio RFX, Padova, Italy) for providing the institutional framework and research infrastructure that supported this work.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Ambrosino, R. with the Support of the DTT Community. DTT-Divertor Tokamak Test facility: A testbed for DEMO. Fusion Eng. Des. 2021, 167, 112330. [Google Scholar] [CrossRef]
  2. Albanese, R.; Ambrosino, R.; Ariola, M.; De Tommasi, G.; Pironti, A.; Cavinato, M.; Neto, A.; Piccolo, F.; Sartori, F.; Ranz, R.; et al. Diagnostics, data acquisition and control of the divertor test tokamak experiment. Fusion Eng. Des. 2017, 122, 365–374. [Google Scholar] [CrossRef]
  3. Manduchi, G.; Zanon, F.; Boncagni, L.; Mosetti, P.; Martini, G.; Paccagnella, G.; Centioli, C.; Ambrosino, R.; Sartori, F. The control and data acquisition system of the DTT experiment. Fusion Eng. Des. 2025, 211, 114777. [Google Scholar] [CrossRef]
  4. Manduchi, G. DTT CODAS Architecture; Technical Report COD-SPT-46000; DTT S.c.a.r.l.: Frascati, Italy, 2022. [Google Scholar]
  5. Network Time Protocol (NTP). Available online: https://www.ntp.org/ (accessed on 29 November 2025).
  6. IEEE Std 1588-2019 (Revision of IEEE Std 1588-2008); IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems. Institute of Electrical and Electronics Engineers (IEEE): New York, NY, USA, 2020; pp. 1–499. [CrossRef]
  7. Lipiński, M. The Inclusion of White Rabbit into the Global Industry Standard IEEE 1588. In Proceedings of the 18th International Conference on Accelerator and Large Experiment Physics Control Systems (ICALEPCS2021), Shanghai, China, 14-22 October 2021; JACoW Publishing: Geneva, Switzerland, 2022; pp. 127–131. [Google Scholar] [CrossRef]
  8. Zhang, B.; Tao, T.; Zhu, J. Design considerations for hardware implementation of nanoseconds time synchronization low-cost system based on precise time protocol. J. Instrum. 2022, 17, T12006. [Google Scholar] [CrossRef]
  9. Moreira, N.; Lázaro, J.; Bidarte, U.; Jimenez, J.; Astarloa, A. On the Utilization of System-on-Chip Platforms to Achieve Nanosecond Synchronization Accuracies in Substation Automation Systems. IEEE Trans. Smart Grid 2017, 8, 1932–1942. [Google Scholar] [CrossRef]
  10. Megías, C.; Vázquez, V.; Ros, E.; Cappelli, M.; Díaz, J. Ethernet-based timing system for accelerator facilities: The IFMIF-DONES case. Comput. Netw. 2023, 233, 109897. [Google Scholar] [CrossRef]
  11. Schacht, J.; Brockmann, T.; Marquardt, M.; Recknagel, J.; Schröder, T. New Developments for the Trigger-Time-Event System for the W7-X Experiment. IEEE Trans. Nucl. Sci. 2025, 72, 545–552. [Google Scholar] [CrossRef]
  12. Shah, M.; Edappala, P.; Raulji, V.; Rajpal, R.; Tanna, R.; Ghosh, J. Trigger transceiver and timing control system for ADITYA-U tokamak. Nucl. Instrum. Methods Phys. Res. Sect. A Accel. Spectrometers Detect. Assoc. Equip. 2024, 1064, 169394. [Google Scholar] [CrossRef]
  13. Liu, G.; Makijarvi, P.; Pons, N. The ITER CODAC Network Design. Fusion Eng. Des. 2018, 130, 6–10. [Google Scholar] [CrossRef]
  14. Jabłoński, G.; Makowski, D.; Mielczarek, A.; Orlikowski, M.; Perek, P.; Napieralski, A.; Makijarvi, P.; Simrock, S. IEEE 1588 time synchronization board in MTCA. 4 form factor. IEEE Trans. Nucl. Sci. 2015, 62, 919–924. [Google Scholar] [CrossRef]
  15. Sanz, D.; Ruiz, M.; Lopez, J.; Castro, R.; Vega, J.; Barrera, E. IEEE 1588 clock distribution for FlexRIO devices in PXIe platforms. Fusion Eng. Des. 2014, 89, 652–657. [Google Scholar] [CrossRef]
  16. Tyagi, H.; Yadav, R.; Bhuyan, M.; Bandyopadhyay, M.; Singh, M.; Chakraborty, A. Event driven high speed data acquisition with IEEE 1588 synchronization for long pulse operations of Indian Test Facility for ITER DNB. Fusion Eng. Des. 2024, 204, 114487. [Google Scholar] [CrossRef]
  17. He, S.; Huang, L.; Shen, J.; Gao, G.; Wang, G.; Chen, X.; Zhu, L. Time synchronization network for EAST poloidal field power supply control system based on IEEE 1588. IEEE Trans. Plasma Sci. 2018, 46, 2680–2684. [Google Scholar] [CrossRef]
  18. Zhang, Z.; Xiao, B.; Ji, Z.; Wang, Y.; Wang, P. Progress in the development of the EAST timing synchronization system upgrade based on precision time protocol. Fusion Eng. Des. 2018, 129, 236–240. [Google Scholar] [CrossRef]
  19. Liu, P.; Ren, L.; Zhang, J.; Luo, C.; Zhao, L. Research progress of HL-2M distributed timing system. Fusion Eng. Des. 2020, 153, 111491. [Google Scholar] [CrossRef]
  20. Trevisan, L.; Luchetta, A.; Manduchi, G.; Taliercio, C.; Rigoni, A.; Barbato, P. Assessment of IEEE 1588-Based Timing System of the ITER Neutral Beam Test Facility. IEEE Trans. Nucl. Sci. 2023, 70, 882–889. [Google Scholar] [CrossRef]
  21. Patoli, A.A.; Fortino, G. FPGA-Based System Implementation of IEEE 1588 Precision Time Protocol: A Review. IEEE Sens. J. 2025, 25, 18624–18642. [Google Scholar] [CrossRef]
  22. AMD Kria™ System-on-Modules. Available online: https://www.amd.com/en/products/system-on-modules/kria.html (accessed on 25 July 2025).
  23. Cochran, R. LinuxPTP. 2024. Available online: https://github.com/richardcochran/linuxptp (accessed on 9 November 2025).
  24. Abdullah Soomro, M.; Anwar, F.M. Breaking Precision Time: OS Vulnerability Exploits Against IEEE 1588. arXiv 2025, arXiv:2510.06421. [Google Scholar] [CrossRef]
  25. Maegawa, R.; Matsui, D.; Yamasaki, Y.; Ohsaki, H. A Discrete Model of IEEE 1588-2008 Precision Time Protocol with Clock Servo using PI Controller. In Proceedings of the 2019 IEEE 43rd Annual Computer Software and Applications Conference (COMPSAC), Milwaukee, WI, USA, 15–19 July 2019; Volume 2, pp. 531–536. [Google Scholar] [CrossRef]
  26. Kovácsházy, T. Holdover Improvements to the linuxptp Servo for Network Adapters with High-Precision Oscillators. In Proceedings of the 2023 IEEE International Symposium on Precision Clock Synchronization for Measurement, Control, and Communication (ISPCS), London, UK, 18–22 September 2023; pp. 1–6. [Google Scholar] [CrossRef]
  27. Teledyne LeCroy. HDO6000B High Definition Oscilloscopes Datasheet; Teledyne LeCroy: Chestnut Ridge, NY, USA, 2025. [Google Scholar]
  28. Esquembri, S.; Sanz, D.; Barrera, E.; Ruiz, M.; Bustos, A.; Vega, J.; Castro, R. Hardware Timestamping for an Image Acquisition System Based on FlexRIO and IEEE 1588 v2 Standard. IEEE Trans. Nucl. Sci. 2016, 63, 228–235. [Google Scholar] [CrossRef][Green Version]
Figure 1. Architecture of the proposed DTT CODAS network infrastructure, illustrating the communication domains used for control, diagnostics, and timing distribution within the facility [4].
Figure 1. Architecture of the proposed DTT CODAS network infrastructure, illustrating the communication domains used for control, diagnostics, and timing distribution within the facility [4].
Futureinternet 18 00159 g001
Figure 2. Exchange of IEEE 1588 PTP messages and corresponding timestamps used for clock offset and path delay estimation.
Figure 2. Exchange of IEEE 1588 PTP messages and corresponding timestamps used for clock offset and path delay estimation.
Futureinternet 18 00159 g002
Figure 3. Software stack used for PTP synchronization on the KR260 platform, illustrating the interaction between user-space PTP daemons, the kernel-level PHC framework, and the MACB driver responsible for hardware timestamping.
Figure 3. Software stack used for PTP synchronization on the KR260 platform, illustrating the interaction between user-space PTP daemons, the kernel-level PHC framework, and the MACB driver responsible for hardware timestamping.
Futureinternet 18 00159 g003
Figure 4. Experimental setup used for synchronization evaluation, showing the PTP master and slave KR260 boards connected via Ethernet and monitored using an oscilloscope to verify PPS alignment between synchronized nodes.
Figure 4. Experimental setup used for synchronization evaluation, showing the PTP master and slave KR260 boards connected via Ethernet and monitored using an oscilloscope to verify PPS alignment between synchronized nodes.
Futureinternet 18 00159 g004
Figure 5. High-resolution acquisition of PPS signals used to compute the timing offset between master and slave nodes for precise synchronization analysis.
Figure 5. High-resolution acquisition of PPS signals used to compute the timing offset between master and slave nodes for precise synchronization analysis.
Futureinternet 18 00159 g005
Figure 6. Temporal evolution of the clock offset between master and slave nodes over the full acquisition period, demonstrating stable synchronization without long-term drift.
Figure 6. Temporal evolution of the clock offset between master and slave nodes over the full acquisition period, demonstrating stable synchronization without long-term drift.
Futureinternet 18 00159 g006
Figure 7. Statistical distribution of the measured PPS clock offsets, showing an approximately Gaussian distribution centered near zero.
Figure 7. Statistical distribution of the measured PPS clock offsets, showing an approximately Gaussian distribution centered near zero.
Futureinternet 18 00159 g007
Figure 8. Estimated one-way network path delay between master and slave nodes obtained from PTP delay-request messages over the full acquisition period.
Figure 8. Estimated one-way network path delay between master and slave nodes obtained from PTP delay-request messages over the full acquisition period.
Futureinternet 18 00159 g008
Figure 9. Frequency correction applied to the slave oscillator by the PTP clock control loop, illustrating continuous compensation of oscillator drift during the synchronization process.
Figure 9. Frequency correction applied to the slave oscillator by the PTP clock control loop, illustrating continuous compensation of oscillator drift during the synchronization process.
Futureinternet 18 00159 g009
Table 1. Statistical summary of the PTP synchronization parameters.
Table 1. Statistical summary of the PTP synchronization parameters.
ParameterMean ( μ )Std. Dev. ( σ )Min ( x min )Max ( x max )
Offset (ns) from PPS−0.598.49−32.732
Path Delay (ns)8502.50839860
Frequency Adjustment (ppb)−193847−2063−1804
Table 2. Quantitative comparison of representative IEEE 1588 timing platforms used in fusion-oriented data acquisition systems.
Table 2. Quantitative comparison of representative IEEE 1588 timing platforms used in fusion-oriented data acquisition systems.
ReferenceTiming PlatformRMS AccuracyApplication
 [16]NI PXI-6683H (PTP Grandmaster) + NI PCI-1588
(PTP Slave)
7.24 nsITER DNB
 [28]Hirschmann MACH1040 (Grandmaster) + NI PXI-6682
(PTP Slave)
6.86 nsITER Fast Controllers
 [14]Custom MTCA.4 timing module
(Xilinx Spartan-6 FPGA)
11.7 nsITER TCN
 [18]NI PXI-6683H + NI PXIe-811535 nsEAST PF
 [19]NI PXI-6683H + HIRSCHMANN MAR1040
(PTP switch)
8.12 nsHL-2M Tokamak
 [20]Meinberg microSync RX201 (Grandmaster) + Kyland
SICOM 3000A (PTP switch) + NI PXI-6683H (PTP slave)
11 nsITER NBTF
This workKria KR260 FPGA SoM8.5 nsDTT CODAS
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Patoli, A.A.; Boncagni, L.; Manduchi, G.; Fortino, G. FPGA-Based Time Synchronization over Ethernet Networks for the DTT Control and Data Acquisition System. Future Internet 2026, 18, 159. https://doi.org/10.3390/fi18030159

AMA Style

Patoli AA, Boncagni L, Manduchi G, Fortino G. FPGA-Based Time Synchronization over Ethernet Networks for the DTT Control and Data Acquisition System. Future Internet. 2026; 18(3):159. https://doi.org/10.3390/fi18030159

Chicago/Turabian Style

Patoli, Aamir Ali, Luca Boncagni, Gabriele Manduchi, and Giancarlo Fortino. 2026. "FPGA-Based Time Synchronization over Ethernet Networks for the DTT Control and Data Acquisition System" Future Internet 18, no. 3: 159. https://doi.org/10.3390/fi18030159

APA Style

Patoli, A. A., Boncagni, L., Manduchi, G., & Fortino, G. (2026). FPGA-Based Time Synchronization over Ethernet Networks for the DTT Control and Data Acquisition System. Future Internet, 18(3), 159. https://doi.org/10.3390/fi18030159

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop