Switching value signal acquisition system

By designing a switching signal acquisition system including a controller module, acquisition circuit and relay, the problem of acquisition errors in the prior art is solved and higher reliability and accuracy are achieved.

CN120044826APending Publication Date: 2025-05-27BEIJING RAILWAY SIGNAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311595859.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-27
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

In the prior art, when collecting the switching signal during train operation, it is difficult to accurately determine whether the signal is real input or signal loss and flip caused by circuit failure, resulting in acquisition errors.

Method used

A switching signal acquisition system including a controller module, N acquisition circuits and N relays is designed. The controller module generates a control signal, the acquisition circuit generates a driving signal and performs self-testing and processing. The relay changes the state according to the switching quantity signal and generates a reply signal. The acquisition circuit performs a reply through the backtesting signal, and finally makes a judgment through multiple criteria to determine the switching quantity signal.

Benefits of technology

Through the judgment of multiple criteria, the reliability of the acquisition system is improved, and the switching quantity signal can be accurately determined to avoid acquisition errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120044826A_ABST
    Figure CN120044826A_ABST
Patent Text Reader

Abstract

The invention provides a switching value signal acquisition system, after a controller module in the acquisition system generates a control signal, an acquisition circuit generates a driving signal according to the control signal, and on one hand, the acquisition circuit generates a first criterion after performing self-inspection on the driving signal; and on the other hand, the acquisition circuit performs re-inspection on the relay to generate a second criterion, after the acquisition circuit sends the first criterion and the second criterion to the controller module, the controller module judges the acquired criterion, and the state of the relay represents the switching value signal due to the fact that the state of the relay changes according to the switching value signal. And the second criterion is obtained according to the processed driving signal and the recheck signal generated by the state of the relay, so that the state of the relay can be determined by judging the first criterion and the second criterion, the switching value signal is represented, and the reliability of the acquisition system is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic technology, and more particularly, to a system for collecting digital quantity signals. Background Art

[0002] With the rapid development of the railway industry, the running speed of trains is getting faster and faster, and at the same time, the safety level requirements are also getting higher and higher; the safe operation guarantee of high-speed trains depends on highly reliable on-vehicle equipment, such as the commonly used shunting and train control equipment LKJ2000; or the Automatic Train Operation (ATO) system. The automatic train control subsystem controls the train by collecting various state information of the train operation; or the Automatic Train Protection (ATP) system. The train safety protection equipment is also a safe on-vehicle equipment that needs to monitor the train operation state. Taking the train control equipment as an example, during the train operation, in order to achieve safe and automatic control of the vehicle operation, a highly reliable acquisition circuit must be used to accurately read external information, and judgments and controls are made based on the real-time collected train state information. Therefore, the guarantee of train operation reliability depends to a large extent on the reliability degree of the acquisition circuit of the on-vehicle equipment.

[0003] When the train is running without faults, most of the vehicle state information, such as important vehicle operation state information like the operation handle moving forward, backward, neutral, braking, traction, cab state, grounding, overcurrent alarm, etc., is output in the form of digital quantity signals through on-vehicle relays; the digital quantity signal is a continuous signal with only two states, namely on and off, which can also be understood as "1" and "0" of the digital signal, used to represent the binary state in the system. In the on-vehicle system, it is often used to characterize whether a certain device of the train is in a certain state. For example, whether the handle is in the forward state ("1" represents that the handle is in the forward position, "0" represents that the handle is not in the forward position). When the acquisition circuit acquires the handle state, it will be converted into acquiring whether the digital signal state is "1" or "0"; the digital quantity signal output by the on-vehicle equipment relay is a kind of signal that basically remains unchanged for a long time. For the acquisition and reading of such signals, the previous acquisition circuits may not be able to determine whether it is a problem with the signal input or a problem with the circuit acquisition path when a fault occurs because they acquire static signals. In addition, the biggest problem is that even if the acquired signal is flipped, a single input path cannot determine whether it is the real input that is flipped or the input signal is lost due to a circuit fault and then flipped, resulting in incorrect acquisition.

[0004] Therefore, there is an urgent need for a highly reliable system for collecting digital quantity signals to ensure that on-vehicle equipment can accurately collect digital quantity signals in real time. Summary of the Invention

[0005] In view of this, to solve the above problems, the present invention provides a system for collecting digital signals, and the technical solution is as follows:

[0006] A system for collecting digital signals, the system for collecting digital signals comprising:

[0007] A controller module, N acquisition circuits, and N relays; where N≥1 and N is an integer;

[0008] The controller module is used to generate a control signal and judge the collected criteria to determine the digital signal;

[0009] The acquisition circuit is used to generate a drive signal according to the control signal, perform self-check on the drive signal, and then generate a first criterion and send it to the controller module; process the drive signal according to the signal input rule of the relay connected thereto, and send the processed drive signal to the relay connected thereto; and, perform a back-check on the state of the relay connected thereto according to the back-check signal output by the relay connected thereto, and generate a second criterion and send it to the controller module;

[0010] The relay is used to change its own state according to the digital signal, and generate the back-check signal according to the received processed drive signal and its own state for the corresponding acquisition circuit to perform back-check.

[0011] Compared with the prior art, the beneficial effects achieved by the present invention are:

[0012] The present invention provides a system for collecting digital signals. The collection system includes a controller module, N acquisition circuits, and N relays, where N≥1 and N is an integer. After the controller module generates a control signal, the acquisition circuit generates a drive signal according to the control signal. And, on the one hand, the acquisition circuit performs self-check on the drive signal and generates a first criterion. On the other hand, the acquisition circuit processes the drive signal according to the signal input rule of the relay connected thereto, and sends the processed drive signal to the relay connected thereto. The relay generates a back-check signal according to the received processed drive signal and its own state. The acquisition circuit performs back-check according to the back-check signal and generates a second criterion. After the acquisition circuit sends the first criterion and the second criterion to the controller module, the controller module judges the collected criteria. Since the relay changes its own state according to the digital signal, the state of the relay represents the digital signal. And since the second criterion is obtained from the back-check signal generated according to the processed drive signal and the self-state of the relay, by judging the first criterion and the second criterion, the digital signal can be determined. The collection system uses multiple criteria for judgment, so the reliability is higher. Description of the Drawings

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to the provided drawings.

[0014] Figure 1 It is a partial structural schematic diagram of an existing structure for collecting digital signals;

[0015] Figure 2 It is a partial structural schematic diagram of another existing structure for collecting digital signals;

[0016] Figure 3 It is a structural schematic diagram of an existing relay;

[0017] Figure 4 It is a structural schematic diagram of a digital signal acquisition system provided by an embodiment of the present invention;

[0018] Figure 5 It is a structural schematic diagram of a controller module provided by an embodiment of the present invention;

[0019] Figure 6 It is a structural schematic diagram of a collection circuit provided by an embodiment of the present invention;

[0020] Figure 7 It is a structural schematic diagram of a drive signal generation circuit provided by an embodiment of the present invention;

[0021] Figure 8 It is a structural schematic diagram of the current flow direction of a drive signal generation circuit provided by an embodiment of the present invention;

[0022] Figure 9 It is a structural schematic diagram of the current flow direction of another drive signal generation circuit provided by an embodiment of the present invention;

[0023] Figure 10 It is a structural schematic diagram of a self-checking circuit provided by an embodiment of the present invention;

[0024] Figure 11 It is a schematic diagram of a feedback checking circuit provided by an embodiment of the present invention;

[0025] Figure 12 It is a structural schematic diagram of a relay provided by an embodiment of the present invention;

[0026] Figure 13 It is a structural schematic diagram of a feedback checking circuit provided by an embodiment of the present invention. Detailed implementation manners

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0028] Based on the content in the background art, refer to Figure 1 , Figure 1 which is a partial structural schematic diagram of an existing structure for collecting digital input signals; refer to Figure 2 , Figure 2 which is a partial structural schematic diagram of another existing structure for collecting digital input signals; The existing methods for collecting digital input signals are roughly divided into two types. One is as shown in Figure 1 , where the first digital input signal P is directly introduced into the first acquisition circuit 11, and the value of the first digital input signal P is directly obtained by using a comparison device or an optocoupler type switching device; Another structure is as shown in Figure 2 , where the first relay 12 is used to connect the second acquisition circuit 13 to collect the digital input signal p, but the circuit structures of these two acquisition methods are single.

[0029] For the two existing solutions, because the acquisition circuit does not have a composite judgment logic, a separate control module is not required, and the result obtained by the acquisition circuit can be directly sent to the superior device or circuit. However, precisely because the circuit structure is single and lacks a multi-stage judgment logic, most of the digital input signals collected are still continuously unchanged signals. Therefore, when the acquisition circuit has a problem, even if the digital input signal obtained by the acquisition changes, such as from "0" to "1", or from "1" to "0", the superior device or circuit cannot distinguish whether the result is correct or not.

[0030] When the train control system uses this type of acquisition circuit to collect important signals, a redundant method of using multiple acquisition circuits to simultaneously collect a digital input signal is usually adopted to ensure the safety and reliability of the acquisition circuit. However, in fact, this accumulation method cannot fundamentally solve the problems of circuit reliability and availability in the safety level assessment of on-vehicle equipment.

[0031] In the prior art, the relay controls the lifting and falling of the relay reed through whether there is an excitation drive signal at the excitation end. Refer to Figure 3 , Figure 3It is a schematic structural diagram of an existing relay; the rear node 1 and rear node 2 of the relay are respectively the two input terminals of the relay; the middle node of the relay is the first stage of the output terminal of the relay, and the front node of the relay is the other stage of the output terminal of the relay; when the digital signal to be collected is "0", the excitation signal is also "0", or the excitation signal is not connected. At this time, a set of reeds in the relay, Figure 3 the middle reed 1 and reed 2, due to their own weight, are in a fallen state. The rear node 1 of the relay is connected to the middle node, and the rear node 2 is connected to the front node; when the digital signal to be collected is "1", the excitation signal is also "1" or the excitation signal is connected. After the excitation terminal of the relay is energized, an excitation magnetic field is generated, sucking up all the reeds in the relay, Figure 3 reed 1 and reed 2. The rear node 1 of the relay is connected to the front node, and the rear node 2 is connected to the middle node. Generally, the excitation signal at the excitation terminal of the relay can be the digital signal to be collected, or a drive signal logically controlled by the digital signal to be collected. Therefore, collecting the digital signal can be converted into collecting the state of the relay.

[0032] Based on this, the present invention provides a digital signal acquisition system. The acquisition system includes a controller module, N acquisition circuits, and N relays, where N≥1 and N is an integer. After the controller module generates a control signal, the acquisition circuit generates a drive signal according to the control signal. And on the one hand, the acquisition circuit generates a first criterion after self-checking the drive signal. On the other hand, the acquisition circuit processes the drive signal according to the signal input rule of the relay it is connected to, and sends the processed drive signal to the relay it is connected to. The relay generates a feedback signal through the received processed drive signal and its own state. The acquisition circuit performs a feedback check according to the feedback signal and generates a second criterion. After the acquisition circuit sends the first criterion and the second criterion to the controller module, the controller module judges the acquired criteria. Since the relay changes its own state according to the digital signal, the state of the relay represents the digital signal. And since the second criterion is obtained from the feedback signal generated by the processed drive signal and the relay's own state, by judging the first criterion and the second criterion, the digital signal can be determined. The acquisition system uses multiple criteria for judgment, so the reliability is higher.

[0033] To make the above objects, features, and advantages of the present invention more obvious and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0034] Refer to Figure 4 , Figure 4 It is a schematic structural diagram of a digital signal acquisition system provided by an embodiment of the present invention; the digital signal acquisition system includes:

[0035] A controller module 01, N acquisition circuits 02, and N relays 03; where N≥1 and N is an integer.

[0036] The controller module 01 is used to generate control signals and judge the acquired criteria to determine digital signals.

[0037] The acquisition circuit 02 is used to generate drive signals according to the control signals, perform self-check on the drive signals, and then generate the first criterion and send it to the controller module 01; process the drive signals according to the signal input rules of the relay 03 connected thereto, and send the processed drive signals to the relay 03 connected thereto; and perform a feedback check on the state of the relay connected thereto according to the feedback signal output by the relay 03 connected thereto, and generate the second criterion and send it to the controller module 01.

[0038] The relay 03 is used to change its own state according to the digital signal, and generate a feedback signal according to the received processed drive signal and its own state for the corresponding acquisition circuit 02 to perform a feedback check.

[0039] Specifically, the controller module 01 can be connected to N acquisition circuits 02. N can be 1, 3, 4, 6, etc. Each acquisition circuit 02 is connected to a relay 03. That is to say, the controller module 01 can cooperate with multiple acquisition circuits 02 to acquire the states of multiple relays 03.

[0040] The relay 03 can be an existing electromagnetic relay. The excitation signal input to the excitation terminal of the relay 03 is the digital signal to be detected. When the digital signal is input, a set of reeds in the relay 03 will be attracted and dropped according to the digital signal, thereby representing the digital signal to be acquired.

[0041] The controller module 01 can generate control signals actively or passively. For example, when a component outside the acquisition circuit wants to acquire a digital signal, it can communicate and interact with the controller module 01, input a control instruction to the controller module 01, and the controller module 01 generates a control signal; or the controller module 01 generates a control signal actively.

[0042] After the controller module 01 generates a control signal, the acquisition circuit 02 generates a drive signal according to the control signal. And on the one hand, after the acquisition circuit 02 performs self-check on the drive signal, it generates a first criterion. On the other hand, according to the signal input rule of the relay 03 connected to itself, the acquisition circuit 02 processes the drive signal and sends the processed drive signal to the relay 03 connected to itself. The relay 03 generates a feedback signal based on the received processed drive signal and its own state. The acquisition circuit 02 performs feedback inspection according to the feedback signal and generates a second criterion. After the acquisition circuit 02 sends the first criterion and the second criterion to the controller module 01, the controller module 01 judges the acquired criteria. Since the relay 03 changes its own state according to the digital signal, the state of the relay 03 represents the digital signal. And since the second criterion is obtained from the feedback signal generated based on the processed drive signal and the own state of the relay 03, by judging the acquired criteria, the state of the relay 03 can be determined, so as to determine the digital signal. This acquisition system uses multiple criteria for judgment, so the reliability is higher.

[0043] Optionally, in one example, refer to Figure 5 , Figure 5 which is a schematic structural diagram of a controller module provided by an embodiment of the present invention; the controller module includes: a control unit 04 and a judgment unit 05.

[0044] One end of the control unit 04 receives a control signal, and the other end is connected to the judgment unit 05, and transmits the control signal to the judgment unit 05 as a third criterion; the two input ends of the judgment unit respectively receive the two criteria of the acquisition circuit.

[0045] Optionally, in one example, the controller module further includes:

[0046] a communication unit 06; the communication end of the communication unit 06 is connected to a component outside the acquisition system for communication; the output end of the communication unit 06 is connected to the control unit 04 to transmit a control signal to the control unit 04; the input end of the communication unit 06 is connected to the output end of the judgment unit 05 to receive the acquired digital signal.

[0047] Specifically, the controller module 01 is mainly software-designed, including the communication logic, control logic and judgment logic in the system; when a component outside the acquisition system wants to know the digital signal, it will communicate with the controller module 01, including transmitting control instructions and receiving acquisition results, etc.; the components outside the acquisition system include external devices, external circuits, systems, etc.; the components outside the acquisition system communicate with the communication module and output control instructions, and the communication end of the communication unit 06 in the controller module 01 will receive the control instructions and transmit the control signal to the connected control unit 04.

[0048] An output terminal of the control unit 04 is connected to the acquisition circuit 02. One end of the connection between the control unit 04 and the acquisition circuit 02 is the output terminal of the controller module 01, and the control signal is transmitted therefrom to the acquisition circuit 02. The acquisition circuit 02 acquires the digital quantity signal through the control signal. Another output terminal of the control unit 04 is connected to the judgment unit 05 and transmits a control signal to the judgment unit 05 as the third criterion, which facilitates the analysis of the working state of the acquisition circuit 02 by the judgment unit 06. For example, it can judge which parts of the acquisition circuit 02 are working, etc.

[0049] Two input terminals of the judgment unit 05 respectively receive the first criterion and the second criterion acquired by the acquisition circuit 02 and make judgments to determine the state of the relay, and further determine the digital quantity signal. The output terminal of the judgment unit 05 is connected to the input terminal of the communication unit 06. The judgment unit 05 transmits the acquired result after judgment to the communication unit 06, and the communication unit 06 transmits the acquired result from the communication end to the components outside the acquisition system, so that the components outside the acquisition system can know the digital quantity signal.

[0050] It should be noted that the design of the communication unit 06 needs to be combined with the communication protocol of the components outside the acquisition system. For example, a bus protocol such as CAN, RS422, etc., or an Ethernet communication method can be adopted, and there is no specific limitation. The communication unit 06 is the communication logic of the controller module 01. The criterion acquired by the acquisition circuit 02 needs to be input into the judgment unit 04 for judgment to obtain the acquired result, that is, the digital quantity signal. Therefore, the communication unit 06 is used to transmit the acquired result to the components outside the acquisition system.

[0051] It should also be noted that the judgment logic of the judgment unit 06 needs to be designed in combination with the acquisition circuit 02. The judgment unit 05 is the judgment logic of the controller module 01. The judgment unit 05 needs to make a combined judgment on the first criterion and the second criterion fed back by the acquisition circuit 02 and the third criterion transmitted by the control unit 04 to obtain the acquired result, including the reed of the relay falling, the reed of the relay sucking up, or a circuit fault, and send the acquired result to the communication unit 06 for external output.

[0052] When working, the control unit 04 transmits a control signal, that is, an acquisition instruction (or switch control), to the acquisition circuit 02. The input terminal of the acquisition circuit 02 is connected to the output terminal of the control unit 04 and receives the control signal.

[0053] In addition, the control unit 04 can also perform self-checking of all circuits when the acquisition system is initially started. The control unit 04 actively (sends a control signal) or passively (controlled by the control signal of the communication unit 07) initiates a signal acquisition, drives the subsequent acquisition circuit 02 to perform a signal acquisition, and makes a judgment through the judgment unit 05 to check whether there are any bad points or faulty parts in the acquisition circuit 02. When they occur, they are reported in a timely manner, which can avoid affecting the operation of the normal part.

[0054] The controller module 01 is the core of communication and logic control, responsible for collecting and processing signals from other part modules, and performing data communication and interaction with components outside the acquisition circuit to achieve circuit control and functions.

[0055] Optionally, in one example, refer to Figure 6 , Figure 6 which is a schematic structural diagram of an acquisition circuit provided by an embodiment of the present invention; the acquisition circuit includes: a drive signal generation circuit 07, a self-check circuit 08, and a feedback check circuit 09.

[0056] The input end of the drive signal generation circuit 07 receives a control signal; the output end of the drive signal generation circuit 04 is respectively connected to the input end of the self-check circuit 08 and the drive input end of the feedback check circuit 09, and outputs a drive signal generated according to the control signal.

[0057] The output end of the self-check circuit 08 is connected to an input end of the controller module; the self-check circuit 08 is used to generate a first criterion after self-checking according to the drive signal and send it to the controller module.

[0058] The feedback check circuit 09 processes the drive signal according to the signal input rule of the relay 03 connected thereto to obtain a processed drive signal. The drive output end of the feedback check circuit 09 is connected to the input end of the relay 03, and outputs the processed drive signal; the acquisition input end of the feedback check circuit 09 is connected to the output end of the relay 03 to receive the feedback check signal output by the relay 03, perform a feedback check, and generate a second criterion and send it to the controller module.

[0059] Specifically, the input end of the drive signal generation circuit 07 receives the control signal output by the control module 04, and then transmits the control signal to the self-checking circuit 08 and the feedback checking circuit 09 respectively. The self-checking circuit 08 performs self-checking on the drive signal to generate a first criterion, and then transmits the first criterion to the judgment unit 05 in the controller module; after receiving the drive signal, the feedback checking circuit 09 processes the drive signal according to the signal input rule of the relay 03 connected thereto. The processed drive signal performs feedback checking on the relay 03 to obtain a feedback checking signal, and inputs the feedback checking signal into the acquisition input end of the feedback checking circuit 09. The feedback checking circuit 09 generates a second criterion based on the feedback checking signal; then transmits the second criterion to the judgment unit 05 in the controller module, and the judgment unit 05 judges the received criterion to obtain the state of the relay 03, thereby representing the digital signal.

[0060] Optionally, in one example, referring to Figure 7 , Figure 7 is a schematic structural diagram of a drive signal generation circuit provided by an embodiment of the present invention; the drive signal generation circuit includes:

[0061] A first optocoupler V1, a first triode Q1, a second triode Q2, a third triode Q5, a first field effect transistor Q4, and a second field effect transistor Q3.

[0062] The negative electrode of the input end of the first optocoupler V1 receives the control signal; the positive electrode of the input end of the first optocoupler V1 is connected to the first power supply VDD through a corresponding current limiting resistor.

[0063] The positive electrode of the output end of the first optocoupler V1 is connected to the second power supply through two series-connected voltage dividing resistors, and the connection point of the two voltage dividing resistors is connected to the base of the second triode Q2; the positive electrode of the output end of the first optocoupler V1 is connected to the gate of the first field effect transistor Q4, and is also connected to the base of the third triode Q5 through a corresponding current limiting resistor.

[0064] The emitters of the first triode Q1 and the second triode Q2 are respectively connected to the second power supply through corresponding load resistors.

[0065] The collector of the second triode Q2 is connected to the drain of the first field effect transistor Q4, and the connection point serves as one pole of the output end of the drive signal generation circuit.

[0066] The base of the first triode Q1 is connected to the second power supply through a corresponding voltage dividing resistor, and is also connected to the gate of the second field effect transistor Q3 and the collector of the third triode Q5 through two other series-connected voltage dividing resistors, and the connection point of the two voltage dividing resistors is connected to the collector of the second triode Q2.

[0067] The collector of the first triode Q1 is connected to the drain of the second field effect transistor Q3, and the connection point serves as the other pole of the output terminal of the drive signal generation circuit.

[0068] A resistor is connected between the emitter and the collector of the third triode Q5.

[0069] The negative pole of the output terminal of the first optocoupler V1, the source of the first field effect transistor Q4, the source of the second field effect transistor Q3, and the emitter of the third triode Q5 are respectively grounded.

[0070] Specifically, Figure 7 Pin 1 of the first optocoupler V1 is the positive pole of the input terminal, pin 2 is the negative pole of the input terminal, pin 3 is the negative pole of the output terminal, and pin 4 is the positive pole of the output terminal. The negative pole of the input terminal receives the control signal. That is to say, the negative pole of the input terminal is the input terminal of the acquisition circuit.

[0071] The positive pole of the input terminal of the first optocoupler V1 is connected to the first power supply VDD through a corresponding current-limiting resistor, which is R1. R1 is used to protect the positive pole of the input terminal of the first optocoupler V1; the positive pole of the output terminal of the first optocoupler V1 is connected to the second power supply VCC through two series-connected voltage-dividing resistors. The second power supply VCC is the circuit power supply. The two series-connected voltage-dividing resistors are R7 and R2 respectively. R7 and R2 provide a driving voltage for the base of the second triode Q2; the positive pole of the output terminal of the first optocoupler V1 is also connected to the base of the third triode Q5 through a corresponding current-limiting resistor, which is R9. R9 is used to protect the base of the third triode Q5 and at the same time connect to the second power supply VCC to provide a driving voltage for the third triode Q5; the emitter of the first triode Q1 is connected to the second power supply VCC through a corresponding load resistor, which is R4. R4 protects the collector of the first triode Q1 and at the same time connects to the second power supply VCC to provide a collector current; the emitter of the second triode Q2 is connected to the second power supply VCC through a corresponding load resistor, which is R3. R3 protects the collector of the second triode Q2 and at the same time connects to the second power supply VCC to provide a collector current; the base of the first triode Q1 is connected to the second power supply VCC through a corresponding voltage-dividing resistor, which is R5; the base of the first triode Q1 is also connected to the gate of the second field effect transistor Q3 and the collector of the third triode Q5 through two other series-connected voltage-dividing resistors. These two series-connected voltage-dividing resistors are R6 and R8 respectively. A resistor R10 is connected between the emitter and the collector of the third triode Q5. After voltage division by R5, R6, R8, and R10, a conduction driving voltage is provided for the first triode Q1 at the upper end of R6, and a conduction driving voltage is provided for the second field effect transistor Q3 at the upper end of R10. When the third triode Q5 conducts, it will short-circuit R10, resulting in the driving voltage at the gate of the second field effect transistor Q3 becoming 0.

[0072] Among them, the collector of the second triode Q2 is connected to the drain of the first field effect transistor Q4, and the connection point serves as one pole of the output terminal of the drive signal generation circuit. The collector of the first triode Q1 is connected to the drain of the second field effect transistor Q3, and the connection point serves as the other pole of the output terminal of the drive signal generation circuit.

[0073] In this circuit, the input control signal can be a periodic control signal, that is, a high-level signal and a low-level signal are alternately generated. This drive signal generation circuit will generate a pair of dynamic reverse differential signals, namely drive signals, at the same moment according to the control signal. This pair of differential signals will be output from the output terminal of the drive signal generation circuit. The first triode Q1, the second triode Q2, the first field effect transistor Q4, and the second field effect transistor Q3 are respectively turned on in the case of a high-level signal or a low-level signal, providing a current flow path for the differential signals. It should be noted that different from the conventional dynamic drive circuit, this circuit can realize bidirectional drive of signals.

[0074] Next, the differential signals output in two different cases of the control signal being a low-level signal and a high-level signal will be described.

[0075] Refer to Figure 8 , Figure 8 which is a schematic structural diagram of the current flow of a drive signal generation circuit provided by an embodiment of the present invention; when the control signal is a low-level signal, the first optocoupler V1 is in a conducting state, and the upper end potential of the voltage-dividing resistor R9 is low. At this time, the second triode Q2 and the second field effect transistor Q3 are turned on, and the third triode Q5 and the first field effect transistor Q4 are turned off. The voltage of the second power supply VCC passes through the load resistor R3 and is output from the collector of the second triode Q2. At this time, A is a positive signal and B is a negative signal in a pair of differential signals. At this time, the differential voltage value is consistent with the voltage of the second power supply VCC.

[0076] Refer to Figure 9 , Figure 9 which is another schematic structural diagram of the current flow of a drive signal generation circuit provided by an embodiment of the present invention; when the control signal is a high-level signal, the first optocoupler V1 is in a cut-off state, and the upper end potential of the voltage-dividing resistor R9 is high. At this time, the first triode Q1, the first field effect transistor Q4, and the third triode Q5 are turned on, and the second triode Q2 and the second field effect transistor Q3 are turned off. The voltage of the second power supply VCC passes through the load resistor R4 and is output from the collector of the first triode Q1. At this time, A is a negative signal and B is a positive signal in a pair of differential signals.

[0077] The generated differential signals are the drive signals. One pole of the output terminal of the drive signal generation circuit outputs the A signal, and the other pole outputs the B signal. This drive signal will be respectively input to the self-checking circuit for self-checking and enter the feedback checking circuit for feedback checking.

[0078] Optionally, in one example, referring to Figure 10 , Figure 10 is a schematic structural diagram of a self-checking circuit provided by an embodiment of the present invention; the self-checking circuit includes:

[0079] A second optocoupler V2 and a third optocoupler V3.

[0080] The positive input terminal of the second optocoupler V2 is connected to the negative input terminal of the third optocoupler V3, and the connection point is connected to one pole of the output terminal of the drive signal generation circuit through a corresponding current-limiting resistor.

[0081] The negative input terminal of the second optocoupler V2 is connected to the positive input terminal of the third optocoupler V3, and the connection point is connected to the other pole of the output terminal of the drive signal generation circuit through a corresponding current-limiting resistor.

[0082] The positive output terminals of the second optocoupler V2 and the third optocoupler V3 are respectively connected to the third power supply VDD through corresponding pull-up resistors.

[0083] The positive output terminals of the second optocoupler V2 and the third optocoupler V3 respectively serve as two poles of the output terminal of the self-checking circuit.

[0084] The negative output terminals of the second optocoupler V2 and the third optocoupler V3 are grounded.

[0085] Specifically, the second optocoupler V2 and the third optocoupler V3 play a role in isolation and signal transformation; Figure 10 For the optocoupler, pin 1 is the positive input terminal, pin 2 is the negative input terminal, pin 3 is the negative output terminal, and pin 4 is the positive output terminal. The second optocoupler V2 and the third optocoupler V3 are the same. The output terminal of the self-checking circuit outputs a first criterion, the first criterion includes AB and BA, one pole of the output terminal of the self-checking circuit outputs AB, and the other pole of the output terminal of the self-checking circuit outputs BA.

[0086] The positive electrode of the input end of the second optocoupler V2 is connected to the negative electrode of the input end of the third optocoupler V3. The connection point is connected to one pole of the output end of the drive signal generation circuit through a corresponding current-limiting resistor, and this current-limiting resistor includes R12 and R13 connected in parallel; the negative electrode of the input end of the second optocoupler V2 is connected to the positive electrode of the input end of the third optocoupler V3. The connection point is connected to the other pole of the output end of the drive signal generation circuit through a corresponding current-limiting resistor, and this current-limiting resistor includes R15 and R16 connected in parallel; R12, R13, R15, and R16 are used to protect the input ends of the second optocoupler V2 and the third optocoupler V3 while providing a path; the positive electrode of the output end of the second optocoupler V2 is connected to the third power supply VDD through a corresponding pull-up resistor, and this pull-up resistor is R11. The positive electrode of the output end of the third optocoupler V3 is connected to the third power supply VDD through a corresponding pull-up resistor, and this pull-up resistor is R14; R11 and R14 connect AB and BA to the third power supply VDD to ensure that the signals AB and BA are default high levels.

[0087] The input end of the drive signal input self-checking circuit. One stage of the input end of the self-checking circuit receives the A signal, and the other stage of the input end of the self-checking circuit receives the B signal. When A is a positive signal and B is a negative signal, the second optocoupler V2 conducts, and the third optocoupler V3 cuts off. The corresponding input end of the second optocoupler V2 conducts, and the input end of the third optocoupler V3 cuts off. At this time, AB is pulled low, and BA remains high. Therefore, the first criterion AB output by the self-checking circuit is 0, and BA is 1; when A is a negative signal and B is a positive signal, the second optocoupler V2 cuts off, the third optocoupler V3 conducts, and the first criterion AB output by the self-checking circuit is 1, and BA is 0.

[0088] The self-checking circuit collects 0 and 1 of the drive signal and reduces the voltage and current parameters of the drive signal to ensure that the drive signal can be recognized by the controller module and will not damage the controller module, and transmits the collected first criterion to the controller module. It should be noted that there is also the same design in the feedback checking circuit to help the feedback checking circuit collect the feedback signal returned from the relay. Similarly, it is necessary to reduce the voltage and current parameters of the signal, extract the 0 and 1 parameters of the signal, and provide the second criterion for the controller module. The self-checking circuit transmits the output first criterion to the judgment unit of the controller module to judge the state of the relay, so as to obtain the collection result.

[0089] Optionally, in one example, refer to Figure 11 , Figure 11 which is a schematic diagram of a feedback checking circuit provided by an embodiment of the present invention. The feedback checking circuit includes:

[0090] A buffer protection circuit 10 and a criterion collection circuit 11.

[0091] The buffer protection circuit 10 is used to process the drive signal to obtain the processed drive signal.

[0092] The criterion acquisition circuit 11 is used to generate a second criterion based on the feedback signal and send it to the controller module.

[0093] Specifically, the buffer protection circuit 10 is mainly a circuit that plays a buffering and protection role; the criterion acquisition circuit 11 mainly generates a second criterion based on the feedback signal. It should be noted that the buffer protection circuit 10 does not have a fixed design and needs to be adjusted according to the usage scenario and changes in components outside the acquisition circuit.

[0094] Optionally, in one example, the buffer protection circuit 11 includes:

[0095] A line driver, which is used to process the drive signal according to the signal input rule of the relay 03 connected to itself and transmit the processed drive signal to the relay 03.

[0096] Specifically, the circuit of the line driver needs to be adjusted according to the signal input rule of the relay 03. That is to say, when the relay specifications are different, the circuit of the line driver will change. The line driver adjusts the drive signal, such as adjusting the electrical parameters of the drive signal, including voltage, current magnitude, etc., in order to adapt to the relay and prevent damage and excessive consumption of the subsequent device to be collected, that is, to prevent damage and excessive consumption of the relay; if there is no relay in the subsequent circuit, a relay needs to be added to the circuit for isolated acquisition.

[0097] Optionally, in one example, the buffer protection circuit further includes:

[0098] An electromagnetic protection circuit and a relay protection circuit.

[0099] Specifically, the electromagnetic protection circuit needs to evaluate the complexity of the electromagnetic environment used. For example, if it is used as an acquisition circuit of a subsystem inside a vehicle-mounted cabinet, this part of the design can be appropriately reduced; if it is used as a separate acquisition device, additional protection circuits need to be added to take into account disturbances such as radio frequency fields and electrical fast transient bursts; the relay protection circuit is used to protect the relay 03 to prevent damage.

[0100] The line driver in the feedback circuit transmits the processed drive signal to the relay 03. The switch quantity signal Q to be collected is input as the excitation signal to the excitation terminal of the relay 03, and the self-state of the relay 03 changes, that is, the reed a and the reed b will be attracted or dropped according to the switch quantity signal. Refer to Figure 12 , Figure 12Schematic diagram of the structure of a relay provided by an embodiment of the present invention; two input terminals of the relay 03 receive the processed drive signals, that is, the processed A signal and B signal. The feedback circuit does not change the logic of the drive signal output. That is to say, the logic signal input to the relay 03 remains unchanged. The relay 03 outputs the feedback signals R_A and R_B from two output terminals according to the drive signal and its own state. The feedback signals will be input to the criterion acquisition circuit for criterion acquisition.

[0101] Optionally, in one example, refer to Figure 13 , Figure 13 Schematic diagram of the structure of a feedback circuit provided by an embodiment of the present invention; the criterion acquisition circuit includes:

[0102] The fourth optocoupler V4 and the fifth optocoupler V5.

[0103] The positive input terminal of the fourth optocoupler V4 is connected to the negative input terminal of the fifth optocoupler V5, and the connection point is connected to one pole of the output terminal of the relay through a corresponding current-limiting resistor.

[0104] The negative input terminal of the fourth optocoupler V4 is connected to the positive input terminal of the fifth optocoupler V5, and the connection point is connected to the other pole of the output terminal of the relay through a corresponding current-limiting resistor.

[0105] The positive output terminals of the fourth optocoupler V4 and the fifth optocoupler V5 are respectively connected to the fourth power supply through corresponding pull-up resistors.

[0106] The positive output terminals of the fourth optocoupler V4 and the fifth optocoupler V5 are respectively used as the two poles of the output terminal of the feedback circuit.

[0107] The negative output terminals of the fourth optocoupler V4 and the fifth optocoupler V5 are grounded.

[0108] Specifically, the fourth optocoupler V4 and the fifth optocoupler V5 play the roles of isolation and signal transformation; Figure 13 For the optocoupler, pin 1 is the positive input terminal, pin 2 is the negative input terminal, pin 3 is the negative output terminal, and pin 4 is the positive output terminal. The fourth optocoupler V4 and the fifth optocoupler V5 are the same.

[0109] The two input terminals of the judgment acquisition circuit receive the feedback signals R_A and R_B, the output terminal of the criterion acquisition circuit outputs the second criterion, the second criterion includes R_AB and R_BA, one pole of the output terminal of the criterion acquisition circuit outputs R_AB, and the other pole of the output terminal of the criterion acquisition circuit outputs R_BA.

[0110] The positive terminal of the input end of the fourth optocoupler V4 is connected to the negative terminal of the input end of the fifth optocoupler V5. The connection point is connected to one pole of the output end of the drive signal generating circuit through a corresponding current-limiting resistor. This current-limiting resistor includes R18 and R19 connected in parallel; the negative terminal of the input end of the fourth optocoupler V4 is connected to the positive terminal of the input end of the fifth optocoupler V5. The connection point is connected to the other pole of the output end of the drive signal generating circuit through a corresponding current-limiting resistor. This current-limiting resistor includes R21 and R22 connected in parallel; R18, R19, R21, and R22 are used to protect the input ends of the fourth optocoupler V4 and the fifth optocoupler V5 while providing a path; the positive terminal of the output end of the fourth optocoupler V4 is connected to the fourth power supply VDD through a corresponding pull-up resistor. This pull-up resistor is R17. The positive terminal of the output end of the fifth optocoupler V5 is connected to the fourth power supply VDD through a corresponding pull-up resistor. This pull-up resistor is R20; R17 and R20 connect R_AB and R_BA to the fourth power supply VDD to ensure that the signals R_AB and R_BA are default high levels.

[0111] The return inspection circuit performs return inspection. When A of the drive signal is a positive signal, B is a negative signal, and the state of the relay is dropped, the return inspection signals R_A is a positive signal and R_B is a negative signal. At this time, the corresponding criterion acquisition circuit will acquire the second criterion R_AB = 0 and R_BA = 1; when A of the drive signal is a negative signal, B is a positive signal, and the state of the relay is dropped, the return inspection signals R_A is a negative signal and R_B is a positive signal. Then the criterion acquisition circuit will acquire the second criterion R_AB = 1 and R_BA = 0; when A of the drive signal is a positive signal, B is a negative signal, and the state of the relay is picked up, the return inspection signals R_A is a negative signal and R_B is a positive signal. At this time, the criterion acquisition circuit will acquire the second criterion R_AB = 1 and R_BA = 0; when A of the drive signal is a negative signal, B is a positive signal, and the state of the relay is picked up, the return inspection signals R_A is a negative signal and R_B is a positive signal; at this time, the criterion acquisition circuit will acquire the second criterion R_AB = 0 and R_BA = 1.

[0112] The acquired second criterion will be transmitted to the judgment unit of the controller module through the acquisition output end of the return inspection circuit. The judgment unit will judge the first criterion, the second criterion, and the third criterion acquired at the same time to obtain the state of the relay, thereby characterizing the digital quantity signal. It should be noted that the criteria acquired at the same time indicate the criteria generated under the drive of the same drive signal. Table 1 below is the truth table corresponding to the acquired criteria and the relay state.

[0113] Where EN is the control signal, with a high-level signal being 1 and a low-level signal being 0. As the third criterion input judgment unit, the first criterion is AB and BA, and the second criterion is R_AB and R_BA. It should be noted that the values of A and B are listed for reference, but cannot be directly read during actual use and cannot be used as the judgment basis.

[0114] Table 1

[0115] EN A B AB BA R_AB R_BA Relay state 0 1 0 0 1 0 1 Drop 1 0 1 1 0 1 0 Drop 0 1 0 0 1 1 0 Pickup 1 0 1 1 0 0 1 Pickup

[0116] Based on the above truth table, the collected relay states are converted into 01 digital values (arranged in the order of EN, AB, BA, R_AB, R_BA), and they are encoded. The falling state is represented as 00101 and 11010, and the picked-up state is represented as 00110 and 11001; any other value is judged as a fault state. The state of the relay represents the digital quantity signal, so the digital quantity signal can be confirmed.

[0117] It should be noted that the judgment logic of the controller module is constructed based on this encoding. During actual use, it is necessary to confirm the state of each signal to read the state of the relay.

[0118] The above digital quantity signal acquisition system can be applied to on-vehicle equipment to collect key vehicle state information. Due to its high reliability, it can improve the train operation safety level and meet the electrical and environmental requirements for the operation of on-vehicle equipment; it has high reliability, high versatility, and high expandability.

[0119] First, adopt the method of dynamic acquisition and encoding judgment. Actually, dynamic state acquisition is carried out for each node of the acquisition circuit, and the result code pattern is judged; except for several correct result code patterns, other states are all error states, and fault diagnosis can be carried out through the error code patterns to analyze the circuit where the problem lies, form communication data and upload reports in time to avoid misjudgment of faults; in actual applications, it may affect the driving safety of the train; for example, when the wrong judgment signal 11101 is collected at the controller module, the faulty signals are AB and BA, that is, there is a problem with the acquisition of the self-check circuit and the state of the drive signal is not correctly collected. The controller reports the circuit state in time to avoid other devices and peripheral circuits from using incorrect data, which can effectively improve the reliability of the acquisition circuit of on-vehicle equipment and reduce the driving risk.

[0120] The advantage of dynamic acquisition is that when the digital signal to be acquired remains static (usually 1 or 0), the acquired result is still a dynamically changing signal. This can prevent the circuit from "freezing" or, in the event of a real circuit failure, make it impossible to determine whether the acquired result is due to a fault or the actual result. For example, when the actual result to be acquired is constantly 0, if it is static acquisition, the acquired data will also be constantly 0, but it is impossible to determine whether this 0 is the actual result or the circuit has failed. However, with dynamic acquisition, the acquired result will not be a static 0, but rather a changing 01 encoded data. When the acquired result becomes constantly 1 or 0, the controller module knows that it is due to a fault in the acquisition circuit, which has high reliability.

[0121] This acquisition system is designed for acquiring the data information of the switch status signals on the train and is designed according to the electromagnetic environment of on-vehicle equipment. It can be applied to the acquisition of all digital signals in cooperation with relays, and has very high versatility.

[0122] This acquisition system adopts a modular design, and the modules can be separated and added according to different requirements. For example, the control unit of the controller module will provide the third criterion to the judgment unit so that the judgment unit knows which circuits are working. Not all digital switch signals on the train are of high safety level data, and there are also many status information that does not involve train operation safety, such as the status of vehicle lights. These data do not require a complex acquisition circuit for status acquisition. At this time, part of the design of the self-checking circuit and the feedback-checking circuit can be deleted to save costs, and the judgment logic can also be simplified when the judgment unit makes a result judgment. On the contrary, there are also very high-level safety signals on the train, such as the brake status, which may require multiple acquisition circuits to collect simultaneously and perform real-time data comparison. At this time, the controller module can drive multiple acquisition circuits and perform more complex logic judgment to improve the reliability of the invention. Therefore, in terms of expanding applications, this acquisition system has higher editability compared to traditional acquisition circuits.

[0123] The above has introduced in detail a circuit for acquiring digital signals provided by the present invention. Specific examples are used in this article to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention. At the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.

[0124] It should be noted that the embodiments in this specification are all described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The same or similar parts among the embodiments can be referred to each other.

[0125] It should also be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that the elements inherent in a process, method, article or device comprising a series of elements, or those further comprising elements inherent in these process, methods, articles or devices. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the said element.

[0126] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to these embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A system for collecting digital signals, characterized in that, the system for collecting digital signals includes: a controller module, N acquisition circuits, and N relays; where N≥1 and N is an integer; the controller module is used to generate control signals and judge the collected criteria to determine digital signals; the acquisition circuit is used to generate a drive signal according to the control signal, perform self-check on the drive signal and then generate a first criterion to send to the controller module; process the drive signal according to the signal input rule of the relay connected thereto, and send the processed drive signal to the relay connected thereto; and, perform a back-check on the state of the relay connected thereto according to the back-check signal output by the relay connected thereto, and generate a second criterion to send to the controller module; the relay is used to change its own state according to the digital signal, and generate the back-check signal according to the received processed drive signal and its own state for the corresponding acquisition circuit to perform a back-check.

2. The system for collecting digital signals according to claim 1, characterized in that, the acquisition circuit includes: a drive signal generation circuit, a self-check circuit, and a back-check circuit; the input end of the drive signal generation circuit receives the control signal; the output end of the drive signal generation circuit is respectively connected to the input end of the self-check circuit and the drive input end of the back-check circuit, and outputs the drive signal generated according to the control signal; the output end of the self-check circuit is connected to an input end of the controller module; the self-check circuit is used to perform self-check according to the drive signal and then generate the first criterion to send to the controller module; the back-check circuit is used to process the drive signal according to the signal input rule of the relay connected thereto, obtain the processed drive signal, and output the processed drive signal to the input end of the relay; the back-check circuit is also used to receive the back-check signal, perform a back-check on the state of the relay connected thereto, and generate the second criterion to send to the controller module.

3. The system for collecting digital signals according to claim 2, characterized in that, the drive signal generation circuit includes: a first optocoupler, a first triode, a second triode, a third triode, a first field effect transistor, and a second field effect transistor; the negative pole of the input end of the first optocoupler receives the control signal; the positive pole of the input end of the first optocoupler is connected to the first power supply through a corresponding current limiting resistor; the positive pole of the output end of the first optocoupler is connected to the second power supply through two series-connected voltage dividing resistors, and the connection point of the two voltage dividing resistors is connected to the base of the second triode; the positive pole of the output end of the first optocoupler is connected to the gate of the first field effect transistor, and is also connected to the base of the third triode through a corresponding current limiting resistor; the emitters of the first triode and the second triode are respectively connected to the second power supply through corresponding load resistors; The collector of the second triode is connected to the drain of the first field-effect transistor, and the connection point serves as one pole of the output terminal of the drive signal generating circuit; The base of the first triode is connected to the second power supply through a corresponding voltage-dividing resistor, and is also connected to the gate of the second field-effect transistor and the collector of the third triode through two other series-connected voltage-dividing resistors. The connection point of the two voltage-dividing resistors is connected to the collector of the second triode; The collector of the first triode is connected to the drain of the second field-effect transistor, and the connection point serves as the other pole of the output terminal of the drive signal generating circuit; A resistor is connected between the emitter and the collector of the third triode; The negative output terminal of the first optocoupler, the source of the first field-effect transistor, the source of the second field-effect transistor, and the emitter of the third triode are respectively grounded.

4. The switch quantity signal acquisition system according to claim 2, characterized in that, the self-checking circuit includes: a second optocoupler and a third optocoupler; The positive input terminal of the second optocoupler is connected to the negative input terminal of the third optocoupler, and the connection point is connected to one pole of the output terminal of the drive signal generating circuit through a corresponding current-limiting resistor; The negative input terminal of the second optocoupler is connected to the positive input terminal of the third optocoupler, and the connection point is connected to the other pole of the output terminal of the drive signal generating circuit through a corresponding current-limiting resistor; The positive output terminals of the second optocoupler and the third optocoupler are respectively connected to the third power supply through corresponding pull-up resistors; The positive output terminals of the second optocoupler and the third optocoupler respectively serve as the two poles of the output terminal of the self-checking circuit; The negative output terminals of the second optocoupler and the third optocoupler are grounded.

5. The switch quantity signal acquisition system according to claim 2, characterized in that, the feedback checking circuit includes: a buffer protection circuit and a criterion acquisition circuit; The buffer protection circuit is used to process the drive signal to obtain the processed drive signal; The criterion acquisition circuit is used to generate the second criterion according to the feedback checking signal and send it to the controller module.

6. The switch quantity signal acquisition system according to claim 5, characterized in that, the buffer protection circuit includes: a line driver, and the line driver is used to process the drive signal according to the signal input rule of the relay connected thereto and transmit the processed drive signal to the relay.

7. The switch quantity signal acquisition system according to claim 6, characterized in that, the buffer protection circuit further includes: an electromagnetic protection circuit and a relay protection circuit.

8. The switch quantity signal acquisition system according to claim 5, characterized in that, the criterion acquisition circuit includes: a fourth optocoupler and a fifth optocoupler; The positive electrode of the input end of the fourth optocoupler is connected to the negative electrode of the input end of the fifth optocoupler, and the connection point is connected to one pole of the output end of the relay through a corresponding current-limiting resistor; The negative electrode of the input end of the fourth optocoupler is connected to the positive electrode of the input end of the fifth optocoupler, and the connection point is connected to the other pole of the output end of the relay through a corresponding current-limiting resistor; The positive electrodes of the output ends of the fourth optocoupler and the fifth optocoupler are respectively connected to the fourth power supply through corresponding pull-up resistors; The positive electrodes of the output ends of the fourth optocoupler and the fourth optocoupler are respectively used as the two poles of the output end of the feedback detection circuit; The negative electrodes of the output ends of the fourth optocoupler and the fifth optocoupler are grounded.

9. The acquisition system for digital quantity signals according to any one of claims 1 to 8, characterized in that the controller module includes: a control unit and a judgment unit; One end of the control unit receives the control signal, and the other end is connected to the judgment unit to transmit the control signal to the judgment unit as the third criterion; The two input ends of the judgment unit respectively receive the two criteria of the acquisition circuit.

10. The acquisition system for digital quantity signals according to claim 9, characterized in that the controller module further includes: a communication unit; The communication end of the communication unit is connected to a component outside the acquisition system for communication; The output end of the communication unit is connected to the control unit to transmit the control signal to the control unit; The input end of the communication unit is connected to the output end of the judgment unit to receive the acquired digital quantity signal.