JPS6226741B2 - - Google Patents

Info

Publication number
JPS6226741B2
JPS6226741B2 JP57030109A JP3010982A JPS6226741B2 JP S6226741 B2 JPS6226741 B2 JP S6226741B2 JP 57030109 A JP57030109 A JP 57030109A JP 3010982 A JP3010982 A JP 3010982A JP S6226741 B2 JPS6226741 B2 JP S6226741B2
Authority
JP
Japan
Prior art keywords
signal
output
circuit
switching element
final 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.)
Expired
Application number
JP57030109A
Other languages
Japanese (ja)
Other versions
JPS58146919A (en
Inventor
Akira Kaneda
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 Corp
Original Assignee
Mitsubishi Electric Corp
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 Corp filed Critical Mitsubishi Electric Corp
Priority to JP57030109A priority Critical patent/JPS58146919A/en
Publication of JPS58146919A publication Critical patent/JPS58146919A/en
Publication of JPS6226741B2 publication Critical patent/JPS6226741B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error 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

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)

Description

【発明の詳細な説明】 この発明は、デイジタル出力信号を被制御対象
に必要な信号形態に変換する出力回路の誤動作防
止に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to preventing malfunction of an output circuit that converts a digital output signal into a signal form necessary for a controlled object.

一般に、出力回路を含むデイジタル制御装置と
して第1図に示すものがある。図において、1は
中央処理装置(CPU)、2はプログラム及びデー
タを記憶するメモリ、3はデータ信号、アドレス
信号、及び制御信号からなるバス、4は入力信
号、5は入力信号4を制御しやすいデイジタル信
号に変換する入力回路、6はCPU1の命令によ
り入力回路5を制御する入力制御回路、7はデイ
ジタル出力信号を被制御対象に必要な信号形態に
変換する出力回路、8はcpu1の命令により出力
回路7を制御する出力制御回路、9は出力信号で
ある。
Generally, there is a digital control device including an output circuit as shown in FIG. In the figure, 1 is a central processing unit (CPU), 2 is a memory that stores programs and data, 3 is a bus consisting of data signals, address signals, and control signals, 4 is an input signal, and 5 is a controller that controls the input signal 4. 6 is an input control circuit that controls the input circuit 5 according to instructions from the CPU 1; 7 is an output circuit that converts the digital output signal into a signal form necessary for the controlled object; 8 is an instruction from the CPU 1. 9 is an output signal.

第1図のデイジタル制御装置において、従来、
出力回路7として第2図に示すものがあつた。図
において、10は起動信号によつて入力信号をラ
ツチし出力を維持するメモリ、11は自己アドレ
スとcpu1からのアドレス信号の一致を検出する
一致回路、12は論理積回路でありこれらは出力
制御回路8の一部である。また、3aはデータ信
号(8ビツトで構成されているとする)、3bは
アドレス信号、3cは制御信号でありメモリ10
の起動信号である。出力回路7は以下の回路によ
り構成されている。13はスイツチング要素、1
4−1〜14−8はトランジスタ、15−1〜1
5−8は出力リレー、15−1a〜15−8aは
出力リレー15−1〜15−8の常開接点、16
は出力リレー15−1〜15−8を付勢する電
源、17は被制御対象に必要な信号形態の供給端
子である。
In the digital control device shown in FIG.
The output circuit 7 was shown in FIG. In the figure, 10 is a memory that latches the input signal and maintains the output based on the activation signal, 11 is a matching circuit that detects the match between the self address and the address signal from CPU 1, and 12 is an AND circuit, which controls the output. It is part of circuit 8. Further, 3a is a data signal (supposed to be composed of 8 bits), 3b is an address signal, and 3c is a control signal.
This is the activation signal. The output circuit 7 is composed of the following circuits. 13 is a switching element, 1
4-1 to 14-8 are transistors, 15-1 to 1
5-8 is an output relay, 15-1a to 15-8a are normally open contacts of output relays 15-1 to 15-8, 16
1 is a power supply that energizes the output relays 15-1 to 15-8, and 17 is a terminal for supplying a signal form necessary for the controlled object.

次に動作について説明する。cpu1からバス3
を介して8ビツトのデータ信号3aとアドレス信
号3b及び起動信号3cが“1”、“0”のパルス
信号で送出される。一致回路11はデータ信号3
aが出力制御用の信号であるかどうかをアドレス
信号3bで判断し、自己アドレスと一致した場合
は、論理積回路12のゲートを開く。一方、起動
信号3cはデータ信号3a及びアドレス信号3b
より少し遅れてcpu1から送出され論理積回路1
2に加えられる。論理積回路12のゲートが開い
ている場合はメモリ10の起動信号として、メモ
リ10に加えられているデータ信号3aをラツチ
する。メモリ10のラツチされた内容は次のcpu
1からのデータ信号によつて書き換えられるまで
維持出力する。
Next, the operation will be explained. cpu1 to bus3
An 8-bit data signal 3a, an address signal 3b, and an activation signal 3c are sent out as pulse signals of "1" and "0" through the circuit. The matching circuit 11 receives the data signal 3
It is determined whether or not a is an output control signal using the address signal 3b, and if it matches the self address, the gate of the AND circuit 12 is opened. On the other hand, the activation signal 3c is a data signal 3a and an address signal 3b.
It is sent from CPU 1 a little later than that and is sent to AND circuit 1.
Added to 2. When the gate of the AND circuit 12 is open, the data signal 3a applied to the memory 10 is latched as a start signal for the memory 10. The latched contents of memory 10 are the next CPU
The output is maintained until it is rewritten by the data signal from 1.

以上のようにしてメモリ10に記憶されたデー
タ信号3aは、出力回路7のスイツチング要素1
3の入力信号として各々対応するトランジスタ1
4−1〜14−8をオン、オフ制御し出力リレー
15−1〜15−8を駆動する。駆動した出力リ
レーは対応する常開接点15−1a〜15−8a
を閉じ供給端子17から被制御対象への信号が出
力される。
The data signal 3a stored in the memory 10 as described above is transmitted to the switching element 1 of the output circuit 7.
Transistor 1 corresponding to each as the input signal of 3
4-1 to 14-8 are turned on and off to drive output relays 15-1 to 15-8. The driven output relays have corresponding normally open contacts 15-1a to 15-8a.
is closed, and a signal is output from the supply terminal 17 to the controlled object.

従来のデイジタル制御装置の出力回路は以上の
ように構成されているので、バス3、出力制御回
路8をも含めたハードウエアの不良で信号のビツ
トエラーが発生して誤動作すると、制御対象のプ
ラントに重大事故をまねく恐れがあつた。特に、
信頼度の要求されているシステムでは出力の誤動
作防止として、出力信号を再び入力信号として演
算処理しその結果が先の出力信号と一致している
場合のみに出力信号とする2段階の出力制御方法
が行われているが、出力信号を再入力するため多
数の入出力回路が必要で、また出力の応答性が悪
くなるなど装置が大形化し高価で性能の低下を生
じる欠点があつた。
The output circuit of a conventional digital control device is configured as described above, so if a signal bit error occurs due to a hardware failure, including the bus 3 and output control circuit 8, resulting in a malfunction, the plant being controlled will be affected. There was a risk of a serious accident. especially,
In systems where reliability is required, in order to prevent output malfunctions, a two-step output control method is used in which the output signal is processed again as an input signal and is output as an output signal only when the result matches the previous output signal. However, this method requires a large number of input/output circuits in order to re-input the output signal, and has the disadvantage that the output response becomes poor, making the device larger, more expensive, and lowering performance.

この発明は、上記のような従来のものの欠点を
除去する目的でなされたもので、データ信号に同
期したチエツク信号を用いて誤動作防止のできる
出力回路を提供するものである。
The present invention has been made to eliminate the above-mentioned drawbacks of the conventional circuit, and provides an output circuit that can prevent malfunctions by using a check signal synchronized with a data signal.

以下、この発明の一実施例を図について説明す
る。第3図において、10aは起動信号3cによ
り入力信号をラツチし出力維持するメモリでこれ
は出力制御回路8に含まれる。3dは制御信号で
ありデータ信号3aに同期したチエツク信号、例
えば1ビツトでありデータ信号3aと合わせてパ
リテイチエツク(この場合、9ビツトの“1”の
数が偶数で正常となると仮定する。)を行う。1
3aはスイツチング要素、16−1はトランジス
タ14−1がオフの状態で出力リレー付勢用の電
源16を分圧抵抗18−1,19−1で適切な値
に変換した電圧、16−2〜16−8も16−1
と同様に分圧抵抗18−2〜18−8,19−2
〜19−8で分圧された電圧、20−1〜20−
8は逆流防止用のダイオード、21はデータ信号
3aによる入力信号に基づく電圧16−1〜16
−8の“1”、“0”とチエツク信号3dとで例え
ば、パリテイチエツクを行う検出回路、22は検
出回路21の異常検出で駆動する検出リレーで出
力リレー15−1〜15−8より応答時間の早い
もの、22bは検出リレー22の駆動で開く常閉
接点である。
An embodiment of the present invention will be described below with reference to the drawings. In FIG. 3, 10a is a memory included in the output control circuit 8 that latches the input signal in response to the activation signal 3c and maintains the output. 3d is a control signal and is a check signal synchronized with the data signal 3a, for example, 1 bit, which performs a parity check together with the data signal 3a (in this case, it is assumed that the number of 9-bit "1"s is even and normal). )I do. 1
3a is a switching element, 16-1 is a voltage obtained by converting the power supply 16 for energizing the output relay to an appropriate value using voltage dividing resistors 18-1 and 19-1 when the transistor 14-1 is off; 16-2 to 3a; 16-8 also 16-1
Similarly, voltage dividing resistors 18-2 to 18-8, 19-2
~ Voltage divided by 19-8, 20-1 ~ 20-
8 is a diode for backflow prevention, and 21 is a voltage 16-1 to 16 based on an input signal from the data signal 3a.
-8 is a detection circuit that performs a parity check using "1" and "0" and the check signal 3d, and 22 is a detection relay that is driven when an abnormality is detected in the detection circuit 21, and from output relays 15-1 to 15-8. 22b, which has a fast response time, is a normally closed contact that opens when the detection relay 22 is driven.

次に実施例の動作について説明する。cpu1か
らはデータ信号3aとビツトエラーを検出するた
めのチエツク信号3dが同期して出力される。こ
のチエツク信号3dはメモリ10dにデータ信号
3aと同様に記憶され検出回路21に加えられ
る。一方、メモリ10に記憶されたデータ信号3
aは入力信号として、出力回路7におけるスイツ
チング要素13aのトランジスタ14−1〜14
−8をオン、オフ制御する。トランジスタ14−
1〜14−8のオン、オフに伴ない電圧16−1
〜16−8による“1”、“0”が検出回路21に
加えられると共に出力リレー15−1〜15−8
が駆動する。
Next, the operation of the embodiment will be explained. The CPU 1 outputs a data signal 3a and a check signal 3d for detecting bit errors in synchronization. This check signal 3d is stored in the memory 10d in the same way as the data signal 3a and is applied to the detection circuit 21. On the other hand, the data signal 3 stored in the memory 10
a is an input signal to the transistors 14-1 to 14 of the switching element 13a in the output circuit 7.
-8 is turned on and off. Transistor 14-
Voltage 16-1 as 1 to 14-8 turn on and off
“1” and “0” from ~16-8 are applied to the detection circuit 21, and output relays 15-1 to 15-8
is driven.

検出回路21は入力されるチエツク信号3dと
電圧16−1〜16−8によりパリテイチエツク
を行い、例えば9ビツトの“1”の数が奇数であ
ればデータ信号3aにビツトエラーが発生したも
のと判断して、検出リレー22を駆動する。駆動
した検出リレー22は出力リレー付勢用の電源1
6をしや断すべく常閉接点22bを開ける。つま
り、応答時間の速い検出リレー22は出力リレー
15−1〜15−8が駆動して常開接点を閉じる
前に動作して、誤出力の防止を行う。検出回路2
1の結果が正常時には、駆動した出力リレーによ
り対応した常開接点15−1a〜15−8aが閉
じて供給端子17から被制御対象への信号が出力
される。
The detection circuit 21 performs a parity check using the input check signal 3d and voltages 16-1 to 16-8. For example, if the number of 9-bit "1"s is odd, it is determined that a bit error has occurred in the data signal 3a. Based on the judgment, the detection relay 22 is driven. The driven detection relay 22 is connected to the power supply 1 for energizing the output relay.
6, the normally closed contact 22b is opened. In other words, the detection relay 22 having a fast response time operates before the output relays 15-1 to 15-8 are driven to close the normally open contacts, thereby preventing erroneous output. Detection circuit 2
When the result of step 1 is normal, the corresponding normally open contacts 15-1a to 15-8a are closed by the driven output relay, and a signal is output from the supply terminal 17 to the controlled object.

なお、上記実施例ではチエツク信号3d並びに
検出回路21にパリテイチエツク機能を持たせた
が、パリテイチエツクに限らずチエツク信号とデ
ータ信号とを利用する他の検出手段でもよい。
In the above embodiment, the check signal 3d and the detection circuit 21 have a parity check function, but the present invention is not limited to the parity check, and other detection means that utilize a check signal and a data signal may be used.

さらに、トランジスタ14−1〜14−8、出
力リレー15−1〜15−8、検出リレー22は
スイツチの動作をするものであればよいことは言
うまでもない。
Furthermore, it goes without saying that the transistors 14-1 to 14-8, the output relays 15-1 to 15-8, and the detection relay 22 only need to operate as switches.

以上のようにこの発明によれば出力したデータ
とこのデータに付加したチエツク信号を最終段で
検定し、検定結果に応じてデータの出力可否を決
めるように構成したので、データ信号に同期した
チエツク信号を用いて誤動作を防止でき、しかも
装置は安価で、高精度・高速度応答のものが得ら
れる効果がある。
As described above, according to the present invention, the output data and the check signal added to this data are verified at the final stage, and it is determined whether or not to output the data according to the verification result, so that the check signal synchronized with the data signal is The signal can be used to prevent malfunctions, the device is inexpensive, and it has the effect of providing high precision and high speed response.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は出力回路を含むデイジタル制御装置の
ブロツク図、第2図は従来の出力回路を示す回路
図、第3図はこの発明に係る出力回路の一実施例
を示す回路図である。 図において、3aはデータ信号、3bはアドレ
ス信号、3cは起動信号、3dはチエツク信号、
9は出力信号、10,10aはメモリ、11は一
致回路、12は論理積回路、13aはスイツチン
グ要素、14−1〜14−8はトランジスタ、1
5−1〜15−8は出力リレー、15−1a〜1
5−8aは常開接点、16は電源、16−1〜1
6−8は分圧された電圧、17は供給端子、18
−1〜18−8,19−1〜19−8は分圧抵
抗、20−1〜20−8はダイオード、21は検
出回路、22は検出リレー、22bは常閉接点で
ある。なお図中同一符号は同一又は相当部分を示
す。
FIG. 1 is a block diagram of a digital control device including an output circuit, FIG. 2 is a circuit diagram showing a conventional output circuit, and FIG. 3 is a circuit diagram showing an embodiment of the output circuit according to the present invention. In the figure, 3a is a data signal, 3b is an address signal, 3c is a start signal, 3d is a check signal,
9 is an output signal, 10 and 10a are memories, 11 is a coincidence circuit, 12 is an AND circuit, 13a is a switching element, 14-1 to 14-8 are transistors, 1
5-1 to 15-8 are output relays, 15-1a to 1
5-8a is a normally open contact, 16 is a power supply, 16-1 to 1
6-8 is the divided voltage, 17 is the supply terminal, 18
-1 to 18-8, 19-1 to 19-8 are voltage dividing resistors, 20-1 to 20-8 are diodes, 21 is a detection circuit, 22 is a detection relay, and 22b is a normally closed contact. Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 1 データ信号とビツトエラーを検出するための
チエツク信号とを同期して出力する中央処理装置
と、上記データ信号に応じて動作する最終出力用
スイツチング要素と、この最終出力用スイツチン
グ要素の出力を制御する電源とは別の電源を上記
最終出力用スイツチング要素に印加して上記最終
出力用スイツチング要素のオン・オフ状態を検出
し、この検出したデータと上記チエツク信号とに
より出力データの良否を判定する検出手段と、こ
の検出手段の判定結果に応じて上記最終出力用ス
イツチング要素の共通線を制御する制御手段とを
備えた出力回路。
1. A central processing unit that synchronously outputs a data signal and a check signal for detecting bit errors, a final output switching element that operates in accordance with the data signal, and a final output switching element that controls the output of this final output switching element. Detection for detecting the on/off state of the final output switching element by applying a power source other than the power supply to the final output switching element, and determining the quality of the output data based on the detected data and the check signal. and a control means for controlling a common line of the final output switching element according to a determination result of the detection means.
JP57030109A 1982-02-24 1982-02-24 Output circuit Granted JPS58146919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57030109A JPS58146919A (en) 1982-02-24 1982-02-24 Output circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57030109A JPS58146919A (en) 1982-02-24 1982-02-24 Output circuit

Publications (2)

Publication Number Publication Date
JPS58146919A JPS58146919A (en) 1983-09-01
JPS6226741B2 true JPS6226741B2 (en) 1987-06-10

Family

ID=12294603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57030109A Granted JPS58146919A (en) 1982-02-24 1982-02-24 Output circuit

Country Status (1)

Country Link
JP (1) JPS58146919A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60198637A (en) * 1984-03-22 1985-10-08 Shimadzu Corp Constitution control system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49107647A (en) * 1973-02-16 1974-10-12
JPS55124827A (en) * 1979-03-22 1980-09-26 Omron Tateisi Electronics Co Failure discrimination system for data transmission system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5188132U (en) * 1975-01-10 1976-07-14

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49107647A (en) * 1973-02-16 1974-10-12
JPS55124827A (en) * 1979-03-22 1980-09-26 Omron Tateisi Electronics Co Failure discrimination system for data transmission system

Also Published As

Publication number Publication date
JPS58146919A (en) 1983-09-01

Similar Documents

Publication Publication Date Title
FI62795B (en) DIGITAL DATABEHANDLINGSANORDNING SAERSKILT FOER JAERNVAEGSSAEKERHETSTNIKIK
JPS6226741B2 (en)
US3965432A (en) High reliability pulse source
JPS603755A (en) Output port circuit
JPS589965B2 (en) Microcomputer output circuit
JP2861595B2 (en) Switching control device for redundant CPU unit
JPS6218060B2 (en)
JP2915485B2 (en) Operating voltage application circuit
JP2825464B2 (en) Communication device
JPH0588992A (en) Memory control system
JPS629442A (en) Error detecting circuit
KR950007938B1 (en) Reset method of plc
JPS5812062A (en) Output device for parallel electronic computer system
JPH0573432A (en) Information processor
SU1751820A1 (en) Redundant memory device with data correction
KR950013295A (en) Redundancy system
KR0128198Y1 (en) Trouble detecting circuit of distribution control system
JP2980550B2 (en) Communication device
KR910010310A (en) Dual circuit of digital system
JPH0664561B2 (en) Simultaneous writing circuit
JPH02184928A (en) Duplex system
KR970066783A (en) Duplication device and method of digital output board
JPS5833710A (en) Main controller
JPS61264401A (en) Selection control output circuit
JPH0728660A (en) Process input/output device