Optical fiber semi-automatic block safety control system based on double CPU
By combining dual-CPU redundant processing and fiber optic communication modules, high reliability and real-time visualization of the railway semi-automatic block signaling system are achieved, solving the problems of weak anti-interference capability and difficulty in fault location of existing systems, and improving the safety and reliability of railway train operation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING ZHENGXIN CENTURY TECHNOLOGY CO LTD
- Filing Date
- 2025-09-27
- Publication Date
- 2026-06-02
AI Technical Summary
The existing semi-automatic block signaling system for railways lacks a dual-CPU redundancy structure and has an imperfect communication mechanism, resulting in weak anti-interference capabilities, high risk of malfunctions, difficulty in real-time visualization of equipment status, and difficulty in fault location.
It adopts a dual-CPU redundancy processing method, realizes highly reliable digital transmission of block status between stations through fiber optic communication modules, and provides real-time feedback in conjunction with status indication and alarm modules. It is equipped with power protection and fault isolation functions, and supports station address configuration and RS485 interface communication.
It improves the fault tolerance, communication stability and operation and maintenance efficiency of block control, enhances the inherent safety guarantee capability of railway section operation, and reduces the risk of malfunction and the difficulty of fault location.
Smart Images

Figure CN121348844B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial control and redundant safety control technology, and in particular to a fiber optic semi-automatic block safety control system based on dual CPUs. Background Technology
[0002] Semi-automatic block signaling systems are an important component of railway train operation control and are widely used on medium- and low-capacity lines. Traditional block signaling systems are mostly implemented through relay control and cable communication, which are complex in structure, have limited transmission distance, weak anti-interference capabilities, and often use a single-CPU processing structure, lacking necessary redundancy mechanisms. In the event of a system failure, they cannot effectively guarantee safety and are at risk of malfunction or false release.
[0003] With the development of fiber optic communication technology, some systems have begun to introduce single-mode fiber to achieve inter-station communication, improving data transmission efficiency and reliability. However, most existing fiber optic block systems still rely on single-channel judgment and lack a dual-CPU redundancy structure. They also lack cross-checking and redundancy fault tolerance capabilities for the acquisition and judgment of X1 and X2 voltage signals. At the same time, the existing systems have imperfect identification and status feedback mechanisms for input signal polarity, making it difficult to visualize equipment operating status in real time, which is not conducive to fault location and on-site maintenance.
[0004] Some block control devices lack flexible integration with interlocking systems and site address configuration, their communication interfaces lack a unified standard, and their power modules lack comprehensive protection mechanisms. In the event of abnormal power supply, system failure is easily caused. In summary, existing technologies still have significant shortcomings in terms of safety control architecture, communication mechanisms, status indication, and operational reliability, necessitating an improved block control system with a safer structure, more stable communication, and clearer status feedback. Summary of the Invention
[0005] One objective of this invention is to propose a fiber-optic semi-automatic block control system based on a dual-CPU architecture. This invention employs a dual-CPU redundancy processing method to independently acquire, judge, and cross-verify the voltage signals of the block control loops X1 and X2. High-reliability digital transmission of block status between stations is achieved through a fiber-optic communication module, and real-time visual feedback on system operation, communication, and power status is provided in conjunction with a status indication and alarm module. The system also supports station address configuration and RS485 interface communication, and features power protection and fault isolation functions. This system effectively improves the fault tolerance, communication stability, and operational efficiency of block control, enhancing the inherent safety assurance capability of railway section operation.
[0006] A fiber optic semi-automatic block safety control system based on a dual-CPU according to an embodiment of the present invention includes:
[0007] The dual-CPU redundant processing module is used to independently acquire the voltage status of the block control loop through CPUs A and B respectively. Based on the redundancy judgment mechanism that integrates model-independent element learning and near-end strategy optimization, it performs block status analysis, fault-tolerant decision-making and redundancy cross-validation.
[0008] The fiber optic communication module is used for fiber optic digital communication between two stations. It adopts a single-mode FC type optical interface and supports bidirectional communication on a single fiber.
[0009] The block control input acquisition module is used to acquire voltage signals from field relays and block control loops;
[0010] The block control output drive module is used to output control signals based on the judgment results of the dual CPUs to drive the field execution equipment;
[0011] The safety circuit address and communication interface module is used to set the device address to distinguish different station roles, and at the same time communicates with external systems through the RS485 interface;
[0012] The power supply and protection module is used to provide power input and internal power output to the system;
[0013] The status indication and alarm display module is used to display the CPU blocking status, voltage type, communication status, system fault, optical signal status and power status of A and B channels in real time through device indicator lights.
[0014] 0. The fiber optic semi-automatic block safety control system based on dual CPUs according to claim 1, characterized in that the modules are implemented through the following method:
[0015] S1. Collect the voltage signals in the X1 and X2 block control loops and transmit them to CPU A and CPU B respectively as independent input samples;
[0016] S2. Analyze independent input samples and collect state vectors;
[0017] S3. Obtain the state vector. Based on the initial parameters of the transferable policy generated by model-independent meta-learning, update the low-level policy parameters through the near-end policy optimization algorithm, and perform consistency verification on the output actions of the low-level policy by combining the redundancy judgment mechanism to form the blocking control command.
[0018] S4. Encode local block control commands and send them to the opposite station system via a single-fiber bidirectional optical fiber communication link;
[0019] S5. Receive block information from the other end and combine it with the local block control command to form the final block control command;
[0020] S6. Configure the device address identifier and interact with the host system via the RS485 communication interface;
[0021] S7 provides the necessary power supply for the system, monitors the current status, and displays system operation, communication, and fault information through device indicator lights.
[0022] Optionally, the fiber optic semi-automatic block safety control system based on dual CPUs is characterized in that the equipment indicator lights include multiple sets of LED indicator lights, which are used to indicate the block control channel, voltage polarity, safety circuit operation status, communication status, optical signal status and power supply status.
[0023] Optionally, step S1 includes the following specific steps:
[0024] S11. The X1 and X2 voltage signals in the field block control loop are respectively connected to the Z1, F1 and Z2, F2 input terminals of the block control input acquisition module to form independent first and second input channels.
[0025] S12. Input the voltage signals corresponding to X1 and X2 to the input acquisition circuit, perform analog-to-digital conversion and voltage normalization processing, and obtain the numerical characteristic pairs. ;
[0026] S13. Process the feature vector. The data is simultaneously input to CPU A and CPU B respectively, forming a redundant dual-channel sampling input to constitute the state observation sample. superscript and This indicates channel data collected independently by the CPU for paths A and B.
[0027] Optionally, step S2 includes the following specific steps:
[0028] S21, take the state observation sample The input is fed into the feature parsing module to construct the original input state set for the current time step. ;
[0029] S22, to The state values of each channel are cross-compared to calculate the difference vector. , used to represent the input consistency index of the block control loop under dual CPU;
[0030] S23. Concatenate the original state observation samples with the difference vector to form the state vector. .
[0031] Optionally, step S3 includes the following specific steps:
[0032] S31. Transfer the state vector Input to high-level policy network Output the current macro-level blocking task objectives and guidance , goal guidance Indicates a global control intent, including maintaining closure and requesting access;
[0033] S32, Guiding the Goal Local state observation , The inputs are respectively fed into the lower-level policy network. and Output action and The actions include outputting a positive voltage, outputting a negative voltage, and maintaining no output;
[0034] S33. Initial parameters of the low-level policy network based on the model-independent meta-learning algorithm. Optimize to make the initial parameters In the state observation sample dataset The task adaptation strategy parameters can be obtained through a single gradient update. ;
[0035] S34. Employ a near-end strategy optimization algorithm to optimize personalized parameters. Based on this, using the state observation sample dataset Data estimation advantage function Construct a shearing objective function; update the policy network parameters by maximizing the shearing objective function, and output the appropriate action for the current blocking state. and ;
[0036] S35. Combine the redundancy judgment mechanism to verify the output action of the low-level strategy. and Consistency is ensured; when the output actions are consistent, a block control command is generated; if they are inconsistent, the block holding strategy is reverted to the fault tolerance criterion.
[0037] Optionally, step S4 includes the following specific steps:
[0038] S41. The action results output by CPUs A and B. and A consistency check is performed. If the check is consistent, a local blockage state change identifier for the current moment is formed based on the output action result. Local blockage status change indicator Used to indicate whether the blocking status changes from prohibited to permitted and from permitted to prohibited;
[0039] S42. Mark the change in occupancy status. The data frames are encoded into a communication format and written into the transmit buffer queue of the fiber optic communication module;
[0040] S43. The data frame is transmitted to the other end station system via a single-mode FC optical interface through an optical fiber communication module on a single-fiber bidirectional link.
[0041] S44. If a link loss or abnormal interruption is detected during communication, the no-light alarm mechanism is immediately triggered, and the status indication and alarm display module issues a fault prompt signal.
[0042] Optionally, step S5 includes the following specific steps:
[0043] S51. The fiber optic communication module receives local block status information sent from the peer station system through a single-mode FC optical interface.
[0044] S52. The received local blockage status information is decoded by the optical fiber communication module and transmitted to the dual-CPU redundant processing module.
[0045] S53, the dual-CPU redundant processing module performs a logical comparison between the received blocking status information of the other end and the judgment results of the locally acquired X1 and X2 voltage signals.
[0046] S54. When the corresponding blocking logic conditions are met between the peer end and the local state, the final blocking control command is generated and subsequent control actions are triggered. If the conditions are not met, the blocking prohibition state is maintained.
[0047] Optionally, step S6 includes the following specific steps:
[0048] S61. Based on the station role requirements, station A does not need to be short-circuited, while station B needs to be short-circuited at 13-12 and 23-22. Configure the addresses of the devices to distinguish between station A and station B roles.
[0049] S62. The security circuit address and communication interface module completes address identification based on the jumper status and writes the configuration result into the system's internal status identifier.
[0050] S63. Establish RS485 communication connection with the external host system through the 485+ and 485− ports to complete the real-time interaction of blockage status information, fault status and equipment identification operation data.
[0051] Optionally, step S7 includes the following specific steps:
[0052] S71. Connect to an AC 220V power supply via the power supply and protection module. The working power supply uses AC 220V input, with an input range of 85~265V. Idle working power is 5W, and the load power is 10W.
[0053] S72, the power supply and protection module monitors the power supply status and load current in real time, and triggers the protection mechanism when the input voltage is abnormal or the output is short-circuited.
[0054] S73, the status indication and alarm display module collects status data from the power supply, fiber optic communication, CPU computing, and relay control modules;
[0055] S74. Based on the collected status information, the device indicator lights are turned on respectively, so that maintenance personnel can judge the system operating status in real time.
[0056] The beneficial effects of this invention are
[0057] This invention, by constructing a dual-CPU redundant processing architecture, firstly achieves independent dual-channel acquisition and judgment of the voltage states of block control loops X1 and X2. Utilizing cross-checking and fault-safe logic design, it effectively improves the accuracy of block status determination and the system's fault tolerance, avoiding the risk of malfunctions due to single-point failures or judgment errors. Secondly, by introducing an optical fiber communication module, employing a single-mode FC optical interface and single-fiber bidirectional communication, it achieves high-speed and stable transmission of block information between two stations. During transmission, data encoding, link monitoring, and a "no-light alarm" mechanism are combined to enhance the reliability and security of the communication process.
[0058] This invention incorporates a block control output driver module, a safety circuit address and communication interface module, a power supply and protection module, and a status indication and alarm display module at the equipment level. These modules respectively achieve stable output of block commands, clear differentiation of station roles and configuration of communication interfaces, wide voltage adaptability and fault protection for the system power supply, and visual prompts of equipment operating status, further enhancing the system's engineering adaptability, maintenance friendliness, and safety controllability. Ultimately, through the coordinated operation of these functional modules, this invention constructs a block safety control system suitable for semi-automatic block signaling scenarios in railways, possessing high reliability, high redundancy, and high visualization capabilities. It effectively solves the problems of single judgment mechanisms, fragile communication links, and difficulty in fault location in existing technologies, significantly enhancing the inherent safety assurance capability of railway train operation. Attached Figure Description
[0059] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:
[0060] Figure 1 This is a flowchart of the fiber optic semi-automatic block safety control system based on dual CPUs proposed in this invention.
[0061] Figure 2This is a system flowchart of the fiber optic semi-automatic block safety control system based on dual CPUs proposed in this invention.
[0062] Figure 3 This is a structural diagram of the indicator lights in the fiber optic semi-automatic block safety control system based on dual CPUs proposed in this invention.
[0063] Figure 4 This is the wiring diagram for the fiber optic semi-automatic block safety control system based on dual CPUs proposed in this invention. Detailed Implementation
[0064] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, illustrating only the basic structure of the invention, and therefore only show the components relevant to the invention.
[0065] refer to Figures 1-3 A dual-CPU-based fiber optic semi-automatic block safety control system includes:
[0066] The dual-CPU redundant processing module is used to independently acquire the voltage status of the block control loop through CPUs A and B respectively. Based on the redundancy judgment mechanism that integrates model-independent element learning and near-end strategy optimization, it performs block status analysis, fault-tolerant decision-making and redundancy cross-validation.
[0067] The fiber optic communication module is used to realize fiber optic digital communication between two stations. It adopts a single-mode FC type optical interface and supports single-fiber bidirectional communication.
[0068] The block control input acquisition module is used to acquire voltage signals from field relays and block control loops;
[0069] The block control output drive module is used to output control signals based on the CPU's judgment results to drive the field execution equipment;
[0070] The safety circuit address and communication interface module is used to set the device address to distinguish different station roles, and at the same time communicates with external systems through the RS485 interface;
[0071] The power supply and protection module is used to provide power input and internal power output to the system;
[0072] The status indication and alarm display module is used to display the blocking status of A and B channels, voltage type, communication status, system fault, optical signal status and power status in real time through equipment indicator lights.
[0073] In this embodiment, the modules are interconnected using the following method:
[0074] S1. Collect the voltage signals in the X1 and X2 block control loops and transmit them to CPU A and CPU B respectively as independent input samples;
[0075] S2. Analyze independent input samples and collect state vectors;
[0076] S3. Obtain the state vector. Based on the initial parameters of the transferable policy generated by model-independent meta-learning, update the low-level policy parameters through the near-end policy optimization algorithm, and perform consistency verification on the output actions of the low-level policy by combining the redundancy judgment mechanism to form the blocking control command.
[0077] S4. Encode local block control commands and send them to the opposite station system via a single-fiber bidirectional optical fiber communication link;
[0078] S5. Receive block information from the other end and combine it with the local block control command to form the final block control command;
[0079] S6. Configure the device address identifier and interact with the host system via the RS485 communication interface;
[0080] S7 provides the necessary power supply for the system, monitors the current status, and displays system operation, communication, and fault information through device indicator lights.
[0081] In this embodiment, the device indicator lights include multiple sets of LED indicator lights. These LED indicator lights are used to indicate the status of each block control channel, voltage polarity, safety circuit operation, communication status, optical signal status, and power supply status, specifically including:
[0082] The AZ1, AZ2, BZ1, and BZ2 indicator lights are used to display the positive voltage status of X1 and X2 in the first and second block control loops collected by the CPUs of A and B. A green light indicates a positive voltage status.
[0083] The AF1, AF2, BF1, and BF2 indicator lights are used to display the negative voltage status of X1 and X2 collected by the CPUs of channels A and B. A yellow light indicates a negative voltage status.
[0084] ARUN and BRUN indicator lights are used to indicate the operating status of safety circuits A and B respectively. A green light indicates normal operation.
[0085] The ALAM and BALM indicator lights are used to indicate the fault status of safety circuits A and B respectively. A red light indicates that a fault has been detected.
[0086] The ARX, BRX, ATX, and BTX indicator lights are used to indicate the reception and transmission status of A-channel and B-channel communication, respectively. The light is green for reception and yellow for transmission.
[0087] The FSD indicator light is used to indicate whether the optical signal in the optical fiber communication link is normal. A yellow light indicates that an optical signal has been detected.
[0088] The PWR indicator light is used to indicate the system power status; a green light indicates that the internal power supply is normal.
[0089] In this embodiment, step S1 includes the following specific steps:
[0090] S11. The X1 and X2 voltage signals in the field block control loop are respectively connected to the Z1, F1 and Z2, F2 input terminals of the block control input acquisition module to form independent first and second input channels.
[0091] S12. Input the voltage signals corresponding to X1 and X2 to the input acquisition circuit, perform analog-to-digital conversion and voltage normalization processing, and obtain the numerical characteristic pairs. ,in Indicates the normalized i-th Circuit voltage value;
[0092] S13. Process the feature vector. The data is simultaneously input to CPU A and CPU B respectively, forming a redundant dual-channel sampling input to constitute the state observation sample. superscript and This indicates channel data collected independently by the CPUs of paths A and B;
[0093] S14, Transfer state observation samples As a task metadataset As one of the components, it serves as the input basis for subsequent optimization of the model-independent meta-learning initialization strategy, and completes the structured organization of redundant collected data.
[0094] This invention first connects the X1 and X2 voltage signals from the field block control loop to the Z1, F1 and Z2, F2 terminals of the block control input acquisition module, respectively, establishing two independent input channels. Then, the X1 and X2 signals undergo analog-to-digital conversion and normalization to extract structured numerical feature pairs. Next, the processed feature vectors are synchronously input to CPUs A and B, respectively, forming state observation samples with redundant structures. Finally, the obtained state observation samples are incorporated into the task metadata set, providing input for the initialization strategy of subsequent model-independent meta-learning, thus realizing the organization and mapping of redundant acquisition data into a learnable structure.
[0095] In this embodiment, step S2 includes the following specific steps:
[0096] S21, take the state observation sample The input is fed into the feature parsing module to construct the original input state set for the current time step. ,in and This indicates the number of data collected independently by CPUs A and B. Normalized voltage value of the road block signal;
[0097] S22, to The state values of each channel are cross-compared to calculate the difference vector. , used to represent the input consistency index of the block control loop under dual CPU;
[0098] S23. Concatenate the original state observation samples with the difference vector to form the enhanced state vector. , as input state distribution Meta-samples in;
[0099] S24, will Input into the model-independent meta-learning initialization policy is used to generate transferable policy initial parameters. ,satisfy ,in This represents the distribution of observations under multiple mission states.
[0100] This invention constructs the original state set of the block signal at the current moment, collected by the A-path and B-path CPUs respectively, by inputting the state observation samples redundantly acquired by dual CPUs into the feature parsing module. Then, the state values of each channel are cross-compared to generate a difference vector to represent the consistency of the input, and this difference vector is concatenated with the original state samples to form an enhanced state vector. This enhanced state vector, as a meta-sample in the state distribution, is input into the model-independent meta-learning initialization strategy, and outputs the initial parameters of the strategy with cross-task generalization ability, providing a stable and highly generalizable foundation for subsequent strategy optimization.
[0101] In this embodiment, step S3 includes the following specific steps:
[0102] S31. Transfer the state vector Input to high-level policy network Output the current macro-level blocking task objectives and guidance , goal guidance Indicates a global control intent, including "remain blocked" or "request access";
[0103] S32, Guiding the Goal Local state observation , The inputs are respectively fed into the lower-level policy network. and Output action and The actions include "outputting a positive voltage", "outputting a negative voltage", or "maintaining no output";
[0104] S33. Initial parameters of the low-level policy network based on the Model Independent Meta-Learning (MAML) algorithm. Optimize it to fit the state observation sample dataset. The task adaptation strategy parameters can be obtained through one or a few gradient updates. The update process is as follows:
[0105] ;
[0106] in For learning rate, Let be the policy loss function. Initial weight input for personalized tasks;
[0107] S34. Employ the Proximal Policy Optimization (PPO) algorithm in personalized parameters. Based on this, using the state observation sample dataset Data estimation advantage function The objective function for shearing is constructed as follows:
[0108] ;
[0109] ;
[0110] in, The shear threshold parameter is used. The policy network parameters are updated by maximizing the above objective function, and the output is a control action suitable for the current blocking state.
[0111] S35. Combine the redundancy judgment mechanism to verify the output action of the low-level strategy. and Consistency is ensured; when actions are consistent, a highly reliable block control command is generated; if inconsistent, the block holding strategy is reverted based on the fault tolerance criteria to ensure control safety.
[0112] This invention introduces a hierarchical reinforcement learning architecture. First, the state vector is input into a high-level policy network, which outputs the macroscopic target guidance for the current occlusion task. Then, it is jointly input with the local state observations of paths A and B into their respective low-level policy networks to generate control actions. Subsequently, the initial parameters of the low-level policies are optimized based on model-independent element learning to enable them to adapt quickly. On this basis, a proximal policy optimization algorithm is used to update the policy and output the control actions under the current occlusion state. Finally, a redundancy judgment mechanism is used to verify the consistency of the dual-channel output results, generating highly reliable occlusion control commands or reverting to a safe holding policy, thereby enhancing the generalization ability, adaptability, and decision safety of the control policy.
[0113] In this embodiment, step S4 includes the following specific steps:
[0114] S41. The action results output by CPUs A and B. and A consistency check is performed. If the check is consistent, a local blockage status change identifier for the current moment is generated based on the result of this action. This indicator is used to indicate whether the blocking status has changed from "prohibited" to "permitted" or from "permitted" to "prohibited";
[0115] S42. Mark the change in occupancy status. The data frames are encoded into a communication format and written into the transmit buffer queue of the fiber optic communication module;
[0116] S43. The data frame is transmitted to the other end station system via a single-mode FC optical interface through an optical fiber communication module on a single-fiber bidirectional link. The optical communication parameters include: working wavelength of 1310nm / 1550nm, maximum transmission distance of 40km, and receiving sensitivity of not less than −20dBm.
[0117] S44. If a link is found to be without light or abnormally interrupted during communication, the "no light alarm" mechanism will be triggered immediately, and the status indication and alarm display module will issue a fault prompt signal.
[0118] The local blockage status change results generated by the CPUs on routes A and B through redundancy judgment are first logically encoded and converted into a data format that meets communication requirements. Subsequently, this encoded data is encapsulated into serial communication frames by the fiber optic communication module and transmitted across stations. The transmission process uses a single-mode FC optical interface, paired with ZX-F64D-I and ZX-F64D-II devices, to complete the transmission of blockage status information in a single-fiber bidirectional communication channel. The interface operates at wavelengths of 1310nm and 1550nm, with a maximum transmission distance of up to 40 kilometers, a receiving sensitivity of no less than -20dBm, and a no-light alarm function. During transmission, the fiber optic communication module continuously monitors the link status. Once no light or signal interruption is detected, the "no-light alarm" mechanism is triggered, and corresponding fault prompts are issued through the status indication and alarm display module to ensure the stability of the communication link and the security of information transmission.
[0119] In this embodiment, step S5 includes the following specific steps:
[0120] S51. The fiber optic communication module receives local block status information sent from the peer station system through a single-mode FC optical interface.
[0121] S52. The received local blockage status information is decoded by the optical fiber communication module and transmitted to the dual-CPU redundant processing module.
[0122] S53, the dual-CPU redundant processing module performs a logical comparison between the received blocking status information of the other end and the judgment results of the locally acquired X1 and X2 voltage signals.
[0123] S54. When the corresponding blocking logic conditions are met between the peer end and the local state, the final blocking control command is generated and subsequent control actions are triggered. If the conditions are not met, the blocking prohibition state is maintained.
[0124] The fiber optic communication module first receives local block status information from the system at the opposite station via a single-mode FC optical interface. After decoding the information, it transmits it to the dual-CPU redundant processing module. Upon receiving the block status data, the dual-CPU redundant processing module performs a logical comparison with the X1 and X2 voltage signals acquired locally. When the block status at the opposite station and the local status meet the safety logic conditions set by the block system, the system generates the final block control command and triggers subsequent control actions accordingly. If the comparison result does not meet the conditions, the system maintains the block prohibition state to ensure the safety of the section during train operation.
[0125] In this embodiment, step S6 includes the following specific steps:
[0126] S61. Based on the station role requirements, station A does not need to be short-circuited, while station B needs to be short-circuited at 13-12 and 23-22. Configure the addresses of the devices to distinguish between station A and station B roles.
[0127] S62. The security circuit address and communication interface module completes address identification based on the jumper status and writes the configuration result into the system's internal status identifier.
[0128] S63. Establish RS485 communication connection with the external host system through the 485+ and 485− ports to complete the real-time interaction of blockage status information, fault status and equipment identification operation data.
[0129] In this step, the system configures device addresses via jumpers based on the station roles: Station A does not require shorting, while Station B needs to short-circuit terminals 13-12 and 23-22 to clearly distinguish the roles of Stations A and B. Subsequently, the safety circuit address and communication interface module identifies the corresponding address based on the jumper status and writes the identification result into the system's internal status identifier. After address configuration, the device establishes an RS485 communication connection with the external host system through the 485+ and 485− communication ports, enabling real-time interaction of blockage status information, fault status, and device identification operation data, ensuring effective identification and data synchronization within the upper-level scheduling and management platform.
[0130] In this embodiment, step S7 includes the following specific steps:
[0131] S71. Connect to an AC 220V power supply via the power supply and protection module. The working power supply uses AC 220V input, with an input range of 85~265V. Idle working power is 5W, and the load power is 10W.
[0132] S72, the power supply and protection module monitors the power supply status and load current in real time, and triggers the protection mechanism when the input voltage is abnormal or the output is short-circuited.
[0133] S73, the status indication and alarm display module collects status data from the power supply, fiber optic communication, CPU computing, and relay control modules;
[0134] S74. Based on the collected status information, the device indicator lights are turned on respectively, so that maintenance personnel can judge the system operating status in real time.
[0135] This invention, by constructing a dual-CPU redundant processing architecture, firstly achieves independent dual-channel acquisition and judgment of the voltage states of block control loops X1 and X2. Utilizing cross-checking and fault-safe logic design, it effectively improves the accuracy of block status determination and the system's fault tolerance, avoiding the risk of malfunctions due to single-point failures or judgment errors. Secondly, by introducing an optical fiber communication module, employing a single-mode FC optical interface and single-fiber bidirectional communication, it achieves high-speed and stable transmission of block information between two stations. During transmission, data encoding, link monitoring, and a "no-light alarm" mechanism are combined to enhance the reliability and security of the communication process.
[0136] This invention incorporates a block control output driver module, a safety circuit address and communication interface module, a power supply and protection module, and a status indication and alarm display module at the equipment level. These modules respectively achieve stable output of block commands, clear differentiation of station roles and configuration of communication interfaces, wide voltage adaptability and fault protection for the system power supply, and visual prompts of equipment operating status, further enhancing the system's engineering adaptability, maintenance friendliness, and safety controllability. Ultimately, through the coordinated operation of these functional modules, this invention constructs a block safety control system suitable for semi-automatic block signaling scenarios in railways, possessing high reliability, high redundancy, and high visualization capabilities. It effectively solves the problems of single judgment mechanisms, fragile communication links, and difficulty in fault location in existing technologies, significantly enhancing the inherent safety assurance capability of railway train operation.
[0137] Example 1:
[0138] To verify the feasibility and stability of this invention in railway field applications, the fiber optic semi-automatic block signaling safety control system based on dual CPUs was applied to a single-track railway renovation project in a mountainous area. Two typical stations were selected and named Station A and Station B, with a total block section length of approximately 16 kilometers between them. This section sees an average daily train throughput of 28 pairs, and some sections traverse areas with concentrated bridges and tunnels, resulting in a complex communication environment. Traditional block systems, which use copper cable communication, suffer from weak anti-interference capabilities, high failure rates, and difficulties in diagnosis, severely restricting train operation efficiency and safety assurance levels.
[0139] according to Figure 4 Wiring diagram of a dual-CPU fiber optic semi-automatic block safety control system. A ZX-F64D-I device is deployed at station A, and a ZX-F64D-II device is deployed at station B. The two devices are connected via single-mode fiber, establishing a single-fiber bidirectional communication link. Figure 4 As shown, ZX-F64D-I and ZX-F64D-II are connected to the X1 and X2 lines in the field interlocking block assembly via their terminals 72, 71, 73, 82, 81, and 83, respectively. Each station's interlocking block assembly uses relay contacts to control the voltage output, forming the field loop signal.
[0140] During system operation, the block control input acquisition module first receives the X1 and X2 signals from the interlocking block combination via the Z1, F1 and Z2, F2 interfaces. The voltage range is DC18V~100V. After sampling and processing, the signals are sent to CPU A and CPU B respectively to complete parallel redundant acquisition. The system's dual-CPU redundant processing module analyzes the acquired voltage polarity (positive or negative) and uses a cross-checking mechanism to determine whether the current block meets the conditions for train departure or arrival. If the two CPUs determine the same result, the system sends a control command to the block control output drive module, driving the corresponding field relay to activate, and the block action is completed.
[0141] The system's fiber optic communication module establishes optical communication links between stations A and B through two ports, FP-1310 and FP-1550, respectively. It uses a single-mode FC optical interface, supporting bidirectional transmission at wavelengths of 1310nm / 1550nm. The system employs a serial communication protocol to logically encode and frame the block status data, transmitting it over the link. After station A completes a block action, its status change data is sent to station B in real time via the fiber optic link. Station B's system receives the data and compares it with its local judgment to generate a joint block control command, ensuring the safety of train operation and the consistency of the block status.
[0142] During system operation, the internal status indicator and alarm modules of the equipment output various operating statuses via LED lights. For example, AZ1 / AF1 and BZ1 / BF1 represent the voltage polarity of the A and B acquisition channels on X1 and X2, respectively; ARUN / ALAM and BRUN / BALM reflect the operating status of the A / B channel safety circuits; ARX / ATX and BRX / BTX indicate the communication transmission and reception status; and the FSD light displays the optical link status. When abnormal conditions such as decreased optical power, poor contact, or interruption at the other end occur in the communication link, the system can immediately illuminate the FSD light and trigger a "no light alarm," synchronously uploading the alarm information to the upper system connected to the RS485 communication bus, thereby improving the system's maintenance response efficiency.
[0143] Table 1 below summarizes the monitoring data after the system was deployed and operated at stations A and B. The data source is 90 consecutive days of operation records and comparative analysis:
[0144] Table 1 Comparison of Block System Performance Monitoring between Stations A and B
[0145]
[0146] The data shows that the system upgrade has significantly improved communication quality, response speed, fault tolerance mechanisms, and ease of maintenance. The blockage misjudgment rate has decreased from 2.3% to 0.02%, and the blockage response time has been shortened by approximately 85%. The introduction of optical link status monitoring and LED indication mechanisms has reduced fault location time from the original 27 minutes to an average of 4 minutes, greatly reducing the cost of human intervention and safety risks.
[0147] Based on a dual-CPU redundancy structure and fiber optic communication mechanism, this invention combines high fault tolerance, fast response capability and good maintainability. It achieves high-safety-level train block control in complex mountainous environments and has good promotion value and engineering replicability.
[0148] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.
Claims
1. A fiber optic semi-automatic block safety control system based on dual CPUs, characterized in that, include: The dual-CPU redundant processing module is used to independently acquire the voltage status of the block control loop through CPUs A and B respectively. Based on the redundancy judgment mechanism that integrates model-independent element learning and near-end strategy optimization, it performs block status analysis, fault-tolerant decision-making and redundancy cross-validation. The fiber optic communication module is used for fiber optic digital communication between two stations. It adopts a single-mode FC type optical interface and supports bidirectional communication on a single fiber. The block control input acquisition module is used to acquire voltage signals from field relays and block control loops; The block control output drive module is used to output control signals based on the judgment results of the dual CPUs to drive the field execution equipment; The safety circuit address and communication interface module is used to set the device address to distinguish different station roles, and at the same time communicates with external systems through the RS485 interface; The power supply and protection module is used to provide power input and internal power output to the system; The status indication and alarm display module is used to display the CPU blocking status, voltage type, communication status, system fault, optical signal status and power status of A and B channels in real time through device indicator lights; The modules are connected in the following way: S1. Collect the voltage signals in the X1 and X2 block control loops and transmit them to CPU A and CPU B respectively as independent input samples; S2. Analyze independent input samples and collect state vectors; S2 includes the following specific steps: S21, take the state observation sample Perform feature analysis to construct the original input state set for the current time step. ; S22. For the original input state set The voltage signals and numerical characteristics corresponding to X1 and X2 in the figure Perform cross-comparison calculations to construct a difference vector. , used to represent the input consistency index of the block control loop under dual CPU; S23. Concatenate the original state observation samples with the difference vector to form the state vector. ; S3. Obtain the state vector. Based on the initial parameters of the transferable policy generated by the model-independent element learning, update the low-level policy parameters through the near-end policy optimization algorithm, and combine the redundancy judgment mechanism to perform consistency verification on the output action of the low-level policy to form the occlusion control command. S3 includes the following specific steps: S31. Transfer the state vector Input is sent to the high-level policy network, and output is the objective guidance for the current macroscopic occlusion task. , goal guidance Indicates a global control intent, including maintaining closure and requesting access; S32, Guiding the Goal Local state observation , Input to the lower-level policy network respectively and Output action and The output action This includes outputting positive voltage, outputting negative voltage, and maintaining no output; S33. Low-level policy networks based on model-independent meta-learning algorithms and initial parameters Optimize to make the initial parameters In the state observation sample dataset The task adaptation strategy parameters can be obtained through a single gradient update. ; S34. Employ a near-end strategy optimization algorithm to optimize personalized parameters. Based on this, using the state observation sample dataset Data estimation advantage function Construct a shearing objective function; update the policy network parameters by maximizing the shearing objective function, and output the appropriate action for the current blocking state. and .
2. The fiber optic semi-automatic block safety control system based on dual CPUs according to claim 1, characterized in that, The modules also include the following steps: S4. Encode local block control commands and send them to the opposite station system via a single-fiber bidirectional optical fiber communication link; S5. Receive block information from the other end and combine it with the local block control command to form the final block control command; S6. Configure the device address identifier and interact with the host system via the RS485 communication interface; S7 provides the necessary power supply for the system, monitors the current status, and displays system operation, communication, and fault information through device indicator lights.
3. The fiber optic semi-automatic block safety control system based on dual CPUs according to claim 2, characterized in that, The equipment indicator lights include multiple sets of LED indicator lights, which are used to indicate the status of each block control channel, voltage polarity, safety circuit operation, communication status, optical signal status, and power supply status.
4. The fiber optic semi-automatic block safety control system based on dual CPUs according to claim 2, characterized in that, S1 includes the following specific steps: S11. The X1 and X2 voltage signals in the field block control loop are respectively connected to the Z1, F1 and Z2, F2 input terminals of the block control input acquisition module to form independent first and second input channels. S12. Input the voltage signals corresponding to X1 and X2 to the input acquisition circuit, perform analog-to-digital conversion and voltage normalization processing, and obtain the numerical characteristic pairs. ; S13, Pair numerical features The data is simultaneously input to CPU A and CPU B respectively, forming a redundant dual-channel sampling input to constitute the state observation sample. superscript and This indicates channel data collected independently by the CPU for paths A and B.
5. The fiber optic semi-automatic block safety control system based on dual CPUs according to claim 4, characterized in that, S3 further includes the following specific steps: S35. Combine the redundancy judgment mechanism to verify the output action of the low-level strategy. and Consistency is ensured; when the output actions are consistent, a block control command is generated; if inconsistent, the block holding strategy is reverted based on the fault tolerance criterion. An evaluation feedback value is generated based on whether the current block control command achieves the system control objectives, including safe block holding and safe open. If the output action If the field actuator responds correctly and matches the status of the peer, then the feedback value is evaluated. If the output action is positive; If inconsistency is caused or the strategy is reverted to a occlusion hold-up strategy, then the feedback value is evaluated. It can be a negative value or zero.
6. The fiber optic semi-automatic block safety control system based on dual CPUs according to claim 5, characterized in that, S4 includes the following specific steps: S41. The action results output by CPUs A and B. and A consistency check is performed. If the check is consistent, a local block status change identifier for the current moment is generated based on the block control command. Local blockage status change indicator Used to indicate whether the blocking status changes from prohibited to permitted and from permitted to prohibited; S42. Mark the change in occupancy status. The data frames are encoded into a communication format and written into the transmit buffer queue of the fiber optic communication module; S43. Through the optical fiber communication module, a single-mode FC type optical interface is used to transmit data frames to the other end station system on a single-fiber bidirectional link; S44. If a link loss or abnormal interruption is detected during communication, the no-light alarm mechanism is immediately triggered, and the status indication and alarm display module issues a fault prompt signal.
7. The fiber optic semi-automatic block safety control system based on dual CPUs according to claim 6, characterized in that, S5 includes the following specific steps: S51. The fiber optic communication module receives local block status information sent from the peer station system through a single-mode FC optical interface. S52. The received local blockage status information is decoded by the optical fiber communication module and transmitted to the dual-CPU redundant processing module. S53, the dual-CPU redundant processing module performs a logical comparison between the received blocking status information of the other end and the judgment results of the locally acquired X1 and X2 voltage signals. S54. When the corresponding blocking logic conditions are met between the peer end and the local state, the final blocking control command is generated and subsequent control actions are triggered. If the conditions are not met, the blocking prohibition state is maintained.
8. The fiber optic semi-automatic block safety control system based on dual CPUs according to claim 7, characterized in that, S6 includes the following specific steps: S61. Based on the station role requirements, station A does not need to be short-circuited, while station B needs to be short-circuited at 13-12 and 23-22. Configure the addresses of the devices to distinguish between station A and station B roles. S62. The security circuit address and communication interface module completes address identification based on the jumper status and writes the configuration result into the system's internal status identifier. S63. Establish RS485 communication connection with the external host system through the 485+ and 485− ports to complete the real-time interaction of blockage status information, fault status and equipment identification operation data.
9. The fiber optic semi-automatic block safety control system based on dual CPUs according to claim 8, characterized in that, S7 includes the following specific steps: S71. Connect to AC220V AC power supply through the power supply and protection module; S72, the power supply and protection module monitors the power supply status and load current in real time, and triggers the protection mechanism when the input voltage is abnormal or the output is short-circuited. S73, the status indication and alarm display module collects status data from the power supply, fiber optic communication, CPU computing, and relay control modules; S74. Based on the collected status information, the device indicator lights are turned on respectively, so that maintenance personnel can judge the system operating status in real time.