Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6128135B2 - - Google Patents
[go: Go Back, main page]

JPS6128135B2 - - Google Patents

Info

Publication number
JPS6128135B2
JPS6128135B2 JP56215643A JP21564381A JPS6128135B2 JP S6128135 B2 JPS6128135 B2 JP S6128135B2 JP 56215643 A JP56215643 A JP 56215643A JP 21564381 A JP21564381 A JP 21564381A JP S6128135 B2 JPS6128135 B2 JP S6128135B2
Authority
JP
Japan
Prior art keywords
shift
shift register
output
gate circuit
pulse
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
JP56215643A
Other languages
Japanese (ja)
Other versions
JPS58112138A (en
Inventor
Ikumasa Okumura
Hideo Nakamura
Katsuhiro Kinoshita
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.)
Nippon Kokan Koji KK
Kyosan Seisakusho KK
Original Assignee
Nippon Kokan Koji KK
Kyosan Seisakusho KK
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 Nippon Kokan Koji KK, Kyosan Seisakusho KK filed Critical Nippon Kokan Koji KK
Priority to JP56215643A priority Critical patent/JPS58112138A/en
Publication of JPS58112138A publication Critical patent/JPS58112138A/en
Publication of JPS6128135B2 publication Critical patent/JPS6128135B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/02Comparing digital values

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Description

【発明の詳細な説明】 本発明は2系統の多入力信号を比較し両系統間
の不一致を検出すると共に、自からがフエールセ
ーフ性を有する多入力信号比較器に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a multi-input signal comparator which compares two systems of multi-input signals and detects a mismatch between the two systems, and which has its own fail-safe property.

近来は、各分野においてマイクプロセツサ等の
プロセツサが使用される傾向にあるが、高信頼性
と共にフエールセーフ性を要求される信号制御装
置等においては、プロセツサによるデータ処理系
を多重化し、互に同期運転を行なわせたうえ、各
系統のデータが一致するか否かを監視することが
行なわれており、本出願人の別途出願による「高
速信号比較器」(特開昭56−17444)が提案されて
いる。
In recent years, processors such as microphone processors have been used in various fields, but in signal control equipment that requires high reliability and fail-safe performance, data processing systems using processors are multiplexed and In addition to performing synchronized operation, it is also monitored to see whether the data of each system matches. Proposed.

しかし、同出願の内容は、相当に複雑な回路と
各信号のビツト毎に設けねばならず、多数ビツト
の場合には構成が大規模化し、装置として高価に
なる欠点を有するものであつた。
However, the content of the patent application requires a considerably complicated circuit to be provided for each bit of each signal, and in the case of a large number of bits, the structure becomes large-scale and has the disadvantage that the device becomes expensive.

本発明は、従来のかゝる欠点を根本的に解消す
る目的を有し、このデータ信号と二つのタイミン
グ信号との論理積に基づきシフトパルスを発生す
るゲート回路と、シフトパルスに応じて双方向へ
のシフトを行なうシフトレジスタと、出力変化の
有無を検出する検出回路とを巧みな組み合せによ
り、簡単かつ安価な構成によつて多入力信号の比
較を行なうものとした極めて効果的な、多入力信
号比較器を提供するものである。
The present invention aims to fundamentally eliminate such drawbacks of the conventional technology, and includes a gate circuit that generates a shift pulse based on the AND of this data signal and two timing signals, and a gate circuit that generates a shift pulse based on the AND of this data signal and two timing signals, and a gate circuit that generates a shift pulse based on the AND of this data signal and two timing signals. This is an extremely effective multi-input signal that compares multi-input signals with a simple and inexpensive configuration by skillfully combining a shift register that performs shifting to A signal comparator is provided.

以下、実施例を示す図によつて本発明の詳細を
説明する。
Hereinafter, details of the present invention will be explained with reference to figures showing examples.

第1図は構成を示すブロツク図、第2図および
第3図は第1図における各部の波形を示すタイミ
ングチヤートであり、2系統のデータ処理装置等
から各2ビツトのデータ信号DS1,DS3および
DS2,DS4が与えられるものとなつており、第2
図a,kに示すとおり各データ信号DS1〜DS4
周期t1により変化し、かつ両系統が同期運転を行
なつているため、常時は、第1のデータ信号DS1
と第2のデータ信号DS2および第3のデータ信号
DS3と第4のデータ信号DS4との相対応するもの
同志が同一の論理値“1”または“0”を示すも
のとなつている。
FIG. 1 is a block diagram showing the configuration, and FIGS. 2 and 3 are timing charts showing the waveforms of each part in FIG . 3 and
DS 2 and DS 4 are to be given, and the second
As shown in Figures a and k, each data signal DS 1 to DS 4 changes according to the period t 1 , and since both systems operate synchronously, the first data signal DS 1 is always
and a second data signal DS 2 and a third data signal
The corresponding ones of DS 3 and fourth data signal DS 4 indicate the same logical value "1" or "0".

一方、データ信号DS1〜DS4の変比周期t1と同
期して発生される第1乃至第4のタイミングパル
スTP1(b)〜TP4(e)与えられており、第1および第
2のゲート回路GC1,GC2に例を取れば、データ
信号DS1,DS2が共に“1”のときタイミングパ
ルスTP1(b)およびTP3(d)との論理積がANDゲート
G11,G21により取られ、これに基づく出力がOR
ゲートG13,G23を介して送出され、シフトパルス
fおよびgとして第1のシフトレジスタSRG1
与えられると共に、データ信号DS1,DS2
“0”のときには、これがインバータIN11,IN21
により反転されたうえANDゲートG12およびG22
へ与えられるため、タイミングパルスTP2(c)およ
びTP4(e)との論理積が取られ、これを基づく出力
がORゲートG15,G23を介し、シフトパルスf,
gとしてシフトレジスタSRG1へ与えられるもの
となつている。
On the other hand, first to fourth timing pulses TP 1 (b) to TP 4 ( e) generated in synchronization with the ratio change period t 1 of the data signals DS 1 to DS 4 are provided, and Taking the example of the gate circuits GC 1 and GC 2 in No. 2, when the data signals DS 1 and DS 2 are both “1”, the logical product of the timing pulses TP 1 (b) and TP 3 (d) is an AND gate.
G 11 and G 21 are taken, and the output based on this is ORed
It is sent out via gates G 13 and G 23 and given to the first shift register SRG 1 as shift pulses f and g, and when the data signals DS 1 and DS 2 are “0”, they are sent to the inverters IN 11 and IN. twenty one
AND gates G 12 and G 22 inverted by
Therefore, the logical product with the timing pulses TP 2 (c) and TP 4 (e) is taken, and the output based on this is passed through the OR gates G 15 and G 23 and becomes the shift pulses f,
It is given to shift register SRG 1 as g.

また、シフトレジスタSRG1には、周期t1と同
期した制御パルスCP1(h)が与えられており、
これが“1”のとき、シフトパルスfに応じて前
段SFからの後段SRへのシフトが行なわれ、制御
パルスCP1(h)が“0”のときには、シフトパ
ルスgに応じて反対方向のシフトが行なわれる。
In addition, a control pulse CP 1 (h) synchronized with the period t 1 is given to the shift register SRG 1 ,
When this is "1", a shift from the front stage S F to the rear stage S R is performed according to the shift pulse f, and when the control pulse CP 1 (h) is "0", the shift is performed in the opposite direction according to the shift pulse g. A shift will take place.

このため、図上省略したプリセツト回路によ
り、前段SFへ“1”のデータをセツトしておけ
ば、シフトパルスf,gに応じて前段SFから後
段SRへのシフトと、反対方向のシフトとを反復
するものとなり、後段SRからは出力jが得られ
る。
Therefore, if the preset circuit (not shown in the figure) is used to set data "1" in the front stage SF , the shift from the front stage SF to the rear stage SR and the shift in the opposite direction can be performed in response to shift pulses f and g. Shifting is repeated, and output j is obtained from the subsequent stage S R.

一方、第2のシフトレジスタSRG2も制御パル
スCP1(h)によりシフト方向が制御されるもの
となつている。シフトパルスlに応じて前段SF
から後段SRへのシフトと行なうと共に、シフト
パルスmに応じて反対方向のシフトを行なうもの
となつている。
On the other hand, the shift direction of the second shift register SRG 2 is also controlled by the control pulse CP 1 (h). Front stage S F according to shift pulse l
A shift is performed from to the rear stage S R , and a shift in the opposite direction is performed in response to a shift pulse m.

したがつて、シフトレジスタSRG2の前段SF
も“1”のデータをセツトしておけば、ゲート回
路GC1,GC2と同様に構成された第3および第4
のゲート回路GC3,GC4が、第3および第4のデ
ータ信号DS3,DS4(k)とタイミングパルス
TP1(b)〜TP4(e)との論理積に基づきシフトパ
ルスl,mを生ずるため、“1”のデータが前段
Fと後段SRとの間においてシフトを反復し、常
に変化する出力nがシフトレジスタSRG2の後段
Rから得られる。
Therefore, if "1" data is also set in the previous stage SF of the shift register SRG 2 , the third and fourth gate circuits configured similarly to the gate circuits GC 1 and GC 2
The gate circuits GC 3 , GC 4 output the third and fourth data signals DS 3 , DS 4 (k) and the timing pulses.
Since shift pulses l and m are generated based on the logical product of TP 1 (b) to TP 4 (e), data of "1" is repeatedly shifted between the front stage S F and the rear stage SR , and constantly changes. An output n is obtained from the subsequent stage P R of the shift register SRG 2 .

シフトレジスタSRG1の出力jとシフトレジス
タSRG2の出力nとは、第3のシフトレジスタ
SRG3へシフトパルスとして与えられていると共
に、シフトレジスタSRG3には、周期t1に対して
2倍の周期t2を有する制御パルスCP2pが与えら
れ、これに応じてシフト方向が制御されるものと
なつている。
The output j of shift register SRG 1 and the output n of shift register SRG 2 are the third shift register
A control pulse CP 2 p having a period t 2 that is twice the period t 1 is also applied to the shift register SRG 3 as a shift pulse, and the shift direction is controlled accordingly. It has become something that is done.

このため、シフトレジスタSRG3の前段にも
“1”のデータをセツトしておけば、出力jに応
じて前段SFから後段SRへのシフトが行なわれる
と共に、出力nに応じて反対方向のシフトが行な
われるため、後段SRからは常に変化する出力q
が得られる。
Therefore, if data "1" is set in the previous stage of shift register SRG 3 , the shift from the previous stage SF to the subsequent stage SR will be performed according to the output j, and the shift will be performed in the opposite direction according to the output n. , the constantly changing output q is output from the subsequent stage S R.
is obtained.

シフトレジスタSRG1の後段出力側には、検出
回路としての増幅検波器ADが接続されており、
出力qが変化する限り、これを増幅のうえ検波し
てリレーRLを動作状態とする。
An amplification detector AD as a detection circuit is connected to the output side of the latter stage of shift register SRG 1 .
As long as the output q changes, it is amplified and detected to put the relay RL into operation.

以上の状態に対し、第3図のとおり、若し、デ
ータ信号DS5,DS4(k)が両者共に“0”の状
態となるべきときに、データ信号DS4のみが
“0”となれば、シフトパルスlがタイミングパ
ルスTP1(b)およびTP2(c)のときに連続して生じ、
シフトレジスタSRG2における“1”のデータ
が、後段SRから外方へ更にシフトされるため、
シフトレジスタSRG2の内容がすべて“0”とな
つて出力nが以後は変化を生じないものとなり、
シフトレジスタSRG3のシフト動作が行なわれな
くなることにより、出力qが無変化状態となつて
増幅検波器ADの検波出力が消滅し、リレーRLが
復旧する。
Regarding the above state, as shown in Figure 3, if both data signals DS 5 and DS 4 (k) should be in the "0" state, only the data signal DS 4 should be in the "0" state. For example, shift pulse l occurs successively at timing pulses TP 1 (b) and TP 2 (c),
Since the “1” data in shift register SRG 2 is further shifted outward from the subsequent stage S R ,
The contents of shift register SRG 2 will all become “0” and the output n will not change from then on.
Since the shift operation of the shift register SRG 3 is no longer performed, the output q remains unchanged, the detection output of the amplification detector AD disappears, and the relay RL is restored.

なお、データ信号DS3が“0”、データ信号DS4
が“1”となつたときも同様であり、データ信号
DS1,DS2間の論理不一致によつては、シフトレ
ジスタSRG1の出力jが無変化状態となるため、
シフトレジスタSRG3のシフトが行なわれなくな
り、出力qが無変化状態となつてリレーRLが復
旧する。
Note that data signal DS 3 is “0” and data signal DS 4 is “0”.
The same is true when the data signal becomes “1”.
Depending on the logic mismatch between DS 1 and DS 2 , the output j of shift register SRG 1 remains unchanged, so
Shift register SRG 3 is no longer shifted, output q remains unchanged, and relay RL is restored.

したがつて、第1系統のデータ信号DS1,DS3
と第2系統のデータ信号DS2,DS4とが、対応す
るもの相互間において不一致を生ずれば、リレー
RLが復旧することにより不一致の検出が行なわ
れる。
Therefore, the first system data signals DS 1 , DS 3
If there is a mismatch between the corresponding data signals DS 2 and DS 4 of the second system, the relay is activated.
Inconsistency is detected by restoring the RL.

また、ゲート回路GC1〜GC4、シフトレジスタ
SRG1〜SRG3中のいずれかに異常を生ずれば、出
力qが無変化状態となつてリレーRLが復旧し、
増幅検波器ADに異常を生じても同様となるた
め、全体としてのフエールセーフ性が実現すると
共に、データDS1〜DS4の不一致により、直ちに
リレーRLが復帰するため、不一致の検出が高速
により行なわれる。
In addition, gate circuits GC 1 to GC 4 , shift registers
If an abnormality occurs in any of SRG 1 to SRG 3 , output q will remain unchanged and relay RL will be restored.
The same thing happens even if an abnormality occurs in the amplified wave detector AD, so the overall fail-safe property is realized, and since the relay RL immediately returns to normal state due to a mismatch between data DS 1 to DS 4 , the mismatch can be detected faster. It is done.

たヾし、シフトレジスタSRG1,SRG2は、シフ
トパルスf,gおよびl,mに応じてものみ双方
向へのシフトを行なう双方向シフトレジスタを用
いてもよく、この場合には制御パルスCP1(h)
を省略することができると共に、ANDゲート
G12,G22の代りに、一入力反転形のANDゲート
を用いてインバータIN11,IN21を省略し、あるい
は、条件に応じて各ゲートをNANDゲートおよび
NORゲート等へ置換しても同様であり、増幅検
波器ADの代りに検波回路のみを用いてよい。
However, the shift registers SRG 1 and SRG 2 may be bidirectional shift registers that shift in both directions only in response to the shift pulses f, g and l, m; in this case, the control pulses CP 1 (h)
can be omitted and the AND gate
Instead of G 12 and G 22 , use one-input inversion type AND gates and omit inverters IN 11 and IN 21 , or replace each gate with NAND gates and
The same effect can be obtained by replacing it with a NOR gate or the like, and only a detection circuit may be used in place of the amplified detector AD.

このほか、2系統のデータ信号が更に多数ビツ
トの場合にはゲート回路GC1〜GC4、シフトレジ
スタSRG1〜SRG3を更に併設し、各シフトレジス
タSRG3の出力を第4のシフトレジスタへシフト
パルスとして与えると共に、第4のシフトレジス
タへ制御パルスとして周期t2に対し2倍の周期を
有するものを与える等、全体を樹枝状に構成すれ
ばよく、各シフトレジスタSRG1〜SRG3の出力を
前段SFから取り出しても同様である等、本発明
は種々の変形が自在である。
In addition, if the data signals of the two systems have a larger number of bits, gate circuits GC 1 to GC 4 and shift registers SRG 1 to SRG 3 are additionally provided, and the output of each shift register SRG 3 is sent to a fourth shift register. The entire structure may be configured in a dendritic manner, such as giving it as a shift pulse and giving it as a control pulse having a period twice the period t 2 to the fourth shift register. The present invention can be modified in various ways, such as the same effect even if the output is taken out from the front stage SF .

以上の説明により明らかなとおり本発明によれ
ば、簡単かつ安価な構成により、2系統かつ複数
ビツトのデータ信号を比較のうえ、速やかに不一
致を検出するため、高信頼性と共にフエールセー
フ性の要求される各種データ処理装置へ適用して
顕著な効果が得られる。
As is clear from the above description, according to the present invention, data signals of two systems and multiple bits are compared and a discrepancy is promptly detected using a simple and inexpensive configuration, thereby meeting the requirements for high reliability and fail-safe performance. Remarkable effects can be obtained when applied to various data processing devices.

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

図は本発明の実施例を示し、第1図は構成のブ
ロツク図、第2図および第3図は第1図における
各部の波形を示すタイミングチヤートである。 DS1〜DS4……データ信号、TP1〜TP4……タイ
ミングパルス、GC1〜GC4……ゲート回路、
SRG1〜SRG2……シフトレジスタ、CP1〜CP2
…制御パルス、AD……増幅検波器(検出回路)。
The drawings show an embodiment of the present invention; FIG. 1 is a block diagram of the configuration, and FIGS. 2 and 3 are timing charts showing waveforms of various parts in FIG. 1. DS 1 to DS 4 ...Data signal, TP 1 to TP 4 ...Timing pulse, GC 1 to GC 4 ...Gate circuit,
SRG 1 ~ SRG 2 ... Shift register, CP 1 ~ CP 2 ...
...Control pulse, AD...Amplified detector (detection circuit).

Claims (1)

【特許請求の範囲】[Claims] 1 第1および第2のデータ信号と第1および第
2のタイミングパルスとの論理積に基づきシフト
パルスを発生する第1のゲート回路と、前記第1
および第2のデータ信号と第3および第4のタイ
ミングパルスとの論理積に基づきシフトパルスを
発生する第2のゲート回路と、前記第1のゲート
回路からのシフトパルスに応じて前段から後段へ
シフトすると共に前記第2のゲート回路からのシ
フトパルスに応じて反対方向へシフトする第1の
シフトレジスタと、第3および第4のデータ信号
と前記第1および第2のタイミングパルスとの論
理積に基づきシフトパルスを発生する第3のゲー
ト回路と、前記第3および第4のデータ信号と前
記第3および第4のタイミングパルスとの論理積
に基づきシフトパルスを発生する第4のゲート回
路と、前記第3のゲート回路からのシフトパルス
に応じて前段から後段へシフトすると共に前記第
4のゲート回路からのシフトパルスに応じて反対
方向へシフトする第2のシフトレジスタと、前記
第1乃至第4のデータ信号の変化周期に対し2倍
の周期を有する制御パルスによりシフト方向が制
御されかつ前記第1のシフトレジスタからの出力
に応じて前段から後段へシフトすると共に前記第
2のシフトレジスタからの出力に応じて反対方向
へシフトする第3のシフトレジスタと、該シフト
レジスタの出力側へ接続された出力変化の有無を
検出する検出回路とからなることを特徴とする多
入力信号比較器。
1 a first gate circuit that generates a shift pulse based on an AND of first and second data signals and first and second timing pulses;
and a second gate circuit that generates a shift pulse based on the logical product of the second data signal and the third and fourth timing pulses; a first shift register that shifts and shifts in the opposite direction in response to a shift pulse from said second gate circuit; and a logical AND of said third and fourth data signals and said first and second timing pulses; a third gate circuit that generates a shift pulse based on the above, and a fourth gate circuit that generates a shift pulse based on the AND of the third and fourth data signals and the third and fourth timing pulses; , a second shift register that shifts from a previous stage to a subsequent stage in response to a shift pulse from the third gate circuit and shifts in the opposite direction in response to a shift pulse from the fourth gate circuit; The shift direction is controlled by a control pulse having a period twice as long as the change period of the fourth data signal, and the shift direction is controlled from the previous stage to the next stage according to the output from the first shift register, and the second shift register A multi-input signal comparator comprising: a third shift register that shifts in the opposite direction according to the output from the shift register; and a detection circuit connected to the output side of the shift register that detects the presence or absence of an output change. .
JP56215643A 1981-12-25 1981-12-25 Multi-input signal comparator Granted JPS58112138A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56215643A JPS58112138A (en) 1981-12-25 1981-12-25 Multi-input signal comparator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56215643A JPS58112138A (en) 1981-12-25 1981-12-25 Multi-input signal comparator

Publications (2)

Publication Number Publication Date
JPS58112138A JPS58112138A (en) 1983-07-04
JPS6128135B2 true JPS6128135B2 (en) 1986-06-28

Family

ID=16675798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56215643A Granted JPS58112138A (en) 1981-12-25 1981-12-25 Multi-input signal comparator

Country Status (1)

Country Link
JP (1) JPS58112138A (en)

Also Published As

Publication number Publication date
JPS58112138A (en) 1983-07-04

Similar Documents

Publication Publication Date Title
JPS6128135B2 (en)
JPS6128134B2 (en)
JPS6386630A (en) Frame synchronization system in parallel transmission line
JPS6128133B2 (en)
US7359259B2 (en) Method for transmission and reception of a data signal on a line pair, as well as a transmission and reception circuit for this purpose
JPH0349485Y2 (en)
JPS62109150A (en) Bus control circuit
SU642889A1 (en) Majority signal-selecting arrangement
JPH0512052A (en) Internal fault detection system using pipe line
ATE355998T1 (en) FAULT TOLERANT SYSTEM
SU1032600A1 (en) Majority redundancy device
SU742940A1 (en) Majority-redundancy device
JP2906850B2 (en) Time-division switch monitoring circuit
SU752487A1 (en) Shift register monitoring device
SU881682A1 (en) Duplicated device
SU375789A1 (en) COMMUNICATION DEVICE
SU993456A1 (en) Pulse synchronization device
JP3231874B2 (en) Optical area sensor
SU978351A1 (en) Restoring logic device
JPH0438018A (en) Error detecting system for relay line
SU984090A1 (en) Redundancy pulse counter
SU1591022A1 (en) DEVICE FOR MAJORITY SELECTION OF ASYNCHRONOUS SIGNALS
JPS5841496A (en) Storage controller
SU798847A1 (en) Adaptive multichannel redundancy device
RU1833876C (en) Device for majority signal selection