JP2019003313A - Fail-safe circuit - Google Patents

Fail-safe circuit Download PDF

Info

Publication number
JP2019003313A
JP2019003313A JP2017115795A JP2017115795A JP2019003313A JP 2019003313 A JP2019003313 A JP 2019003313A JP 2017115795 A JP2017115795 A JP 2017115795A JP 2017115795 A JP2017115795 A JP 2017115795A JP 2019003313 A JP2019003313 A JP 2019003313A
Authority
JP
Japan
Prior art keywords
relay
pulse
contact
turned
power supply
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.)
Granted
Application number
JP2017115795A
Other languages
Japanese (ja)
Other versions
JP6846989B2 (en
Inventor
輝夫 的場
Teruo Matoba
輝夫 的場
浩司 沖浦
Koji Okiura
浩司 沖浦
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.)
Mitsubishi Electric Engineering Co Ltd
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Engineering Co Ltd filed Critical Mitsubishi Electric Engineering Co Ltd
Priority to JP2017115795A priority Critical patent/JP6846989B2/en
Publication of JP2019003313A publication Critical patent/JP2019003313A/en
Application granted granted Critical
Publication of JP6846989B2 publication Critical patent/JP6846989B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Safety Devices In Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

To achieve a fail-safe circuit capable of withstanding against vibration and shock, and of being downsized.SOLUTION: A fail-safe circuit 1 includes: a pulse monitoring circuit 4 which includes a semiconductor integrated circuit and which monitors an input of a pulse signal that is output by a programmable controller 100; a pulse normality detecting relay 5 that changes to an OFF state when an abnormality occurs in the input of the pulse signal; a contact 7 for the pulse normality detecting relay which becomes an OFF state when the pulse normality detecting relay 5 is in the OFF state; a normality detecting relay 6 that becomes an OFF state when the contact 7 is in the OFF state; and a contact 9 for the normality detecting relay which is connected in series to an external load 8 connected to the programmable controller 100, becomes an OFF state when the normality detecting relay 6 is in the OFF state, and cuts off a power supply from an external power source to the external load 8.SELECTED DRAWING: Figure 1

Description

この発明は、フェールセーフ回路に関し、特に、プログラマブルコントローラのフェールセーフ回路に関する。   The present invention relates to a fail safe circuit, and more particularly to a fail safe circuit of a programmable controller.

プログラマブルコントローラに異常が発生した場合、システムに悪影響が出ないよう、外部負荷を安全な動作方向に切り替えるため、装置の停止または開閉等の制御を行う必要がある。   When an abnormality occurs in the programmable controller, it is necessary to perform control such as stopping or opening / closing the apparatus in order to switch the external load to a safe operation direction so as not to adversely affect the system.

プログラマブルコントローラの従来の異常検出方法として、CPUから一定周期のパルス信号を出力し、これを監視することでプログラマブルコントローラの正常・異常を判定する方法が提案されている。このパルスは、正常時は一定周期で出力され、異常時は停止状態となるため、パルスのオンまたはオフの時間を、それぞれ、オフディレイタイマおよびオンディレイタイマで監視し、パルスのオンまたはオフが一定時間変化しない場合に、プログラマブルコントローラの異常と判断していた(例えば、特許文献1参照)。   As a conventional abnormality detection method for a programmable controller, a method for determining normality / abnormality of a programmable controller by outputting a pulse signal having a constant period from a CPU and monitoring the pulse signal has been proposed. This pulse is output at a fixed period when normal, and is stopped when abnormal, so the pulse on or off time is monitored by the off-delay timer and on-delay timer, respectively. When it does not change for a certain period of time, it is determined that the programmable controller is abnormal (see, for example, Patent Document 1).

特許第3435274号公報Japanese Patent No. 3435274

特許文献1に記載の従来のフェールセーフ回路は、前記のとおり、オンディレイタイマおよびオフディレイタイマを使用しており、これらが外部負荷を安全な動作方向へ切り替える重要な部品となる。しかし、オンディレイタイマおよびオフディレイタイマの信号出力部は、機械的接点で構成されているため、振動及び衝撃に弱いという特性を持っており、輸送時及び地震時の振動および衝撃などの影響で誤動作を招く可能性も考えられる。さらに、機械的接点を内蔵している構造上、機械的・電気的な寿命が短く、さらに、部品自体が大きいために、回路を収納する装置の小型化が難しい等、フェールセーフ回路を構成する上でさまざまな課題があった。   As described above, the conventional fail-safe circuit described in Patent Document 1 uses an on-delay timer and an off-delay timer, which are important components for switching an external load in a safe operating direction. However, since the signal output section of the on-delay timer and off-delay timer is composed of mechanical contacts, it has the characteristic of being vulnerable to vibration and impact, and is affected by vibration and impact during transportation and earthquakes. There is also a possibility of causing a malfunction. In addition, the structure with built-in mechanical contacts has a short mechanical and electrical life, and because the parts themselves are large, it is difficult to reduce the size of the device that houses the circuit. There were various issues above.

この発明は、上記のような課題を解決するためになされたものであり、振動・衝撃に強く、小型化が可能な、フェールセーフ回路の提供を目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a fail-safe circuit that is resistant to vibration and impact and can be downsized.

この発明は、一定周期でパルス信号を出力するプログラマブルコントローラに接続され、プログラマブルコントローラの正常・異常を監視するフェールセーフ回路であって、半導体集積回路から構成され、前記プログラマブルコントローラが出力する前記パルス信号が入力され、前記パルス信号の入力の正常・異常を監視するパルス監視回路と、前記パルス監視回路に接続され、前記パルス監視回路が前記パルス信号の入力に異常が発生したことを検知した場合に、オン状態からオフ状態に切り替わるパルス正常検出リレーと、前記パルス正常検出リレーがオン状態の場合にオン状態で、前記パルス正常検出リレーがオフ状態の場合にオフ状態となる、前記パルス正常検出リレーの接点と、前記パルス正常検出リレーの前記接点に直列に接続され、前記パルス正常検出リレーの前記接点がオン状態の場合にオン状態で、前記パルス正常検出リレーの前記接点がオフ状態の場合にオフ状態となる、正常検出リレーと、前記プログラマブルコントローラに接続されている外部負荷に直列に接続され、前記正常検出リレーがオン状態のときにオン状態となって前記外部負荷を外部電源に接続し、前記正常検出リレーがオフ状態のときにオフ状態となって前記外部負荷への前記外部電源からの電源供給を遮断する前記正常検出リレーの接点とを備えた、フェールセーフ回路である。   The present invention is a fail-safe circuit that is connected to a programmable controller that outputs a pulse signal at a constant cycle and monitors normality / abnormality of the programmable controller, and is constituted by a semiconductor integrated circuit, and the pulse signal output by the programmable controller Is connected to the pulse monitoring circuit and the pulse monitoring circuit detects that an abnormality has occurred in the input of the pulse signal. A pulse normal detection relay that switches from an on state to an off state, and the pulse normal detection relay that is on when the pulse normal detection relay is on and is off when the pulse normal detection relay is off Connected in series with the contact of the pulse normal detection relay Connected to the programmable controller, which is in the on state when the contact of the pulse normal detection relay is on, and is in the off state when the contact of the pulse normal detection relay is off. Is connected in series to the external load, is turned on when the normal detection relay is on, and is connected to the external power source, and is off when the normal detection relay is off. It is a fail safe circuit provided with the contact of the said normal detection relay which interrupts | blocks the power supply from the said external power supply with respect to the said external load.

この発明に係るフェールセーフ回路は、パルス監視回路を半導体集積回路から構成するようにしたので、従来の機械的接点で構成していた場合に比べて、振動・衝撃に強く、小型化が可能である。   In the fail-safe circuit according to the present invention, since the pulse monitoring circuit is constituted by a semiconductor integrated circuit, it is more resistant to vibrations and shocks and can be reduced in size than the case where it is constituted by a conventional mechanical contact. is there.

この発明の実施の形態1に係るフェールセーフ回路の構成を示すブロック図である。It is a block diagram which shows the structure of the fail safe circuit which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係るフェールセーフ回路の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of the fail safe circuit which concerns on Embodiment 1 of this invention. この発明の実施の形態2に係るフェールセーフ回路の構成を示すブロック図である。It is a block diagram which shows the structure of the fail safe circuit which concerns on Embodiment 2 of this invention. この発明の実施の形態2に係るフェールセーフ回路の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of the fail safe circuit which concerns on Embodiment 2 of this invention. この発明の実施の形態3に係るフェールセーフ回路の構成を示すブロック図である。It is a block diagram which shows the structure of the fail safe circuit which concerns on Embodiment 3 of this invention. この発明の実施の形態4に係るフェールセーフ回路の構成を示すブロック図である。It is a block diagram which shows the structure of the fail safe circuit which concerns on Embodiment 4 of this invention.

実施の形態1.
以下、この発明の実施の形態1に係るフェールセーフ回路について、図1及び図2に基づいて説明する。図1は、実施の形態1に係るフェールセーフ回路の構成を示すブロック図である。
Embodiment 1 FIG.
Hereinafter, a fail-safe circuit according to Embodiment 1 of the present invention will be described with reference to FIG. 1 and FIG. FIG. 1 is a block diagram showing a configuration of a fail-safe circuit according to the first embodiment.

図1に示すように、フェールセーフ回路1は、プログラマブルコントローラ100に接続されている。フェールセーフ回路1は、プログラマブルコントローラ100に異常が発生した場合に、プログラマブルコントローラ100に接続されている外部負荷8への外部電源装置10Bからの電源供給を遮断するフェールセーフ動作を行うものである。   As shown in FIG. 1, the fail safe circuit 1 is connected to a programmable controller 100. The fail-safe circuit 1 performs a fail-safe operation for cutting off the power supply from the external power supply apparatus 10B to the external load 8 connected to the programmable controller 100 when an abnormality occurs in the programmable controller 100.

プログラマブルコントローラ100は、図1に示すように、CPU2と出力ユニット3A,3Bを有している。   As shown in FIG. 1, the programmable controller 100 includes a CPU 2 and output units 3A and 3B.

出力ユニット3Aには、Y00端子を介して、フェールセーフ回路1が接続されている。また、出力ユニット3Bには、Y10端子を介して、外部負荷8が接続されている。   The fail safe circuit 1 is connected to the output unit 3A via the Y00 terminal. Further, an external load 8 is connected to the output unit 3B via a Y10 terminal.

フェールセーフ回路1内には、パルス監視回路4と、パルス正常検出リレー5と、正常検出リレー6と、パルス正常検出リレー5の接点7と、正常検出リレー6の接点9とが設けられている。   In the fail safe circuit 1, a pulse monitoring circuit 4, a pulse normal detection relay 5, a normal detection relay 6, a contact 7 of the pulse normal detection relay 5, and a contact 9 of the normal detection relay 6 are provided. .

また、フェールセーフ回路1には外部電源装置10Aが接続され、フェールセーフ回路1は外部電源装置10Aからの電力で駆動される。外部負荷8には外部電源装置10Bが接続され、外部負荷8は外部電源装置10Bからの電力で駆動されている。   The fail safe circuit 1 is connected to an external power supply device 10A, and the fail safe circuit 1 is driven by power from the external power supply device 10A. An external power supply device 10B is connected to the external load 8, and the external load 8 is driven by electric power from the external power supply device 10B.

図1に示すように、パルス監視回路4は、出力ユニット3AのY00端子に接続されている。パルス監視回路4は、半導体集積回路から構成されている。パルス監視回路4は、プログラマブルコントローラ100が出力するパルス信号が入力され、パルス信号が入力された時点から一定時間(t)経過後に、応答パルス信号を出力する。パルス監視回路4の後段には、パルス正常検出リレー5が直列に接続されている。パルス正常検出リレー5は、パルス監視回路4が出力する応答パルスが一定時間(t)を超過しても入力されない場合に、オン状態からオフ状態に切り替わる。   As shown in FIG. 1, the pulse monitoring circuit 4 is connected to the Y00 terminal of the output unit 3A. The pulse monitoring circuit 4 is composed of a semiconductor integrated circuit. The pulse monitoring circuit 4 receives the pulse signal output from the programmable controller 100 and outputs a response pulse signal after a predetermined time (t) has elapsed since the pulse signal was input. A pulse normality detection relay 5 is connected in series downstream of the pulse monitoring circuit 4. The pulse normality detection relay 5 switches from the on state to the off state when the response pulse output from the pulse monitoring circuit 4 is not input even if it exceeds a certain time (t).

また、パルス正常検出リレー5に対して、並列に、正常検出リレー6が接続されている。正常検出リレー6の前段には、パルス正常検出リレー5の接点7が直列に接続されている。パルス正常検出リレー5の接点7は、出力ユニット3Aの0Vに接続されている。   Further, a normal detection relay 6 is connected in parallel to the pulse normal detection relay 5. The contact point 7 of the pulse normality detection relay 5 is connected in series before the normality detection relay 6. The contact 7 of the pulse normality detection relay 5 is connected to 0V of the output unit 3A.

また、外部負荷8は、出力ユニット3BのY10端子に接続されている。また、外部負荷8の後段には、正常検出リレー6の接点9が、直列に接続されている。   The external load 8 is connected to the Y10 terminal of the output unit 3B. Further, the contact 9 of the normal detection relay 6 is connected in series downstream of the external load 8.

次に、実施の形態1に係るフェールセーフ回路の動作について説明する。   Next, the operation of the fail safe circuit according to the first embodiment will be described.

プログラマブルコントローラ100が正常に動作している時は、CPU2の制御により、出力ユニット3AのY00端子を介して、プログラマブルコントローラ100から一定周期でパルス信号が出力され、パルス監視回路4に入力される。一方、プログラマブルコントローラ100の異常時には、パルス信号が停止する。パルス信号の入力の状態をパルス監視回路4で監視することで、プログラマブルコントローラ100の正常・異常を判断する。   When the programmable controller 100 is operating normally, a pulse signal is output from the programmable controller 100 at a constant cycle via the Y00 terminal of the output unit 3A under the control of the CPU 2 and input to the pulse monitoring circuit 4. On the other hand, the pulse signal stops when the programmable controller 100 is abnormal. The pulse monitoring circuit 4 monitors the input state of the pulse signal to determine whether the programmable controller 100 is normal or abnormal.

これを図2のタイムチャートで説明する。   This will be described with reference to the time chart of FIG.

図2において、(1)はCPU2からのパルス信号の状態、(2)はパルス正常検出リレー5の動作、(3)は正常検出リレー6の動作、(4)は外部負荷8の状態を示す。   In FIG. 2, (1) shows the state of the pulse signal from the CPU 2, (2) shows the operation of the pulse normal detection relay 5, (3) shows the operation of the normal detection relay 6, and (4) shows the state of the external load 8. .

図2において、CPU2の制御によりパルス信号が正常に出力されている時(図2の(1)−a)は、パルス正常検出リレー5はオンとなる(図2の(2)−a)。一方、プログラマブルコントローラ100に何らかの異常が発生して、パルス信号が停止すると(図2の(1)−b)、最後に出力されたパルス信号の立ちあがりタイミングから一定時間(t)経過後に、パルス正常検出リレー5はオフとなる(図2の(2)−b)。すなわち、パルス正常検出リレー5は、一定時間(t)が経過しても、次のパルス信号がパルス監視回路4から入力されない場合に、オフ状態となる。   In FIG. 2, when the pulse signal is normally output under the control of the CPU 2 ((1) -a in FIG. 2), the pulse normality detection relay 5 is turned on ((2) -a in FIG. 2). On the other hand, if any abnormality occurs in the programmable controller 100 and the pulse signal is stopped ((1) -b in FIG. 2), the pulse is normal after a predetermined time (t) has elapsed from the rising timing of the last output pulse signal. The detection relay 5 is turned off ((2) -b in FIG. 2). That is, the pulse normality detection relay 5 is turned off when the next pulse signal is not input from the pulse monitoring circuit 4 even after a predetermined time (t) has elapsed.

ここで、パルス監視回路4には、図1に示すように、ワンショットIC(符号4a)が内蔵されている。ワンショットICは、1つのパルス信号を入力すると、予め設定した一定時間(t)経過後に、応答パルス信号として、1つの出力をするIC(Integrated Circuit(集積回路))から構成されている。従って、1つのパルス信号の入力から1つの応答パルス信号の出力までの一定時間(t)以内に、次のパルス信号を入力した場合、次のパルス信号を入力した時点からさらに一定時間(t)経過後に他の1つの応答パルス信号の出力を行うように動作する。このため、連続したパルス信号を入力すると、パルス信号が入力されている間は出力されず、パルス信号の入力が停止すると、その時点から一定時間(t)経過後に、連続した応答パルス信号が出力されることとなる。そのため、パルス監視回路4から、一定時間(t)が経過しても、応答パルス信号の出力が無い場合に、パルス正常検出リレー5がオフ状態に切り替わる構成とすることにより、パルス信号の入力の監視が可能となる。また、ワンショットICは、パルス信号の立ち上がり動作を見て、パルス入力有りと判断しているので、パルス信号がオンまたはオフのどちらの状態で停止しても、パルス信号の停止と認識し、一定時間(t)経過後にパルス正常検出リレー5をオフ状態に切り替える。   Here, the pulse monitoring circuit 4 incorporates a one-shot IC (reference numeral 4a) as shown in FIG. The one-shot IC is composed of an IC (Integrated Circuit) that outputs one response pulse signal after a predetermined time (t) has elapsed when one pulse signal is input. Therefore, when the next pulse signal is input within a certain time (t) from the input of one pulse signal to the output of one response pulse signal, a further fixed time (t) from the time when the next pulse signal is input. It operates to output another response pulse signal after the passage. For this reason, when a continuous pulse signal is input, it is not output while the pulse signal is input. When the input of the pulse signal is stopped, a continuous response pulse signal is output after a certain time (t) has elapsed from that point. Will be. Therefore, the pulse normal detection relay 5 is switched to the OFF state when no response pulse signal is output even after a predetermined time (t) has elapsed from the pulse monitoring circuit 4, so that the input of the pulse signal can be performed. Monitoring is possible. Also, since the one-shot IC determines that there is a pulse input by looking at the rising operation of the pulse signal, it recognizes that the pulse signal has stopped, regardless of whether the pulse signal is on or off. After a predetermined time (t) has elapsed, the pulse normality detection relay 5 is switched to the off state.

また、パルス信号が停止してからパルス正常検出リレー5をオフするまでの一定時間(t)は、パルス監視回路4内の抵抗R(符号4b)とコンデンサC(符号4c)の時定数で決定される。そのため、予め回路の仕様にあった値に一定時間(t)を設定しておく。パルス正常検出リレー5がオフすると、パルス正常検出リレー5の接点7がオフとなり、正常検出リレー6がオフする(図2の(3))。これを受け、外部負荷8に接続している正常検出リレー6の接点9が開状態となり、外部負荷8を強制的にオフとすることが出来る(図2の(4))。   Further, the fixed time (t) from when the pulse signal is stopped until the pulse normality detection relay 5 is turned off is determined by the time constants of the resistor R (reference numeral 4b) and the capacitor C (reference numeral 4c) in the pulse monitoring circuit 4. Is done. Therefore, a predetermined time (t) is set in advance to a value that meets the circuit specifications. When the pulse normal detection relay 5 is turned off, the contact 7 of the pulse normal detection relay 5 is turned off, and the normal detection relay 6 is turned off ((3) in FIG. 2). In response to this, the contact 9 of the normal detection relay 6 connected to the external load 8 is opened, and the external load 8 can be forcibly turned off ((4) in FIG. 2).

以上のように、実施の形態1によれば、従来のフェールセーフ回路で使用していた機械式接点を備えた外形寸法の大きいオンディレイタイマ・オフディレイタイマと同等の機能を、機械式接点が無く、外形寸法が小さい半導体集積回路のワンショットICで実現することができる。これにより、従来の機械式接点で構成していた場合に比べ、振動および衝撃に強く、小型化が可能である。   As described above, according to the first embodiment, the mechanical contact has a function equivalent to that of the on-delay timer / off-delay timer having a large outer dimension provided with the mechanical contact used in the conventional fail-safe circuit. It can be realized by a one-shot IC of a semiconductor integrated circuit having a small external dimension. Thereby, compared with the case where it comprises with the conventional mechanical contact, it is strong to a vibration and an impact, and size reduction is possible.

さらに、パルス正常検出リレー5及び正常検出リレー6を機械式リレーから半導体リレーに変更することで、構成部品を全て半導体にすることができ、完全に機械式接点の無い、フェールセーフ回路を実現することができるので、振動および衝撃により強く、さらなる小型化が可能な、フェールセーフ回路を得ることが可能となる。   Furthermore, by changing the pulse normal detection relay 5 and the normal detection relay 6 from a mechanical relay to a semiconductor relay, all the components can be made semiconductor, and a fail-safe circuit completely free of mechanical contacts is realized. Therefore, it is possible to obtain a fail-safe circuit that is strong against vibration and shock and can be further reduced in size.

なお、パルス信号を監視するパルス監視回路4にワンショットICを使用することとして記載したが、その場合に限らず、例えばFPGA等、ワンショットICと同等機能を有する回路を使用してもよい。   Although it has been described that the one-shot IC is used for the pulse monitoring circuit 4 that monitors the pulse signal, the present invention is not limited to this, and a circuit having the same function as the one-shot IC, such as an FPGA, may be used.

実施の形態2.
上記の実施の形態1では、パルス監視回路4にワンショットICを使用し、抵抗RとコンデンサCによる時定数によってパルス停止から異常検出までの一定時間(t)を設定したが、実施の形態2では、パルス監視回路4にカウンタICを使用する構成とする。以下、この発明の実施の形態2に係るフェールセーフ回路について、図3及び図4を用いて説明する。
Embodiment 2. FIG.
In the first embodiment, a one-shot IC is used for the pulse monitoring circuit 4 and a certain time (t) from the pulse stop to the abnormality detection is set by the time constant of the resistor R and the capacitor C. Then, it is set as the structure which uses counter IC for the pulse monitoring circuit 4. FIG. Hereinafter, a fail-safe circuit according to Embodiment 2 of the present invention will be described with reference to FIGS. 3 and 4. FIG.

図3は、実施の形態2に係るフェールセーフ回路の構成を示すブロック図である。図3に示すように、実施の形態2においては、パルス監視回路4内に、カウンタIC(符号21)とクロック発振器22とが設けられている。また、パルス監視回路4には、カウンタ上限値設定用ディップスイッチ11が接続されている。他の構成については、上記の実施の形態1と同様であるため、ここでは、その説明は省略する。   FIG. 3 is a block diagram showing a configuration of a fail-safe circuit according to the second embodiment. As shown in FIG. 3, in the second embodiment, a counter IC (reference numeral 21) and a clock oscillator 22 are provided in the pulse monitoring circuit 4. The pulse monitoring circuit 4 is connected to a counter upper limit value setting DIP switch 11. Since other configurations are the same as those in the first embodiment, description thereof is omitted here.

クロック発振器22は、常時、クロック信号を出力する。カウンタICは、クロック発振器22から出力されるクロック信号をカウントする。また、実施の形態1と同様に、CPU2は、出力ユニット3AのY00を介して一定周期でパルス信号を出力する。カウンタICは、クロック発振器22からのクロック信号をカウントしている途中で、CPU2からのパルス信号を受信した場合、当該パルス信号をカウント値のリセット信号として使用する。すなわち、プログラマブルコントローラ100が正常な状態で、一定周期でパルス信号が出力されている場合は、当該一定周期で、カウント値がリセットされて0になり、再び、クロック信号のカウントが再開される。   The clock oscillator 22 always outputs a clock signal. The counter IC counts the clock signal output from the clock oscillator 22. Similarly to the first embodiment, the CPU 2 outputs a pulse signal at a constant cycle via Y00 of the output unit 3A. When the counter IC receives a pulse signal from the CPU 2 while counting the clock signal from the clock oscillator 22, the counter IC uses the pulse signal as a count value reset signal. That is, when the programmable controller 100 is in a normal state and a pulse signal is output at a constant cycle, the count value is reset to 0 at the fixed cycle, and the clock signal count is restarted again.

このとき、CPU2に異常が発生してパルス信号が停止すると、カウンタICのカウント値はリセットされないため、増加し続ける。そうして、カウント値が、カウンタ上限値設定用ディップスイッチ11で設定したカウンタ上限値(閾値)に達した場合に、パルス監視回路4は、プログラマブルコントローラ100の異常であると判断して、パルス正常検出リレー5をオン状態からオフ状態に切り替える。   At this time, if an abnormality occurs in the CPU 2 and the pulse signal is stopped, the count value of the counter IC is not reset and thus continues to increase. When the count value reaches the counter upper limit value (threshold value) set by the counter upper limit value setting DIP switch 11, the pulse monitoring circuit 4 determines that the programmable controller 100 is abnormal, The normal detection relay 5 is switched from the on state to the off state.

このように、実施の形態2では、パルス監視回路4に内蔵されたカウンタICのカウント値がカウンタ上限値に達するか否かで、プログラマブルコントローラ100の正常・異常を判断する。   As described above, in the second embodiment, whether the programmable controller 100 is normal or abnormal is determined based on whether or not the count value of the counter IC built in the pulse monitoring circuit 4 reaches the counter upper limit value.

これを図4のタイムチャートで説明する。   This will be described with reference to the time chart of FIG.

図4において、(1)はクロック発振器22からのクロック信号、(2)はカウンタIC21のカウント値、(3)はCPU2からのパルス信号の状態、(4)はパルス正常検出リレー5の動作、(5)は正常検出リレー6の動作、(6)は外部負荷8の状態を示す。   4, (1) is the clock signal from the clock oscillator 22, (2) is the count value of the counter IC 21, (3) is the state of the pulse signal from the CPU 2, (4) is the operation of the pulse normal detection relay 5, (5) shows the operation of the normal detection relay 6, and (6) shows the state of the external load 8.

図4において、(1)と(2)に示すように、カウンタIC21は、クロック発振器22のクロック信号をカウントしていくが、CPU2からのパルス信号の立ち上がり動作をカウンタIC21のリセット信号として使用しているので、パルス信号が正常に出力されている間(図4の(3)−a)は、常に、カウンタIC21のカウント値は一定周期でリセットされることとなり、カウントの途中でカウント値は0にリセットされる(図4の(2)−a)。このとき、パルス正常検出リレー5は常にオンとなっている(図4の(4)−a)。次に、プログラマブルコントローラ100の異常でパルス信号が停止し、カウンタIC21にパルス信号の立ち上がりによるリセットがかからない状態になると(図4の(3)−b)、カウンタIC21はカウントを続け、カウンタ上限値設定用ディップスイッチ11で設定したカウンタ上限値にカウント値が達したとき(図4の(2)−b)、カウントアップとなり、パルス正常検出リレー5はオフとなる(図4の(4)−b)。   In FIG. 4, as shown in (1) and (2), the counter IC 21 counts the clock signal of the clock oscillator 22, but uses the rising operation of the pulse signal from the CPU 2 as the reset signal of the counter IC 21. Therefore, while the pulse signal is normally output ((3) -a in FIG. 4), the count value of the counter IC 21 is always reset at a constant period. It is reset to 0 ((2) -a in FIG. 4). At this time, the pulse normality detection relay 5 is always on ((4) -a in FIG. 4). Next, when the pulse signal is stopped due to an abnormality of the programmable controller 100 and the counter IC 21 is not reset by the rising edge of the pulse signal ((3) -b in FIG. 4), the counter IC 21 continues counting, and the counter upper limit value When the count value reaches the counter upper limit value set by the setting DIP switch 11 ((2) -b in FIG. 4), the count is increased, and the pulse normality detection relay 5 is turned off ((4)-in FIG. 4). b).

このとき、パルス信号の立ち上がり動作でカウンタIC21のカウント値のリセットがかかる構造としているため、パルス信号がオンまたはオフのどちらの状態で停止しても、カウンタICのカウント値へのリセットはかからないことになる。   At this time, since the count value of the counter IC 21 is reset by the rising operation of the pulse signal, the counter IC is not reset to the count value even if the pulse signal is stopped in either the on state or the off state. become.

また、パルス信号の立ち上がり動作によるカウンタIC21のカウント値への最後のリセットからパルス正常検出リレー5がオフするまでの時間(t)は、カウンタ上限値設定用ディップスイッチ11で任意に設定が可能である。   Further, the time (t) from the last reset to the count value of the counter IC 21 by the rising operation of the pulse signal until the pulse normality detection relay 5 is turned off can be arbitrarily set by the counter upper limit value setting dip switch 11. is there.

例えば、クロック発振器22のクロック信号を50ms周期(20Hz)とし、CPU2からのパルス信号を500ms周期(2Hz)とした場合、カウンタIC21のカウント値は10カウントでリセットがかかることになる。つまり、プログラマブルコントローラ100の正常時のカウント値は10カウントを超えることはない。ここで、カウンタ上限値設定用ディップスイッチ11を例えば「20」としておく。CPU2からのパルス信号が停止した時、つまり、プログラマブルコントローラ100に異常が発生した時は、カウンタIC21はリセットがかからずカウントを続けることになり、カウント値が20カウントに達したときに、プログラマブルコントローラ100の異常と判断する。   For example, when the clock signal of the clock oscillator 22 is set to 50 ms cycle (20 Hz) and the pulse signal from the CPU 2 is set to 500 ms cycle (2 Hz), the count value of the counter IC 21 is reset at 10 counts. That is, the normal count value of the programmable controller 100 does not exceed 10 counts. Here, the counter upper limit value setting DIP switch 11 is set to “20”, for example. When the pulse signal from the CPU 2 stops, that is, when an abnormality occurs in the programmable controller 100, the counter IC 21 does not reset and continues counting, and when the count value reaches 20 counts, it is programmable. It is determined that the controller 100 is abnormal.

このときの異常検出時間は、パルスの立ち上がり動作によるカウンタIC21への最後のリセットから1s(50ms×20カウント)となる。異常検出時間の変更は、カウンタ上限値設定用ディップスイッチ11の設定値を変更すればよく、20より大きくすると1sより長く、20より小さくすると1sより短くすることができる。   The abnormality detection time at this time is 1 s (50 ms × 20 counts) from the last reset to the counter IC 21 by the pulse rising operation. The abnormality detection time can be changed by changing the set value of the counter upper limit value setting DIP switch 11. If the value is larger than 20, it can be longer than 1 s, and if it is smaller than 20, it can be shorter than 1 s.

パルス正常検出リレー5がオフすると、パルス正常検出リレー5の接点7がオフとなり、正常検出リレー6がオフする(図4の(5))。これを受け、外部負荷8に接続している正常検出リレー6の接点9が開状態となり、外部負荷8を強制的にオフとすることが出来る(図4の(6))。   When the pulse normal detection relay 5 is turned off, the contact 7 of the pulse normal detection relay 5 is turned off, and the normal detection relay 6 is turned off ((5) in FIG. 4). In response to this, the contact 9 of the normal detection relay 6 connected to the external load 8 is opened, and the external load 8 can be forcibly turned off ((6) in FIG. 4).

以上により、実施の形態2においても、上記の実施の形態1と同様の効果を得ることができる。さらに、実施の形態2においては、フェールセーフ回路を適用するプログラマブルコントローラ100に応じて、カウンタ上限値設定用ディップスイッチ11のカウント上限値を適宜設定することで、異常検出時間の変更が可能なフェールセーフ回路を構成することが可能となる。   As described above, also in the second embodiment, the same effect as in the first embodiment can be obtained. Furthermore, in the second embodiment, the failure detection time can be changed by appropriately setting the count upper limit value of the counter upper limit value setting DIP switch 11 according to the programmable controller 100 to which the fail safe circuit is applied. A safe circuit can be configured.

なお、上記の実施の形態2においては、パルスを監視するパルス監視回路4に、カウンタICを使用することとして説明したが、その場合に限らず、FPGA等、カウンタICと同等機能を有する回路を使用してもよい。また、カウンタ上限値を設定する装置の例として、カウンタ上限値設定用ディップスイッチ11を使用する場合を例に挙げて説明したが、カウンタ上限値を設定できるものであれば、これ以外の構成および方法でもよい。   In the second embodiment, the counter IC is used as the pulse monitoring circuit 4 for monitoring the pulse. However, the present invention is not limited to this, and a circuit having the same function as the counter IC such as an FPGA is used. May be used. Further, as an example of a device for setting the counter upper limit value, the case where the counter upper limit value setting DIP switch 11 is used has been described as an example. However, as long as the counter upper limit value can be set, other configurations and The method may be used.

実施の形態3.
上記の実施の形態1,2では、構成部品を半導体で構成することにより、振動および衝撃に強く、小型化が可能で、さらにシステムに応じて異常検出時間の変更が可能なフェールセーフ回路を実現する方法について記載した。実施の形態3では、このフェールセーフ回路にプログラマブルコントローラの正常監視機能のみならず、外部電源装置等の周辺機器の正常監視機能も搭載し、より信頼性の高いシステムを構築することができるフェールセーフ回路について説明する。
Embodiment 3 FIG.
In the first and second embodiments described above, a fail-safe circuit that is resistant to vibration and impact, can be reduced in size, and can change the abnormality detection time according to the system is realized by configuring the component parts with semiconductors. Described how to do. In the third embodiment, not only the normal monitoring function of the programmable controller but also the normal monitoring function of peripheral devices such as an external power supply device is mounted on the fail safe circuit, and a fail safe that can construct a more reliable system. The circuit will be described.

図5は、実施の形態3に係るフェールセーフ回路の構成を示すブロック図である。図5に示すように、実施の形態3においては、図1に示す実施の形態1のフェールセーフ回路1の構成に対して、外部電源装置監視用リレー12、外部電源装置監視用リレー12の接点13、外部接点用リレー14、および、外部接点用リレー14の接点15が追加されている。また、図5においては、フェールセーフ回路1に対して、外部電源装置10C、および、外部接点16が接続されている。他の構成については、図1に示す実施の形態1と同じであるため、ここでは、その説明は省略する。   FIG. 5 is a block diagram illustrating a configuration of a fail-safe circuit according to the third embodiment. As shown in FIG. 5, in the third embodiment, the contacts of the external power supply monitoring relay 12 and the external power supply monitoring relay 12 are different from the configuration of the fail safe circuit 1 of the first embodiment shown in FIG. 13, an external contact relay 14 and a contact 15 of the external contact relay 14 are added. In FIG. 5, an external power supply device 10 </ b> C and an external contact 16 are connected to the fail safe circuit 1. Since other configurations are the same as those of the first embodiment shown in FIG. 1, the description thereof is omitted here.

外部電源装置監視用リレー12には、システムで使用している外部電源装置10Cを接続する。外部電源装置10Cの正常時に、外部電源装置監視用リレー12が動作することにより、外部電源装置監視用リレー12の接点13がオンする。一方、外部電源装置10Cの異常時には、外部電源装置監視用リレー12は動作しないため、外部電源装置監視用リレー12の接点13はオフとなる。   The external power supply monitoring relay 12 is connected to the external power supply 10C used in the system. When the external power supply device 10C is normal, the external power supply device monitoring relay 12 operates to turn on the contact 13 of the external power supply device monitoring relay 12. On the other hand, when the external power supply device 10C is abnormal, the external power supply device monitoring relay 12 does not operate, so the contact 13 of the external power supply device monitoring relay 12 is turned off.

また、センサー等の外部接続機器の正常・異常を示す無電圧の外部接点16による信号入力が可能なように、外部接点用リレー14を搭載している。外部接点用リレー14は、外部接点16に直列に接続されている。センサー等の外部接続機器が正常に動作している時には、外部接点16がオンすることで、外部接点用リレー14が動作し、外部接点用リレー14の接点15がオンする。一方、センサー等の外部接続機器の異常時には、外部接点16がオフすることで、外部接点用リレー14は動作しないため、外部接点用リレー14の接点15がオフとなる。   In addition, an external contact relay 14 is mounted so that a signal can be input by a non-voltage external contact 16 indicating normality / abnormality of an external connection device such as a sensor. The external contact relay 14 is connected to the external contact 16 in series. When an external connection device such as a sensor is operating normally, when the external contact 16 is turned on, the external contact relay 14 is operated, and the contact 15 of the external contact relay 14 is turned on. On the other hand, when an external connection device such as a sensor is abnormal, the external contact 16 is turned off and the external contact relay 14 does not operate, so the contact 15 of the external contact relay 14 is turned off.

図5に示すように、外部電源装置監視用リレー12の接点13、外部接点用リレー14の接点15、および、パルス正常検出リレー5の接点7は、正常検出リレー6に対して直列に接続されている。そのため、外部電源装置監視用リレー12の接点13、外部接点用リレー14の接点15、および、パルス正常検出リレー5の接点7は、AND条件で、正常検出リレー6を動作させているため、プログラマブルコントローラ100の異常によるパルス信号の停止または外部電源装置10Cの異常発生または外部接点16の入力オフのいずれかで、正常検出リレー6はオフとなり、外部負荷8に接続している正常検出リレー6の接点9はオフとなる。   As shown in FIG. 5, the contact 13 of the external power supply monitoring relay 12, the contact 15 of the external contact relay 14, and the contact 7 of the pulse normal detection relay 5 are connected in series to the normal detection relay 6. ing. Therefore, the contact 13 of the external power supply monitoring relay 12, the contact 15 of the external contact relay 14, and the contact 7 of the pulse normal detection relay 5 operate the normal detection relay 6 under AND conditions. Either the stop of the pulse signal due to an abnormality of the controller 100, the occurrence of an abnormality of the external power supply 10C, or the input of the external contact 16 is turned off, the normal detection relay 6 is turned off, and the normal detection relay 6 connected to the external load 8 is turned off. The contact 9 is turned off.

上記により、実施の形態3においても、実施の形態1,2と同様の効果を得ることができる。さらに、実施の形態3においては、外部電源装置10Cの異常発生を検出するための外部電源装置監視用リレー12及び外部電源装置監視用リレー12の接点13を設けるようにしたので、外部電源装置の異常発生時にもプロセスへの悪影響を最小限に抑えることができる。さらに、実施の形態3においては、外部接点16への入力の異常発生を検出するための外部接点用リレー14および外部接点用リレー14の接点15を設けるようにしたので、センサー等の外部接続機器の異常発生時にもプロセスへの悪影響を最小限に抑えることができる。   As described above, also in the third embodiment, the same effect as in the first and second embodiments can be obtained. Furthermore, in the third embodiment, the external power supply monitoring relay 12 and the external power supply monitoring relay contact 12 for detecting the occurrence of an abnormality in the external power supply 10C are provided. Even when an abnormality occurs, adverse effects on the process can be minimized. Furthermore, in the third embodiment, the external contact relay 14 for detecting the occurrence of an abnormality in the input to the external contact 16 and the contact 15 of the external contact relay 14 are provided. Even when an abnormality occurs, adverse effects on the process can be minimized.

特許文献1等に記載の従来のフェールセーフ回路の異常検出機能は、プログラマブルコントローラから出力されるパルス信号の監視のみであり、周辺機器の異常検出機能は搭載していないため、プログラマブルコントローラを使用したシステム全体の異常を検出するためには、それぞれに対応した検出回路を別途追加する必要があった。   The abnormality detection function of the conventional fail-safe circuit described in Patent Literature 1 and the like is only monitoring the pulse signal output from the programmable controller, and the abnormality detection function of the peripheral device is not mounted, so the programmable controller is used. In order to detect abnormalities in the entire system, it is necessary to add a detection circuit corresponding to each.

それに対し、実施の形態3に係るフェールセーフ回路によれば、プログラマブルコントローラ100の正常監視のみならず、外部電源装置及び外部接続機器等の周辺機器の正常監視も行うことができるので、より信頼性の高いシステムを構築することができる。   On the other hand, according to the fail-safe circuit according to the third embodiment, not only normal monitoring of the programmable controller 100 but also normal monitoring of peripheral devices such as external power supply devices and external connection devices can be performed. A high system can be constructed.

なお、説明を簡略化するために、上記の説明においては、外部電源装置の接続および外部接点入力の接続は、それぞれ1回路のみの記載としたが、必要に応じて、複数回路としてもよい。また、図5では、パルス監視回路4は、実施の形態1に記載したワンショットICの回路構成として記載しているが、実施の形態2に記載したカウンタICの回路構成でも可能であり、さらに、FPGA等これらICと同様の機能を有した回路であれば、これ以外でもよい。   In order to simplify the description, in the above description, the connection of the external power supply device and the connection of the external contact input are each described as only one circuit, but a plurality of circuits may be used as necessary. In FIG. 5, the pulse monitoring circuit 4 is described as the circuit configuration of the one-shot IC described in the first embodiment, but the circuit configuration of the counter IC described in the second embodiment is also possible. Any other circuit may be used as long as it has a function similar to that of these ICs, such as an FPGA.

実施の形態4.
上記の実施の形態3では、実施の形態1,2の構成に加え、周辺機器の正常監視機能も搭載することを記載したが、実施の形態4では、それぞれの監視機能の有効・無効を設定する機能を搭載し、あらゆるシステムに対応することが可能なフェールセーフ回路について説明する。
Embodiment 4 FIG.
In the third embodiment described above, it is described that the normal monitoring function of peripheral devices is mounted in addition to the configurations of the first and second embodiments. However, in the fourth embodiment, enable / disable of each monitoring function is set. A fail-safe circuit that can be applied to any system is described.

図6は、実施の形態4に係るフェールセーフ回路の構成を示すブロック図である。図6に示すように、実施の形態4においては、図5に示す実施の形態3のフェールセーフ回路1の構成に対して、パルス監視機能の有効・無効設定スイッチ17、外部電源装置監視機能の有効・無効設定スイッチ18、外部接点監視機能の有効・無効設定スイッチ19、および、全監視機能の有効・無効設定スイッチ20が追加されている。   FIG. 6 is a block diagram illustrating a configuration of a fail-safe circuit according to the fourth embodiment. As shown in FIG. 6, the fourth embodiment is different from the configuration of the fail safe circuit 1 of the third embodiment shown in FIG. The valid / invalid setting switch 18, the valid / invalid setting switch 19 for the external contact monitoring function, and the valid / invalid setting switch 20 for all the monitoring functions are added.

パルス監視機能の有効・無効設定スイッチ17は、パルス正常検出リレー5の接点7に対して、並列に接続されている。パルス監視機能の有効・無効設定スイッチ17がオンの場合に、パルス監視機能は無効となり、一方、パルス監視機能の有効・無効設定スイッチ17がオフの場合に、パルス監視機能は有効となる。その原理を説明すると、パルス監視機能の有効・無効設定スイッチ17がオンの場合には、パルス正常検出リレー5の接点7を強制的に短絡させるため、プログラマブルコントローラ100の正常・異常に関わらず、接点7は常にオン状態となり、パルス監視機能は無効となる。   The pulse monitoring function valid / invalid setting switch 17 is connected in parallel to the contact 7 of the pulse normality detection relay 5. When the pulse monitoring function valid / invalid setting switch 17 is on, the pulse monitoring function is invalid. On the other hand, when the pulse monitoring function valid / invalid setting switch 17 is off, the pulse monitoring function is valid. Explaining the principle, when the pulse monitoring function valid / invalid setting switch 17 is on, the contact 7 of the pulse normality detection relay 5 is forcibly short-circuited, regardless of whether the programmable controller 100 is normal or abnormal. The contact 7 is always on, and the pulse monitoring function is disabled.

外部電源装置監視機能の有効・無効設定スイッチ18は、外部電源装置監視用リレー12の接点13に対して、並列に接続されている。外部電源装置監視機能の有効・無効設定スイッチ18がオンの場合に、外部電源装置10Cの監視機能が無効となり、一方、外部電源装置監視機能の有効・無効設定スイッチ18がオフの場合に、外部電源装置10Cの監視機能が有効となる。その原理は、上記の原理と同様であるため、説明は省略する。   The external power supply monitoring function valid / invalid setting switch 18 is connected in parallel to the contact 13 of the external power supply monitoring relay 12. When the external power supply monitoring function valid / invalid setting switch 18 is on, the monitoring function of the external power supply 10C is invalid, while when the external power supply monitoring function valid / invalid setting switch 18 is off, the external power supply monitoring function valid / invalid setting switch 18 The monitoring function of the power supply device 10C becomes effective. Since the principle is the same as the above principle, the description is omitted.

外部接点監視機能の有効・無効設定スイッチ19は、外部接点用リレー14の接点15に対して、並列に接続されている。外部接点監視機能の有効・無効設定スイッチ19がオンの場合に、外部接点16の監視機能が無効となり、一方、外部接点監視機能の有効・無効設定スイッチ19がオフの場合に、外部接点16の監視機能が有効となる。その原理は、上記の原理と同様であるため、説明は省略する。   The external contact monitoring function valid / invalid setting switch 19 is connected in parallel to the contact 15 of the external contact relay 14. When the external contact monitoring function valid / invalid setting switch 19 is on, the external contact 16 monitoring function is invalid. On the other hand, when the external contact monitoring function valid / invalid setting switch 19 is off, the external contact 16 The monitoring function is enabled. Since the principle is the same as the above principle, the description is omitted.

全監視機能の有効・無効設定スイッチ20は、パルス監視機能の有効・無効設定スイッチ17、外部電源装置監視機能の有効・無効設定スイッチ18、および、外部接点監視機能の有効・無効設定スイッチ19に対して、並列に接続されている。全監視機能の有効・無効設定スイッチ20がオンの場合には、パルス監視機能、外部電源装置10Cの監視機能、および、外部接点16の監視機能が、全て、無効となる。一方、全監視機能の有効・無効設定スイッチ20がオフの場合には、パルス監視機能、外部電源装置10Cの監視機能、および、外部接点16の監視機能が、全て、有効となる。その原理を説明すると、全監視機能の有効・無効設定スイッチ20がオン状態となることで、接点7,13,15を一括で短絡させるため、それぞれの監視結果に関わらず、正常検出リレー6は、常に、オン状態となり、フェールセーフ回路1の全監視機能を無効にする。   The all monitoring function valid / invalid setting switch 20 includes a pulse monitoring function valid / invalid setting switch 17, an external power supply monitoring function valid / invalid setting switch 18, and an external contact monitoring function valid / invalid setting switch 19. On the other hand, they are connected in parallel. When the all monitoring function valid / invalid setting switch 20 is on, the pulse monitoring function, the monitoring function of the external power supply apparatus 10C, and the monitoring function of the external contact 16 are all disabled. On the other hand, when the valid / invalid setting switch 20 for all monitoring functions is off, the pulse monitoring function, the monitoring function of the external power supply device 10C, and the monitoring function of the external contact 16 are all enabled. Explaining the principle, since the contacts 20, 13, and 15 are short-circuited at once when the valid / invalid setting switch 20 for all monitoring functions is turned on, the normal detection relay 6 , It is always on and disables all the monitoring functions of the fail-safe circuit 1.

以下、実施の形態4に係るフェールセーフ回路1の動作について説明する。   Hereinafter, the operation of the fail-safe circuit 1 according to the fourth embodiment will be described.

上記の実施の形態3で記載した通り、正常検出リレー6は、パルス正常検出リレー5の接点7、外部電源装置監視用リレー12の接点13、および、外部接点用リレー14の接点15のAND条件をとっており、接点7,13,15の全てがオンのとき、つまり、全ての監視結果が正常状態のときのみ、正常検出リレー6が動作する。言い換えれば、接点7,13,15のうちのいずれか1つでもオフであるときには、つまり、いずれかひとつでも監視結果が異常状態のときには、正常検出リレー6は動作せず、外部負荷8に接続している接点9はオフとなり、プラントへの悪影響を最小限に抑える働きをする。しかしながら、システムによっては、例えば、外部電源装置10Cに異常が発生しても、接点9をオフにしたくない場合、あるいは、点検や交換等でセンサー等の外部機器を取り外した際に接点9をオフにしたくない場合がある。これらに対応するため、実施の形態4においては、各監視機能に有効・無効を設定するスイッチ17〜20を設置している。   As described in the third embodiment, the normal detection relay 6 is an AND condition of the contact 7 of the pulse normal detection relay 5, the contact 13 of the external power supply device monitoring relay 12, and the contact 15 of the external contact relay 14. The normal detection relay 6 operates only when all of the contacts 7, 13, 15 are on, that is, when all the monitoring results are normal. In other words, when any one of the contacts 7, 13, 15 is off, that is, when any one of the monitoring results is abnormal, the normal detection relay 6 does not operate and is connected to the external load 8. The contact 9 is turned off and serves to minimize adverse effects on the plant. However, depending on the system, for example, even if an abnormality occurs in the external power supply 10C, the contact 9 is turned off when it is not desired to turn off the contact 9 or when an external device such as a sensor is removed for inspection or replacement. You may not want to In order to cope with these, in the fourth embodiment, switches 17 to 20 for setting each monitoring function to valid / invalid are provided.

図6において、例えば、前述の外部電源装置10Cに異常が発生しても、正常検出リレー6の接点9をオフにしたくない場合について説明する。外部電源装置10Cに異常が発生した場合、通常の動作では、外部電源装置監視用リレー12は動作しなくなり、外部電源装置監視用リレー12の接点13はオフとなる。このとき、外部電源装置10Cの正常・異常に関わらず、外部電源装置監視用リレー12の接点13をオンの状態に保つようにしていれば、外部電源装置10Cに異常が発生しても、正常検出リレー6の接点9はオフすることはない。これを実現するために、外部電源装置監視用リレー12の接点13に対して、外部電源装置監視機能の有効・無効設定スイッチ18を並列に接続している。そうして、外部電源装置10Cの監視機能を有効にする場合は、外部電源装置監視機能の有効・無効設定スイッチ18をオフにし、監視機能を無効にする場合は、外部電源装置監視機能の有効・無効設定スイッチ18をオンとする。外部電源装置監視機能の有効・無効設定スイッチ18がオンの場合には、外部電源装置監視用リレー12の接点13を強制的に短絡させるため、外部電源装置10Cの正常・異常に関わらず、接点13は常にオン状態となり、外部電源装置監視機能は無効ということになる。   In FIG. 6, for example, a case where the contact 9 of the normal detection relay 6 is not desired to be turned off even if an abnormality occurs in the external power supply device 10C described above will be described. When an abnormality occurs in the external power supply apparatus 10C, in the normal operation, the external power supply apparatus monitoring relay 12 does not operate and the contact 13 of the external power supply apparatus monitoring relay 12 is turned off. At this time, regardless of whether the external power supply 10C is normal or abnormal, if the contact 13 of the external power supply monitoring relay 12 is kept on, the external power supply 10C is normal even if an abnormality occurs. The contact 9 of the detection relay 6 does not turn off. In order to realize this, the external power supply monitoring function valid / invalid setting switch 18 is connected in parallel to the contact 13 of the external power supply monitoring relay 12. When the monitoring function of the external power supply apparatus 10C is enabled, the external power supply monitoring function enable / disable setting switch 18 is turned off. When the monitoring function is disabled, the external power supply monitoring function is enabled. -Turn the invalid setting switch 18 on. When the external power supply monitoring function valid / invalid setting switch 18 is on, the contact 13 of the external power supply monitoring relay 12 is forcibly short-circuited. 13 is always on, and the external power supply monitoring function is disabled.

パルス監視機能の有効・無効設定スイッチ17、外部接点監視機能の有効・無効設定スイッチ19についても同様の構成であり、これらのスイッチ17,19をオンすることで、接点7,15は強制的に短絡され、常に、オン状態となるため、各監視機能は無効となる。また、全監視機能の有効・無効設定スイッチ20がオン状態となることで、接点7,13,15を一括で短絡させるため、それぞれの監視結果に関わらず、正常検出リレー6は常にオン状態となり、本フェールセーフ回路の全監視機能を無効にできる。   The valid / invalid setting switch 17 of the pulse monitoring function and the valid / invalid setting switch 19 of the external contact monitoring function have the same configuration. By turning on these switches 17, 19, the contacts 7, 15 are forcibly set. Since it is short-circuited and always turned on, each monitoring function is disabled. In addition, since the valid / invalid setting switch 20 for all monitoring functions is turned on, the contacts 7, 13 and 15 are short-circuited together, so that the normal detection relay 6 is always turned on regardless of the monitoring results. All the monitoring functions of this fail-safe circuit can be disabled.

これら監視機能の有効・無効設定スイッチ17〜20は、フェールセーフ回路1の外部からユーザが操作可能な位置に設置することで、システム運転中にも設定変更が可能となる。   The monitoring function valid / invalid setting switches 17 to 20 can be changed even during system operation by being installed at a position where the user can operate from the outside of the fail safe circuit 1.

上記により、実施の形態4においても、実施の形態1,2,3と同様の効果を得ることができる。さらに、実施の形態4においては、監視機能の有効・無効設定スイッチ17〜20を設けることで、各監視機能の有効・無効が設定できるため、適用範囲が広がり、また、点検および交換等、一時的な監視機能停止にも対応できるフェールセーフ回路を構成することが可能となる。   As described above, also in the fourth embodiment, the same effects as in the first, second, and third embodiments can be obtained. Further, in the fourth embodiment, the monitoring function valid / invalid setting switches 17 to 20 can be set to enable / disable each monitoring function, so that the application range is expanded, and inspection, replacement, etc. are temporarily performed. It is possible to configure a fail-safe circuit that can cope with a general monitoring function stoppage.

なお、監視機能の有効・無効の設定は、上記の説明においては、例として、スイッチ操作で行うものとして記載したが、外部リレー接点またはコントローラ等の出力を使用する方法としてもよい。   In the above description, the setting of whether the monitoring function is valid / invalid is described as being performed by a switch operation. However, a method using an output of an external relay contact or a controller may be used.

なお、図6では、パルス監視回路4は、実施の形態1に記載したワンショットICの回路構成として記載しているが、実施の形態2に記載したカウンタICの回路構成でも可能であり、さらに、FPGA等これらICと同様の機能を有した回路であれば、これ以外でもよい。   In FIG. 6, the pulse monitoring circuit 4 is described as the circuit configuration of the one-shot IC described in the first embodiment. However, the circuit configuration of the counter IC described in the second embodiment is also possible. Any other circuit may be used as long as it has a function similar to that of these ICs, such as an FPGA.

なお、符号10A、10B、10Cで示した外部電源装置A、外部電源装置B、外部電源装置Cは、それぞれ、フェールセーフ回路駆動用電源装置、外部負荷駆動用電源装置、システム内で使用する機器の駆動用電源装置を示している。これらは、個別の電源装置の使用が一般的であるため、図では個別の電源装置を使用するものとして記載している。ただし、適用するシステムの仕様によっては同一電源装置を使用することも考えられ、この場合でもフェールセーフ回路の動作上の問題はない。
また、フェールセーフ回路内部のリレーを直流・交流両用のものとしておけば、上記電源装置は直流電源装置および交流電源装置のどちらでも使用可能となり、フェールセーフ回路の適用範囲が広がる。
The external power supply device A, the external power supply device B, and the external power supply device C indicated by reference numerals 10A, 10B, and 10C are a fail-safe circuit drive power supply device, an external load drive power supply device, and devices used in the system, respectively. The power supply device for driving is shown. Since these are generally used with individual power supply devices, they are described as using individual power supply devices in the figure. However, it is possible to use the same power supply device depending on the specifications of the system to be applied, and even in this case, there is no problem in the operation of the fail-safe circuit.
Further, if the relay in the fail-safe circuit is used for both DC and AC, the power supply device can be used for either a DC power supply device or an AC power supply device, and the application range of the fail-safe circuit is expanded.

1 フェールセーフ回路、2 CPU、3A 出力ユニットA、3B 出力ユニットB、4 パルス監視回路、5 パルス正常検出リレー、6 正常検出リレー、7 接点、8 外部負荷、9 接点、10A 外部電源装置A、10B 外部電源装置B、10C 外部電源装置C、11 カウンタ上限値設定用ディップスイッチ、12 外部電源装置監視用リレー、13 接点、14 外部接点用リレー、15 接点、16 外部接点、17 パルス監視機能の有効・無効設定スイッチ、18 外部電源装置監視機能の有効・無効設定スイッチ、19 外部接点監視機能の有効・無効設定スイッチ、20 全監視機能の有効・無効設定スイッチ、21 カウンタIC、22 クロック発振器。   1 Fail-safe circuit, 2 CPU, 3A Output unit A, 3B Output unit B, 4 Pulse monitoring circuit, 5 Pulse normal detection relay, 6 Normal detection relay, 7 contacts, 8 External load, 9 contacts, 10A External power supply device A, 10B External power supply device B, 10C External power supply device C, 11 Dip switch for counter upper limit value setting, 12 External power supply device monitoring relay, 13 contacts, 14 External contact relay, 15 contacts, 16 External contacts, 17 Pulse monitoring function Valid / invalid setting switch, 18 External power supply monitoring function valid / invalid setting switch, 19 External contact monitoring function valid / invalid setting switch, 20 All monitoring function valid / invalid setting switch, 21 Counter IC, 22 Clock oscillator.

Claims (10)

一定周期でパルス信号を出力するプログラマブルコントローラに接続され、プログラマブルコントローラの正常・異常を監視するフェールセーフ回路であって、
半導体集積回路から構成され、前記プログラマブルコントローラが出力する前記パルス信号が入力され、前記パルス信号の入力の正常・異常を監視するパルス監視回路と、
前記パルス監視回路に接続され、前記パルス監視回路が前記パルス信号の入力に異常が発生したことを検知した場合に、オン状態からオフ状態に切り替わるパルス正常検出リレーと、
前記パルス正常検出リレーがオン状態の場合にオン状態で、前記パルス正常検出リレーがオフ状態の場合にオフ状態となる、前記パルス正常検出リレーの接点と、
前記パルス正常検出リレーの前記接点に直列に接続され、前記パルス正常検出リレーの前記接点がオン状態の場合にオン状態で、前記パルス正常検出リレーの前記接点がオフ状態の場合にオフ状態となる、正常検出リレーと、
前記プログラマブルコントローラに接続されている外部負荷に直列に接続され、前記正常検出リレーがオン状態のときにオン状態となって前記外部負荷を外部電源に接続し、前記正常検出リレーがオフ状態のときにオフ状態となって前記外部負荷への前記外部電源からの電源供給を遮断する前記正常検出リレーの接点と
を備えた、フェールセーフ回路。
A fail-safe circuit that is connected to a programmable controller that outputs a pulse signal at a constant cycle and monitors the normality / abnormality of the programmable controller,
A pulse monitoring circuit configured by a semiconductor integrated circuit, to which the pulse signal output from the programmable controller is input, and to monitor normality / abnormality of the input of the pulse signal;
A pulse normal detection relay that is connected to the pulse monitoring circuit and switches from an on state to an off state when the pulse monitoring circuit detects that an abnormality has occurred in the input of the pulse signal;
A contact of the pulse normal detection relay that is in an on state when the pulse normal detection relay is in an on state and is in an off state when the pulse normal detection relay is in an off state;
It is connected in series with the contact of the pulse normal detection relay, is turned on when the contact of the pulse normal detection relay is on, and is turned off when the contact of the pulse normal detection relay is off. Normal detection relay,
When connected in series to an external load connected to the programmable controller, and when the normal detection relay is in an on state, it is in an on state to connect the external load to an external power source, and when the normal detection relay is in an off state And a contact point of the normality detection relay that shuts off the power supply from the external power source to the external load.
前記パルス監視回路は、前記プログラマブルコントローラが出力する前記パルス信号が入力され、前記パルス信号が入力された時点から一定時間経過後に、応答パルス信号を出力する回路から構成され、
前記パルス正常検出リレーは、前記パルス監視回路が出力する前記応答パルス信号が前記一定時間の経過後に入力されない場合に、オン状態からオフ状態に切り替わる、
請求項1に記載のフェールセーフ回路。
The pulse monitoring circuit is composed of a circuit that receives the pulse signal output from the programmable controller and outputs a response pulse signal after a lapse of a certain time from the time when the pulse signal is input,
The pulse normality detection relay is switched from an on state to an off state when the response pulse signal output from the pulse monitoring circuit is not input after the lapse of the predetermined time.
The fail-safe circuit according to claim 1.
前記パルス監視回路は、
クロック信号を発振するクロック発振器と、
前記クロック発振器から発振される前記クロック信号をカウントし、前記プログラマブルコントローラが出力する前記パルス信号が入力されたときに、前記クロック信号のカウント値をリセットするとともに、前記カウント値がリセットされずに予め設定された閾値に達した場合に、前記パルス正常検出リレーをオン状態からオフ状態に切り替えるカウンタ回路と
を有する、請求項1に記載のフェールセーフ回路。
The pulse monitoring circuit includes:
A clock oscillator for oscillating a clock signal;
The clock signal oscillated from the clock oscillator is counted, and when the pulse signal output from the programmable controller is input, the count value of the clock signal is reset, and the count value is not reset in advance. The fail-safe circuit according to claim 1, further comprising: a counter circuit that switches the normal pulse detection relay from an on state to an off state when a set threshold value is reached.
前記パルス監視回路に接続され、前記閾値の設定を行う閾値設定部を
さらに備えた、請求項3に記載のフェールセーフ回路。
The fail safe circuit according to claim 3, further comprising a threshold setting unit connected to the pulse monitoring circuit and configured to set the threshold.
外部電源装置に接続され、前記外部電源装置が正常の場合にオン状態で、前記外部電源装置に異常が発生した場合にオフ状態になる、外部電源装置監視用リレーと、
前記正常検出リレーに直列に接続され、前記外部電源装置監視用リレーがオン状態の場合にオン状態となり、前記外部電源装置監視用リレーがオフ状態の場合にオフ状態となる、前記外部電源装置監視用リレーの接点と、
をさらに備えた、請求項1から4までのいずれか1項に記載のフェールセーフ回路。
An external power supply monitoring relay that is connected to an external power supply, is turned on when the external power supply is normal, and is turned off when an abnormality occurs in the external power supply;
The external power supply monitoring connected in series to the normality detection relay, turned on when the external power supply monitoring relay is turned on, and turned off when the external power supply monitoring relay is turned off Relay contacts,
The failsafe circuit according to any one of claims 1 to 4, further comprising:
外部接点に接続され、前記外部接点が正常の場合にオン状態で、前記外部接点に異常が発生した場合にオフ状態になる、外部接点用リレーと、
前記正常検出リレーに直列に接続され、前記外部接点用リレーがオン状態の場合にオン状態となり、前記外部接点用リレーがオフ状態の場合にオフ状態となる、前記外部接点用リレーの接点と
をさらに備えた、請求項1から5までのいずれか1項に記載のフェールセーフ回路。
An external contact relay that is connected to an external contact, and is turned on when the external contact is normal, and turned off when an abnormality occurs in the external contact;
A contact of the external contact relay, which is connected in series to the normality detection relay and is turned on when the external contact relay is turned on, and turned off when the external contact relay is turned off. The failsafe circuit according to any one of claims 1 to 5, further comprising:
前記パルス正常検出リレーの前記接点に並列に接続され、オン状態のときに、前記パルス正常検出リレーの前記接点を短絡させる、パルス監視機能の有効・無効設定スイッチ
をさらに備えた請求項1から5までのいずれか1項に記載のフェールセーフ回路。
The pulse monitoring function valid / invalid setting switch further connected to the contact of the pulse normality detection relay in parallel, and short-circuits the contact of the pulse normality detection relay when turned on. The fail-safe circuit according to any one of the above.
前記外部電源装置監視用リレーの前記接点に並列に接続され、オン状態のときに、前記外部電源装置監視用リレーの前記接点を短絡させる、外部電源装置監視機能の有効・無効設定スイッチ
をさらに備えた請求項5に記載のフェールセーフ回路。
An external power supply monitoring function valid / invalid setting switch that is connected in parallel to the contact of the external power supply monitoring relay and that short-circuits the contact of the external power supply monitoring relay when in an on state. The fail-safe circuit according to claim 5.
前記外部接点用リレーの前記接点に並列に接続され、オン状態のときに、前記外部接点用リレーの前記接点を短絡させる、外部接点監視機能の有効・無効設定スイッチ
をさらに備えた請求項6に記載のフェールセーフ回路。
The external contact monitoring function valid / invalid setting switch, further connected to the contact of the external contact relay in parallel and short-circuiting the contact of the external contact relay when turned on. The fail-safe circuit described.
外部電源装置に接続され、前記外部電源装置が正常の場合にオン状態で、前記外部電源装置に異常が発生した場合にオフ状態になる、外部電源装置監視用リレーと、
前記正常検出リレーに直列に接続され、前記外部電源装置監視用リレーがオン状態の場合にオン状態となり、前記外部電源装置監視用リレーがオフ状態の場合にオフ状態となる、前記外部電源装置監視用リレーの接点と、
外部接点に接続され、前記外部接点が正常の場合にオン状態で、前記外部接点に異常が発生した場合にオフ状態になる、外部接点用リレーと、
前記正常検出リレーに直列に接続され、前記外部接点用リレーがオン状態の場合にオン状態となり、前記外部接点用リレーがオフ状態の場合にオフ状態となる、前記外部接点用リレーの接点と、
前記パルス正常検出リレーの前記接点、前記外部電源装置監視用リレーの前記接点、および、前記外部接点用リレーの前記接点に対して、並列に接続され、オン状態のときに、前記パルス正常検出リレーの前記接点、前記外部電源装置監視用リレーの前記接点、および、前記外部接点用リレーの前記接点の全てを短絡させる、全監視機能の有効・無効設定スイッチ
をさらに備えた、請求項1から4までのいずれか1項に記載のフェールセーフ回路。
An external power supply monitoring relay that is connected to an external power supply, is turned on when the external power supply is normal, and is turned off when an abnormality occurs in the external power supply;
The external power supply monitoring connected in series to the normality detection relay, turned on when the external power supply monitoring relay is turned on, and turned off when the external power supply monitoring relay is turned off Relay contacts,
An external contact relay that is connected to an external contact, and is turned on when the external contact is normal, and turned off when an abnormality occurs in the external contact;
A contact of the external contact relay, which is connected in series to the normality detection relay, is turned on when the external contact relay is on, and is turned off when the external contact relay is off;
The pulse normal detection relay is connected in parallel to the contact of the pulse normality detection relay, the contact of the external power supply device monitoring relay, and the contact of the external contact relay, and in the ON state. Further comprising a valid / invalid setting switch for all monitoring functions for short-circuiting all of the contacts, the contacts of the external power supply device monitoring relay, and the contacts of the external contact relay. The fail-safe circuit according to any one of the above.
JP2017115795A 2017-06-13 2017-06-13 Fail-safe circuit Active JP6846989B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017115795A JP6846989B2 (en) 2017-06-13 2017-06-13 Fail-safe circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017115795A JP6846989B2 (en) 2017-06-13 2017-06-13 Fail-safe circuit

Publications (2)

Publication Number Publication Date
JP2019003313A true JP2019003313A (en) 2019-01-10
JP6846989B2 JP6846989B2 (en) 2021-03-24

Family

ID=65007930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017115795A Active JP6846989B2 (en) 2017-06-13 2017-06-13 Fail-safe circuit

Country Status (1)

Country Link
JP (1) JP6846989B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09185403A (en) * 1995-12-27 1997-07-15 Mitsubishi Electric Corp Fail safe circuit for programmable controller
JPH11342736A (en) * 1998-06-04 1999-12-14 Yazaki Corp Automotive power window control method and device
JP2007310719A (en) * 2006-05-19 2007-11-29 Mitsubishi Electric Corp Unit type programmable controller
JP2012246074A (en) * 2011-05-25 2012-12-13 Hitachi Ltd Elevator safety system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09185403A (en) * 1995-12-27 1997-07-15 Mitsubishi Electric Corp Fail safe circuit for programmable controller
JPH11342736A (en) * 1998-06-04 1999-12-14 Yazaki Corp Automotive power window control method and device
JP2007310719A (en) * 2006-05-19 2007-11-29 Mitsubishi Electric Corp Unit type programmable controller
JP2012246074A (en) * 2011-05-25 2012-12-13 Hitachi Ltd Elevator safety system

Also Published As

Publication number Publication date
JP6846989B2 (en) 2021-03-24

Similar Documents

Publication Publication Date Title
KR970066767A (en) Fault Monitoring System of Microcomputer System
US9520830B2 (en) Crystal oscillator
JP2018007551A (en) Power supply apparatus with soft-start and protection
JP5615470B1 (en) Power supply control device and programmable logic controller
JP5485910B2 (en) Non-volatile status indicator switch
JP6846989B2 (en) Fail-safe circuit
JP6834798B2 (en) I / O module
JP2004237416A (en) Emergency stop circuit
JP6327099B2 (en) Semiconductor device
JP2009266038A (en) Signal output device
CN111712983A (en) Monitoring system and power grid monitoring circuit
JP5451273B2 (en) Power monitoring circuit, power monitoring method and power monitoring control program used in the power monitoring circuit, and electronic device
JP6712899B2 (en) Power control device
US11656276B2 (en) Monitoring circuit and method for function monitoring
JP6182329B2 (en) Semiconductor device
KR100986004B1 (en) Intelligent input/output module in plc system
US7550938B2 (en) Mechanical-electronic position sensor
JP7310501B2 (en) programmable controller
JP2007252012A (en) Regulator damage preventing system
JP2014060882A (en) Control device for power element
JP5672964B2 (en) Digital output device
JPH03292258A (en) Time element relay
WO2017094151A1 (en) Circuit for protecting air conditioner and protection method
JP2001351184A (en) Gas leakage alarm
JP2010063312A (en) Method and apparatus for switching control of power supply device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201222

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210209

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210302

R150 Certificate of patent or registration of utility model

Ref document number: 6846989

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250