Fault diagnosis method and device of turnout switch machine, electronic equipment and storage medium
By acquiring equipment data from turnout switch machines, extracting relay and electrical parameters, matching alarm rule configuration tables, and generating fault scenario codes, automatic fault diagnosis of turnout switch machines is achieved. This solves the problems of accuracy and efficiency in fault diagnosis of turnout switch machines, and improves the safety and efficiency of the transportation system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-31
- Publication Date
- 2026-03-17
AI Technical Summary
Turnout switching machines are prone to failure due to factors such as prolonged exposure to harsh environments, frequent operation, and mechanical wear. Existing technologies are insufficient for effective fault diagnosis, which affects train operation safety and transportation efficiency.
By acquiring equipment data from the turnout switch machine, extracting the target operation type, and matching the relay and electrical parameters with the preset alarm rule configuration table, a fault scenario code is generated to achieve automatic diagnosis of static and dynamic faults.
Automatic fault diagnosis of turnout switching machines has been achieved, which has improved the accuracy and efficiency of fault diagnosis, reduced the false alarm rate, reduced the cost of manual inspection, and improved the stability of the transportation system.
Smart Images

Figure CN121671684A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of rail transit technology, and in particular to a fault diagnosis method, device, electronic equipment and storage medium for a turnout switch machine. Background Technology
[0002] As a key actuator in the railway signaling system, the operating status of turnout switch machines directly affects train operation safety and transportation efficiency. During daily operation, due to factors such as prolonged exposure to harsh environments, frequent operation, and mechanical wear, turnout switch machines are prone to various malfunctions, such as motor overload, abnormal indicator circuits, and mechanical jamming. Therefore, fault diagnosis of turnout switch machines is particularly important. Summary of the Invention
[0003] To address the aforementioned problems, this invention provides a fault diagnosis method, apparatus, electronic device, and storage medium for a turnout switch machine.
[0004] This invention provides a fault diagnosis method for a turnout switch machine, comprising the following steps.
[0005] Obtain equipment data for the turnout switch machine; Extract the target operation type of the turnout switch machine from the equipment data; When the target operation type is static, the first relay-related parameters and electrical-related parameters of the turnout switch machine are extracted from the equipment data; When it is determined that there is a first fault rule in the alarm rule configuration table that matches the parameters related to the first relay, the first fault scenario code corresponding to the first fault rule is determined. The alarm rule configuration table stores the correspondence between fault rules and fault scenario codes. The alarm rule parameter configuration table stores the correspondence between fault scenario codes and parameter rules. If the electrical parameters are determined to match the first parameter rule, the first fault scenario code is output, which is used to characterize the static fault type of the turnout switch machine.
[0006] According to the fault diagnosis method of the turnout switch machine provided by the present invention, the alarm rule configuration table also stores the correspondence between the type of switch machine, the operation type, the wiring system of the switch machine and the fault scenario code; The determination that there is a first fault rule in the alarm rule configuration table that matches the relevant parameters of the first relay includes: Extract the target type and target track configuration of the turnout switch machine from the equipment data; Search the alarm rule configuration table for the first target fault rule corresponding to the target type, the target operation type, and the target line system; If the parameters related to the first relay match the first target fault rule, the first target fault rule is determined as the first fault rule.
[0007] According to the fault diagnosis method of a turnout switch machine provided by the present invention, the equipment data includes switching quantity data; The extraction of the first relay-related parameters and electrical-related parameters of the turnout switch machine from the equipment data includes: Extract the positional and reverse positions of the relay from the switch data; When the state of both the positioning relay and the reverse position relay is zero, and the duration of the state of both the positioning relay and the reverse position relay being zero is greater than a first preset duration, and the time difference between any two adjacent switch data in a preset number of switch data is less than a second preset duration, the first relay-related parameters and electrical-related parameters of the turnout switch machine are extracted from the equipment data.
[0008] A fault diagnosis method for a turnout switching machine according to the present invention further includes: When the target operation type is an action type, the second relay-related parameters and electrical-related curve parameters are extracted from the device data; When it is determined that there is a second fault rule in the alarm rule configuration table that matches the parameters related to the second relay, the second fault scenario code corresponding to the second fault rule is determined; If a second parameter rule corresponding to the second fault scenario code is found in the alarm rule parameter configuration table, the electrical correlation curve parameter is matched with the second parameter rule. If the electrical correlation curve parameters are determined to match the second parameter rule, the second fault scenario code is output, which is used to characterize the operation fault type of the turnout switch machine.
[0009] According to a fault diagnosis method for a turnout switching machine provided by the present invention, the step of determining that there is a second fault rule in the alarm rule configuration table that matches the relevant parameters of the second relay includes: Search the alarm rule configuration table for the second target fault rule corresponding to the target type, the target operation type, and the target line system; If the parameters related to the second relay match the second target fault rule, the second target fault rule will be determined as the second fault rule.
[0010] According to a fault diagnosis method for a turnout switching machine provided by the present invention, the step of extracting second relay-related parameters and electrical correlation curve parameters from the equipment data includes: Extract the activation duration of the permitted operation relay of the turnout switch machine and the disconnection status of the turnout switch machine from the equipment data; When the target operation type is within a preset operation type range, the operation direction of the turnout switch machine is determined based on the target operation type; When the allowed operating relay's tethering duration is greater than or equal to the tethering duration threshold, and the gap state does not match the operating direction, the second relay-related parameters and the electrical correlation curve parameters are extracted from the equipment data.
[0011] A fault diagnosis method for a turnout switching machine according to the present invention further includes: If a static fault is determined to have occurred in the turnout switch machine, a first alarm message corresponding to the static fault is generated; If it is determined that the turnout switch machine has malfunctioned, a second alarm message corresponding to the malfunction will be generated. The first alarm information and the second alarm information are stored, and then sent to the turnout application terminal.
[0012] The present invention also provides a fault diagnosis device for a turnout switch machine, comprising: The acquisition unit is used to acquire equipment data of the turnout switch machine; The first extraction unit is used to extract the target operation type of the turnout switch machine from the equipment data; The second extraction unit is used to extract the first relay-related parameters and electrical-related parameters of the turnout switch machine from the equipment data when the target operation type is static. The first determining unit is used to determine the first fault scenario code corresponding to the first fault rule when a first fault rule matching the parameters of the first relay exists in the alarm rule configuration table. The alarm rule configuration table stores the correspondence between fault rules and fault scenario codes. The lookup unit is used to look up the first parameter rule corresponding to the first fault scenario code in the alarm rule parameter configuration table, wherein the alarm rule parameter configuration table stores the correspondence between fault scenario codes and parameter rules; The first output unit is used to output the first fault scenario code when it is determined that the electrical related parameters match the first parameter rule. The first fault scenario code is used to characterize the static fault type of the turnout switch machine.
[0013] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a fault diagnosis method for a turnout switch machine as described above.
[0014] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a fault diagnosis method for a turnout switch machine as described above.
[0015] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements a fault diagnosis method for a turnout switch machine as described above.
[0016] The present invention provides a fault diagnosis method, device, electronic equipment, and storage medium for a turnout switch machine. It extracts the target operation type of the turnout switch machine from its equipment data. If the target operation type is static, it extracts the first relay-related parameters and electrical-related parameters of the turnout switch machine from the equipment data. If a first fault rule matching the first relay-related parameters exists in the alarm rule configuration table, it determines the first fault scenario code corresponding to the first fault rule. It then searches the alarm rule parameter configuration table for the first parameter rule corresponding to the first fault scenario code. If the electrical-related parameters match the first parameter rule, it outputs the first fault scenario code characterizing the static fault type of the turnout switch machine, thereby achieving automatic fault diagnosis of the turnout switch machine. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0018] Figure 1 This is one of the flowcharts illustrating the fault diagnosis method for a turnout switch machine provided in this embodiment of the invention.
[0019] Figure 2 This is the second flowchart illustrating the fault diagnosis method for a turnout switch machine provided in this embodiment of the invention.
[0020] Figure 3This is a structural schematic diagram of the fault diagnosis method for a turnout switch machine provided in an embodiment of the present invention.
[0021] Figure 4 This is a schematic diagram of the physical structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation
[0022] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this 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 this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0023] Figure 1 This is one of the flowcharts illustrating the fault diagnosis method for a turnout switch machine provided in this embodiment of the invention, such as... Figure 1 As shown, the fault diagnosis method for this turnout switch machine includes the following steps: Step 101: Obtain the equipment data of the turnout switch machine.
[0024] The equipment data includes all data related to the operation of the turnout switch machine.
[0025] For example, when the lower-level machine obtains the equipment data of the turnout switch machine, it sends the equipment data to the Kafka message queue. The Kafka message structure consists of a message header MsgHead and a message body MsgBody. The message header MsgHead includes Line Label, Station Number LocationNo, System Label, etc., and the message body MsgBody includes core fields such as DeviceNo, AlarmLevel, and AlarmStatus. The parsing module consumes equipment data from the Kafka message queue to obtain the equipment data of the turnout switch machine. It then parses the equipment data according to the signal subsystem interface documentation, verifies the validity of the MsgHead fields, extracts information such as DeviceNo and AlarmStatus from the MsgBody, and triggers an alarm for abnormal data (such as missing DeviceNo) to ensure the stability of data transmission and the integrity of fields. Finally, it stores the parsed equipment data of the turnout switch machine in the IoTDB database.
[0026] Step 102: Extract the target operation type of the turnout switch machine from the equipment data.
[0027] For example, when the equipment data is obtained, the target operation type of the turnout switch machine is extracted from the equipment data. If the target operation type is 01, it is determined to be a static type. If the target operation type is 10, it is determined to be a reverse operation type. If the target operation type is 01, it is determined to be a fixed operation type.
[0028] Step 103: If the target operation type is static, extract the first relay related parameters and electrical related parameters of the turnout switch machine from the equipment data.
[0029] For example, when the target operation type is determined to be static, information related to the static type is extracted from the equipment data. Specifically, this may include parameters related to the first relay and electrical parameters. Taking the location of the DBJ relay falling fault as an example, the parameters related to the first relay may include the status of the 1DQJ relay, the status of the DBJ relay, and the status of the FBJ relay. The electrical parameters may include the X2-X4 DC voltage, X2-X4 AC voltage, X1-X2 DC voltage, X1-X2 AC voltage, X1-X4 DC voltage, and X1-X4 AC voltage.
[0030] Step 104: When it is determined that there is a first fault rule in the alarm rule configuration table that matches the relevant parameters of the first relay, determine the first fault scenario code corresponding to the first fault rule.
[0031] The alarm rule configuration table stores the correspondence between fault rules and fault scenario codes. The fault rules in the alarm rule configuration table alarm_rule are fault judgment logic defined based on fault scenarios, and different fault scenarios correspond to different fault rules.
[0032] For example, taking the location of a DBJ drop fault as an example, the first fault rule for the DBJ drop fault scenario stored in the alarm rule configuration table is: 1) Determine that the 1DQJ relay is in a drop state; 2) Determine that the DBJ is in a drop state; 3) Determine that the DBJ is in a drop state and, within a 1-second time range prior to it, the FBJ is continuously in a drop state. Then, the states of the 1DQJ relay, DBJ, and FBJ extracted from the device data are judged. If it is determined that the 1DQJ relay is in a drop state, the DBJ is in a drop state, and, within a 1-second time range prior to it, the FBJ is continuously in a drop state, then it is determined that a first fault rule matching the parameters of the first relay exists in the alarm rule configuration table. Therefore, the first fault scenario code corresponding to the first fault rule is searched in the alarm rule configuration table.
[0033] Step 105: Find the first parameter rule corresponding to the first fault scenario code in the alarm rule parameter configuration table.
[0034] The alarm rule parameter configuration table stores the correspondence between fault scenario codes and parameter rules. The parameter rules in the alarm_degree_param table are rules defined based on fault scenarios, and different fault scenarios correspond to different parameter rules.
[0035] For example, the alarm rule parameter configuration table stores the correspondence between fault scenario codes and parameter rules. Therefore, when the first fault scenario code is obtained, the first parameter rule corresponding to the first fault scenario code can be found in the alarm rule parameter configuration table. Taking the location of the DBJ drop fault as an example, the first parameter rule for the DBJ drop fault scenario stored in the alarm rule parameter configuration table is 50V>X2-X4 DC>30V, 90V>X2-X4 AC>70V, 90V>X1-X2 AC>70V, 50V>X1-X2 DC>30V, 4V>X1-X4 DC, 5V>X1-X4 AC.
[0036] It should be noted that in the correspondence between fault scenario codes and parameter rules, one fault scenario code can correspond to one parameter rule or multiple parameter rules. The specific settings need to be based on the fault scenario. When there are multiple corresponding parameter rules for the first fault scenario code stored in the alarm rule parameter configuration table, there will also be multiple first parameter rules corresponding to the first fault scenario code. This invention does not limit this.
[0037] Step 106: If the electrical related parameters match the first parameter rule, output the first fault scenario code. The first fault scenario code is used to characterize the static fault type of the turnout switch machine.
[0038] For example, the DC voltage of X2-X4, AC voltage of X2-X4, DC voltage of X1-X2, AC voltage of X1-X2, DC voltage of X1-X4, and AC voltage of X1-X4 extracted from the equipment data are judged. If the following conditions are met: 50V > X2-X4 DC > 30V, 90V > X2-X4 AC > 70V, 90V > X1-X2 AC > 70V, 50V > X1-X2 DC > 30V, 4V > X1-X4 DC, and 5V > X1-X4 AC, then it is determined that the electrical related parameters match the first parameter rule. At this time, the first fault scenario code is output. The first fault scenario code is used to characterize the static fault type of the turnout switch machine.
[0039] It should be noted that the fault cause description corresponding to each fault scenario code can also be stored in the alarm rule parameter configuration table. Therefore, when it is determined that the electrical related parameters match the first parameter rule, the fault cause description corresponding to the first fault scenario code can also be output, so that maintenance personnel can know the specific fault cause. This invention does not limit this.
[0040] The fault diagnosis method for a turnout switch machine provided by this invention extracts the target operation type of the turnout switch machine from the equipment data. When the target operation type is static, the method extracts the first relay-related parameters and electrical-related parameters of the turnout switch machine from the equipment data. When it is determined that there is a first fault rule in the alarm rule configuration table that matches the first relay-related parameters, the method determines the first fault scenario code corresponding to the first fault rule. The method then searches for the first parameter rule corresponding to the first fault scenario code in the alarm rule parameter configuration table. When it is determined that the electrical-related parameters match the first parameter rule, the method outputs the first fault scenario code used to characterize the static fault type of the turnout switch machine, thereby realizing automatic fault diagnosis of the turnout switch machine.
[0041] In one embodiment, the alarm rule configuration table also stores the correspondence between the type of switch machine, operation type, wiring system of the switch machine, and fault scenario code; the determination in step 104 above that there exists a first fault rule in the alarm rule configuration table that matches the relevant parameters of the first relay can be achieved in the following way: Extract the target type and target wiring configuration of the turnout switch machine from the equipment data; search the alarm rule configuration table for a first target fault rule corresponding to the target type, the target operation type, and the target wiring configuration; if the parameters related to the first relay match the first target fault rule, determine the first target fault rule as the first fault rule.
[0042] Among them, the track configuration of the turnout switch machine can be L5, L6, L8, etc.
[0043] For example, the alarm rule configuration table pre-stores the correspondence between the type, operation type, wiring system, fault scenario code, and fault rule of the switch machine. When the target type, target wiring system, and target operation type of the turnout switch machine are extracted from the equipment data, the first target fault rule corresponding to the target type, target wiring system, and target operation type can be found in the alarm rule configuration table. The relevant parameters of the first relay are matched with the first target fault rule, without having to match the relevant parameters of the first relay with all the fault rules stored in the alarm rule configuration table. When the relevant parameters of the first relay match the first target fault rule, it means that the first target fault rule is the first fault rule in the alarm rule configuration table that matches the relevant parameters of the first relay. Therefore, the first target fault rule is determined as the first fault rule.
[0044] In this embodiment, the first target fault rule corresponding to the target type, target operation type, and target wiring system is searched in the alarm rule configuration table. If the parameters related to the first relay match the first target fault rule, the first target fault rule is determined as the first fault rule. It is not necessary to match the parameters related to the first relay with all the fault rules stored in the alarm rule configuration table, thereby improving the matching efficiency and further improving the efficiency of static fault diagnosis.
[0045] In one embodiment, the device data includes switching data; the extraction of the first relay-related parameters and electrical-related parameters of the turnout switch machine from the device data in step 103 above can be achieved in the following way: Extract the state of the positioning relay and the state of the reverse position relay from the switch data; when the state of the positioning relay and the state of the reverse position relay are both zero, and the duration of the duration of the state of the positioning relay and the state of the reverse position relay being zero is greater than a first preset duration, and the time difference between any two adjacent switch data in a preset number of switch data is less than a second preset duration, extract the first relay related parameters and electrical related parameters of the turnout switch machine from the equipment data.
[0046] For example, the state of the positioning relay DBJ and the state of the reversing relay FBJ are extracted from the switch data. When both the state of DBJ and the state of FBJ are 0, it indicates that the turnout switch machine is neither in the positioning nor the reversing position and is in an abnormal out-of-position state. It is further determined whether the duration of the DBJ and FBJ states being 0 exceeds the first preset duration (e.g., 5s). If the duration of the DBJ and FBJ states being 0 exceeds the first preset duration, it is further verified whether the time difference between each two adjacent switch data in the preset number of switch data is less than the second preset duration. Taking the preset number of times as 6 and the second preset duration as 5s as an example, if it is determined that the time difference between each two adjacent switch data in the 6 switch data is less than 5s, it is determined that the turnout switch machine has a static fault. At this time, the first relay related parameters and electrical related parameters of the turnout switch machine are extracted from the equipment data.
[0047] It should be noted that when the status of DBJ and FBJ are not 0, it indicates that the turnout switch machine is not in an abnormal out-of-range state, and no further fault diagnosis will be performed at this time.
[0048] In this embodiment, when the state of both the positioning relay and the reverse positioning relay are zero, and the duration of the zero state of both the positioning relay and the reverse positioning relay is greater than a first preset duration, and the time difference between any two adjacent switch data in a preset number of switch data is less than a second preset duration, the relevant parameters of the first relay and the electrical parameters of the turnout switch machine are extracted from the equipment data. Then, the specific static fault type is determined based on the relevant parameters of the first relay and the electrical parameters, avoiding the judgment of the static fault type when no static fault has occurred, and further improving the efficiency of fault diagnosis.
[0049] In one embodiment, Figure 2 This is a second flowchart illustrating the fault diagnosis method for a turnout switch machine provided in this embodiment of the invention. Figure 2 As shown, after step 102 above, the fault diagnosis method for this turnout switch machine further includes the following steps: Step 107: If the target operation type is an action type, extract the second relay related parameters and electrical related curve parameters from the device data.
[0050] Among them, the electrical correlation curve parameters can include voltage correlation curve parameters composed of voltage at different times or current correlation curve parameters composed of current at different times, etc.
[0051] For example, when the target operation type is determined to be an action type, information related to the action type is extracted from the equipment data. Specifically, it may include the second relay related parameters and the electrical related curve parameters. Taking the turnout switch machine fixed operation failure as an example, the second relay related parameters may include the state of DCJ, the state of 1DQJF and the state of BHJ, etc., and the electrical related curve parameters include the A phase current, the B phase current and the C phase current.
[0052] Step 108: When it is determined that there is a second fault rule in the alarm rule configuration table that matches the relevant parameters of the second relay, determine the second fault scenario code corresponding to the second fault rule.
[0053] For example, taking a turnout switch machine's scheduled operation fault as an example, the second fault rule for the turnout switch machine's scheduled operation fault scenario stored in the alarm rule configuration table is: 1) DCJ is in the energized state, 2) 1DQJF is in the energized state, 3) BHJ is in the energized state and then drops, or BHJ is not in the energized state. Then, the states of DCJ, 1DQJF, and BHJ extracted from the equipment data are judged. If it is determined that DCJ is in the energized state, 1DQJF is in the energized state, BHJ is in the energized state and then drops, or BHJ is not in the energized state, then it is determined that there is a second fault rule in the alarm rule configuration table that matches the relevant parameters of the second relay. Therefore, the second fault scenario code corresponding to the second fault rule is searched in the alarm rule configuration table.
[0054] Step 109: If a second parameter rule corresponding to the second fault scenario code is found in the alarm rule parameter configuration table, the electrical correlation curve parameter is matched with the second parameter rule.
[0055] For example, the alarm rule parameter configuration table stores the correspondence between fault scenario codes and parameter rules. Therefore, when a second fault scenario code is obtained, the alarm rule parameter configuration table can be searched to see if a corresponding second parameter rule exists. If no corresponding second parameter rule is found, it means the fault scenario corresponding to the second fault scenario code only needs to be determined based on the relevant parameters of the second relay to determine the action fault type. In this case, the second fault scenario code is directly output, and this code is used to characterize the action fault type of the turnout switch machine. If a corresponding second parameter rule is found in the alarm rule parameter configuration table, it means the fault scenario corresponding to the second fault scenario code needs to be determined based on the relevant parameters of the second relay and the electrical correlation curve parameters to determine the action fault type. Therefore, the electrical correlation curve parameters are further matched with the second parameter rule. Taking the turnout switch machine's scheduled operation failure as an example, the second parameter rule for the turnout switch machine's scheduled operation failure scenario stored in the alarm rule parameter configuration table is: during the time period from when 1DQJF is in the energized state to when 1DQJF is de-energized, determine that the A-phase current is <0.3A, the B-phase current is >1.2A, and the C-phase current is >1.2A.
[0056] It should be noted that in the correspondence between fault scenario codes and parameter rules, one fault scenario code can correspond to one parameter rule or multiple parameter rules. The specific settings need to be based on the fault scenario. When there are multiple corresponding parameter rules for the second fault scenario code stored in the alarm rule parameter configuration table, there will also be multiple second parameter rules corresponding to the second fault scenario code. This invention does not limit this.
[0057] Step 110: If the electrical correlation curve parameters are determined to match the second parameter rules, output the second fault scenario code. The second fault scenario code is used to characterize the action fault type of the turnout switch machine.
[0058] For example, the A-phase current, B-phase current, and C-phase current extracted from the equipment data are judged. If the A-phase current is <0.3A, the B-phase current is >1.2A, and the C-phase current is >1.2A during the time period from when 1DQJF is in the energized state to when 1DQJF is de-energized, then it is determined that the electrical correlation curve parameters match the second parameter rule. At this time, the second fault scenario code is output. The second fault scenario code is used to characterize the static fault type of the turnout switch machine.
[0059] In this embodiment, when the target operation type is dynamic, the second relay-related parameters and electrical correlation curve parameters of the turnout switch machine are extracted from the equipment data. When it is determined that there is a second fault rule in the alarm rule configuration table that matches the second relay-related parameters, the second fault scenario code corresponding to the second fault rule is determined. When the second parameter rule corresponding to the second fault scenario code is found in the alarm rule parameter configuration table, and the electrical correlation curve parameters match the second parameter rule, the second fault scenario code used to characterize the dynamic fault type of the turnout switch machine is output, thereby realizing the automatic operation fault diagnosis of the turnout switch machine.
[0060] In one embodiment, determining in step 108 that a second fault rule matching the parameters of the second relay exists in the alarm rule configuration table can be achieved in the following way: The alarm rule configuration table is searched for a second target fault rule corresponding to the target type, the target operation type, and the target wiring system; if the second relay related parameters match the second target fault rule, the second target fault rule is determined as the second fault rule.
[0061] For example, the alarm rule configuration table pre-stores the correspondence between the type, operation type, wiring system, fault scenario code, and fault rule of the switch machine. When the target type, target wiring system, and target operation type of the turnout switch machine are extracted from the equipment data, the target operation type is the action type. The second target fault rule corresponding to the target type, target wiring system, and target operation type can be found in the alarm rule configuration table. The relevant parameters of the second relay are matched with the second target fault rule, without needing to match the relevant parameters of the second relay with all the fault rules stored in the alarm rule configuration table. When the relevant parameters of the second relay match the second target fault rule, it means that the second target fault rule is the second fault rule in the alarm rule configuration table that matches the relevant parameters of the second relay. Therefore, the second target fault rule is determined as the second fault rule.
[0062] In this embodiment, the second target fault rule corresponding to the target type, target operation type, and target wiring system is searched in the alarm rule configuration table. If the relevant parameters of the second relay match the second target fault rule, the second target fault rule is determined as the second fault rule. It is not necessary to match the relevant parameters of the second relay with all the fault rules stored in the alarm rule configuration table, thereby improving the matching efficiency and further improving the efficiency of action fault diagnosis.
[0063] In one embodiment, the extraction of the second relay-related parameters and electrical correlation curve parameters from the device data in step 107 above can be achieved in the following way: Extract the energizing duration of the permissible operating relay and the gap status of the turnout switch machine from the equipment data; if the target operation type is within the preset operation type range, determine the turnout operation direction based on the target operation type; if the energizing duration of the permissible operating relay is greater than or equal to the energizing duration threshold and the gap status does not match the turnout operation direction, extract the second relay related parameters and the electrical related curve parameters from the equipment data.
[0064] For example, the pull-up duration of the allowable operation relay YCJ of the turnout switch machine and the gap status of the turnout switch machine are extracted from the equipment data. Table 1 shows the correspondence between operation type, turnout direction, whether fault analysis is triggered, and supplementary explanation. When the target operation type is within the preset operation type range of 0x02 to 0x08, fault analysis is triggered. Based on the pre-stored correspondence between operation type and normal turnout direction of the turnout switch machine, the turnout direction of the turnout switch machine corresponding to the target operation type is determined. Taking a pull-up duration threshold of 10s as an example, if the pull-up duration of YCJ is greater than 10s and the gap status of the turnout switch machine does not match the turnout direction of the turnout switch machine, it indicates that the switching process of the turnout switch machine is blocked, and it is determined that the turnout switch machine has a fault. For example, if the obtained gap status is reversed and the turnout direction corresponding to the found target operation type is normalized, then the gap status of the turnout switch machine does not match the turnout direction of the turnout switch machine. At this point, the relevant parameters of the second relay and the electrical correlation curve parameters of the turnout switch machine are extracted from the equipment data.
[0065] Table 1 It should be noted that if the YCJ's lifting time is less than or equal to 10 seconds, or if the gap state of the turnout switch machine matches the turnout switch machine's operating direction, it indicates that the turnout switch machine has not experienced an operational fault, and no further fault diagnosis will be performed in this case.
[0066] In this embodiment, when the allowed operating relay's tethering duration is greater than or equal to the tethering duration threshold and the gap state does not match the operating direction, the relevant parameters of the second relay and the electrical correlation curve parameters are extracted from the equipment data. Then, based on the relevant parameters of the second relay and the electrical correlation curve parameters, the specific action fault type is determined, avoiding the judgment of the action fault type when no action fault has occurred, and further improving the efficiency of action fault diagnosis.
[0067] In one embodiment, the fault diagnosis method for the turnout switch machine further includes the following steps: If a static fault is determined to have occurred in the turnout switch machine, a first alarm message corresponding to the static fault is generated; if an operational fault is determined to have occurred in the turnout switch machine, a second alarm message corresponding to the operational fault is generated; the first alarm message and the second alarm message are stored, and the first alarm message and the second alarm message are sent to the turnout application terminal.
[0068] For example, when a static fault is determined to have occurred in a turnout switch machine, a first alarm message can be generated based on a first fault scenario code, or based on the first fault scenario code and the corresponding fault cause description. The first alarm message can also include the line number, station number, alarm level, and alarm status of the turnout switch machine. Specifically, when a static fault occurs, both the alarm level and alarm status can be set to 1, indicating that the turnout switch machine is currently in an alarm state with an alarm level of 1. If both the alarm level and alarm status are 0, the alarm is considered to have recovered. Finally, the first alarm message is stored in the corresponding log directory. For example, the first alarm message corresponding to a static fault can be stored in the log named "Switch_Rta + station number" under the directory ` / var / local / project / mss-app-bdms300`. Simultaneously, the first alarm message is sent to the turnout application terminal, facilitating maintenance personnel to trace the static fault that occurred in the turnout switch machine based on the logs.
[0069] When a fault is detected in the turnout switch machine, a second alarm message can be generated based on the second fault scenario code, or based on the fault cause description corresponding to the second fault scenario code. The second alarm message can also include the line number, station number, alarm level, and alarm status of the turnout switch machine. When a fault occurs, both the alarm level and alarm status can be set to 1, indicating that the turnout switch machine is currently in an alarm state with an alarm level of 1. If both the alarm level and alarm status are 0, the alarm is considered to have been resolved. Finally, the second alarm message is stored in the corresponding log directory. For example, the second alarm message corresponding to the fault can be stored in the log named "Switch_Ca + station number" under the directory ` / var / local / project / mss-app-bdms300`. Simultaneously, the second alarm message is sent to the turnout application terminal, facilitating maintenance personnel to trace the fault in the turnout switch machine based on the logs.
[0070] It should be noted that the fault diagnosis method for turnout switch machines provided by this invention can be adapted to different types of turnout switch machines. Fault rules and parameter rules corresponding to different types of turnout switch machines can be stored in the alarm rule configuration table and alarm rule parameter configuration table, respectively. For example, the type of turnout switch machine can be ZDJ9, ZD6, etc. It can focus on static and operational anomalies during the operation of the turnout switch machine. Through a closed-loop process of "data acquisition - rule parsing - dual-dimensional diagnosis (static and operational fault diagnosis) - alarm push," accurate fault identification and real-time feedback can be achieved, significantly improving the accuracy of turnout switch machine fault diagnosis, reducing manual inspection costs, and providing support for the stable operation of urban rail transit signaling systems. Furthermore, this invention can achieve both static and operational fault diagnosis, thereby improving the coverage of turnout switch machine diagnosis.
[0071] It should be noted that, in implementing the fault diagnosis method for turnout switch machines provided by this invention, it is necessary to complete the Kafka message queue access, IoTDB database deployment, and diagnostic module (static fault diagnosis / action fault diagnosis) architecture design, develop the data parsing handler, diagnostic logic code, and interface for pushing alarm information to the turnout application terminal; in addition, it is also possible to conduct scenario tests such as static table loss and action timeout to verify the accuracy of alarm information push and log integrity, so as to optimize the configuration of fault rules and parameter rules.
[0072] The fault diagnosis method for turnout switch machines provided by this invention improves the fault diagnosis accuracy to over 98%, covering core faults such as static table malfunction, action timeout, and gap anomalies, while reducing the false alarm rate by 60% (achieved through rule optimization and data verification). The log structure is clear (categorized by static type and action type), and alarm information directly reaches the turnout application end, reducing the fault investigation time for maintenance personnel by 50% and lowering new employee training costs by 40%. It is compatible with ZDJ9, ZD6, and other turnout switch machines, as well as L5, L6, and L8 track systems, supporting the fault diagnosis needs of turnout switch machines in multiple urban rail transit projects. It enables dynamic adaptation of fault scenario coding, fault rules, and parameter rules, and can also update the alarm rule configuration table and alarm rule parameter configuration table based on requirements, reducing the operational complexity for maintenance personnel by 30%.
[0073] The fault diagnosis device for a turnout switch machine provided by the present invention will be described below. The fault diagnosis device for the turnout switch machine described below can be referred to in correspondence with the fault diagnosis method for the turnout switch machine described above.
[0074] Figure 3 This is a schematic diagram of the fault diagnosis device for a turnout switch machine provided in an embodiment of the present invention, as shown below. Figure 3As shown, the fault diagnosis device 300 for the turnout switch machine includes an acquisition unit 301, a first extraction unit 302, a second extraction unit 303, a first determination unit 304, a search unit 305, and a first output unit 306; wherein: Acquisition unit 301 is used to acquire equipment data of the turnout switch machine; The first extraction unit 302 is used to extract the target operation type of the turnout switch machine from the equipment data; The second extraction unit 303 is used to extract the first relay-related parameters and electrical-related parameters of the turnout switch machine from the equipment data when the target operation type is static. The first determining unit 304 is used to determine the first fault scenario code corresponding to the first fault rule when a first fault rule matching the parameters of the first relay exists in the alarm rule configuration table. The alarm rule configuration table stores the correspondence between fault rules and fault scenario codes. The lookup unit 305 is used to look up the first parameter rule corresponding to the first fault scenario code in the alarm rule parameter configuration table. The alarm rule parameter configuration table stores the correspondence between fault scenario codes and parameter rules. The first output unit 306 is used to output the first fault scenario code when it is determined that the electrical related parameters match the first parameter rule. The first fault scenario code is used to characterize the static fault type of the turnout switch machine.
[0075] The fault diagnosis device for a turnout switch machine provided by this invention extracts the target operation type of the turnout switch machine from the equipment data of the turnout switch machine. When the target operation type is static, it extracts the first relay-related parameters and electrical-related parameters of the turnout switch machine from the equipment data. When it is determined that there is a first fault rule in the alarm rule configuration table that matches the first relay-related parameters, it determines the first fault scenario code corresponding to the first fault rule. It then searches for the first parameter rule corresponding to the first fault scenario code in the alarm rule parameter configuration table. When it is determined that the electrical-related parameters match the first parameter rule, it outputs the first fault scenario code used to characterize the static fault type of the turnout switch machine, thereby realizing automatic fault diagnosis of the turnout switch machine.
[0076] Based on any of the above embodiments, the alarm rule configuration table also stores the correspondence between the type of switch machine, operation type, wiring harness of the switch machine, and fault scenario code; the first determining unit 304 is specifically used for: Extract the target type and target track configuration of the turnout switch machine from the equipment data; Search the alarm rule configuration table for the first target fault rule corresponding to the target type, the target operation type, and the target line system; If the parameters related to the first relay match the first target fault rule, the first target fault rule is determined as the first fault rule.
[0077] The device data based on any of the above embodiments includes switch quantity data; the second extraction unit 303 is specifically used for: Extract the positional and reverse positions of the relay from the switch data; When the state of both the positioning relay and the reverse position relay is zero, and the duration of the state of both the positioning relay and the reverse position relay being zero is greater than a first preset duration, and the time difference between any two adjacent switch data in a preset number of switch data is less than a second preset duration, the first relay-related parameters and electrical-related parameters of the turnout switch machine are extracted from the equipment data.
[0078] Based on any of the above embodiments, the fault diagnosis device 300 for the turnout switching machine further includes: The third extraction unit is used to extract the second relay-related parameters and electrical-related curve parameters from the device data when the target operation type is an action type. The second determining unit is used to determine the second fault scenario code corresponding to the second fault rule when it is determined that there is a second fault rule in the alarm rule configuration table that matches the relevant parameters of the second relay; The matching unit is used to match the electrical correlation curve parameter with the second parameter rule when a second parameter rule corresponding to the second fault scenario code is found in the alarm rule parameter configuration table; The second output unit is used to output the second fault scenario code when it is determined that the electrical correlation curve parameters match the second parameter rules. The second fault scenario code is used to characterize the operation fault type of the turnout switch machine.
[0079] Based on any of the above embodiments, the second determining unit is specifically used for: Search the alarm rule configuration table for the second target fault rule corresponding to the target type, the target operation type, and the target line system; If the parameters related to the second relay match the second target fault rule, the second target fault rule will be determined as the second fault rule.
[0080] Based on any of the above embodiments, the third extraction unit is specifically used for: Extract the activation duration of the permitted operation relay of the turnout switch machine and the disconnection status of the turnout switch machine from the equipment data; When the target operation type is within a preset operation type range, the operation direction of the turnout switch machine is determined based on the target operation type; When the allowed operating relay's tethering duration is greater than or equal to the tethering duration threshold, and the gap state does not match the operating direction, the second relay-related parameters and the electrical correlation curve parameters are extracted from the equipment data.
[0081] Based on any of the above embodiments, the fault diagnosis device 300 for the turnout switching machine further includes: The first generation unit is used to generate a first alarm message corresponding to the static fault when it is determined that the turnout switch machine has a static fault. The second generation unit is used to generate a second alarm message corresponding to the operation fault when it is determined that the turnout switch machine has experienced an operation fault. A storage unit is used to store the first alarm information and the second alarm information; The sending unit is used to send the first alarm information and the second alarm information to the turnout application terminal.
[0082] Figure 4 This is a schematic diagram of the physical structure of the electronic device provided in the embodiments of the present invention, such as... Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430, and a communication bus 440, wherein the processor 410, the communication interface 420, and the memory 430 communicate with each other through the communication bus 440. The processor 410 can call logical instructions in the memory 430 to execute a fault diagnosis method for the turnout switch machine, the method including: acquiring equipment data of the turnout switch machine; Extract the target operation type of the turnout switch machine from the equipment data; When the target operation type is static, the first relay-related parameters and electrical-related parameters of the turnout switch machine are extracted from the equipment data; When it is determined that there is a first fault rule in the alarm rule configuration table that matches the parameters related to the first relay, the first fault scenario code corresponding to the first fault rule is determined. The alarm rule configuration table stores the correspondence between fault rules and fault scenario codes. The alarm rule parameter configuration table stores the correspondence between fault scenario codes and parameter rules. If the electrical parameters are determined to match the first parameter rule, the first fault scenario code is output, which is used to characterize the static fault type of the turnout switch machine.
[0083] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0084] On the other hand, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being able to be stored on a non-transitory computer-readable storage medium, the computer program being executed by a processor, the computer being able to execute the fault diagnosis method for the turnout switch machine provided by the above methods, the method including: acquiring equipment data of the turnout switch machine; Extract the target operation type of the turnout switch machine from the equipment data; When the target operation type is static, the first relay-related parameters and electrical-related parameters of the turnout switch machine are extracted from the equipment data; When it is determined that there is a first fault rule in the alarm rule configuration table that matches the parameters related to the first relay, the first fault scenario code corresponding to the first fault rule is determined. The alarm rule configuration table stores the correspondence between fault rules and fault scenario codes. The alarm rule parameter configuration table stores the correspondence between fault scenario codes and parameter rules. If the electrical parameters are determined to match the first parameter rule, the first fault scenario code is output, which is used to characterize the static fault type of the turnout switch machine.
[0085] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a fault diagnosis method for a turnout switch machine provided by the above methods, the method comprising: acquiring equipment data of the turnout switch machine; Extract the target operation type of the turnout switch machine from the equipment data; When the target operation type is static, the first relay-related parameters and electrical-related parameters of the turnout switch machine are extracted from the equipment data; When it is determined that there is a first fault rule in the alarm rule configuration table that matches the parameters related to the first relay, the first fault scenario code corresponding to the first fault rule is determined. The alarm rule configuration table stores the correspondence between fault rules and fault scenario codes. The alarm rule parameter configuration table stores the correspondence between fault scenario codes and parameter rules. If the electrical parameters are determined to match the first parameter rule, the first fault scenario code is output, which is used to characterize the static fault type of the turnout switch machine.
[0086] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0087] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0088] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A failure diagnosis method for a turnout switch machine, characterized by, The method comprises: obtaining device data of a switch machine; extracting a target operation type of the switch machine from the device data; in the case where the target operation type is a static type, extracting a first relay related parameter and an electrical related parameter of the switch machine from the device data; in the case where it is determined that there is a first fault rule matching the first relay related parameter in an alarm rule configuration table, determining a first fault scene code corresponding to the first fault rule, the alarm rule configuration table storing a corresponding relationship between fault rules and fault scene codes; finding a first parameter rule corresponding to the first fault scene code in an alarm rule parameter configuration table, the alarm rule parameter configuration table storing a corresponding relationship between fault scene codes and parameter rules; in the case where it is determined that the electrical related parameter matches the first parameter rule, outputting the first fault scene code, the first fault scene code being used to represent a static fault type of the switch machine.
2. The method of diagnosing a failure of a switch machine according to claim 1, characterized by, The alarm rule configuration table further stores a corresponding relationship between a type of the switch machine, an operation type, a line system of the switch machine, and a fault scene code; The determination that there is a first fault rule matching the first relay related parameter in the alarm rule configuration table comprises: extracting a target type and a target line system of the switch machine from the device data; finding a first target fault rule corresponding to the target type, the target operation type, and the target line system in the alarm rule configuration table; in the case where the first relay related parameter matches the first target fault rule, determining the first target fault rule as the first fault rule.
3. The method of diagnosing a failure of a switch machine according to claim 1, wherein The device data comprises switch quantity data; The extraction of the first relay related parameter and the electrical related parameter of the switch machine from the device data comprises: extracting a state of a position indicating relay and a state of an inverse position indicating relay from the switch quantity data; in the case where the state of the position indicating relay and the state of the inverse position indicating relay are both zero, a duration for which the state of the position indicating relay and the state of the inverse position indicating relay are both zero is greater than a first preset duration, and a time difference corresponding to each adjacent two pieces of switch quantity data in a preset number of pieces of switch quantity data is less than a second preset duration, extracting the first relay related parameter and the electrical related parameter of the switch machine from the device data.
4. The method of diagnosing a failure of a switch machine according to claim 2, characterized by, The method further comprises: in the case where the target operation type is a dynamic type, extracting a second relay related parameter and an electrical related curve parameter from the device data; in the case where it is determined that there is a second fault rule matching the second relay related parameter in the alarm rule configuration table, determining a second fault scene code corresponding to the second fault rule; in the case where a second parameter rule corresponding to the second fault scene code is found in the alarm rule parameter configuration table, matching the electrical related curve parameter with the second parameter rule; in a case where it is determined that the electric-related curve parameter matches the second parameter rule, outputting the second fault scene code, the second fault scene code being used to represent a type of action fault of the switch machine.
5. The method of diagnosing a failure of a switch machine according to claim 4, characterized by, The determining that the second fault rule matching the second relay-related parameter exists in the alarm rule configuration table comprises: finding, in the alarm rule configuration table, a second target fault rule corresponding to the target type, the target operation type, and the target line system; in a case where the second relay-related parameter matches the second target fault rule, determining the second target fault rule as the second fault rule.
6. The method of diagnosing a failure of a switch machine according to claim 4, wherein The extracting the second relay-related parameter and the electric-related curve parameter from the device data comprises: extracting, from the device data, a pull-up time length of an allowed operation relay of the switch machine and a gap state of the switch machine; in a case where the target operation type is within a preset operation type range, determining a switch operation direction of the switch machine based on the target operation type; in a case where the pull-up time length of the allowed operation relay is greater than or equal to a pull-up time length threshold and the gap state does not match the switch operation direction, extracting the second relay-related parameter and the electric-related curve parameter from the device data.
7. The method for diagnosing a failure of a switch machine according to any one of claims 1 to 6, characterized in that, The method further comprises: in a case where it is determined that the switch machine has a static fault, generating first alarm information corresponding to the static fault; in a case where it is determined that the switch machine has an action fault, generating second alarm information corresponding to the action fault; storing the first alarm information and the second alarm information, and sending the first alarm information and the second alarm information to a switch application end.
8. A failure diagnosing device for a switch machine, characterized by comprising: a switch machine failure diagnosing device according to any one of claims 1 to 7. comprise: an acquisition unit, configured to acquire device data of a switch machine; a first extraction unit, configured to extract a target operation type of the switch machine from the device data; a second extraction unit, configured to extract, in a case where the target operation type is a static type, a first relay-related parameter and an electric-related parameter of the switch machine from the device data; a first determination unit, configured to, in a case where it is determined that a first fault rule matching the first relay-related parameter exists in an alarm rule configuration table, determine a first fault scene code corresponding to the first fault rule, the alarm rule configuration table storing a correspondence between fault rules and fault scene codes; a finding unit, configured to find, in an alarm rule parameter configuration table, a first parameter rule corresponding to the first fault scene code, the alarm rule parameter configuration table storing a correspondence between fault scene codes and parameter rules; a first output unit, configured to, in a case where it is determined that the electric-related parameter matches the first parameter rule, output the first fault scene code, the first fault scene code being used to represent a type of static fault of the switch machine.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and running on the processor, characterized in that, The processor implements the fault diagnosis method of the switch machine according to any one of claims 1 to 7 when executing the computer program. The processor implements the fault diagnosis method of the switch machine according to any one of claims 1 to 7 when executing the computer program.
10. A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by a processor, implements the fault diagnosis method of the turnout switch machine according to any one of claims 1 to 7.