Four-party voting circuit, fault diagnosis method and storage medium for SIS safety system

By designing a four-party voting circuit in the SIS system, using series switches and detection circuits combined with or gates and processing circuits, the diagnosis of driving circuit failures is realized, the problem of high hardware costs is solved, and the safety and reliability of the system are improved.

CN114995354BActive Publication Date: 2024-11-12ZHEJIANG ZHENGTAI ZHONGZI CONTROLLING ENG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210727217.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-24
Publication Date
2024-11-12
Estimated Expiration
2042-06-24

AI Technical Summary

Technical Problem

In safety instrumentation systems (SIS), the prior art has high hardware costs because each driving circuit needs to be configured with corresponding detection circuits and readback circuits.

Method used

A four-party voting circuit is designed to diagnose the fault of the driver circuit by connecting the series switch circuit and the detection circuit on the load power supply circuit, using the OR gate and processing circuit. Only one detection circuit is needed to reduce the hardware cost.

Benefits of technology

It realizes accurate diagnosis of driver circuit faults, reduces hardware costs, and simplifies the circuit structure and improves the safety and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114995354B_ABST
    Figure CN114995354B_ABST
Patent Text Reader

Abstract

The present invention discloses a four-party voting circuit, a fault diagnosis method and a storage medium for an SIS safety system, including a switch circuit, a detection circuit, a drive circuit and a processing circuit. The detection circuit is used to detect whether the power supply circuit of the load is turned on and output a corresponding detection signal; the processing circuit is used to receive the detection signal transmitted by the detection circuit, and judge whether the drive circuit fails according to the detection signal. If the drive circuit fails, the processing circuit sends an alarm message. If the drive circuit does not fail, the processing circuit transmits control signals to the first drive circuit, the second drive circuit and the third drive circuit respectively. By designing a simplified circuit to reduce hardware costs, and in conjunction with a special fault diagnosis method, the circuit can still detect whether each drive circuit has a fault to meet the application in the SIS safety system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of hardware circuits, and in particular to a four-party voting circuit, a fault diagnosis method and a storage medium for a SIS safety system. Background Art

[0002] SIS (Safety Instrument System) refers to a system that can implement one or more safety functions. It is used to monitor the operation of production equipment or independent units. If the production process exceeds the safe operating range, it can be put into a safe state to ensure that the equipment or independent unit has a certain degree of safety.

[0003] During the operation of the safety instrumented system, the system needs to diagnose its key circuits and report the location of failed circuits in a relatively detailed and accurate manner to ensure safe and reliable operation of the system.

[0004] See also Figure 1 , Figure 1 This is a circuit diagram for detecting the states of multiple drive circuits in the related art. The circuit disclosed in the figure has the function of diagnosing the states of the first drive circuit, the second drive circuit, the third drive circuit, and the fourth drive circuit. The above function is achieved by setting corresponding detection circuits and readback circuits for each drive circuit. Taking the first drive circuit as an example, when it is necessary to diagnose whether the first drive circuit can output high normally, CPU_A, CPU_B, and CPU_C simultaneously control the first drive circuit to turn on the first controllable switch; after the first controllable switch is turned on, the first detection circuit and the first readback circuit are used to read whether the output is high.

[0005] The above circuit can be applied in SIS. By continuously detecting the status of the corresponding drive circuit, once a drive circuit fails, the staff can be notified in time for maintenance, thereby ensuring the safe and reliable operation of the system.

[0006] But obviously, since each driving circuit needs to be equipped with a corresponding detection circuit and a readback circuit to implement fault diagnosis, the hardware cost is extremely high. Summary of the invention

[0007] In order to reduce hardware costs, the present application provides a four-party voting circuit, a fault diagnosis method and a storage medium for a SIS safety system.

[0008] In a first aspect, the present application provides a four-party voting circuit for a SIS safety system, which adopts the following technical solution:

[0009] A four-party voting circuit for a SIS safety system, comprising a switch circuit, a detection circuit, a drive circuit and a processing circuit, wherein the drive circuits are three, and the three drive circuits are defined as a first drive circuit, a second drive circuit and a third drive circuit respectively;

[0010] The switch circuit and the detection circuit are connected in series to the power supply circuit of the load.

[0011] The switch circuit includes a first branch and a second branch connected in parallel, the first branch includes a first switch and a third switch connected in series, and the second branch includes a second switch and a fourth switch connected in series;

[0012] The detection circuit is used to detect whether the power supply circuit of the load is turned on and output a corresponding detection signal;

[0013] The processing circuit is respectively connected to the detection circuit, the first drive circuit, the second drive circuit and the third drive circuit;

[0014] The processing circuit is used to receive the detection signal transmitted by the detection circuit, and determine whether the driving circuit fails according to the detection signal. If the driving circuit fails, the processing circuit sends an alarm message. If the driving circuit does not fail, the processing circuit transmits control signals to the first driving circuit, the second driving circuit and the third driving circuit respectively.

[0015] The first drive circuit is connected to the control end of the first switch and is used to receive a control signal and respond to the control signal to control the first switch to turn on and off;

[0016] The second driving circuit is connected to the control end of the second switch and is used to receive a control signal and respond to the control signal to control the second switch to turn on or off;

[0017] The third driving circuit is connected to the control end of the third switch and is used to receive a control signal and respond to the control signal to control the on and off of the third switch;

[0018] The first driving circuit and the third driving circuit are respectively connected to two input terminals of an OR gate, and an output terminal of the OR gate is connected to a control terminal of a fourth switch.

[0019] Through the above technical solution, through the application of the OR gate, the two drive circuits can jointly control a switch on the basis of individually controlling the corresponding switches, so that the on and off states of the load circuit can produce richer changes by changing the control signal, thereby realizing the diagnosis of the fault of the drive circuit by only using one detection circuit.

[0020] Optionally, the processing circuit includes a readback circuit and three processors;

[0021] The readback circuit is connected to the detection circuit and the input terminals of the three processors respectively, and the output terminals of the three processors are also connected to the first drive circuit, the second drive circuit and the third drive circuit respectively.

[0022] The readback circuit is used to obtain the detection signal transmitted by the detection circuit, expand the detection signal into three identical readback signals, and then synchronously transmit the three readback signals to the three processors;

[0023] The processor is used to receive the readback signal and determine whether there is a drive circuit fault based on the readback signal. If there is a drive circuit fault, the processor issues an alarm; if there is no drive circuit fault, the processor generates a control signal based on the readback signal and transmits it to the connected drive circuit.

[0024] Optionally, the processing circuit includes a readback circuit and three processors;

[0025] The readback circuit is connected to the detection circuit and the three processors respectively, and the output ends of the three processors are also connected to the first drive circuit, the second drive circuit and the third drive circuit respectively.

[0026] The readback circuit is used to receive the detection signal and determine whether there is a drive circuit fault based on the detection signal. If there is a drive circuit fault, the readback circuit issues an alarm; if there is no drive circuit fault, the readback circuit generates three readback signals based on the detection signal and synchronously transmits the readback signals to the three processors respectively. The processors are used to generate corresponding control signals based on the received readback signals and transmit the control signals to the connected drive circuits.

[0027] Optionally, the processing circuit includes a readback circuit;

[0028] The readback circuit is connected to the detection circuit, the first drive circuit, the second drive circuit and the third drive circuit respectively;

[0029] The readback circuit is used to receive the detection signal output by the detection circuit and determine whether there is a drive circuit fault based on the detection signal. If there is a drive circuit fault, the readback circuit issues an alarm message; if there is no drive circuit fault, the readback circuit generates three control signals and transmits them to the first drive circuit, the second drive circuit and the third drive circuit respectively.

[0030] In a second aspect, the present application provides a fault diagnosis method for a four-party voting circuit of a SIS safety system, which adopts the following technical solution:

[0031] A fault diagnosis method for a four-party voting circuit of a SIS safety system comprises the following steps:

[0032] Acquire a detection signal, store the detection results represented by the detection signal, and determine whether the number of stored detection results reaches a preset number,

[0033] If the number of stored test results does not reach the preset number, a corresponding control signal is sent according to the number of currently stored test results;

[0034] If the number of stored test results reaches a preset number, the test results are arranged in the order of storage to form a result set;

[0035] According to the result set, the corresponding device status is matched from the pre-stored prediction set; wherein the prediction set stores the result sets of all arrangement orders and the device status corresponding to the result sets one by one,

[0036] Determine whether the matched device status is normal;

[0037] If the matched device status is normal, the stored detection results are cleared and a preset control signal is sent;

[0038] If the matched device state is not a normal state, an alarm message is generated according to the matched device state and the alarm message is issued.

[0039] Through the above technical solution, in order to cooperate with the above-mentioned four-party voting circuit, a single detection result cannot directly and accurately determine whether there is a drive circuit fault and further determine which specific drive circuit fault it is. Therefore, the prerequisite for judging the drive circuit fault is first met by storing the detection results, and different control signals are issued according to the number of stored detection results to produce diversified detection results.

[0040] Optionally, sending a preset control signal based on the number of currently stored test results includes the following steps: matching a corresponding control signal from a preset serial number table based on the number of currently stored test results and sending it, wherein the serial number table stores a plurality of numerical values ​​for characterizing the number of test results and control signals corresponding one-to-one to the numerical values.

[0041] Optionally, clearing the stored detection results and sending a preset control signal includes the following steps:

[0042] Clear the stored test results, replace the prediction set and the corresponding serial number table used for result set matching according to the preset replacement order, match the corresponding preset control signal from the new serial number table according to the number of currently stored test results, and send the matched control information number.

[0043] Optionally, there are two prediction sets, which correspond to the two states of load power on and load power off respectively, there are two serial number tables, which correspond one-to-one to the two prediction sets, and the preset replacement order is to cyclically alternate the two prediction sets and the corresponding serial number tables.

[0044] In a third aspect, the present application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute the above-mentioned fault diagnosis method for a four-party voting circuit of a SIS safety system.

[0045] In summary, by designing a simplified circuit to reduce hardware costs, and in conjunction with a special fault diagnosis method, the circuit can still detect whether each drive circuit has a fault to meet the application in the SIS safety system. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 It is a circuit diagram used for detecting the state of a multi-driving circuit in the related art.

[0047] Figure 2 It is a schematic diagram of the circuit structure of an embodiment of the present application.

[0048] Figure 3 This is a circuit structure diagram of Example 1 of the present application.

[0049] Figure 4 It is a flowchart of the steps of the fault diagnosis method of an embodiment of the present application.

[0050] Figure 5 It is a schematic diagram of the serial number table in the embodiment of the present application.

[0051] Figure 6 It is a schematic diagram of the prediction set in the embodiment of the present application.

[0052] Description of reference numerals:

[0053] 1. Switching circuit; 2. Detection circuit; 3. Processing circuit. DETAILED DESCRIPTION

[0054] The following is combined with Figures 2 to 6 This application is described in further detail.

[0055] Embodiment 1:

[0056] This application provides a four-party voting circuit for a SIS safety system. Figure 2 , including a switching circuit 1, a detection circuit 2, a driving circuit and a processing circuit 3.

[0057] The switch circuit 1 and the detection circuit 2 are both connected in series to the power supply circuit of the load. The switch circuit 1 includes a first branch and a second branch connected in parallel, the first branch includes a first switch and a third switch connected in series, and the second branch includes a second switch and a fourth switch connected in series. The first switch, the second switch, the third switch and the fourth switch are switch components such as MOS tubes or transistors that have the function of receiving signals and switching on and off according to the signals. The detection circuit 2 is used to detect whether the power supply circuit of the load is turned on and output a corresponding detection signal. In this embodiment, a specific introduction is given by taking the switch components as NPN transistors, the detection circuit 2 as a voltage detection circuit 2, and the detection signal as a voltage signal as an example.

[0058] Specifically, as long as either the first branch or the second branch is connected, the power supply circuit of the load will be turned on, and the detection signal output by the detection circuit 2 will be high level. As long as both the first branch and the second branch are turned off, the power supply circuit of the load will be disconnected, and the detection signal output by the detection circuit 2 will be low level.

[0059] There are three drive circuits. For the convenience of the following description, the three drive circuits are defined as the first drive circuit, the second drive circuit and the third drive circuit, respectively. However, it should be noted that the three drive circuits are identical in structure. The three drive circuits respectively control the on and off of the above four switches: the output end of the first drive circuit is connected to the control end of the first switch, the output end of the second drive circuit is connected to the control end of the second switch, and the output end of the third drive circuit is connected to the controller of the third switch. As for the fourth switch, it is controlled by the first drive circuit and the third drive circuit at the same time. Specifically, the four-party voting circuit also includes an OR gate, the output end of the OR gate is connected to the control end of the fourth switch, and the two input ends of the OR gate are respectively connected to the first drive circuit and the third drive circuit. The above control ends are all the bases of the corresponding transistors.

[0060] The processing circuit 3 is connected to the detection circuit 2 , the first driving circuit, the second driving circuit and the third driving circuit respectively.

[0061] The processing circuit 3 is used to receive the detection signal transmitted by the detection circuit 2, and determine whether the driving circuit fails based on the detection signal. If the driving circuit fails, the processing circuit 3 sends an alarm message; if the driving circuit does not fail, the processing circuit 3 transmits control signals to the first driving circuit, the second driving circuit and the third driving circuit respectively.

[0062] The first drive circuit, the second drive circuit and the third drive circuit output corresponding drive signals according to the control signal. When the drive signal output by the first drive circuit is at a high level, the first switch is turned on; when the drive signal output by the second drive circuit is at a high level, the second switch is turned on; when the drive signal output by the third drive circuit is at a high level, the third switch is turned on. In addition, when the drive signal output by any one of the first drive circuit and the third drive circuit is at a high level, the fourth switch is turned on.

[0063] See also Figure 3 , the processing circuit 3 includes a readback circuit and three processors.

[0064] The readback circuit is connected to the detection circuit 2 and the input terminals of the three processors respectively, and the output terminals of the three processors are also connected to the first drive circuit, the second drive circuit and the third drive circuit respectively, wherein the processor connected to the first drive circuit is defined as processor A, the processor connected to the second drive circuit is defined as processor B, and the processor connected to the third drive circuit is defined as processor C. In this embodiment, the readback circuit is an MCU.

[0065] The readback circuit is used to obtain the detection signal transmitted by the detection circuit 2, and expand the detection signal into three identical readback signals and then synchronously transmit the three readback signals to the three processors.

[0066] The processor is used to receive the readback signal and determine whether there is a drive circuit fault based on the readback signal. If there is a drive circuit fault, the processor issues an alarm; if there is no drive circuit fault, the processor generates a control signal based on the readback signal and transmits it to the connected drive circuit.

[0067] The readback signal output by the readback circuit is the same as the detection signal it receives. The readback circuit simply copies one detection signal into three readback signals. And through the synchronous transmission of the readback circuit, the three processors can simultaneously receive the readback signal and respond to the readback signal. Since the programs used to determine whether the drive circuit is faulty in the three processors are the same, the time consumed by the program operation is short and similar, and can basically be ignored. Therefore, when the drive circuit is not faulty, the three processors can synchronously transmit control signals to the connected drive circuits after synchronously receiving the readback signal.

[0068] In addition, all three processors are equipped with programs for determining whether the drive circuit is faulty and programs for generating control signals. As long as any processor determines that there is a fault in the drive circuit, an alarm message will be issued to avoid the situation where the drive circuit damage is not discovered in time when a program error occurs in a processor or even two processors.

[0069] The procedure for determining whether the driving circuit is faulty and how the procedure for generating the control signal operates will be introduced in detail in the subsequent fault diagnosis method, and only a brief description is given here.

[0070] Embodiment 2:

[0071] The difference from the first embodiment is that the processing circuit includes a readback circuit and three processors.

[0072] The readback circuit is connected to the detection circuit and the three processors respectively, and the output ends of the three processors are also connected to the first drive circuit, the second drive circuit and the third drive circuit respectively.

[0073] The readback circuit is used to receive the detection signal and determine whether there is a fault in the driving circuit according to the detection signal. If there is a fault in the driving circuit, the readback circuit will issue an alarm. If there is no fault in the driving circuit, the readback circuit will generate three readback signals according to the detection signal and synchronously transmit the readback signals to three processors respectively. The processors are used to generate corresponding control signals according to the received readback signals and transmit the control signals to the connected driving circuits.

[0074] Compared with Example 1, in this embodiment, the program for determining whether there is a fault in the driving circuit is not set in the processor, but is installed in the readback circuit. Although once the program in the readback circuit is wrong, the entire circuit will not be able to normally determine whether there is a fault in the driving circuit, it can effectively reduce the frequency of program entry, thereby reducing the production steps and time of the entire circuit.

[0075] Embodiment 3:

[0076] The difference from the second embodiment is that the processing circuit in this embodiment includes a readback circuit, and the readback circuit is connected to the detection circuit, the first drive circuit, the second drive circuit and the third drive circuit respectively.

[0077] The readback circuit is used to receive the detection signal output by the detection circuit and determine whether there is a drive circuit fault based on the detection signal. If there is a drive circuit fault, the readback circuit issues an alarm message; if there is no drive circuit fault, the readback circuit generates three control signals and transmits them to the first drive circuit, the second drive circuit and the third drive circuit respectively.

[0078] Compared with Example 2, the program for determining the fault and the program for generating the control signal are both set in the readback circuit, thereby reducing the setting of the processor, further optimizing the composition structure of the processing circuit, and helping to reduce the circuit volume. Of course, correspondingly, if the readback circuit fails, the cost of replacement is greater.

[0079] The present application also provides a fault diagnosis method for a four-party voting circuit of a SIS safety system, see Figure 4 , including the following steps:

[0080] S100, acquiring a detection signal, storing the detection results represented by the detection signal, and determining whether the number of the stored detection results reaches a preset number.

[0081] The detection signal is provided by the detection circuit. When the detection signal is at a high level, the stored detection result is 1; when the detection signal is at a low level, the stored detection result is 0.

[0082] In the above-mentioned embodiments 1 to 3, the overall architecture of the four-party voting circuit is the same, and only the internal structure of the processing circuit used for information processing is different. Here, the structure of the four-party voting circuit disclosed in embodiment 1 is used as an example to further introduce the principle of the fault diagnosis method.

[0083] In combination with the four-party voting circuit disclosed in Example 1, the relationship between the driving circuit state and the load power supply can be expressed by three control signals and detection signal quality inspections, that is, load power supply (detection result) = A&B+A&C+B&C, wherein A is the state value represented by the control signal output by processor A, B is the state value represented by the control signal output by processor B, and C is the state value represented by the control signal output by processor C.

[0084] The probability of two or more drive circuits failing at the same time is extremely low, so there is no need to consider the situation where two or more drive circuits fail at the same time. According to the above formula, when one drive circuit fails, as long as the drive signals provided by the other two drive circuits are high level, the load can still be powered, thereby ensuring the stability of the load power supply. By controlling one drive circuit to output a low level in turn, it can be determined whether there is a drive circuit failure based on the detection results, and once there is a drive circuit failure, it can also be combined with multiple detection results to determine which drive circuit has failed.

[0085] The reason for setting the preset number is that a single test result may determine whether there is a faulty drive circuit, but cannot accurately determine which drive circuit is faulty, so it is necessary to record a certain number of test results before making a judgment. In this embodiment, combined with the characteristics of the above formula, the preset number is 3.

[0086] S200: If the number of stored detection results does not reach a preset number, a corresponding control signal is sent according to the number of currently stored detection results.

[0087] If the number of stored detection results does not reach the preset number, a program for generating a control signal is executed, and when the program is run, a corresponding control signal is sent according to the number of currently stored detection results.

[0088] Sending the corresponding control signal according to the number of currently stored test results is actually to select a control signal in turn that is different from the state of the other two control signals. For example, when the number of currently stored test results is 0, A is 0, B and C are 1; when the number of currently stored test results is 1, A and B are 1, and C is 0; when the number of currently stored test results is 2, A and C are 1, and B is 0.

[0089] The specific implementation method is to match the corresponding control signal from the preset sequence number table according to the number of currently stored detection results and send it.

[0090] The serial number table stores a plurality of numerical values ​​for representing the number of detection results and control signals corresponding to the numerical values.

[0091] In addition, since the failure of the driving circuit can be further divided into failure to output a high level signal and failure to output a low level signal, the state of selecting one control signal in turn is different from that of the other two control signals, which can also be further divided into whether two identical control signals are set to 1 or set to 0.

[0092] To avoid mutual influence, the judgment of the two faults needs to be separated and performed alternately. That is, there are two serial number tables, and the two serial number tables correspond to the detection of whether the drive circuit can output a high level signal and the detection of whether the drive circuit can output a low level signal. For specific serial number tables, please refer to Figure 5 , wherein Table 1 is a serial number table used to detect whether the driving circuit can output a high-level signal; Table 2 is a serial number table used to detect whether the driving circuit can output a low-level signal.

[0093] S300: If the number of stored test results reaches a preset number, the test results are arranged in a storage order to form a result set.

[0094] The result set is a digital segment formed by arranging the three test results in the order in which they are stored. For example, if the test results stored in sequence are 1, 1, and 0, the corresponding result set is 110. In this way, there can be a total of 8 result sets from 000 to 111.

[0095] S400: Match the corresponding device status from the pre-stored prediction set according to the result set.

[0096] The prediction set stores result sets of all arrangement orders and device states corresponding to the result sets one by one.

[0097] The device status includes a normal status and a fault status, and the fault status can be further subdivided into a first drive fault, a second drive fault, and a third drive fault.

[0098] As with the sequence number table, two prediction sets are established due to the difference between the two fault judgments of detecting whether the driving circuit can output a high-level signal and detecting the driving circuit. In actual use, one prediction set can be selected according to the detection requirements, or two prediction sets can be used cyclically to achieve the purpose of comprehensive detection. Of course, in actual application, there is no overlap in the result sets appearing in the two tests, so the two prediction sets can also be brought together.

[0099] For a specific set of predictions, see Figure 6 .

[0100] Combination Figure 5 and Figure 6 It can be seen intuitively that as long as the sequence number table corresponding to Table 1 is used to sequentially generate the control signal and the prediction set corresponding to Table 3 is used to detect the result set, it is possible to detect whether the drive circuit can output a high-level signal. Correspondingly, the sequence number table corresponding to Table 2 is used to sequentially generate the control signal and the prediction set corresponding to Table 4 is used to detect the result set, it is possible to detect whether the drive circuit can output a low-level signal.

[0101] S500: Determine whether the matched device status is normal.

[0102] S600: If the matched device status is normal, clear the stored detection results and send a preset control signal.

[0103] If only detecting whether the driving circuit can output a high level signal or only detecting whether the driving circuit can output a low level signal, after the matched device state belongs to the normal state, clear the stored detection results and restart the next round of detection according to step S200.

[0104] In one embodiment, clearing the stored detection results and sending a preset control signal includes the following steps:

[0105] Clear the stored test results, replace the prediction set and the corresponding serial number table used for result set matching according to the preset replacement order, match the corresponding preset control signal from the new serial number table according to the number of currently stored test results, and send the matched control information number.

[0106] The default replacement order is cyclic replacement.

[0107] If you want to alternately detect whether the driving circuit can output a high level signal and whether the driving circuit can output a low level signal, after clearing the stored test results, you need to first replace the matching sequence table and prediction set, and then perform the next round of detection according to step S200.

[0108] S700: If the matched device state is not a normal state, generate alarm information according to the matched device state and send the alarm information.

[0109] The purpose of subdividing the fault status is to enable maintenance personnel to intuitively understand which drive circuit has failed through alarm information, thereby helping to speed up the repair process.

[0110] Furthermore, the purpose of detection can be determined according to the currently used prediction set, and the detection purpose can be added to the alarm information, so that the maintenance personnel can further understand the cause of the failure of the drive circuit.

[0111] An embodiment of the present application also provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute any of the above-mentioned fault diagnosis methods for a four-party voting circuit of a SIS safety system.

[0112] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. A four-party voting circuit for a SIS safety system, characterized in that: It comprises a switch circuit (1), a detection circuit (2), a drive circuit and a processing circuit (3), wherein there are three drive circuits, and the three drive circuits are respectively defined as a first drive circuit, a second drive circuit and a third drive circuit; The switch circuit (1) and the detection circuit (2) are both connected in series to the power supply circuit of the load. The switch circuit (1) comprises a first branch and a second branch connected in parallel, the first branch comprises a first switch and a third switch connected in series, and the second branch comprises a second switch and a fourth switch connected in series; The detection circuit (2) is used to detect whether the power supply circuit of the load is turned on and output a corresponding detection signal; The processing circuit (3) is connected to the detection circuit (2), the first drive circuit, the second drive circuit and the third drive circuit respectively; The processing circuit (3) is used to receive the detection signal transmitted by the detection circuit (2), and judge whether the drive circuit has a fault according to the detection signal; if the drive circuit has a fault, the processing circuit (3) sends an alarm message; if the drive circuit has not a fault, the processing circuit (3) transmits a control signal to the first drive circuit, the second drive circuit and the third drive circuit respectively; The first drive circuit is connected to the control end of the first switch and is used to receive a control signal and respond to the control signal to control the first switch to turn on and off; The second driving circuit is connected to the control end of the second switch and is used to receive a control signal and respond to the control signal to control the second switch to turn on or off; The third driving circuit is connected to the control end of the third switch and is used to receive a control signal and respond to the control signal to control the on and off of the third switch; The first driving circuit and the third driving circuit are respectively connected to two input terminals of an OR gate, and an output terminal of the OR gate is connected to a control terminal of a fourth switch.

2. A four-party voting circuit for a SIS safety system according to claim 1, characterized in that: The processing circuit (3) comprises a readback circuit and three processors; The readback circuit is connected to the detection circuit (2) and the input ends of the three processors respectively, and the output ends of the three processors are also connected to the first drive circuit, the second drive circuit and the third drive circuit respectively. The readback circuit is used to obtain the detection signal transmitted by the detection circuit (2), expand the detection signal into three identical readback signals, and then synchronously transmit the three readback signals to the three processors; The processor is used to receive the readback signal and determine whether there is a fault in the drive circuit according to the readback signal. If there is a fault in the drive circuit, the processor issues an alarm; If there is no fault in the driving circuit, the processor generates a control signal according to the readback signal and transmits it to the connected driving circuit.

3. A four-party voting circuit for a SIS safety system according to claim 1, characterized in that: The processing circuit (3) comprises a readback circuit and three processors; The readback circuit is connected to the detection circuit (2) and the three processors respectively, and the output ends of the three processors are also connected to the first drive circuit, the second drive circuit and the third drive circuit respectively. The readback circuit is used to receive the detection signal and determine whether there is a fault in the drive circuit according to the detection signal. If there is a fault in the drive circuit, the readback circuit issues an alarm; If there is no fault in the driving circuit, the readback circuit generates three readback signals according to the detection signal and synchronously transmits the readback signals to the three processors respectively. The processors are used to generate corresponding control signals according to the received readback signals and transmit the control signals to the connected driving circuits.

4. The four-party voting circuit for a SIS safety system according to claim 1, characterized in that: The processing circuit (3) comprises a readback circuit; The readback circuit is connected to the detection circuit (2), the first drive circuit, the second drive circuit and the third drive circuit respectively; The readback circuit is used to receive the detection signal output by the detection circuit (2) and determine whether there is a fault in the drive circuit according to the detection signal. If there is a fault in the drive circuit, the readback circuit issues an alarm message. If there is no driving circuit failure, the readback circuit generates three control signals and transmits them to the first driving circuit, the second driving circuit and the third driving circuit respectively.

5. A fault diagnosis method for a four-party voting circuit of a SIS safety system, characterized in that: The following steps are involved: Acquire a detection signal, store the detection results represented by the detection signal, and determine whether the number of stored detection results reaches a preset number, If the number of stored test results does not reach the preset number, a corresponding control signal is sent according to the number of currently stored test results; If the number of stored test results reaches a preset number, the test results are arranged in the order of storage to form a result set; According to the result set, the corresponding device status is matched from the pre-stored prediction set; wherein the prediction set stores the result sets of all arrangement orders and the device status corresponding to the result sets one by one, Determine whether the matched device status is normal; If the matched device status is normal, the stored detection results are cleared and a preset control signal is sent; If the matched device state is not a normal state, an alarm message is generated according to the matched device state and the alarm message is issued.

6. A fault diagnosis method for a four-party voting circuit of a SIS safety system according to claim 5, characterized in that: Sending a preset control signal according to the number of currently stored test results includes the following steps: matching the corresponding control signal from a preset serial number table according to the number of currently stored test results and sending it, wherein the serial number table stores a plurality of numerical values ​​representing the number of test results and control signals corresponding to the numerical values ​​one by one.

7. A fault diagnosis method for a four-party voting circuit of a SIS safety system according to claim 6, characterized in that: Clearing the stored detection results and sending a preset control signal includes the following steps: Clear the stored test results, replace the prediction set and the corresponding serial number table used for result set matching according to the preset replacement order, match the corresponding preset control signal from the new serial number table according to the number of currently stored test results, and send the matched control information number.

8. A fault diagnosis method for a four-party voting circuit of a SIS safety system according to claim 7, characterized in that: There are two prediction sets, which correspond to the two states of load power on and load power off respectively. There are two serial number tables, which correspond one-to-one to the two prediction sets. The preset replacement order is to cyclically replace the two prediction sets and the corresponding serial number tables.

9. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the fault diagnosis method for a four-party voting circuit of a SIS safety system as claimed in any one of claims 5 to 8.