A multi-sensor hardware trigger synchronization system and method based on GNSS, PPS and PTP three-level time reference fusion

The multi-sensor synchronization system, which integrates three-level time base fusion and hardware homogeneity design, solves the synchronization error problems caused by GNSS lock-up and crystal oscillator drift, achieving high-precision and stable time synchronization and data alignment, and adapting to complex environments.

CN123184775APending Publication Date: 2026-11-27SUZHOU YINMI SPACE-TIME INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611342234.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing multi-sensor time synchronization technologies struggle to maintain stable synchronization accuracy in high-precision and complex environments, especially in GNSS lock-out scenarios and when the sensor's local crystal oscillator drifts, resulting in timestamp uncertainty and accumulated error issues.

Method used

A hardware-triggered synchronization system based on the fusion of GNSS, PPS and PTP three-level time bases is adopted. A unified hardware time counter is established through FPGA. Combined with the temperature-controlled crystal oscillator discipline and predictive timekeeping mechanism, the hardware of time information distribution and sampling triggering is made consistent, eliminating the uncertainty between the trigger time base and the time distribution time base.

Benefits of technology

It improves the time consistency and synchronization accuracy of multi-sensor systems in complex environments, avoids errors caused by software delays and crystal drift, ensures the determinism and repeatability of data acquisition, and extends the high-precision working time of the system in environments with limited GNSS signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184775A_ABST
    Figure CN123184775A_ABST
Patent Text Reader

Abstract

The application discloses a multi-sensor hardware trigger synchronization system and method based on GNSS, PPS and PTP three-level time reference fusion, relates to the field of multi-sensor time synchronization, and comprises a GNSS timing module, a time synchronization controller, a PTP time synchronization module, a local high-stability clock module, a hardware trigger interface module, a time synchronization state monitoring module and a data fusion processing module. The time synchronization controller takes FPGA as a core, establishes a unified hardware time counter, simultaneously serves as a shared time reference for accurate time protocol time information distribution and synchronization trigger pulse generation, and realizes hardware homology. The application can solve the problems of time reference inconsistency in the multi-sensor fusion system, sampling trigger and clock synchronization disconnection and synchronization precision deterioration after GNSS lock loss, and can be applied to high-precision time synchronization and fusion perception of multi-source heterogeneous sensor data in the fields of automatic driving, intelligent robots and vehicle-road cooperation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of multi-sensor time synchronization technology, and in particular to a multi-sensor hardware-triggered synchronization system and method based on the fusion of three-level time bases: GNSS, PPS, and PTP. Background Technology

[0002] As autonomous driving technology evolves to higher levels, and with the rapid development of fields such as embodied intelligence, robotics, and vehicle-to-everything (V2X) communication, multi-sensor fusion perception has become a core technological path for environmental perception. Typical autonomous driving systems often incorporate various heterogeneous sensors, such as LiDAR, cameras, millimeter-wave radar, and inertial measurement units (IMUs). These sensors operate independently at different sampling frequencies and have their own local clocks. To enable the fusion processing of perception data from different sensors under the same time reference, a precise multi-sensor time synchronization mechanism must be established. The accuracy of time synchronization directly affects system performance. When a vehicle is traveling at high speed, even a small time error can lead to considerable spatial positioning deviations, introducing uncertainty into centimeter-level target tracking systems. Therefore, high-precision time synchronization has become a core performance indicator for autonomous driving and intelligent robotic systems.

[0003] Currently, mainstream technologies for multi-sensor time synchronization include software synchronization schemes based on Network Time Protocol (NTP), time synchronization schemes based on GNSS second pulses, network synchronization schemes based on Precise Time Protocol (PTP), and sensor synchronization schemes based on hardware trigger signals. NTP schemes distribute time information through a hierarchical time synchronization architecture, but timestamps are only added after the data enters the operating system kernel or application layer, resulting in various uncertainties such as trigger delay, transmission delay, and operating system scheduling delay, leading to insufficient accuracy. While GNSS second pulse schemes can provide a high-precision absolute time reference, their signals are prone to loss of lock in obstructed environments such as tunnels, underground parking garages, and urban canyons, and their deployment in distributed systems is complex and lacks scalability. PTP schemes provide high-precision clock synchronization services to master and slave devices via Ethernet, but as a relative time synchronization protocol, they cannot provide a global time reference aligned with Coordinated Universal Time (UTC). Hardware trigger schemes directly drive sensor acquisition by sending physical level pulse signals from the master controller, but they fail to solve the problem of cumulative drift of independent clocks from each sensor.

[0004] In existing hybrid synchronization schemes of GNSS and precise time protocols, most schemes treat the two as relatively independent functional modules, lacking deep integration at the hardware level. They are insufficient in dealing with GNSS lockout scenarios, and the trigger time base and time distribution time base are from different sources, resulting in an uncertain time gap between when to collect data and what time base to use for stamping. Summary of the Invention

[0005] This invention overcomes the shortcomings of existing technologies and provides a multi-sensor hardware-triggered synchronization system and method based on the fusion of GNSS, PPS, and PTP three-level time bases. It uses the GNSS second pulse signal as the nanosecond-level absolute time base, a precise time protocol as the network time distribution means, and FPGA hardware triggering as the guarantee for sampling event synchronization. A unified hardware time counter shared by time distribution and trigger pulse generation is established within the FPGA, thereby achieving hardware homogeneity between time information distribution and sampling triggering. Simultaneously, a temperature-controlled crystal oscillator discipline and predictive timekeeping mechanism are introduced to address GNSS lock-off scenarios. Closed-loop control of the trigger edge is achieved through event timestamps. The aim is to construct a fully integrated, high-precision time synchronization solution from time base acquisition and network time distribution to sampling event triggering.

[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows: Firstly, the present invention provides a multi-sensor hardware-triggered synchronization system based on the fusion of GNSS, PPS, and PTP three-level time bases, comprising:

[0007] The GNSS timing module is used to receive signals from the Global Navigation Satellite System and output second pulse signals and Coordinated Universal Time (UTC) information.

[0008] A time synchronization controller, connected to the GNSS timing module, is used to receive the second pulse signal and the Coordinated Universal Time (UTC) time information, perform rising edge detection and edge alignment processing on the second pulse signal, and generate multiple synchronization trigger pulse signals based on the second pulse signal. The time synchronization controller uses a field-programmable gate array (FPGA) as its core processing unit. A unified hardware time counter is established inside the FPGA, which also serves as a shared time reference for the distribution of precise time protocol time information and the generation of synchronization trigger pulses.

[0009] The PTP time synchronization module is used to distribute time information to various sensor devices via Ethernet based on the Precision Time Protocol standard.

[0010] The local high-stability clock module includes a thermostatic crystal oscillator and its discipline circuit, which is used to discipline the thermostatic crystal oscillator with the second pulse signal as a reference when the GNSS signal is normal, and to maintain the time reference output based on the model established in the discipline phase when the GNSS signal is lost.

[0011] A hardware trigger interface module, connected to the time synchronization controller, is used to output the synchronization trigger pulse signal to each sensor device through a physical level signal line;

[0012] The time synchronization status monitoring module is used to monitor the synchronization status between each sensor node and the master clock in real time. When the synchronization accuracy is detected to exceed the preset threshold, resynchronization is triggered.

[0013] The data fusion processing module is used to receive data collected by various sensor devices and corresponding timestamp information, and to perform spatiotemporal alignment and fusion processing on multi-source sensor data based on a unified time reference.

[0014] In a preferred embodiment of the present invention, the system adopts a three-level time base fusion architecture:

[0015] The first level is the absolute time reference layer, where the GNSS timing module receives navigation satellite signals, performs timing calculations, and generates a second pulse signal with nanosecond-level precision and a message containing Coordinated Universal Time.

[0016] The second level is the network time unification layer. The PTP time synchronization module is based on the Precision Time Protocol standard. It achieves master-slave clock synchronization through master-slave clock synchronization messages and uses the network card's precision hardware clock to add hardware timestamps to data packets at the physical layer or data link layer boundary.

[0017] The third level is the sampling event synchronization layer. Based on the second pulse signal, the time synchronization controller generates multiple synchronous trigger pulse signals through the hardware parallel processing capability of the field programmable gate array. These signals are then used by the hardware trigger interface module to drive each sensor device to start data acquisition at the same time using physical level signals.

[0018] In a preferred embodiment of the present invention, the time synchronization controller integrates a second pulse signal calibration module, a pulse frequency division and multiplication module, and a multi-channel pulse output module; the field-programmable gate array (FPGA) detects the rising edge of the second pulse signal and establishes a phase correspondence between the local time base and the second pulse signal through a digital phase-locked loop (PLL); the FPGA generates synchronization trigger pulse signals of different frequencies by frequency division or multiplication according to the operating frequency requirements of each sensor device, the frequency of the synchronization trigger pulse signals is adjustable, and the frequency division coefficient, multiplication coefficient, pulse width, and phase offset of each trigger channel are independently configurable; when the rising edge of the second pulse arrives, the FPGA performs synchronization calibration on the digitally controlled oscillator phase accumulator of all trigger channels.

[0019] In a preferred embodiment of the present invention, when the GNSS signal is normal, the local high-stability clock module uses the second pulse signal as a reference and performs frequency training on the isothermal crystal oscillator through a digital phase-locked loop and Kalman filtering algorithm, and simultaneously collects frequency difference data to establish an aging characteristic model and a temperature characteristic model of the crystal oscillator.

[0020] When the GNSS signal is lost, the Kalman filter stops measurement updates and switches to a pure prediction state extrapolation mode. Using the state variables estimated during the taming phase as initial values, the local clock is recursively predicted and its frequency is continuously corrected cycle by cycle, in conjunction with the aging characteristic model and the temperature characteristic model.

[0021] In a preferred embodiment of the present invention, the hardware trigger interface module outputs a trigger signal to each sensor device in the form of a physical level pulse signal through a synchronous input / output interface; the pulse width of the synchronous trigger pulse signal is configurable; each sensor device starts data acquisition when it receives the rising edge of the trigger pulse signal.

[0022] In a preferred embodiment of the present invention, the field-programmable gate array (FPGA) records the rising edge of each synchronous trigger pulse signal under the drive of the unified hardware time counter, and performs time-to-digital conversion and phase interpolation on the sub-cycle phase residue of the trigger edge relative to the clock edge to form an event timestamp with a time resolution better than a single FPGA clock cycle; the event timestamp is based on the Coordinated Universal Time (UTC) time reference and is of the same origin at the hardware level as the time information distributed via the Precision Time Protocol.

[0023] In a preferred embodiment of the present invention, the time synchronization status monitoring module periodically acquires time deviation and network delay data between each slave clock node and the master clock through a precise time protocol, and directly reads the deviation between the event timestamp and the rising edge of the second pulse of each trigger channel as the observation for triggering synchronization; when the synchronization deviation or trigger edge deviation of a certain sensor node is detected to exceed a preset threshold, an adjustment command is sent to the time synchronization controller, and the time synchronization controller adjusts the phase or frequency of the synchronization trigger pulse in a minimum step of one clock cycle of the unified hardware time counter.

[0024] In a preferred embodiment of the present invention, the PTP time synchronization module automatically selects a clock source in the network as the master clock through an optimal master clock algorithm; it supports boundary clock and transparent clock modes.

[0025] In a preferred embodiment of the present invention, the GNSS timing module adopts a dual-mode timing scheme of GPS and BeiDou satellite navigation systems, which automatically switches to the other system to continue providing second pulse signals and Coordinated Universal Time (UTC) information when the signal of a single system is limited.

[0026] Secondly, this invention provides a time synchronization method for a multi-sensor hardware-triggered synchronization system based on the fusion of GNSS, PPS, and PTP three-level time bases, comprising the following steps:

[0027] S1, the GNSS timing module receives satellite signals and outputs second pulse signals and Coordinated Universal Time (UTC) information;

[0028] S2. The time synchronization controller uses the second pulse signal as a reference to frequency discipline the isothermal crystal oscillator of the local high-stability clock module, so that the local clock is synchronized with the Coordinated Universal Time (UTC) time reference.

[0029] S3. The time synchronization controller establishes a unified hardware time counter within the field programmable gate array based on the disciplined local clock, and generates multiple synchronous trigger pulse signals based on the unified hardware time counter, which are then output to each sensor device in physical level mode via the hardware trigger interface module.

[0030] S4. The PTP time synchronization module uses the unified hardware time counter as the precise time protocol domain time reference and distributes time synchronization information to each sensor device via Ethernet. Each sensor node corrects its local clock according to the precise time protocol.

[0031] S5. When each sensor device receives the rising edge of the synchronous trigger pulse signal, it starts data acquisition. The field programmable gate array, driven by the unified hardware time counter, performs time-to-digital conversion and phase interpolation on each trigger edge to generate an event timestamp. Each sensor adds a timestamp based on the unified Coordinated Universal Time (UTC) time reference to the acquired data based on the corrected local clock and the event timestamp.

[0032] S6. The time synchronization status monitoring module monitors the synchronization deviation of each sensor node and the event timestamp deviation of each trigger channel in real time. When the deviation exceeds the preset threshold, it triggers resynchronization and adjusts the phase or frequency of the trigger pulse. When the GNSS signal is lost, the system switches to a pure prediction timekeeping mode.

[0033] S7. The data fusion processing module receives data and corresponding timestamps from various sensor devices and performs spatiotemporal alignment and fusion processing of multi-source data based on the unified Coordinated Universal Time (UTC) time reference.

[0034] This invention addresses the shortcomings of the prior art and has the following beneficial effects:

[0035] (1) This invention provides a multi-sensor hardware triggering synchronization system and method based on the fusion of three-level time bases: GNSS, PPS and PTP. By proposing a three-level time base fusion architecture and establishing a unified hardware time counter inside the field programmable gate array, the counter serves as a shared time reference for the distribution of precise time protocol time information and the generation of synchronization trigger pulses. Through hardware homogeneous design, the link between the trigger time base and the time distribution time base that relies on software conversion to establish a correlation can be effectively eliminated, so that the reference base of the sampling trigger time and the data timestamp is directly unified at the hardware level. This solves the timing gap problem caused by different sources of trigger pulse generation and time information distribution, and improves the reliability of system time consistency from the architecture level.

[0036] (2) This invention uses a hardware physical triggering method to drive sensor data acquisition. The multi-channel synchronous trigger pulse signal generated by the field-programmable gate array directly drives each sensor to start acquisition in a physical level manner. This method avoids the jitter introduced by the operating system scheduling delay and protocol stack buffer, ensuring the determinism and repeatability of the sampling triggering time. At the same time, the hardware parallel processing capability of the field-programmable gate array ensures the time consistency of the output signal of each trigger channel, avoids the inter-channel delay difference introduced by serial processing, and enables each sensor to complete data acquisition at the same time, improving the alignment quality of multi-source data on the time axis.

[0037] (3) The local high-stability clock module introduced in this invention uses the second pulse as a reference to tame the frequency of the isothermal crystal oscillator when the GNSS signal is normal, and simultaneously establishes an aging and temperature model. When the GNSS signal is lost, the system switches to the model-based state extrapolation prediction mode, uses the state variables obtained in the taming stage to recursively correct the local clock frequency on a cycle basis, and declares the accuracy degradation when the error exceeds the limit. This enables the system to maintain effective timekeeping capability in environments where GNSS signals are limited, such as tunnels and underground garages, effectively extending the high-precision working time of the system under conditions without an external absolute time reference, thereby improving the system's adaptability to complex operating environments.

[0038] (4) This invention distributes time information in the network through a precise time protocol. It uses the network card’s precise hardware clock to directly add timestamps to data packets at the physical layer, which can avoid the impact of software protocol stack processing delay on timestamp accuracy. Each sensor node corrects its local clock according to the precise time protocol, so that the time base of each device in the network is consistent. On this basis, the event timestamp generated by the field programmable gate array and the precise time protocol distribution time are based on the same hardware counter. The data collected by each sensor is stamped with a unified Coordinated Universal Time timestamp, thereby eliminating the cumulative time error caused by the local crystal oscillator frequency offset and temperature drift of each sensor, and providing a reliable time base for subsequent data fusion.

[0039] (5) The time synchronization status monitoring module introduced in this invention continuously acquires the synchronization deviation of each slave clock node and the event timestamp deviation of each trigger channel. When the deviation exceeds the preset threshold, it sends an adjustment command to the time synchronization controller. The controller adjusts the phase or frequency of the trigger pulse with the clock period of the unified hardware time counter as the minimum step. This closed-loop control mechanism enables the system to sense the dynamic changes in the synchronization status and actively implement correction. It can overcome the problem of slow drift of synchronization deviation with temperature change and device aging under open-loop control, so that the system can maintain stable synchronization accuracy in long-term operation. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 This is a schematic diagram of the overall architecture of the multi-sensor hardware-triggered synchronization system based on the fusion of three-level time bases: GNSS, PPS, and PTP, according to the present invention.

[0042] Figure 2 This is a hierarchical diagram of the three-level time base fusion architecture of the present invention;

[0043] Figure 3 This is a schematic diagram of the timing relationship between the PPS signal and the multi-channel trigger pulses of the present invention;

[0044] Figure 4 This is an interactive flowchart of the master-slave clock synchronization message of the PTP protocol of this invention;

[0045] Figure 5 This is a schematic diagram illustrating the principle of local clock timekeeping when the GNSS signal is lost in this invention;

[0046] Figure 6 This is a schematic diagram of the closed-loop control process for time synchronization in this invention;

[0047] Figure 7 This is a schematic diagram of the multi-sensor data timestamp alignment and fusion processing of the present invention. Detailed Implementation

[0048] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0049] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein. Therefore, the scope of protection of the invention is not limited to the specific embodiments disclosed below.

[0050] Example 1:

[0051] like Figure 1As shown in the figure, this embodiment provides a multi-sensor hardware trigger synchronization system based on the fusion of GNSS, PPS and PTP three-level time references. The system is applied to the multi-sensor fusion perception scenario of autonomous vehicles. The involved sensors include lidar, cameras, inertial measurement units and millimeter-wave radars, which are distributed in different positions of the vehicle and operate at their respective independent sampling frequencies.

[0052] The overall working principle of the system is as follows: the GNSS timing module outputs a pulse per second signal and Coordinated Universal Time information after receiving satellite signals; the time synchronization controller takes the pulse per second signal as a reference to perform frequency disciplining on the local oven-controlled crystal oscillator, and the disciplined local clock serves as the time reference of the entire system; a unified hardware time counter is built inside the time synchronization controller, which simultaneously provides time reference for precise time protocol time information distribution and synchronous trigger pulse generation; the PTP time synchronization module distributes the time information represented by the unified hardware time counter to each sensor node via Ethernet, so that the local clock of each node is aligned with the master clock; the hardware trigger interface module sends the synchronous trigger pulse generated by the time synchronization controller to each sensor device in the form of physical level, driving each sensor to start data acquisition at a unified time; the time synchronization status monitoring module continuously obtains the synchronization deviation of each node and feeds it back to the time synchronization controller for closed-loop correction; the data fusion processing module receives the data collected by each sensor and its corresponding timestamp, and completes the spatiotemporal alignment and fusion output of multi-source data on a unified time axis.

[0053] It should be noted that the core technical challenges faced by this embodiment are as follows: the GNSS signal is prone to losing lock in occluded environments such as tunnels and underground garages, and the system loses the external absolute time reference after losing lock; meanwhile, the local crystal oscillator of each sensor device has an inherent frequency deviation, which continuously accumulates with time and temperature changes, causing the clock readings of each device to gradually deviate; in addition, if the time base for trigger pulse generation and the time base for precise time protocol time distribution belong to different clock systems, the reference basis between the sampling trigger time and the data timestamp needs to be correlated through software conversion, which introduces uncertain delay jitter. The above three levels of challenges are coupled with each other, making it difficult for the system to maintain stable synchronization accuracy during long-term operation. This embodiment addresses the above challenges through a three-level time reference fusion architecture, an oven-controlled crystal oscillator predictive timekeeping mechanism, and a hardware homogenous design of the trigger time base and the time distribution time base.

[0054] Referring to Figure 1 , the system includes a GNSS timing module, a time synchronization controller, a PTP time synchronization module, a local high-stability clock module, a hardware trigger interface module, a time synchronization status monitoring module and a data fusion processing module. All modules are interconnected through a signal bus and Ethernet to form a complete full-link time synchronization system.

[0055] In this embodiment, the GNSS timing module adopts a GPS and BeiDou dual-mode receiver, which can simultaneously receive signals from two navigation satellite systems for timing calculation. When the number of received satellites is no less than four, the module can output valid timing results.

[0056] It should be noted that the module outputs two types of signals: one is the transistor-transistor logic level pulse-per-second hardware signal, whose rising edge is precisely aligned with the whole second moment of Coordinated Universal Time; the other is a serial data message containing Coordinated Universal Time, date and positioning information. The message adopts the GPRMC format and conforms to the NMEA 0183 standard. The pulse-per-second signal is used in conjunction with the serial time message, enabling the system to obtain complete time information combining pulse edges and whole second time values.

[0057] Optionally, the GNSS timing module can also adopt a GPS single-mode timing scheme, which can still ensure nanosecond-level pulse-per-second output accuracy in areas with good GNSS signal coverage.

[0058] Refer Figure 2 ring to FIG., the system of this embodiment adopts a three-level time reference fusion architecture. The first level is the absolute time reference layer, where the pulse-per-second signal output by the GNSS timing module provides a nanosecond-level absolute time reference for the entire system, and this signal serves as the physical basis for system time traceability to Coordinated Universal Time. The second level is the network time unification layer, where the PTP time synchronization module, based on the IEEE1588-2008 standard, distributes the time information of the master clock to each sensor node in the network via Ethernet. The third level is the sampling event synchronization layer, where the time synchronization controller generates multiple paths of synchronous trigger pulses based on the disciplined local clock, and drives each sensor device to start data acquisition at a unified moment through the hardware trigger interface module using physical level signals. The three-level architecture progresses step by step, jointly forming a complete time synchronization link from time reference acquisition, network time distribution to sampling event triggering.

[0059] In this embodiment, the time synchronization controller uses a field-programmable gate array (FPGA) as its core processing unit, which integrates a second pulse signal calibration module, a pulse frequency division and multiplication module, a multi-channel pulse output module, and an event timestamp module. The time synchronization controller is connected to the GNSS timing module, receives the second pulse signal and Coordinated Universal Time (UTC) information, performs rising edge detection and edge alignment processing on the second pulse signal, and generates multiple synchronization trigger pulse signals based on the doctrinal local clock. The FPGA internally establishes a unified hardware time counter based on the doctrinal local clock. This counter is a 64-bit nanosecond counter, driven by a high-speed sampling clock multiplied by a digital phase-locked loop (PLL) from the FPGA input clock. This unified hardware time counter serves as a shared time reference for precise time protocol time information distribution, synchronization trigger pulse generation, and event timestamp recording. All three share the same time source at the hardware level, eliminating the need for software conversion to establish a correlation.

[0060] Furthermore, participants Figure 3 The second pulse signal calibration module detects the rising edge of the second pulse signal and uses this rising edge as the system's 1 Hz time base reference. Since there is a phase deviation between the internal clock of the field-programmable gate array (FPGA) and the rising edge of the second pulse, this embodiment uses a digital phase-locked loop (PLL) to achieve precise edge alignment. The numerically controlled oscillator of the PLL shares the same driving time base with the unified hardware time counter. Let the arrival time of the k-th second pulse be... The rising edge time of the kth local reference time base is Then the phase error of the digital phase-locked loop is:

[0061] .

[0062] This error characterizes the alignment error of the local reference time base relative to the second pulse reference edge.

[0063] Optionally, the loop filter of the digital phase-locked loop adopts a proportional-integral structure, and its output frequency control word is:

[0064] .

[0065] in, This is the proportionality coefficient. This is the integral coefficient. This frequency control word is used to adjust the output frequency of the numerically controlled oscillator inside the field-programmable gate array (FPGA), so that the phase of the local reference time base gradually tracks the second pulse reference edge, reducing edge alignment error. Convergence is achieved at the nanosecond level. The digital phase-locked loop adaptively switches its bandwidth between capture and lock modes. The capture mode uses a wide bandwidth to accelerate convergence, while the lock mode switches to a narrow bandwidth to suppress the effects of second pulse jitter.

[0066] In this embodiment, the pulse frequency division and multiplication module generates synchronous trigger pulse signals of different frequencies by dividing or multiplying the frequency according to the operating frequency requirements of each sensor device. Let the second pulse input frequency be... If the frequency is 1 Hz, then the output frequency is:

[0067] .

[0068] Where M is the frequency multiplication factor and N is the frequency division factor. The ratio of the frequency multiplication factor to the frequency division factor, the pulse width, and the phase offset of each trigger channel are all independently configurable, and the frequency of the synchronous trigger pulse signal is adjustable in the range of 1 Hz to 1000 Hz.

[0069] For example, for a camera with an operating frequency of 30 Hz, M = 30 and N = 1 are set, and the output frequency is 30 Hz; for a lidar with an operating frequency of 10 Hz, M = 10 and N = 1 are set, and the output frequency is 10 Hz; for an inertial measurement unit with an operating frequency of 500 Hz, M = 500 and N = 1 are set, and the output frequency is 500 Hz.

[0070] It should be noted that the trigger pulses for each channel are generated by a numerically controlled oscillator (CNC) driven by a unified hardware time counter. The phase accumulator width of the CNC oscillator is 48 bits. When the rising edge of the second pulse arrives, the field-programmable gate array (FPGA) performs a synchronization calibration on the phase accumulators of all trigger channels, simultaneously clearing each channel's phase accumulator and setting a unified initial phase bias, ensuring that the alignment deviation between the trigger edge of each channel and the rising edge of the second pulse does not exceed one FPGA clock cycle. Between two adjacent second pulses, the drift of each channel's trigger edge relative to the second pulse reference is determined only by the residual of the CNC oscillator's phase accumulation, which is much smaller than one clock cycle. The pulse width of each channel's trigger pulse is independently configured within the range of 10 μs to 100 ms.

[0071] In this embodiment, the hardware trigger interface module is connected to the time synchronization controller via a synchronous input / output interface, and outputs synchronous trigger pulse signals to each sensor device in the form of physical level pulse signals. Each sensor device starts data acquisition when it receives the rising edge of the trigger pulse signal.

[0072] For example, the camera is configured for externally triggered exposure mode via a general-purpose input / output interface, and the LiDAR is time-synchronized by receiving a second pulse signal and a serial data signal.

[0073] In this embodiment, the event timestamp module records the generation time of each trigger edge driven by a unified hardware time counter, and performs time-to-digital conversion phase interpolation on the sub-cycle phase residual of the trigger edge relative to the clock edge. In this embodiment, a multi-phase clock sampling method is used to implement phase interpolation, and the interpolation resolution is better than a single field programmable gate array clock cycle. The event timestamp of the k-th trigger edge of the i-th channel is:

[0074] .

[0075] Wherein, is the unified hardware time counter reading of the clock cycle where the trigger edge is located, is the sub-cycle residual obtained by time-to-digital conversion phase interpolation, and the value range of the residual is greater than or equal to 0 and less than , is the counter clock cycle. The event timestamp and the precise time protocol time distribution are based on the same hardware time reference, the time resolution of the trigger moment reaches the order of several nanoseconds, and the synchronization accuracy of the system relative to the coordinated universal time is jointly determined by the GNSS timing accuracy, clock discipline accuracy and network synchronization error.

[0076] Preferably, the PTP time synchronization module is based on the IEEE 1588-2008 standard, and distributes high-precision time information to each sensor device through Ethernet. The PTP time synchronization module uses the precision hardware clock of the network card to directly add hardware timestamps to data packets at the physical layer or data link layer boundary.

[0077] It should be noted that the time source of the precise time protocol master clock comes from a disciplined local high-stability clock, and the synchronization message timestamp of the precise time protocol master clock is directly generated by the unified hardware time counter in the field programmable gate array at the hardware level, so that the absolute time reference of GNSS is distributed to each sensor node through the precise time protocol network. This module also automatically selects the optimal clock source in the network as the master clock through the best master clock algorithm, and supports boundary clock and transparent clock modes to adapt to complex network topologies.

[0078] Optionally, the PTP time synchronization module may adopt the IEEE 802.1AS standard instead of the IEEE 1588 standard, which has better protocol adaptability in specific application scenarios such as in-vehicle Ethernet.

[0079] Referring to Figure 4 , the message interaction process of master-slave clock synchronization of the precise time protocol is as follows: The master clock periodically sends a Sync message, and records the precise sending time by the precision hardware clock at the same time as the Sync message is sent . Since the Sync message itself does not contain a precise timestamp, the master clock subsequently sends a Follow_Up message to This information is carried to the slave clock. Upon receiving the Sync message, the slave clock records the precise reception time using a precision hardware clock. To measure the link round-trip delay, the clock signal is used at time [time]. Send a Delay_Req message and have the precise sending time recorded by a precision hardware clock. The master clock records the reception time when it receives the Delay_Req message. via the Delay_Resp message It is sent back to the slave clock.

[0080] Furthermore, obtain four timestamps from the clock. Assuming the network propagation delay between master and slave is symmetric and is D, and the time offset between master and slave clocks is θ, then there exists as well as .

[0081] Solving the system of equations simultaneously yields the time offset of the slave clock relative to the master clock:

[0082] .

[0083] Average latency for one-way network:

[0084] .

[0085] The local clock is then corrected based on this. ,in This is the slave clock reading before calibration. Repeat the above process, with the slave clock continuously tracking the master clock to achieve time synchronization at the microsecond to sub-microsecond level.

[0086] It should be noted that the above offset calculation is based on the assumption of symmetrical propagation delay in the master-slave link. This embodiment continuously monitors the bidirectional delay difference between the master and slave, assuming the one-way delay from the master clock to the slave clock is... The one-way delay from the clock to the master clock is ,when If the preset threshold is exceeded, an asymmetric delay is determined in the link, and an asymmetric correction term is introduced. This corrects the offset estimate to:

[0087] .

[0088] This suppresses the impact of link asymmetry on synchronization accuracy.

[0089] In this embodiment, the local high-stability clock module includes a temperature-controlled crystal oscillator and its discipline circuit. Figure 5When the GNSS signal is normal, the discipline circuit uses the second pulse signal as a reference and employs a digital phase-locked loop and Kalman filtering algorithm to discipline the frequency of the temperature-controlled crystal oscillator. The system state vector is defined. ,in, Let be the phase error between the local clock and Coordinated Universal Time during the k-th second pulse period. This refers to the relative frequency deviation of the temperature-controlled crystal oscillator. This refers to the frequency aging rate.

[0090] Let the taming update period T = 1 s, and the state transition matrix be:

[0091] .

[0092] The state transition equation is:

[0093] .

[0094] in, This is process noise.

[0095] Observation matrix The observation equation is:

[0096] .

[0097] in, The time error observation is obtained by comparing the rising edge of the second pulse signal with the local second pulse signal. For measuring noise.

[0098] Furthermore, the recursive process of Kalman filtering is as follows:

[0099] In the prediction phase, the prior state is estimated as follows:

[0100] .

[0101] The prior error covariance is:

[0102] .

[0103] Where Q is the process noise covariance matrix.

[0104] During the update phase, the Kalman gain is:

[0105] .

[0106] Where R is the measurement noise variance.

[0107] The posterior state estimate is:

[0108] .

[0109] The posterior error covariance is:

[0110] .

[0111] Where I is the identity matrix.

[0112] Understandably, through the above recursion, the system estimates and eliminates phase error and frequency deviation in real time, and feeds back the frequency control word to the discipline circuit of the thermostatic crystal oscillator, so that the output frequency of the thermostatic crystal oscillator is precisely aligned with the second pulse reference.

[0113] Furthermore, during the taming phase, the system synchronously collects the frequency difference data of the crystal oscillator, establishes an aging characteristic model and a temperature characteristic model for the isothermal crystal oscillator, and takes a first-order approximation of the relative frequency deviation of the isothermal crystal oscillator over time in the aging model:

[0114] .

[0115] in, The time to complete taming The relative frequency deviation, where a is the aging rate.

[0116] The temperature characteristic model is approximated as follows:

[0117] .

[0118] Where T is the temperature of the isothermal crystal oscillator temperature control layer. The baseline temperature for taming. It has a linear temperature coefficient. The temperature coefficient is a quadratic coefficient, obtained through least-squares fitting during the training phase. The values ​​of the temperature coefficients are based on the temperature-frequency characteristic curves provided in the manufacturer's datasheet for the cryogenic crystal oscillator, and are corrected using measured data during the training process to ensure the model matches the actual device characteristics.

[0119] In this embodiment, when the GNSS signal is lost, the system switches to time-keeping mode; at this time, the Kalman filter no longer obtains second pulse observations, measurement updates stop, and the filter switches to a pure prediction state extrapolation mode. (The time of loss of lock is used as a reference.) The initial state estimate is used as the basis for prediction, and the prediction is made periodically according to the state transition equation. The phase increment within each timekeeping cycle is compensated cycle by cycle according to the predicted frequency state quantity, so that the local clock phase is recursively updated in timekeeping mode by the following formula:

[0120] .

[0121] in, This represents the measured temperature of the temperature control layer of the isothermal crystal oscillator during the k-th time-keeping cycle. The system is based on the predicted phase error. The local clock is corrected in real time, while the trigger pulse and event timestamp generated based on the local clock are continuously output. The model parameters established during the disciplining phase include initial state value, aging rate, and temperature coefficient, which are simultaneously written into non-volatile memory to be directly loaded when the system is powered on again, so as to shorten the disciplining convergence time.

[0122] In this embodiment, the time synchronization state monitoring module monitors the synchronization state between each sensor node and the master clock in real time, including the time offset between the master and slave clocks, network delay, and synchronization accuracy. Referring to Figure 6 , the monitoring module reads the offset reported by each slave clock node at a fixed period and delay , where i is the serial number of the sensor node. Meanwhile, the monitoring module directly reads the deviation between the i-th channel trigger edge event timestamp generated by the field-programmable gate array event timestamp module and the pulse-per-second edge of the disciplined local time base as the direct observation quantity for trigger synchronization. This observation quantity is generated at the hardware level without passing through the network and protocol stack, reflecting the true deviation between the sampling event and the absolute time reference.

[0123] Further, when it is detected that the synchronization deviation of a certain sensor node exceeds a preset threshold, or the trigger edge deviation of a certain trigger channel exceeds a preset threshold, the time synchronization state monitoring module issues an alarm signal and sends an adjustment instruction to the time synchronization controller.

[0124] On the one hand, the time synchronization controller takes one clock cycle of the unified hardware time counter as the minimum step to adjust the phase or frequency of the synchronization trigger pulse of the corresponding channel, and realizes fine phase adjustment by modifying the phase offset word of the channel's numerically controlled oscillator, so as to change the sampling time of the sensor node to compensate for its time deviation.

[0125] On the other hand, the system triggers the re-synchronization process of the node, and its local clock is corrected again by the precision time protocol. Thus, a closed-loop control link from synchronization state perception to synchronization parameter adjustment and then to state re-measurement is formed. The trigger edge event timestamp provides a direct observation quantity independent of network measurement, enabling the closed-loop control to cover both network clock deviation and the phase drift of the trigger channel itself.

[0126] Referring to Figure 7The data fusion processing module receives data and corresponding event timestamps collected by each sensor device under hardware triggering, and aligns the data of each sensor on the time axis. Before alignment, the data fusion processing module first introduces an internal acquisition delay compensation model for each sensor. For the camera, compensation is performed based on the interval from the external trigger edge to the exposure midpoint, i.e., compensation for the difference between the trigger edge timestamp and the effective exposure time of the image. For the LiDAR, compensation is performed based on the angle interpolation time from each measurement point within the point cloud frame to the frame synchronization time. For the inertial measurement unit, compensation is performed based on the fixed delay of the sampling time relative to the trigger edge.

[0127] Furthermore, after compensation, for camera image frames and LiDAR point cloud frames, the most recent time match or interpolation alignment is performed on a unified time axis based on their respective timestamps. Subsequently, the time-aligned multi-source heterogeneous sensor data, including images, point clouds, inertial data, and millimeter-wave radar data, are transformed and time-aligned to output the fusion result, which is then used by upper-layer perception, localization, decision-making, and planning algorithms.

[0128] Example 2:

[0129] This embodiment provides a multi-sensor hardware triggering synchronization method based on the above system. This method is applied to a multi-sensor fusion sensing system. The sensors involved include lidar, camera, inertial measurement unit and millimeter-wave radar. Each sensor is distributed in different locations in the system and has different sampling frequencies and independent local clocks.

[0130] The overall process of this method is as follows: First, the local temperature-controlled crystal oscillator is frequency-trained using the second pulse signal output by the GNSS timing module, aligning the local clock with the Coordinated Universal Time (UTC) reference. Then, a unified hardware time counter is established within the field-programmable gate array (FPGA), providing a shared time reference for both precise time protocol time distribution and trigger pulse generation. Next, multiple synchronous trigger pulses are generated to drive each sensor to start data acquisition at a unified time using physical level signals, while simultaneously distributing the unified time information to each sensor node via the precise time protocol. When each sensor acquires data, a unified time reference timestamp is added based on the calibrated local clock and event timestamp. Finally, the monitoring module continuously monitors synchronization deviations and implements closed-loop correction, while the data fusion module completes the spatiotemporal alignment and fusion of multi-source data. This method is implemented according to the following steps.

[0131] The S1 GNSS timing module receives satellite signals and outputs second pulse signals and Coordinated Universal Time (UTC) information. The GNSS timing module uses a dual-mode GPS and BeiDou receiver, outputting valid second pulse signals and serial time messages in GPRMC format when at least four satellites are received. When the signal from a single system is limited, the module automatically switches to the other system to continue providing second pulse signals and UTC information.

[0132] S2. The time synchronization controller uses the second pulse signal as a reference to frequency-train the thermostatic crystal oscillator of the local high-stability clock module, synchronizing the local clock with the Coordinated Universal Time (UTC) time base. The training process employs an algorithm combining Kalman filtering and a digital phase-locked loop (PLL) as described in Example 1. After training convergence, the phase error of the local clock is eliminated, and the frequency deviation is corrected. During the training phase, aging characteristic models and temperature characteristic models of the thermostatic crystal oscillator are established simultaneously, and the model parameters are stored in non-volatile memory. Optionally, a temperature-compensated crystal oscillator can be used instead of a thermostatic crystal oscillator for the local high-stability clock module, suitable for portable devices with size and power consumption constraints.

[0133] S3, the time synchronization controller, based on the disciplined local clock, establishes a unified hardware time counter within the field-programmable gate array (FPGA). Based on this unified hardware time counter, it generates multiple synchronous trigger pulse signals, which are output to each sensor device in physical level mode via the hardware trigger interface module. The rising edge of each trigger pulse is aligned with the rising edge of the second pulse. When the second pulse edge arrives, synchronization calibration is performed on the phase accumulators of all channels' numerically controlled oscillators. The frequency of each channel's trigger pulse is independently configured within the range of 1 Hz to 1000 Hz according to the operating frequency requirements of each sensor, and the pulse width is independently configured within the range of 10 μs to 100 ms.

[0134] The S4 and PTP time synchronization modules use a unified hardware time counter within the field-programmable gate array (FPGA) as the time base for the Precision Time Protocol (PTP) domain, distributing high-precision time synchronization information to various sensor devices via Ethernet. Based on the IEEE 1588-2008 standard, this module utilizes the network interface card's (NIC) precision hardware clock to directly add hardware timestamps to data packets at the physical layer. Each sensor node corrects its local clock according to the Precision Time Protocol, achieving microsecond-level synchronization between the node's local clock and the master clock. The time information distributed by the Precision Time Protocol and the time base of the trigger pulse are identical at the hardware level.

[0135] S5. Each sensor device initiates data acquisition upon receiving the rising edge of the synchronization trigger pulse signal. Driven by a unified hardware time counter, the field-programmable gate array performs time-to-digital conversion and phase interpolation on each trigger edge to generate an event timestamp. Each sensor adds a timestamp based on the unified Coordinated Universal Time (UTC) reference to the acquired data, using its calibrated local clock and the event timestamp. The accuracy of this timestamp reaches the microsecond level.

[0136] S6. The time synchronization status monitoring module monitors the synchronization deviation of each sensor node and the event timestamp deviation of each trigger channel in real time. When the deviation exceeds a preset threshold, the module triggers resynchronization and dynamically adjusts the phase or frequency of the trigger pulse in a minimum step of one clock cycle of a unified hardware time counter to achieve closed-loop control. When the GNSS signal is lost, the system switches to a pure predictive timekeeping mode. When the upper confidence bound of the estimated timekeeping phase error exceeds the preset accuracy degradation threshold, the system announces a time synchronization accuracy degradation.

[0137] S7. The data fusion processing module receives data and corresponding timestamps from each sensor device. It first uses the internal acquisition delay compensation model of each sensor to correct the timestamps, and then performs spatiotemporal alignment and fusion processing of multi-source data based on the unified Coordinated Universal Time (UTC) time reference, and outputs the fusion result.

[0138] Example 3:

[0139] This embodiment provides verification of the timekeeping of the above system under GNSS signal lock-out scenarios. The GNSS timing module of the experimental platform uses a GPS and BeiDou dual-mode receiver. The time synchronization controller uses a field-programmable gate array (FPGA) to realize the rising edge detection and edge alignment of the second pulse signal. Internally, a 64-bit unified hardware time counter is established, and a digitally controlled oscillator generates frequency-adjustable multi-channel synchronization trigger pulses. The PTP time synchronization module is based on the IEEE 1588-2008 standard, using the unified hardware time counter as the time reference for the precise time protocol domain, and distributes time synchronization information to each sensor node via Ethernet. The local high-stability clock module uses a temperature-controlled crystal oscillator with a short-term stability of 1×10⁻⁶. -12 The aging rate is 1×10 -9 / day. After the system is powered on, it first performs frequency training of the temperature-controlled crystal oscillator. The training convergence time is 300 seconds. After convergence, the phase error between the local clock and Coordinated Universal Time is eliminated.

[0140] Under normal GNSS signal conditions, the system runs continuously and records the deviation between the trigger edge event timestamp and the Coordinated Universal Time (UTC) whole second reference for each trigger channel, as well as the consistency deviation between the trigger edge event timestamp and the Precision Time Protocol (Precision Time Protocol) distribution time. The test duration is 3600 s, and the test results are shown in Table 1.

[0141] Table 1: Test Results of System Synchronization Accuracy under Normal GNSS Signal Conditions

[0142] Test Project mean Standard deviation Maximum value Triggering the deviation of the event timestamp from the UTC integer second reference 0.3 μs 0.2 μs 0.8 μs Triggering discrepancy between event timestamp and PTP distribution time 0.5 μs 0.3 μs 1.5 μs Synchronization accuracy between lidar and inertial measurement unit 20 μs 10 μs 45 μs Overall system time synchronization accuracy 50 μs 25 μs 95 μs

[0143] In the GNSS signal loss scenario, the GNSS signal input was manually cut off, and the system automatically switched to the predictive timekeeping mode based on the temperature-controlled crystal oscillator. The phase error of the local clock relative to Coordinated Universal Time was recorded at 60 s, 120 s, 180 s, 300 s, and 600 s after the loss of lock. The test results are shown in Table 2.

[0144] Table 2: Test Results of Time-Keeping Phase Error After GNSS Signal Loss of Lockdown

[0145] Unlock duration 60 s 120 s 180 s 300 s 600 s Phase error 15 μs 38 μs 65 μs 110 μs 195 μs

[0146] When the upper confidence bound of the phase error exceeds 200 μs, the system declares a degradation in time synchronization accuracy. As shown in Table 2, the phase error reached 195 μs after 600 s of loss of lock, which did not exceed the degradation threshold, and the system maintained effective synchronization accuracy. After the GNSS signal was restored, the system re-executed Kalman measurement updates using second-pulse observations within 5 s and switched back to disciplined mode.

[0147] The test results comparing trigger jitter of hardware triggering and software synchronization are shown in Table 3. Under the same test conditions, the jitter at the sampling trigger moment is 2 μs for hardware triggering and 15 μs for software synchronization, representing a reduction of approximately 87% in trigger jitter.

[0148] Table 3: Trigger Jitter Comparison Test Results

[0149] Synchronization method Trigger jitter mean Trigger jitter standard deviation Trigger maximum jitter Hardware triggering method 2 μs 1 μs 5 μs Software synchronization method 15 μs 8 μs 35 μs

[0150] The effectiveness verification of the closed-loop synchronization control mechanism is shown in Table 4. The system ran continuously for 48 hours under closed-loop control, and the overall synchronization accuracy of the system was recorded at the initial moment, 12 hours, 24 hours, 36 hours, and 48 hours.

[0151] Table 4: Results of Long-Term Stability Test of Closed-Loop Control

[0152] runtime 0 h 12 h 24 h 36 h 48 h Overall system synchronization accuracy 50 μs 55 μs 52 μs 58 μs 60 μs

[0153] As shown in Table 4, during 48 hours of continuous operation, the overall synchronization accuracy of the system remained between 50 μs and 60 μs, without showing a trend of deterioration with increasing running time. This verifies the adaptive correction capability of the closed-loop control mechanism for synchronization deviation drift caused by factors such as temperature changes and device aging.

[0154] Based on the above experimental data, the following conclusions can be drawn:

[0155] I. Under normal GNSS signal conditions, the overall time synchronization accuracy of the system is better than 100 μs, the synchronization accuracy between the lidar and the inertial measurement unit is less than 50 μs, the deviation between the trigger edge event timestamp of each trigger channel and the UTC integer second reference is less than 1 μs, and the consistency deviation between the trigger edge event timestamp and the precise time protocol distribution time is less than 2 μs, verifying the feasibility of the trigger time base and the time distribution time base being of the same hardware origin.

[0156] Second, in the scenario of short-term GNSS lockout, the predictive timekeeping mechanism based on the isothermal crystal oscillator enables the system to maintain a synchronization accuracy better than 200 μs within 600 s of lockout, and correctly declares the accuracy degradation after the lockout exceeds the limit, verifying the system's timekeeping capability in the GNSS signal-constrained environment.

[0157] Third, compared with the software synchronization method, the hardware triggering method reduces the jitter at the sampling trigger moment by more than 87%, which verifies the advantage of hardware triggering in terms of determinism at the sampling moment.

[0158] Fourth, the closed-loop synchronization control mechanism enables the system to maintain its initial synchronization accuracy after 48 hours of continuous operation, verifying the reliability of the system's long-term operational stability.

[0159] The above experimental results fully demonstrate the feasibility and effectiveness of the technical solution of the present invention in terms of time synchronization accuracy, lockout timekeeping capability, trigger consistency, and long-term stability.

[0160] The above description is based on the preferred embodiments of the present invention. It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered exemplary and non-limiting in all respects. The scope of the invention is defined by the appended claims rather than the foregoing description, and all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.

[0161] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.

Claims

1. A multi-sensor hardware-triggered synchronization system based on the fusion of GNSS, PPS, and PTP three-level time bases, characterized in that, include: The GNSS timing module is used to receive signals from the Global Navigation Satellite System and output second pulse signals and Coordinated Universal Time (UTC) information. A time synchronization controller, connected to the GNSS timing module, is used to receive the second pulse signal and the Coordinated Universal Time (UTC) time information, perform rising edge detection and edge alignment processing on the second pulse signal, and generate multiple synchronization trigger pulse signals based on the second pulse signal. The time synchronization controller uses a field-programmable gate array (FPGA) as its core processing unit. A unified hardware time counter is established inside the FPGA, which also serves as a shared time reference for the distribution of precise time protocol time information and the generation of synchronization trigger pulses. The PTP time synchronization module is used to distribute time information to various sensor devices via Ethernet based on the Precision Time Protocol standard. The local high-stability clock module includes a thermostatic crystal oscillator and its discipline circuit, which is used to discipline the thermostatic crystal oscillator with the second pulse signal as a reference when the GNSS signal is normal, and to maintain the time reference output based on the model established in the discipline phase when the GNSS signal is lost. A hardware trigger interface module, connected to the time synchronization controller, is used to output the synchronization trigger pulse signal to each sensor device through a physical level signal line; The time synchronization status monitoring module is used to monitor the synchronization status between each sensor node and the master clock in real time. When the synchronization accuracy is detected to exceed the preset threshold, resynchronization is triggered. The data fusion processing module is used to receive data collected by various sensor devices and corresponding timestamp information, and to perform spatiotemporal alignment and fusion processing on multi-source sensor data based on a unified time reference.

2. The multi-sensor hardware-triggered synchronization system based on the fusion of GNSS, PPS, and PTP three-level time bases as described in claim 1, characterized in that, The system adopts a three-level time base fusion architecture: The first level is the absolute time reference layer, where the GNSS timing module receives navigation satellite signals, performs timing calculations, and generates a second pulse signal with nanosecond-level precision and a message containing Coordinated Universal Time. The second level is the network time unification layer. The PTP time synchronization module is based on the Precision Time Protocol standard. It achieves master-slave clock synchronization through master-slave clock synchronization messages and uses the network card's precision hardware clock to add hardware timestamps to data packets at the physical layer or data link layer boundary. The third level is the sampling event synchronization layer. Based on the second pulse signal, the time synchronization controller generates multiple synchronous trigger pulse signals through the hardware parallel processing capability of the field programmable gate array. These signals are then used by the hardware trigger interface module to drive each sensor device to start data acquisition at the same time using physical level signals.

3. A multi-sensor hardware-triggered synchronization system based on the fusion of GNSS, PPS, and PTP three-level time bases as described in claim 1, characterized in that, The time synchronization controller has a built-in second pulse signal calibration module, a pulse frequency division and multiplication module, and a multi-channel pulse output module. The field-programmable gate array detects the rising edge of the second pulse signal and establishes a phase correspondence between the local time base and the second pulse signal through a digital phase-locked loop; The field-programmable gate array (FPGA) generates synchronous trigger pulse signals of different frequencies by frequency division or frequency multiplication according to the operating frequency requirements of each sensor device. The frequency of the synchronous trigger pulse signal is adjustable, and the frequency division coefficient, frequency multiplication coefficient, pulse width and phase offset of each trigger channel are independently configurable. When the rising edge of the second pulse arrives, the FPGA performs synchronous calibration on the phase accumulator of the numerically controlled oscillator of all trigger channels.

4. A multi-sensor hardware-triggered synchronization system based on the fusion of GNSS, PPS, and PTP three-level time bases as described in claim 1, characterized in that, When the GNSS signal is normal, the local high-stability clock module uses the second pulse signal as a reference and performs frequency training on the isothermal crystal oscillator through a digital phase-locked loop and Kalman filtering algorithm, and simultaneously collects frequency difference data to establish the aging characteristic model and temperature characteristic model of the crystal oscillator. When the GNSS signal is lost, the Kalman filter stops measurement updates and switches to a pure prediction state extrapolation mode. Using the state variables estimated during the taming phase as initial values, the local clock is recursively predicted and its frequency is continuously corrected cycle by cycle, in conjunction with the aging characteristic model and the temperature characteristic model.

5. A multi-sensor hardware-triggered synchronization system based on the fusion of GNSS, PPS, and PTP three-level time bases as described in claim 1, characterized in that, The hardware trigger interface module outputs trigger signals to each sensor device in the form of physical level pulse signals through a synchronous input / output interface; the pulse width of the synchronous trigger pulse signal is configurable; each sensor device starts data acquisition when it receives the rising edge of the trigger pulse signal.

6. A multi-sensor hardware-triggered synchronization system based on the fusion of GNSS, PPS, and PTP three-level time bases as described in claim 1, characterized in that, Driven by the unified hardware time counter, the field-programmable gate array records the rising edge of each synchronous trigger pulse signal and performs time-to-digital conversion and phase interpolation on the sub-cycle phase residue of the trigger edge relative to the clock edge to form an event timestamp with a time resolution better than a single field-programmable gate array clock cycle. The event timestamp is based on the Coordinated Universal Time (UTC) time reference and is of the same origin at the hardware level as the time information distributed via the Precision Time Protocol.

7. A multi-sensor hardware-triggered synchronization system based on the fusion of GNSS, PPS, and PTP three-level time bases as described in claim 1, characterized in that, The time synchronization status monitoring module periodically acquires time deviation and network latency data between each slave clock node and the master clock through a precise time protocol, and directly reads the deviation between the event timestamp and the rising edge of the second pulse of each trigger channel as the observation for triggering synchronization. When the synchronization deviation or trigger edge deviation of a certain sensor node is detected to exceed a preset threshold, an adjustment command is sent to the time synchronization controller. The time synchronization controller adjusts the phase or frequency of the synchronization trigger pulse in a minimum step of one clock cycle of the unified hardware time counter.

8. A multi-sensor hardware-triggered synchronization system based on the fusion of GNSS, PPS, and PTP three-level time bases as described in claim 1, characterized in that, The PTP time synchronization module automatically selects a clock source in the network as the master clock through the best master clock algorithm; it supports boundary clock and transparent clock modes.

9. A multi-sensor hardware-triggered synchronization system based on the fusion of GNSS, PPS, and PTP three-level time bases according to claim 1, characterized in that, The GNSS timing module adopts a dual-mode timing scheme of GPS and BeiDou satellite navigation systems. When the signal of a single system is limited, it automatically switches to the other system to continue to provide second pulse signals and Coordinated Universal Time (UTC) information.

10. A time synchronization method for a multi-sensor hardware-triggered synchronization system based on the fusion of GNSS, PPS, and PTP three-level time bases, as described in any one of claims 1-9, characterized in that... Includes the following steps: S1, the GNSS timing module receives satellite signals and outputs second pulse signals and Coordinated Universal Time (UTC) information; S2. The time synchronization controller uses the second pulse signal as a reference to frequency discipline the isothermal crystal oscillator of the local high-stability clock module, so that the local clock is synchronized with the Coordinated Universal Time (UTC) time reference. S3. The time synchronization controller establishes a unified hardware time counter within the field programmable gate array based on the disciplined local clock, and generates multiple synchronous trigger pulse signals based on the unified hardware time counter, which are then output to each sensor device in physical level mode via the hardware trigger interface module. S4. The PTP time synchronization module uses the unified hardware time counter as the precise time protocol domain time reference and distributes time synchronization information to each sensor device via Ethernet. Each sensor node corrects its local clock according to the precise time protocol. S5. When each sensor device receives the rising edge of the synchronous trigger pulse signal, it starts data acquisition. The field programmable gate array, driven by the unified hardware time counter, performs time-to-digital conversion and phase interpolation on each trigger edge to generate an event timestamp. Each sensor adds a timestamp based on the unified Coordinated Universal Time (UTC) time reference to the acquired data based on the corrected local clock and the event timestamp. S6. The time synchronization status monitoring module monitors the synchronization deviation of each sensor node and the event timestamp deviation of each trigger channel in real time. When the deviation exceeds the preset threshold, it triggers resynchronization and adjusts the phase or frequency of the trigger pulse. When the GNSS signal is lost, the system switches to a pure prediction timekeeping mode. S7. The data fusion processing module receives data and corresponding timestamps from various sensor devices and performs spatiotemporal alignment and fusion processing of multi-source data based on the unified Coordinated Universal Time (UTC) time reference.