A method for improving the trigger synchronization accuracy of a cascade trigger system

By measuring and allocating the waiting time for triggering to take effect in the cascade trigger system, the problem of insufficient synchronization accuracy of the cascade portable structure pulse trigger system is solved, and high-precision synchronous triggering and data sampling synchronization are achieved, which is suitable for high-speed photography and data processing. collection and other fields.

CN117155530BActive Publication Date: 2024-09-24CHENGDU LISIFANG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311210297.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-19
Publication Date
2024-09-24
Estimated Expiration
2043-09-19

AI Technical Summary

Technical Problem

The existing pulse triggering system based on a cascaded portable structure has the problem of low trigger synchronization accuracy, which results in limited timing control efficiency and accuracy in fields such as high-speed photography and data acquisition.

Method used

The trigger synchronization accuracy improvement method of the cascade trigger system is adopted. The test trigger pulse signal is sent through the master node device and another test trigger pulse signal is transmitted back. The cascade transmission delay of the trigger signal of the slave node device is measured, and the trigger is assigned based on the measurement results. The waiting time to take effect ensures that the master and slave node devices execute triggering actions synchronously in soft trigger/immediate trigger mode.

Benefits of technology

It improves the synchronization accuracy of the cascade trigger system, solves the problem of low trigger synchronization accuracy, achieves high-precision synchronous triggering, reduces circuit complexity and cost, and ensures the synchronization of data sampling results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117155530B
    Figure CN117155530B
Patent Text Reader

Abstract

The present invention discloses a method for improving the trigger synchronization accuracy of a cascade trigger system, and relates to the field of signal trigger technology. The cascade trigger system includes a master node device and multiple slave node devices whose clock signals are synchronously aligned and cascaded in sequence. The method is that the master node device measures the master-slave trigger signal cascade transmission delay for each slave node device by sending a test trigger pulse signal and returning another test trigger pulse signal, and then allocates corresponding trigger effective waiting time to the master node device and the slave node device based on the measurement result, so as to ensure that the master node device and the multiple slave node devices execute the trigger action at the same time based on the delay measurement result in the soft trigger / immediate trigger mode, thereby solving the problem of low trigger synchronization accuracy in the existing pulse trigger system based on the cascade portable structure, and achieving the purpose of high-precision synchronous triggering of the cascade trigger system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of signal triggering, and in particular relates to a method for improving the trigger synchronization accuracy of a cascade triggering system. Background Art

[0002] In systems that require precise timing control, such as high-speed photography, high-speed data acquisition, medical equipment, energy, and large laser drive devices, the performance of the synchronous trigger signal directly affects the operating efficiency and accuracy of these systems. These systems usually require the synchronous trigger signal to have low delay jitter, high adjustment resolution, and wide adjustment range. Taking the signal reconnaissance and direction finding system as an example, its principle is to first measure the time difference between the signal source reaching multiple receiving antennas (in other words, the signal phase difference between multiple channels), and then analyze the target azimuth angle based on these time differences. Therefore, the synchronization error between the system channels will directly affect the error in measuring the target azimuth.

[0003] In current signal triggering technology, a counter method is usually used to generate trigger pulse signals. However, its performance is limited by factors such as counter frequency, external reference clock, and alignment of reference trigger signals. Even with a 100MHz high-end counter, its maximum resolution can only reach 10ns. In addition, there will be a random time jitter of δ (0<δ<10ns) between the output trigger pulse signal and the input reference signal.

[0004] Currently in the market, signal acquisition and control equipment with complex timing trigger capabilities and precise clock synchronization capabilities are mainly bus-type instrument systems. Their mainstream bus architectures are PXIE (Peripheral Component Interconnection extensions for Instrumentation Express, an optimized version of peripheral component interconnection extensions for instrumentation systems), AXIE (Advanced Xtensible Interface Express, an optimized version of a bus protocol) and VPX (a new generation of high-speed serial bus standard proposed by the VME International Trade Association VITA in 2007 based on its VME bus).

[0005] The three types of instrument bus architectures mentioned above, namely PXIE, AXIE and VPX, are all based on the PCIE (Peripheral Component Interconnect Express, which is a high-speed serial computer expansion bus standard. Its original name was "3GIO" and was proposed by Intel in 2001 to replace the old PCI, PCI-X and AGP bus standards) bus to expand instrument functions. Multiple functional modules can be installed. These buses all have standard or customizable synchronous timing hardware functions, which can achieve precise synchronous timing and complex timing triggering.

[0006] However, instrument systems based on the PCIE bus require a dedicated system chassis and system controller, which leads to problems such as exponentially increased costs, complex wiring, and limited expansion channels when solving multi-channel problems. Taking the PXIe bus as an example, to realize an ultra-large-scale array signal transceiver system with 128 channels, a signal transceiver card, 2 receive and 2 transmit, occupies one slot. Currently, the most common chassis on the market supports a maximum of 15 signal transceiver cards (18-slot chassis, excluding the slots occupied by the controller module, clock module and PXIe bridge module). One chassis supports a total of 30 channels, which means that 128 channels require 5 chassis filled with various board modules. At the same time, it also brings various problems, including: (1) Each additional chassis requires an additional set of clock modules and bridge modules; (2) Clock distribution requires the addition of many equal-length stable amplitude and phase cables and power dividers between chassis (at least five power dividers + 30 cables are required); (3) The signal power is attenuated after power division, resulting in insufficient drive current; (4) The huge size and weight, 4 chassis stacked together are at least more than 70cm high and weigh more than 80kg.

[0007] In summary, the current pulse trigger-based system has the problem of low trigger synchronization accuracy. Therefore, for all pulse trigger systems based on cascade portable structures on the market, a new technical solution that can improve the trigger synchronization accuracy is needed. Summary of the invention

[0008] The purpose of the present invention is to provide a method for improving the trigger synchronization accuracy of a cascade trigger system, so as to solve the problem of low trigger synchronization accuracy in the existing pulse trigger system based on a cascade portable structure, so as to achieve the purpose of high-precision synchronous triggering of the cascade trigger system.

[0009] In order to achieve the above object, the present invention adopts the following technical solutions:

[0010] In a first aspect, a method for improving the trigger synchronization accuracy of a cascade trigger system is provided, wherein the cascade trigger system includes a master node device and X slave node devices whose clock signals are synchronously aligned, wherein X represents a positive integer, and a down / up cascade trigger interface circuit of the master node device is connected to an up / down cascade trigger interface circuit of a first slave node device, and when X is greater than 1, the down / up cascade trigger interface circuit of the first slave node device is connected to an up / down cascade trigger interface circuit of a second slave node device, and so on, until the down / up cascade trigger interface circuit of an X-1th signal acquisition control device is connected to the up / down cascade trigger interface circuit of an Xth signal acquisition control device, and the up / down cascade trigger interface circuit of any slave node device is used to receive a trigger signal from an up / down direction of the cascade, and the down / up cascade trigger interface circuit of any slave node device is used to forward the trigger signal to the down / up direction of the cascade;

[0011] The method for improving trigger synchronization accuracy comprises:

[0012] The master node device generates a test trigger pulse signal when the rising edge / falling edge of the first clock cycle arrives, and transmits the test trigger pulse signal to a designated slave node device located in the cascade downstream / upstream direction through the downstream / upstream cascade trigger interface circuit of the master node device, wherein the designated slave node device is each slave node device among the X slave node devices;

[0013] After the designated slave node device receives the test trigger pulse signal before the rising edge / falling edge of the Sth clock cycle arrives, another test trigger pulse signal is generated when the rising edge / falling edge of the Sth clock cycle arrives, and the another test trigger pulse signal is transmitted to the master node device through the uplink / downlink cascade trigger interface circuit of the designated slave node device, wherein S represents a positive integer greater than or equal to 2;

[0014] After the master node device measures the delay time difference from the start time of the first clock cycle to the time when the other test trigger pulse signal is received, the trigger signal cascade transmission delay from the master node device to the designated slave node device is determined according to the delay time difference;

[0015] After determining the X trigger signal cascade transmission delays corresponding one to one with the X slave node devices, the master node device allocates the trigger effective waiting time of the master node device in the soft trigger / immediate trigger mode as Tmax according to the X trigger signal cascade transmission delays, and allocates the trigger effective waiting time of the x-th slave node device in the X slave node devices in the soft trigger / immediate trigger mode as Tmax-Tx, so that when the master node device and the X slave node devices receive the formal trigger signal, they will start to execute the trigger action corresponding to the formal trigger signal after the corresponding trigger effective waiting time, wherein x represents a positive integer less than or equal to X, Tmax represents the maximum value of the X trigger signal cascade transmission delays, and Tx represents the trigger signal cascade transmission delay corresponding to the x-th slave node device.

[0016] Based on the above invention content, a method for improving the trigger synchronization accuracy of a cascade trigger system is provided, that is, the cascade trigger system includes a master node device and multiple slave node devices whose clock signals are synchronously aligned and cascaded in sequence. The method is that the master node device measures the master-slave trigger signal cascade transmission delay for each slave node device by sending a test trigger pulse signal and returning another test trigger pulse signal, and then allocates corresponding trigger effectiveness waiting time to the master node device and the slave node device based on the measurement result. In this way, it can be ensured that although the master node device and the multiple slave node devices transmit formal trigger signals up / down in a cascade manner, they can agree to execute trigger actions simultaneously in soft trigger / immediate trigger mode based on the delay measurement results, thereby solving the problem of low trigger synchronization accuracy in the existing pulse trigger system based on a cascade portable structure, achieving the purpose of high-precision synchronous triggering of the cascade trigger system, and facilitating practical application and promotion.

[0017] In a possible design, when the master node device and the X slave node devices are respectively data sampling devices, after determining X trigger signal cascade transmission delays corresponding one-to-one to the X slave node devices, the method includes:

[0018] The master node device allocates the data pre-sampling duration of the master node device in the pre-sampling mode as Tmax according to the cascade transmission delays of the X trigger signals, and allocates the data pre-sampling duration of the x-th slave node device in the pre-sampling mode as Tmax-Tx, so that the master node device and the X slave node devices, when receiving the data sampling trigger signal, respectively, immediately execute the data sampling action corresponding to the data sampling trigger signal, and then upload the corresponding data sampling result excluding the data sampled within the corresponding data pre-sampling duration.

[0019] In a possible design, when the master node device is connected to an external trigger signal distribution device and the master node device and the X slave node devices are respectively data sampling devices, after allocating the trigger validity waiting time of the master node device in the soft trigger / immediate trigger mode to Tmax according to the cascade transmission delay of the X trigger signals, and allocating the trigger validity waiting time of the xth slave node device among the X slave node devices in the soft trigger / immediate trigger mode to Tmax-Tx, the method further includes:

[0020] The master node device and the X slave node devices pre-sample data of a plurality of clock cycles respectively;

[0021] After receiving the data sampling trigger signal from the external trigger signal distribution device, the master node device measures a first time length from a rising edge / falling edge of the data sampling trigger signal to a next rising edge / falling edge of a local clock signal through a built-in time-to-digital converter, and sends the first time length to each slave node device among the X slave node devices;

[0022] The master node device generates a synchronization trigger pulse signal when the rising edge / falling edge of the next clock cycle after receiving the data sampling trigger signal arrives, and transmits the synchronization trigger pulse signal to each slave node device;

[0023] When the master node device generates the synchronous trigger pulse signal, it starts to execute the trigger action corresponding to the synchronous trigger pulse signal after the corresponding trigger effective waiting time: uploading the data intercepted from the corresponding data pre-sampling result and sampled within the first time and the second time, and switching from the pre-sampling mode to the formal adoption mode at the same time, and uploading the sampled data in real time, wherein the second time refers to the time from the next rising edge / falling edge to the rising edge / falling edge of the next clock cycle;

[0024] When each slave node device receives the synchronous trigger pulse signal, it will start to execute the trigger action corresponding to the synchronous trigger pulse signal after the corresponding trigger effective waiting time: uploading the data intercepted from the corresponding data pre-sampling result and sampled within the first time period, the second time period and the corresponding trigger effective waiting time, and at the same time switching from the pre-sampling mode to the formal adoption mode, and uploading the sampled data in real time.

[0025] In one possible design, determining the trigger signal cascade transmission delay from the master node device to the designated slave node device according to the delay time difference includes:

[0026] According to the clock cycle range to which the delay time difference belongs, determining a known parameter X corresponding to the clock cycle range;

[0027] According to the known parameter X and the delay time difference, the trigger signal cascade transmission delay Δt from the master node device to the designated slave node device is calculated according to the following formula:

[0028] Δt=T OA -X×T

[0029] Where, T OA represents the delay time difference, and T represents the clock cycle.

[0030] In a possible design, when the master node device and the X slave node devices are respectively data sampling devices, after allocating the trigger validity waiting time of the master node device in the soft trigger / immediate trigger mode to Tmax according to the cascade transmission delay of the X trigger signals, and allocating the trigger validity waiting time of the xth slave node device in the X slave node devices in the soft trigger / immediate trigger mode to Tmax-Tx, the method further includes:

[0031] In the continuous sampling mode, the cascade trigger system will calibrate the cascade transmission delay of the trigger signal to each slave node device by sending the test trigger pulse signal and returning another test trigger pulse signal before waiting to start sampling;

[0032] Alternatively, in the continuous trigger finite point sampling mode, the cascade trigger system will calibrate the trigger signal cascade transmission delay to each slave node device by sending the test trigger pulse signal and returning the other test trigger pulse signal during the non-sampling period during the finite point sampling process.

[0033] In one possible design, the up / downlink cascade trigger interface circuit is connected to a first interface IP unit of a same-device FPGA module and provides a DIO channel, so as to have N up / downlink TRIG channels for interacting trigger signals with the same-device FPGA module, thereby enabling the connected up / downlink external devices located in the up / downlink direction of the cascade to interact with the same-device FPGA module for the first trigger signal through any up / downlink TRIG channel, wherein the same-device FPGA module refers to the FPGA module located in the device to which the up / downlink cascade trigger interface belongs.

[0034] In one possible design, N upstream TRIG channels correspond one-to-one to and are connected to N downstream TRIG channels, so that after any upstream / downstream TRIG channel receives a trigger signal from an upstream / downstream external device or an FPGA module of the same device, it also transmits the trigger signal to another external device located in the cascade downstream / upstream direction through the corresponding downstream / upstream TRIG channel.

[0035] In a possible design, the device to which the up / down cascade trigger interface circuit belongs also includes an up / down data transmission interface circuit;

[0036] The uplink / downlink data transmission interface circuit is connected to the second interface IP unit of the same-device FPGA module and also provides a DIO channel, so as to have K uplink / downlink DIO channels for digital signal interaction with the same-device FPGA module, and then realize data communication interconnection between the uplink / downlink external devices and the same-device FPGA module through the K uplink / downlink DIO channels.

[0037] In one possible design, the device to which the up / down cascade trigger interface circuit belongs also includes a star-shaped trigger interface circuit, wherein the star-shaped trigger interface circuit is connected to a third interface IP unit of the same-device FPGA module and provides a DIO channel, so as to have M TRIG channels for interacting with the same-device FPGA module for trigger signals, thereby enabling the connected external device to interact with the same-device FPGA module for a second trigger signal through any TRIG channel, wherein the same-device FPGA module refers to the FPGA module located in the device to which the trigger connector belongs, and M represents a positive integer.

[0038] In one possible design, the device to which the up / downlink cascade trigger interface circuit belongs also includes a clock signal interface circuit, wherein the clock signal interface circuit is used to respectively connect an external clock signal distribution device and a clock signal generating module of the device to which it belongs and connected to the third interface IP unit, and is also used to transmit the external clock signal to the clock signal generating module after receiving the external clock signal from the external clock signal distribution device, so that the clock signal generating module generates the required clock signal of the device based on a phase-locked loop and / or a direct digital synthesis mechanism, and transmits the required clock signal to the FPGA module of the same device.

[0039] Beneficial effects of the above scheme:

[0040] (1) The present invention creatively provides a method for improving the trigger synchronization accuracy of a cascade trigger system, that is, the cascade trigger system includes a master node device and multiple slave node devices whose clock signals are synchronously aligned and cascaded in sequence. The method is that the master node device measures the master-slave trigger signal cascade transmission delay for each slave node device by sending a test trigger pulse signal and returning another test trigger pulse signal, and then allocates corresponding trigger effectiveness waiting time to the master node device and the slave node device based on the measurement result. In this way, it can be ensured that although the master node device and the multiple slave node devices transmit formal trigger signals up / down in a cascade manner, they can agree to execute trigger actions simultaneously in soft trigger / immediate trigger mode based on the delay measurement results, thereby solving the problem of low trigger synchronization accuracy in the existing pulse trigger system based on a cascade portable structure, achieving the purpose of high-precision synchronous triggering of the cascade trigger system, and facilitating practical application and promotion.

[0041] (2) The circuit can continue to use the [signal acquisition and control integrated circuit], that is, no additional peripheral circuits and chips are added. At the same time, when completing the TDC measurement, FPGA logic resources are used to reduce the circuit, so that this series of products can complete the TDC measurement; while ensuring high accuracy, the cost is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 A schematic diagram of the structure of the cascade trigger system provided in an embodiment of the present application.

[0044] Figure 2 A flowchart of a method for improving trigger synchronization accuracy provided in an embodiment of the present application.

[0045] Figure 3 This is a first example diagram of sending and receiving two test trigger pulse signals provided in an embodiment of the present application.

[0046] Figure 4 This is a second example diagram of sending and receiving the front and rear test trigger pulse signals provided in an embodiment of the present application.

[0047] Figure 5 This is a third example diagram of sending and receiving the front and rear test trigger pulse signals provided in an embodiment of the present application.

[0048] Figure 6 This is a fourth example diagram of sending and receiving the front and rear test trigger pulse signals provided in an embodiment of the present application.

[0049] Figure 7 This is a fifth example diagram of sending and receiving the front and rear test trigger pulse signals provided in an embodiment of the present application.

[0050] Figure 8 This is an example diagram of sending and receiving a data sampling trigger signal and a synchronous trigger pulse signal provided in an embodiment of the present application.

[0051] Fig. 9 A schematic diagram of the specific structure of the device to which the up / down cascade trigger interface circuit provided in the embodiment of the present application belongs.

[0052] Fig.10 This is a circuit example diagram of the upper and lower cascade trigger interface provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in combination with the drawings and the description of the embodiments or the prior art. Obviously, the following description of the structure of the drawings is only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention.

[0054] It should be understood that although the terms first and second, etc. may be used herein to describe various objects, these objects should not be limited by these terms. These terms are only used to distinguish one object from another object. For example, a first object can be referred to as a second object, and similarly, a second object can be referred to as a first object without departing from the scope of the exemplary embodiments of the present invention.

[0055] It should be understood that the term "and / or" that may appear in this document is merely a description of the association relationship between associated objects, indicating that there may be three relationships. For example, A and / or B can indicate three situations: A exists alone, B exists alone, or A and B exist at the same time. For another example, A, B and / or C can indicate the existence of any one of A, B and C or any combination of them. The term " / and" that may appear in this document describes another type of association object relationship, indicating that there may be two relationships. For example, A / and B can indicate two situations: A exists alone or A and B exist at the same time. In addition, the character " / " that may appear in this document generally indicates that the previous and next associated objects are in an "or" relationship.

[0056] Embodiment 1:

[0057] like Figure 1 As shown, the cascade trigger system provided in this embodiment includes but is not limited to a master node device and X slave node devices whose clock signals are synchronously aligned, wherein X represents a positive integer, and the down / up cascade trigger interface circuit of the master node device is connected to the up / down cascade trigger interface circuit of the first slave node device, and when X is greater than 1, the down / up cascade trigger interface circuit of the first slave node device is connected to the up / down cascade trigger interface circuit of the second slave node device, and so on, until the down / up cascade trigger interface circuit of the X-1th signal acquisition control device is connected to the up / down cascade trigger interface circuit of the Xth signal acquisition control device, and the up / down cascade trigger interface circuit of any slave node device is used to receive a trigger signal from the up / down direction of the cascade, and the down / up cascade trigger interface circuit of any slave node device is used to forward the trigger signal to the down / up direction of the cascade. Figure 1 As shown, X is equal to 2 for example. The master node device and the X slave node devices can realize clock signal synchronization alignment based on the existing reference clock synchronization technology (reference clock signal is a commonly used frequency synchronization signal, usually generated by a temperature compensated crystal oscillator OCXO or other high-stability oscillator, used to provide a high-precision frequency reference; the 10MHz signal is characterized by very low phase noise and frequency deviation, and can be used as an input signal of a local oscillator or frequency synthesizer in various digital communication systems; on devices supporting reference clock synchronization, reference clock synchronization is a flexible and powerful synchronization method; on reference clock synchronization synchronizable devices, all devices synchronize the onboard clock to a common reference signal through a phase-locked loop, and then each device obtains a derived clock from the synchronization clock. As long as the clock derived from the reference clock and the reference clock are in phase with each other, the device can also obtain the effect of synchronous transmission and reception through the derived clock).

[0058] like Figure 2 As shown, the trigger synchronization accuracy improvement method includes but is not limited to the following steps S1 to S4.

[0059] S1. The master node device generates a test trigger pulse signal when the rising edge / falling edge of the first clock cycle arrives, and transmits the test trigger pulse signal to the designated slave node device located in the cascade downward / upward direction through the downward / upward cascade trigger interface circuit of the master node device, wherein the designated slave node device is each slave node device among the X slave node devices.

[0060] In step S1, Figures 3 to 7As shown, specifically, the test trigger pulse signal is generated when the falling edge of the first clock cycle arrives.

[0061] S2. After the designated slave node device receives the test trigger pulse signal before the rising edge / falling edge of the Sth clock cycle arrives, it generates another test trigger pulse signal when the rising edge / falling edge of the Sth clock cycle arrives, and transmits the other test trigger pulse signal to the master node device through the up / down cascade trigger interface circuit of the designated slave node device, where S represents a positive integer greater than or equal to 2.

[0062] In step S2, Figure 3 As shown, since the cascade transmission delay of the trigger signal from the master node device to the designated slave node device is within 0.5 clock cycles, the test trigger pulse signal is received before the falling edge of the second (i.e., S=2) clock cycle arrives, and the other test trigger pulse signal is generated and sent when the falling edge of the second clock cycle arrives; as shown Figure 4 As shown, since the cascade transmission delay of the trigger signal from the master node device to the designated slave node device is more than 0.5 clock cycles and within 1 clock cycle, the test trigger pulse signal will be received before the falling edge of the second (i.e., S=2) clock cycle arrives, and the other test trigger pulse signal will be generated and sent when the falling edge of the second clock cycle arrives; as shown Figure 5 As shown, since the cascade transmission delay of the trigger signal from the master node device to the designated slave node device is more than 1 clock cycle and within 1.5 clock cycles, the test trigger pulse signal will be received before the falling edge of the third (i.e., S=3) clock cycle arrives, and the other test trigger pulse signal will be generated and sent when the falling edge of the third clock cycle arrives; as shown Figure 6 As shown, since the cascade transmission delay of the trigger signal from the master node device to the designated slave node device is more than 1.5 clock cycles and within 2 clock cycles, the test trigger pulse signal is received before the falling edge of the third (i.e., S=3) clock cycle arrives, and the other test trigger pulse signal is generated and sent when the falling edge of the third clock cycle arrives; as shown Figure 7 As shown, since the cascade transmission delay of the trigger signal from the master node device to the designated slave node device is more than 2 clock cycles and within 3 clock cycles, the test trigger pulse signal will be received before the falling edge of the 4th (i.e., S=4) clock cycle arrives, and the other test trigger pulse signal will be generated and sent when the falling edge of the 4th clock cycle arrives.

[0063] S3. After the master node device measures the delay time difference from the start time of the first clock cycle to the receipt of the other test trigger pulse signal, it determines the trigger signal cascade transmission delay from the master node device to the designated slave node device based on the delay time difference.

[0064] In step S3, Figure 3 As shown, since the cascade transmission delay of the trigger signal from the master node device to the designated slave node device is equal to the cascade transmission delay of the trigger signal from the designated slave node device to the master node device, the delay time difference Wherein, T represents the clock cycle, Δt represents the cascade transmission delay of the trigger signal from the master node device to the designated slave node device, Δx represents the time difference from the time when the test trigger pulse signal is received to the time when the other test trigger pulse signal is sent, and Similarly Figure 4 As shown, the delay time difference Where Δx = T - Δt; and Figures 5-6 As shown, the delay time difference Where Δx = 2T - Δt; and Figure 7 As shown, the delay time difference Among them, Δx=3T-Δt; etc. In addition, the master node device can specifically measure the delay time difference through a built-in time digital converter, wherein the time digital converter is an electronic device that converts time into a digital signal, which can accurately convert time into a digital signal, thereby achieving high-precision time measurement and calculation; the basic principle is to use a clock signal and a counter to measure time, when the clock signal arrives, the counter starts counting, until another event occurs, the counter stops counting, and finally by calculating the value of the counter, the time difference between the two events can be obtained; this method can achieve very high time resolution, usually up to the nanosecond level.

[0065] In the step S3, specifically, the trigger signal cascade transmission delay from the master node device to the designated slave node device is determined according to the delay time difference, including but not limited to the following steps S31 to S32.

[0066] S31. According to the clock cycle range to which the delay time difference belongs, determine a known parameter X corresponding to the clock cycle range.

[0067] In step S31, based on the above Figures 3 to 7 The following table 1 shows the Δt and T values ​​of the trigger pulse signals before and after the test. OA , clock cycle range and known parameter X:

[0068] Table 1. Δt and T OA , clock cycle range and known parameter X relationship table

[0069]

[0070] Therefore, based on the above Table 1, various situations can be deduced in sequence, and further, according to the clock cycle range to which the delay time difference belongs, the known parameter X corresponding to the clock cycle range can be determined.

[0071] S32. According to the known parameter X and the delay time difference, the trigger signal cascade transmission delay Δt from the master node device to the designated slave node device is calculated according to the following formula:

[0072] Δt=T OA -X×T

[0073] Where, T OA represents the delay time difference, and T represents the clock cycle.

[0074] S4. After determining the X trigger signal cascade transmission delays corresponding one to one with the X slave node devices, the master node device allocates the trigger effective waiting time of the master node device in the soft trigger (i.e., the upper computer software trigger mode, which belongs to the system internal trigger mode) / immediate trigger (i.e., including the system hardware timing trigger mode and the receiving external signal trigger mode, wherein the former belongs to the system internal trigger mode and the latter belongs to the system external trigger mode) mode as Tmax according to the X trigger signal cascade transmission delays, and allocates the trigger effective waiting time of the x-th slave node device among the X slave node devices in the soft trigger / immediate trigger mode as Tmax-Tx, so that the master node device and the X slave node devices, when receiving the formal trigger signal, respectively, will start to execute the trigger action corresponding to the formal trigger signal after the corresponding trigger effective waiting time, wherein x represents a positive integer less than or equal to X, Tmax represents the maximum value among the X trigger signal cascade transmission delays, and Tx represents the trigger signal cascade transmission delay corresponding to the x-th slave node device.

[0075] In step S4, since the trigger effectiveness waiting time of the master node device is allocated to Tmax, and the trigger effectiveness waiting time of the x-th slave node device is allocated to Tmax-Tx, it can be ensured that although the master node device and the X slave node devices transmit formal trigger signals uplink / downlink in a cascade manner, they can simultaneously execute trigger actions (such as synchronous trigger acquisition signals or synchronous trigger transmission signals, etc.) based on the delay measurement results in the soft trigger / immediate trigger mode, thereby solving the problem of low trigger synchronization accuracy in the existing pulse trigger system based on a cascade portable structure, achieving the purpose of high-precision synchronous triggering of the cascade trigger system, and facilitating practical application and promotion.

[0076] Preferably, when the master node device is connected to an external trigger signal distribution device and the master node device and the X slave node devices are respectively data sampling devices, after allocating the trigger effectiveness waiting time of the master node device in the soft trigger / immediate trigger mode to Tmax according to the cascade transmission delay of the X trigger signals, and allocating the trigger effectiveness waiting time of the x-th slave node device among the X slave node devices in the soft trigger / immediate trigger mode to Tmax-Tx, the method further includes but is not limited to the following steps S51 to S55.

[0077] S51. The master node device and the X slave node devices pre-sample data of a plurality of clock cycles respectively.

[0078] In the step S51, data of at least three clock cycles may be pre-sampled.

[0079] S52. After receiving the data sampling trigger signal from the external trigger signal distribution device, the master node device measures the first time length from the rising edge / falling edge of the data sampling trigger signal to the next rising edge / falling edge of the local clock signal through the built-in time-to-digital converter, and sends the first time length to each slave node device among the X slave node devices.

[0080] In step S52, Figure 8 As shown, the first time length is Δt1, which can also be measured by a built-in time-to-digital converter.

[0081] S53. The master node device generates a synchronization trigger pulse signal when the rising edge / falling edge of the next clock cycle arrives after receiving the data sampling trigger signal, and transmits the synchronization trigger pulse signal to each slave node device.

[0082] S54. When the master node device generates the synchronous trigger pulse signal, it starts to execute the trigger action corresponding to the synchronous trigger pulse signal only after the corresponding trigger effective waiting time: uploading the data intercepted from the corresponding data pre-sampling result and sampled within the first time length and the second time length, and simultaneously switching from the pre-sampling mode to the formal adoption mode, and uploading the sampled data in real time, wherein the second time length refers to the time length from the next rising edge / falling edge to the rising edge / falling edge of the next clock cycle.

[0083] In step S54, Figure 5 As shown, the second time length is Δt2, which can also be specifically measured by a built-in time-to-digital converter. In addition, the second time length can also be sent to each slave node device in the X slave node devices.

[0084] S55. When each slave node device receives the synchronous trigger pulse signal, it starts to execute the trigger action corresponding to the synchronous trigger pulse signal after the corresponding trigger effective waiting time has passed: uploading the data intercepted from the corresponding data pre-sampling result and sampled within the first time period, the second time period and the corresponding trigger effective waiting time, and at the same time switching from the pre-sampling mode to the formal adoption mode, and uploading the sampled data in real time.

[0085] Therefore, through the aforementioned steps S51 to S55, when applied to data sampling, although the master node device and the X slave node devices delay triggering the data sampling action, the pre-sampling method can be used to ensure that the uploaded data packet contains data sampled since the data sampling trigger signal from the outside is received, thereby ensuring that the data sampling result has no delay effect.

[0086] Consider Figure 1The multiple node devices shown are cascaded through a cascade trigger bus. Under normal circumstances, the cascade trigger bus will use a semi-flexible or semi-steel cable. While improving the advantages of flexibility and maintainability, it will also cause jitter of signal delay error due to frequent deformation. In order to reduce this jitter, preferably, when the master node device and the X slave node devices are respectively data sampling devices, according to the cascade transmission delay of the X trigger signals, the trigger validity waiting time of the master node device in the soft trigger / immediate trigger mode is allocated to Tmax, and the trigger of the xth slave node device in the X slave node devices in the soft trigger / immediate trigger mode is allocated to Tmax. After the effective waiting time is allocated as Tmax-Tx, the method also includes: in the continuous sampling mode, the cascade trigger system will calibrate the trigger signal cascade transmission delay for each slave node device by sending the test trigger pulse signal and returning the other test trigger pulse signal before waiting to start sampling; or, in the continuous trigger finite point sampling mode, the cascade trigger system will calibrate the trigger signal cascade transmission delay for each slave node device during the finite point sampling process in the non-sampling period by sending the test trigger pulse signal and returning the other test trigger pulse signal.

[0087] Preferably, the up / down cascade trigger interface circuit is connected to a first interface IP unit (i.e., a first interface IP unit) of the same device FPGA (Field Programmable Gate Array) module and providing a DIO (Data In / Out) channel. Fig. 9 DIO1 in the device, so as to have N up / down TRIG channels for trigger signal interaction with the same device FPGA module, so that the connected up / down external device located in the up / down direction of the cascade can interact with the first trigger signal with the same device FPGA module through any up / down TRIG channel, wherein the same device FPGA module refers to the FPGA module in the device to which the up / down cascade trigger interface belongs. Fig. 9 As shown, the device is exemplified as a signal acquisition control device, and the FPGA module of the same device is the FPGA module in the signal acquisition control device. Fig.10As shown, the uplink cascade trigger interface circuit has 6 uplink TRIG channels, which are named TRIG0, TRIG1, TRIG2, TRIG3, TRIG4 and TRIG5 respectively, and the downlink cascade trigger interface circuit has 6 downlink TRIG channels. The uplink / downlink external device can be the external trigger signal distribution device, or other devices having the uplink / downlink cascade trigger interface circuit. Thus, through the configuration of the uplink / downlink cascade trigger interface circuit, on the one hand, the device and other devices also having the uplink / downlink cascade trigger interface circuit can form a daisy chain topology with the external trigger signal distribution device, thereby achieving the purpose of trigger signal cascade uplink / downlink transmission, and on the other hand, the device and other devices also having the uplink / downlink cascade trigger interface circuit can form a star topology with the external trigger signal distribution device, thereby enabling the external trigger signal distribution device to connect the uplink cascade trigger interface circuits of the device and other devices respectively through cables of equal length, thereby achieving the purpose of simultaneously transmitting star-shaped trigger signals with higher synchronization accuracy. In addition, the first trigger signal may specifically come from the FPGA module of the same device, so that the device to which it belongs can serve as a trigger signal distribution device.

[0088] The aforementioned FPGA module is used to be specifically responsible for the signal acquisition, control and data communication processing of the device to which it belongs; for example, in the signal acquisition control device, the following specific functions of signal acquisition and control can be realized by connecting with the signal acquisition control function module (whose circuit structure varies according to the specific task and is not the innovation of this embodiment): based on the trigger signal and clock signal from the external device, the trigger signal and clock signal required for the work are provided to the signal acquisition control function module, so that through the clock and trigger mechanism, multiple cascaded or star-connected signal acquisition control devices can work synchronously, such as realizing the synchronous reception or transmission of coherent signals; and based on external events, the internal processing timing logic or specific timing logic processing flow is triggered to control the signal acquisition control function module to work according to the set timing logic to achieve the purpose of signal acquisition and control; and the signal acquisition control function module is also provided with the function of digital signal transmission between it and the cascaded signal acquisition control device; and so on. The FPGA module is specifically constructed by conventionally constructing an FPGA chip and its peripheral circuits, and can specifically use an IP core (i.e., an interface IP unit) of the PCIE bus protocol (mainstream FPGA manufacturers all provide soft cores and hard cores of the PCIE bus protocol) to connect to a specific interface circuit. The PCIE bus protocol here preferably uses the PCIEGen3x1 standard bus protocol or the PCIEGen3x4 standard bus protocol. Since FPGA devices are a kind of semi-custom circuit in application-specific integrated circuits, they are programmable logic arrays with high-speed data throughput capabilities as well as high-speed logic and timing control capabilities. Therefore, the FPGA module can be suitable for use as a high-speed serial bus, real-time signal processing, timing logic, trigger timing and other functions. At the same time, since current high-performance FPGA chips usually have a large number of DIO channels, these DIO channels can independently complete the transmission and reception of digital signals, and can reach a channel reception and update frequency of hundreds of MHz, so these channels can be used to receive and send digital communication signals and trigger signals. In addition, if Fig. 9 As shown, the FPGA module is also connected to an onboard FLASH module (i.e. Fig. 9 The FLASH in the device is used to store the FPGA firmware program, and the FPGA firmware program is loaded when the device is powered on and works in a predetermined mode.

[0089] Further preferably, the N uplink TRIG channels correspond to and are connected to the N downlink TRIG channels one by one, so that after any uplink / downlink TRIG channel receives a trigger signal from an uplink / downlink external device or the FPGA module of the same device, it also transmits the trigger signal to another external device in the downlink / uplink direction of the cascade through the corresponding downlink / uplink TRIG channel. Fig.10As shown, since the six downstream TRIG channels correspond one-to-one to and are connected to the six upstream TRIG channels, they can also be named TRIG0, TRIG1, TRIG2, TRIG3, TRIG4 and TRIG5 respectively, so that the upstream TRIG channel TRIGx (x represents an integer and the value range is [0,5]) and the downstream TRIG channel TRIGx can directly transmit to each other as trigger signals such as rising edge trigger signals and falling edge trigger signals, and there is no need for the FPGA module of the same device to transfer the trigger signal, thereby avoiding the delay jitter problem of the trigger signal during the cascade transmission process (that is, there will be a transmission delay of up to 5ns when transmitted through the FPGA module, and this delay time is jitter, while if they are directly connected one by one, the delay is very small and the delay time is highly deterministic).

[0090] Preferably, the device to which the up / down cascade trigger interface circuit belongs also includes an up / down data transmission interface circuit; the up / down data transmission interface circuit is connected to the second interface IP unit (i.e., Fig. 9 DIO2 in the device) so as to have K up / down DIO channels for digital signal interaction with the FPGA module of the same device, and then realize data communication interconnection between the up / down external device and the FPGA module of the same device through the K up / down DIO channels. For example, Fig.10 As shown, the uplink data transmission interface circuit has 8 uplink DIO channels, respectively named DIO01, DIO11, DIO21, DIO31, DIO41, DIO51, DIO61 and DIO71, and the downlink data transmission interface circuit has 8 downlink DIO channels, respectively named DIO02, DIO12, DIO22, DIO32, DIO42, DIO52, DIO62 and DIO72. Through the configuration of the uplink / downlink data transmission interface circuit, the device and other devices also having the uplink / downlink data transmission interface circuit can form a daisy chain topology with an external data processing device, thereby achieving the purpose of digital signal cascade uplink / downlink transmission, such as transmitting the allocated trigger effective waiting time, the first time, the second time, and additional information for timing synchronization trigger function, such as enable switch, target device address and channel number and other additional information, etc. Specifically, the upstream cascade trigger interface circuit and the upstream data transmission interface circuit use Nano-Pitch connectors (e.g., standard 42-pin connectors), and the downstream cascade trigger interface circuit and the downstream data transmission interface circuit also use Nano-Pitch connectors, so that the cascade trigger interface has compact and high-speed characteristics.

[0091] Preferably, the device to which the up / down cascade trigger interface circuit belongs also includes a star trigger interface circuit, wherein the star trigger interface circuit is connected to a third interface IP unit (i.e., Fig. 9 DIO3 in the figure) so as to have M TRIG channels for trigger signal interaction with the FPGA module of the same device, so that the connected external device can interact with the FPGA module of the same device through any TRIG channel for the second trigger signal, wherein the FPGA module of the same device refers to the FPGA module located in the device to which the trigger connector belongs, and M represents a positive integer. Thus, through the configuration of the aforementioned star-shaped trigger interface circuit, the device to which the trigger connector belongs and other devices that also have the star-shaped trigger interface circuit can form a star-shaped topology with the external trigger signal distribution device (i.e., the external device), so that the external trigger signal distribution device can be connected to the star-shaped trigger interface circuits of the device to which the trigger connector belongs and other devices through cables of equal length, so as to achieve the purpose of simultaneously transmitting a star-shaped trigger signal with higher synchronization accuracy (i.e., the second trigger signal at this time). In addition, the device to which the trigger connector belongs can also be used as a trigger signal distribution device to provide a trigger signal to the external device.

[0092] Preferably, the device to which the up / down cascade trigger interface circuit belongs also includes a clock signal interface circuit, wherein the clock signal interface circuit is used to respectively connect an external clock signal distribution device and a clock signal generation module of the device to which the circuit belongs and is connected to the third interface IP unit, and is also used to transmit the external clock signal to the clock signal generation module after receiving the external clock signal from the external clock signal distribution device, so that the clock signal generation module generates the required clock signal of the device based on a phase-locked loop (PLL, which is a negative feedback control method that uses a voltage generated by phase synchronization to tune a voltage-controlled oscillator to generate a target frequency) and / or direct digital synthesis (DDS, which is a digital electronic method that generates arbitrary waveforms and frequencies from a single or mixed frequency source) mechanism, and transmits the required clock signal to the FPGA module of the same device. The external clock signal distribution device and the external trigger signal distribution device may be the same device or not. Through the configuration of the aforementioned clock signal interface circuit, when the affiliated device and other devices also having the trigger connector form a star topology with the external clock signal distribution device, the external clock signal distribution device can be connected to the clock signal interface circuits of the affiliated device and the other devices through cables of equal length, so as to achieve the purpose of simultaneously transmitting an external clock signal with higher synchronization accuracy. In addition, the clock signal interface circuit can also be directly connected to the third interface IP unit, so that after receiving the external sampling clock signal from the external clock signal distribution device, the external sampling clock signal is transmitted to the same device FPGA module for timing of signal acquisition and processing. Specifically, the external clock signal includes but is not limited to a reference clock signal and / or a GPS (Global Positioning System) second pulse signal, etc., wherein the reference clock signal is used to enable the clock signal generation module to generate a common clock signal required by the affiliated device and phase-locked with the reference clock signal, and the GPS second pulse signal is used to enable the clock signal generation module to generate a precise clock signal required by the affiliated device and phase-locked with the GPS second pulse signal. In addition, the device may also include an onboard clock crystal oscillator module connected to the clock signal generating module, so that when there is no external clock signal input, the onboard clock crystal oscillator module transmits a crystal oscillator signal to the clock signal generating module, so that the clock signal generating module can generate the required ordinary clock signal of the device based on a phase-locked loop and / or direct digital synthesis mechanism, and transmit the required ordinary clock signal to the FPGA module of the same device.

[0093] Preferably, the time to digital converter TDC (Time to Digital Convert) is built in the same device FPGA module and is connected to the first interface IP unit and the second interface IP unit respectively, so as to measure the first duration of the data sampling trigger signal imported from the up / down cascade trigger interface circuit or the star trigger interface circuit. In this way, TDC can be implemented in FPGA, that is, to some extent, it can be understood as using FPGA to sample the start and stop signals and record the time interval of the two signals sampled; the maximum frequency allowed by the clock in FPGA is limited. When TDC is implemented using the counter method, it is equivalent to the sampling interval of the start and stop signals being one clock cycle, so that the information of when the signal arrives in one clock cycle cannot be read out; in order to dig out the time information within a single clock cycle, one idea is to use clocks of different phases to sample the same T signal, which is equivalent to changing the sampling cycle to one-tenth of the previous one, and each phase-shifted clock still works at the frequency allowed by FPGA; the biggest challenge of using multi-phase clocks to implement interpolation TDC is phase detection accuracy and multi-clock domain data synchronization.

[0094] In summary, the trigger synchronization accuracy improvement method provided by this embodiment has the following technical effects:

[0095] (1) This embodiment provides a method for improving the trigger synchronization accuracy of a cascade trigger system, that is, the cascade trigger system includes a master node device and multiple slave node devices whose clock signals are synchronously aligned and cascaded in sequence. The method is that the master node device measures the master-slave trigger signal cascade transmission delay for each slave node device by sending a test trigger pulse signal and returning another test trigger pulse signal, and then allocates corresponding trigger effectiveness waiting time to the master node device and the slave node device based on the measurement result. In this way, it can be ensured that although the master node device and the multiple slave node devices transmit formal trigger signals up / down in a cascade manner, they can agree to execute trigger actions simultaneously in soft trigger / immediate trigger mode based on the delay measurement results, thereby solving the problem of low trigger synchronization accuracy in the existing pulse trigger system based on a cascade portable structure, achieving the purpose of high-precision synchronous triggering of the cascade trigger system, and facilitating practical application and promotion.

[0096] Embodiment 2

[0097] Based on the technical solution of the first embodiment, this embodiment provides another method for improving the trigger synchronization accuracy, that is, when the master node device and the X slave node devices are respectively data sampling devices, after determining the X trigger signal cascade transmission delays corresponding to the X slave node devices, the method includes: the master node device allocates the data pre-sampling time length of the master node device in the pre-sampling mode as Tmax according to the X trigger signal cascade transmission delays, and allocates the data pre-sampling time length of the x-th slave node device in the pre-sampling mode as Tmax-Tx, so that the master node device and the X slave node devices immediately perform the data sampling action corresponding to the data sampling trigger signal when receiving the data sampling trigger signal, and then upload the corresponding data sampling result that excludes the data sampled within the corresponding data pre-sampling time length. In this way, it can ensure that the uploaded data sampling result is synchronized, and can also solve the problem of low trigger synchronization accuracy in the existing pulse trigger system based on the cascade portable structure.

[0098] The technical details and technical effects of the aforementioned device provided in this embodiment can be found in the method for improving the trigger synchronization accuracy described in Embodiment 1, and will not be described in detail here.

[0099] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for improving the trigger synchronization accuracy of a cascade trigger system. It is characterized in that The cascade trigger system includes a master node device and X slave node devices whose clock signals are synchronously aligned, wherein X represents a positive integer, the down / up cascade trigger interface circuit of the master node device is connected to the up / down cascade trigger interface circuit of the first slave node device, and when X is greater than 1, the down / up cascade trigger interface circuit of the first slave node device is connected to the up / down cascade trigger interface circuit of the second slave node device, and so on, until the down / up cascade trigger interface circuit of the X-1th signal acquisition control device is connected to the up / down cascade trigger interface circuit of the Xth signal acquisition control device, the up / down cascade trigger interface circuit of any slave node device is used to receive a trigger signal from the up / down direction of the cascade, and the down / up cascade trigger interface circuit of any slave node device is used to forward the trigger signal to the down / up direction of the cascade; The method for improving trigger synchronization accuracy comprises: The master node device generates a test trigger pulse signal when the rising edge / falling edge of the first clock cycle arrives, and transmits the test trigger pulse signal to a designated slave node device located in the cascade downstream / upstream direction through the downstream / upstream cascade trigger interface circuit of the master node device, wherein the designated slave node device is each slave node device among the X slave node devices; After the designated slave node device receives the test trigger pulse signal before the rising edge / falling edge of the Sth clock cycle arrives, another test trigger pulse signal is generated when the rising edge / falling edge of the Sth clock cycle arrives, and the another test trigger pulse signal is transmitted to the master node device through the uplink / downlink cascade trigger interface circuit of the designated slave node device, wherein S represents a positive integer greater than or equal to 2; After the master node device measures the delay time difference from the start time of the first clock cycle to the time when the other test trigger pulse signal is received, the trigger signal cascade transmission delay from the master node device to the designated slave node device is determined according to the delay time difference, specifically including: according to the clock cycle range to which the delay time difference belongs, determining the known parameter X′ corresponding to the clock cycle range to which the delay time difference belongs; according to the known parameter X′ and the delay time difference, calculating the trigger signal cascade transmission delay Δt from the master node device to the designated slave node device according to the following formula: Δt=T OA -X′×T Where, T OA represents the delay time difference, and T represents the clock cycle; After determining the X trigger signal cascade transmission delays corresponding to the X slave node devices one by one, the master node device allocates the trigger effective waiting time of the master node device in the soft trigger / immediate trigger mode as Tmax according to the X trigger signal cascade transmission delays, and allocates the trigger effective waiting time of the x-th slave node device in the X slave node devices in the soft trigger / immediate trigger mode as Tmax-Tx, so that the master node device and the X slave node devices, when receiving the formal trigger signal, respectively, start to execute the trigger action corresponding to the formal trigger signal after the corresponding trigger effective waiting time, wherein x represents a positive integer less than or equal to X, Tmax represents the maximum value of the X trigger signal cascade transmission delays, and Tx represents the trigger signal cascade transmission delay corresponding to the x-th slave node device; When the master node device and the X slave node devices are respectively data sampling devices, after allocating the trigger effectiveness waiting time of the master node device in the soft trigger / immediate trigger mode as Tmax according to the X trigger signal cascade transmission delays, and allocating the trigger effectiveness waiting time of the x-th slave node device in the soft trigger / immediate trigger mode as Tmax-Tx, the method further includes: in the continuous sampling mode, the cascade trigger system will calibrate the trigger signal cascade transmission delay for each slave node device by sending the test trigger pulse signal and returning the other test trigger pulse signal before waiting to start sampling; or, in the continuous trigger finite point sampling mode, the cascade trigger system will calibrate the trigger signal cascade transmission delay for each slave node device by sending the test trigger pulse signal and returning the other test trigger pulse signal during the finite point sampling process during the non-sampling period.

2. The method for improving the trigger synchronization accuracy as claimed in claim 1, It is characterized in that When the master node device and the X slave node devices are respectively data sampling devices, after determining X trigger signal cascade transmission delays corresponding to the X slave node devices one by one, the method includes: The master node device allocates the data pre-sampling duration of the master node device in the pre-sampling mode as Tmax according to the cascade transmission delays of the X trigger signals, and allocates the data pre-sampling duration of the x-th slave node device in the pre-sampling mode as Tmax-Tx, so that the master node device and the X slave node devices, when receiving the data sampling trigger signal, respectively, immediately execute the data sampling action corresponding to the data sampling trigger signal, and then upload the corresponding data sampling result excluding the data sampled within the corresponding data pre-sampling duration.

3. The method for improving the trigger synchronization accuracy as claimed in claim 1, It is characterized in that When the master node device is connected to an external trigger signal distribution device and the master node device and the X slave node devices are respectively data sampling devices, after allocating the trigger validity waiting time of the master node device in the soft trigger / immediate trigger mode to Tmax according to the cascade transmission delay of the X trigger signals, and allocating the trigger validity waiting time of the xth slave node device among the X slave node devices in the soft trigger / immediate trigger mode to Tmax-Tx, the method further includes: The master node device and the X slave node devices pre-sample data of a plurality of clock cycles respectively; After receiving the data sampling trigger signal from the external trigger signal distribution device, the master node device measures a first time length from a rising edge / falling edge of the data sampling trigger signal to a next rising edge / falling edge of a local clock signal through a built-in time-to-digital converter, and sends the first time length to each slave node device among the X slave node devices; The master node device generates a synchronization trigger pulse signal when the rising edge / falling edge of the next clock cycle after receiving the data sampling trigger signal arrives, and transmits the synchronization trigger pulse signal to each slave node device; When the master node device generates the synchronous trigger pulse signal, it starts to execute the trigger action corresponding to the synchronous trigger pulse signal after the corresponding trigger effective waiting time: uploading the data intercepted from the corresponding data pre-sampling result and sampled within the first time and the second time, and switching from the pre-sampling mode to the formal adoption mode at the same time, and uploading the sampled data in real time, wherein the second time refers to the time from the next rising edge / falling edge to the rising edge / falling edge of the next clock cycle; When each slave node device receives the synchronous trigger pulse signal, it will start to execute the trigger action corresponding to the synchronous trigger pulse signal after the corresponding trigger effective waiting time: uploading the data intercepted from the corresponding data pre-sampling result and sampled within the first time period, the second time period and the corresponding trigger effective waiting time, and at the same time switching from the pre-sampling mode to the formal adoption mode, and uploading the sampled data in real time.

4. The method for improving the trigger synchronization accuracy as claimed in claim 1, It is characterized in that The up / downlink cascade trigger interface circuit is connected to a first interface IP unit of the same-device FPGA module and provides a DIO channel, so as to have N up / downlink TRIG channels for interacting trigger signals with the same-device FPGA module, thereby enabling the connected up / downlink external devices located in the up / downlink direction of the cascade to interact with the same-device FPGA module through any up / downlink TRIG channel to transmit the first trigger signal, wherein the same-device FPGA module refers to the FPGA module located in the device to which the up / downlink cascade trigger interface belongs.

5. The method for improving the trigger synchronization accuracy as claimed in claim 4, It is characterized in that The N upstream TRIG channels correspond one-to-one to the N downstream TRIG channels and are connected, so that after any upstream / downstream TRIG channel receives a trigger signal from an upstream / downstream external device or the FPGA module of the same device, it also transmits the trigger signal to another external device located in the downstream / upstream direction of the cascade through the corresponding downstream / upstream TRIG channel.

6. The method for improving the trigger synchronization accuracy as claimed in claim 4, It is characterized in that The device to which the up / down cascade trigger interface circuit belongs also includes an up / down data transmission interface circuit; The uplink / downlink data transmission interface circuit is connected to the second interface IP unit of the same-device FPGA module and also provides a DIO channel, so as to have K uplink / downlink DIO channels for digital signal interaction with the same-device FPGA module, and then realize data communication interconnection between the uplink / downlink external devices and the same-device FPGA module through the K uplink / downlink DIO channels.

7. The method for improving trigger synchronization accuracy as claimed in claim 1, It is characterized in that The device to which the up / down cascade trigger interface circuit belongs also includes a star-shaped trigger interface circuit, wherein the star-shaped trigger interface circuit is connected to a third interface IP unit of the same-device FPGA module and provides a DIO channel, so as to have M TRIG channels for interacting with the same-device FPGA module for trigger signals, thereby enabling the connected external device to interact with the same-device FPGA module for a second trigger signal through any TRIG channel, wherein the same-device FPGA module refers to an FPGA module located in the device to which the trigger connector belongs, and M represents a positive integer.

8. The method for improving the trigger synchronization accuracy as claimed in claim 7, It is characterized in that The device to which the up / down cascade trigger interface circuit belongs also includes a clock signal interface circuit, wherein the clock signal interface circuit is used to respectively connect an external clock signal distribution device and a clock signal generating module of the device to which it belongs and connected to the third interface IP unit, and is also used to transmit the external clock signal to the clock signal generating module after receiving the external clock signal from the external clock signal distribution device, so that the clock signal generating module generates the required clock signal of the device based on a phase-locked loop and / or a direct digital synthesis mechanism, and transmits the required clock signal to the FPGA module of the same device.