An interlocking lower-level machine fault judgment method, a readable storage medium and an electronic device

CN121469671BActive Publication Date: 2026-09-29CASCO SIGNAL LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511899842.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-16
Publication Date
2026-09-29
Estimated Expiration
2045-12-16

AI Technical Summary

Technical Problem

[0003]目前,信号机和道岔设备的输出、输入及其故障判断都分别由各个目标控制器控制,这种情况下多个目标控制器中的故障判断不能联动,故障判断和故障处理对目标控制器的性能要求也较高,而且需要为每个目标控制器单独编写和烧录配置文件,提高了系统维护难度,增加了提供成本和维护成本

Benefits of technology

本发明的一种联锁下位机故障判断方法、可读存储介质和电子设备中,该方法通过故障判断信息结构体对信号机和道岔的状态进行管理,同时故障判断信息结构体中各元素的状态信息会每周期根据与目标控制器的通信状态和报文内容进行更新。在结束初始化后,联锁安全主机每个周期都会遍历故障判断信息结构体下的驱动采集故障判断链表、继电器前后接点故障判断链表和道岔故障判断链表中的各个元素,并分别对各个元素的状态进行检查。该方法中通过故障判断信息结构体对各个目标控制器对应的外部设备的信息进行联合管理和检查,具有配置灵活、维护方便和系统成本较低等优势。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121469671B_ABST
    Figure CN121469671B_ABST
Patent Text Reader

Abstract

The application discloses a kind of interlocking lower-level machine fault judgment method, readable storage medium and electronic equipment, the method includes: S1, initialization is carried out to fault judgment information structure body, sets drive collection fault judgment chain table, relay front and rear contact fault judgment chain table and turnout fault judgment chain table and each element thereof;S2, when target controller completes a cycle of message processing, each element is configured based on the data of this cycle;S3, obtain the drive collection chain table head of drive collection fault judgment chain table, traverse each element in table and check its state;S4, obtain the relay front and rear contact chain table head of relay front and rear contact fault judgment chain table, traverse each element in table and check its state;S5, obtain the turnout collection chain table head of turnout fault judgment chain table, traverse each element in table and check its state;S6, after current cycle ends, re-enter S2-S5.It is advantageous that: it has the advantages such as configuration flexibility and maintenance convenience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of rail transit technology, and in particular to a method for diagnosing interlocking lower-level machine faults, a readable storage medium, and an electronic device. Background Technology

[0002] The interlocking lower-level controller is a crucial component of interlocking signaling equipment. During operation, it needs to maintain communication with various target controllers to obtain the input and output status of field signals, relays, and other equipment. To ensure the correct status of these devices, the interlocking lower-level controller needs to check the input and output statuses sent by each target controller, ensuring that signals, switches, and other equipment are functioning normally. When abnormal conditions occur, alarms or shutdowns must be triggered to ensure on-site safety.

[0003] Currently, the output, input, and fault diagnosis of signal and turnout equipment are controlled by separate target controllers. In this system, fault diagnosis among multiple target controllers cannot be coordinated, and fault diagnosis and handling place high performance demands on the target controllers. Furthermore, each target controller requires its own configuration file to be written and burned, increasing system maintenance difficulty and costs. Therefore, the existing approach needs improvement.

[0004] The statements herein provide only background information in relation to the present invention and do not necessarily constitute prior art. Summary of the Invention

[0005] Based on the aforementioned technical problems, the purpose of this invention is to provide a method for judging interlocking lower-level machine faults, a readable storage medium, and an electronic device. In this method, the information of external devices corresponding to each target controller is jointly managed through a fault judgment information structure. This approach has the advantages of flexible configuration, convenient maintenance, and low system cost.

[0006] To achieve the above objectives, the present invention is implemented through the following technical solution: A method for diagnosing interlocking lower-level machine faults, comprising: S1. Initialize the fault judgment information structure from the offline data configuration file, and set the driver acquisition fault judgment chain, the relay front and rear contact fault judgment chain, and the turnout fault judgment chain and their respective elements; each element in the fault judgment information structure corresponds to the information of each signal and turnout in the interlocking lower-level machine communication connection of each target controller. S2. When each target controller completes a cycle of message processing, it configures each element in the fault judgment information structure based on the data of this cycle, and sets the relevant communication code bits and contact code bits. S3. Obtain the head of the driver acquisition fault judgment list, traverse each element in the driver acquisition fault judgment list, and check the status of each element. S4. Obtain the head of the relay front and rear contact fault judgment linked list, traverse each element in the relay front and rear contact fault judgment linked list, and check the status of each element; if an abnormality is found, send the corresponding relay front and rear contact alarm information. S5. Obtain the head of the turnout acquisition chain list of the turnout fault judgment chain list, traverse each element in the turnout fault judgment chain list, and check the status of each element; if an abnormality is found during the check, send the acquisition alarm information of the corresponding turnout. S6. After the current cycle ends, re-enter S2~S5.

[0007] Optionally, in step S3, checking the state of elements in the drive acquisition fault judgment chain includes: If the communication code bit in the element is true, and the driving code bit and the acquisition code bit are inconsistent, the value of the corresponding counter will be incremented by 1; otherwise, the value of the corresponding counter will be cleared.

[0008] Optionally, the communication code bit being true for an element in the drive acquisition fault judgment chain includes: The peripheral communication status is set to true, and the peripheral communication status is set to true.

[0009] Optionally, each element of the drive acquisition fault judgment chain includes a drive-without-acquisition alarm counter and a drive-without-acquisition alarm counter. The drive-without-acquisition alarm counter corresponds to the state where the drive is true and the acquisition is false, and the drive-without-acquisition alarm counter corresponds to the state where the drive is false and the acquisition is true.

[0010] Optionally, when the drive is true and the acquisition is false, the alarm counter with drive but no acquisition increments by 1; otherwise, the alarm counter with drive but no acquisition clears its own count to zero. When the driver is false and the acquisition is true, the driverless acquisition alarm counter increments by 1; otherwise, the driverless acquisition alarm counter resets its count to zero.

[0011] Optionally, when the value of the alarm counter with drive but no data collection is greater than M, an alarm with drive but no data collection will be sent. When the value of the driverless detection alarm counter is greater than N, a driverless detection alarm will be sent.

[0012] Optionally, in step S4, checking the state of elements in the fault judgment chain list of the relay front and rear contacts includes: If the communication code bit in the element is true, and the states of the preceding and following contact code bits are consistent, the value of the corresponding counter will be incremented by 1; otherwise, the value of the corresponding counter will be cleared.

[0013] Optionally, the communication code bit being true for an element in the relay front and rear contact fault judgment linked list includes: The communication status of the front contact peripheral is true, and the communication status of the back contact peripheral is true.

[0014] Optionally, the counters in each element of the fault judgment chain list of the relay front and rear contacts are abnormal alarm counters. When the value of the abnormal alarm counter is greater than K, the abnormal alarm counter will trigger an alarm.

[0015] Optionally, in step S5, checking the state of elements in the turnout fault judgment chain includes: When the communication code bit in the element is true and the following conditions are met: the fixed table code bit and the inverted table code bit are different, and the result of the operation of XNOR of the fixed table code bit and the inverted table code bit is equal to the value of the code bit of the turnout indicator, the value of the counter is cleared to zero; otherwise, the value of the counter is incremented by 1. Here, the XNOR operation is an XNOR operation.

[0016] Optionally, the communication code bit being true for an element in the turnout fault judgment linked list includes: The communication status of the fixed table associated peripheral is true, the communication status of the reverse table associated peripheral is true, and the communication code of the turnout indicator post-connection is true.

[0017] Optionally, the counters in each element of the turnout fault judgment chain are abnormal alarm counters. When the value of the abnormal alarm counter is greater than L, the abnormal alarm counter will trigger an alarm.

[0018] Optionally, a readable storage medium stores a computer program that, when executed by a processor, implements the steps of the aforementioned interlocking lower-level machine fault judgment method.

[0019] Optionally, an electronic device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the steps of the aforementioned interlocking lower-level machine fault judgment method.

[0020] Compared with the prior art, the present invention has the following advantages: In this invention, a method for fault diagnosis of interlocking lower-level machines, a readable storage medium, and an electronic device manages the status of signals and turnouts through a fault diagnosis information structure. Simultaneously, the status information of each element in the fault diagnosis information structure is updated periodically based on the communication status and message content with the target controller. After initialization, the interlocking safety host traverses each element in the drive acquisition fault diagnosis chain, the relay front and rear contact fault diagnosis chain, and the turnout fault diagnosis chain under the fault diagnosis information structure each period, and checks the status of each element. This method, by using a fault diagnosis information structure to jointly manage and check the information of external devices corresponding to each target controller, has advantages such as flexible configuration, convenient maintenance, and low system cost. Attached Figure Description

[0021] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the description will be briefly introduced below. Obviously, the accompanying drawings described below are one embodiment of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort: Figure 1 This is a schematic diagram showing the connection between an interlocking signal device and an external device. Figure 2 This is a schematic diagram of a method for determining interlocking lower-level machine faults according to the present invention; Figure 3 This is a schematic diagram of a fault judgment information structure according to the present invention; Figure 4 This is a flowchart of a drive acquisition fault judgment method according to the present invention; Figure 5 This is a flowchart of a relay front and rear contact fault diagnosis method according to the present invention. Figure 6 This is a flowchart of a turnout fault acquisition and judgment process according to the present invention. Detailed Implementation

[0022] The following detailed description, in conjunction with the accompanying drawings and specific embodiments, provides a further detailed explanation of the interlocking lower-level machine fault judgment method, readable storage medium, and electronic device proposed in this invention. The advantages and features of this invention will become clearer from the following description. It should be noted that the drawings are in a very simplified form and use non-precise proportions, used only to facilitate and clearly illustrate the embodiments of this invention. Please refer to the drawings to make the objectives, features, and advantages of this invention more apparent and understandable. It should be understood that the structures, proportions, sizes, etc., depicted in the accompanying drawings are only for illustrative purposes to aid those skilled in the art and are not intended to limit the implementation conditions of this invention. Therefore, they have no substantial technical significance. Any modifications to the structure, changes in proportions, or adjustments to the size, without affecting the effects and objectives achieved by this invention, should still fall within the scope of the technical content disclosed in this invention.

[0023] like Figure 1 The diagram shown illustrates the connection between a lower-level interlocking device (interlocking signal device) and external equipment. Figure 1 As can be seen, the interlocking safety host of the interlocking signal equipment is connected to multiple target controllers, and each target controller is connected to various outdoor devices, i.e., peripherals. These external devices include various signals and switches. As described above, currently the output, input, and fault diagnosis of signals and switches are all controlled by individual target controllers. In this situation, the fault diagnosis of multiple target controllers cannot be coordinated, and this method places high demands on the performance of the target controllers, increasing both the difficulty of system maintenance and various costs.

[0024] To address the aforementioned issues, this invention provides a method for fault diagnosis of interlocking lower-level machines. This method manages the information of signals and turnouts in multiple target controllers through a fault diagnosis information structure, offering advantages such as flexible configuration, convenient maintenance, and low system cost.

[0025] like Figure 2 As shown, this invention provides a method for determining interlocking lower-level machine faults. The method includes: S1. The interlocking lower-level machine initializes the fault judgment information structure from the offline data configuration file. For example... Figure 3As shown, the fault judgment information structure includes a drive acquisition fault judgment chain list, a relay front and rear contact fault judgment chain list, and a turnout fault judgment chain list, along with their respective elements. Each element in the fault judgment information structure corresponds to the information of each signal and turnout connected to the interlocking lower-level machine in each target controller. Specifically, each element in the drive acquisition fault judgment chain list corresponds to the information of each drive acquisition contact of each signal in each target controller; each element in the relay front and rear contact fault judgment chain list corresponds to the information of each relay front and rear contact of each signal in each target controller; and each element in the turnout fault judgment chain list corresponds to the information of each turnout set / reverse table contact in each target controller.

[0026] In practical applications, the file reading functions provided by the operating system are used to read the communication status and message content of each target controller (including the communication code bits of the devices associated with the checked code bits and the code bits of the corresponding checked objects) from Flash to memory. The configuration file content in memory is then used to initialize the global static fault judgment information structure, i.e., the fault handling structure.

[0027] S2. When each target controller completes a cycle of message processing, it configures each element based on the data of this cycle, setting the relevant communication code bits and contact code bits.

[0028] In practical applications, after the waiting period completes the processing of received messages, it updates the configuration of each element based on the communication status and message content information of all target controllers within this period. Specifically, this includes setting the communication status code bits and related contact code bits of the corresponding elements in the fault judgment information structure for each peripheral connected to each target controller. The related contact code bits refer to the drive code bits, acquisition code bits, front contact code bits, back contact code bits, fixed table code bits, and reverse table code bits in the element. This invention performs fault judgment only after uniformly judging the communication status of all target controllers and processing the corresponding code bits of the input messages. Based on this method, it can ensure that all code bit information is aligned.

[0029] As described above, in this invention, the interlocking safety host of the interlocking signal equipment uses a fault judgment information structure to manage three types of objects: drive acquisition contacts, relay front and rear contacts, and turnout set / reverse table contacts. During system initialization, the system retrieves the communication code points of the devices associated with the checked code points and the code points of the corresponding checked objects from the offline configuration file. These code points are updated periodically based on the communication status and message content with the target controller.

[0030] S3. Obtain the head of the driver acquisition fault judgment chain in the fault judgment information structure, traverse each element in the driver acquisition fault judgment chain, and check the status of each element.

[0031] like Figure 3 and Figure 4 As shown, checking the state of elements in the driver acquisition fault judgment chain includes: when the communication code bit in the element of the driver acquisition fault judgment chain is true, and the states of the driver code bit and the acquisition code bit are inconsistent, the value of the corresponding counter is incremented by 1; otherwise, the value of the corresponding counter is cleared to zero. The driver code bit corresponds to the driver, and the acquisition code bit corresponds to the acquisition. When the two are inconsistent, it indicates a system abnormality.

[0032] In this context, a true communication code bit indicates normal communication between the interlocking lower-level machine and the target controller, at which point the drive code bit and the acquisition code bit are valid values. A true communication code bit means that the drive acquisition contact corresponding to this element can communicate normally. Specifically, a true communication code bit in the drive acquisition fault judgment list includes both a true acquisition peripheral communication status and a true drive peripheral communication status. On the other hand, if a false communication code bit in an element of the drive acquisition fault judgment list indicates that it is impossible to determine whether the relevant code bit is abnormal, then the process continues to traverse the next element in the list.

[0033] Furthermore, in this embodiment, each element of the drive acquisition fault judgment chain includes a drive-without-acquisition alarm counter and a drive-without-acquisition alarm counter. The drive-without-acquisition alarm counter corresponds to the state where the drive is true and acquisition is false, and the drive-without-acquisition alarm counter corresponds to the state where the drive is false and acquisition is true. In practical applications, when the drive is true and acquisition is false, the drive-without-acquisition alarm counter increments by 1; otherwise, it resets its count to zero. When the drive is false and acquisition is true, the drive-without-acquisition alarm counter increments by 1; otherwise, it resets its count to zero. Since drive-without-acquisition leads to a dangerous situation, in practical applications, it is preferable to check drive-without-acquisition first, and then check drive-without-acquisition.

[0034] Furthermore, when the value of the driver-enabled but data-less alarm counter is greater than M, a driver-enabled but data-less alarm signal will be sent; when the value of the driverless but data-enabled alarm counter is greater than N, a driverless but data-enabled alarm signal will be sent. Here, M and N are both positive integers. In some embodiments, both M and N are 6; of course, other values ​​are possible in other embodiments. After the alarm ends, or after determining that the values ​​of both the driver-enabled but data-less alarm counter and the driverless but data-enabled alarm counter are less than 6, the next linked list element is traversed. In practical applications, after an alarm, the corresponding alarm counter value is not actively cleared; the count value is only cleared to zero when no further fault is detected.

[0035] S4. Obtain the head of the relay front and rear contact fault judgment linked list in the fault judgment information structure, traverse each element in the relay front and rear contact fault judgment linked list one by one, and check the status of each element; if an abnormality is found, send the corresponding relay front and rear contact alarm information.

[0036] In practical applications, the normal state is when the current contact code value is inconsistent with the subsequent contact code value, that is, when the two sampled levels are inconsistent. For example... Figure 3 and Figure 5 As shown, checking the state of elements in the fault judgment chain of the relay front and rear contacts includes: when the communication code bit in the element is true and the state of the front contact code bit value is consistent with that of the rear contact code bit value, incrementing the value of the corresponding counter by 1; otherwise, clearing the value of the corresponding counter to zero.

[0037] Specifically, a true communication code bit in the relay front and rear contact fault judgment linked list includes both a true communication status for the front contact peripheral device and a true communication status for the rear contact peripheral device. If a false communication code bit in the relay front and rear contact fault judgment linked list is found, the process continues to traverse the next linked list element.

[0038] Furthermore, in this embodiment, the counters in each element of the relay front and rear contact fault judgment linked list are abnormal alarm counters. When the value of the abnormal alarm counter is greater than K, the abnormal alarm counter resets its count to zero and triggers an alarm (sending an abnormal alarm for the relay front and rear contacts). Here, K is a positive integer. In some embodiments, K is 6; of course, it can be other values ​​in other embodiments. After the alarm ends, or after determining that the values ​​of all abnormal alarm counters are less than 6, the next linked list element is traversed. In practical applications, after an alarm, the corresponding alarm counter's count value is not actively cleared; the count value is only cleared to zero when no further fault is detected.

[0039] S5. Obtain the head of the turnout acquisition chain list of the turnout fault judgment chain list in the fault judgment information structure, traverse each element in the turnout fault judgment chain list one by one, and check the status of each element. If an abnormality is found, send the acquisition alarm information of the corresponding turnout.

[0040] In practical applications, the fixed and reverse code positions represent the states of two acquisition contacts of the relay. Under normal circumstances, the states of the two code positions should be different. For example... Figure 3 and Figure 6As shown, checking the state of elements in the turnout fault judgment chain includes: when the communication code bit in the element is true and the following conditions are met: 1. The fixed table code bit and the inverted table code bit are different; 2. The result of the operation of XNOR of the fixed table code bit and the inverted table code bit is equal to the value of the turnout indication subsequent connection point code bit; the counter value is cleared to zero, otherwise the counter value is incremented by 1. Wherein, XNOR operation is an XNOR operation.

[0041] Specifically, a true communication code bit in the turnout fault judgment linked list includes: a true peripheral communication status associated with the fixed list, a true peripheral communication status associated with the reverse list, and a true communication code bit representing the subsequent contact point of the turnout. If a false communication code bit in the turnout fault judgment linked list is found, the process continues to traverse the next linked list element.

[0042] Furthermore, in this embodiment, the counters in each element of the turnout fault judgment linked list are abnormal alarm counters. When the value of the abnormal alarm counter is greater than L, the abnormal alarm counter alarms (sends a turnout acquisition alarm) and clears its own count to zero. Here, L is a positive integer. In some embodiments, L is 6; of course, it can be other values ​​in other embodiments. In practical applications, after an alarm is triggered, the corresponding alarm counter's count value is not actively cleared; the count value is only cleared to zero when no further fault is detected.

[0043] S6. Wait for the current cycle to end. After the current cycle ends, re-enter S2~S5.

[0044] Based on the above, in the interlocking lower-level machine fault judgment method of the present invention, the status of the signal and turnout (drive acquisition contacts, relay front and rear contacts, and turnout set / reverse table contacts) is managed through a fault judgment information structure. Simultaneously, the status information of each element in the fault judgment information structure is updated periodically based on the communication status and message content with the target controller. After initialization, the interlocking safety host traverses the elements in the drive acquisition fault judgment chain, relay front and rear contact fault judgment chain, and turnout fault judgment chain under the fault judgment information structure each periodically, and checks the fault status of each element.

[0045] Based on the above approach, this invention can coordinate the input and output states of multiple target controllers. In practical applications, operators can configure the elements in the fault diagnosis information structure according to factors such as on-site equipment. It offers advantages such as flexible configuration, convenient maintenance, and low system cost. In other words, this method allows operators to set different fault diagnosis and handling schemes based on on-site conditions, reducing the difficulty of on-site construction.

[0046] Furthermore, this method can check the operational status of on-site equipment such as signals, switches, and relays, and issue alarms. This method centralizes the inspection of controlled objects from multiple target controllers, reducing system maintenance difficulty and hardware costs.

[0047] Furthermore, in this invention, the program for implementing the interlocking lower-level machine fault judgment method is not located on each target controller, but can be located on the interlocking lower-level machine. This centralizes fault judgment and processing on the interlocking lower-level machine, which includes an operating system and has higher performance. This reduces the functional and performance requirements of the target controllers, allowing them to implement their functions using only a bare-metal MCU, thereby reducing software development and hardware costs. Compared to existing technologies where the target controller needs to implement control and data acquisition functions, as well as fault judgment and processing of drive signals, this invention allows the target controller to only implement control and data acquisition functions, significantly reducing the requirements and contributing to cost reduction.

[0048] Furthermore, in the interlocking lower-level machine fault judgment method of the present invention, when the operating scenario changes, it is only necessary to adjust and burn the fault judgment and processing configuration data of the interlocking safety host, which reduces the system maintenance difficulty and maintenance cost.

[0049] Based on the same inventive concept, this invention also provides a readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the aforementioned interlocking lower-level machine fault judgment method. In practical applications, this readable storage medium can be placed on the interlocking lower-level machine to reduce the performance requirements of the target controller, allowing the target controller to implement its corresponding functions using only a bare-metal MCU, thus helping to reduce the software development and hardware costs of the product.

[0050] Based on the same inventive concept, the present invention also provides an electronic device, the electronic device comprising: a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the steps of the aforementioned interlocking lower-level machine fault judgment method.

[0051] In summary, the interlocking lower-level machine fault judgment method, readable storage medium, and electronic device of the present invention manage the status of signals and turnouts (drive acquisition contacts, relay front and rear contacts, and turnout set / reverse table contacts) through a fault judgment information structure. Simultaneously, the status information of each element in the fault judgment information structure is updated periodically based on the communication status and message content with the target controller. After initialization, the interlocking safety host traverses each element in the drive acquisition fault judgment chain, relay front and rear contact fault judgment chain, and turnout fault judgment chain under the fault judgment information structure each periodically, and checks the status of each element. This method, by using a fault judgment information structure to jointly manage and judge the information of external devices corresponding to each target controller, has advantages such as flexible configuration, convenient maintenance, and low system cost.

[0052] Furthermore, each element in the fault judgment information structure of the present invention is equipped with an alarm counter so that when a fault is found during the inspection process, the corresponding alarm information is sent, thereby enabling the staff to discover the fault in a timely manner.

[0053] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0054] In the description of this invention, it should be understood that the terms "center," "height," "thickness," "upper," "lower," "vertical," "horizontal," "top," "bottom," "inner," "outer," "axial," "radial," and "circumferential," etc., indicating orientation or positional relationships, are based on the orientation or positional relationships shown in the accompanying drawings and are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. In the description of this invention, unless otherwise stated, "a plurality of" means two or more.

[0055] In the description of this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0056] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" of the second feature includes the first feature directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.

[0057] Although the present invention has been described in detail through the preferred embodiments above, it should be understood that the above description should not be considered as a limitation of the present invention. Various modifications and substitutions to the present invention will be apparent to those skilled in the art after reading the above description. Therefore, the scope of protection of the present invention should be defined by the appended claims.

Claims

1. A method for diagnosing interlocking lower-level machine faults, characterized in that, Include: S1. Initialize the fault judgment information structure from the offline data configuration file, and set the driver acquisition fault judgment chain, the relay front and rear contact fault judgment chain, and the turnout fault judgment chain and their respective elements. Each element in the fault judgment information structure corresponds to the information of each signal and turnout in the interlocking lower-level machine communication connection of each target controller. S2. When each target controller completes a cycle of message processing, it configures each element in the fault judgment information structure based on the data of this cycle, and sets the relevant communication code bits and contact code bits. S3. Obtain the head of the driver acquisition fault judgment list, traverse each element in the driver acquisition fault judgment list, and check the status of each element. S4. Obtain the head of the relay front and rear contact fault judgment linked list, traverse each element in the relay front and rear contact fault judgment linked list, and check the status of each element; if an abnormality is found, send the corresponding relay front and rear contact alarm information. S5. Obtain the head of the turnout acquisition chain list of the turnout fault judgment chain list, traverse each element in the turnout fault judgment chain list, and check the status of each element; if an abnormality is found during the check, send the acquisition alarm information of the corresponding turnout. S6. After the current cycle ends, re-enter S2~S5; Specifically, step S3, checking the state of elements in the driver acquisition fault judgment chain, includes: If the communication code bit in the element is true, and the driving code bit and the acquisition code bit are inconsistent, the value of the corresponding counter will be incremented by 1; otherwise, the value of the corresponding counter will be cleared to zero. In step S4, checking the state of elements in the fault judgment chain of the relay front and rear contacts includes: If the communication code bit in the element is true, and the states of the preceding and following contact code bits are consistent, the value of the corresponding counter will be incremented by 1; otherwise, the value of the corresponding counter will be cleared. In step S5, checking the state of elements in the turnout fault judgment chain includes: When the communication code bit in the element is true and the following conditions are met: the fixed table code bit and the inverted table code bit are different, and the result of the operation of XNOR of the fixed table code bit and the inverted table code bit is equal to the value of the code bit of the turnout indicator, the value of the counter is cleared to zero; otherwise, the value of the counter is incremented by 1. Here, the XNOR operation is an XNOR operation.

2. The interlocking lower-level machine fault judgment method as described in claim 1, characterized in that, The communication code bit being true for an element in the fault judgment list of the driver includes: The peripheral communication status is set to true, and the peripheral communication status is set to true.

3. The interlocking lower-level machine fault judgment method as described in claim 1, characterized in that, Each element of the drive acquisition fault judgment chain contains a drive-without-acquisition alarm counter and a drive-without-acquisition alarm counter. The drive-without-acquisition alarm counter corresponds to the state where the drive is true and the acquisition is false, and the drive-without-acquisition alarm counter corresponds to the state where the drive is false and the acquisition is true.

4. The interlocking lower-level machine fault judgment method as described in claim 3, characterized in that, When the drive is true and the acquisition is false, the alarm counter with drive but no acquisition increments by 1; otherwise, the alarm counter with drive but no acquisition clears its own count to zero. When the driver is false and the acquisition is true, the driverless acquisition alarm counter increments by 1; otherwise, the driverless acquisition alarm counter resets its count to zero.

5. The interlocking lower-level machine fault judgment method as described in claim 3, characterized in that, When the value of the alarm counter with drive but no data collection is greater than M, an alarm with drive but no data collection will be sent. When the value of the driverless detection alarm counter is greater than N, a driverless detection alarm will be sent.

6. The interlocking lower-level machine fault judgment method as described in claim 1, characterized in that, The communication code bit being true for an element in the relay front and rear contact fault judgment linked list includes: The communication status of the front contact peripheral is true, and the communication status of the back contact peripheral is true.

7. The interlocking lower-level machine fault judgment method as described in claim 1, characterized in that, The counters in each element of the fault judgment chain list of the relay front and rear contacts are abnormal alarm counters. When the value of the abnormal alarm counter is greater than K, the abnormal alarm counter will trigger an alarm.

8. The interlocking lower-level machine fault judgment method as described in claim 1, characterized in that, The communication code bit being true for an element in the turnout fault judgment linked list includes: The communication status of the fixed table associated peripheral is true, the communication status of the reverse table associated peripheral is true, and the communication code of the turnout indicator post-connection is true.

9. The interlocking lower-level machine fault judgment method as described in claim 1, characterized in that, The counters in each element of the turnout fault judgment chain are abnormal alarm counters. When the value of the abnormal alarm counter is greater than L, the abnormal alarm counter will trigger an alarm.

10. A readable storage medium, characterized in that, The readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the interlocking lower-level machine fault judgment method as described in any one of claims 1 to 9.

11. An electronic device, characterized in that, The electronic device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the steps of the interlocking lower-level machine fault judgment method as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Fault diagnosis system and method for turnout collection representation

    CN115782990A

  • Access state monitoring method and system, electronic equipment and storage medium

    CN119018208A