JPH0348521B2 - - Google Patents
Info
- Publication number
- JPH0348521B2 JPH0348521B2 JP58032373A JP3237383A JPH0348521B2 JP H0348521 B2 JPH0348521 B2 JP H0348521B2 JP 58032373 A JP58032373 A JP 58032373A JP 3237383 A JP3237383 A JP 3237383A JP H0348521 B2 JPH0348521 B2 JP H0348521B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- counter
- instruction cycle
- cpu
- control 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.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Safety Devices In Control Systems (AREA)
- Electronic Switches (AREA)
Description
【発明の詳細な説明】
〔技術分野〕
この発明は第4図に示すように所定のシステム
Aを制御するシステムを制御回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a control circuit for a system that controls a predetermined system A as shown in FIG.
さらに詳細には、所定のシステムAを制御する
自動制御回路部Cが故障したときに、この故障が
直ぐに回復しないときに、この故障を速やかに検
出するとともに、こ故障が直らないときに、この
システムAを手動操作できるように自動切換する
ようにしたシステム制御回路に関する。 More specifically, when the automatic control circuit section C that controls a predetermined system A malfunctions, if this malfunction does not recover immediately, this malfunction is promptly detected, and when this malfunction is not repaired, this malfunction is detected immediately. This invention relates to a system control circuit that automatically switches the system A so that it can be operated manually.
従来から、大きなシステムを制御するには、ノ
イズ等により誤動作しないように種々対策がなさ
れている。例えば、第1図に示すように自動制御
回路部のクロツクパルスジエネレーターからの信
号Eにしたがつてプログラムカウンターを作動さ
せ、所定のメモリから命令信号を取り出させるよ
うにした中央処理装置(以下CPUで示す。)にお
いて、前記CPUから、所定時間経過後プログラ
ムカウンターをリセツトする信号Fを出力するよ
うにしたものが示されているが、前記CPUが壊
れているときには、リセツト出来なくなる。
Conventionally, in order to control large systems, various measures have been taken to prevent malfunctions due to noise and the like. For example, as shown in FIG. 1, a central processing unit (central processing unit) that operates a program counter in accordance with a signal E from a clock pulse generator of an automatic control circuit section and retrieves command signals from a predetermined memory. (hereinafter referred to as CPU) shows a system in which the CPU outputs a signal F to reset the program counter after a predetermined period of time has elapsed, but if the CPU is broken, it cannot be reset.
本願発明はかかる従来の欠点に鑑みなされたも
のであつて、システムを制御するシステムを制御
回路がノイズによつて短期間制御不能になつて
も、所定時間経過後リセツトさせたり、CPUが
完全に壊れた場合には、自動的に手動操作に切換
わるようにしてシステムの制御が全く不能になる
ことを避けることにある。
The present invention has been made in view of such conventional drawbacks, and it is possible to reset the system after a predetermined period of time even if the control circuit becomes uncontrollable for a short period of time due to noise, or to completely reset the CPU. The purpose is to avoid a complete loss of control of the system by automatically switching to manual operation in the event of a breakdown.
以下に本願発明をその一実施例にもとづき詳細
に説明する。
The present invention will be described in detail below based on one embodiment thereof.
図において、Aは被制御システムである。Bは
入力信号である。Cは自動制御回路部である。D
は手動操作回路部である。Xは自動制御回路部C
と手動操作回路部Dの切換スイツチである。自動
制御回路部Cは第2図に示すようにCPU部1と
検出部2とよりなる。前記CPU部1はCPU11
とこのCPU11から所定のプログラムにしたが
つて1命令サイクル終了毎に命令サイクル終了信
号12を出力し、この命令サイクル終了信号12
をフリツプフロツプ等の変換回路13で等間隔で
出力されるハイレベル信号Hとローレベル信号L
とにしてCPU部1から出力する。2は検出部で
ある。この検出部2は前記CPU部1から出力さ
れる命令サイクル終了信号の到来を検出するため
に第1のカウンター部21と第2のカウンター部
22とこの第1及び第2のカウンター部21,2
2の出力のいずれの側から出力されてもリセツト
信号を出力するためのORゲート23と前記第1
及び第2のカウンター部21,22の検出時間間
隔の基準とするための発振回路24と自動制御と
手動操作とを切換るための第3のカウンター部2
5と前記ORゲート23からの信号をワンシヨツ
ト信号とするための変換回路26とよりなる。前
記第1及び第2のカウンター部21,22の構成
は第1のANDゲート211と第1のカウンター
212とで構成し、前記体1のANDゲート21
1の入力は検出時間間隔の基準とするための発振
回路24からの信号2111と命令サイクル終了
信号が変換回路13により変換された信号131
とを入力する。第2のカウンター部22は第2の
ANDゲート221と第2のカウンター222と
前記第2のANDゲート221への入力信号を変
換するためのNOTゲート223とで構成する。
この第2のカウンター部22は前記命令サイクル
終了信号が変換回路13で変換された状態が丁度
前記第1のカウンター部21の第1のANDゲー
ト211とは逆の信号レベルのとき前記CPU部
1が故障したときでもこれを検出出来るようにす
るためにNOTゲート223をもうけている。 In the figure, A is a controlled system. B is an input signal. C is an automatic control circuit section. D
is the manual operation circuit section. X is automatic control circuit section C
and manual operation circuit section D. The automatic control circuit section C consists of a CPU section 1 and a detection section 2, as shown in FIG. The CPU section 1 is the CPU 11
This CPU 11 outputs an instruction cycle end signal 12 every time one instruction cycle ends according to a predetermined program, and this instruction cycle end signal 12
A high level signal H and a low level signal L are outputted at equal intervals by a conversion circuit 13 such as a flip-flop.
and output from CPU section 1. 2 is a detection section. This detection section 2 includes a first counter section 21, a second counter section 22, and the first and second counter sections 21, 2 to detect the arrival of the instruction cycle end signal outputted from the CPU section 1.
OR gate 23 for outputting a reset signal no matter which side of the second output
and an oscillation circuit 24 for use as a reference for the detection time interval of the second counter sections 21 and 22, and a third counter section 2 for switching between automatic control and manual operation.
5 and a conversion circuit 26 for converting the signal from the OR gate 23 into a one-shot signal. The configuration of the first and second counter sections 21 and 22 includes a first AND gate 211 and a first counter 212, and the AND gate 21 of the body 1
The input of 1 is a signal 2111 from the oscillation circuit 24 for use as a reference for the detection time interval and a signal 131 obtained by converting the instruction cycle end signal by the conversion circuit 13.
Enter . The second counter section 22
It is composed of an AND gate 221, a second counter 222, and a NOT gate 223 for converting the input signal to the second AND gate 221.
The second counter unit 22 detects the CPU unit 1 when the instruction cycle end signal converted by the conversion circuit 13 is at a signal level opposite to that of the first AND gate 211 of the first counter unit 21. A NOT gate 223 is provided in order to be able to detect even when a failure occurs.
而して図外の入力信号によつて、前記CPU部
1が予め定められたプログラムによつてシステム
を制御し、1つの命令サイクルが終了すると命令
サイクル終了信号12を出力し、この命令サイク
ル終了信号12を変換回路13でハイレベルとロ
ーレベルの等間隔の信号〔第3図ロ参照〕にして
前記CPU部1から出力する。そして前記命令サ
イクル終了信号が所定の時間間隔の内に、即ち前
記CPU部が正常に作動しているときに到来する
と第1及び第2のカウンター部の時間間隔以内で
あるため第1若しくは第2のカウンター212,
222は反対側のカウンター部の変換回路からの
入力信号によつてリセツトされるように構成して
いるので、前記第1及び第2のカウンター部2
1,22からは出力信号は出ない。 The CPU unit 1 controls the system according to a predetermined program based on input signals not shown, and when one instruction cycle is completed, it outputs an instruction cycle end signal 12, indicating the end of this instruction cycle. The signal 12 is converted into a high-level and low-level signal at equal intervals by a conversion circuit 13 (see FIG. 3B) and outputted from the CPU section 1. When the instruction cycle end signal arrives within a predetermined time interval, that is, when the CPU unit is operating normally, the first or second counter unit counter 212,
Since the counter 222 is configured to be reset by the input signal from the conversion circuit of the counter section on the opposite side, the first and second counter sections 2
No output signal is output from 1 and 22.
ところが、前記CPU部1になんらかの故障が
あり命令サイクル終了信号がCPU11から出力
されないと前記変換回路13の出力はハイまたわ
ローレベルの状態で停止したままとなる。この状
態を変換回路からの出力がローレベルの状態とす
ると、第2のカウンター部22が出力信号を出す
〔第3図ニ参照〕。これはNOTゲート223によ
り反転された信号が第2のANDゲート221継
続的に信号が出力され、カウンター222の時間
間隔基準を越えるので第2のカウンター部22か
ら信号〔第3図ニ参照〕が出る。この信号はOR
ゲート23〔第3図ホ参照〕を介してワンシヨツ
ト信号変換回路26でワンシヨツト信号に変換さ
れて前記CPU1をリセツトするためのリセツト
信号〔第3図イ,α参照〕を出力する。このリセ
ツト信号により前記CPU部1が正常な状態に復
帰した場合には再び命令サイクル終了信号が出力
され〔第3図ロ,( )参照〕問題なく使用継続
出来る。また前記リセツト信号で前記CPU部1
が正常な状態に復帰しなかつた場合には前記変換
回路の出力信号は同じ信号出力レベルを維持し続
けるので第3のカウンター部23が出力信号を出
力する〔第3図ヘ参照〕。なお251はスイツチ
ング素子、252はANDゲート、523はカウ
ンターである。 However, if there is some kind of failure in the CPU section 1 and the instruction cycle end signal is not output from the CPU 11, the output of the conversion circuit 13 remains stopped at both high and low levels. When the output from the conversion circuit is at a low level in this state, the second counter section 22 outputs an output signal (see FIG. 3D). This is because the signal inverted by the NOT gate 223 is continuously outputted to the second AND gate 221 and exceeds the time interval reference of the counter 222, so the signal from the second counter section 22 [see FIG. 3 D] is output. Get out. This signal is OR
The signal is converted into a one-shot signal by a one-shot signal conversion circuit 26 via a gate 23 (see FIG. 3-E), and outputted as a reset signal (see FIG. 3-A and α) for resetting the CPU 1. When the CPU unit 1 returns to a normal state by this reset signal, an instruction cycle end signal is output again [see FIG. In addition, the CPU section 1 is reset by the reset signal.
If the output signal does not return to the normal state, the output signal of the conversion circuit continues to maintain the same signal output level, so the third counter section 23 outputs an output signal (see FIG. 3). Note that 251 is a switching element, 252 is an AND gate, and 523 is a counter.
本願発明は、入力信号によつて予め定められた
プログラムにしたがつて動作して所定のシステム
を制御する自動制御回路部と、この自動制御回路
部が故障したときに所定のシステムを手動で制御
する手動操作回路部とを含むシステム制御回路装
置において、前記自動制御回路部は少なくとも入
力信号により所定のプログラムにしたがつて順次
制御信号を出力するとともに前記所定のプログラ
ムに従つて1つの命令サイクルを終了したことを
示す命令サイクル終了信号を出力するようにした
CPU11と、このCPU11からの命令サイクル
終了信号を等間隔でON,OFF信号に変換して出
力する変換回路13とからなる中央処理装置部1
と、この中央処理装置部1から出力される命令サ
イクル終了信号を別に設けた発信回路24からの
信号との積として第1のカウンター212に入力
し、前記命令サイクル終了信号を反転した信号と
前記発信回路24からの信号との積として第2の
カウンター222に入力するようにし、第1のカ
ウンターは命令サイクル終了信号の反転信号でリ
セツトし第2のカウンターは命令サイクル終了信
号でリセツトするようにし、この第1及び第2の
カウンターの出力をORゲート23を介して出力
するようにして一定時間以上CPU11が停止し
ていることを検出するとともに、このORゲート
23の出力をワンシヨツト信号に変換する変換回
路26を介してCPU11をリセツトするととも
に、このORゲート23の信号と前記発信回路2
4からの信号との積として第3のカウンター25
3に入力し、この第3のカウンター253の出力
により自動から手動に切り替えるようにする検出
部2を含むシステム制御回路装置としたので、前
記自動制御回路部2がノイズ等によつて誤動作し
たときでも、1つの命令サイクル終了時間と略同
じ程度の時間間隔で回復させることが出来、また
中央処理装置部1が破壊してしまつたような状態
では自動制御回路部2から手動操作回路部に自動
的に切換るのでシステムが全く制御出来なくなる
というような状態を防止出来る。
The present invention includes an automatic control circuit unit that operates according to a predetermined program based on input signals to control a predetermined system, and a system that manually controls the predetermined system when the automatic control circuit unit malfunctions. In the system control circuit device, the automatic control circuit unit sequentially outputs control signals according to a predetermined program based on at least input signals, and executes one command cycle according to the predetermined program. An instruction cycle end signal is now output to indicate completion.
A central processing unit 1 consisting of a CPU 11 and a conversion circuit 13 that converts an instruction cycle end signal from the CPU 11 into ON and OFF signals at equal intervals and outputs the signals.
The command cycle end signal outputted from the central processing unit 1 is inputted to the first counter 212 as the product of the signal from the separately provided transmitting circuit 24, and the signal obtained by inverting the command cycle end signal and the The signal is input to the second counter 222 as a product of the signal from the transmitting circuit 24, and the first counter is reset by the inverted signal of the instruction cycle end signal, and the second counter is reset by the instruction cycle end signal. The outputs of the first and second counters are outputted through the OR gate 23 to detect that the CPU 11 has stopped for a certain period of time or more, and to convert the output of the OR gate 23 into a one-shot signal. The CPU 11 is reset via the conversion circuit 26, and the signal from the OR gate 23 and the oscillation circuit 2 are
4 as the product of the third counter 25 with the signal from
3 and switches from automatic to manual by the output of this third counter 253. Therefore, when the automatic control circuit 2 malfunctions due to noise etc. However, it is possible to recover at approximately the same time interval as the end time of one instruction cycle, and in a situation where the central processing unit 1 is destroyed, the automatic control circuit 2 automatically transfers the manual operation circuit. Since the switching is performed automatically, it is possible to prevent a situation where the system becomes completely uncontrollable.
また本願発明の如き構成にしたので極めて簡単
な構造によつて目的を達成することが出来たもの
である。 Further, since the structure of the present invention is adopted, the object can be achieved with an extremely simple structure.
図面は本願発明を説明する図面であつて第1図
は本願発明の従来例を示す電気回路図である。第
2図乃至第4図は本願発明を説明する図面であつ
て第2図は本願発明の電気回路図、第3図は第2
図に示す電気回路図の信号のタイムチヤート図、
暖4図は本願発明のシステムをを示すブロツク図
である。
A……被制御システム、B……入力信号、C…
…自動制御回路部、D……手動操作回路部、1…
…CPU部、11……CPU、12……命令サイク
ル終了信号、13……変換回路、131……
CPU部からの出力信号、2……検出回路部、2
1……第1のカウンター部、22……第2のカウ
ンター部、23……ORゲート、24……発振回
路、25……第3のカウンター部、26……ワン
シヨツト信号変換回路、211,221,252
……ANDゲート、212,222,253……
カウンター、223……NOTゲート、251…
…スイツチング素子、252……リレー。
The drawings are for explaining the present invention, and FIG. 1 is an electric circuit diagram showing a conventional example of the present invention. 2 to 4 are drawings for explaining the present invention, in which FIG. 2 is an electric circuit diagram of the present invention, and FIG.
Time chart diagram of the signals of the electrical circuit diagram shown in the figure,
Figure 4 is a block diagram showing the system of the present invention. A...Controlled system, B...Input signal, C...
...Automatic control circuit section, D...Manual operation circuit section, 1...
...CPU section, 11...CPU, 12...Instruction cycle end signal, 13...Conversion circuit, 131...
Output signal from CPU section, 2...Detection circuit section, 2
DESCRIPTION OF SYMBOLS 1... First counter section, 22... Second counter section, 23... OR gate, 24... Oscillation circuit, 25... Third counter section, 26... One shot signal conversion circuit, 211, 221 ,252
...AND gate, 212, 222, 253...
Counter, 223...NOT gate, 251...
...Switching element, 252...Relay.
Claims (1)
にしたがつて動作して所定のシステムを制御する
自動制御回路部と、この自動制御回路部が故障し
たときに所定のシステムを手動で制御する手動操
作回路部とを含むシステム制御回路装置におい
て、 前記自動制御回路部は少なくとも入力信号によ
り所定のプログラムにしたがつて順次制御信号を
出力するとともに前記所定のプログラムに従つて
1つの命令サイクルを終了したことを示す命令サ
イクル終了信号を出力するようにしたCPUと、
このCPUからの命令サイクル終了信号を等間隔
でON,OFF信号に変換して出力する変換回路と
からなる中央処理装置部と、 この中央処理装置部から出力される命令サイク
ル終了信号を別に設けた発信回路24からの信号
との積として第1のカウンター212に入力し、
前記命令サイクル終了信号を反転した信号と前記
発信回路からの信号との積として第2のカウンタ
ー222に入力するようにし、第1のカウンター
は命令サイクル終了信号の反転信号でリセツトし
第2のカウンターは命令サイクル終了信号でリセ
ツトするようにし、この第1及び第2のカウンタ
ーの出力をORゲートを介して出力するようにし
て一定時間以上CPUが停止していることを検出
するとともに、このORゲートの出力をワンシヨ
ツト信号に変換する変換回路を介してCPUをリ
セツトするとともに、このORゲートの信号と前
記発振回路からの信号との積として第3のカウン
ターに入力し、この第3のカウンターの出力によ
り自動から手動に切り替えるようにする検出部を
含むシステム制御回路装置。[Scope of Claims] 1. An automatic control circuit unit that operates according to a predetermined program based on input signals to control a predetermined system, and an automatic control circuit unit that controls a predetermined system when the automatic control circuit unit malfunctions. In a system control circuit device including a manually operated circuit unit for manual control, the automatic control circuit unit sequentially outputs control signals according to a predetermined program using at least an input signal, and outputs one control signal according to the predetermined program. A CPU that outputs an instruction cycle end signal indicating that the instruction cycle has ended;
A central processing unit consisting of a conversion circuit that converts the instruction cycle end signal from the CPU into ON and OFF signals at equal intervals and outputs the same, and an instruction cycle end signal output from this central processing unit are provided separately. input to the first counter 212 as a product of the signal from the transmitting circuit 24;
The product of the inverted instruction cycle end signal and the signal from the transmitting circuit is input to the second counter 222, and the first counter is reset by the inverted signal of the instruction cycle end signal, and the second counter is reset by the instruction cycle end signal, and the outputs of the first and second counters are outputted via an OR gate to detect that the CPU has stopped for a certain period of time or more. The CPU is reset through a conversion circuit that converts the output of this OR gate into a one-shot signal, and the product of this OR gate signal and the signal from the oscillation circuit is input to a third counter, and the output of this third counter is A system control circuit device including a detection section that allows switching from automatic to manual mode.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58032373A JPS59158402A (en) | 1983-02-28 | 1983-02-28 | System control circuit device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58032373A JPS59158402A (en) | 1983-02-28 | 1983-02-28 | System control circuit device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59158402A JPS59158402A (en) | 1984-09-07 |
| JPH0348521B2 true JPH0348521B2 (en) | 1991-07-24 |
Family
ID=12357137
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58032373A Granted JPS59158402A (en) | 1983-02-28 | 1983-02-28 | System control circuit device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59158402A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002288010A (en) * | 2001-03-28 | 2002-10-04 | Toshiba Corp | Monitoring device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5725002A (en) * | 1980-12-17 | 1982-02-09 | Yokogawa Hokushin Electric Corp | Contol device using microcomputer |
-
1983
- 1983-02-28 JP JP58032373A patent/JPS59158402A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59158402A (en) | 1984-09-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| GB1466518A (en) | Intrusion detector self-test system | |
| JPS57139861A (en) | Multicomputer system | |
| GB2169734A (en) | Fire alarm system | |
| JPH0348521B2 (en) | ||
| JPH0448013B2 (en) | ||
| JPS619798A (en) | Automatic transmission type observer | |
| JPS57130131A (en) | Multiple computer device | |
| JPS60213195A (en) | Remote supervisory and controlling equipment | |
| JPS5588148A (en) | Test system of input-output control system | |
| JPH0625976B2 (en) | Abnormality monitoring circuit for transmission unit for multidrop serial bus | |
| SU1520483A1 (en) | Monitoring device | |
| JP2749994B2 (en) | Numerical control unit | |
| JP3113359B2 (en) | Notification device | |
| JP2714052B2 (en) | Power failure detection device | |
| JP2548479B2 (en) | Computer system operation monitoring method | |
| JPS6243211B2 (en) | ||
| JPH0418321B2 (en) | ||
| JPS61102116A (en) | Inspection circuit for protective relay device | |
| JPS61285315A (en) | Automatic combustion control device of remote control type | |
| JPH0137915B2 (en) | ||
| JPH0332685B2 (en) | ||
| JPH02246726A (en) | Method of detecting monitoring failure of digital relay | |
| JPH0679298B2 (en) | Abnormality monitoring circuit for multi-drop serial bus transmission unit | |
| JPS627576B2 (en) | ||
| JPS60178503A (en) | Control signal output circuit |