CN103293949B - Output switch parameter passage redundant fault-tolerant control method and Redundanter schalter amount output channel - Google Patents
Output switch parameter passage redundant fault-tolerant control method and Redundanter schalter amount output channel Download PDFInfo
- Publication number
- CN103293949B CN103293949B CN201310230877.5A CN201310230877A CN103293949B CN 103293949 B CN103293949 B CN 103293949B CN 201310230877 A CN201310230877 A CN 201310230877A CN 103293949 B CN103293949 B CN 103293949B
- Authority
- CN
- China
- Prior art keywords
- output
- fault
- channel
- switch parameter
- circuit
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000007689 inspection Methods 0.000 claims description 7
- 239000004065 semiconductor Substances 0.000 claims 2
- 238000012360 testing method Methods 0.000 abstract description 23
- 238000010586 diagram Methods 0.000 description 7
- 230000009977 dual effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- -1 electric power Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 229910000831 Steel Inorganic materials 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 239000004568 cement Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000003208 petroleum Substances 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Hardware Redundancy (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
本申请公开了一种开关量输出通道冗余容错控制方法,应用于DEH控制系统模块三冗余开关量输出通道,该方法包括:所述开关量输出通道的输入端接收FPGA发出的控制信号,将所述控制信号进行处理获取输出信号,所述输出信号各自通过二极管直接并联冗余;所述开关量输出通道通过自检回读方式,判断所述开关量输出通道内部或外部是否故障;预先设置降级模式,当有故障发生时,按照所述降级模式进行输出量的输出。该方法通过三个独立的冗余开关量输出通道,具有降级模式,并通过自检回读机制,有效判断通道内部或外部故障,保障了运行过程的稳定性。本发明还公开了一种冗余开关量输出通道,极大的提高了整个系统的容错能力。
The application discloses a redundant fault-tolerant control method for switch output channels, which is applied to three redundant switch output channels of the DEH control system module. The method includes: the input end of the switch output channel receives the control signal sent by FPGA, Process the control signal to obtain an output signal, and each of the output signals is directly connected in parallel through a diode for redundancy; the switching value output channel judges whether the internal or external failure of the switching value output channel is through a self-test readback mode; The degraded mode is set, and when a fault occurs, the output is output according to the degraded mode. This method uses three independent redundant switching value output channels, has a degraded mode, and uses a self-test readback mechanism to effectively judge internal or external faults in the channel, ensuring the stability of the operating process. The invention also discloses a redundant switching value output channel, which greatly improves the fault tolerance capability of the whole system.
Description
技术领域technical field
本发明涉及冗余容错控制技术领域,更具体的说,是涉及一种开关量输出通道冗余容错控制方法及冗余开关量输出通道。The invention relates to the technical field of redundant fault-tolerant control, and more specifically, relates to a redundant fault-tolerant control method of a switching value output channel and a redundant switching value output channel.
背景技术Background technique
目前,DCS(DistributedControlSystem,分散控制系统)即集散控制系统,已被广泛应用于石油,电力,化工、钢铁、水泥、制造、水处理等自动化控制领域,其是一个由过程控制级和过程监控级组成的以通信网络为纽带的多级计算机系统,综合了计算机、通讯、显示和控制等4C技术,其基本思想是分散控制、集中操作、分级管理、配置灵活和组态方便等。At present, DCS (Distributed Control System, distributed control system) is a distributed control system, which has been widely used in the fields of petroleum, electric power, chemical industry, steel, cement, manufacturing, water treatment and other automatic control fields. The multi-level computer system formed with the communication network as the link integrates 4C technologies such as computer, communication, display and control. Its basic ideas are decentralized control, centralized operation, hierarchical management, flexible configuration and convenient configuration.
随着计算机技术的发展及其在自动化领域中的应用,出现了以数字计算机为基础的DEH(DigitalElectro-HydraulicControlSystem,汽轮机数字电液控制系统),简称数字电调,是DCS的重要组成部分。在DCS系统中最主要的是开关量的冗余容错控制,现有技术中开关量输出通道冗余方式有两种:a、双冗余开关量输出通道,通过高选或低选方式进行输出;b、三冗余开关量输出通道,采用三取二表决机制进行输出。对于用于DCS系统的三重冗余开关量输出模块,包括三个独立的输出模块,均与系统的三个独立的控制器相连,接收控制器传送的指令和数据,并根据指令和数据进行开关量的输出,三个输出模块的输出最终输入到端子模块中,由端子模块进行三选二的选择,从而驱动电路驱动器工作。常见的双冗余开关量输出通道,当一个通道发生故障时,使得表决电路很难判断,只能通过高选或低选方式进行数据输出,即双重冗余中只要有一个通道故障,数据输出可能就是不正确的,虽然三冗余开关量输出通道采用三取二的表决机制,大大提供了输出数据的正确性,但是当两个通道发生故障时,系统将导向安全,无法保障运行过程的稳定性。With the development of computer technology and its application in the field of automation, a digital computer-based DEH (Digital Electro-Hydraulic Control System, digital electro-hydraulic control system for steam turbines) has emerged, referred to as digital ESC, which is an important part of DCS. The most important thing in the DCS system is the redundant fault-tolerant control of the switching value. In the prior art, there are two redundant modes of the switching value output channel: a. Dual redundant switching value output channels, which are output through high selection or low selection. ; b. Three redundant switch output channels, using two-out-of-three voting mechanism for output. For the triple redundant switch output module used in the DCS system, it includes three independent output modules, all of which are connected to three independent controllers of the system, receive instructions and data transmitted by the controller, and switch according to the instructions and data The output of the three output modules is finally input to the terminal module, and the terminal module selects two out of three to drive the circuit driver to work. Common dual redundant switching value output channels, when a channel fails, it makes it difficult for the voting circuit to judge, and the data output can only be performed by high selection or low selection, that is, as long as one channel fails in the dual redundancy, the data output It may be incorrect. Although the three redundant switching output channels adopt a two-out-of-three voting mechanism, which greatly provides the correctness of the output data, but when two channels fail, the system will lead to safety, and the operation process cannot be guaranteed. stability.
因此,提供一种开关量输出通道冗余容错控制方法及冗余开关量输出通道,以有效判断通道内部或外部故障,保障运行过程的稳定性,是本领域技术人员亟待解决的问题。Therefore, it is an urgent problem to be solved by those skilled in the art to provide a redundant fault-tolerant control method for switching output channels and redundant switching output channels to effectively judge internal or external faults of the channels and ensure the stability of the operation process.
发明内容Contents of the invention
有鉴于此,本发明提供了一种开关量输出通道冗余容错控制方法及冗余开关量输出通道,以克服现有技术中由于当两个通道发生故障时,系统将导向安全,无法保障运行过程的稳定性的问题。In view of this, the present invention provides a redundant fault-tolerant control method for switching value output channels and a redundant switching value output channel to overcome the problem in the prior art that when two channels fail, the system will lead to safety and cannot guarantee operation. The problem of process stability.
为实现上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:
一种开关量输出通道冗余容错控制方法,应用于DEH控制系统模块三冗余开关量输出通道,该方法包括:A redundant fault-tolerant control method for switching value output channels, applied to three redundant switching value output channels of DEH control system modules, the method includes:
所述开关量输出通道的输入端接收FPGA发出的控制信号,将所述控制信号进行处理获取输出信号,所述输出信号各自通过二极管直接并联冗余;The input terminal of the switching value output channel receives the control signal sent by the FPGA, processes the control signal to obtain an output signal, and the output signal is directly connected in parallel through a diode for redundancy;
所述开关量输出通道通过自检回读方式,判断所述开关量输出通道内部或外部是否故障,所述通过自检回读方式判断内部故障或外部故障的具体方式包括:通过比较回读值与输入值是否不一致,自检整个回路的故障,其中,所述回读值为上报FPGA的回读信号,所述输入值为FPGA发出的控制信号;The switch output channel judges whether there is a fault inside or outside the switch output channel through a self-test readback method, and the specific method for judging an internal fault or an external fault through the self-check readback method includes: by comparing the readback value Whether it is inconsistent with the input value, the fault of the whole loop of self-check, wherein, the readback value is the readback signal reported to FPGA, and the input value is the control signal sent by FPGA;
预先设置降级模式,当有故障发生时,按照所述降级模式进行输出量的输出。The degraded mode is set in advance, and when a fault occurs, the output is output according to the degraded mode.
其中,所述降级模式为3-2-1-0降级模式。Wherein, the degraded mode is a 3-2-1-0 degraded mode.
其中,所述3-2-1-0降级模式具体为:所述三冗余开关量输出通道直接并联,当其中一个通道故障不输出时则实现3降2;当其中两个通道故障不输出时则实现2降1;当三个通道同时故障不输出时则实现1降0。Wherein, the 3-2-1-0 degraded mode is specifically: the three redundant switching output channels are directly connected in parallel, and when one of the channel failures does not output, 3 drops to 2; when two of the channel failures do not output 2 is reduced by 1; when the three channels fail to output at the same time, 1 is reduced by 0.
本发明在上述公开的一种开关量输出通道冗余容错控制方法的基础上,还公开了一种冗余开关量输出通道,应用于DEH控制系统模块三冗余开关量输出通道,该冗余开关量输出通道包括:三个相互独立的开关量输出通道、所述开关量输出通道的输出端分别通过二极管直接并联及与所述二极管的一端相连的开关量输出端,所述开关量输出通道通过自检回读方式,判断所述开关量输出通道内部或外部是否故障,所述通过自检回读方式判断内部故障或外部故障的具体方式包括:通过比较回读值与输入值是否不一致,自检整个回路的故障,其中,所述回读值为上报FPGA的回读信号,所述输入值为FPGA发出的控制信号。On the basis of the redundant fault-tolerant control method of the switch output channel disclosed above, the present invention also discloses a redundant switch output channel, which is applied to the three redundant switch output channels of the DEH control system module. The switching value output channel includes: three mutually independent switching value output channels, the output ends of the switching value output channels are directly connected in parallel through a diode and the switching value output terminal connected to one end of the diode, the switching value output channel Through the self-test readback method, it is judged whether the internal or external fault of the switching value output channel is judged. The specific method of judging the internal fault or the external fault through the self-test readback method includes: by comparing whether the readback value is inconsistent with the input value, The failure of the entire loop is self-checked, wherein the readback value is a readback signal reported to the FPGA, and the input value is a control signal sent by the FPGA.
其中,所述开关量输出通道的电路包括:供电电路、与所述供电电路连接的输出电路、及与所述供电电路和输出电路相连的回读电路,其中,Wherein, the circuit of the switching value output channel includes: a power supply circuit, an output circuit connected to the power supply circuit, and a readback circuit connected to the power supply circuit and the output circuit, wherein,
所述供电电路包括开关三极管Q1、为所述开关三极管Q1提供基极电流的第一电阻R0,当所述开关三极管Q1导通时阻值相同的第二电阻R和第三电阻R1分压,为MOS管M1提供栅极电压,使所述MOS管M1导通;The power supply circuit includes a switch transistor Q1, a first resistor R0 that provides base current for the switch transistor Q1, and a second resistor R and a third resistor R1 with the same resistance divide the voltage when the switch transistor Q1 is turned on, providing a gate voltage for the MOS transistor M1 to turn on the MOS transistor M1;
所述输出电路包括继电器的两个节点S1和S2、防反二极管D1和钳位二极管D2;所述S1为常开节点,所述S2为常闭节点,所述防反二极管D1和钳位二极管D2为保证输出为正值;The output circuit includes two nodes S1 and S2 of the relay, an anti-reverse diode D1 and a clamping diode D2; the S1 is a normally open node, the S2 is a normally closed node, and the anti-reverse diode D1 and the clamping diode D2 is to ensure that the output is a positive value;
所述回读电路包括光耦U1、反相器、限流电阻R2和限流电阻R3、及上拉电阻R4,所述限流电阻R3为所述光耦U1提供电流,使所述光耦U1导通。The readback circuit includes an optocoupler U1, an inverter, a current limiting resistor R2, a current limiting resistor R3, and a pull-up resistor R4, and the current limiting resistor R3 provides current for the optocoupler U1, so that the optocoupler U1 conducts.
优选的,所述开关量输出通道的电路还包括:当出现短路故障时,熔断以保护所述开关量输出通道的自恢复保险丝F1。Preferably, the circuit of the switch output channel further includes: a resettable fuse F1 that is blown to protect the switch output channel when a short-circuit fault occurs.
经由上述的技术方案可知,与现有技术相比,本发明公开了一种开关量输出通道冗余容错控制方法,应用于DEH控制系统模块三冗余开关量输出通道,该方法包括:所述开关量输出通道的输入端接收FPGA发出的控制信号,将所述控制信号进行处理获取输出信号,所述输出信号各自通过二极管直接并联冗余;所述开关量输出通道通过自检回读方式,判断所述开关量输出通道内部或外部是否故障;预先设置降级模式,当有故障发生时,按照所述降级模式进行输出量的输出。该方法通过三个独立的冗余开关量输出通道,具有降级模式,并通过自检回读机制,有效判断通道内部或外部故障,保障了运行过程的稳定性。本发明还公开了一种冗余开关量输出通道,其输出端通过二极管直接并联冗余,并通过降级模式,从而极大的提高了整个系统的容错能力。It can be seen from the above-mentioned technical solutions that, compared with the prior art, the present invention discloses a redundant fault-tolerant control method for switching output channels, which is applied to three redundant switching output channels of DEH control system modules. The method includes: The input terminal of the switching value output channel receives the control signal sent by the FPGA, and processes the control signal to obtain an output signal, and the output signals are directly connected in parallel through diodes for redundancy; Judging whether there is a failure inside or outside the switching value output channel; setting a degraded mode in advance, and when a fault occurs, output the output according to the degraded mode. This method uses three independent redundant switching value output channels, has a degraded mode, and uses a self-test readback mechanism to effectively judge internal or external faults in the channel, ensuring the stability of the operating process. The invention also discloses a redundant switching value output channel, the output end of which is directly connected in parallel with a diode for redundancy, and through a degraded mode, thereby greatly improving the fault-tolerant capability of the entire system.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.
图1为本发明实施例公开的一种开关量输出通道冗余容错控制方法的流程图;FIG. 1 is a flow chart of a redundant fault-tolerant control method for switching output channels disclosed in an embodiment of the present invention;
图2为本发明实施例公开的一种冗余开关量输出通道的结构示意图;Fig. 2 is a schematic structural diagram of a redundant switch output channel disclosed in an embodiment of the present invention;
图3为本发明实施例公开的开关量输出通道电路硬件框图;Fig. 3 is the circuit hardware block diagram of switch quantity output channel disclosed by the embodiment of the present invention;
图4为本发明实施例公开的开关量输出通道电路原理图。Fig. 4 is a circuit schematic diagram of a switch output channel disclosed by an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明公开了一种开关量输出通道冗余容错控制方法,应用于DEH控制系统模块三冗余开关量输出通道,该方法包括:所述开关量输出通道的输入端接收FPGA发出的控制信号,将所述控制信号进行处理获取输出信号,所述输出信号各自通过二极管直接并联冗余;所述开关量输出通道通过自检回读方式,判断所述开关量输出通道内部或外部是否故障;预先设置降级模式,当有故障发生时,按照所述降级模式进行输出量的输出。该方法通过三个独立的冗余开关量输出通道,具有降级模式,并通过自检回读机制,有效判断通道内部或外部故障,保障了运行过程的稳定性。本发明还公开了一种冗余开关量输出通道,其输出端通过二极管直接并联冗余,并通过降级模式,从而极大的提高了整个系统的容错能力。The invention discloses a redundant fault-tolerant control method for switching value output channels, which is applied to three redundant switching value output channels of a DEH control system module. The method includes: the input end of the switching value output channel receives a control signal sent by FPGA, Process the control signal to obtain an output signal, and each of the output signals is directly connected in parallel through a diode for redundancy; the switching value output channel judges whether the internal or external failure of the switching value output channel is through a self-test readback mode; The degraded mode is set, and when a fault occurs, the output is output according to the degraded mode. This method uses three independent redundant switching value output channels, has a degraded mode, and uses a self-test readback mechanism to effectively judge internal or external faults in the channel, ensuring the stability of the operating process. The invention also discloses a redundant switching value output channel, the output end of which is directly connected in parallel with a diode for redundancy, and through a degraded mode, thereby greatly improving the fault-tolerant capability of the entire system.
请参阅附图1,为本发明实施例公开一种开关量输出通道冗余容错控制方法的流程图。本发明实施例公开了一种开关量输出通道冗余容错控制方法,应用于DEH控制系统模块三冗余开关量输出通道,该方法步骤具体包括:Please refer to FIG. 1 , which is a flowchart of a redundant fault-tolerant control method for switching output channels according to an embodiment of the present invention. The embodiment of the present invention discloses a redundant fault-tolerant control method for switching output channels, which is applied to three redundant switching output channels of a DEH control system module. The method steps specifically include:
步骤101:开关量输出通道的输入端接收FPGA发出的控制信号,将控制信号进行处理获取输出信号,输出信号各自通过二极管直接并联冗余。Step 101: The input terminal of the switching value output channel receives the control signal sent by the FPGA, processes the control signal to obtain an output signal, and the output signals are directly connected in parallel through diodes for redundancy.
步骤102:开关量输出通道通过自检回读方式,判断开关量输出通道内部或外部是否故障。Step 102: The switch output channel judges whether the switch output channel is internally or externally faulty by means of self-test readback.
具体的,自检回读方式判断内部故障或外部故障的具体方式:Specifically, the specific way of judging the internal fault or external fault by the self-test readback method:
1.通过回读与输出状态的比较,可以自检整个回路的故障,只要发生不一致,无论是通道内部故障或外部故障,均可以检出。1. By comparing the readback with the output state, the fault of the entire circuit can be self-checked. As long as there is an inconsistency, whether it is an internal fault or an external fault of the channel, it can be detected.
2.刚上电时,若回读值DO_TEST与输入值DO不一致时,判断通道内部故障。2. When the power is first turned on, if the readback value DO_TEST is inconsistent with the input value DO, it is judged that the internal fault of the channel.
3.若通道内部正常,则控制继电器S1闭合,S2断开,电路正常工作,当DO_TEST与DO不一致时,此时关断S1,先检测通道内部是否故障,如果通道内部正常,则判断外部短路。3. If the inside of the channel is normal, the control relay S1 will be closed, S2 will be disconnected, and the circuit will work normally. When DO_TEST is inconsistent with DO, turn off S1 at this time, and first check whether there is a fault inside the channel. If the inside of the channel is normal, then judge the external short circuit .
4.当外部发生短路时,间歇性的控制S1闭合,判断外部是否恢复正常。4. When an external short circuit occurs, the intermittent control S1 is closed to judge whether the external is back to normal.
步骤103:预先设置降级模式,当有故障发生时,按照所述降级模式进行输出量的输出。Step 103: Preset a degraded mode, and output the output according to the degraded mode when a fault occurs.
其中,上述所述的降级模式为3-2-1-0降级模式。所述3-2-1-0降级模式具体为:所述三冗余开关量输出通道直接并联,当其中一个通道故障不输出时则实现3降2;当其中两个通道故障不输出时则实现2降1;当三个通道同时故障不输出时则实现1降0。Wherein, the above-mentioned degraded mode is a 3-2-1-0 degraded mode. The 3-2-1-0 degraded mode is specifically: the three redundant switching output channels are directly connected in parallel, and when one of the channel failures does not output, 3 drops to 2; when two of the channel failures do not output, then Realize 2 to 1; when three channels fail at the same time and do not output, 1 to 0 is realized.
本发明公开了一种开关量输出通道冗余容错控制方法,应用于DEH控制系统模块三冗余开关量输出通道,该方法包括:所述开关量输出通道的输入端接收FPGA发出的控制信号,将所述控制信号进行处理获取输出信号,所述输出信号各自通过二极管直接并联冗余;所述开关量输出通道通过自检回读方式,判断所述开关量输出通道内部或外部是否故障;预先设置降级模式,当有故障发生时,按照所述降级模式进行输出量的输出。该方法通过三个独立的冗余开关量输出通道,具有降级模式,并通过自检回读机制,有效判断通道内部或外部故障,保障了运行过程的稳定性。The invention discloses a redundant fault-tolerant control method for switching value output channels, which is applied to three redundant switching value output channels of a DEH control system module. The method includes: the input end of the switching value output channel receives a control signal sent by FPGA, Process the control signal to obtain an output signal, and each of the output signals is directly connected in parallel through a diode for redundancy; the switching value output channel judges whether the internal or external failure of the switching value output channel is through a self-test readback mode; The degraded mode is set, and when a fault occurs, the output is output according to the degraded mode. This method uses three independent redundant switching value output channels, has a degraded mode, and uses a self-test readback mechanism to effectively judge internal or external faults in the channel, ensuring the stability of the operating process.
在上述本发明公开的实施例的基础上,本发明实施例还公开了一种冗余开关量输出通道,应用于DEH控制系统模块三冗余开关量输出通道,该冗余开关量输出通道包括:三个相互独立的开关量输出通道201、所述开关量输出通道201的输出端分别通过二极管202直接并联及与所述二极管202的一端相连的开关量输出端203。具体的,请参阅附图2,为本发明实施例公开的一种冗余开关量输出通道的结构示意图。如图2所示,三个开关量输出通道在三个模块上各自独立,输出端通过二极管直接并联冗余,实现降级模式,从而极大的提高了整个系统的容错能力。On the basis of the above disclosed embodiments of the present invention, the embodiment of the present invention also discloses a redundant switching value output channel, which is applied to the three redundant switching value output channels of the DEH control system module, and the redundant switching value output channel includes : three mutually independent switching value output channels 201, the output terminals of the switching value output channels 201 are directly connected in parallel through the diode 202 and the switching value output terminal 203 connected with one end of the diode 202 respectively. Specifically, please refer to FIG. 2 , which is a schematic structural diagram of a redundant switch output channel disclosed by an embodiment of the present invention. As shown in Figure 2, the three switch output channels are independent on the three modules, and the output terminals are directly paralleled for redundancy through diodes to achieve a degraded mode, thereby greatly improving the fault tolerance of the entire system.
其中,上述所述的降级模式为3-2-1-0降级模式。所述3-2-1-0降级模式具体为:所述三冗余开关量输出通道直接并联,当其中一个通道故障不输出时则实现3降2;当其中两个通道故障不输出时则实现2降1;当三个通道同时故障不输出时则实现1降0。Wherein, the above-mentioned degraded mode is a 3-2-1-0 degraded mode. The 3-2-1-0 degraded mode is specifically: the three redundant switching output channels are directly connected in parallel, and when one of the channel failures does not output, 3 drops to 2; when two of the channel failures do not output, then Realize 2 to 1; when three channels fail at the same time and do not output, 1 to 0 is realized.
具体的,请参阅附图3,为本发明实施例公开的开关量输出通道电路硬件框图。所述开关量输出通道的电路包括:供电电路、与所述供电电路连接的输出电路、及与所述供电电路和输出电路相连的回读电路,其中,Specifically, please refer to FIG. 3 , which is a hardware block diagram of a switch output channel circuit disclosed by an embodiment of the present invention. The circuit of the switching value output channel includes: a power supply circuit, an output circuit connected to the power supply circuit, and a readback circuit connected to the power supply circuit and the output circuit, wherein,
所述供电电路包括开关三极管Q1、R0为所述开关三极管Q1提供基极电流,当所述开关三极管Q1导通时阻值相同的R和R1分压,为MOS管M1提供栅极电压,使所述MOS管M1导通;所述输出电路包括继电器的两个节点S1和S2、防反二极管D1和钳位二极管D2,所述S1为常开节点,所述S2为常闭节点、所述防反二极管D1和钳位二极管D2为保证输出为正值;所述回读电路包括光耦U1、反相器、限流电阻R2和限流电阻R3、及上拉电阻R4,所述限流电阻R3为所述光耦U1提供电流,使所述光耦U1导通。The power supply circuit includes switch transistors Q1 and R0 to provide base current for the switch transistor Q1, and when the switch transistor Q1 is turned on, R and R1 with the same resistance divide the voltage to provide a gate voltage for the MOS transistor M1, so that The MOS transistor M1 is turned on; the output circuit includes two nodes S1 and S2 of the relay, an anti-reverse diode D1 and a clamping diode D2, the S1 is a normally open node, the S2 is a normally closed node, and the The anti-reverse diode D1 and the clamping diode D2 are to ensure that the output is a positive value; the readback circuit includes an optocoupler U1, an inverter, a current limiting resistor R2, a current limiting resistor R3, and a pull-up resistor R4, and the current limiting The resistor R3 provides current for the optocoupler U1 to turn on the optocoupler U1.
优选的,上述所述开关量输出通道的电路还包括:当出现短路故障时,熔断以保护所述开关量输出通道的自恢复保险丝F1。Preferably, the above-mentioned circuit of the switching value output channel further includes: a self-recovery fuse F1 that is blown to protect the switching value output channel when a short-circuit fault occurs.
当控制信号DO为“1”时,U1导通,输出“0”经反相器后回读“1”,S1和S2为继电器的两个节点,其中S1为常开节点,S2为常闭节点,D1为防反二极管,D2为嵌位二极管,保证输出为正值。When the control signal DO is "1", U1 is turned on, and the output "0" reads back "1" after passing through the inverter. S1 and S2 are the two nodes of the relay, of which S1 is normally open and S2 is normally closed. Node, D1 is the anti-reverse diode, D2 is the clamping diode to ensure that the output is a positive value.
DO是FPGA发出的控制信号,控制P沟道MOS管M1的通断,DO为“1”时,开关三极管Q1导通,MOS管M1栅极电压12V,MOS管M1导通,DO为“0”时,开关三极管Q1关断,MOS管M1栅极电压24V,MOS管M1截止。S1和S2为同一继电器的两个独立节点,S1为常开节点,S2为常闭节点。DOUT为输出信号,DO_TEST为上报FPGA的回读信号,U1为光耦隔离开关通道与回读电路,回读电路与板内控制器部分连接。DO is a control signal sent by the FPGA to control the on-off of the P-channel MOS transistor M1. When DO is "1", the switching transistor Q1 is turned on, the gate voltage of the MOS transistor M1 is 12V, the MOS transistor M1 is turned on, and DO is "0". ”, the switching transistor Q1 is turned off, the gate voltage of the MOS transistor M1 is 24V, and the MOS transistor M1 is cut off. S1 and S2 are two independent nodes of the same relay, S1 is a normally open node, and S2 is a normally closed node. DOUT is the output signal, DO_TEST is the readback signal reported to the FPGA, U1 is the optocoupler isolation switch channel and the readback circuit, and the readback circuit is connected to the on-board controller.
为了防止因通道短路故障引起的控制器部分电路损坏,F1为自恢复保险丝,其开关容量为200mA,当出现短路故障时,200mA保险丝F1熔断以保护通道,待故障排除后,F1自恢复保险丝自动恢复接通状态。In order to prevent part of the circuit damage of the controller caused by channel short-circuit fault, F1 is a self-recovery fuse with a switching capacity of 200mA. When a short-circuit fault occurs, the 200mA fuse F1 is blown to protect the channel. Return to connected state.
工作原理:当DO为“1”时,DO_TEST为“1”,DO为“0”时,DO_TEST为“0”,具体的为:Working principle: when DO is "1", DO_TEST is "1", when DO is "0", DO_TEST is "0", specifically:
1.刚上电时,继电器不动作,开关S1断开,S2闭合,系统输出与外界脱离因开关S1为断开状态,信号不会经过D1输出,即使此时S1发生粘连故障,因为S2为闭合状态,输出接地,将导向安全,不影响外部输出,通过回读值DO_TEST可判断通道内部是否故障,若通道正常,则控制S1闭合,S2断开,电路正常工作。通过继电器特性可知,小电流情况下,开关先断后合。1. When the power is first turned on, the relay does not act, switch S1 is disconnected, S2 is closed, and the system output is disconnected from the outside world. Since the switch S1 is disconnected, the signal will not be output through D1, even if S1 is stuck at this time, because S2 is In the closed state, the output is grounded, and it will lead to safety without affecting the external output. Through the readback value DO_TEST, it can be judged whether there is a fault inside the channel. If the channel is normal, control S1 to close, S2 to open, and the circuit works normally. It can be seen from the characteristics of the relay that under the condition of small current, the switch breaks first and then closes.
2.电路正常工作时,继电器不动作,由MOS管负责DO输出,输出电流最大200mA。2. When the circuit is working normally, the relay does not act, and the MOS tube is responsible for the DO output, and the maximum output current is 200mA.
3.检测到输出与回读不一致,则控制S1断开,S2闭合。3. If it is detected that the output is inconsistent with the readback, then control S1 to open and S2 to close.
对其故障分析:自检的原则是检出通道故障,不区分具体的故障原因,以下所说的不影响外部状态是指在冗余模式下:Fault analysis: The principle of self-inspection is to detect channel faults, without distinguishing the specific fault cause. The following does not affect the external state refers to the redundant mode:
1.通过回读与输出状态的比较,可以自检整个回路的故障,只要发生不一致,无论是通道内部故障或外部故障,均可以检出。1. By comparing the readback with the output state, the fault of the entire circuit can be self-checked. As long as there is an inconsistency, whether it is an internal fault or an external fault of the channel, it can be detected.
2.刚上电时,若回读值DO_TEST与输入值DO不一致时,判断通道内部故障。2. When the power is first turned on, if the readback value DO_TEST is inconsistent with the input value DO, it is judged that the internal fault of the channel.
3.若通道内部正常,则控制继电器S1闭合,S2断开,电路正常工作,当DO_TEST与DO不一致时,此时关断S1,先检测通道内部是否故障,如果通道内部正常,则判断外部短路。3. If the inside of the channel is normal, the control relay S1 will be closed, S2 will be disconnected, and the circuit will work normally. When DO_TEST is inconsistent with DO, turn off S1 at this time, and first check whether there is a fault inside the channel. If the inside of the channel is normal, then judge the external short circuit .
4.当外部发生短路时,间歇性的控制S1闭合,判断外部是否恢复正常。4. When an external short circuit occurs, the intermittent control S1 is closed to judge whether the external is back to normal.
具体的,请参阅附图4,为本发明实施例公开的开关量输出通道电路原理图。如图4所示为DO电路原理图,DO1为输入控制信号,DO1_OUT为输出信号,DO1_TEST为回读信号,DO_K1为继电器控制信号。Specifically, please refer to FIG. 4 , which is a schematic diagram of a switch output channel circuit disclosed by an embodiment of the present invention. Figure 4 shows the schematic diagram of the DO circuit, DO1 is the input control signal, DO1_OUT is the output signal, DO1_TEST is the readback signal, and DO_K1 is the relay control signal.
当输入控制信号DO1为“1”时,Q14导通,+24V_DO经电阻R810,R811分压后得到MOS管栅极电压为+12V,MOS管导通;刚上电时,继电器不工作,此时常开节点断开,常闭节点闭合,输出与外界脱离,不影响外部输出,通过回读值DO_TEST可判断通道内部是否故障,若通道正常,则控制S1闭合,S2断开,电路正常工作,通过MOS管输出最大200mA的DO信号。When the input control signal DO1 is "1", Q14 is turned on, and +24V_DO is divided by resistors R810 and R811 to get the gate voltage of the MOS tube to be +12V, and the MOS tube is turned on; when the power is just turned on, the relay does not work. The normally open node is disconnected, the normally closed node is closed, the output is separated from the outside world, and does not affect the external output. Through the readback value DO_TEST, it can be judged whether there is a fault inside the channel. If the channel is normal, control S1 to close, S2 to open, and the circuit works normally. Output a maximum 200mA DO signal through the MOS tube.
当输入控制信号DO为“0”时,MOS管栅极电压为+24V,MOS管截止。K9为欧姆龙的G6B型小功率继电器,具有相互独立的一路常开、一路常闭触点,二极管D343保护MOS管,防止因电阻R810短路导致MOS管损坏,D130为防反二极管,当多路DO冗余工作时,二极管D130可以防止电流倒灌。When the input control signal DO is "0", the gate voltage of the MOS transistor is +24V, and the MOS transistor is cut off. K9 is Omron's G6B low-power relay, which has one normally open and one normally closed contact independent of each other. The diode D343 protects the MOS tube to prevent the MOS tube from being damaged due to the short circuit of the resistor R810. D130 is an anti-reverse diode. During redundant operation, the diode D130 can prevent the current from pouring back.
综上所述:本发明公开了一种开关量输出通道冗余容错控制方法,应用于DEH控制系统模块三冗余开关量输出通道,该方法包括:所述开关量输出通道的输入端接收FPGA发出的控制信号,将所述控制信号进行处理获取输出信号,所述输出信号各自通过二极管直接并联冗余;所述开关量输出通道通过自检回读方式,判断所述开关量输出通道内部或外部是否故障;预先设置降级模式,当有故障发生时,按照所述降级模式进行输出量的输出。该方法通过三个独立的冗余开关量输出通道,具有降级模式,并通过自检回读机制,有效判断通道内部或外部故障,保障了运行过程的稳定性。本发明还公开了一种冗余开关量输出通道,其输出端通过二极管直接并联冗余,并通过降级模式,从而极大的提高了整个系统的容错能力。In summary: the present invention discloses a redundant fault-tolerant control method for switching output channels, which is applied to three redundant switching output channels of a DEH control system module. The method includes: the input end of the switching output channel receives an FPGA The control signal sent out, the control signal is processed to obtain the output signal, and the output signals are directly connected in parallel through diodes for redundancy; the switching value output channel judges whether the internal or external state of the switching value output channel is Whether there is an external failure; the degraded mode is set in advance, and when a fault occurs, the output will be output according to the degraded mode. This method uses three independent redundant switching value output channels, has a degraded mode, and uses a self-test readback mechanism to effectively judge internal or external faults in the channel, ensuring the stability of the operating process. The invention also discloses a redundant switching value output channel, the output end of which is directly connected in parallel with a diode for redundancy, and through a degraded mode, thereby greatly improving the fault-tolerant capability of the entire system.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310230877.5A CN103293949B (en) | 2013-06-08 | 2013-06-08 | Output switch parameter passage redundant fault-tolerant control method and Redundanter schalter amount output channel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310230877.5A CN103293949B (en) | 2013-06-08 | 2013-06-08 | Output switch parameter passage redundant fault-tolerant control method and Redundanter schalter amount output channel |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103293949A CN103293949A (en) | 2013-09-11 |
CN103293949B true CN103293949B (en) | 2016-02-03 |
Family
ID=49095023
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310230877.5A Active CN103293949B (en) | 2013-06-08 | 2013-06-08 | Output switch parameter passage redundant fault-tolerant control method and Redundanter schalter amount output channel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103293949B (en) |
Families Citing this family (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104035829B (en) * | 2014-05-26 | 2018-01-12 | 汉柏科技有限公司 | A kind of method and module for debugging lock |
CN104238435B (en) * | 2014-05-27 | 2017-01-18 | 北京航天自动控制研究所 | Triple-redundancy control computer and fault-tolerant control system |
CN104375034B (en) * | 2014-11-07 | 2017-02-08 | 北京交控科技股份有限公司 | On-board equipment on-off output channel online self-checking system of subway signal system |
CN105137966B (en) * | 2015-10-20 | 2018-09-18 | 浙江中控技术股份有限公司 | A kind of output switch parameter channel detection methods and structure |
CN105425773B (en) * | 2015-11-17 | 2018-04-20 | 绵阳市维博电子有限责任公司 | The relay output channel diagnostic device and method of a kind of control system |
CN105527898B (en) * | 2015-12-21 | 2018-09-18 | 浙江中控技术股份有限公司 | A kind of triple modular redundant communication system and method |
CN105626270B (en) * | 2015-12-29 | 2017-09-29 | 中国航空工业集团公司沈阳发动机设计研究所 | A kind of full authority control system fault-tolerance approach of fanjet |
CN105629797B (en) * | 2016-03-29 | 2018-09-28 | 杭州和利时自动化有限公司 | A kind of output control method and system for N number of output channel |
CN106647697A (en) * | 2016-12-07 | 2017-05-10 | 广东电网有限责任公司电力调度控制中心 | Verification method for switching quantity input signals |
CN108808749B (en) * | 2017-04-26 | 2024-11-08 | 奥动新能源汽车科技有限公司 | Battery Management System |
CN107145065A (en) * | 2017-05-22 | 2017-09-08 | 上海自动化仪表有限公司 | Based on triple redundance output-controlling device |
CN109188895A (en) * | 2018-09-13 | 2019-01-11 | 杭州和利时自动化有限公司 | A kind of servo-control system based on Redundancy Design |
CN109444625A (en) * | 2018-10-25 | 2019-03-08 | 南京国电南自维美德自动化有限公司 | Reliability steam turbine pitch driving device and method with secondary readback monitoring circuit |
CN110095977B (en) * | 2019-04-29 | 2023-06-16 | 重庆川仪控制系统有限公司 | Redundant equipment, judging method of master-slave module, topology system and communication decision-making method |
CN110262216B (en) * | 2019-08-01 | 2022-03-18 | 中国航发湖南动力机械研究所 | Vibration monitoring system with multiple channels independently judged and redundantly arranged |
CN110888390A (en) * | 2019-12-06 | 2020-03-17 | 北京和利时智能技术有限公司 | Digital quantity output redundancy circuit and PLC control system |
CN111679621B (en) * | 2020-07-15 | 2020-12-08 | 南京科远智慧科技集团股份有限公司 | Circuit method for improving current output reliability in triple redundancy |
CN112034774B (en) * | 2020-07-20 | 2024-03-19 | 中国船舶重工集团公司第七一五研究所 | Thermal redundancy control method |
RU203989U1 (en) * | 2020-11-09 | 2021-05-04 | Общество с ограниченной ответственностью "Научно-производственное предприятие "ЮГПРОМАВТОМАТИЗАЦИЯ" | Self-monitoring control signal output device for redundant systems |
CN113541672B (en) * | 2021-07-02 | 2024-04-23 | 浙江中控技术股份有限公司 | Risk degradation device and risk degradation method |
CN114185291B (en) * | 2021-12-02 | 2023-07-11 | 杭州和利时自动化有限公司 | Output control system |
CN114441026A (en) * | 2022-04-11 | 2022-05-06 | 深圳市杰曼科技股份有限公司 | Switching value three-state output circuit of weighing instrument |
CN115113612B (en) * | 2022-07-20 | 2024-06-04 | 中国核动力研究设计院 | Nuclear power plant DCS system redundancy switching value output diagnosis system and diagnosis method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1335710A (en) * | 1970-09-15 | 1973-10-31 | Elliott Brothers London Ltd | Voter circuits for triple redundant systems |
CN101576836A (en) * | 2009-06-12 | 2009-11-11 | 北京航空航天大学 | Degradable three-machine redundancy fault-tolerant system |
CN102621938A (en) * | 2011-01-28 | 2012-08-01 | 上海新华控制技术(集团)有限公司 | Triple redundancy control system in process control and method thereof |
CN202421854U (en) * | 2011-12-22 | 2012-09-05 | 上海新华控制技术(集团)有限公司 | Triplex level redundancy switching value output module for DCS (data communication system) |
CN203561843U (en) * | 2013-06-08 | 2014-04-23 | 杭州和利时自动化有限公司 | A redundant switching output channel |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101777790B (en) * | 2009-12-30 | 2011-11-16 | 北京宇航系统工程研究所 | Reliable power supply circuit of triple redundancy embedded computer system |
CN102096401B (en) * | 2010-12-22 | 2015-03-11 | 北京昊图科技有限公司 | Redundant and fault-tolerant safety instrument control system based on fieldbus and ARM (advanced RISC machines) |
-
2013
- 2013-06-08 CN CN201310230877.5A patent/CN103293949B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1335710A (en) * | 1970-09-15 | 1973-10-31 | Elliott Brothers London Ltd | Voter circuits for triple redundant systems |
CN101576836A (en) * | 2009-06-12 | 2009-11-11 | 北京航空航天大学 | Degradable three-machine redundancy fault-tolerant system |
CN102621938A (en) * | 2011-01-28 | 2012-08-01 | 上海新华控制技术(集团)有限公司 | Triple redundancy control system in process control and method thereof |
CN202421854U (en) * | 2011-12-22 | 2012-09-05 | 上海新华控制技术(集团)有限公司 | Triplex level redundancy switching value output module for DCS (data communication system) |
CN203561843U (en) * | 2013-06-08 | 2014-04-23 | 杭州和利时自动化有限公司 | A redundant switching output channel |
Also Published As
Publication number | Publication date |
---|---|
CN103293949A (en) | 2013-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103293949B (en) | Output switch parameter passage redundant fault-tolerant control method and Redundanter schalter amount output channel | |
CN109541457B (en) | Control circuit of high-voltage relay of power battery and fault diagnosis method | |
WO2022142528A1 (en) | Functionally safe switching value output module and diagnostic processing method | |
CN107408808B (en) | Triple redundant digital protection relay and its operation method | |
CN203561843U (en) | A redundant switching output channel | |
CN105301491B (en) | A state monitoring circuit of a circuit breaker with auxiliary contacts | |
DE102006015996A1 (en) | Distribution box without relay or fuse | |
CN107957692B (en) | Controller redundancy method, device and system | |
CN104635102A (en) | Electronic component detection device and detection method thereof | |
JP2014207670A (en) | Method for detecting or predicting electrical fault | |
CN104237742A (en) | Method for improving fault location tolerance of power distribution network by utilizing fault current relative errors | |
CN110134001A (en) | A heterogeneous dual-core motor servo controller with redundant safety and its redundant safety control method | |
CN109032318A (en) | A kind of power monitoring system and storage server system | |
CN107870846A (en) | Fault element indicating means, equipment and system | |
CN100462728C (en) | Circuit device and method for testing digital output circuit relay switch contacts | |
US12106916B2 (en) | Relay protective device, construction machine, relay protection control method and apparatus | |
JP2010019791A (en) | Battery device | |
CN110888390A (en) | Digital quantity output redundancy circuit and PLC control system | |
CN209946646U (en) | Redundant circuit switching system for single-loop control instrument | |
DE102018001326A1 (en) | Connection circuit of a coupling device | |
US20100207637A1 (en) | Circuit assembly for error indicating | |
CN203870470U (en) | Feeder automation test system without network | |
CN109572436B (en) | Diagnosis system for load circuit and electric vehicle | |
CN106919493A (en) | Electric fault monitoring system and method on a kind of server | |
CN113341334A (en) | Power failure processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |