A filament state management method, device and medium of a signal machine
By implementing refined management and rapid response of signal filament status, the problem of unified handling of filament status under different lighting schemes has been solved, achieving rapid response and enhanced safety during mode switching, adapting to different signal types, and improving system availability and reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CASCO SIGNAL LTD
- Filing Date
- 2025-09-11
- Publication Date
- 2026-07-24
AI Technical Summary
In the existing technology, the filament status management strategy under different lighting schemes and signal types lacks a unified and flexible processing mechanism. In particular, the efficiency of judging and responding to the filament status during mode switching is insufficient, which cannot meet the comprehensive management needs in complex scenarios.
By determining the signal mode information, calculating the filament state, and converting it based on the drive signal and the retrieval state, the system introduces the assumption of an intact filament state and rigorous state transition logic. Combined with the enable flag and the degradation forced limit flag, it achieves refined management and rapid response of the filament state.
It enables independent tracking and precise positioning of the status of each filament, improving maintenance efficiency, adapting to different CBTC lighting schemes and signal types, ensuring rapid response and safety during mode switching, and improving system availability and reliability.
Smart Images

Figure CN121133795B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of rail transit signal control, and in particular to a method, device and medium for managing the filament status of a signal. Background Technology
[0002] In the Communication-Based Train Control (CBTC) system, trackside signal display primarily employs two schemes: the CBTC light-off scheme and the CBTC light-on scheme. In backup mode, the signal must display lights normally. If a filament breakage is permissible, the signal must be forcibly deactivated to a restricted state and switched to the restricted light position. If the filament in the restricted light position also breaks, the signal is deactivated, and this deactivation is considered a prohibition signal to ensure train operation safety. In CBTC mode, the system has higher tolerance for filament breakage. Breakage of ordinary filaments and the filament in the third CBTC light position typically does not affect the overall operation of the signal. Only when using the CBTC light-on scheme, if the filament in the restricted light position breaks, is it necessary to forcibly switch the signal to a restricted state. In existing technologies, filament status management strategies differ under different lighting schemes and signal types, lacking a unified and flexible processing mechanism, especially in terms of insufficient efficiency in judging and responding to filament status during mode switching.
[0003] A search revealed Chinese Patent Publication No. CN118692217A, which discloses a method, device, system, equipment, medium, and program product for filament breakage alarm. This method uses a fully electronic interlocking system to collect the filament current at each lamp position of the signal and compares it with a preset filament current threshold to determine if the main filament is broken. An alarm is triggered when the filament is broken, achieving filament status monitoring and alarm without adding dedicated alarm cables or hardware. However, this method primarily focuses on the single function of filament breakage alarm based on current detection, without addressing dynamic management strategies for filament status under different operating conditions of the signal. It lacks universal adaptation logic for various lighting schemes and cannot meet the comprehensive management needs of filament status in complex scenarios.
[0004] Therefore, how to independently track and finely manage the status of each filament and accurately locate the specific faulty lamp position under different lighting schemes and signal modes is a technical problem that needs to be solved. Summary of the Invention
[0005] The purpose of this invention is to overcome the defects of the prior art by providing a method, device and medium for managing the filament status of a signal.
[0006] The objective of this invention can be achieved through the following technical solutions:
[0007] According to a first aspect of the present invention, a method for managing the filament state of a signal is provided, the method comprising:
[0008] Determine the signal's mode information, which includes: the signal's current mode state, whether the signal has experienced a CBTC to backup mode downgrade event, and the duration the signal has been in backup mode.
[0009] The filament state of the signal is calculated based on a single filament, and the switching between different filament states is realized based on the filament drive signal and the retrieval state. The filaments include allowable filaments and restricted filaments.
[0010] Calculate the enable flag of the signal based on the filament state of the permitted lamp position;
[0011] Calculate the signal degradation forced restriction flag bit based on the signal mode information;
[0012] Based on the enable flag and the degradation forced restriction flag, determine whether the filament condition in the signal opening condition is met.
[0013] As a preferred technical solution, the filament state includes the assumed filament intact state, the confirmed filament intact state, and the filament broken state.
[0014] As a preferred technical solution, the duration of the signal in backup mode is compared with the maximum filament response time, which is the sum of Max_Filament_Response_Timer and Max_OC_Switch_Timer; wherein, Max_Filament_Response_Timer is the maximum time delay from driving the light to the light being captured and then turned on, and Max_OC_Switch_Timer is the code loss forgiveness time when the signal acquisition and driver board switches between primary and backup modes.
[0015] As a preferred technical solution, the switching rules for each filament state of the signal include:
[0016] If the filament was driven in the previous cycle and the filament is found to be intact in the current cycle, then its status is set to confirmed intact.
[0017] If the filament is continuously driven for more than the maximum time delay from driving the lamp to the lamp being captured and then the lamp is lit (Max_Filament_Response_Timer) and the time during which the filament is continuously detected to be broken exceeds the code loss forgiveness time (Max_OC_Switch_Timer) during the master / slave switch of the signal acquisition and driving board, then its state is set to the broken state.
[0018] If the filament was not driven in the previous cycle, its state is set to the assumed good state.
[0019] As a preferred technical solution, when no external drive is generated for the filament, the filament is in a state of assumed filament integrity.
[0020] As a preferred technical solution, when the filament is in a broken state, a timer is started, and the broken filament alarm information is provided to the ATS system before the timer expires.
[0021] As a preferred technical solution, the logic of the enable / disable flag of the signal controller is as follows:
[0022] It is set to a licensed state upon the occurrence of any of the following events:
[0023] A power-on unlock event occurred at the entire station;
[0024] The signal is not currently in the power-on unlocking state, and the signal ignition is currently in CBTC mode.
[0025] The signal was not open in the previous cycle, and a route processing command was received from the ATS in this cycle;
[0026] The signal was not open in the previous cycle, and a reopen signal command was received from the ATS in this cycle;
[0027] When none of the events occur and a lamp filament breakage fault exists at an authorized lamp position, the enable flag is set to the disabled state.
[0028] As a preferred technical solution, the logic of the signal degrade forced restriction flag is as follows:
[0029] The signal degradation forced restriction flag is set to true when the following conditions are met simultaneously:
[0030] The signal controller experienced a downgrade event from CBTC to backup mode;
[0031] The current traffic signal uses the CBTC (Continuous Bus Control) light-out scheme;
[0032] The signal degrade forced restriction flag is set to false when any of the following conditions are met:
[0033] The current signal has been in backup mode for longer than the maximum reaction time of the filament;
[0034] Switching from signal mode to CBTC mode;
[0035] The filament status of the restricted lamp position was confirmed to be intact.
[0036] As a preferred technical solution, after the signal degrade forced restriction flag is set to true, if the filament status of the restricted lamp position is detected as being in good condition, the flag is immediately cleared.
[0037] As a preferred technical solution, the filament condition in the signal opening condition is met under any of the following conditions:
[0038] The signal has 0 filaments or is currently in CBTC mode and using the CBTC light-off scheme;
[0039] The signal controller is in CBTC mode and uses the CBTC lighting scheme, and the signal controller restricts the filament from being in a broken state;
[0040] The signal is in backup mode, the limiting filament is not in a broken state, the enable flag is in the enabled state, and the downgrade forced limit flag is false.
[0041] As a preferred technical solution, the signal controller is characterized in that, if the signal controller switches from backup mode to CBTC mode, the filament breakage status of the allowed lamp position filament is ignored when determining the filament condition.
[0042] According to a second aspect of the present invention, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the program to implement the method described thereon.
[0043] According to a third aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method described thereon.
[0044] Compared with the prior art, the present invention has the following advantages:
[0045] 1. This invention enables precise location of specific faulty lamps by independently tracking and finely managing the status of each filament, facilitating on-site maintenance and troubleshooting, and improving maintenance efficiency.
[0046] 2. This invention can be adapted to different CBTC lighting schemes and different types of signal controllers, improving its adaptability in complex rail transit signal systems.
[0047] 3. During the signal mode switching process, the present invention can respond quickly without waiting for the maximum system delay by using the coordinated judgment of the state machine and the flag bit, thereby improving the system's response speed and operational efficiency while ensuring safety.
[0048] 4. This invention introduces the assumption of an intact state and designs rigorous state transition logic, which enables seamless logic connection when the system switches between backup mode and CBTC mode, solves the problem of misjudgment caused by the historical state of the filament after mode switching, and improves the availability and reliability of the system. Attached Figure Description
[0049] Figure 1 This is a schematic diagram of the filament state transition of the signal machine according to the present invention;
[0050] Figure 2 This is a flowchart of the method of the present invention; Detailed Implementation
[0051] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0052] Example 1:
[0053] This invention provides a filament status management method for signal controllers. Based on the mode information, the method dynamically triggers the filament status transition logic and combines the individual filament drive acquisition status with the calculation of the safety flag bit to comprehensively judge the signal opening conditions. This achieves refined, universal, and safe management of the filament status of multiple types of signal controllers in CBTC and backup modes, thereby improving the system response speed and availability.
[0054] like Figure 2 As shown, the specific process of this invention includes the following steps:
[0055] Step S1: Determine the signal's mode information, which includes: whether the signal is in CBTC mode, whether the signal has experienced a CBTC to backup mode downgrade event, and whether the signal has been in backup mode for a period of time exceeding the filament's maximum response time.
[0056] Step S2: Calculate the filament state of the signal machine according to a single filament, and realize the conversion of different filament states based on the filament drive signal and the retrieval state. The filament includes allowed lamp position filament and restricted lamp position filament. The filament state includes the assumed filament intact state Filament_State_Assumed_OK, the confirmed filament intact state Filament_State_Confirmed_OK, and the broken filament state Filament_State_NOK.
[0057] Step S3: Calculate the enable flag of the signal based on the filament status of the permitted lamp positions;
[0058] Step S4: Calculate the signal degradation forced restriction flag bit based on the signal mode information;
[0059] Step S5: Based on the enable flag and the degradation forced restriction flag, determine whether the filament condition in the signal opening condition is met.
[0060] like Figure 1 As shown, the transition logic between filament states in step S2 is as follows:
[0061] The condition for Filament_State_Assumed_OK to Filament_State_Confirmed_OK is:
[0062] The filament was driven in the previous cycle and is intact in the current cycle.
[0063] The condition for Filament_State_Assumed_OK to Filament_State_NOK is:
[0064] The filament is continuously driven for more than Max_Filament_Response_Timer and the filament breakage time exceeds Max_OC_Switch_Timer;
[0065] The condition for Filament_Confirmed_State_OK to Filament_State_NOK is:
[0066] The filament is continuously driven for more than Max_Filament_Response_Timer and the filament breakage time exceeds Max_OC_Switch_Timer;
[0067] The condition for Filament_Confirmed_State_OK to Filament_State_Assumed_OK is:
[0068] The previous cycle did not drive it;
[0069] The condition for Filament_State_NOK to Filament_Confirmed_State_OK is:
[0070] The filament was driven in the previous cycle and is intact in the current cycle.
[0071] Filament_State_NOK->Filament_State_Assumed_OK is:
[0072] It was not driven in the previous cycle.
[0073] This invention discloses a filament status management method for signal controllers. By updating signal controller mode information, calculating and switching the status of individual filaments, calculating two types of flags—enabling and degrading—and checking the filament conditions for signal opening, it achieves adaptation to different CBTC modes and lighting schemes. It can accurately locate filament breakage and trigger alarms, taking into account both system operation safety and mode switching response speed, while improving signal controller maintenance efficiency and system availability.
[0074] Example 2:
[0075] This embodiment specifically illustrates the steps of the present invention. It is assumed that the signal machine contains three lamp positions L1, L2 and L3, where L1 is a restricted lamp position.
[0076] Step S101:
[0077] Update signal mode information:
[0078] The signal is currently in CBTC mode;
[0079] The signal controller experienced a downgrade event from CBTC mode to backup mode;
[0080] The maximum filament response time is Max_Filament_Response_Timer + Max_OC_Switch_Timer;
[0081] Step S201:
[0082] Filament condition calculated per filament:
[0083] The RMU independently manages and calculates the states of the L1, L2, and L3 filaments of the signal. During initialization, all filament states are Filament_State_Assumed_OK.
[0084] For L1 filament, due to degradation, the signal needs to light up L1 lamp. RMU starts driving L1 filament and retrieving its status. In the first two cycles after driving, the retrieving signal is unstable due to the switching of the main and backup acquisition drive boards, but the time does not exceed Max_OC_Switch_Timer, so the L1 filament status remains Filament_State_Assumed_OK.
[0085] Starting from the third cycle, the L1 filament is back lit stably. Therefore, the conditions of the previous cycle driving and the current back sampling being intact are met, and the RMU changes the L1 filament state to Filament_State_Confirmed_OK.
[0086] For L2 and L3 filaments, after degradation, the signal should show L1. Therefore, the RMU will never drive L2 and L3 filaments. Since they are not driven, their status cannot be detected, so the status of L2 and L3 filaments will always remain as Filament_State_Assumed_OK.
[0087] Step S301:
[0088] Calculate the enable / disable flag:
[0089] The RMU calculates the enable / disable flag of the signal generator, which depends on the state of the enabled lamp position, in this example L2 and L3;
[0090] Initialize this flag to 0;
[0091] Check settings:
[0092] No site-wide power-on unlocking event occurred;
[0093] The current mode has been downgraded to backup mode;
[0094] The signal was not activated in the previous cycle, and no new commands were received in this cycle.
[0095] Since none of the conditions are met, and both L2 and L3 filaments are in the Filament_State_Assumed_OK state, the RMU maintains this flag bit at 0;
[0096] Step S401:
[0097] Calculate the downgrade forced limit flag:
[0098] Initialize this flag to 0;
[0099] Check the setting conditions:
[0100] A downgrade event has occurred;
[0101] Adopting CBTC light-out solution
[0102] If both conditions are met, the RMU will set the flag to 1, forcing the signal to be in a restricted state;
[0103] Step S501:
[0104] Check the filament condition in the signal opening condition:
[0105] Based on the aforementioned information, the RMU determines whether the filament conditions for an open signal are met, and makes judgments according to the rules one by one:
[0106] The number of filaments is not 0, and the current mode is backup mode instead of CBTC lamp-off mode;
[0107] Current non-CBTC mode;
[0108] When the signal is in backup mode:
[0109] Prevent filament L1 from being in a broken state;
[0110] The enable flag is set to 0;
[0111] The downgrade mandatory restriction flag is set to 1;
[0112] When the signal is in backup mode, the three sub-conditions are not met simultaneously. Therefore, the RMU ultimately determines that the filament condition in the signal opening condition is not met, and the signal remains in the prohibited state, i.e., the L1 lamp is lit.
[0113] This invention achieves precise control over filament status during CBTC and backup mode switching and under different lighting schemes by managing signal mode information in steps, calculating individual filament status and flag positions. It enables rapid response to mode transitions and accurate location of broken filament faults, taking into account both system safety and availability, and providing technical support for the efficient maintenance and stable operation of rail transit signals.
[0114] Example 3
[0115] The electronic device of this invention includes a central processing unit (CPU), which can perform various appropriate actions and processes according to computer program instructions stored in read-only memory (ROM) or loaded from a storage unit into random access memory (RAM). The RAM may also store various programs and data required for device operation. The CPU, ROM, and RAM are interconnected via a bus. Input / output (I / O) interfaces are also connected to the bus.
[0116] Multiple components in the device are connected to the I / O interface, including: input units such as keyboards and mice; output units such as various types of displays and speakers; storage units such as disks and optical discs; and communication units such as network interface cards (NICs), modems, and wireless transceivers. The communication unit allows the device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0117] The processing unit executes the various methods and processes described above, such as methods S1 to S5. For example, in some embodiments, methods S1 to S5 may be implemented as computer software programs tangibly contained in a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program may be loaded and / or installed on the device via ROM and / or a communication unit. When the computer program is loaded into RAM and executed by the CPU, one or more steps of methods S1 to S5 described above may be performed. Alternatively, in other embodiments, the CPU may be configured to execute methods S1 to S5 by any other suitable means (e.g., by means of firmware).
[0118] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0119] The program code used to implement the methods of the present invention can be written in any combination of one or more programming languages. This program code can be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code can be executed entirely on the machine, partially on the machine, as a standalone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0120] In the context of this invention, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0121] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for managing the filament status of a signal, characterized in that, The method includes the following steps: Determine the signal's mode information, which includes: the signal's current mode state, whether the signal has experienced a CBTC to backup mode downgrade event, and the duration the signal has been in backup mode. The signal filament status is calculated based on individual filaments, including allowable filaments and restrictive filaments; and the enable / allow flag of the signal is calculated based on the status of the allowable filaments. Calculate the signal degradation forced restriction flag bit based on the signal mode information; Based on the enable flag and the degradation forced restriction flag, determine whether the filament condition in the signal opening condition is met; The filament state includes the assumed filament intact state, the confirmed filament intact state, and the filament broken state; The duration of the signal in backup mode is compared with the maximum filament response time, which is the sum of Max_Filament_Response_Timer and Max_OC_Switch_Timer; wherein, Max_Filament_Response_Timer is the maximum time delay from driving the light to the light being captured and then turned on, and Max_OC_Switch_Timer is the code drop forgiveness time when the signal driver board switches between primary and backup modes; This method converts different filament states based on the filament drive signal and the retrieval state. The specific conversion rules include: If the filament was driven in the previous cycle and the filament is found to be intact in the current cycle, then its status is set to filament confirmed to be intact. If the filament is continuously driven for more than the maximum time delay from driving the lamp to the lamp being captured and then the lamp is lit (Max_Filament_Response_Timer) and the time during which the filament is continuously detected to be broken exceeds the code dropping forgiveness time (Max_OC_Switch_Timer) during the master / slave switch of the signal acquisition and driving board, then its state is set to the filament broken state. If the filament was not driven in the previous cycle, its state is set to the assumed filament good condition.
2. The method for managing the filament status of a signal according to claim 1, characterized in that, When no external drive is generated to the filament, the filament is in a presumed intact state.
3. The filament status management method for a signal machine according to claim 1, characterized in that, When the filament is in a broken state, a timer is started, and the broken filament alarm information is provided to the ATS system before the timer expires.
4. The filament status management method for a signal machine according to claim 1, characterized in that, The calculation of the enable flag bit of the signal is as follows: It is set to a licensed state upon the occurrence of any of the following events: a1) A power-on unlocking event occurs at the entire station; b1) The signal is not currently in the power-on unlocking state, and the signal ignition is currently in CBTC mode; c1) The signal was not open in the previous cycle, and a route processing command was received from the ATS in this cycle; d1) The signal was not open in the previous cycle, and a reset signal command was received from the ATS in this cycle; When none of the events occur and a lamp filament breakage fault exists at an authorized lamp position, the enable flag is set to the disabled state.
5. The filament status management method for a signal machine according to claim 1, characterized in that, The calculation of the signal degrading forced restriction flag bit is as follows: The signal degradation forced restriction flag is set to true when the following conditions are met simultaneously: a2) A downgrade event from CBTC to backup mode occurred on the signal; b2) The current traffic signal uses the CBTC (Concurrent Timing Bus) light-out scheme; c2) The signal degradation forced restriction flag is set to false when any of the following conditions are met: d2) The current signal is in backup mode for a period of time exceeding the maximum reaction time of the filament; e2) Switch from signal mode to CBTC mode; f2) The filament status of the restricted lamp position is confirmed to be intact.
6. The filament status management method for a signal machine according to claim 5, characterized in that, After the signal degrade forced restriction flag is set to true, if the filament status of the restricted lamp position is confirmed to be intact, the flag is immediately cleared.
7. The filament status management method for a signal machine according to claim 1, characterized in that, The filament condition in the signal opening condition is true under any of the following conditions: a3) The signal filament count is 0 or the current signal is in CBTC mode and using the CBTC light-off scheme; b3) The signal is in CBTC mode and uses the CBTC lighting scheme, and the signal restricts the filament from being in a broken state; c3) The signal is in backup mode, the limiting filament is not in a broken state, the enable flag is in the enabled state, and the downgrade forced limit flag is false.
8. The method according to claim 7, characterized in that, If the signal switch switches from backup mode to CBTC mode, the broken filament state of the allowed lamp position filament is ignored when determining the filament condition.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 8.