Dynamic collection circuit and transponder transmission system
Patent Information
- Authority / Receiving Office
- RS · RS
- Patent Type
- Patents
- Current Assignee / Owner
- CRSC RESEARCH & DESIGN INSTITUTE GROUP CO LTD
- Filing Date
- 2023-10-16
- Publication Date
- 2026-06-30
AI Technical Summary
When existing acquisition circuits fail in signal status judgment in rail transit, it may lead to incorrect status judgments, affecting system safety.
A dynamic acquisition circuit is designed, through the positive electrode input terminals of multiple acquisition circuits, the negative electrode input terminals are electrically connected one by one, and the negative electrode input terminals are grounded, and the control signals of the first controller and the second controller are received respectively to output accurately. The sample signal prevents error output caused by a single controller failure.
It improves the accuracy of the sampling signal output by the dynamic acquisition circuit and enhances the safety of the rail transit system.
Abstract
Description
A dynamic acquisition circuit and transponder transmission system
[0001] This application claims priority to Chinese Patent Application No. 202310627420.1 filed on May 31, 2023, and the contents of the above-mentioned Chinese patent application disclosure are hereby incorporated by reference in their entirety as a part of this application. Technical Field
[0002] The present invention relates to the technical field of signal acquisition, and in particular to a dynamic acquisition circuit and a transponder transmission system. Background Art
[0003] In the operation of rail transit, the safety and reliability of the system are extremely important, especially with the rapid development of high-speed railways. The reliability of signal equipment will directly affect the safety of rail transit, so the safety and reliability control of signal equipment is of paramount importance.
[0004] In rail transit, signal status is determined by monitoring relay contact states, ensuring safe operation. Existing data acquisition circuits have only a single control terminal. If the processor or controller that receives the control signal fails, the output of the electrical signal based on the control terminal's signal can lead to erroneous status determinations, compromising rail transit system safety. Therefore, improving the accuracy of contact signal acquisition has become a pressing technical challenge.
[0005] Summary of the Invention
[0006] The present invention provides a dynamic acquisition circuit and a transponder transmission system to improve the accuracy of a sampling signal output by the dynamic acquisition circuit.
[0007] In a first aspect, the present invention provides a dynamic acquisition circuit, comprising:
[0008] A plurality of sampling terminals electrically connected to a plurality of contacts of an external relay; the sampling terminals are used to receive contact signals of the external relay;
[0009] a first controller and a second controller; the first controller includes a plurality of first output terminals and a plurality of first receiving terminals; the first output terminals are used to output a first control signal; the second controller includes a plurality of second output terminals, a plurality of third output terminals and a plurality of second receiving terminals; the second output terminals are used to output a second control signal; the third output terminals are used to output a third control signal;
[0010] A plurality of acquisition circuits, wherein the positive input terminal of each acquisition circuit is electrically connected to each sampling terminal in a one-to-one correspondence, and the negative input terminal of each acquisition circuit is grounded; the first control terminal of each acquisition circuit is electrically connected to each first output terminal in a one-to-one correspondence, the second control terminal of each acquisition circuit is electrically connected to each second output terminal in a one-to-one correspondence, the third control terminal of each acquisition circuit is electrically connected to each third output terminal in a one-to-one correspondence, the sampling output terminal of each acquisition circuit is electrically connected to each first receiving terminal in a one-to-one correspondence, and the sampling output terminal of each acquisition circuit is also electrically connected to each second receiving terminal in a one-to-one correspondence; the acquisition circuit is used to provide sampling signals to the first controller and the second controller respectively according to the contact signal, the first control signal, the second control signal and the third control signal.
[0011] Optionally, the acquisition circuit includes an acquisition pulse logic circuit and a photoelectric isolation sampling circuit;
[0012] The acquisition pulse logic circuit includes a control output end, the first control end, the second control end, and the third control end; the control output end is electrically connected to the sampling control end; the first control end is electrically connected to the first output end, the second control end is electrically connected to the second output end, and the third control end is electrically connected to the third output end; the acquisition pulse logic circuit is used to output a sampling control signal to the photoelectric isolation sampling circuit according to the first control signal, the second control signal, and the third control signal;
[0013] The optoelectronic isolation sampling circuit includes the sampling control end, the positive input end, the negative input end and the sampling output end; the sampling control end is electrically connected to the control output end; the positive input end is electrically connected to the sampling end; the sampling output end is electrically connected to the first receiving end and the second receiving end respectively; the optoelectronic isolation sampling circuit is used to output the sampling signal to the first controller and the second controller based on the sampling control signal and the contact signal of the external relay collected by the collection end.
[0014] Optionally, the acquisition pulse logic circuit further includes an XOR gate, an AND gate and a first resistor;
[0015] The first end of the XOR gate is electrically connected to the second control end; the second end of the XOR gate is electrically connected to the third control end through the first resistor;
[0016] The first end of the AND gate is electrically connected to the first control end; the second end of the AND gate is electrically connected to the output end of the XOR gate; and the output end of the AND gate is electrically connected to the control output end.
[0017] Optionally, the photoelectric isolation sampling circuit further includes a threshold circuit, an optocoupler control circuit, and an optocoupler acquisition circuit;
[0018] The input end of the threshold circuit is electrically connected to the positive input end, and the output end of the threshold circuit is electrically connected to the first end of the optocoupler acquisition circuit; the threshold circuit is used to provide a first electrical signal to the optocoupler acquisition circuit according to the contact signal;
[0019] The input end of the optical coupling control circuit is electrically connected to the sampling control end, and the output end of the optical coupling control circuit is electrically connected to the second end of the optical coupling acquisition circuit; the optical coupling control circuit is used to provide a second electrical signal to the optical coupling acquisition circuit according to the sampling control signal;
[0020] The output end of the optocoupler acquisition circuit is electrically connected to the sampling output end; the optocoupler acquisition circuit is used to output the sampling signal according to the first electrical signal and the second electrical signal.
[0021] Optionally, the optical coupling control circuit includes a first photoelectric coupling switch and a second resistor;
[0022] The first photoelectric coupling switch includes a first photosensor and a first light emitting diode;
[0023] The first end of the second resistor is electrically connected to the power supply, the second end of the second resistor is electrically connected to the anode of the first light emitting diode, and the cathode of the first light emitting diode is electrically connected to the sampling control end;
[0024] The first end of the first photosensitive element is electrically connected to the second end of the optical coupling acquisition circuit, and the second end of the first photosensitive element is grounded.
[0025] Optionally, the optocoupler acquisition circuit includes a second photoelectric coupling switch and a third resistor;
[0026] The second photoelectric coupling switch includes a second photosensor and a second light emitting diode;
[0027] The anode of the second light-emitting diode is electrically connected to the first end of the optocoupler collection circuit, and the cathode of the second light-emitting diode is electrically connected to the second end of the optocoupler collection circuit;
[0028] The first end of the second photosensitive element is electrically connected to the power supply, the second end of the second photosensitive element is electrically connected to the ground end, and the output end of the second photosensitive element is electrically connected to the sampling output end;
[0029] A first end of the third resistor is electrically connected to a power supply, and a second end of the third resistor is coupled to an output end of the second photosensitive element.
[0030] Optionally, the threshold circuit includes a transient voltage suppressor diode;
[0031] The anode of the transient voltage suppression diode is electrically connected to the first end of the optocoupler acquisition circuit, and the cathode of the transient voltage suppression diode is electrically connected to the positive input end.
[0032] Optionally, the photoelectric isolation sampling circuit further includes a protection circuit;
[0033] The first end of the protection circuit is electrically connected to the positive input end, and the second end of the protection circuit is electrically connected to the negative input end.
[0034] In a second aspect, the present invention provides a transponder transmission system, comprising: a processing board, an output board, a transponder, and the dynamic acquisition circuit described in the first aspect: the processing board comprises a first processor and a second processor;
[0035] The first processor is connected to the first controller in the dynamic acquisition circuit; the first processor is used to provide sampling command information to the first controller, receive sampling information fed back by the first controller, and select an output message according to the sampling information fed back by the first controller;
[0036] The second processor is connected to the second controller in the dynamic acquisition circuit; the second processor is used to provide sampling command information to the second controller, receive sampling information fed back by the second controller, and select an output message according to the sampling information fed back by the second controller;
[0037] The output board is electrically connected to the processing board and the transponder respectively; the output board is used to encode the message output by the processing board and provide it to the transponder;
[0038] The transponder is used to output an electromagnetic signal according to input coded information.
[0039] Optionally, the output board is further configured to feed back the output message to the processing board as a feedback message;
[0040] The processing board is further configured to compare the feedback message with the output message, and determine the current message output status of the output board according to the comparison result.
[0041] Optionally, it also includes: a monitoring module; the monitoring module is electrically connected to the dynamic acquisition circuit, the processing board and the output board respectively; the monitoring module is used to record the operating status information of the dynamic acquisition circuit, the processing board and the output board.
[0042] The technical solution provided by the present invention electrically connects the positive input terminals of multiple acquisition circuits to multiple sampling terminals in a one-to-one correspondence, the negative input terminal of each acquisition circuit is grounded, the first control terminal of each acquisition circuit receives a first control signal output by a first controller, the second control terminal receives a second control signal output by a second controller, and the third control terminal receives a third control signal output by the second controller. The acquisition circuit can output a sampling signal related to the external relay contact signal based on the contact signal, the first control signal, the second control signal and the third control signal, thereby preventing any failure of the first controller or the second controller from outputting an erroneous sampling signal, improving the accuracy of the sampling signal output by the dynamic acquisition circuit, and thereby improving the safety of the rail transit system.
[0043] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0045] FIG1 is a schematic structural diagram of a dynamic acquisition circuit provided by an embodiment of the present invention;
[0046] FIG2 is a schematic structural diagram of an acquisition circuit provided by an embodiment of the present invention;
[0047] FIG3 is a circuit diagram of a pulse acquisition logic circuit provided by an embodiment of the present invention;
[0048] FIG4 is a schematic structural diagram of a photoelectric isolation sampling circuit provided by an embodiment of the present invention;
[0049] FIG5 is a circuit diagram of a photoelectric isolation sampling circuit provided by an embodiment of the present invention;
[0050] FIG6 is a circuit diagram of another photoelectric isolation sampling circuit provided by an embodiment of the present invention;
[0051] FIG7 is a circuit diagram of another photoelectric isolation sampling circuit provided by an embodiment of the present invention;
[0052] FIG8 is a schematic structural diagram of a transponder transmission system provided by an embodiment of the present invention;
[0053] FIG9 is a schematic structural diagram of another transponder transmission system provided by an embodiment of the present invention;
[0054] FIG10 is a schematic structural diagram of another transponder transmission system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0055] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0056] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0057] FIG1 is a schematic diagram of the structure of a dynamic acquisition circuit provided by an embodiment of the present invention. As shown in FIG1 , the dynamic acquisition circuit 900 includes: multiple sampling terminals U1, U2, ..., Un, electrically connected to multiple contacts S1, S2, ..., Sn of an external relay; the sampling terminal U is used to receive contact signals from the external relay. A first controller 100 and a second controller 200 are provided. The first controller 100 includes multiple first output terminals Out1 and multiple first receiving terminals In1; the first output terminals Out1 are used to output a first control signal; the second controller 200 includes multiple second output terminals Out2, multiple third output terminals Out3, and multiple second receiving terminals In2; the second output terminals Out2 are used to output a second control signal; and the third output terminals Out3 are used to output a third control signal. Multiple acquisition circuits 300 are provided, wherein the positive input terminal +IN of each acquisition circuit 300 is electrically connected to each sampling terminal U1, U2, ..., Un in a one-to-one correspondence, and the negative input terminal -IN of each acquisition circuit 300 is grounded; the first control terminal Con1 of each acquisition circuit 300 is electrically connected to each first output terminal Out1 in a one-to-one correspondence, the second control terminal Con2 of each acquisition circuit 300 is electrically connected to each second output terminal Out2 in a one-to-one correspondence, the third control terminal Con3 of each acquisition circuit 300 is electrically connected to each third output terminal Out3 in a one-to-one correspondence, the sampling output terminal B of each acquisition circuit 300 is electrically connected to each first receiving terminal In1 in a one-to-one correspondence, and the sampling output terminal B of each acquisition circuit 300 is also electrically connected to each second receiving terminal In2 in a one-to-one correspondence; the acquisition circuit 300 is configured to provide sampling signals to the first controller 100 and the second controller 200, respectively, based on the contact signal, the first control signal, the second control signal, and the third control signal.
[0058] The contact signal of the relay includes a voltage signal when the contact is open or closed, etc. The first controller 100 and the second controller 200 may include an FPGA (Field Programmable Gate Array), etc., which is not specifically limited in the embodiment of the present invention.
[0059] It is understood that the multiple sampling terminals are electrically connected to the multiple contacts of the external relay, meaning that the number of sampling terminals can be the same as or different from the number of contacts of the external relay, and this is not specifically limited in the present embodiment. Taking the example of the number of sampling terminals being the same as the number of contacts of the external relay, in one exemplary embodiment, both the number of sampling terminals and the number of contacts of the external relay can be 16. Accordingly, the positive input terminals of each acquisition circuit are electrically connected to each sampling terminal in a one-to-one correspondence, so the number of acquisition circuits equals the number of sampling terminals. In this case, when the number of sampling terminals is 16, the number of acquisition circuits is also 16.
[0060] Specifically, the acquisition circuit 300 electrically connected to the sampling terminal U1 is used as an example for description. The positive input terminal +IN of the acquisition circuit 300 is used to receive the contact signal of the relay, and the negative input terminal -IN is grounded. At the same time, the first output terminal Out1 of the first controller 100 outputs the first control signal to the first control terminal Con1 of the acquisition circuit 300, and the second output terminal Out2 of the second controller 200 outputs the first control signal to the acquisition circuit 300. The second control terminal Con2 of the second controller 200 outputs a second control signal, and the third output terminal Out3 of the second controller 200 outputs a third control signal to the third control terminal Con3 of the acquisition circuit 300. The acquisition circuit 300 performs circuit logic transformation internally according to the input contact signal, the first control signal, the second control signal, and the third control signal, and then outputs a sampling signal to the first controller 100 and the second controller 200, so that the first controller 100 and the second controller 200 output corresponding dynamic codes according to the sampling signal; wherein the dynamic code can be 32-bit data including information such as a timestamp and the number of the acquisition circuit; the first controller 100 and the second controller 200 transmit the sampling signal to a subsequent processor in a serial communication manner, so that the subsequent processor can select an output message and perform other operations according to the sampling signal.
[0061] It can be understood that the first control signal, the second control signal and the third control signal can be high level or low level, and they can be analog signals or digital signals. In an optional embodiment, the first control signal, the second control signal and the third control signal can be 32-bit binary dynamic codes.
[0062] The dynamic acquisition circuit provided by the embodiment of the present invention electrically connects the positive input terminals of multiple acquisition circuits to multiple sampling terminals in a one-to-one correspondence, and the negative input terminal of each acquisition circuit is grounded. The first control terminal of each acquisition circuit receives a first control signal output by a first controller, the second control terminal receives a second control signal output by a second controller, and the third control terminal receives a third control signal output by the second controller. The acquisition circuit can output a sampling signal related to the external relay contact signal based on the contact signal, the first control signal, the second control signal, and the third control signal, thereby preventing a fault in either the first controller or the second controller from outputting an erroneous sampling signal, thereby improving the accuracy of the sampling signal output by the dynamic acquisition circuit and thereby improving the safety of the rail transit system.
[0063] Optionally, Figure 2 is a structural schematic diagram of an acquisition circuit provided by an embodiment of the present invention. As shown in Figure 2, the acquisition circuit 300 includes an acquisition pulse logic circuit 310 and a photoelectric isolation sampling circuit 320; the acquisition pulse logic circuit 310 includes a control output terminal A, a first control terminal Con1, a second control terminal Con2 and a third control terminal Con3; the control output terminal A is electrically connected to the sampling control terminal A'; the first control terminal Con1 is electrically connected to the first output terminal Out1, the second control terminal Con2 is electrically connected to the second output terminal Out2, and the third control terminal Con3 is electrically connected to the third output terminal Out3; the acquisition pulse logic circuit 310 is used to output a sampling control signal to the photoelectric isolation sampling circuit 320 according to the first control signal, the second control signal and the third control signal. The optoelectronic isolation sampling circuit 320 includes a sampling control terminal A', a positive input terminal +IN, a negative input terminal -IN, and a sampling output terminal B; the sampling control terminal A' is electrically connected to the control output terminal A; the positive input terminal +IN is electrically connected to the sampling terminal U; the sampling output terminal B is electrically connected to the first receiving terminal In1 and the second receiving terminal In2, respectively; the optoelectronic isolation sampling circuit 320 is used to output a sampling signal to the first controller 100 and the second controller 200 based on the sampling control signal and the contact signal of the external relay collected by the collection terminal U.
[0064] Specifically, the acquisition pulse logic circuit 310 performs logical processing on the input first, second, and third control signals and outputs a sampling control signal determined by the first, second, and third control signals. This sampling control signal is alternately correlated with the signals output by the first and second controllers 100 and 200 in time periods. At time T, the first controller 100 outputs a dynamic code, while at time T+T1, the second controller 200 outputs a dynamic code. The first and second controllers 100 and 200 alternately output these codes. If the first controller 100 fails, the acquisition pulse logic circuit 310 outputs a corresponding sampling control signal based on the erroneous first control signal, which is inconsistent with the sampling control signal output by the second controller 200 based on the second and third control signals. This ensures that a single controller error will not cause a system error output. Furthermore, after receiving the sampling control signal, the sampling control terminal A' of the optoelectronic isolation sampling circuit 320 outputs a sampling signal based on the sampling control signal and the contact signal received at the positive input terminal +IN. In this way, by setting up an acquisition pulse logic circuit and a photoelectric isolation sampling circuit, the acquisition pulse logic circuit first performs logical processing on the input first control signal, second control signal and third control signal, and then outputs a uniquely determined sampling control signal to the photoelectric isolation sampling circuit. The structure of the acquisition pulse logic circuit can be set according to actual needs, that is, the sampling control signal related to the first control signal, the second control signal and the third control signal can be output according to actual needs, thereby realizing flexible control of contact signal acquisition.
[0065] It is understood that the specific structures of the acquisition pulse logic circuit 310 and the photoelectric isolation sampling circuit 320 in the embodiments of the present invention can be designed according to actual needs. As long as their respective functions are met, the embodiments of the present invention do not limit the specific structures of the acquisition pulse logic circuit 310 and the photoelectric isolation sampling circuit 320. The following uses typical examples to illustrate the specific structures of the various circuits in the embodiments of the present invention.
[0066] Optionally, Figure 3 is a circuit schematic diagram of a pulse acquisition logic circuit provided in an embodiment of the present invention. As shown in Figure 3, the pulse acquisition logic circuit 310 also includes an XOR gate SN1, an AND gate SN2 and a first resistor R1; the first end of the XOR gate SN1 is electrically connected to the second control end Con2; the second end of the XOR gate SN1 is electrically connected to the third control end Con3 through the first resistor R1; the first end of the AND gate SN2 is electrically connected to the first control end Con1; the second end of the AND gate SN2 is electrically connected to the output end of the XOR gate SN1, and the output end of the AND gate SN2 is electrically connected to the control output end A.
[0067] Among them, the first resistor R1 divides the input third control signal and inputs it into the XOR gate SN1, so that the third control signal after the voltage division by the first resistor R1 can meet the normal working requirements of the XOR gate SN1. It can be understood that if the levels of the inputs at both ends of the XOR gate are different, the output is a high level (for example, it can be represented by the binary number "1"); if the levels of the inputs at both ends of the XOR gate are the same, the output is a low level (for example, it can be represented by the binary number "0"). For example, if the inputs at both ends of the XOR gate are both 1 or both 0, the output is 0; if the inputs at both ends of the XOR gate are 1 and 0 respectively, the output is 1. If the levels of the inputs at both ends of the AND gate are both 1, the output is 1, otherwise the output is 0. For example, if the inputs at both ends of the AND gate are both 1, the output is 1; if the inputs at both ends of the AND gate are 1 and 0 respectively, the output is 0; if the inputs at both ends of the AND gate are 0, the output is 0.
[0068] Specifically, if the second control signal received by the second control terminal Con2 is low and the third control signal received by the third control terminal Con3 is high, the output of the XOR gate SN1 will output a high level, that is, the second terminal of the AND gate SN2 receives a high-level signal. At this time, if the first control signal received by the first control terminal Con1 is high, the output of the AND gate SN2 will output a high level to the control output terminal A. If the first control signal received by the first control terminal Con1 is low, the output of the AND gate SN2 will output a low level to the control output terminal A.
[0069] Correspondingly, if the second control signal received by the second control terminal Con2 is high and the third control signal received by the third control terminal Con3 is low, the output of the XOR gate SN1 outputs a high level, that is, the second terminal of the AND gate SN2 receives a high-level signal. At this time, if the first control signal received by the first control terminal Con1 is high, the output of the AND gate SN2 will output a high level to the control output terminal A. If the first control signal received by the first control terminal Con1 is low, the output of the AND gate SN2 will output a low level to the control output terminal A.
[0070] If the second control signal and the third control signal received by the second control terminal Con2 and the third control terminal Con3, respectively, are both high or low, the output terminal of the XOR gate SN1 outputs a low level, i.e., the second terminal of the AND gate SN2 receives a low-level signal. At this time, if the first control signal received by the first control terminal Con1 is high, the output terminal of the AND gate SN2 will output a low level to the control output terminal A. If the first control signal received by the first control terminal Con1 is low, the output terminal of the AND gate SN2 will output a low level to the control output terminal A.
[0071] For example, taking a sampling period of 16ms, the first sampling phase is the first 8ms, during which the first controller 100 collects sampling signals. The second sampling phase is the second 8ms, during which the second controller 200 collects sampling signals. During the first sampling phase, the second control signal received by the second control terminal Con2 is high, and the third control signal received by the third control terminal Con3 is low, causing the output of the XOR gate SN1 to output a high level, i.e., the second terminal of the AND gate SN2 receives a high-level signal. At this time, the level of the control output terminal A is the same as the first control signal received by the first control terminal Con1. That is, if the first control signal received by the first control terminal Con1 is high, the output of the AND gate SN2 will output a high level to the control output terminal A. If the first control signal received by the first control terminal Con1 is low, the output of the AND gate SN2 will output a low level to the control output terminal A.
[0072] During the second sampling phase, the first control signal received by the first control terminal Con1 is at a high level, and the third control signal received by the third control terminal Con3 is at a high level. At this time, the level of the control output terminal A is opposite to the second control signal received by the second control terminal Con2. That is, if the second control signal received by the second control terminal Con2 is at a high level, the output of the AND gate SN2 will output a low level to the control output terminal A. If the second control signal received by the second control terminal Con2 is at a low level, the output of the AND gate SN2 will output a high level to the control output terminal A. Therefore, within a sampling cycle, the first controller and the second controller output control signals and receive sampling signals in stages, performing a two-digit operation on the signals collected by the first controller and the second controller. This prevents a fault in one of the controllers from outputting an erroneous sampling signal, improves the accuracy of the sampling signals output by the dynamic acquisition circuit, and thereby improves safety.
[0073] Optionally, FIG4 is a schematic structural diagram of a photoelectric isolation sampling circuit provided in an embodiment of the present invention. As shown in FIG4 , the photoelectric isolation sampling circuit 320 further includes a threshold circuit 321, an optocoupler control circuit 322, and an optocoupler acquisition circuit 323. The input end of the threshold circuit 321 is electrically connected to the positive input end +IN, and the output end of the threshold circuit 321 is electrically connected to the first end A1 of the optocoupler acquisition circuit 323; the threshold circuit 321 is configured to provide a first electrical signal to the optocoupler acquisition circuit 323 based on a contact signal. The input end of the optocoupler control circuit 322 is electrically connected to the sampling control end A', and the output end of the optocoupler control circuit 322 is electrically connected to the second end A2 of the optocoupler acquisition circuit 323; the optocoupler control circuit 322 is configured to provide a second electrical signal to the optocoupler acquisition circuit 323 based on a sampling control signal; the output end of the optocoupler acquisition circuit 323 is electrically connected to the sampling output end B; and the optocoupler acquisition circuit 323 is configured to output a sampling signal based on the first electrical signal and the second electrical signal.
[0074] Specifically, the threshold circuit 321 is used to set a threshold voltage. Exemplarily, the threshold voltage set by the threshold circuit 321 is 16 to 30V. When the contact signal received by the threshold circuit 321 is within the threshold voltage range, the enable signal of the first electrical signal output by the threshold circuit 321 serves as the contact signal to control the potential of the first terminal A1 of the optocoupler acquisition circuit to be consistent with the contact signal. When the contact signal received by the threshold circuit 321 is not within the threshold voltage range, the disable signal of the first electrical signal output by the threshold circuit 321 serves as the contact signal to control the potential of the first terminal A1 of the optocoupler acquisition circuit to be consistent with the current contact signal. The enable signal of the first electrical signal can be a low level, and the disable signal of the first electrical signal can be a high level or a suspended state signal. Accordingly, after receiving the sampling control signal input by the sampling control terminal A', the optocoupler control circuit 322 outputs a second electrical signal to the second terminal of the optocoupler acquisition circuit 323 according to the sampling control signal. The second electrical signal can be set to a high level, a low level, or a suspended state signal according to the sampling requirements.
[0075] Furthermore, the optocoupler acquisition circuit 323 can control the potential of the output sampling signal based on the potential magnitude or state of the first and second electrical signals input to the first and second terminals. In one exemplary embodiment, if the first electrical signal is greater than the second electrical signal, the output sampling signal is a low level; if the first electrical signal is less than the second electrical signal, the output sampling signal is a high level. In this way, the optocoupler acquisition circuit 323 can accurately output the sampling signal based on the first electrical signal input to the threshold circuit 321 and the second electrical signal input to the optocoupler control circuit 322.
[0076] It is understood that the specific structures of the threshold circuit 321, the optocoupler control circuit 322, and the optocoupler acquisition circuit 323 in the embodiment of the present invention can be designed according to actual needs. As long as their respective functions can be met, the embodiment of the present invention does not limit the specific structures of the threshold circuit 321, the optocoupler control circuit 322, and the optocoupler acquisition circuit 323. The following uses typical examples to illustrate the specific structures of each circuit in the embodiment of the present invention.
[0077] Optionally, Figure 5 is a circuit schematic diagram of a photoelectric isolation sampling circuit provided in an embodiment of the present invention. As shown in Figure 5, the optocoupler control circuit 322 includes a first photoelectric coupling switch OP1 and a second resistor R2; the first photoelectric coupling switch OP1 includes a first photosensitive element 324 and a first light-emitting diode LED1; the first end of the second resistor R2 is electrically connected to the power supply VCC, the second end of the second resistor R2 is electrically connected to the anode of the first light-emitting diode LED1, and the cathode of the first light-emitting diode LED1 is electrically connected to the sampling control terminal A'; the first end of the first photosensitive element 324 is electrically connected to the second end A2 of the optocoupler acquisition circuit 323, and the second end of the first photosensitive element 324 is grounded.
[0078] The second resistor R2 divides the input power supply VCC and inputs the divided power supply VCC to the first light emitting diode LED1 , so that the electrical signal divided by the second resistor R2 can meet the normal working requirements of the first light emitting diode LED1 .
[0079] Specifically, with reference to Figure 3, when the second control signal and the third control signal output by the second controller 200 are both low or high, the first control signal output by the first controller 100 is high, and a high-level sampling control signal is output after the logical operation of the XOR gate SN1 and the AND gate SN2; the sampling control terminal A' receives the sampling control signal, the first light-emitting diode LED1 is reversely cut off and does not emit light, the first photosensor 324 is not turned on, and the electrical signal of the ground terminal GND cannot be transmitted to the second terminal A2 of the optocoupler acquisition circuit 323. At this time, the optocoupler acquisition circuit 323 does not work and cannot output the sampling signal.
[0080] Correspondingly, when the second control signal and the third control signal output by the second controller 200 are low and high, respectively, the first control signal output by the first controller 100 is low. After the logic operation of the XOR gate SN1 and the AND gate SN2, a low-level sampling control signal is output. After the sampling control terminal A' receives the sampling control signal, the first light-emitting diode LED1 is forward-conducted and emits light, and the first photosensor 324 is turned on, transmitting the electrical signal from the ground terminal GND to the second terminal A2 of the optocoupler acquisition circuit 323. At this time, if the first electrical signal output by the threshold circuit 321 is an enable signal, the optocoupler acquisition circuit 323 will output the corresponding sampling signal. In this way, the second electrical signal output by the optocoupler control circuit is indirectly determined by the sampling control signal, which has a good anti-interference effect.
[0081] Optionally, referring to Figure 5, the optocoupler acquisition circuit 323 includes a second optocoupler switch OP2 and a third resistor R3; the second optocoupler switch OP2 includes a second photosensitive element 325 and a second light-emitting diode LED2; the anode of the second light-emitting diode LED2 is electrically connected to the first end A1 of the optocoupler acquisition circuit 300, and the cathode of the second light-emitting diode LED2 is electrically connected to the second end A2 of the optocoupler acquisition circuit 300; the first end of the second photosensitive element 325 is electrically connected to the power supply VCC, the second end of the second photosensitive element 325 is electrically connected to the ground end GND, and the output end of the second photosensitive element 325 is electrically connected to the sampling output end B; the first end of the third resistor R3 is electrically connected to the power supply VCC, and the second end of the third resistor R3 is coupled to the output end of the second photosensitive element 325.
[0082] Specifically, when the first electrical signal received by the first terminal A1 of the optocoupler acquisition circuit 323 is at a high level and the second electrical signal received by the second terminal A2 is at a low level, that is, the first electrical signal is greater than the second electrical signal, the second light-emitting diode LED2 is forward-conducted and emits light, the second photosensitive element 325 is turned on, and the electrical signal at the ground terminal GND is transmitted to the sampling output terminal B of the optocoupler acquisition circuit 323. Correspondingly, when the first electrical signal received by the first terminal A1 of the optocoupler acquisition circuit 323 is less than the second electrical signal received by the second terminal A2, or when the first terminal A1 and / or the second terminal A2 are in a floating state, the second light-emitting diode LED3 is not turned on and does not emit light, the second photosensitive element 325 is not turned on, and the third resistor R3 pulls the sampling signal at the sampling output terminal B up to the potential equal to the power supply VCC.
[0083] In conjunction with FIG3 and FIG5, when it is necessary to collect the contact signal of the external relay, the second control terminal Con2 and the third control terminal Con3 of the acquisition pulse logic circuit 310 receive the low-level second control signal and the high-level third control signal respectively, the XOR gate SN1 outputs a high level, the first control terminal Con1 receives the low-level first control signal, the AND gate SN2 outputs a low level to the control output terminal A, the sampling control terminal A' of the optocoupler control circuit 322 receives the low-level sampling control signal output by the control output terminal A, and the first light-emitting diode LED1 in the optocoupler control circuit 322 is turned on. After emitting light, the first photosensor 324 turns on, transmitting the electrical signal from the ground terminal GND to the second terminal A2 of the optocoupler acquisition circuit 323. At this time, if the external relay contacts are closed and the external acquisition voltage is within the threshold voltage range of the threshold circuit 321, the external acquisition voltage is transmitted to the first terminal of the optocoupler acquisition circuit 323 through the threshold circuit 321. The first electrical signal then becomes the potential of the external acquisition voltage. The first electrical signal is greater than the second electrical signal. After the second light-emitting diode LED2 emits light, the second photosensor 325 turns on, transmitting the electrical signal from the ground terminal GND to the sampling output terminal B. If the external relay contacts are open, the contact signal received at the positive input terminal +IN of the acquisition circuit 300 is not within the threshold voltage range of the threshold circuit 321. The first terminal of the optocoupler acquisition circuit 323 is in a floating state, the second light-emitting diode LED2 does not emit light, and the second photosensor 325 turns off. The third resistor R3 pulls the sampling signal at the sampling output terminal B to the same potential as the power supply VCC.
[0084] It will be appreciated that the above description only illustrates the integration of the second photoelectric coupling switch OP2 into a single chip. Multiple second photoelectric coupling switches OP2 can also be integrated into the same chip as needed to simplify the circuit. For example, FIG6 is a schematic diagram of another optoelectronic isolation sampling circuit provided by an embodiment of the present invention. As shown in FIG6 , the circuit is simplified by integrating two second photoelectric coupling switches included in two optocoupler acquisition circuits 323 into the same chip, wherein the second photoelectric coupling switches include a second photosensor. The first ends of the two second photosensors share a power supply terminal within the chip, and the second ends of the two photosensors share a ground terminal within the chip.
[0085] Optionally, referring to FIG5 , the threshold circuit 321 includes a transient suppression diode D1 ; the anode of the transient suppression diode D1 is electrically connected to the first terminal A1 of the optocoupler acquisition circuit 323 , and the cathode of the transient suppression diode D1 is electrically connected to the positive input terminal +IN.
[0086] Specifically, when the input contact signal is higher than the reverse breakdown voltage of the TVS diode D1, the TVS diode D1 conducts in the reverse direction and transmits the input contact signal as a first electrical signal to the first terminal A1 of the optocoupler acquisition circuit 323. Accordingly, when the input contact signal is lower than the reverse breakdown voltage of the TVS diode D1, the TVS diode D1 is reversely blocked and cannot transmit the input contact signal as the first electrical signal to the first terminal A1 of the optocoupler acquisition circuit 323. It will be appreciated that the reverse breakdown voltage of the TVS diode D1 can be set according to actual needs and is not specifically limited in this embodiment of the present invention.
[0087] Optionally, FIG7 is a circuit diagram of another optoelectronic isolation sampling circuit provided in an embodiment of the present invention. As shown in FIG7 , the optoelectronic isolation sampling circuit 320 further includes a protection circuit 326. A first terminal of the protection circuit 326 is electrically connected to the positive input terminal +IN, and a second terminal of the protection circuit 326 is electrically connected to the negative input terminal -IN. The protection circuit 326 may include, but is not limited to, a transient suppression diode D2, wherein the anode of the transient suppression diode D2 is electrically connected to the negative input terminal -IN, and the cathode of the transient suppression diode D2 is electrically connected to the positive input terminal +IN.
[0088] Specifically, the contact signal input at the positive input terminal +IN is higher than the threshold voltage value of the threshold circuit 321, that is, the electric shock signal is higher than the reverse breakdown voltage of the transient suppression diode D2. At this time, the contact signal is discharged to the ground GND through the cathode of the transient suppression diode D2, and is not transmitted to the subsequent optocoupler acquisition circuit 323 through the threshold circuit 326, thereby protecting the optocoupler acquisition circuit 323.
[0089] In an optional embodiment, the optocoupler acquisition circuit 323 further includes a fifth resistor R5, which is configured to discharge the voltage across the second light-emitting diode LED2 through the fifth resistor R5 when the first electrical signal is converted from an enable electrical signal to a disable electrical signal, thereby protecting the second light-emitting diode LED2. The threshold circuit 321 further includes a fourth resistor R4, which is configured to limit the current flowing into the transient voltage suppressor diode D1.
[0090] Based on the same inventive concept, an embodiment of the present invention further provides a transponder transmission system, which includes the dynamic acquisition circuit provided by any embodiment of the present invention, and thus has the beneficial effects of the dynamic acquisition circuit. For the similarities, refer to the above description.
[0091] Optionally, FIG8 is a schematic diagram of the structure of a transponder transmission system provided in an embodiment of the present invention. As shown in FIG8 , the transponder transmission system includes: a processing board 400, an output board 600, a transponder 700, and a dynamic acquisition circuit 900 according to any embodiment of the present invention. The processing board 400 includes a first processor 401 and a second processor 402. The first processor 401 is connected to the first controller 100 in the dynamic acquisition circuit 900. The first processor 401 is configured to provide sampling command information to the first controller 100, receive sampling information fed back by the first controller 100, and select an output message based on the sampling information fed back by the first controller 100. The second processor 402 is connected to the second controller 200 in the dynamic acquisition circuit 900. The second processing board 402 is configured to provide sampling command information to the second controller 200, receive sampling information fed back by the second controller 200, and select an output message based on the sampling information fed back by the second controller 200. The first processor 401 and the second processor 402 take the result of two and output the message to the output board 600. The output board 600 is used to encode the message output by the first processor 401 and the second processor 402 and provide it to the transponder 700; the transponder 700 is used to output an electromagnetic signal according to the input encoding information.
[0092] Specifically, the first processor 401 provides sampling command information to the first controller 100, so that the first controller 100 inputs a first control signal to the dynamic acquisition circuit 900 according to the input sampling command information; the second processor 402 provides sampling command information to the second controller 200, so that the second controller 200 inputs a second control signal and a third control signal to the dynamic acquisition circuit 900 according to the input sampling command information; the dynamic acquisition circuit 900 feeds back accurate sampling signals to the first controller 100 and the second controller 200 according to the contact signal, the first control signal, the second control signal and the third control signal, so that the first processor 401 and the second processor 402 output corresponding messages to the output board 600 through a take-two operation according to the correct sampling signal; the output board 600 encodes the input message and provides it to the transponder 700, so that the transponder 700 outputs an electromagnetic signal according to the input encoding information.
[0093] In this way, by setting up two processors in the processing board, each processor works independently and receives sampling information fed back from the first controller and the second controller respectively, that is, using two-out-of-two dynamic acquisition, the two processors do not interfere with each other, thereby improving the accuracy of the signal transmitted by the transponder transmission system.
[0094] Optionally, Figure 9 is a structural schematic diagram of another transponder transmission system provided by an embodiment of the present invention. As shown in Figure 9, the output board 600 is also used to feed back the output message to the processing board 400 as a feedback message. By comparing the feedback message with the output message, the current message output status can be confirmed to achieve detection of the output board.
[0095] Optionally, FIG10 is a schematic diagram of the structure of another transponder transmission system provided in an embodiment of the present invention. As shown in FIG10 , the transponder transmission system further includes a monitoring module 800. The monitoring module 800 is electrically connected to the dynamic acquisition circuit 900, the processing board 400, and the output board 600, respectively, and is configured to record operating status information of the dynamic acquisition circuit 900, the processing board 400, and the output board 600. The operating status information may include operating parameter information, etc. This allows operation and maintenance personnel to perform maintenance on the dynamic acquisition circuit 900, the processing board 400, and the output board 600 based on the operating status information recorded by the monitoring module 800, thereby maintaining the normal operation of the transponder transmission system.
[0096] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0097] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A dynamic acquisition circuit, characterized in that: include: A plurality of sampling terminals are electrically connected to a plurality of contacts of an external relay; The sampling end is used to receive the contact signal of the external relay; A first controller and a second controller; the first controller comprises a plurality of first output terminals and a plurality of first receiving terminals; the first output terminals are used to output a first control signal; the second controller comprises a plurality of second output terminals, a plurality of third output terminals and a plurality of second receiving terminals; the second output terminals are used to output a second control signal; the third output terminals are used to output a third control signal; A plurality of acquisition circuits, wherein the positive input terminal of each acquisition circuit is electrically connected to each sampling terminal in one-to-one correspondence, and the negative input terminal of each acquisition circuit is grounded; the first control terminal of each acquisition circuit is electrically connected to each first output terminal in one-to-one correspondence, the second control terminal of each acquisition circuit is electrically connected to each second output terminal in one-to-one correspondence, the third control terminal of each acquisition circuit is electrically connected to each third output terminal in one-to-one correspondence, the sampling output terminal of each acquisition circuit is electrically connected to each first receiving terminal in one-to-one correspondence, and the sampling output terminal of each acquisition circuit is also electrically connected to each second receiving terminal in one-to-one correspondence; the acquisition circuit is used to provide sampling signals to the first controller and the second controller respectively according to the contact signal, the first control signal, the second control signal and the third control signal.
2. The dynamic acquisition circuit according to claim 1, characterized in that: The acquisition circuit includes an acquisition pulse logic circuit and a photoelectric isolation sampling circuit; The acquisition pulse logic circuit comprises a control output terminal, the first control terminal, the second control terminal and the third control terminal; the control output terminal is electrically connected to the sampling control terminal; The first control end is electrically connected to the first output end, the second control end is electrically connected to the second output end, and the third control end is electrically connected to the third output end; the acquisition pulse logic circuit is used to output a sampling control signal to the photoelectric isolation sampling circuit according to the first control signal, the second control signal and the third control signal; The photoelectric isolation sampling circuit comprises the sampling control terminal, the positive input terminal, the negative input terminal and the sampling output terminal; The sampling control terminal is electrically connected to the control output terminal; the positive input terminal is electrically connected to the sampling terminal; the sampling output terminal is electrically connected to the first receiving terminal and the second receiving terminal respectively; the photoelectric isolation sampling circuit is used to The sampling signal and the contact signal of the external relay collected by the collection end are output to the first controller and the second controller.
3. The dynamic acquisition circuit according to claim 2, characterized in that: The acquisition pulse logic circuit also includes an XOR gate, an AND gate and a first resistor; The first end of the XOR gate is electrically connected to the second control end; the second end of the XOR gate is electrically connected to the third control end through the first resistor; The first end of the AND gate is electrically connected to the first control end; the second end of the AND gate is electrically connected to the output end of the XOR gate, and the output end of the AND gate is electrically connected to the control output end.
4. The dynamic acquisition circuit according to claim 2, characterized in that: The photoelectric isolation sampling circuit also includes a threshold circuit, an optical coupling control circuit, and an optical coupling acquisition circuit; The input end of the threshold circuit is electrically connected to the positive input end, and the output end of the threshold circuit is electrically connected to the first end of the optocoupler acquisition circuit; the threshold circuit is used to provide a first electrical signal to the optocoupler acquisition circuit according to the contact signal; The input end of the optical coupling control circuit is electrically connected to the sampling control end, and the output end of the optical coupling control circuit is electrically connected to the second end of the optical coupling acquisition circuit; the optical coupling control circuit is used to provide a second electrical signal to the optical coupling acquisition circuit according to the sampling control signal; The output end of the optocoupler acquisition circuit is electrically connected to the sampling output end; the optocoupler acquisition circuit is used to output the sampling signal according to the first electrical signal and the second electrical signal.
5. The dynamic acquisition circuit according to claim 4, characterized in that: The optical coupling control circuit includes a first optical coupling switch and a second resistor; The first photoelectric coupling switch includes a first photosensitive element and a first light emitting diode; The first end of the second resistor is electrically connected to the power supply, the second end of the second resistor is electrically connected to the anode of the first light emitting diode, and the cathode of the first light emitting diode is electrically connected to the sampling control end; The first end of the first photosensitive element is electrically connected to the second end of the optical coupling collection circuit, and the second end of the first photosensitive element is grounded.
6. The dynamic acquisition circuit according to claim 4, characterized in that: The optical coupling acquisition circuit includes a second photoelectric coupling switch and a third resistor; The second photoelectric coupling switch includes a second photosensor and a second light emitting diode; The anode of the second light emitting diode is electrically connected to the first end of the optical coupling collection circuit. The cathode of the second light emitting diode is electrically connected to the second end of the optical coupling collection circuit; The first end of the second photosensitive element is electrically connected to the power supply, the second end of the second photosensitive element is electrically connected to the ground end, and the output end of the second photosensitive element is electrically connected to the sampling output end; A first end of the third resistor is electrically connected to a power supply, and a second end of the third resistor is coupled to an output end of the second photosensitive element.
7. The dynamic acquisition circuit according to claim 4, characterized in that: The threshold circuit includes a transient suppression diode; The anode of the transient voltage suppression diode is electrically connected to the first end of the optical coupling acquisition circuit, and the cathode of the transient voltage suppression diode is electrically connected to the positive input end.
8. The dynamic acquisition circuit according to claim 4, characterized in that: The photoelectric isolation sampling circuit also includes a protection circuit; The first end of the protection circuit is electrically connected to the positive input end, and the second end of the protection circuit is electrically connected to the negative input end.
9. A transponder transmission system, characterized in that: include: A processing board, an output board, a transponder, and a dynamic acquisition circuit as claimed in any one of claims 1 to 8: the processing board comprises a first processor and a second processor; The first processor is connected to the first controller in the dynamic acquisition circuit; the first processor is used to provide sampling command information to the first controller, receive sampling information fed back by the first controller, and select an output message according to the sampling information fed back by the first controller; The second processor is connected to the second controller in the dynamic acquisition circuit; the second processor is used to provide sampling command information to the second controller, receive sampling information fed back by the second controller, and select an output message according to the sampling information fed back by the second controller; The output board is electrically connected to the processing board and the transponder respectively; the output board is used to encode the message output by the processing board and provide it to the transponder; The transponder is used to output an electromagnetic signal according to input coded information.
10. The transponder transmission system according to claim 9, characterized in that: The output board is also used to feed back the output message to the processing board as a feedback message; The processing board is also used to compare the feedback message with the message output by the processing board, and determine the current message output state of the output board according to the comparison result.
11. The transponder transmission system according to claim 9, characterized in that: Also includes: Monitoring module; The monitoring module is electrically connected to the dynamic acquisition circuit, the processing board and the output board respectively; The monitoring module is used to record the operating status information of the dynamic acquisition circuit, the processing board and the output board.