[go: up one dir, main page]

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

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

Info

Publication number
CN114995354B
CN114995354B CN202210727217.7A CN202210727217A CN114995354B CN 114995354 B CN114995354 B CN 114995354B CN 202210727217 A CN202210727217 A CN 202210727217A CN 114995354 B CN114995354 B CN 114995354B
Authority
CN
China
Prior art keywords
circuit
driving circuit
detection
readback
switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210727217.7A
Other languages
Chinese (zh)
Other versions
CN114995354A (en
Inventor
黄永忠
俞柏峰
陆利军
林笃武
何肖平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chitic Control Engineering Co ltd
Original Assignee
Chitic Control Engineering Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chitic Control Engineering Co ltd filed Critical Chitic Control Engineering Co ltd
Priority to CN202210727217.7A priority Critical patent/CN114995354B/en
Publication of CN114995354A publication Critical patent/CN114995354A/en
Application granted granted Critical
Publication of CN114995354B publication Critical patent/CN114995354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Safety Devices In Control Systems (AREA)
  • Hardware Redundancy (AREA)

Abstract

本发明公开了一种用于SIS安全系统的四方表决电路、故障诊断方法及存储介质,包括开关电路、检测电路、驱动电路和处理电路,检测电路用于检测负载的供电回路是否导通并输出相应的检测信号;处理电路用于接收检测电路传输的检测信号,并根据检测信号判断驱动电路是否发生故障,若驱动电路发生故障,则处理电路发出告警信息,若驱动电路未发生故障,则处理电路分别向第一驱动电路、第二驱动电路和第三驱动电路传输控制信号。通过设计简化的电路以减少硬件成本,并配合专门的故障诊断方法使得该电路仍可实现对于各个驱动电路是否出现故障进行检测以满足在SIS安全系统中的应用。

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.

Description

Square voting circuit, fault diagnosis method and storage medium for SIS safety system
Technical Field
The invention relates to the field of hardware circuits, in particular to a square voting circuit, a fault diagnosis method and a storage medium for an SIS safety system.
Background
SIS (i.e., safety instrumented systems) refers to systems that implement one or more safety functions for monitoring the operation of a production plant or individual unit, and if the production process is outside of a safe operating range, can be brought into a safe state to ensure that the plant or individual unit has a degree of safety.
During operation of the safety instrumented system, the system needs to diagnose critical part of its own circuitry and report the location of the failed circuitry in more detail and accurately, thus achieving safe and reliable operation of the system.
Referring to fig. 1, fig. 1 is a circuit diagram of detecting states of a plurality of driving circuits in the related art, and the circuit disclosed in the diagram has a function of diagnosing states of a first driving circuit, a second driving circuit, a third driving circuit, and a fourth driving circuit by providing a corresponding detecting circuit and a read-back circuit for each driving circuit, respectively. Taking the first driving circuit as an example, when it is required to diagnose whether the first driving circuit can normally output high, the CPU_ A, CPU _ B, CPU _C simultaneously controls the first driving circuit so as to enable the first controllable switch to be opened; after the first controllable switch is conducted, whether the output is high or not is read through the first detection circuit and the first readback circuit.
The circuit can be applied to SIS, and can timely inform a worker to maintain once a certain driving circuit is found to be faulty by continuously detecting the state of the corresponding driving circuit, so that the safe and reliable operation of the system is ensured.
However, obviously, since each driving circuit needs to be configured with a corresponding detection circuit and read-back circuit to realize fault diagnosis, the hardware cost is extremely high.
Disclosure of Invention
In order to reduce hardware cost, the application provides a tetragonal voting circuit, a fault diagnosis method and a storage medium for an SIS safety system.
In a first aspect, the present application provides a tetragonal voting circuit for an SIS security system, which adopts the following technical scheme:
The square voting circuit comprises a switch circuit, a detection circuit, a driving circuit and a processing circuit, wherein three driving circuits are respectively defined as a first driving circuit, a second driving circuit and a third driving circuit;
The switch circuit and the detection circuit are connected in series on the power supply circuit of the load,
The switching circuit comprises a first branch and a second branch which are connected in parallel, wherein the first branch comprises a first switch and a third switch which are connected in series, and the second branch comprises a second switch and a fourth switch which are connected in series;
the detection circuit is used for detecting whether a power supply loop of a load is conducted or not and outputting a corresponding detection signal;
the processing circuit is respectively connected with the detection circuit, the first driving circuit, the second driving circuit and the third driving circuit;
the processing circuit is used for receiving the detection signal transmitted by the detection circuit, judging whether the driving circuit fails according to the detection signal, sending out alarm information if the driving circuit fails, and transmitting control signals to the first driving circuit, the second driving circuit and the third driving circuit respectively if the driving circuit does not fail;
The first driving circuit is connected with the control end of the first switch and is used for receiving a control signal and responding to the control signal to control the on-off of the first switch;
The second driving circuit is connected with the control end of the second switch and is used for receiving the control signal and responding to the control signal to control the on-off of the second switch;
The third driving circuit is connected with the control end of the third switch and is used for receiving the control signal and responding to the control signal to control the on-off of the third switch;
the first driving circuit and the third driving circuit are respectively connected to two input ends of the OR gate, and the output end of the OR gate is connected to the control end of the fourth switch.
Through the technical scheme, through the application of the OR gate, the two driving circuits can jointly control one switch on the basis of independently controlling the corresponding switches, so that the on-off state on the load circuit can generate richer changes by changing the control signal, and the fault diagnosis of the driving circuits can be realized by only adopting one detection circuit.
Optionally, the processing circuit includes a read-back circuit and three processors;
the read-back circuit is respectively connected with the input ends of the detection circuit and the three processors, the output ends of the three processors are respectively connected with the first driving circuit, the second driving circuit and the third driving circuit,
The read-back circuit is used for acquiring the detection signals transmitted by the detection circuit, expanding the detection signals into three same read-back signals and then synchronously transmitting the three read-back signals to the three processors;
The processor is used for receiving the readback signal and judging whether the driving circuit fails according to the readback signal, and if the driving circuit fails, the processor gives an alarm; if no driving circuit fails, the processor generates a control signal according to the readback signal and transmits the control signal to the connected driving circuit.
Optionally, the processing circuit includes a read-back circuit and three processors;
The read-back circuit is respectively connected with the detection circuit and the three processors, the output ends of the three processors are respectively connected with the first driving circuit, the second driving circuit and the third driving circuit,
The readback circuit is used for receiving the detection signal and judging whether the driving circuit fails according to the detection signal, and if the driving circuit fails, the readback circuit gives an alarm; if no driving circuit fails, the readback circuit generates three readback signals according to the detection signals and synchronously transmits the readback signals to the three processors respectively, and the processors are used for generating corresponding control signals according to the received readback signals and transmitting the control signals to the connected driving circuits.
Optionally, the processing circuit includes a read-back circuit;
The read-back circuit is respectively connected with the detection circuit, the first driving circuit, the second driving circuit and the third driving circuit;
The readback circuit is used for receiving the detection signal output by the detection circuit and judging whether the driving circuit fails according to the detection signal, and if the driving circuit fails, the readback circuit sends out alarm information; if no driving circuit fails, the readback circuit generates three control signals and transmits the three control signals to the first driving circuit, the second driving circuit and the third driving circuit respectively.
In a second aspect, the present application provides a fault diagnosis method for a tetragonal voting circuit of an SIS safety system, which adopts the following technical scheme:
A method of fault diagnosis for a tetragonal voting circuit of an SIS safety system, comprising the steps of:
Obtaining a detection signal, storing detection results represented by the detection signal, judging whether the number of the stored detection results reaches a preset number,
If the number of the stored detection results does not reach the preset number, sending a corresponding control signal according to the number of the currently stored detection results;
if the number of the stored detection results reaches the preset number, arranging the detection results according to the storage sequence to form a result set;
matching corresponding equipment states from a pre-stored prediction set according to the result set; wherein the prediction set stores all the result sets in the arrangement sequence and the equipment states corresponding to the result sets one by one,
Judging whether the matched equipment state belongs to a normal state or not;
If the matched equipment state belongs to a normal state, the stored detection result is emptied, and a preset control signal is sent;
if the matched equipment state does not belong to the normal state, generating alarm information according to the matched equipment state, and sending the alarm information.
According to the technical scheme, in order to match with the square voting circuit, whether the driving circuit fault exists or not and further which driving circuit fault is judged can not be directly and accurately judged by the single detection result, so that the precondition for judging the driving circuit fault is met firstly by storing the detection result, and different control signals are sent out according to the number of the stored detection results so as to generate diversified detection results.
Optionally, a preset control signal is sent according to the number of currently stored detection results, including the following steps: and matching corresponding control signals from a preset sequence number table according to the number of the currently stored detection results, and sending the control signals, wherein a plurality of numerical values for representing the number of the detection results and control signals corresponding to the numerical values one by one are stored in the sequence number table.
Optionally, the stored detection result is emptied and a preset control signal is sent, including the following steps:
And clearing the stored detection results, replacing the prediction set for result set matching and the corresponding sequence number table according to a preset replacement sequence, matching corresponding preset control signals from the new sequence number table according to the number of the currently stored detection results, and sending the matched control information numbers.
Optionally, the number of the prediction sets is two, the two prediction sets correspond to two situations of load power-on and load power-off respectively, the number of the sequence number tables is two, the two sequence number tables correspond to the two prediction sets one by one, and the preset replacement sequence is to circularly replace the two prediction sets and the corresponding sequence number tables.
In a third aspect, the present application provides a computer readable storage medium storing a computer program capable of being loaded by a processor and executing the above-described fault diagnosis method for a four-way voting circuit of an SIS safety system.
In summary, the simplified circuit is designed to reduce hardware cost, and a special fault diagnosis method is matched, so that the circuit can still realize the detection of whether each driving circuit has faults or not so as to meet the application in an SIS safety system.
Drawings
Fig. 1 is a circuit diagram for detecting states of a multi-drive circuit in the related art.
Fig. 2 is a schematic circuit structure of an embodiment of the present application.
Fig. 3 is a circuit configuration diagram of embodiment 1 of the present application.
Fig. 4 is a flowchart of steps of a fault diagnosis method according to an embodiment of the present application.
FIG. 5 is a schematic diagram of a sequence number table in an embodiment of the application.
FIG. 6 is a schematic diagram of a prediction set in an embodiment of the application.
Reference numerals illustrate:
1. a switching circuit; 2. a detection circuit; 3. a processing circuit.
Detailed Description
The present application is described in further detail below with reference to fig. 2 to 6.
Example 1:
the application provides a tetragonal voting circuit for an SIS safety system, which comprises a switch circuit 1, a detection circuit 2, a driving circuit and a processing circuit 3, and is shown in figure 2.
The switch circuit 1 and the detection circuit 2 are both connected in series on the power supply circuit of the load. The switching circuit 1 comprises a first branch and a second branch connected in parallel, the first branch comprising a first switch and a third switch connected in series, and the second branch comprising 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 triodes and the like, which have the functions of receiving signals and switching on and off according to the signals. The detection circuit 2 is used for detecting whether a power supply loop of a load is conducted or not and outputting a corresponding detection signal. In this embodiment, the switch elements are NPN transistors, the detection circuit 2 is a voltage detection circuit 2, and the detection signal is a voltage signal.
Specifically, as long as any one of the first branch and the second branch is connected, the power supply loop of the load is turned on, and the detection signal output by the detection circuit 2 is at a high level. And as long as the first branch and the second branch are both turned off, the power supply loop of the load is broken, and the detection signal output by the detection circuit 2 is at a low level.
The three driving circuits are defined as the first driving circuit, the second driving circuit and the third driving circuit for convenience of description below, but it should be noted that the three driving circuits are identical in structure. The three driving circuits respectively control the on-off of the four switches: the output end of the first driving circuit is connected with the control end of the first switch, the output end of the second driving circuit is connected with the control end of the second switch, and the output end of the third driving circuit is connected with the controller of the third switch. The fourth switch is controlled by the first driving circuit and the third driving circuit at the same time. Specifically, the square voting circuit further comprises 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 with the first driving circuit and the third driving circuit. The control ends are all bases of corresponding triodes.
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.
The processing circuit 3 is used for receiving the detection signal transmitted by the detection circuit 2, judging whether the driving circuit fails according to the detection signal, and if the driving circuit fails, the processing circuit 3 sends out alarm information; 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.
The first driving circuit, the second driving circuit and the third driving circuit output corresponding driving signals according to the control signals. When the driving signal output by the first driving circuit is at a high level, the first switch is turned on; when the driving signal output by the second driving circuit is at a high level, the second switch is turned on; when the driving signal output by the third driving circuit is at a high level, the third switch is turned on. When the driving signal output from any one of the first driving circuit and the third driving circuit is at a high level, the fourth switch is turned on.
Referring to fig. 3, the processing circuit 3 includes a read-back circuit and three processors.
The read-back circuit is respectively connected with the input ends of the detection circuit 2 and the three processors, the output ends of the three processors are respectively connected with the first driving circuit, the second driving circuit and the third driving circuit, wherein the processor connected with the first driving circuit is defined as a processor A, the processor connected with the second driving circuit is defined as a processor B, and the processor connected with the third driving circuit is defined as a processor C. In this embodiment, the read-back circuit is an MCU.
The read-back circuit is used for acquiring the detection signals transmitted by the detection circuit 2, expanding the detection signals into three same read-back signals and then synchronously transmitting the three read-back signals to the three processors.
The processor is used for receiving the readback signal and judging whether the driving circuit fails according to the readback signal, and if the driving circuit fails, the processor gives an alarm; if no driving circuit fails, the processor generates a control signal according to the readback signal and transmits the control signal to the connected driving circuit.
The read-back signal output by the read-back circuit is the same as the detection signal received by the read-back circuit, and the read-back circuit only copies one detection signal into three read-back signals. And by synchronous transmission of the read-back circuit, three processors can simultaneously receive the read-back signals and respond to the read-back signals. Because the programs used for judging whether the driving circuit is faulty in the three processors are the same, the time consumed by the program operation is short and similar and can be basically ignored, when the driving circuit does not have a fault, the three processors can synchronously transmit control signals to the connected driving circuits after synchronously receiving the readback signals.
In addition, the three processors are provided with a program for judging whether the driving circuit is faulty or not and a program for generating a control signal, and alarm information can be sent out as long as any one processor judges that the driving circuit is faulty, so that the situation that the driving circuit is damaged when programs in a certain processor or even two processors are faulty is avoided.
The procedure for determining whether the driving circuit is defective or not and how the procedure for generating the control signal is operated will be described in detail in the following failure diagnosis method, and only a brief description will be given here.
Example 2:
the difference from embodiment 1 is that the processing circuit includes a read-back circuit and three processors.
The read-back circuit is respectively connected with the detection circuit and the three processors, and the output ends of the three processors are respectively connected with the first driving circuit, the second driving circuit and the third driving circuit.
The readback circuit is used for receiving the detection signal and judging whether the driving circuit fails according to the detection signal, and if the driving circuit fails, the readback circuit gives an alarm. If no driving circuit has faults, the readback circuit generates three readback signals according to the detection signals and synchronously transmits the readback signals to three processors respectively, and the processors are used for generating corresponding control signals according to the received readback signals and transmitting the control signals to the connected driving circuit.
In comparison with embodiment 1, in this embodiment, the program for judging whether or not there is a failure of the drive circuit is not provided in the processor but is installed in the read-back circuit. Although the whole circuit cannot normally judge whether the driving circuit has faults or not due to the fact that the faults occur in the program once the program in the read-back circuit occur, the frequency of program recording can be effectively reduced, and then the production steps and time of the whole circuit are shortened.
Example 3:
The difference from embodiment 2 is that the processing circuit in this embodiment includes a read-back circuit. And the read-back circuit is respectively connected with the detection circuit, the first driving circuit, the second driving circuit and the third driving circuit.
The read-back circuit is used for receiving the detection signal output by the detection circuit and judging whether the driving circuit fails according to the detection signal, and if the driving circuit fails, the read-back circuit sends out alarm information; if no driving circuit fails, the readback circuit generates three control signals and transmits the three control signals to the first driving circuit, the second driving circuit and the third driving circuit respectively.
Compared with the embodiment 2, the program for judging the fault and the program for generating the control signal are arranged in the read-back circuit, so that the arrangement of a processor is reduced, the composition structure of the processing circuit is further optimized, and the circuit size is reduced. Correspondingly, of course, if the read-back circuit fails, the cost required for replacement is greater.
The application also provides a fault diagnosis method for the square voting circuit of the SIS safety system, which comprises the following steps of:
s100, obtaining detection signals, storing detection results represented by the detection signals, and judging whether the number of the stored detection results reaches a preset number.
The detection signal is provided by the detection circuit, and when the detection signal is in a high level, the stored detection result is 1; when the detection signal is low level, the stored detection result is 0.
In the above embodiments 1 to 3, the overall architecture of the tetragonal voting circuit is the same, but only the processing circuit for information processing is different in internal structure. The principle of the fault diagnosis method will be further described herein by taking only the structure of the square voting circuit disclosed in embodiment 1 as an example.
In combination with the square voting circuit disclosed in embodiment 1, the relation between the driving circuit state and the load power-on can be expressed by three control signals and detection signal quality tests, namely, the load power-on (detection result) =a & b+a & c+b & C, wherein a is a state value represented by the control signal output by the processor a, B is a state value represented by the control signal output by the processor B, and C is a state value represented by the control signal output by the processor C.
The probability of the simultaneous occurrence of faults of two or more driving circuits is extremely low, so that the situation that the simultaneous occurrence of faults of two or more driving circuits is not needed to be considered, and according to the formula, when one driving circuit is in fault, as long as driving signals provided by the other two driving circuits are in high level, a load can still be electrified, and the stability of power supply of the load is ensured. And one driving circuit is controlled to output low level in turn, so that whether the driving circuit has faults or not can be judged according to the detection result, and once the driving circuit has faults, the specific driving circuit which has faults can be obtained by combining multiple detection results.
The reason for setting the preset number is that the single detection result may determine whether there is a faulty driving circuit, but it cannot accurately determine which driving circuit is faulty, so it is necessary to record a certain number of detection results and then perform the determination. In this embodiment, the preset number is 3 by combining the features of the above formula.
And S200, if the number of the stored detection results does not reach the preset number, sending a corresponding control signal according to the number of the currently stored detection results.
And if the number of the stored detection results does not reach the preset number, executing a program for generating the control signals, and transmitting the corresponding control signals according to the number of the currently stored detection results when the program runs.
The corresponding control signals are sent according to the number of the currently stored detection results, namely, one control signal is actually selected in turn to be different from the other two control signals, for example, when the number of the currently stored detection results is 0, A is 0, B and C is 1; when the number of the currently stored detection results is 1, A, B is 1, and C is 0; when the number of currently stored detection results is 2, A, C is 1, and b is 0.
The specific implementation method is that corresponding control signals are matched from a preset sequence number table according to the number of the currently stored detection results and are sent.
The serial number table stores a plurality of numerical values for representing the number of the detection results and control signals corresponding to the numerical values one by one.
In addition, since the failure of the driving circuit can be further subdivided into the failure to output the high level signal and the failure to output the low level signal, the state of alternately selecting one control signal and the other two control signals is different, and the failure can be further divided into whether two identical control signals are set to 1 or 0.
While avoiding the mutual influence, the judgment of two faults needs to be separated and carried out alternately. Namely, two serial number tables are provided, and the two serial number tables respectively correspond to whether the detection driving circuit can output a high-level signal or not and whether the detection driving circuit can output a low-level signal or not. The specific sequence number table can be seen in fig. 5, wherein table 1 is a sequence number table used for detecting whether the driving circuit can output a high level signal; table 2 is a sequence number table used for detecting whether the driving circuit can output a low level signal.
And S300, if the number of the stored detection results reaches the preset number, arranging the detection results according to the storage sequence to form a result set.
The result set is a digital segment formed by sequentially arranging three detection results according to a storage sequence, for example, the sequentially stored detection results are respectively 1, 1 and 0, and the corresponding formed result set is 110. Together there may be from 000 to 111 of these 8 result sets in this way.
S400, matching the corresponding equipment state from a pre-stored prediction set according to the result set.
The prediction set stores all result sets in the arrangement sequence and equipment states corresponding to the result sets one by one.
The device states include a normal state and a fault state, and the fault state may be further subdivided into a first drive fault, a second drive fault, and a third drive fault.
As with the sequence number table, two prediction sets are established due to the difference in the two kinds of fault decisions of detecting the drive circuit and whether the drive circuit can output a high level signal. In practical use, one prediction set can be selected according to detection requirements, or two prediction sets can be recycled so as to achieve the purpose of comprehensive detection. Of course, in practical application, there is no overlap between the result sets of the two detections, so the two prediction sets can be pooled together.
A specific set of predictions can be seen in fig. 6.
As can be seen from fig. 5 and 6, it is possible to detect whether the driving circuit can output a high level signal by sequentially generating the control signal and the prediction set corresponding to table 3 by using the sequence number table corresponding to table 1 to detect the result set. Accordingly, the sequence number table corresponding to table 2 is adopted to sequentially generate the control signal and the prediction set corresponding to table 4 to detect the result set, so that whether the driving circuit can output the low-level signal can be detected.
S500, judging whether the matched equipment state belongs to a normal state.
And S600, if the matched equipment state belongs to a normal state, clearing the stored detection result and sending a preset control signal.
If only the driving circuit is detected to be able to output a high level signal or only the driving circuit is detected to be able to output a low level signal, after the matched equipment state is in a normal state, the stored detection result is cleared, and the next round of detection can be restarted according to step S200.
In one embodiment, the stored detection result is emptied and a preset control signal is sent, comprising the steps of:
And clearing the stored detection results, replacing the prediction set for result set matching and the corresponding sequence number table according to a preset replacement sequence, matching corresponding preset control signals from the new sequence number table according to the number of the currently stored detection results, and sending the matched control information numbers.
The preset replacement sequence is cyclic replacement.
If it is desired to alternately detect whether the driving circuit can output a high level signal and detect whether the driving circuit can output a low level signal, after the stored detection result is emptied, the matching sequence number table and the prediction set need to be replaced first, and then the next round of detection is performed according to step S200.
And S700, if the matched equipment state does not belong to the normal state, generating alarm information according to the matched equipment state, and sending out the alarm information.
The purpose of subdividing the fault state is to enable maintenance personnel to intuitively know which driving circuit has faults through alarm information, so that the repair speed is improved.
Further, the detected purpose can be determined according to the current use place prediction set, and the detected purpose is added to the alarm information, so that a maintenance person can further know the fault reason of the driving circuit.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program capable of being loaded by a processor and executing any one of the above fault diagnosis methods for a quad voting circuit of an SIS safety system.
The above embodiments are not intended to limit the scope of the present application, so: all equivalent changes in structure, shape and principle of the application should be covered in the scope of protection of the application.

Claims (9)

1. The square voting circuit for the SIS safety system is characterized by comprising a switch circuit (1), a detection circuit (2), driving circuits and a processing circuit (3), wherein three driving circuits are respectively defined as a first driving circuit, a second driving circuit and a third driving circuit;
The switch circuit (1) and the detection circuit (2) are connected in series on the power supply circuit of the load,
The switching circuit (1) comprises a first branch and a second branch which are connected in parallel, wherein the first branch comprises a first switch and a third switch which are connected in series, and the second branch comprises a second switch and a fourth switch which are connected in series;
the detection circuit (2) is used for detecting whether a power supply loop of a load is conducted or not and outputting a corresponding detection signal;
the processing circuit (3) is respectively connected with the detection circuit (2), the first driving circuit, the second driving circuit and the third driving circuit;
the processing circuit (3) is used for receiving the detection signal transmitted by the detection circuit (2), judging whether the driving circuit fails according to the detection signal, if the driving circuit fails, the processing circuit (3) sends out alarm information, and 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;
The first driving circuit is connected with the control end of the first switch and is used for receiving a control signal and responding to the control signal to control the on-off of the first switch;
The second driving circuit is connected with the control end of the second switch and is used for receiving the control signal and responding to the control signal to control the on-off of the second switch;
The third driving circuit is connected with the control end of the third switch and is used for receiving the control signal and responding to the control signal to control the on-off of the third switch;
the first driving circuit and the third driving circuit are respectively connected to two input ends of the OR gate, and the output end of the OR gate is connected to the control end of the fourth switch.
2. A tetragonal voting circuit for use in a SIS safety system according to claim 1, wherein: the processing circuit (3) comprises a readback circuit and three processors;
The readback circuit is respectively connected with the input ends of the detection circuit (2) and the three processors, the output ends of the three processors are respectively connected with the first driving circuit, the second driving circuit and the third driving circuit,
The read-back circuit is used for acquiring the detection signals transmitted by the detection circuit (2), expanding the detection signals into three same read-back signals and then synchronously transmitting the three read-back signals to the three processors;
The processor is used for receiving the readback signal and judging whether the driving circuit fails according to the readback signal, and if the driving circuit fails, the processor gives an alarm; if no driving circuit fails, the processor generates a control signal according to the readback signal and transmits the control signal to the connected driving circuit.
3. A tetragonal voting circuit for use in a SIS safety system according to claim 1, wherein: the processing circuit (3) comprises a readback circuit and three processors;
the readback circuit is respectively connected with the detection circuit (2) and the three processors, the output ends of the three processors are respectively connected with the first driving circuit, the second driving circuit and the third driving circuit,
The readback circuit is used for receiving the detection signal and judging whether the driving circuit fails according to the detection signal, and if the driving circuit fails, the readback circuit gives an alarm; if no driving circuit fails, the readback circuit generates three readback signals according to the detection signals and synchronously transmits the readback signals to the three processors respectively, and the processors are used for generating corresponding control signals according to the received readback signals and transmitting the control signals to the connected driving circuits.
4. A tetragonal voting circuit for use in a SIS safety system according to claim 1, wherein: the processing circuit (3) comprises a read-back circuit;
the read-back circuit is respectively connected with the detection circuit (2), the first driving circuit, the second driving circuit and the third driving circuit;
The readback circuit is used for receiving the detection signal output by the detection circuit (2) and judging whether the driving circuit fails according to the detection signal, and if the driving circuit fails, the readback circuit sends out alarm information; if no driving circuit fails, the readback circuit generates three control signals and transmits the three control signals to the first driving circuit, the second driving circuit and the third driving circuit respectively.
5. A method of fault diagnosis for a tetragonal voting circuit of an SIS safety system, comprising the steps of:
Obtaining a detection signal, storing detection results represented by the detection signal, judging whether the number of the stored detection results reaches a preset number,
If the number of the stored detection results does not reach the preset number, sending a corresponding control signal according to the number of the currently stored detection results;
if the number of the stored detection results reaches the preset number, arranging the detection results according to the storage sequence to form a result set;
matching corresponding equipment states from a pre-stored prediction set according to the result set; wherein the prediction set stores all the result sets in the arrangement sequence and the equipment states corresponding to the result sets one by one,
Judging whether the matched equipment state belongs to a normal state or not;
If the matched equipment state belongs to a normal state, the stored detection result is emptied, and a preset control signal is sent;
if the matched equipment state does not belong to the normal state, generating alarm information according to the matched equipment state, and sending the alarm information.
6. A fault diagnosis method for a tetragonal voting circuit for an SIS safety system according to claim 5, wherein the transmission of a preset control signal according to the number of currently stored detection results comprises the steps of: and matching corresponding control signals from a preset sequence number table according to the number of the currently stored detection results, and sending the control signals, wherein a plurality of numerical values for representing the number of the detection results and control signals corresponding to the numerical values one by one are stored in the sequence number table.
7. A fault diagnosis method for a four-way voting circuit for an SIS safety system according to claim 6, characterized by clearing the stored detection results and transmitting a preset control signal, comprising the steps of:
And clearing the stored detection results, replacing the prediction set for result set matching and the corresponding sequence number table according to a preset replacement sequence, matching corresponding preset control signals from the new sequence number table according to the number of the currently stored detection results, and sending the matched control information numbers.
8. A method of fault diagnosis for a tetragonal voting circuit for use in a SIS safety system according to claim 7, wherein: the number of the prediction sets is two, the two prediction sets correspond to two types of load power-on and load power-off respectively, the number of the sequence number tables is two, the two sequence number tables correspond to the two prediction sets one by one, and the preset replacement sequence is to circularly replace the two prediction sets and the corresponding sequence number tables.
9. A computer-readable storage medium, characterized in that a computer program capable of being loaded by a processor and executing the fault diagnosis method for a quad voting circuit of an SIS safety system according to any one of claims 5 to 8 is stored.
CN202210727217.7A 2022-06-24 2022-06-24 Four-party voting circuit, fault diagnosis method and storage medium for SIS safety system Active CN114995354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210727217.7A CN114995354B (en) 2022-06-24 2022-06-24 Four-party voting circuit, fault diagnosis method and storage medium for SIS safety system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210727217.7A CN114995354B (en) 2022-06-24 2022-06-24 Four-party voting circuit, fault diagnosis method and storage medium for SIS safety system

Publications (2)

Publication Number Publication Date
CN114995354A CN114995354A (en) 2022-09-02
CN114995354B true CN114995354B (en) 2024-11-12

Family

ID=83037393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210727217.7A Active CN114995354B (en) 2022-06-24 2022-06-24 Four-party voting circuit, fault diagnosis method and storage medium for SIS safety system

Country Status (1)

Country Link
CN (1) CN114995354B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024094140A1 (en) * 2022-11-04 2024-05-10 中国石油化工股份有限公司 Remote measurement and control terminal, and safety control system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007663A (en) * 2019-05-14 2019-07-12 中国核动力研究设计院 The output switch parameter dynamic diagnostics system and method for nuclear safe level DCS
CN112631256A (en) * 2020-12-29 2021-04-09 浙江中控技术股份有限公司 Switching value output module with safe function and diagnosis processing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4967347A (en) * 1986-04-03 1990-10-30 Bh-F (Triplex) Inc. Multiple-redundant fault detection system and related method for its use

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007663A (en) * 2019-05-14 2019-07-12 中国核动力研究设计院 The output switch parameter dynamic diagnostics system and method for nuclear safe level DCS
CN112631256A (en) * 2020-12-29 2021-04-09 浙江中控技术股份有限公司 Switching value output module with safe function and diagnosis processing method

Also Published As

Publication number Publication date
CN114995354A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
KR100843130B1 (en) On-line IC failure diagnosis device and method in IC61850 based substation automation system
CN114995354B (en) Four-party voting circuit, fault diagnosis method and storage medium for SIS safety system
CN104101831A (en) Relay failure detection system
CN113568301B (en) Hot standby redundancy method and control system
KR101902577B1 (en) Method for checking functions of control system with components
CN110737256B (en) Method and device for controlling variable-frequency transmission system
CN113341334B (en) Power Failure Handling System
JPH11345003A (en) Plant control system
JP2021012517A (en) Controller redundancy system and its control method
JP2007107318A (en) Device for diagnosing console panel on gate controller
JP2004206212A (en) Operation monitoring system
CN119364617B (en) Train carriage lighting drive power supply fault control method, circuit and lighting system
KR101554249B1 (en) Total dual type control system based on detection of abnormal state at a control point and Control method thereof
JP2019012416A (en) Diagnostic device, method of diagnosing facility monitoring system and facility monitoring system
JP2012242995A (en) Communication state detecting device, communication device, and communication state detecting method
CN111736576B (en) Image time synchronization controller testing tool and testing method thereof
JP2019052977A (en) Automatic fault diagnosing system of dvor device, automatic fault diagnosing system of dme device, automatic fault diagnosing system of ils device, automatic fault diagnosing method of dvor device
JP2006301701A (en) Digital output substrate for monitoring control of plant and its method and plant monitoring controller
JP2017220842A (en) Duplex switching system
JP2022138185A (en) Security device
JPS58214952A (en) Information processing system
JP2003162792A (en) Digital instrumentation controller
JP3133704B2 (en) Device installation method
JPH02127733A (en) System fault diagnostic system
JP2004086706A (en) Distributed control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant