Interface device of inter-field connection circuit and driving method thereof

By adopting a combined design of the main control module, logic switch and direction switch in the interfield connection circuit interface device, the problem of interlocking logic abnormality during positive and negative electrical switching in the prior art is solved, and a higher reliability and safety of the signal system is achieved.

CN119519688APending Publication Date: 2025-02-25BEIJING HOLLYSYS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411605024.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

During the positive and negative electrical switching of the existing interfield contact interface circuit, due to the difference in electrical characteristics of the relay, the interlocking logic abnormal during the switching process, affecting the safety of the signal system.

Method used

An interface device for inter-field contact circuit is designed, and a combination of main control module, logic switch and direction switch is designed. Through the combination of two-stage switches of logic switch and direction switch, synchronous control is achieved during voltage polarity switching, avoiding erroneous output caused by failure of a single device.

Benefits of technology

Through the combination design of two-stage switches, the voltage polarity switching time is shortened, abnormal output is avoided during the switching process, and the reliability and safety of the interface device are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119519688A_ABST
    Figure CN119519688A_ABST
Patent Text Reader

Abstract

The invention discloses an interface device of an inter-field connection circuit and a driving method thereof. The interface device comprises a main control module which is set to send a direction control signal to a direction switch and send a first logic control signal to a logic switch when voltage needs to be output to a peripheral circuit and no voltage is output before; when the voltage needs to be stopped from being output to the peripheral circuit, the switching state of the direction switch is kept unchanged, and a second logic control signal is sent to the logic switch; when the polarity of the output voltage needs to be switched, the switching state of the logic switch is kept unchanged, and a direction control signal matched with the polarity of the switched output voltage is sent to the direction switch; the logic switch is switched on when the first logic control signal is received and switched off when the second logic control signal is received; and the direction switch is arranged to determine the polarity of the output voltage according to the direction control signal. According to the scheme, the polarity switching time of the external output voltage is shortened, and the safety and reliability of the interface are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to railway transportation technology, and in particular to an interface device for an inter-field connection circuit and a driving method thereof. Background Art

[0002] In the railway system, inter-yard communication circuits are mainly used to connect different yards or stations to ensure driving safety and efficiency. The design of inter-yard communication circuits is mainly used to ensure that in an environment with multiple yards or stations, the signal and control information between yards or stations can be accurately and timely transmitted, thereby avoiding signal conflicts and driving accidents.

[0003] In the related art, electronic integrated circuits can be used to implement signal control of the interface circuit of the inter-field connection circuit. Its electrical schematic diagram is as follows Figure 1 As shown. The inter-station contact interface circuit of this station includes on-board safety interlock relays KA and KB. The inter-station contact interface circuit of this station is connected to the two input ports (B1 and B2) of the neighboring station peripheral circuit through two output ports (A1 and A2), and outputs positive voltage or negative voltage to the neighboring station peripheral circuit. The neighboring station peripheral circuit includes two relays J1 and J2, of which J1 is a signal AC negative effective relay and J2 is a check relay. The check relay is a non-polar relay, and the relay will be energized regardless of whether positive or negative electricity is connected. The signal AC negative effective relay is a polarized relay, and the relay is energized when negative electricity is connected, and the relay is dropped when positive electricity is connected.

[0004] use Figure 1 In the inter-field communication interface circuit shown, when the station switches positive and negative electricity to the outside, the difference in electrical characteristics between the KA relay and the KB relay makes it difficult for the two to be completely synchronized, resulting in abnormal risks in the interlocking logic during the switching process, affecting the safety of the signal system. Summary of the invention

[0005] The embodiment of the present application provides an interface device for an inter-field connection circuit, comprising: a main control module, a logic switch and a direction switch; the logic switch is connected between a power supply and the direction switch, and the direction switch is connected between the logic switch and the peripheral circuit; the power supply comprises a positive power line and a negative power line; The main control module is configured to send a direction control signal matching the polarity of the output voltage to the direction switch and send a first logic control signal to the logic switch when it is necessary to output a voltage to the peripheral circuit and there is no output before; when it is necessary to stop outputting the voltage to the peripheral circuit, keep the switch state of the direction switch unchanged and send a second logic control signal to the logic switch; when it is necessary to switch the polarity of the voltage output to the peripheral circuit, keep the switch state of the logic switch unchanged and send a direction control signal matching the polarity of the output voltage after switching to the direction switch; The logic switch is configured to connect the power supply to the direction switch upon receiving a first logic control signal and disconnect the power supply to the direction switch upon receiving a second logic control signal; a direction switch, configured to conduct a positive electrical path and disconnect a negative electrical path between the logic switch and the peripheral circuit, or to conduct a negative electrical path and disconnect a positive electrical path between the logic switch and the peripheral circuit according to a received direction control signal; Among them, the logic switch and the direction switch are switches supporting current commutation; and the peripheral circuit is a circuit supporting current commutation.

[0006] The embodiment of the present application provides a driving method of an interface device of an inter-field connection circuit, comprising: When the main control module needs to output voltage to the peripheral circuit and there is no output before, the main control module sends a direction control signal matching the polarity of the output voltage to the direction switch and sends a first logic control signal to the logic switch; the direction switch conducts the positive power path between the logic switch and the peripheral circuit and disconnects the negative power path according to the received direction control signal, or conducts the negative power path between the logic switch and the peripheral circuit and disconnects the positive power path; the logic switch receives the first logic control signal and conducts the connection between the power supply and the direction switch; When the main control module needs to switch the polarity of the voltage output to the peripheral circuit, the switch state of the logic switch is kept unchanged, and a direction control signal matching the polarity of the output voltage after switching is sent to the direction switch; the direction switch conducts the positive electrical path between the logic switch and the peripheral circuit and disconnects the negative electrical path, or conducts the negative electrical path between the logic switch and the peripheral circuit and disconnects the positive electrical path according to the received direction control signal; When the main control module needs to stop outputting voltage to the peripheral circuit, the switch state of the direction switch is kept unchanged, and a second logic control signal is sent to the logic switch; the logic switch receives the second logic control signal and disconnects the power supply from the direction switch; Among them, the logic switch and the direction switch are switches supporting current commutation; and the peripheral circuit is a circuit supporting current commutation.

[0007] In the interface device of the inter-field connection circuit provided by the embodiment of the present application and the driving method thereof, the logic switch determines whether the interface device outputs logic externally, and the direction switch determines the voltage polarity (positive or negative) of the interface device output externally. When the output of the interface device switches between positive and negative electricity, the logic switch maintains the previous connection state unchanged (no action is required), and only the direction switch needs to perform the reversing operation, thereby shortening the polarity switching time of the external output voltage, and the logic switch and the direction switch do not need to act at the same time when the positive and negative electricity are switched, avoiding abnormal output during the switching process, and improving the reliability of the interface device. By adopting a combined design of two-stage switches (logic switches and direction switches), it is possible to avoid the generation of erroneous output due to failure of a single device, so that the safety and reliability of the interface circuit are greatly improved.

[0008] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by implementing the present application. Other advantages of the present application can be realized and obtained by the schemes described in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The accompanying drawings are used to provide an understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0010] Figure 1 It is a structural schematic diagram of the field connection interface circuit in the related art; Figure 2 A schematic diagram of the structure of an interface device for an inter-field communication circuit provided in an embodiment of the present application; Figure 3 A schematic diagram of the structure of another interface device of an inter-field connection circuit provided in an embodiment of the present application; Figure 4 A structural schematic diagram of another inter-field communication circuit interface device provided in an embodiment of the present application (including a state acquisition module); Figure 5a A schematic diagram of the structure of a directional switch (including four sub-switches) is provided; Figure 5b A schematic diagram of another directional switch structure (including six sub-switches) is provided; Figure 6 A connection diagram of a direction switch and a first state acquisition module is provided; Figure 7a A schematic diagram of the structure of a logic switch (including two sub-switches) is provided; Figure 7b A schematic diagram of another logic switch structure (including three sub-switches) is provided; Figure 8 A connection diagram of a logic switch and a second state acquisition module is provided; Fig. 9 A connection diagram of a first power switch and a third state acquisition module is provided; Fig.10 A connection diagram of a second power switch and a fourth state acquisition module is provided; Fig.11 A flow chart of a driving method of an interface device of an inter-field connection circuit is provided. DETAILED DESCRIPTION

[0011] The present application describes multiple embodiments, but the description is exemplary rather than restrictive, and it is obvious to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present application. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.

[0012] The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in the present application may also be combined with any conventional features or elements to form a unique invention scheme. Any features or elements of any embodiment may also be combined with features or elements from other invention schemes to form another unique invention scheme. Therefore, it should be understood that any feature shown and / or discussed in the present application may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other restrictions. In addition, various modifications and changes may be made within the scope of protection of the attached claims.

[0013] In addition, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not rely on the specific order of the steps described herein, the method or process should not be limited to the steps of the specific order described. As will be understood by those of ordinary skill in the art, other sequences of steps are also possible. Therefore, the specific sequence of the steps set forth in the specification should not be interpreted as a limitation to the claims. In addition, the claims for the method and / or process should not be limited to the steps of performing them in the order written, and those skilled in the art can easily understand that these sequences can be changed and still remain within the spirit and scope of the embodiments of the present application.

[0014] like Figure 2 As shown, the embodiment of the present disclosure provides an interface device for an inter-field connection circuit, comprising: a main control module 1, a logic switch 2 and a direction switch 3; the logic switch is connected between a power supply and the direction switch, and the direction switch is connected between the logic switch and the peripheral circuit; the power supply comprises a positive power line V+ and a negative power line V-; The main control module is configured to send a direction control signal matching the polarity of the output voltage to the direction switch and send a first logic control signal to the logic switch when it is necessary to output a voltage to the peripheral circuit and there is no output before; when it is necessary to stop outputting the voltage to the peripheral circuit, keep the switch state of the direction switch unchanged and send a second logic control signal to the logic switch; when it is necessary to switch the polarity of the voltage output to the peripheral circuit, keep the switch state of the logic switch unchanged and send a direction control signal matching the polarity of the output voltage after switching to the direction switch; The logic switch is configured to connect the power supply to the direction switch upon receiving a first logic control signal and disconnect the power supply to the direction switch upon receiving a second logic control signal; a direction switch, configured to conduct a positive electrical path and disconnect a negative electrical path between the logic switch and the peripheral circuit, or to conduct a negative electrical path and disconnect a positive electrical path between the logic switch and the peripheral circuit according to a received direction control signal; Among them, the logic switch and the direction switch are switches supporting current commutation; and the peripheral circuit is a circuit supporting current commutation.

[0015] In the interface device of the inter-field connection circuit provided in the above embodiment, the logic switch determines whether the interface device outputs logic externally, and the direction switch determines the voltage polarity (positive or negative) of the interface device output externally. When the output of the interface device switches between positive and negative electricity, the logic switch maintains the previous connection state unchanged (no action is required), and only the direction switch needs to perform the reversing operation, thereby shortening the polarity switching time of the external output voltage. In addition, when the positive and negative electricity are switched, the logic switch and the direction switch do not need to act at the same time, avoiding abnormal output during the switching process, and improving the reliability of the interface device. By adopting a combined design of two-stage switches (logic switches and direction switches), it is possible to avoid the failure of a single device and the generation of erroneous output, so that the safety and reliability of the interface circuit are greatly improved.

[0016] In an exemplary embodiment, the switching speed of the directional switch may be faster than the switching speed of the logic switch.

[0017] By selecting a device with a switching speed faster than the logic switch as a directional switch, the switching time between positive and negative electricity can be further saved.

[0018] Figure 3A schematic diagram of the structure of another interface device for inter-field communication circuit is provided. Figure 3 As shown, in an exemplary embodiment, the interface device of the inter-field connection circuit may further include: a first power switch 41 and a second power switch 42; the first power switch is connected between the positive power line and the logic switch, and the second power switch is connected between the negative power line and the logic switch;

[0019] The main control module is further configured to send a first input control signal to the first power switch and the second power switch after sending a first logic control signal to the logic switch when it is necessary to output a voltage to the peripheral circuit and there is no output before; send a second input control signal to the first power switch and the second power switch before sending a second logic control signal to the logic switch when it is necessary to stop outputting a voltage to the peripheral circuit; and keep the switch states of the first power switch and the second power switch unchanged when it is necessary to switch the polarity of the voltage output to the peripheral circuit; The first power switch is configured to receive a first input control signal to connect the positive power line to the logic switch; and receive a second input control signal to disconnect the positive power line from the logic switch; The second power switch is configured to receive a first input control signal to connect the negative power line to the logic switch; and receive a second input control signal to disconnect the negative power line from the logic switch; The first power switch and the second power switch are switches supporting current commutation.

[0020] In an exemplary embodiment, the conduction capacity of the first power switch and the second power switch is greater than the conduction capacity of the logic switch and the direction switch. The power switch (the first power switch and the second power switch) is connected in series between the power supply and the logic switch. When the external output of the interface device is switched from the power-off state to the power-on state, by allowing the logic switch to operate first and the power switch to operate later, the impact of the short-term large current at the moment of power-on on the logic switch with weaker impact resistance can be avoided, thereby improving the safety of the interface device and extending the service life of the interface device. When the external output of the interface device is switched from the power-on state to the power-off state, by allowing the power switch to operate first and the logic switch to operate later, the impact of the short-term large current at the moment of power-off on the logic switch with weaker impact resistance can be avoided, thereby improving the safety of the interface device and extending the service life of the interface device.

[0021] Figure 4 A structural schematic diagram of another inter-field communication circuit interface device is provided. Figure 4 As shown, in an exemplary embodiment, the interface device of the inter-field connection circuit may also include at least one of the following state acquisition modules:

[0022] A first state acquisition module 51 is configured to acquire the switch state of a direction switch; A second state acquisition module 52 is configured to acquire the switch state of the logic switch; A third state acquisition module 53, configured to acquire the switch state of the first power switch; The fourth state acquisition module 54 is configured to acquire the switch state of the second power switch.

[0023] In an exemplary embodiment, the main control module is further configured to, when it is necessary to output a voltage to the peripheral circuit and there is no output before, send a direction control signal matching the polarity of the output voltage to the direction switch, and then collect the switch state of the direction switch through the first state acquisition module. If the switch state of the direction switch is correct, send a first logic control signal to the logic switch; if the switch state of the direction switch is incorrect, issue an alarm and terminate the next operation on the logic switch; or, it is further configured to, when it is necessary to output a voltage to the peripheral circuit and there is no output before, send a direction control signal matching the polarity of the output voltage to the direction switch, and then collect the switch state of the direction switch through the first state acquisition module. If the switch state of the direction switch is correct, send a first logic control signal to the logic switch, and collect the switch state of the logic switch through the second state acquisition module. If the switch state of the logic switch is correct, send a first input control signal to the first power switch and the second power switch. If the switch state of the logic switch is incorrect, issue an alarm and terminate the next operation on the first power switch and the second power switch; if the switch state of the direction switch is incorrect, issue an alarm and terminate the next operation on the logic switch, the first power switch and the second power switch.

[0024] In an exemplary embodiment, the main control module is also configured to, when it is necessary to stop outputting voltage to the peripheral circuit, send a second input control signal to the first power switch and the second power switch, collect the switch state of the first power switch through the third state acquisition module and collect the switch state of the second power switch through the fourth state acquisition module; if the switch states of the first power switch and the second power switch are both correct, send a second logic control signal to the logic switch; if the switch state of at least one of the first power switch and the second power switch is incorrect, send a second logic control signal to the logic switch and alarm; collect the switch state of the logic switch through the second state acquisition module, and if the switch state of the logic switch is incorrect, alarm is issued.

[0025] In an exemplary embodiment, the main control module is further configured to periodically collect the switch status; The switch state includes at least one of the following: a switch state of a directional switch, a switch state of a logic switch, a switch state of a first power switch, and a switch state of a second power switch.

[0026] The main control module can detect failed switches as soon as possible by periodically querying the switch status, thereby improving the safety and reliability of the interface device.

[0027] Figure 5a A schematic diagram of the structure of a directional switch is provided. Figure 5a As shown, in an exemplary embodiment, the direction switch includes: a first direction sub-switch KB1, a second direction sub-switch KB2, a third direction sub-switch KB3, a fourth direction sub-switch KB4, a first input port Vin1_KB, a second input port Vin2_KB, a third input port Vin3_KB, a fourth input port Vin4_KB, a first output port Vout1_KB, a second output port Vout2_KB, a third output port Vout3_KB and a fourth output port Vout4_KB;

[0028] The first input port of the directional switch is connected to the first output port Vout1_KA of the logic switch, the second input port of the directional switch is connected to the second output port Vout2_KA of the logic switch, the third input port of the directional switch is connected to the second output port Vout2_KA of the logic switch, and the fourth input port of the directional switch is connected to the first output port Vout1_KA of the logic switch; The first output port of the directional switch is connected to the first input port Vin1_WS of the peripheral circuit, the second output port of the directional switch is connected to the first input port Vin1_WS of the peripheral circuit, the third output port of the directional switch is connected to the second input port Vin2_WS of the peripheral circuit, and the fourth output port of the directional switch is connected to the second input port Vin2_WS of the peripheral circuit; The first directional sub-switch is connected between the first input port and the first output port of the directional switch; The second directional sub-switch is connected between the second input port and the second output port of the directional switch; The third directional sub-switch is connected between the third input port and the third output port of the directional switch; The fourth directional sub-switch is connected between the fourth input port and the fourth output port of the directional switch; The first direction sub-switch and the fourth direction sub-switch are interlocking switches, and the second direction sub-switch and the third direction sub-switch are interlocking switches; The first direction sub-switch and the third direction sub-switch have the same switch type and their control ends are connected together, and the second direction sub-switch and the fourth direction sub-switch have the same switch type and their control ends are connected together; wherein the switch types include: normally closed switch and normally open switch.

[0029] An interlock switch is a safety mechanism in which two or more actuators in a circuit restrict and protect each other through a certain logical relationship to prevent a failure of one of the actuators from causing malfunction of other actuators. Interlock switches are mainly used to ensure the safety of equipment or systems during operation, avoid simultaneous operation or operation, and thus prevent safety accidents. Two switches are interlock switches, which means that at any time only one of the two switches is in the on state, while the other is in the off state.

[0030] Figure 5b Another schematic diagram of the direction switch is provided. Figure 5b As shown, in an exemplary embodiment, the direction switch includes: a first direction sub-switch KB1, a second direction sub-switch KB2, a third direction sub-switch KB3, a fourth direction sub-switch KB4, a fifth direction sub-switch KB5, a sixth direction sub-switch KB6, a first input port Vin1_KB, a second input port Vin2_KB, a third input port Vin3_KB, a fourth input port Vin4_KB, a fifth input port Vin5_KB, a sixth input port Vin6_KB, a first output port Vout1_KB, a second output port Vout2_KB, a third output port Vout3_KB, a fourth output port Vout4_KB, a fifth output port Vout5_KB and a sixth output port Vout6_KB;

[0031] The first output port of the directional switch is connected to the first input port Vin1_WS of the peripheral circuit, the second output port of the directional switch is connected to the first input port Vin1_WS of the peripheral circuit, the third output port of the directional switch is connected to the second input port Vin2_WS of the peripheral circuit, and the fourth output port of the directional switch is connected to the second input port Vin2_WS of the peripheral circuit; The first output port of the directional switch is connected to the first input port Vin1_WS of the peripheral circuit, the second output port of the directional switch is connected to the first input port Vin1_WS of the peripheral circuit, the third output port of the directional switch is connected to the second input port Vin2_WS of the peripheral circuit, and the fourth output port of the directional switch is connected to the second input port Vin2_WS of the peripheral circuit; The first directional sub-switch is connected between the first input port and the first output port of the directional switch; The second directional sub-switch is connected between the second input port and the second output port of the directional switch; The third directional sub-switch is connected between the third input port and the third output port of the directional switch; The fourth directional sub-switch is connected between the fourth input port and the fourth output port of the directional switch; The fifth directional sub-switch is connected between the fifth input port and the fifth output port of the directional switch; The sixth directional sub-switch is connected between the sixth input port and the fourth output port of the directional switch; The first direction sub-switch and the fourth direction sub-switch are interlocking switches, the second direction sub-switch and the third direction sub-switch are interlocking switches, and the fifth direction sub-switch and the sixth direction sub-switch are interlocking switches; The first direction sub-switch, the third direction sub-switch and the fifth direction sub-switch are of the same switch type and their control ends are connected together, and the second direction sub-switch, the fourth direction sub-switch and the sixth direction sub-switch are of the same switch type and their control ends are connected together; wherein the switch types include: normally closed switch and normally open switch; The fifth directional sub-switch and the sixth directional sub-switch are used by the first state acquisition module to acquire the switch states of the directional switches.

[0032] Figure 6 A schematic diagram of the structure of the connection between a direction switch and a first state acquisition module is provided. Figure 6 As shown, in an exemplary embodiment, the interface device further includes: a first resistor R1 and a second resistor R2; the first state acquisition module includes: a first photoelectric coupler U1 and a second photoelectric coupler U2;

[0033] The first end of the primary side of the first photoelectric coupler is connected to the fifth output port of the direction switch, the second end of the primary side of the first photoelectric coupler is connected to the negative power line, the first end of the secondary side of the first photoelectric coupler serves as the first state acquisition end S1, and the second end of the secondary side of the first photoelectric coupler is grounded; The first end of the primary side of the second photoelectric coupler is connected to the sixth output port of the direction switch, and the second end of the primary side of the second photoelectric coupler is connected to the negative power line; the first end of the secondary side of the second photoelectric coupler serves as the second state acquisition end S2, and the second end of the secondary side of the second photoelectric coupler is grounded; One end of the first resistor is connected to the fifth input port of the direction switch, and the other end is connected to the positive power line; one end of the second resistor is connected to the sixth input port of the direction switch, and the other end is connected to the positive power line.

[0034] In an exemplary embodiment, the main control module is configured to determine the switching state of the direction switch in the following manner: when the first state acquisition end is a low level signal and the second state acquisition end is not a low level signal, the switching state of the direction switch is determined to output positive electricity to the peripheral circuit; when the second state acquisition end is a low level signal and the first state acquisition end is not a low level signal, the switching state of the direction switch is determined to output negative electricity to the peripheral circuit.

[0035] Figure 7a A schematic diagram of the structure of a logic switch is provided. Figure 7a As shown, in an exemplary embodiment, the logic switch includes: a first logic sub-switch KA1, a second logic sub-switch KA2, a first input port Vin1_KA, a second input port Vin2_KA, a first output port Vout1_KA and a second output port Vout2_KA;

[0036] The first logic sub-switch is connected between the first input port and the first output port of the logic switch; The second logic sub-switch is connected between the second input port and the second output port of the logic switch; The first logic sub-switch and the second logic sub-switch are normally open switches and their control ends are connected together.

[0037] In an exemplary embodiment, when the interface device does not include the first power switch and the second power switch, the first input port of the logic switch is directly connected to the positive power line; the second input port of the logic switch is directly connected to the negative power line; when the interface device includes the first power switch and the second power switch, the first input port of the logic switch is connected to the second end of the first power switch, the first end of the first power switch is connected to the positive power line, the second input port of the logic switch is connected to the second end of the second power switch, and the first end of the second power switch is connected to the negative power line.

[0038] In an exemplary embodiment, the first output port of the logic switch is connected to the first input port of the directional switch and the fourth input port of the directional switch, and the second output port of the logic switch is connected to the second input port of the directional switch and the third input port of the directional switch.

[0039] Figure 7b Another schematic diagram of the structure of a logic switch is provided. Figure 7b As shown, in an exemplary embodiment, the logic switch includes: a first logic sub-switch KA1, a second logic sub-switch KA2, a third logic sub-switch KA3, a first input port Vin1_KA, a second input port Vin2_KA, a third input port Vin3_KA, a first output port Vout1_KA, a second output port Vout2_KA and a third output port Vout3_KA;

[0040] The first logic sub-switch is connected between the first input port and the first output port of the logic switch; The second logic sub-switch is connected between the second input port and the second output port of the logic switch The third logic sub-switch is connected between the third input port and the third output port of the logic switch; The first logic sub-switch and the second logic sub-switch are normally open switches and their control ends are connected together, and the third logic sub-switch and the first logic sub-switch are interlocking switches; The third logic sub-switch is used for the second state acquisition module to acquire the switch state of the logic switch.

[0041] Figure 8 A schematic diagram of the structure of the connection between a logic switch and a second state acquisition module is provided. Figure 8 As shown, in an exemplary embodiment, the interface device further includes: a third resistor R3; the second state acquisition module includes: a third photoelectric coupler U3;

[0042] The first end of the primary side of the third photoelectric coupler is connected to the third output port of the logic switch, and the second end of the primary side of the third photoelectric coupler is connected to the negative power line; the first end of the secondary side of the third photoelectric coupler serves as the third state acquisition end S3, and the second end of the secondary side of the third photoelectric coupler is grounded; One end of the third resistor R3 is connected to the third input port of the logic switch, and the other end is connected to the positive line of the power supply.

[0043] In an exemplary embodiment, the main control module is configured to determine the switching state of the logic switch in the following manner: when the third state acquisition terminal is a low level signal, the switching state of the logic switch is determined to be disconnected; when the third state acquisition terminal is not a low level signal, the switching state of the logic switch is determined to be on.

[0044] Fig. 9 A structural diagram of the connection between a first power switch and a third state acquisition module is provided. Fig. 9 As shown, in an exemplary embodiment, the interface device further includes: a fourth resistor R4; the third state acquisition module includes: a fourth photoelectric coupler U4;

[0045] The first end of the primary side of the fourth photoelectric coupler is connected to the first end of the fourth resistor R4, and the second end of the primary side of the fourth photoelectric coupler is connected to the negative power line; the first end of the secondary side of the fourth photoelectric coupler serves as the fourth state acquisition end S4, and the second end of the secondary side of the fourth photoelectric coupler is grounded; A second end of the fourth resistor R4 is connected to one end of the first power switch KC1 , and the other end of the first power switch KC1 is connected to a positive power line.

[0046] In an exemplary embodiment, the main control module is configured to determine the switch state of the first power switch in the following manner: when the fourth state acquisition terminal is a low level signal, the switch state of the first power switch is determined to be on; when the fourth state acquisition terminal is not a low level signal, the switch state of the first power switch is determined to be off.

[0047] Fig.10 A structural diagram of the connection between a second power switch and a fourth state acquisition module is provided. Fig.10 As shown, in an exemplary embodiment, the interface device further includes: a fifth resistor R5; the fourth state acquisition module includes: a fifth photoelectric coupler U5;

[0048] The first end of the primary side of the fifth photoelectric coupler is connected to the first end of the fifth resistor R5, and the second end of the primary side of the fifth photoelectric coupler is connected to the first end of the second power switch KC2; the first end of the secondary side of the fifth photoelectric coupler serves as the fifth state acquisition end S5, and the second end of the secondary side of the fifth photoelectric coupler is grounded; A second end of the fifth resistor R5 is connected to a positive power line, and a second end of the second power switch KC2 is connected to a negative power line.

[0049] In an exemplary embodiment, the main control module is configured to determine the switch state of the second power switch in the following manner: when the fifth state acquisition terminal is a low level signal, the switch state of the second power switch is determined to be on; when the fifth state acquisition terminal is not a low level signal, the switch state of the second power switch is determined to be off.

[0050] In other implementations, the first state acquisition module, the second state acquisition module, the third state acquisition module and the fourth state acquisition module may also realize state acquisition of the switch signal through other devices such as magnetic and electric isolation.

[0051] The embodiment of the present application adopts a combination design of three-level switches (power switch, logic switch, direction switch), which can avoid the failure of a single component and produce erroneous output, thereby greatly improving the safety and reliability of the interface circuit.

[0052] In an exemplary embodiment, the direction switch, logic switch and power switch (first power switch, second power switch) are non-polarity relays. In other implementations, the direction switch, logic switch, first power switch and second power switch may also be other switch devices, such as bidirectional thyristors.

[0053] like Fig.11 As shown, the embodiment of the present disclosure provides a driving method of an interface device of an inter-field connection circuit, comprising: Step S10, when the main control module needs to output voltage to the peripheral circuit and there is no output before, the main control module sends a direction control signal matching the polarity of the output voltage to the direction switch, and sends a first logic control signal to the logic switch; the direction switch conducts the positive power path between the logic switch and the peripheral circuit and disconnects the negative power path according to the received direction control signal, or conducts the negative power path between the logic switch and the peripheral circuit and disconnects the positive power path; the logic switch receives the first logic control signal and conducts the connection between the power supply and the direction switch; Step S20: When the main control module needs to switch the polarity of the voltage output to the peripheral circuit, the switch state of the logic switch is kept unchanged, and a direction control signal matching the polarity of the output voltage after switching is sent to the direction switch; the direction switch conducts the positive electrical path between the logic switch and the peripheral circuit and disconnects the negative electrical path, or conducts the negative electrical path between the logic switch and the peripheral circuit and disconnects the positive electrical path according to the received direction control signal; Step S30, when the main control module needs to stop outputting voltage to the peripheral circuit, the switch state of the direction switch is kept unchanged, and a second logic control signal is sent to the logic switch; the logic switch receives the second logic control signal and disconnects the power supply from the direction switch; Among them, the logic switch and the direction switch are switches supporting current commutation; and the peripheral circuit is a circuit supporting current commutation.

[0054] In the driving method of the interface device of the inter-field connection circuit provided in the above embodiment, the logic switch determines whether the interface device outputs logic to the outside, and the direction switch determines the voltage polarity (positive or negative) of the interface device output to the outside. When the output of the interface device switches between positive and negative electricity, the logic switch maintains the previous connection state unchanged (no action is required), and only the direction switch needs to perform the reversing operation, thereby shortening the polarity switching time of the external output voltage and improving the reliability of the interface device. In addition, when switching between positive and negative electricity, the logic switch and the direction switch do not need to act at the same time, avoiding abnormal output during the switching process. By adopting a combined design of two-stage switches (logic switches and direction switches), it is possible to avoid the failure of a single device and the generation of erroneous output, thereby greatly improving the safety of the interface circuit.

[0055] In an exemplary embodiment, the driving method further includes: When the main control module needs to output voltage to the peripheral circuit and there is no output before, after sending the first logic control signal to the logic switch, it also sends the first input control signal to the first power switch and the second power switch; the first power switch receives the first input control signal and conducts the connection between the positive power line and the logic switch; the second power switch receives the first input control signal and conducts the connection between the negative power line and the logic switch; When the main control module needs to stop outputting voltage to the peripheral circuit, before sending the second logic control signal to the logic switch, it also sends a second input control signal to the first power switch and the second power switch; the first power switch receives the second input control signal and disconnects the positive power line from the logic switch; the second power switch receives the second input control signal and disconnects the negative power line from the logic switch; When the main control module needs to switch the polarity of the voltage output to the peripheral circuit, the switch states of the first power switch and the second power switch are kept unchanged; The first power switch and the second power switch are switches supporting current commutation.

[0056] In an exemplary embodiment, the driving method further includes: When the main control module needs to output voltage to the peripheral circuit and there is no output before, the main control module sends a direction control signal matching the polarity of the output voltage to the direction switch and then collects the switching state of the direction switch through the first state acquisition module. If the switching state of the direction switch is correct, the first logic control signal is sent to the logic switch; if the switching state of the direction switch is incorrect, an alarm is issued and the next operation on the logic switch is terminated.

[0057] In an exemplary embodiment, the driving method further includes: When the main control module needs to output voltage to the peripheral circuit and there is no output before, the main control module sends a direction control signal matching the polarity of the output voltage to the direction switch and then collects the switch state of the direction switch through the first state acquisition module. If the switch state of the direction switch is correct, the first logic control signal is sent to the logic switch, and the switch state of the logic switch is collected through the second state acquisition module. If the switch state of the logic switch is correct, the first input control signal is sent to the first power switch and the second power switch. If the switch state of the logic switch is incorrect, an alarm is issued and the next operation on the first power switch and the second power switch is terminated; if the switch state of the direction switch is incorrect, an alarm is issued and the next operation on the logic switch, the first power switch and the second power switch is terminated.

[0058] In an exemplary embodiment, the driving method further includes: When the main control module needs to stop outputting voltage to the peripheral circuit, the main control module sends a second input control signal to the first power switch and the second power switch, then collects the switch state of the first power switch through the third state acquisition module and collects the switch state of the second power switch through the fourth state acquisition module. If the switch states of the first power switch and the second power switch are both correct, the second logic control signal is sent to the logic switch; if the switch state of at least one of the first power switch and the second power switch is incorrect, the second logic control signal is sent to the logic switch and an alarm is sounded; the switch state of the logic switch is collected through the second state acquisition module, and if the switch state of the logic switch is incorrect, an alarm is sounded.

[0059] In an exemplary embodiment, the driving method further includes: The main control module periodically collects switch status; The switch state includes at least one of the following: a switch state of a directional switch, a switch state of a logic switch, a switch state of a first power switch, and a switch state of a second power switch.

[0060] The main control module can detect failed switches as soon as possible by periodically querying the switch status, thereby improving the safety and reliability of the interface device.

[0061] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is known to those skilled in the art, the term "computer storage medium" includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0062] In the description of this application, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first", "second", etc. may explicitly or implicitly include at least one of the features.

[0063] In the description of the present application, “plurality” means at least two, for example, two, three, etc., unless otherwise clearly and specifically defined.

[0064] In this application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed", etc. should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0065] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0066] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. An interface device for an inter-field communication circuit, comprising: A main control module, a logic switch and a direction switch; the logic switch is connected between the power supply and the direction switch, and the direction switch is connected between the logic switch and the peripheral circuit; the power supply includes a positive power line and a negative power line; The main control module is configured to send a direction control signal matching the polarity of the output voltage to the direction switch and send a first logic control signal to the logic switch when it is necessary to output a voltage to the peripheral circuit and there is no output before; when it is necessary to stop outputting the voltage to the peripheral circuit, keep the switch state of the direction switch unchanged and send a second logic control signal to the logic switch; when it is necessary to switch the polarity of the voltage output to the peripheral circuit, keep the switch state of the logic switch unchanged and send a direction control signal matching the polarity of the output voltage after switching to the direction switch; A logic switch, configured to receive a first logic control signal and connect the power supply to the direction switch; Receiving a second logic control signal, disconnecting the power supply from the direction switch; a direction switch configured to conduct a positive electrical path and disconnect a negative electrical path between the logic switch and the peripheral circuit, or to conduct a negative electrical path and disconnect a positive electrical path between the logic switch and the peripheral circuit according to a received direction control signal; Among them, the logic switch and the direction switch are switches supporting current commutation; and the peripheral circuit is a circuit supporting current commutation.

2. The interface device according to claim 1, characterized in that: The interface device of the inter-field connection circuit further includes: a first power switch and a second power switch; the first power switch is connected between the positive power line and the logic switch, and the second power switch is connected between the negative power line and the logic switch; The main control module is further configured to send a first input control signal to the first power switch and the second power switch after sending a first logic control signal to the logic switch when it is necessary to output a voltage to the peripheral circuit and there is no output before; send a second input control signal to the first power switch and the second power switch before sending a second logic control signal to the logic switch when it is necessary to stop outputting a voltage to the peripheral circuit; and keep the switch states of the first power switch and the second power switch unchanged when it is necessary to switch the polarity of the voltage output to the peripheral circuit; The first power switch is configured to receive a first input control signal to connect the positive power line to the logic switch; and receive a second input control signal to disconnect the positive power line from the logic switch; The second power switch is configured to receive a first input control signal to connect the negative power line to the logic switch; and receive a second input control signal to disconnect the negative power line from the logic switch; The first power switch and the second power switch are switches supporting current commutation.

3. The interface device according to claim 2, characterized in that: The interface device of the inter-field connection circuit also includes at least one of the following status acquisition modules: A first state acquisition module, configured to acquire the switch state of the direction switch; A second state acquisition module is configured to acquire the switch state of the logic switch; A third state acquisition module is configured to acquire the switch state of the first power switch; The fourth state acquisition module is configured to acquire the switch state of the second power switch.

4. The interface device according to claim 3, characterized in that: The main control module is further configured to, when it is necessary to output a voltage to the peripheral circuit and there is no output before, send a direction control signal matching the polarity of the output voltage to the direction switch, and then collect the switch state of the direction switch through the first state acquisition module. If the switch state of the direction switch is correct, send a first logic control signal to the logic switch; if the switch state of the direction switch is incorrect, issue an alarm and terminate the next operation on the logic switch; or, it is further configured to, when it is necessary to output a voltage to the peripheral circuit and there is no output before, send a direction control signal matching the polarity of the output voltage to the direction switch, and then collect the switch state of the direction switch through the first state acquisition module. If the switch state of the direction switch is correct, send a first logic control signal to the logic switch, and collect the switch state of the logic switch through the second state acquisition module. If the switch state of the logic switch is correct, send a first input control signal to the first power switch and the second power switch. If the switch state of the logic switch is incorrect, issue an alarm and terminate the next operation on the first power switch and the second power switch; if the switch state of the direction switch is incorrect, issue an alarm and terminate the next operation on the logic switch, the first power switch and the second power switch.

5. The interface device according to claim 3, characterized in that: The main control module is further configured to, when it is necessary to stop outputting voltage to the peripheral circuit, send a second input control signal to the first power switch and the second power switch, collect the switch state of the first power switch through the third state acquisition module and collect the switch state of the second power switch through the fourth state acquisition module, and if the switch states of the first power switch and the second power switch are both correct, send a second logic control signal to the logic switch; if the switch state of at least one of the first power switch and the second power switch is incorrect, send a second logic control signal to the logic switch and alarm; The switch state of the logic switch is collected by the second state collection module, and if the switch state of the logic switch is incorrect, an alarm is issued.

6. The interface device according to claim 1, characterized in that: The direction switch comprises: a first direction sub-switch, a second direction sub-switch, a third direction sub-switch, a fourth direction sub-switch, a first input port, a second input port, a third input port, a fourth input port, a first output port, a second output port, a third output port and a fourth output port; The first input port of the directional switch is connected to the first output port of the logic switch, the second input port of the directional switch is connected to the second output port of the logic switch, the third input port of the directional switch is connected to the second output port of the logic switch, and the fourth input port of the directional switch is connected to the first output port of the logic switch; The first output port of the directional switch is connected to the first input port of the peripheral circuit, the second output port of the directional switch is connected to the first input port of the peripheral circuit, the third output port of the directional switch is connected to the second input port of the peripheral circuit, and the fourth output port of the directional switch is connected to the second input port of the peripheral circuit; The first directional sub-switch is connected between the first input port and the first output port of the directional switch; The second directional sub-switch is connected between the second input port and the second output port of the directional switch; The third directional sub-switch is connected between the third input port and the third output port of the directional switch; The fourth directional sub-switch is connected between the fourth input port and the fourth output port of the directional switch; The first direction sub-switch and the fourth direction sub-switch are interlocking switches, and the second direction sub-switch and the third direction sub-switch are interlocking switches; The first directional sub-switch and the third directional sub-switch have the same switch type and their control ends are connected together, and the second directional sub-switch and the fourth directional sub-switch have the same switch type and their control ends are connected together; wherein the switch types include: normally closed switch and normally open switch.

7. The interface device according to claim 1, characterized in that: The logic switch comprises: a first logic sub-switch, a second logic sub-switch, a first input port, a second input port, a first output port, and a second output port; the first input port of the logic switch is connected to the positive power line, the second input port of the logic switch is connected to the negative power line, the first output port of the logic switch is connected to the first input port of the direction switch and the fourth input port of the direction switch, and the second output port of the logic switch is connected to the second input port of the direction switch and the third input port of the direction switch; The first logic sub-switch is connected between the first input port and the first output port of the logic switch; The second logic sub-switch is connected between the second input port and the second output port of the logic switch; The first logic sub-switch and the second logic sub-switch are normally open switches and their control ends are connected together.

8. The interface device according to claim 3, characterized in that: The direction switch comprises: a first direction sub-switch, a second direction sub-switch, a third direction sub-switch, a fourth direction sub-switch, a fifth direction sub-switch, a sixth direction sub-switch, a first input port, a second input port, a third input port, a fourth input port, a fifth input port, a sixth input port, a first output port, a second output port, a third output port, a fourth output port, a fifth output port and a sixth output port; The first input port of the directional switch is connected to the first output port of the logic switch, the second input port of the directional switch is connected to the second output port of the logic switch, the third input port of the directional switch is connected to the second output port of the logic switch, and the fourth input port of the directional switch is connected to the first output port of the logic switch; The first output port of the directional switch is connected to the first input port of the peripheral circuit, the second output port of the directional switch is connected to the first input port of the peripheral circuit, the third output port of the directional switch is connected to the second input port of the peripheral circuit, and the fourth output port of the directional switch is connected to the second input port of the peripheral circuit; The first directional sub-switch is connected between the first input port and the first output port of the directional switch; The second directional sub-switch is connected between the second input port and the second output port of the directional switch; The third directional sub-switch is connected between the third input port and the third output port of the directional switch; The fourth directional sub-switch is connected between the fourth input port and the fourth output port of the directional switch; The fifth directional sub-switch is connected between the fifth input port and the fifth output port of the directional switch; The sixth directional sub-switch is connected between the sixth input port and the fourth output port of the directional switch; The first direction sub-switch and the fourth direction sub-switch are interlocking switches, the second direction sub-switch and the third direction sub-switch are interlocking switches, and the fifth direction sub-switch and the sixth direction sub-switch are interlocking switches; The first direction sub-switch, the third direction sub-switch and the fifth direction sub-switch are of the same switch type and their control ends are connected together, and the second direction sub-switch, the fourth direction sub-switch and the sixth direction sub-switch are of the same switch type and their control ends are connected together; wherein the switch types include: normally closed switch and normally open switch; The fifth directional sub-switch and the sixth directional sub-switch are used by the first state acquisition module to acquire the switch states of the directional switches.

9. The interface device according to claim 8, characterized in that: The interface device further includes: a first resistor and a second resistor; the first state acquisition module includes: a first photoelectric coupler and a second photoelectric coupler; The first end of the primary side of the first photoelectric coupler is connected to the fifth output port of the direction switch, the second end of the primary side of the first photoelectric coupler is connected to the negative power line, the first end of the secondary side of the first photoelectric coupler serves as the first state acquisition end, and the second end of the secondary side of the first photoelectric coupler is grounded; The first end of the primary side of the second photoelectric coupler is connected to the sixth output port of the direction switch, and the second end of the primary side of the second photoelectric coupler is connected to the negative power line; the first end of the secondary side of the second photoelectric coupler serves as the second state acquisition end, and the second end of the secondary side of the second photoelectric coupler is grounded; One end of the first resistor is connected to the fifth input port of the direction switch, and the other end is connected to the positive power line; one end of the second resistor is connected to the sixth input port of the direction switch, and the other end is connected to the positive power line.

10. The interface device according to claim 3, characterized in that: The logic switch comprises: a first logic sub-switch, a second logic sub-switch, a third logic switch, a first input port, a second input port, a third input port, a first output port, a second output port and a third output port; The first input port of the logic switch is connected to the second end of the first power switch, the first end of the first power switch is connected to the positive power line, the second input port of the logic switch is connected to the second end of the second power switch, the first end of the second power switch is connected to the negative power line, the first output port of the logic switch is connected to the first input port of the directional switch and the fourth input port of the directional switch, and the second output port of the logic switch is connected to the second input port of the directional switch and the third input port of the directional switch; The first logic sub-switch is connected between the first input port and the first output port of the logic switch; The second logic sub-switch is connected between the second input port and the second output port of the logic switch; The third logic sub-switch is connected between the third input port and the third output port of the logic switch; The first logic sub-switch and the second logic sub-switch are normally open switches and their control ends are connected together, and the third logic sub-switch and the first logic sub-switch are interlocking switches; The third logic sub-switch is used for the second state acquisition module to acquire the switch state of the logic switch.

11. The interface device according to claim 10, characterized in that: The interface device further includes: a third resistor; the second state acquisition module includes: a third photoelectric coupler; The first end of the primary side of the third photoelectric coupler is connected to the third output port of the logic switch, and the second end of the primary side of the third photoelectric coupler is connected to the negative power line; the first end of the secondary side of the third photoelectric coupler serves as the third state acquisition end, and the second end of the secondary side of the third photoelectric coupler is grounded; One end of the third resistor is connected to the third input port of the logic switch, and the other end is connected to the positive power line.

12. The interface device according to claim 3, characterized in that: The interface device further comprises: a fourth resistor; the third state acquisition module comprises: a fourth photoelectric coupler; The first end of the primary side of the fourth photoelectric coupler is connected to the first end of the fourth resistor, and the second end of the primary side of the fourth photoelectric coupler is connected to the negative power line; the first end of the secondary side of the fourth photoelectric coupler serves as a fourth state acquisition end, and the second end of the secondary side of the fourth photoelectric coupler is grounded; The second end of the fourth resistor is connected to one end of the first power switch, and the other end of the first power switch is connected to the positive power line.

13. The interface device according to claim 3, characterized in that: The interface device further includes: a fifth resistor; the fourth state acquisition module includes: a fifth photoelectric coupler; The first end of the primary side of the fifth photoelectric coupler is connected to the first end of the fifth resistor, and the second end of the primary side of the fifth photoelectric coupler is connected to the first end of the second power switch; the first end of the secondary side of the fifth photoelectric coupler serves as the fifth state acquisition end, and the second end of the secondary side of the fifth photoelectric coupler is grounded; The second end of the fifth resistor is connected to the positive power line, and the second end of the second power switch is connected to the negative power line.

14. A method for driving an interface device of an inter-field connection circuit, comprising: When the main control module needs to output voltage to the peripheral circuit and there is no output before, the main control module sends a direction control signal matching the polarity of the output voltage to the direction switch and sends a first logic control signal to the logic switch; The direction switch conducts the positive electrical path between the logic switch and the peripheral circuit and disconnects the negative electrical path, or conducts the negative electrical path between the logic switch and the peripheral circuit and disconnects the positive electrical path according to the received direction control signal; The logic switch receives the first logic control signal and switches on the connection between the power supply and the direction switch; When the main control module needs to switch the polarity of the voltage output to the peripheral circuit, the switch state of the logic switch is kept unchanged, and a direction control signal matching the polarity of the output voltage after switching is sent to the direction switch; The direction switch conducts the positive electrical path between the logic switch and the peripheral circuit and disconnects the negative electrical path, or conducts the negative electrical path between the logic switch and the peripheral circuit and disconnects the positive electrical path according to the received direction control signal; When the main control module needs to stop outputting voltage to the peripheral circuit, the switch state of the direction switch is kept unchanged, and a second logic control signal is sent to the logic switch; the logic switch receives the second logic control signal and disconnects the power supply from the direction switch; Among them, the logic switch and the direction switch are switches supporting current commutation; and the peripheral circuit is a circuit supporting current commutation.

15. The method according to claim 14, characterized in that The driving method further includes: When the main control module needs to output voltage to the peripheral circuit and there is no output before, after sending the first logic control signal to the logic switch, it also sends the first input control signal to the first power switch and the second power switch; the first power switch receives the first input control signal and conducts the connection between the positive power line and the logic switch; the second power switch receives the first input control signal and conducts the connection between the negative power line and the logic switch; When the main control module needs to stop outputting voltage to the peripheral circuit, before sending the second logic control signal to the logic switch, it also sends a second input control signal to the first power switch and the second power switch; the first power switch receives the second input control signal and disconnects the positive power line from the logic switch; the second power switch receives the second input control signal and disconnects the negative power line from the logic switch; When the main control module needs to switch the polarity of the voltage output to the peripheral circuit, the switch states of the first power switch and the second power switch are kept unchanged; The first power switch and the second power switch are switches supporting current commutation.