Railway signal relay contact state judging circuit

By designing a circuit for judging the contact status of railway signal relays, and using optocouplers and relays in conjunction with AND gates and NOR gates for automated detection, the problem of low testing efficiency and insufficient accuracy caused by the variety of railway signal relay models is solved, and efficient and accurate contact status judgment is achieved.

CN116804699BActive Publication Date: 2026-05-05SHENYANG RAILWAY SIGNAL +1
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENYANG RAILWAY SIGNAL
Filing Date
2023-02-28
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

There are many types of railway signal relays with varying contact locations. Existing testing methods require frequent socket replacements, resulting in low testing efficiency and insufficient accuracy due to reliance on visual observation.

Method used

A circuit for judging the contact status of railway signal relays was designed, including a relay socket, an isolation input module, a status setting module, and a status acquisition and judgment module. The circuit uses optocouplers and relays in conjunction with AND gates and NOR gates to detect the contact status, thereby achieving automation and improving accuracy.

Benefits of technology

This improves the accuracy and testing efficiency of relay contact status detection, solving the problems of low efficiency and insufficient accuracy in existing technologies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116804699B_ABST
    Figure CN116804699B_ABST
Patent Text Reader

Abstract

This invention relates to a circuit for determining the contact status of a railway signal relay, belonging to the field of relay technology. It includes a relay socket, an isolation input module, a status setting module, and a status acquisition and judgment module. The relay socket is connected to both the isolation input module and the status setting module. The isolation input module is connected to the status setting module and is responsible for isolating and converting the pin levels of the relay under test. The status setting module is connected to the status acquisition and judgment module and is responsible for setting the status of the relay under test. Simultaneously, it outputs a corresponding signal to the status acquisition and judgment module based on the signal from the isolation input module. The status acquisition and judgment module receives the signal from the status setting module and determines the contact status of the relay under test based on this signal. This invention uses AND gates and NOR gates to detect the relay contact status, making relay contact status detection more convenient and accurate, and improving the accuracy of contact status judgment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of relay technology, and specifically to a circuit for determining the contact status of a railway signal relay. Background Technology

[0002] Railway signal relays come in a wide variety of models, with varying contact locations. When using a stopwatch to test the relay's pull-in time, release time, and return time, the relay contacts need to be connected in series and parallel as required to determine their state before testing the relay's timing characteristics. Because there are many models of railway signal relays, different relay sockets need to be fabricated to connect different relay contacts, resulting in numerous and disorganized sockets. This necessitates selecting and replacing sockets during testing, impacting efficiency. Furthermore, current methods for inspecting the relay contact state primarily rely on visual observation, which lacks accuracy due to factors such as lighting, human eye sensitivity, and reaction time. Summary of the Invention

[0003] To address the shortcomings of the existing technology, this invention proposes a railway signal relay contact status judgment circuit.

[0004] The technical solution of the invention is as follows:

[0005] A railway signal relay contact status judgment circuit includes a relay socket, an isolation input module, a status setting module, and a status acquisition and judgment module. The relay socket is used to mount and fix the relay under test. The pins of the relay socket are connected to the corresponding input pins of the isolation input module and the status setting module, respectively. The output pins of the isolation input module are connected to the corresponding pins of the status setting module, and the isolation input module is responsible for isolating and converting the voltage levels of each pin of the relay under test. The output pins of the status setting module are connected to the corresponding input pins of the status acquisition and judgment module, and the status setting module is responsible for setting the status of the relay under test and outputting a corresponding signal to the status acquisition and judgment module based on the signal from the isolation input module. The status acquisition and judgment module receives the signal from the status setting module and judges the contact status of the relay under test based on the signal.

[0006] Furthermore, the isolation input module includes six optocouplers, TP3 to TP8. The cathodes of the photodiodes of the six optocouplers are connected to the pins with the same numbers as the relay sockets. The collectors of the phototransistors of the six optocouplers are connected to the power supply, and the emitters are connected to the corresponding pins of the status setting module.

[0007] Furthermore, the status setting module includes 36 relays from JQ1 to JQ36; the normally open contacts of 12 relays from JQ1 to JQ12 are connected to the pins with the same numbers as the relay sockets, and the moving contacts are grounded; the normally open contacts of 12 relays from JQ13 to JQ24 are connected to the emitters of the phototransistors of 6 optocouplers from TP3 to TP8, the normally closed contacts are connected to the power supply, and the moving contacts are connected to the corresponding pins of the status acquisition and judgment module; the normally open contacts of 12 relays from JQ25 to JQ36 are connected to the emitters of the phototransistors of 6 optocouplers from TP3 to TP8, and the moving contacts are connected to the corresponding pins of the status acquisition and judgment module.

[0008] Furthermore, the state acquisition and judgment module includes nine AND gates (U1 to U6 and U10 to U12) and three NOR gates (U7 to U9); the moving contacts of the twelve relays (JQ13 to JQ24) are connected to the corresponding input pins of the AND gates (U1 to U3) in the state acquisition and judgment module; the output pins of the AND gates (U1 to U3) are connected to the corresponding input pins of the AND gates (U4 and U5); the output pins of the AND gates (U4 and U5) are connected to the corresponding input pins of the AND gates (U5 and U6); and the output pin of U6 is connected to the input pins of the remaining AND gates in U6. The output pin of the AND gate serves as the first output terminal GZZ; the moving contacts of the 12 relays from JQ25 to JQ36 are connected to the corresponding input pins of the NOR gates of the state acquisition and judgment modules U7 to U9; the output pins of the NOR gates of U7 to U9 are connected to the corresponding input pins of the AND gates of U10 and U11; the output pins of the AND gates of U11 and U12 are connected to the corresponding input pins of U11 and U12; the output pin of U12 is connected to the input pins of the remaining AND gates in U12; and the output pins of the remaining AND gates in U12 serve as the second output terminal SFZ.

[0009] Furthermore, the excitation coils of the 36 relays JQ1 to JQ36 in the status setting module are connected to anti-parallel freewheeling diodes.

[0010] Furthermore, the input terminals of the nine AND gates U1 to U6 and U10 to U12, and the three NOR gates U7 to U9 in the status acquisition and judgment module are grounded through pull-down resistors.

[0011] Furthermore, the 36 relays JQ1 to JQ36 in the status setting module are model DS2Y-S-DC24.

[0012] Furthermore, the nine AND gates U1 to U6 and U10 to U12 in the state acquisition and judgment module are model 74LS08, and the three NOR gates U7 to U9 are model 74LS02.

[0013] Compared with the prior art, the present invention has the following advantages:

[0014] The railway signal relay contact status judgment circuit involved in this invention solves the technical problems of relay contact status observation error and low testing efficiency caused by visual observation by acquiring optocoupler and relay isolation and acquiring relay contact signals, and performing relay contact status detection by the cooperation of AND gate and NOR gate. This makes the relay contact detection process more convenient and accurate, and improves the accuracy of contact status judgment. Attached Figure Description

[0015] Figure 1 This is a schematic diagram of the relay socket of the present invention;

[0016] Figure 2 This is a schematic diagram showing the corresponding connection relationship between the input pins of the optocoupler and the pins of the relay socket in the isolated input module of the present invention;

[0017] Figure 3 This is a schematic diagram showing the corresponding connection relationship between each relay and relay socket in the status setting module, the isolation input module, and each pin in the status acquisition and judgment module of the present invention;

[0018] Figure 4 This is a schematic diagram showing the correspondence between the AND gates and NOR gates in the state acquisition and judgment module of the present invention and the pins in the state setting module. Detailed Implementation

[0019] The technical solution of the present invention will now be described in detail with reference to the accompanying drawings. In the description of this application, it should be understood that, unless otherwise explicitly stated, the terms "installation," "placement," "setting," "connection," and "fixing," etc., should be interpreted broadly and may be understood as fixed connection or detachable connection, etc., depending on the specific technical solution in which they are applied. Those skilled in the art can understand the specific meaning of the above terms based on the specific circumstances involved in the technical solution.

[0020] Figures 1 to 4 The diagram shows a railway signal relay contact status judgment circuit. This circuit includes a relay socket for mounting the relay under test, an isolation input module, a status setting module, and a status acquisition and judgment module. The relay socket is used to mount and fix the relay under test. A railway signal relay socket has a maximum of eight sets of contacts, each set consisting of one normally open contact, one normally closed contact, and one moving contact. Figure 1 Taking the 7th group of contacts in the relay socket shown as an example, the number 7 before contacts 72, 71, and 73 represents the 7th group of contacts. The suffix 1 indicates a moving contact, 2 indicates a normally open contact, and 3 indicates a normally closed contact. Similarly, in contacts 82, 81, and 83, 82 is a normally open contact, 81 is a moving contact, and 83 is a normally closed contact. There are many models of railway signal relays, but the contact distribution is always within the above 8 groups of contacts.

[0021] The pins of the relay socket are connected to the corresponding numbered input pins of the isolation input module and the status setting module, respectively. The output pins of the isolation input module are connected to the corresponding numbered pins of the status setting module. The isolation input module is responsible for isolating and level-shifting the pin levels of the relay under test. The output pins of the status setting module are connected to the corresponding input pins of the status acquisition and judgment module. The status setting module is responsible for setting the status of the relay under test and outputting corresponding signals to the status acquisition and judgment module based on the signals from the isolation input module. The status acquisition and judgment module receives the signals from the status setting module and determines the contact status of the relay under test based on these signals.

[0022] In the above technical solution, the isolated input module includes six 4-channel optocouplers (TP521-4, TP3 to TP8). The anodes of the photodiodes in the six optocouplers (TP3 to TP8) are connected to the power supply via current-limiting resistors and light-emitting diodes, while the cathodes are connected to the pins with the same labels on the relay sockets. The collectors of the phototransistors in the six optocouplers (TP3 to TP8) are connected to the power supply, and the emitters are connected to the corresponding pins of the status setting module.

[0023] In this technical solution, the status setting module includes 36 relays of model DS2Y-S-DC24, numbered JQ1 to JQ36. ​​To ensure reliable operation of the relay coils, anti-parallel freewheeling diodes are connected to the excitation coils of the relays. The moving contacts of 12 relays, numbered JQ1 to JQ12, are grounded, and their normally open contacts are connected to the pins with the same labels on the relay sockets. The normally open contacts of 24 relays, numbered JQ13 to JQ36, are connected to the emitters of the phototransistors of 6 optocouplers, numbered TP3 to TP8, with the same labels. Their normally closed contacts are connected to the power supply, and their moving contacts are connected to the corresponding pins with the same labels on the status acquisition and judgment module.

[0024] The status acquisition and judgment module includes nine 74LS08 AND gates (U1 to U6 and U10 to U12) and three 74LS02 NOR gates (U7 to U9). The power supply and ground pins of each AND and NOR gate chip are connected to the power supply and ground, respectively. All used input pins, except those connected to their respective input signals, are connected to ground using pull-down resistors. Unused input pins are connected to the power supply using pull-up resistors. The moving contacts of the twelve relays (JQ13 to JQ24) are connected to the corresponding labeled input pins of the AND gates (U1 to U3) in the status acquisition and judgment module. The output pins of the AND gates (U1 to U3) are connected to the corresponding labeled input pins of the AND gates (U4 and U5). The output pins of the AND gates (U4 and U5) are connected to the corresponding labeled input pins of the AND gates (U5 and U6). The output pins of the AND gates U4 and U5 are connected to the corresponding input pins of U5 and U6. This should be understood as follows: for example, the output pins Z-1, Z-2, Z-3, and Z-4 of U4 are connected to the input pins labeled Z-1, Z-2, Z-3, and Z-4 of U5; the output pins labeled Z-5 and Z-6 of U5 are connected to the input pins labeled Z-5 and Z-6 of U6; the output pins labeled Z-11 and Z-21 of U5 are connected to the input pins labeled Z11 and Z-21 of U6; and finally, the outputs of the two used AND gates in U6 are connected to the input of another AND gate. The output of this AND gate is used as the first output terminal GZZ. The level value of the GZZ pin is used as the basis for determining whether all normally open contacts of the relay are closed.

[0025] If we consider the high level output of the first output terminal GZZ as "1" and the low level output as "0", then the output state of the first output terminal GZZ is actually the logical AND relationship of the input signals of the three AND gates U1 to U3 in the state acquisition and judgment module, which is as follows:

[0026] GZZ = Z31·(Z-11)·(Z-21)

[0027] In the above formula,

[0028] Z31=(Z-5)·(Z-6); Z-11=(Z-1)·(Z-2); Z-21=(Z-3)·(Z-4); Z-1=Z1·Z2;

[0029] Z-2=Z3·Z4; Z-3=Z5·Z6; Z-4=Z7·Z8; Z-5=Z9·Z10; Z-6=Z11·Z12;

[0030] In the above formula:

[0031] Z1=T72·T82; Z2=T71·T81; Z3=T73·T83; Z4=T52·T62;

[0032] Z5=T51·T61; Z6=T53·T63; Z7=T32·T42; Z8=T31·T41;

[0033] Z9=T33·T43; Z10=T12·T22; Z11=T11·T21; Z12=T13·T23;

[0034] Therefore, GZZ = Z31·(Z-11)·(Z-21) can be written as the logical AND relationship of the input signals of the three AND gates U1 to U3 in the state acquisition and judgment module as follows:

[0035] GZZ = Z31·(Z-11)·(Z-21)

[0036] =T72·T82·T71·T81·T73·T83·T52·T62·T51·T61·T53·T63·T32·T42·T31·T41·T33·T43·T12·T22·T11·T21·T13·T23

[0037] In the above formula, the inputs of the three AND gates U1 to U3 reflect the energizing state of the normally open contact of the relay under test. Therefore, the high and low levels of GZZ can reflect whether the normally open contact of the relay under test has been successfully energized.

[0038] Similar to the connection method between JQ13 to JQ24 and the state acquisition and judgment module, the moving contacts of the 12 relays from JQ25 to JQ36 are connected to the corresponding labeled input pins of the NOR gates of the state acquisition and judgment module U7 to U9. The output pins of the NOR gates of U7 to U9 are connected to the corresponding labeled input pins of the AND gates of U10 and U11. The output pins of the AND gates of U11 and U12 are connected to the corresponding labeled input pins of U11 and U12. The output pins of the two AND gates of U12 are connected to the input pin of the remaining AND gate in U12. The output pin of the remaining AND gate in U12 serves as the second output terminal SFZ. The level value of the SFZ pin is used as the basis for determining whether all normally open contacts of the relays are open. The derivation of the logical relationship between SFZ and the three NOR gate inputs of U7 to U9 can be performed in the same way as the derivation of the logical relationship between GZZ and the three AND gate input signals of U1 to U3, which will not be elaborated on here. Ultimately, the logical relationship between whether each normally open contact of the relay is successfully opened and SFZ is as follows: when all normally open contacts are open, SFZ outputs a high level; otherwise, it outputs a low level.

[0039] To facilitate understanding by those skilled in the art, the description of the 7th and 8th groups of contacts of the relay under test being engaged and disengaged is used as an example. The other groups of contacts of the relay under test are operated in the same manner as the 7th and 8th groups.

[0040] Taking the 7th and 8th groups of contacts of the relay as an example, relays JQ13 to JQ15 set the T72, T82, etc., input to the state acquisition and judgment module to a high level through normally closed contacts. U1 to U6 are all logic AND gates. Since all inputs are at a high level, the initial state of the judgment circuit output GZZ is high.

[0041] When testing whether all normally open contacts of relays 72 and 82 under test are closed, onboard relay JQ2 sets contacts 71 and 81 of the relays under test to a low level. However, inputs T71 and T81 in the subsequent judgment circuit remain unchanged. Then, onboard relay JQ13 connects 72' and 82' to the status acquisition and judgment module. Since 5GND is not connected to relays 72 and 82 under test (i.e., not connected to a low level), 72' and 82' are not high level, but are pulled down to a low level by R15 and R16 on U1. At this time, the first output terminal GZZ of U6 is low level. When the relays under test are energized, 71 and 72 are in contact, and 81 and 82 are in contact. Both 72 and 82 are set to a low level. At this time, the corresponding optocouplers are turned on, and the inputs T72 and T82 of the status acquisition and judgment module are set to a high level. The first output terminal GZZ outputs a high level to the external control unit, which serves as the basis for the complete energization of all normally open contacts of the relays under test. Similarly, to test if all normally closed contacts are closed, pins 71 and 81 of the relay under test must be set to low level. Then, pins 73' and 83' should be connected to the status acquisition and judgment module via JQ15, with the logic being the same as for normally open contacts. If the relay model changes, positions 72 and 82 of the relay socket will be empty, positions 71 and 81 will be used as normally open contacts, and positions 73 and 83 will be used as moving contacts. Following the above description, setting the moving contact to low level, closing JQ3, connecting the normally closed contact to the judgment circuit, and closing JQ14 will achieve the judgment of whether all normally open or normally closed contacts are closed. For other relay models, the judgment can be performed through an external control unit, following the principle of grounding the moving contact and connecting the normally closed contact to the status acquisition and judgment module.

[0042] When the relay is tested for its release value, it needs to be determined that all normally open contacts are open. The above-mentioned judgment circuit obviously cannot meet the requirements. When even one contact is open, the output GZZ of the judgment circuit will change. Therefore, U7-U12 is introduced as the judgment circuit for determining that all normally open contacts are open. U7-U9 use NOR logic gates. Initially, all the inputs of the logic gate circuits are connected to pull-down resistors and set to low level, so all the NOR gate outputs are high level. Then, all the outputs are connected to the subsequent AND gates U10-U12, so the second output terminal SFZ is high level. Taking contacts 7 and 8 as an example, when determining whether 72 and 82 are disconnected from 71 and 81, the moving contacts 71 and 81 of the relay under test are set to low level via onboard relay JQ2. However, T71' and T81' input to the subsequent judgment circuit will not change. Then, 72' and 82' are connected to the judgment circuit via onboard relay JQ25. Since the relays under test 72 and 82 are already connected to 5GND via 71 and 81, the label in JQ25 is... The normally open contacts of relays 72' and 82' are at a high level, so the output of the NOR gate to the subsequent AND gate is at a low level. Therefore, the second output terminal SFZ outputs a low level. Furthermore, as long as any normally open contact is connected to 5GND, the second output terminal SFZ remains low. Therefore, when all normally open contacts are open, all inputs of the NOR gate are pulled to ground by pull-down resistors, resulting in a low level. The outputs of the NOR gate to the subsequent AND gate are all high, and the second output terminal SFZ changes from low to high. When the relay model changes, such as the moving contacts becoming 73 and 83, and the normally open contacts becoming 71 and 81, then, under the premise of following the above signal input / output rules and logic rules, the corresponding relay can be controlled by an external control unit.

Claims

1. A circuit for determining the contact status of a railway signal relay, characterized in that: It includes a relay socket, an isolation input module, a status setting module, and a status acquisition and judgment module; The relay socket is used to install and fix the relay under test. The pins of the relay socket are connected to the corresponding input pins of the isolation input module and the status setting module, respectively. The output pins of the isolation input module are connected to the corresponding pins of the status setting module. The isolation input module is responsible for isolating and converting the pin levels of the relay under test. The output pins of the state setting module are connected to the corresponding input pins of the state acquisition and judgment module. The state setting module is responsible for setting the state of the relay under test, and at the same time, it outputs a corresponding signal to the state acquisition and judgment module according to the signal of the isolation input module. The status acquisition and judgment module receives the signal from the status setting module and judges the status of the relay contact under test based on the signal. The isolated input module includes six optocouplers, TP3 to TP8, and the cathodes of the photodiodes of the six optocouplers, TP3 to TP8, are respectively connected to the pins with the same numbers as the relay socket. The collectors of the phototransistors of the six optocouplers TP3 to TP8 are connected to the power supply, and the emitters are connected to the corresponding pins of the status setting module. The status setting module includes 36 relays, JQ1 to JQ36; The normally open contacts of the 12 relays JQ1 to JQ12 are connected to the pins with the same number as the relay socket, and the moving contacts are grounded. The normally open contacts of the 12 relays JQ13 to JQ24 are connected to the emitters of the phototransistors of the 6 optocouplers TP3 to TP8, respectively. The normally closed contacts are connected to the power supply, and the moving contacts are connected to the corresponding pins of the status acquisition and judgment module. The normally open contacts of the 12 relays from JQ25 to JQ36 are connected to the emitters of the phototransistors of the 6 optocouplers from TP3 to TP8, and the moving contacts are connected to the corresponding pins of the status acquisition and judgment module. The state acquisition and judgment module includes nine AND gates (U1 to U6, U10 to U12) and three NOR gates (U7 to U9). The moving contacts of the 12 relays JQ13 to JQ24 are connected to the corresponding input pins of the AND gates of the state acquisition and judgment modules U1 to U3. The output pins of the AND gates of U1 to U3 are connected to the corresponding input pins of the AND gates of U4 and U5. The output pins of the AND gates of U4 and U5 are connected to the corresponding input pins of U5 and U6. The output pin of U6 is connected to the input pins of the remaining AND gates in U6. The output pins of the remaining AND gates in U6 serve as the first output terminal GZZ. The moving contacts of the 12 relays JQ25 to JQ36 are connected to the corresponding input pins of the NOR gates of the state acquisition and judgment modules U7 to U9. The output pins of the NOR gates of U7 to U9 are connected to the corresponding input pins of the AND gates of U10 and U11. The output pins of the AND gates of U11 and U12 are connected to the corresponding input pins of U11 and U12. The output pin of U12 is connected to the input pins of the remaining AND gates in U12. The output pins of the remaining AND gates in U12 are used as the second output terminal SFZ. The input terminals of the nine AND gates U1 to U6 and U10 to U12, and the three NOR gates U7 to U9 in the state acquisition and judgment module are grounded through pull-down resistors.

2. The railway signal relay contact state judgment circuit as described in claim 1, characterized in that: The excitation coils of the 36 relays JQ1 to JQ36 in the state setting module are connected to anti-parallel freewheeling diodes.

3. The railway signal relay contact state judgment circuit as described in claim 2, characterized in that: The 36 relays JQ1 to JQ36 in the status setting module are model DS2Y-S-DC24.

4. The railway signal relay contact state judgment circuit as described in claim 3, characterized in that: The nine AND gates U1 to U6 and U10 to U12 in the state acquisition and judgment module are model 74LS08, and the three NOR gates U7 to U9 are model 74LS02.

Citation Information

Patent Citations

  • Fault detection circuit of relay and relay with the same

    CN106990353A

  • Digital quantity signal acquisition circuit

    CN208299783U

  • Complex parameter detector for railway signal relay

    CN2275282Y