Particle accelerator interlock protection system communication architecture based on time sensitive networking

By adopting a time-sensitive network-based communication architecture for particle accelerator interlocking protection systems, the problems of insufficient deterministic response and fault self-healing capability of particle accelerator interlocking systems are solved. This architecture enables efficient interlocking signal forwarding and fault self-healing, improving the system's operational availability and flexible adaptability.

CN123185062APending Publication Date: 2026-11-27XI AN JUNENG MEDICAL ENGINEERING TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611251059.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-18
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing particle accelerator control and safety protection technologies, the deterministic interlocking response, fault self-healing capability, and operational availability of particle accelerators need to be improved. Existing interlocking systems suffer from problems such as rigid topology, complex wiring, heterogeneous protocols, inability to uniformly assess latency, difficulty in fault location, and high costs for future expansion.

Method used

The communication architecture of the particle accelerator interlocking protection system based on time-sensitive networking is adopted, including an interlocking protection field device layer, a dual-stack protocol adaptation gateway, a dual-plane TSN switching network, a centralized network control unit, a local interlocking control unit, and a safety execution module. Through a signal integrity verification module and a dynamic gating strategy, deterministic forwarding of interlocking signals and fault self-healing are achieved.

Benefits of technology

It improves the deterministic interlocking response, fault self-healing capability, and operational availability of particle accelerators, ensures low-latency deterministic guarantee of key interlocking signals under high-load networks and continuous availability during faults, and enables accurate quality monitoring and early degradation warning of traffic of different priorities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123185062A_ABST
    Figure CN123185062A_ABST
Patent Text Reader

Abstract

The application discloses a particle accelerator interlock protection system communication architecture based on a time-sensitive network, relates to the technical field of particle accelerator control and safety protection, and comprises the following: a dual stack protocol adaptation gateway, which encapsulates data output by an interlock protection field device layer into TSN frames with different priorities; a dual-plane TSN switching network, which performs deterministic forwarding according to a time-gating strategy; a centralized network control unit, which generates a time-gating strategy and issues the time-gating strategy; a local interlock control unit, which uses a signal integrity verification module to monitor the quality of the TSN frames and generates a fault label when an index limit is exceeded; and a safety execution module, which executes a protection action under the driving of a three-level interlock protection strategy. Through the cooperation of the dual stack protocol adaptation gateway, the dual-plane TSN switching network, the centralized network control unit, the local interlock control unit and the architecture with the built-in signal integrity verification, the application improves the interlock response determinacy, the fault self-healing capability and the operation availability of the particle accelerator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of particle accelerator control and safety protection technology, and in particular to the communication architecture of a particle accelerator interlocking protection system based on time-sensitive networks. Background Technology

[0002] Particle accelerators, nuclear fusion devices, and large scientific facilities are typically equipped with Machine Protection Systems (MPS) or interlocking protection systems to monitor the status of equipment such as ion sources, radio frequency systems, vacuum systems, magnet power supplies, beam diagnostics, and treatment head safety devices. In case of abnormal conditions, the system can quickly block the beam or switch equipment to avoid equipment damage or treatment risks.

[0003] Existing interlocking systems typically employ hardwiring, relay circuits, dedicated FPGA links, and multiple fieldbuses such as Profinet, EtherCAT, and CANopen. Interlocking signals with different response levels are distributed across slow, fast, and hard-interlocking networks. While this approach can meet engineering requirements at a single stage, it suffers from problems such as rigid topology, complex wiring, heterogeneous protocols, inability to uniformly assess latency, difficulty in fault location, and high costs for future expansion.

[0004] Time-Sensitive Networking (TSN) provides mechanisms such as time synchronization, gating scheduling, frame preemption, stream reservation, and redundant transmission on top of Ethernet, laying the foundation for unified transmission of interlocking signals. However, in particle accelerator scenarios, simply connecting devices to a TSN network cannot directly solve problems such as deterministic scheduling of multi-type interlocking traffic under high load, seamless access of heterogeneous field devices, frame-level integrity monitoring, and rapid self-healing of redundant paths.

[0005] In summary, existing particle accelerator control and safety protection technologies need to improve the deterministic interlocking response, fault self-healing capability, and operational availability of particle accelerators. Summary of the Invention

[0006] This application provides a communication architecture for a particle accelerator interlocking protection system based on time-sensitive networks, which addresses the shortcomings in existing particle accelerator control and safety protection technologies, namely, the need to improve the deterministic interlocking response, fault self-healing capability, and operational availability of particle accelerators.

[0007] On the one hand, this application provides a communication architecture for a particle accelerator interlocking protection system based on time-sensitive networks, including: an interlocking protection field device layer, a dual-stack protocol adaptation gateway, a dual-plane TSN switching network, a centralized network control unit, a local interlocking control unit, and a safety execution module; the local interlocking control unit is internally equipped with a signal integrity verification module.

[0008] The dual-stack protocol adaptation gateway is configured to encapsulate the periodic data and event data output by the interlocking protection field device layer into TSN frames with different priorities, and then send them to the dual-plane TSN switching network.

[0009] The dual-plane TSN switching network is configured to deterministically forward TSN frames of different priorities to the centralized network control unit and the local interlocking control unit according to a preset or dynamically updated time gating strategy.

[0010] The centralized network control unit is configured to generate time-gating policies and distribute them to the dual-plane TSN switching network and the dual-stack protocol adaptation gateway.

[0011] The local interlocking control unit is configured to: use the signal integrity verification module to monitor the quality of the TSN frame, generate a fault tag when the index exceeds the limit, and execute a three-level interlocking protection strategy based on the fault tag.

[0012] The security execution module is configured to perform protection actions under the drive of the three-level interlocking protection strategy.

[0013] In one possible implementation, the dual-stack protocol adapter gateway includes a fieldbus interface layer, a data classification layer, a TSN encapsulation layer, a queue shaping layer, and a TSN uplink port.

[0014] The fieldbus interface layer is used to receive periodic data and event data output by the interlocking protection field equipment layer.

[0015] The data classification layer is used to map the periodic data and the event data to P3 hard interlocking stream, P2 fast interlocking stream, P1 slow interlocking stream, and P0 monitoring log stream.

[0016] The TSN encapsulation layer is used to encapsulate the P3 hard interlocking stream, P2 fast interlocking stream, P1 slow interlocking stream, and P0 monitoring log stream into TSN frames with different priorities.

[0017] The queue shaping layer is used to send TSN frames of different priorities into the corresponding queues according to the time gating strategy.

[0018] The TSN uplink port is used to send TSN frames of different priorities to the dual-plane TSN switching network according to the queue.

[0019] In one possible implementation, the TSN frame includes an extended field for integrity verification, which includes a stream identifier, a frame sequence number, a transmission timestamp, and an integrity check code.

[0020] In one possible implementation, the dual-plane TSN switching network employs a global clock synchronization mechanism.

[0021] In one possible implementation, the time gating strategy includes a dynamic gating list, which allocates windows for the P3 hard interlocking stream, P2 fast interlocking stream, P1 slow interlocking stream, and P0 monitoring log stream in units of scheduling cycles. The P3 hard interlocking stream occupies a fixed highest priority time window, the P2 fast interlocking stream occupies a scalable time window, and the P1 slow interlocking stream and the P0 monitoring log stream are transmitted using the remaining time gaps or through frame preemption.

[0022] In one possible implementation, the time gating policy is generated and distributed by the centralized network control unit based on the treatment mode, device topology, link status, and traffic load, or generated and hot-updated by the local scheduling engine in the local interlocking control unit.

[0023] In one possible implementation, the dual-plane TSN switching network includes physically isolated plane A and plane B, wherein a dual-stack protocol adaptation gateway for sending P3 hard interlocking streams or P2 fast interlocking streams, and a local interlocking control unit for receiving and determining P3 hard interlocking streams or P2 fast interlocking streams, are both connected to plane A and plane B.

[0024] The dual-plane TSN switching network performs ingress replication, different path transmission, and outgress elimination for the P3 hard interlocked stream and the P2 fast interlocked stream, so that the receiver can still obtain continuous interlocked frames when a single link, a single switching node, or a clock failure occurs in any plane.

[0025] In one possible implementation, the signal integrity verification module is implemented in hardware logic, programmable logic, or a real-time processor, and is used to perform CRC verification, sequence number continuity verification, timestamp differential operation, and sliding window jitter statistics on the TSN frame, and to apply different thresholds according to the P3 hard interlocking stream, P2 fast interlocking stream, P1 slow interlocking stream, and P0 monitoring log stream.

[0026] In one possible implementation, the three-level interlocking protection strategy includes: When the first level exceeds the limit, reduce energy or power; when the second level exceeds the limit, shut down the beam current permission or stop the beam; when the third level exceeds the limit or the redundancy capacity is insufficient, switch to the backup path, backup clock or safe shutdown state.

[0027] The communication architecture of the particle accelerator interlocking protection system based on time-sensitive networks in this application has the following advantages: By employing a collaborative architecture that integrates a dual-stack protocol adaptation gateway, a dual-plane TSN switching network, a centralized network control unit, a local interlocking control unit, and built-in signal integrity verification, the deterministic interlocking response, fault self-healing capability, and operational availability of the particle accelerator are improved.

[0028] The six-stage pipeline structure, consisting of a fieldbus interface layer, a data classification layer, a TSN encapsulation layer, a queue shaping layer, and dual uplink ports, improves the mapping efficiency and priority adaptation accuracy of heterogeneous field device signals to the unified TSN plane.

[0029] By writing the stream identifier, sequence number, timestamp, and integrity check code into the TSN frame extension field, the traceability accuracy of the receiver in performing end-to-end delay calculation and packet loss detection for each frame of signal is improved.

[0030] By adopting the IEEE 802.1AS global clock synchronization mechanism and setting master clock candidate nodes and the optimal clock switching algorithm, the continuity of the time base and the consistency of scheduling strategy execution in the event of clock anomalies in the entire system are improved.

[0031] By using a dynamic gating list to fix the highest priority window for P3, the flexible window for P2, and the P1 / P0 to preempt transmission using remaining gaps or frames, the low-latency deterministic guarantee capability of hard interlocking and fast interlocking signals under high-load networks is improved.

[0032] The dual-mode configuration mechanism, which uses a centralized network controller for global generation or a local scheduling engine for hot updates, improves the system's flexibility in adapting to different operating modes, such as fixed treatment rooms, mobile treatment pods, and scientific research debugging.

[0033] By implementing dual-homed access with physically isolated A / B dual-plane and dual-stack protocol-adaptive gateways and local interlocking control units, as well as ingress replication, path separation, and egress elimination mechanisms, the continuous availability of critical interlocking flows is improved without interruption when a single link or switching node fails.

[0034] By performing CRC checks, sequence number continuity checks, and sliding window jitter statistics through hardware logic, and implementing differentiated threshold determination, the sensitivity of accurate quality monitoring and early degradation warning for traffic of different priorities is improved.

[0035] By implementing a three-level strategy of energy reduction, beam shutdown, and switching to backup path or safe shutdown according to the degree of limit violation, the system's ability to balance avoiding false beam shutdown and ensuring reliable protection under extreme conditions is improved when the severity of the fault varies. Attached Figure Description

[0036] To more clearly illustrate the technical solutions in the embodiments of this application 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 of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0037] Figure 1 A schematic diagram of the communication architecture of a particle accelerator interlocking protection system based on time-sensitive networks provided in this application embodiment; Figure 2 A schematic diagram of the scheduling mechanism of the dynamic gating list provided in the embodiments of this application; Figure 3 A schematic diagram of the structure of a dual-stack protocol adaptation gateway provided in an embodiment of this application; Figure 4 A schematic diagram of the redundant topology of a dual-plane TSN switching network provided in an embodiment of this application; Figure 5 This is a schematic diagram of the signal integrity verification and three-level interlocking protection strategy provided in the embodiments of this application; Figure 6 This application provides a schematic diagram of centralized and distributed configuration paradigms in its embodiments. Figure 7 This is a schematic diagram of the encapsulation format of the TSN frame provided in the embodiments of this application. Detailed Implementation

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

[0039] like Figure 1 As shown in the figure, this application provides a communication architecture for a particle accelerator interlocking protection system based on time-sensitive networking, including: an interlocking protection field device layer, a dual-stack protocol adaptation gateway, a dual-plane TSN switching network, a centralized network control unit, a local interlocking control unit, and a safety execution module; the local interlocking control unit is internally equipped with a signal integrity verification module.

[0040] The dual-stack protocol adaptation gateway is configured to encapsulate the periodic data and event data output by the interlocking protection field device layer into TSN frames with different priorities, and then send them to the dual-plane TSN switching network.

[0041] The dual-plane TSN switching network is configured to deterministically forward TSN frames of different priorities to the centralized network control unit and the local interlocking control unit according to a preset or dynamically updated time gating strategy.

[0042] The centralized network control unit is configured to generate time-gating policies and distribute them to the dual-plane TSN switching network and the dual-stack protocol adaptation gateway.

[0043] The local interlocking control unit is configured to: use the signal integrity verification module to monitor the quality of the TSN frame, generate a fault tag when the index exceeds the limit, and execute a three-level interlocking protection strategy based on the fault tag.

[0044] The security execution module is configured to perform protection actions under the drive of the three-level interlocking protection strategy.

[0045] Specifically, such as Figure 1 As shown, Figure 1 The ion source / injector PLC / FPGA, magnet power supply / vacuum RF / beam diagnostic equipment, treatment head safety PLC, dose / scanning access control, operation monitoring / HMI database / log all correspond to the interlocking protection layer of field equipment, including but not limited to ion source, injector, RF system, vacuum system, magnet power supply, beam diagnostic equipment, scanning magnet power supply, dose monitoring equipment, treatment head access control, and safety PLC. In this embodiment, four dual-stack protocol adaptation gateways (numbered G1, G2, G3, and G4) are configured. Figure 1 The dual-plane ring network + star hybrid bearer corresponds to the dual-plane TSN switching network; the centralized network controller (CNC) corresponds to the centralized network control unit; the interlocking controller (LICS) corresponds to the local interlocking control unit; and the actuator corresponds to the safety execution module.

[0046] The periodic data and event data output by the interlocking protection field equipment layer are divided into P3 hard interlocking stream, P2 fast interlocking stream, P1 slow interlocking stream and P0 monitoring log stream according to response time and security level in the subsequent dual-stack protocol adaptation gateway.

[0047] Specifically, in one embodiment, the communication architecture of the particle accelerator interlocking protection system based on time-sensitive networks of this application is applied to the TSN interlocking network of a fixed treatment room in a medical heavy ion accelerator: The interlocked protection field equipment layer (including ion source, low-energy transport line, synchrotron ring, high-energy transport line, scanning magnet power supply, dose monitoring equipment, and treatment head safety PLC) is connected to the dual-plane TSN switching network through dual-stack protocol adapter gateways. Each dual-stack protocol adapter gateway has at least two TSN uplink ports, which are connected to the A plane and B plane of the dual-plane TSN switching network, respectively.

[0048] Upon system startup, the network control unit reads the device topology, treatment room status, and treatment mode, generating flow tables and time-gated lists for four types of traffic: P3 hard interlock flow, P2 fast interlock flow, P1 slow interlock flow, and P0 monitoring log flow. The P3 hard interlock flow includes beam permission, treatment access control, dose interlock, severe vacuum anomalies, and severe magnet power supply failures; the P2 fast interlock flow includes beam position anomalies, radio frequency anomalies, and cooling flow anomalies; the P1 slow interlock flow includes temperature, pressure, and device enable status; and the P0 monitoring log flow includes trend data, diagnostic logs, and maintenance data.

[0049] In clinical treatment mode, the time window for the P3 hard-interlocked stream is fixed within each scheduling cycle, while the time window for the P2 fast-interlocked stream scales based on the current number of P2 fast-interlocked streams and network load. The P1 slow-interlocked stream and the P0 monitoring log stream are sent during the remaining time or in preempted segments. When the TSN frame encapsulated by the P3 hard-interlocked stream arrives at the receiver, the signal integrity verification module first verifies the integrity code, then calculates the end-to-end delay based on the transmission timestamp and local reception time, and calculates whether frames have been lost based on the consecutive frame sequence number.

[0050] If the TSN frame delay of the P3 hard-interlocked stream encapsulation exceeds 30 microseconds, the peak-to-peak jitter exceeds 1 microsecond, or packet loss occurs, the signal integrity verification module immediately outputs a fault tag to the local interlocking control unit. The local interlocking control unit then controls the safety execution module to perform power reduction, beam stopping, or switching actions based on the fault type, and writes the event and recent delay, jitter, and packet loss statistics into the circular buffer.

[0051] For example, the dual-stack protocol adapter gateway includes a fieldbus interface layer, a data classification layer, a TSN encapsulation layer, a queue shaping layer, and a TSN uplink port.

[0052] The fieldbus interface layer is used to receive periodic data and event data output by the interlocking protection field equipment layer.

[0053] The data classification layer is used to map the periodic data and the event data to P3 hard interlocking stream, P2 fast interlocking stream, P1 slow interlocking stream, and P0 monitoring log stream.

[0054] The TSN encapsulation layer is used to encapsulate the P3 hard interlocking stream, P2 fast interlocking stream, P1 slow interlocking stream, and P0 monitoring log stream into TSN frames with different priorities.

[0055] The queue shaping layer is used to send TSN frames of different priorities into the corresponding queues according to the time gating strategy.

[0056] The TSN uplink port is used to send TSN frames of different priorities to the dual-plane TSN switching network according to the queue.

[0057] Specifically, such as Figure 3 The diagram shows the structure of a dual-stack protocol adapter gateway. The dual-stack protocol adapter gateway can be implemented using an FPGA, SoC, or a real-time industrial controller. The dual-stack protocol adapter gateway includes a fieldbus interface layer, a data classification layer, a TSN encapsulation layer, a queue shaping layer, and a TSN uplink port.

[0058] The fieldbus interface layer is configured with Profinet IRT master / slave interface, EtherCAT master / slave interface, CANopen interface, RS-485 interface, dry contact input interface, or parallel FPGA I / O interface according to the field device type of the interlocking protection field device layer. The fieldbus interface layer is responsible for reading periodic and event data from various buses; the data classification layer maps the periodic and event data to P3 hard interlocking streams, P2 fast interlocking streams, P1 slow interlocking streams, and P0 monitoring log streams according to the data source, device safety level, and treatment mode; the TSN encapsulation layer writes a stream identifier, sequence number, transmission timestamp, and integrity check code to each frame of P3 hard interlocking stream, P2 fast interlocking stream, P1 slow interlocking stream, and P0 monitoring log stream, encapsulating them into TSN frames with different priorities; the queue shaping layer sends TSN frames of different priorities to the corresponding queues according to a time gating strategy. Figure 3 As shown, the dual-stack protocol adapter gateway is also equipped with an 802.1AS / gPTP clock for synchronizing local sampling and frame output.

[0059] To reduce forwarding latency, the dual-stack protocol adapter gateway preferably adopts Cut-Through forwarding logic, which allows uplink transmission to begin immediately after parsing the key fields in the frame header. For critical traffic (i.e., P3 hard interlocking flow and P2 fast interlocking flow), the dual-stack protocol adapter gateway can simultaneously send duplicate frames from both the A-plane port and the B-plane port; for non-critical monitoring traffic (i.e., P1 slow interlocking flow and P0 monitoring log flow), the dual-stack protocol adapter gateway can select to send only a single plane or a low-priority queue.

[0060] For example, the TSN frame includes extended fields for integrity verification, which include a stream identifier, a frame sequence number, a transmission timestamp, and an integrity check code.

[0061] Specifically, such as Figure 7 The image shows the encapsulation format of a TSN frame. The entire TSN frame includes the Dst MAC address, Src MAC address, VLAN tag / PCP field, flow ID (flow identifier), sequence number (frame sequence number), timestamp (send timestamp), integrity code (integrity check code), payload field, and FCS (Frame Check Sequence).

[0062] For example, the dual-plane TSN switching network employs a global clock synchronization mechanism. In this embodiment, a gPTP synchronization mechanism compatible with IEEE 802.1AS is used, and at least two master clock candidate nodes are set up so that clock switching can be completed through the optimal master clock selection algorithm when the master clock is abnormal.

[0063] For example, the time gating strategy includes a dynamic gating list, which allocates windows for the P3 hard interlocking stream, P2 fast interlocking stream, P1 slow interlocking stream, and P0 monitoring log stream in units of scheduling cycles. The P3 hard interlocking stream occupies a fixed highest priority time window, the P2 fast interlocking stream occupies a scalable time window, and the P1 slow interlocking stream and P0 monitoring log stream are transmitted using the remaining time gaps or through frame preemption.

[0064] Specifically, such as Figure 2 The diagram shows the scheduling mechanism of the dynamic gating list.

[0065] For example, the time gating policy is generated and distributed by the centralized network control unit based on the treatment mode, device topology, link status and traffic load, or generated and hot-updated by the local scheduling engine in the local interlocking control unit.

[0066] For example, the dual-plane TSN switching network includes physically isolated plane A and plane B, wherein a dual-stack protocol adaptation gateway for sending P3 hard interlocking streams or P2 fast interlocking streams, and a local interlocking control unit for receiving and determining P3 hard interlocking streams or P2 fast interlocking streams, are both connected to plane A and plane B.

[0067] The dual-plane TSN switching network performs ingress replication, different path transmission, and outgress elimination for the P3 hard interlocked stream and the P2 fast interlocked stream, so that the receiver can still obtain continuous interlocked frames when a single link, a single switching node, or a clock failure occurs in any plane.

[0068] Specifically, such as Figure 4 The diagram illustrates a redundant topology for a dual-plane TSN switching network. In this network, planes A and B are laid along different fiber optic cable trays and use independent switching nodes or independent port groups. P3 hard-interlocked flows and P2 fast-interlocked flows are duplicated at the ingress gateway and transmitted along planes A and B respectively. The receiving end retains the first arriving frame that passes integrity verification based on the flow identifier and sequence number, and discards duplicate frames.

[0069] When any plane experiences an increase in bit error rate, excessive synchronization deviation, missing consecutive sequences, link interruption, or loss of connection of a switching node, both the centralized network control unit and the local interlocking control unit can record the anomaly. Since the egress end continuously receives frames from another plane, critical traffic can remain continuous. After the fault is recovered, the system can re-integrate into the path according to the strategy, or restore redundancy after maintenance confirmation.

[0070] like Figure 5 The diagram illustrates the signal integrity verification and three-level interlocking protection strategy flow. For example, the signal integrity verification module is implemented using hardware logic, programmable logic, or a real-time processor. It performs CRC verification, sequence number continuity verification, timestamp differential calculation, and sliding window jitter statistics on the TSN frame, and applies different thresholds based on the P3 hard interlocking stream, P2 fast interlocking stream, P1 slow interlocking stream, and P0 monitoring log stream.

[0071] For example, the three-level interlocking protection strategy includes: When a Level 1 limit is exceeded, energy or power reduction is implemented; when a Level 2 limit is exceeded, beam current permission is disabled or the beam is stopped; when a Level 3 limit is exceeded or redundancy is insufficient, the system switches to a backup path, backup clock, or safe shutdown state. All events are written to a local circular buffer and can be reported to a host computer, database, or predictive maintenance module.

[0072] Specifically, such as Figure 6 The diagram illustrates centralized and distributed configuration paradigms.

[0073] In fixed treatment rooms, a centralized configuration paradigm is adopted. A centralized network control unit acts as a global scheduling and computing node, uniformly maintaining device topology, traffic lists, treatment modes, and time gating lists. It then distributes configurations to the dual-plane TSN switching network and dual-stack protocol adaptation gateway via the YANG / NETCONF configuration interface or an equivalent configuration interface. This mode is suitable for scenarios requiring stable configuration and high auditing standards in clinical operations.

[0074] In mobile treatment pods or research and debugging harnesses, a distributed configuration paradigm is adopted. The local interlocking control unit has a built-in local scheduling engine that can generate local control policies based on local equipment combinations, experimental modes, and temporary harness configurations. The distributed policy uses the same data model and versioning mechanism as the centralized policy, avoiding inconsistent configurations within the same network.

[0075] The embodiments of this application improve the interlocking response determinism, fault self-healing capability, and operational availability of particle accelerators through the collaborative architecture of dual-stack protocol adaptation gateway, dual-plane TSN switching network, centralized network control unit, local interlocking control unit, and built-in signal integrity verification.

[0076] The six-stage pipeline structure, consisting of a fieldbus interface layer, a data classification layer, a TSN encapsulation layer, a queue shaping layer, and dual uplink ports, improves the mapping efficiency and priority adaptation accuracy of heterogeneous field device signals to the unified TSN plane.

[0077] By writing the stream identifier, sequence number, timestamp, and integrity check code into the TSN frame extension field, the traceability accuracy of the receiver in performing end-to-end delay calculation and packet loss detection for each frame of signal is improved.

[0078] By adopting the IEEE 802.1AS global clock synchronization mechanism and setting master clock candidate nodes and the optimal clock switching algorithm, the continuity of the time base and the consistency of scheduling strategy execution in the event of clock anomalies in the entire system are improved.

[0079] By using a dynamic gating list to fix the highest priority window for P3, the flexible window for P2, and the P1 / P0 to preempt transmission using remaining gaps or frames, the low-latency deterministic guarantee capability of hard interlocking and fast interlocking signals under high-load networks is improved.

[0080] The dual-mode configuration mechanism, which uses a centralized network controller for global generation or a local scheduling engine for hot updates, improves the system's flexibility in adapting to different operating modes, such as fixed treatment rooms, mobile treatment pods, and scientific research debugging.

[0081] By implementing dual-homed access with physically isolated A / B dual-plane and dual-stack protocol-adaptive gateways and local interlocking control units, as well as ingress replication, path separation, and egress elimination mechanisms, the continuous availability of critical interlocking flows is improved without interruption when a single link or switching node fails.

[0082] By performing CRC checks, sequence number continuity checks, and sliding window jitter statistics through hardware logic, and implementing differentiated threshold determination, the sensitivity of accurate quality monitoring and early degradation warning for traffic of different priorities is improved.

[0083] By implementing a three-level strategy of energy reduction, beam shutdown, and switching to backup path or safe shutdown according to the degree of limit violation, the system's ability to balance avoiding false beam shutdown and ensuring reliable protection under extreme conditions is improved when the severity of the fault varies.

[0084] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0085] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A communication architecture for a particle accelerator interlocking protection system based on time-sensitive networks, characterized in that, include: Interlocking protection field equipment layer, dual-stack protocol adaptation gateway, dual-plane TSN switching network, centralized network control unit, local interlocking control unit and safety execution module; The local interlocking control unit is equipped with a signal integrity verification module. The dual-stack protocol adaptation gateway is configured to encapsulate the periodic data and event data output by the interlocking protection field device layer into TSN frames with different priorities, and then send them to the dual-plane TSN switching network. The dual-plane TSN switching network is configured to deterministically forward TSN frames of different priorities to the centralized network control unit and the local interlocking control unit according to a preset or dynamically updated time gating strategy. The centralized network control unit is configured to generate time-gating policies and distribute them to the dual-plane TSN switching network and the dual-stack protocol adaptation gateway. The local interlocking control unit is configured to: use the signal integrity verification module to perform quality monitoring on the TSN frame, generate a fault tag when the index exceeds the limit, and execute a three-level interlocking protection strategy based on the fault tag; The security execution module is configured to perform protection actions under the drive of the three-level interlocking protection strategy.

2. The communication architecture of the particle accelerator interlocking protection system based on time-sensitive networks according to claim 1, characterized in that, The dual-stack protocol adaptation gateway includes a fieldbus interface layer, a data classification layer, a TSN encapsulation layer, a queue shaping layer, and a TSN uplink port; The fieldbus interface layer is used to receive periodic data and event data output by the interlocking protection field device layer; The data classification layer is used to map the periodic data and the event data into P3 hard interlocking stream, P2 fast interlocking stream, P1 slow interlocking stream, and P0 monitoring log stream. The TSN encapsulation layer is used to encapsulate the P3 hard interlocking stream, P2 fast interlocking stream, P1 slow interlocking stream, and P0 monitoring log stream into TSN frames with different priorities. The queue shaping layer is used to send TSN frames of different priorities into the corresponding queues according to the time gating strategy; The TSN uplink port is used to send TSN frames of different priorities to the dual-plane TSN switching network according to the queue.

3. The communication architecture of the particle accelerator interlocking protection system based on time-sensitive networks according to claim 1, characterized in that, The TSN frame includes extended fields for integrity verification, which include a stream identifier, a frame sequence number, a transmission timestamp, and an integrity check code.

4. The communication architecture of the particle accelerator interlocking protection system based on time-sensitive networks according to claim 1, characterized in that, The dual-plane TSN switching network employs a global clock synchronization mechanism.

5. The communication architecture of the particle accelerator interlocking protection system based on time-sensitive networks according to claim 2, characterized in that, The time gating strategy includes a dynamic gating list, which allocates windows for the P3 hard interlocking stream, P2 fast interlocking stream, P1 slow interlocking stream, and P0 monitoring log stream in units of scheduling cycles. The P3 hard interlocking stream occupies a fixed highest priority time window, the P2 fast interlocking stream occupies a scalable time window, and the P1 slow interlocking stream and P0 monitoring log stream are transmitted using the remaining time gaps or through frame preemption.

6. The communication architecture of the particle accelerator interlocking protection system based on time-sensitive networks according to claim 1, characterized in that, The time gating policy is generated and issued by the centralized network control unit based on the treatment mode, device topology, link status and traffic load, or generated and hot-updated by the local scheduling engine in the local interlocking control unit.

7. The communication architecture of the particle accelerator interlocking protection system based on time-sensitive networks according to claim 1, characterized in that, The dual-plane TSN switching network includes physically isolated plane A and plane B. A dual-stack protocol adaptation gateway for sending P3 hard interlocking streams or P2 fast interlocking streams, and a local interlocking control unit for receiving and determining P3 hard interlocking streams or P2 fast interlocking streams, are both connected to plane A and plane B. The dual-plane TSN switching network performs ingress replication, different path transmission, and outgress elimination for the P3 hard interlocked stream and the P2 fast interlocked stream, so that the receiver can still obtain continuous interlocked frames when a single link, a single switching node, or a clock failure occurs in any plane.

8. The communication architecture of the particle accelerator interlocking protection system based on time-sensitive networks according to claim 1, characterized in that, The signal integrity verification module is implemented using hardware logic, programmable logic, or a real-time processor. It is used to perform CRC verification, sequence number continuity verification, timestamp differential operation, and sliding window jitter statistics on the TSN frame, and to apply different thresholds according to the P3 hard interlocking stream, P2 fast interlocking stream, P1 slow interlocking stream, and P0 monitoring log stream.

9. The communication architecture of the particle accelerator interlocking protection system based on time-sensitive networks according to claim 1, characterized in that, The three-level interlocking protection strategy includes: When the first level exceeds the limit, energy or power is reduced; when the second level exceeds the limit, beam current permission is turned off or the beam is stopped; when the third level exceeds the limit or redundancy is insufficient, the system switches to the backup path, backup clock, or safe shutdown state.