JPS6091415A - Digital controller - Google Patents
Digital controllerInfo
- Publication number
- JPS6091415A JPS6091415A JP58198654A JP19865483A JPS6091415A JP S6091415 A JPS6091415 A JP S6091415A JP 58198654 A JP58198654 A JP 58198654A JP 19865483 A JP19865483 A JP 19865483A JP S6091415 A JPS6091415 A JP S6091415A
- Authority
- JP
- Japan
- Prior art keywords
- controller
- data
- delivered
- cpu1
- output
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/16—Error detection or correction of the data by redundancy in hardware
- G06F11/18—Error detection or correction of the data by redundancy in hardware using passive fault-masking of the redundant circuits
- G06F11/183—Error detection or correction of the data by redundancy in hardware using passive fault-masking of the redundant circuits by voting, the voting not being performed by the redundant components
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/16—Error detection or correction of the data by redundancy in hardware
- G06F11/18—Error detection or correction of the data by redundancy in hardware using passive fault-masking of the redundant circuits
- G06F11/187—Voting techniques
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Testing And Monitoring For Control Systems (AREA)
- Hardware Redundancy (AREA)
- Safety Devices In Control Systems (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の技術分野〕
この発明は、ディジタルコントロールシステムの制御に
用いらn、自己診断機能ヲ封するディジタル制御装置に
関するものである。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a digital control device that is used to control a digital control system and includes a self-diagnosis function.
通常デユープレックスシステムで、主系として動作する
コントローラは入力処理、制御処理、出力処理、自己診
断処理及び従系へのトラッキング用データの送信等の処
理な行う。こnらの処理は所足の制御周期で実行される
。コントローラの故障は、マイクロコンピュータに工り
実行さ扛るプログラム自己診断機能にニジ検出さ肛る。Typically, in a duplex system, the controller that operates as the main system performs processing such as input processing, control processing, output processing, self-diagnosis processing, and sending tracking data to the slave system. These processes are executed at the required control cycle. Controller malfunctions are detected by the self-diagnosis function of a program run by a microcomputer.
この自己診断機能には、ウォッチドッグタイマ及びメモ
リパリティチェックに工9マシンエラ〜を検出するもの
、不正命令等の発生のチェックが含1れる。This self-diagnosis function includes a watchdog timer, a memory parity check, a function to detect machine errors, and a check for the occurrence of illegal instructions.
しかしながら、その内容にアプリケーションにより1例
えば入・出力部の動作チェック、ROMのデータのサム
チェック等を実行するのに必要なコストあるいはコント
ローラの制御処理時間を考慮し1種々のものを追加する
ことが可能であ夛、製品により異なる。However, depending on the application, various things may be added in consideration of the cost or controller control processing time required to perform, for example, checking the operation of the input/output section or checking the sum of ROM data. Possible, depending on the product.
従来、この樽の装置として第1図に示すデユープレタス
構成のものがあった。図において、A。Conventionally, this barrel device has a dual lettuce configuration as shown in FIG. In the figure, A.
Bは主系又は従系として動作するコントローラ。B is a controller that operates as a main system or a slave system.
コントローラA、Bにおいて、1は中央処理装置(cp
u)、2は拡張用のメモリ、3はコントローラAのcp
uiとコントローラBのcpulとの間でデータのトラ
ッキングをし、コントローラA 、BY結合させる結合
装置、4はパス4a、4bの信号レベルを変換する変換
器、5はそnぞ扛バス4a、4bの診断を行うモニタ、
6はモニタ5の出力にニジコントローラA、Blk主系
から従系へ又はその逆へ切替える切替器、7は信号を入
力する入力部、8は信号な出力する出力部、9はコント
ローラA、Bの出力を選択する切替器、10はセンサ、
11は切替器9を介する信号に工り動作するアクチュエ
ータである。14.15は動作指令を受信する回路であ
る。In controllers A and B, 1 is a central processing unit (cp
u), 2 is expansion memory, 3 is controller A's cp
A coupling device that tracks data between the ui and the cpul of the controller B and connects the controller A and the BY; 4 is a converter that converts the signal level of the paths 4a and 4b; 5 is the respective bus 4a and 4b; A monitor that diagnoses
6 is a controller A for the output of the monitor 5, a switch for switching from Blk main system to slave system or vice versa, 7 is an input section for inputting signals, 8 is an output section for outputting signals, 9 is controller A, B 10 is a sensor for selecting the output of
Reference numeral 11 denotes an actuator that operates based on the signal sent through the switch 9. 14 and 15 are circuits that receive operation commands.
仄に、動作について説明する。コントローラAが主系と
して動作しているときは、コントローラAのcpulあ
るいはモニタ5が故障な検出すると、2重系管理ロジッ
ク6に指命を与え、こnに工り切替器9を動作させ、ま
た動作指令?回路14f?を介してコントローラBのc
pulへ与えることにより、主系と従系との間の切替え
がなさnる。The operation will be briefly explained. When controller A is operating as the main system, when CPU of controller A or monitor 5 is detected to be malfunctioning, an instruction is given to dual system management logic 6 to operate mechanical switch 9, Another movement command? Circuit 14f? c of controller B via
Switching between the main system and the slave system is performed by supplying it to pul.
これにニジコントローラAはこれ1でのトラッキングモ
ードから制御モードにソフトウェア処理を変更してプロ
セスコントロールを行つ。In response to this, the controller A changes the software processing from the tracking mode in 1 to the control mode and performs process control.
従来のディジタル制御装置に0以上のように構成されて
いるので、故障の大部分はウォッチドッグタイマ、メモ
リパリティ等により検出できるが。Since the conventional digital control device is configured as 0 or more, most of the failures can be detected by the watchdog timer, memory parity, etc.
cpu内のバスインターフェイス部に発生するエラーや
メモリの2ビット以上のエラー等は検出不可能である。Errors occurring in the bus interface section of the CPU, errors in two or more bits of memory, etc. cannot be detected.
最悪の場合、この工うなエラーはCpu&暴走させるこ
ともあるので、このようなディジタル制御装置は十分な
信頼性が得らnない欠点があった。In the worst case, this kind of error can cause the CPU to run out of control, so such a digital control device has the drawback of not being sufficiently reliable.
この発明は、上記のような従来のものの欠点ケ除去する
ためになされたもので、主系及び従系とも第1及び第2
のeptmを備え、第1のcpuはマスクとして、第2
のcpuldチェッカとして作動させ0両epuの演算
結果’a?M合することにより、信頼性の高いディジタ
ル制御装鎗を提供することな目的とする。This invention was made in order to eliminate the drawbacks of the conventional ones as described above, and both the main system and the slave system have the first and second
EPTM, the first CPU serves as a mask, and the second
It works as a cpuld checker and the calculation result of 0 epu is 'a? The purpose is to provide a highly reliable digital control device by combining the following methods.
以下、この発明の一実施例を図について説明する。第2
図において、1〜15は第1図の場合と同一であ、9.
18Hテエンカ用のeptmである。An embodiment of the present invention will be described below with reference to the drawings. Second
In the figure, 1 to 15 are the same as in FIG. 1, and 9.
This is EPTM for 18H Teenka.
c p u 1 * 16 、結合装置3及びバス変換
器4を。c p u 1 * 16 , the coupling device 3 and the bus converter 4.
、<ス4a’ic’介して接続することにより、マ/l
/−F−プロセッサシステムが構成さnている。’J
7t c p ulにバス4ak弁して他の部分力≧ら
のデータを授受可能な工うに2ボートメモリを内蔵して
いる。, < By connecting via <4a'ic',
A /-F-processor system is configured. 'J
It has a built-in 2-board memory that can send and receive data for other partial forces by using a bus 4ak valve on the 7t c p ul.
次に動作について説明する。cpulはセンサ10の出
力を入力部7及びバス変換器4な通して入力し、所足の
制御演算を行っている。その結果は通常バス変換器4.
出方部8及び切替器9を通してプロセスに出力さnる。Next, the operation will be explained. The cpul inputs the output of the sensor 10 through the input section 7 and the bus converter 4, and performs the necessary control calculations. The result is usually bus converter 4.
It is output to the process through the output section 8 and the switch 9.
このとき切換器9に主系として動作しているコントロー
ラAに接続さnている。cpulの演算処理結果及び中
間演算結果にトラッキングデータとして結合装置3を通
じて従系のコントローラBに伝送されている。以上に通
常のデユーブレックス動作の場合と同一である。主系の
コントローラAのcpulは上記動作を行うと同時に、
Cpul6の2ボートメモリに入力イメージを渡す。こ
nは後述する2つのCpul、16の演算結果の照合の
ために同一人力データを使用して演算するためである。At this time, the switch 9 is connected to the controller A operating as the main system. The cpul arithmetic processing results and intermediate arithmetic results are transmitted as tracking data to the slave controller B through the coupling device 3. The above is the same as the normal duplex operation. The cpul of the main controller A performs the above operations, and at the same time,
Pass the input image to Cpul6's 2-vote memory. This is because the calculations are performed using the same human data in order to compare the calculation results of the two CPUs 16, which will be described later.
プロセス出力はcpulから行うがcpul、16はモ
ニタ5内のレジスタに演算結果データを書き込む。The process output is performed from the cpul, and the cpul 16 writes the operation result data to the register in the monitor 5.
モニタ5は、このデータを照合し、不一致であnば2重
系管理ロジック部6へ故障検出信号を出力する。このと
き、ウォッチドッグタイマ、メモリパリティチェック等
の故障検出信号は、2重化照合信号との論理和で出力さ
nる。コントローラAのc p u 1 * 16の結
果が一致していることにニジ、常時コントローラAの健
全性?チェックしている。同時に従系でも同様のチェッ
クな行い従系の健全性もチェックする。2重系管理ロジ
ック6はコントローラA、Bの動作状態を監視し、どち
らを主系として選択するかを決足している。勿論。The monitor 5 collates this data, and if it does not match, outputs a failure detection signal to the dual system management logic unit 6. At this time, a failure detection signal such as a watchdog timer or a memory parity check is output as a logical sum with the duplex verification signal. Is it true that the results of controller A's CPU 1 * 16 match? Is it always the health of controller A? Checking. At the same time, perform the same check on the slave system to check the health of the slave system. Dual system management logic 6 monitors the operating states of controllers A and B and decides which one to select as the main system. Of course.
手動での切替も可能な設計となっている。さらにコント
ローラA及びBのいずnxrhに故障が発生時には切替
器9を図示と逆の位置への切替なし、アクチュエータ1
1に警報出力な出すことに工り。The design also allows for manual switching. Furthermore, if a failure occurs in either controller A or B, the switch 9 will not be switched to the opposite position as shown in the illustration, and the actuator 1 will not be switched.
I tried to output an alarm to 1.
保守員に知らせ、修復作業が行える設計としている。The design allows maintenance personnel to be notified and repair work to be carried out.
なお上記実施例ではマスタのepuからテエッカのcp
uへ入力データを転送してチェックする場合な説明した
が、その逆に転送する場合であっても工く、また、入力
データの過渡変化が問題にならない工うな応用製品(例
えばディジタル入力のみのものとかアナログ量であって
も系の応答がサンプリングタイムに比較して非常にゆる
やかなもの)においてはマスク、チェッカのcpuがプ
ロセス人力しても良いことは言う1でもない。In addition, in the above embodiment, the data from the master epu to the teekka cp
We have explained the case where the input data is transferred to U and checked, but it is also possible to transfer the data in the opposite direction.It is also applicable to applied products where transient changes in the input data are not a problem (for example, for application products that only have digital input). Even if it is an analog quantity, the response of the system is very slow compared to the sampling time), there is no need to say that the CPU of the mask and checker can be manually processed.
さらに本発明が2重系の片系としてのみでなく。Furthermore, the present invention is not only limited to a dual system but also as a single system.
故障発生時の対応が緊急を要しない製品ではシングル系
としても適用可能である。It can also be applied as a single system for products that do not require urgent response in the event of a failure.
以上の二うにこの発明にLfLは、自己診断のためにマ
スクとチェッカと用の2台のcpu&設置したので、容
易にかつ確実に自己#@ケ行えるので、信頼性を高める
ことができる効果がある。As mentioned above, in this invention, LfL is equipped with two CPUs for self-diagnosis, one for a mask and one for a checker, so that self-diagnosis can be easily and reliably carried out, which has the effect of increasing reliability. be.
第1図は従来のディジタル制御装置のブロック図、第2
図は本発明の一実施例によるディジタル制御装置のブロ
ック図である。
1.16・・・cpu、2・・・メモリ、3・・・結合
装置。
4・・・バス変換器、5・・・モニタ、6・・・2重系
管理ロジック、7・・・入力部、8・・・出力部、9・
・・切替器。
10・・・センサ、11・・・アクチュエータ、A、B
・・・コントローラ。
なお1図中、同一符号は同一部分を示す。
代理人 大岩増雄
第1図Figure 1 is a block diagram of a conventional digital control device, Figure 2 is a block diagram of a conventional digital control device.
The figure is a block diagram of a digital control device according to an embodiment of the present invention. 1.16... CPU, 2... Memory, 3... Coupling device. 4... Bus converter, 5... Monitor, 6... Dual system management logic, 7... Input section, 8... Output section, 9...
...Switcher. 10...Sensor, 11...Actuator, A, B
···controller. Note that in FIG. 1, the same reference numerals indicate the same parts. Agent Masuo Oiwa Figure 1
Claims (1)
央処理装置と、上記各中央処理装置工りデータ処理の結
果を入力して照合し、不一致のときは故障検出信号を出
力するモニタとを備えたディジタル制御装置。[Claims] Read the same data from the controlled object at the required intervals. A central processing unit for counting that independently performs the same data processing, and a monitor that inputs and collates the results of data processing by each of the above central processing units, and outputs a failure detection signal when there is a discrepancy. A digital control device equipped with
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58198654A JPS6091415A (en) | 1983-10-24 | 1983-10-24 | Digital controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58198654A JPS6091415A (en) | 1983-10-24 | 1983-10-24 | Digital controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6091415A true JPS6091415A (en) | 1985-05-22 |
Family
ID=16394813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58198654A Pending JPS6091415A (en) | 1983-10-24 | 1983-10-24 | Digital controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6091415A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63254537A (en) * | 1987-04-13 | 1988-10-21 | Kyosan Electric Mfg Co Ltd | Data comparator for data processor |
JPH0237367A (en) * | 1988-07-28 | 1990-02-07 | Ricoh Co Ltd | Copying device |
JPH03286340A (en) * | 1990-04-03 | 1991-12-17 | Japan Electron Control Syst Co Ltd | Diagnostic device for cpu abnormality |
JP2015090501A (en) * | 2013-11-05 | 2015-05-11 | 三菱電機株式会社 | Dual control device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS50157778A (en) * | 1974-06-12 | 1975-12-19 |
-
1983
- 1983-10-24 JP JP58198654A patent/JPS6091415A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS50157778A (en) * | 1974-06-12 | 1975-12-19 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63254537A (en) * | 1987-04-13 | 1988-10-21 | Kyosan Electric Mfg Co Ltd | Data comparator for data processor |
JPH0237367A (en) * | 1988-07-28 | 1990-02-07 | Ricoh Co Ltd | Copying device |
JPH03286340A (en) * | 1990-04-03 | 1991-12-17 | Japan Electron Control Syst Co Ltd | Diagnostic device for cpu abnormality |
JP2015090501A (en) * | 2013-11-05 | 2015-05-11 | 三菱電機株式会社 | Dual control device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0201356B1 (en) | High level self-checking intelligent i/o controller | |
US5313386A (en) | Programmable controller with backup capability | |
CN103262045B (en) | Microprocessor system having fault-tolerant architecture | |
EP2113842A1 (en) | Scaleable self-checking processing platform | |
JPH01154242A (en) | Double-zone failure-proof computer system | |
JPH01152543A (en) | Defect resistance computer system having defect separating and repairing function | |
US4665522A (en) | Multi-channel redundant processing systems | |
JPH0934809A (en) | Highly reliable computer system | |
JPS6091415A (en) | Digital controller | |
KR100279204B1 (en) | Dual Controlling Method of Local Controller for An Automatic Control System and an Equipment thereof | |
JP2006155678A (en) | Multiplexing control system and multiplexing method | |
JP4102814B2 (en) | I / O control device, information control device, and information control method | |
JP2003167755A (en) | Fault diagnostic method and device for signal processing system | |
JPS5911455A (en) | Redundancy system of central operation processing unit | |
JPS6321217B2 (en) | ||
JPS5812062A (en) | Output device for parallel electronic computer system | |
JPS5941066A (en) | Method for collating data of controller | |
JPS5916302B2 (en) | Check device | |
JPS62284438A (en) | Locked processor system | |
JPS6055446A (en) | Computer | |
JPS63115240A (en) | Fault detecting system | |
JPS58137062A (en) | Hung-up detection system | |
JPH01103761A (en) | Device for diagnosing trouble of multiple system bus synchronizing system | |
Colley et al. | An architecture for constructing fault-tolerant transputer systems | |
JPH1011102A (en) | Duplex system |