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
JPS593781B2 - data inspection equipment - Google Patents
[go: Go Back, main page]

JPS593781B2 - data inspection equipment - Google Patents

data inspection equipment

Info

Publication number
JPS593781B2
JPS593781B2 JP54125383A JP12538379A JPS593781B2 JP S593781 B2 JPS593781 B2 JP S593781B2 JP 54125383 A JP54125383 A JP 54125383A JP 12538379 A JP12538379 A JP 12538379A JP S593781 B2 JPS593781 B2 JP S593781B2
Authority
JP
Japan
Prior art keywords
circuit
signal
data
output
shift register
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
JP54125383A
Other languages
Japanese (ja)
Other versions
JPS5650445A (en
Inventor
一史 石畑
照信 赤羽
隆 熊野
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.)
Hitachi Sanki Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Sanki Engineering Co Ltd
Hitachi 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 Hitachi Sanki Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Sanki Engineering Co Ltd
Priority to JP54125383A priority Critical patent/JPS593781B2/en
Publication of JPS5650445A publication Critical patent/JPS5650445A/en
Publication of JPS593781B2 publication Critical patent/JPS593781B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Description

【発明の詳細な説明】 本発明は複数ビットで構成されたデータで、しかも任意
のビットから最下位または最上位ビットまで同一の論理
信号が連続しなければならないデータの検査装置に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an apparatus for inspecting data that is composed of a plurality of bits, and in which the same logic signal must continue from an arbitrary bit to the least significant or most significant bit.

デジタル電子装置等においては、入力がアナログ信号で
ある場合、これをデジタル信号に変換して取り込まなく
てはならない。
In digital electronic devices and the like, if the input is an analog signal, it must be converted into a digital signal and then input.

これにはアナログデジタル信号変換回路が使用される。
第1図は簡易形のアナログデジタル信号変換回路を示し
たものであり、この種のものは構成簡単で、しかも安価
に構成できることから、当該分野において広く使用され
ている。以下、この回路について説明する。この回路は
説明の便宜上、アナログ信号を5つのレベルにデジタル
化する場合について示してあるが、レベルの数に限定は
なく種々のレベルのものが実現されている。工Nはアナ
ログ信号を入力する入力端子、Rは分圧抵抗である。各
抵抗Rの接続点はアナログデジタル変換器ADCに入力
するようにする。このアナログデジタル変換器ADCは
抵抗Rの各接続点がゲートのスレツシホールドレベルに
達しているか否かによつて、出力側に接続した対応する
発光ダイオードを点灯、消灯駆動し、アナログ入力信号
をデジタル化するもので、この変換器ADCは市販され
ているものである。T1、T2、T3、T4、T5は各
々の発光ダイオードL1、L2、L32L4、L5に対
応して設けたホトトランジスタであり、対応する発光ダ
イオードの点灯により導通し、消灯により非導通となる
。各ホトトランジスタT1、T2、T32T4、T5の
エミッタは接地してあり、コレクタはコレクタ抵抗Rc
を介して制御電源Vccに接続してあり、また各ホトト
ランジスタT1、T2、T3、T4,T5のコレクタは
デジタル電子装置CONの入力端子1,,12,13,
14,I,に入力する。今、ここで入力端子1Nに予め
定めたレベルゞ131ゞのアナログ信号が加わると、発
光ダイオードLl,L2,L3が発光し、これにより電
子装置CONの入力端子11,12,13に論理的に1
1「1の信号が加わり、他の入力端子14,5には論理
的に゛0゛の信号が加わる。同様に、入力端子1Nにレ
ベル114!vのアナログ信号が加わると、発光ダイオ
ードLl,L2,L3,L4が発光し、電子装置CON
の入力端子11,12,13,14に論理的に1「1の
信号が加わり、他の入力端子15には論理的に1905
“の信号が加わる。以下、レベル1,2,5に対しても
同様である。このようなアナログデジタル変換器ADC
を使用した場合、電子装置CONに入力されるデータは
、任意のビツトから最下位また最上位ビツトまで同一の
論理信号が連続したものとなる。
An analog-to-digital signal conversion circuit is used for this.
FIG. 1 shows a simplified analog-to-digital signal conversion circuit, and this type of circuit is widely used in the field because it has a simple structure and can be constructed at low cost. This circuit will be explained below. For convenience of explanation, this circuit is shown for the case where an analog signal is digitized into five levels, but the number of levels is not limited and various levels can be realized. N is an input terminal for inputting an analog signal, and R is a voltage dividing resistor. The connection point of each resistor R is made to be input to an analog-to-digital converter ADC. This analog-to-digital converter ADC drives the corresponding light emitting diode connected to the output side to turn on or off depending on whether each connection point of the resistor R reaches the gate threshold level, and converts the analog input signal. This converter ADC is commercially available. T1, T2, T3, T4, and T5 are phototransistors provided corresponding to the respective light emitting diodes L1, L2, L32, L4, and L5, which become conductive when the corresponding light emitting diodes are turned on, and become nonconductive when the corresponding light emitting diodes are turned off. The emitters of each phototransistor T1, T2, T32, T4, and T5 are grounded, and the collector resistor Rc
The collectors of each phototransistor T1, T2, T3, T4, T5 are connected to the control power supply Vcc via the input terminals 1, 12, 13, 13 of the digital electronic device CON.
14,I,. Now, when an analog signal of a predetermined level 131 is applied to the input terminal 1N, the light emitting diodes Ll, L2, and L3 emit light, which causes the input terminals 11, 12, and 13 of the electronic device CON to be logically 1
A signal of 1 "1" is applied, and a signal of "0" is logically applied to the other input terminals 14 and 5.Similarly, when an analog signal of level 114!v is applied to the input terminal 1N, the light emitting diode Ll, L2, L3, L4 emit light, and the electronic device CON
A signal of 1 "1" is logically added to the input terminals 11, 12, 13, and 14, and a signal of 1905 is logically added to the other input terminal 15.
The same applies to levels 1, 2, and 5. Such an analog-to-digital converter ADC
When the data is inputted to the electronic device CON, the same logic signal continues from an arbitrary bit to the least significant bit or the most significant bit.

すなわち、アナログ入力信号のレベルが131vである
場合、ビツト3である入力端子13から最下位ビツトで
ある入力端子11までの各ビツトは連続して論理的にW
lllとなり、他のビツトを示す入力端子14,15に
印加される信号は論理的に101の信号となる。すなわ
ち、110001111となり、レベル4の場合は1!
0111「1となる。以下同様に、レベル0の場合はW
5OOOOO−レベル1の場合は1!00001−レベ
ル2の場合は11000111、レベル5の場合は51
1111111となる。したがつて、例えば、1101
0111というように1つのデータのうち、その各ビツ
トの論理状態が隣り合うビツトと異なるような場合、そ
のデータは誤りとなる。このような誤データは、各部品
の故障、外乱等、種々の要因によつて発生する。本発明
は構成が簡単で、前記したようなデータ、すなわち複数
ビツトで構成され、しかも任意のビツトから最下位また
は最上位ビツトまで同一の論理信号が連続しなければな
らないデータに誤りがあるか否かを確実に検査できるデ
ータ検査装置を得ることを目的とする。
That is, when the level of the analog input signal is 131V, each bit from input terminal 13, which is bit 3, to input terminal 11, which is the least significant bit, is logically W.
1ll, and the signals applied to the input terminals 14 and 15 indicating other bits are logically 101 signals. In other words, it becomes 110001111, and in the case of level 4 it is 1!
0111 "It becomes 1. Similarly, if the level is 0, W
5OOOOOO - 1 for level 1!00001 - 11000111 for level 2, 51 for level 5
It becomes 1111111. Therefore, for example, 1101
If the logic state of each bit of a piece of data is different from that of the adjacent bit, such as 0111, the data becomes an error. Such erroneous data occurs due to various factors such as failure of each component and disturbance. The present invention has a simple configuration, and can be used to detect errors in the data described above, that is, data that is composed of multiple bits and in which the same logic signal must continue from any bit to the lowest or highest bit. The object of the present invention is to obtain a data inspection device that can reliably inspect the following data.

上記の目的を達成するため本発明の特徴とするところは
、入力した複数ビツトの被検査データを一時記憶し、直
列出力、並列出力が可能なシフトレジスタと、このシフ
トレジスタに順次シフトパルスを印加するシJャgパルス
発生回路と、前記シフトパルスの印加により前記シフト
レジスタから順次直列出力される各ビツトの論理信号に
より記憶内容が順次更新される1ビツトの一時記憶回路
と、前記シフトレジスタの並列出力データを入力し当該
入力データのすべてのビツトの論理信号が予め定めた信
号と同一の論理信号であるか否かを判定し、この判定結
果に対応する信号を出力するオア回路と、前記一時記憶
回路が予め定めた論理信号を記憶し前記オア回路の判定
が否である場合に異常信号を出力する判定結果出力回路
とを具備して成るデータ検出装置にある。
In order to achieve the above object, the present invention is characterized by a shift register that temporarily stores input multiple bits of data to be inspected and is capable of serial output and parallel output, and a shift register that sequentially applies shift pulses to this shift register. a 1-bit temporary memory circuit whose memory contents are sequentially updated by logic signals of each bit sequentially output in series from the shift register upon application of the shift pulse; an OR circuit that inputs parallel output data, determines whether or not the logic signals of all bits of the input data are the same logic signals as a predetermined signal, and outputs a signal corresponding to the determination result; The present invention provides a data detection device comprising a temporary storage circuit that stores a predetermined logic signal and a determination result output circuit that outputs an abnormal signal when the OR circuit makes a negative determination.

以下、第2図に示す本発明の一実施例について説明する
An embodiment of the present invention shown in FIG. 2 will be described below.

SRはシフトレジスタであり、このシフトレジスタSR
はデータを並列入力、並列出力、直列出力する機能を備
えている。PIl,PI2,・・・・・・・・・,Pl
5はデータの並列入力端子であり、端子PIlにはデー
タの最下位ビツトの信号を印加し、端子Pl5にはデー
タの最上位ピツトの信号を印加するようにする。POl
,PO2,・・・・・・・・・,PO5はデータの並列
出力端子、SOはデータの直列出力端子であり、DSは
データセツト信号入力端子、RSはりセツト信号入力端
子である。Ml,M2,・・・・・・・・・,M5は一
時記憶素子であり、これらは直列に接続してある。AN
Dl,AND2,・・・・・・・・・,AND5はアン
ド回路である。端子RSにりセツト信号を印加すると一
時記憶素子Ml,M,,・・・・・・・・・,M5はす
べてりセツトされる。端子Pl,P2,・・・・・・・
・・,P5にデータを入力し、端子DSにセツト信号を
印加すると、アンド回路ANDl,AND2,・・・・
・・・・・,AND5のゲートが開き、入力したデータ
は一時記憶素子Ml,M2,・・・・・・・・・,M5
に一時記憶される。この一時記憶素子Ml,M2,・・
・・・・・・・,M5はその記憶内容を端子POl,P
O2,・・・・・・・・・,PO5に出力する。端子S
Pにシフトパルスを1個印加すると、一時記憶素子M5
の記憶内容は一時記憶素子2に、一時記憶素子M4の記
憶内容は一時記憶素子M3に移り、以下同様にして一時
記憶素子M2の記憶内容は一時記憶素子M1に移る。そ
して、一時記憶素子M1の記憶内容は端子SOから出力
される。更に、端子SPにシフトパルスを印加すると、
各一時記憶素子の記憶内容は更に下位の一時記憶素子に
移動し、一時記憶素子M,の記憶内容は端子SOから出
力される。このようにして、端子SPにシフトパルスを
順次5回加えると、入力されたデータはすべて端子SO
から出力される。端子POl,PO2,・・・・・・・
・・,PO5は常に対応する一時記憶素子M,,M2,
・・・・・・・・・,M5の記憶内容を出力する。した
がつて、端子SPにシフトパルスを加えることにより、
データがシフトされれば、そのシフトされたデータを出
力する。なお、データがシフトされると、最上位の一時
記憶素子M5には論理的にwゝ0WIの信号が順次書き
込まれる。このようなシフトレジスタSRは何ら特殊な
ものではなく、市販されているものである。DSI,D
SIは本装置へデータセツト信号、りセツト信号を入力
するデータセツト信号入力端子、りセツト信号入力端子
である。
SR is a shift register, and this shift register SR
has the ability to input, output, and output data in parallel. PIl, PI2, ......, Pl
Reference numeral 5 denotes a parallel input terminal for data, a signal of the least significant bit of the data is applied to the terminal PI1, and a signal of the most significant bit of the data is applied to the terminal P15. POl
, PO2, . . . , PO5 are parallel data output terminals, SO is a data serial output terminal, DS is a data set signal input terminal, and RS is a reset signal input terminal. M1, M2, . . . , M5 are temporary storage elements, which are connected in series. AN
Dl, AND2, . . . , AND5 are AND circuits. When a reset signal is applied to terminal RS, all temporary storage elements M1, M, . . . , M5 are reset. Terminals Pl, P2,...
..., when data is input to P5 and a set signal is applied to terminal DS, AND circuits ANDl, AND2, ...
......, the gate of AND5 opens, and the input data is temporarily stored in the memory elements Ml, M2, ......, M5.
is temporarily stored. These temporary storage elements Ml, M2,...
......, M5 transfers its memory contents to terminals POl, P
Output to O2, ......, PO5. terminal S
When one shift pulse is applied to P, temporary storage element M5
The storage contents of temporary storage element M4 are transferred to temporary storage element 2, the storage contents of temporary storage element M4 are transferred to temporary storage element M3, and the storage contents of temporary storage element M2 are transferred to temporary storage element M1 in the same manner. Then, the storage contents of the temporary storage element M1 are outputted from the terminal SO. Furthermore, when a shift pulse is applied to terminal SP,
The memory content of each temporary memory element is moved to a lower temporary memory element, and the memory content of the temporary memory element M is outputted from the terminal SO. In this way, when a shift pulse is sequentially applied to terminal SP five times, all input data is transferred to terminal SO.
is output from. Terminals POl, PO2,...
..., PO5 always stores the corresponding temporary storage elements M,,M2,
......, Outputs the memory contents of M5. Therefore, by applying a shift pulse to terminal SP,
If the data is shifted, the shifted data is output. Note that when the data is shifted, the logical w0WI signal is sequentially written into the uppermost temporary storage element M5. Such a shift register SR is not special at all and is commercially available. DSI,D
SI is a data set signal input terminal and a reset signal input terminal for inputting a data set signal and a reset signal to this device.

本装置は例えば第1図の電子装置内に設けるものであり
、このため、これらの信号は電子装置CONを所定の状
態に作動するため、この内部に設けたタイミング信号発
生回路からの信号を利用する。なお、これらの信号は、
電子装置CONのものとは別に作成するようにしてもよ
い。鳩は一時記憶回路であり、例えばフリツプフロツプ
回路を使用することができる。
This device is provided, for example, in the electronic device shown in Fig. 1, and therefore, in order to operate the electronic device CON into a predetermined state, these signals are used from a timing signal generation circuit provided inside this device. do. Note that these signals are
It may be created separately from that of the electronic device CON. The dove is a temporary memory circuit, for example a flip-flop circuit can be used.

この一時記憶回路鴇はシフトレジスタSRの直列出力端
子SOからの信号を入力し、これを一時記憶して出力す
る。その記憶内容はシフトレジスタSR内のデータがシ
フトされるごとに端子SOから出力される信号によつて
更新されるようにする。リセツト信号入力端子RSIへ
のりセツト信号はシフトレジスタSRの端子RSに印加
するとともに、否定回路N,を介してこの一時記憶回路
M。のりセツト端子に入力するようにする。0R1はシ
フトレジスタSRの並列出力である端子POl,PO2
,・・・・・・・・・,PO5からの信号をすべて入力
するオア回路であり、一時記憶素子Ml,M2,・・・
・・・・・・,M5のうち、少なくともその1つが論理
的に1111の信号を記憶していることにより、論理的
にW?11の信号を出力し、一時記憶素子Ml,M2,
・・・・・・・・・,M5のすべてが論理的に10?l
の信号を記憶していることによりのみ、論理的に10!
′の信号を出力する。
This temporary storage circuit 锇 inputs the signal from the serial output terminal SO of the shift register SR, temporarily stores it, and outputs it. The stored contents are updated by a signal output from the terminal SO every time the data in the shift register SR is shifted. The reset signal to the reset signal input terminal RSI is applied to the terminal RS of the shift register SR, and is also applied to the temporary storage circuit M via the NOT circuit N. Make sure to input it to the glue set terminal. 0R1 is the terminal POl, PO2 which is the parallel output of the shift register SR.
, ......, is an OR circuit that inputs all the signals from PO5, and is a temporary storage element Ml, M2, ...
..., M5, since at least one of them stores the signal 1111 logically, W? 11 signals are output, and the temporary storage elements Ml, M2,
......, all of M5 are logically 10? l
Only by remembering the signal of 10!
’ signal is output.

オア回路0R1の出力は判定結果出力回路としてのアン
ド回路AND6を介して異常信号出力端子Eに出力する
ようにする。このアンド回路AND6のゲートは、一時
記憶回路鴇の出力を否定回路N2を通して得た信号によ
り開閉制御するようにする。すなわち、一時記憶回路M
。が論理的に101の信号を記憶することにより、アン
ド回路AND6のゲートが閉かれ、これによつて始めて
オア回路0R1の出力が端子Eに出力される。SPCは
シフトパルス発生回路であり、遅延回路D、単安定マル
チパイプレータ0S1,0S2、オア回路0R2、アン
ド回路AND7およびパルス発振部0SCとで構成して
ある。
The output of the OR circuit 0R1 is outputted to the abnormal signal output terminal E via an AND circuit AND6 serving as a determination result output circuit. The gate of this AND circuit AND6 controls the opening and closing of the output of the temporary storage circuit N2 by a signal obtained through the NOT circuit N2. That is, the temporary memory circuit M
. By storing a signal of logically 101, the gate of the AND circuit AND6 is closed, and the output of the OR circuit 0R1 is output to the terminal E for the first time. SPC is a shift pulse generation circuit, and is composed of a delay circuit D, monostable multipipulators 0S1 and 0S2, an OR circuit 0R2, an AND circuit AND7, and a pulse oscillation section 0SC.

この回路SPCは端子DSIへのデータセツト信号を入
力し、この信号を遅延回路Dおよび単安定マルチバイブ
レータ0S,を介し、オア回路0R2を通してシフトレ
ジスタSRの端子SPに第1番目のシフト信号として印
加する。端子DSIに加わるデータセツト信号は同時に
シフトレジスタSRの端子DSにも印加するようにして
ある。遅延回路DはシフトレジスタSRの端子DS,S
Pに同時に信号が印加されるのを避け、シフトレジスタ
SRへの入力データがシフトレジスタSR内に確実に記
憶されてから、端子SPに信号を印加するようにするた
めのものである。パルス発振器0SCは一定時間間隔で
繰り返しパルス信号を発生するものであり、その出力は
アンド回路AND7およびオア回路0R2を介して、シ
フトレジスタSRの端子SPに印加するようにする。単
安定マルチバイブレータ0S2は遅延回路D、単安定マ
ルチバイブレータ0S1およびオア回路0R2を介して
シフトレジスタSRの端子SPに加わるシフトパルス信
号と、パルス発振器0SCからアンド回路AND7およ
びオア回路0Rを介して、シフトレジスタSRの端子S
Pに加わるシフトパルス信号とが時間的に重復するのを
避けるためのもので、この単安定マルチバイブレータ0
S2は単安定マルチバイブレータ0S1の出力の立下り
で動作するようにし、その出力はアンド回路AND7に
入力するようにする。なお、この単安定マルチバイブレ
ータ0S2の準安定時間は、シフトレジスタSRに記憶
されたデータを直列出力するのに必懸な充分な時間に設
定する。CWはプリセツト可能なダウンカウンタであり
、STはこのカウンタCWへ入力する設定値を設定する
設定器である。このカウンタCWには、端子DSIに印
加されるデータセツト信号をセツト端子Sに加え.るこ
とで設定器STに設定した値がセツトされるようにする
。そして、カウンタCWの減算端子SBにオア回路0R
2の出力を入力するようにする。カウンタCWのカウン
ト終了信号端子UPからの信号は否定回路N3を介して
アンド回路AND7に入力する。実施例の場合、シフト
レジスタSRは5ビツトのデータを入力するものである
場合について示してあるため、設定器STの設定値は!
151とする。すなわち、シフトレジスタSRの端子S
Pに5個のシフトパルスが加わり、シフトレジスタSR
の記憶内容が外部に直列出力を出力し終ると、端子UP
からの信号により、アンド回路AND7のゲートが閉じ
られ、以後シフトレジスタSRの端子SPへの信号の印
加がしや断される。更に、アンド回路AND6の出力信
号も否定回路N4を介してアンド回路AND7に印加す
るようにする。これは、異常信号が発生したらば、これ
により以後のシフトレジスタSRのシフト動作を停止す
るためである。第3図および第4図は各部の動作を示す
タイラチヤートであり、第3図は被検査データとして正
常なデータが入力された場合、第4図は被検査データと
して異常なデータが入力された場合を示す。
This circuit SPC inputs the data set signal to the terminal DSI, and applies this signal as the first shift signal to the terminal SP of the shift register SR through the delay circuit D and the monostable multivibrator 0S, and through the OR circuit 0R2. do. The data set signal applied to terminal DSI is simultaneously applied to terminal DS of shift register SR. Delay circuit D connects terminals DS and S of shift register SR.
This is to avoid applying signals to terminals P at the same time, and to ensure that input data to shift register SR is stored in shift register SR before applying a signal to terminal SP. The pulse oscillator 0SC repeatedly generates a pulse signal at regular time intervals, and its output is applied to the terminal SP of the shift register SR via an AND circuit AND7 and an OR circuit 0R2. The monostable multivibrator 0S2 receives a shift pulse signal applied to the terminal SP of the shift register SR via the delay circuit D, the monostable multivibrator 0S1 and the OR circuit 0R2, and from the pulse oscillator 0SC via the AND circuit AND7 and the OR circuit 0R. Terminal S of shift register SR
This is to avoid temporal duplication of the shift pulse signal applied to P, and this monostable multivibrator 0
S2 is configured to operate at the falling edge of the output of the monostable multivibrator 0S1, and its output is input to the AND circuit AND7. Note that the metastable time of the monostable multivibrator 0S2 is set to a sufficient time necessary to serially output the data stored in the shift register SR. CW is a down counter that can be preset, and ST is a setter that sets a set value to be input to this counter CW. This counter CW has a data set signal applied to the terminal DSI applied to the set terminal S. By doing so, the value set in the setting device ST is set. Then, the OR circuit 0R is applied to the subtraction terminal SB of the counter CW.
2 output will be input. A signal from the count end signal terminal UP of the counter CW is input to the AND circuit AND7 via the NOT circuit N3. In the case of the embodiment, the shift register SR is shown for inputting 5-bit data, so the setting value of the setting device ST is !
151. That is, the terminal S of the shift register SR
Five shift pulses are added to P, and shift register SR
When the memory contents have finished outputting serial output to the outside, the terminal UP
The gate of the AND circuit AND7 is closed by the signal from the terminal SP, and thereafter, the application of the signal to the terminal SP of the shift register SR is interrupted. Furthermore, the output signal of the AND circuit AND6 is also applied to the AND circuit AND7 via the NOT circuit N4. This is because if an abnormal signal is generated, the subsequent shift operation of the shift register SR is stopped. Figures 3 and 4 are diagrams showing the operation of each part. Figure 3 shows the case when normal data is input as the data to be inspected, and Figure 4 shows the case when abnormal data is input as the data to be inspected. shows.

これらの図において、RSIは端子RSIに印加される
りセツト信号、DSIは端子DSIに印加されるデータ
セツト信号を示す。Ml,M2,M3,M4,M5は一
時記憶素子Ml,M2,M3,M4,M5の記憶内容、
MOは一時記憶回路鳩の記憶内容、Dは遅延回路Dの出
力、0S1,0S2は単安定マルチバイブレータ0S1
,0S2の出力、0SCはパルス発振器0SCの出力、
AND6はアンド回路AND6の出力を示す。以下、こ
れらの図を参照して、動作を説明する。
In these figures, RSI represents a reset signal applied to terminal RSI, and DSI represents a data set signal applied to terminal DSI. Ml, M2, M3, M4, M5 are the memory contents of temporary storage elements Ml, M2, M3, M4, M5,
MO is the memory content of the temporary memory circuit pigeon, D is the output of the delay circuit D, 0S1 and 0S2 are the monostable multivibrator 0S1
, 0S2 output, 0SC is the output of pulse oscillator 0SC,
AND6 indicates the output of the AND circuit AND6. The operation will be described below with reference to these figures.

まず、被検査データとして正常なデータ、一例としてデ
ータ110011111を検査する場合の動作を第3図
を参照して説明する。シフトレジスタSRに当該データ
1900111?1を入力する。t1時点で端子RST
にりセツト信号が加わると、これにより一時記憶素子M
l,M2,・・・・・・・・・,M5および一時記憶回
路鳩がりセツトされ、一時記憶素子Ml,M2,・・・
・・・・・・,M5の記憶内容はすべて論理的にWlO
llとなり、一時記憶回路M。の記憶内容は否定回路N
1の作用により論理的に91111となる。T2時点で
端子DSIにデータセツト信号が印加されると、シフト
レジスタSRはその並列入力端子Pll,Pl2,・・
・・・・・・・,P5に被検査データとして印加したデ
ータ11001111を一時記憶する。すなわち、ここ
で一時記憶素子Ml,M2,M3,M4,M5の各々は
対応する論理的に!11111i1菅1,.iW1―
督FO−101の信号を記憶する。同時に、カウンタC
Wには設定値?151がプリセツトされる。T2時点か
ら遅延回路Dの遅延時間T1後、遅延回路Dの出力信号
の立下りを検知して単安定マルチバイブレータ0S1が
T3時点でパルス信号を出力する。この信号はオア回路
0R2を通り、シフトレジスタSRの端子SPに加わり
、この記憶内容を1ビツトシフトする。同時に、カウン
タCWの内容は1だけ減算され、その記憶内容はQl4
゛となる。この時点で、一時記憶素子Ml,M2は論理
的にWlllの信号を記憶し、一時記憶素子M3,M4
,M5は論理的に1101の信号を記憶する。更に、一
時記憶回路M。は論理的に1「1の信号を記憶する。こ
れにより、オア回路0R,は一時記憶素子Ml,M2,
・・・・・・・・・,M5の記憶内容がすべて論理的に
10q1でないことから、論理的に15111の信号を
出力するが、否定回路N2の出力が論理的にFlOlV
であるため、アンド回路AND6のゲートは閉じ、異常
出力端子Eには論理的に1e1wIの異常信号は出力さ
れない。アンド回路AND6の出力は論理的に110?
′であることから、否定回路N4の出力は論理的に15
115となり、カウンタCWはカウント終了信号を出力
していないことから、否定回路N3の出力は論理的に1
1111となる。更に、単安定マルチバイブレータ0S
2の出力は、単安定マルチバイブレータ0S1の出力の
立下りを検知し、これによりt/3時点から論理的に1
111の信号を出力する。これにより、アンド回路AN
D7のゲートが開かれる。したがつて、T4時点でパル
ス発振器0SCがパルス信号を発生すると、この信号は
アンド回路AND7およびオア回路0R2を通つて、シ
フトレジスタSRの端子SPに加わる。そして、シフト
レジスタSRの記憶内容は更に1ピツトシフトされる。
この時点で、一時記憶素子M,の記憶内容は論理的に1
1111となり、他の一時記憶素子M,,M3,M4,
M5の記憶内容は論理的にWWOllに変化し、カウン
タCWの記憶内容は1131と変化するが、他に変化は
ない。T3時点で、パルス発振器0SCがパルス信号を
出力すると、一時記憶素子Ml,M2,・・・・・・・
・・,M5の記憶内容はすべて論理的に101となり、
オア回路0R1の出力は論理的に!10−カウンタCW
の内容は12t1に変化する。一時記憶回路M。の記憶
内容は論理的に170V1と変化せず、アンド回路AN
D6のゲートは閉じたままである。T6時点で、パルス
発振器0SCがパルス信号を出力すると、シフトレジス
タSRの記憶内容はシフトされるものの、その記憶内容
に変化はなく、すべての一時記憶素子Ml,M2,・・
・・・・・・・,M5は論理的に1?0V1の信号を記
憶する。この時点で、一時記憶回路M。の記憶内容は論
理的に101となることから、アンド回路AND6のゲ
ートが開かれる。一時記憶素子Ml,M2,・・・・・
・・・・,M5の記憶内容はすべて論理的に?10?1
であるため、オア回路0R1の出力は論理的に101と
なる。したがつて、アンド回路AND6は異常信号出力
端子Eにデータに異常がないことを示す論理的に91『
1の信号を出力する。この時点でカウンタCWの内容は
111となる。T7時点で、パルス発振器0SCがパル
ス信号を出力すると、シフトレジスタSRの内容はシフ
トされるものの、その内容に変化はなく、ただカウンタ
CWの内容が1101となり、カウンタCWの端子UP
から論理的に!5111のカウント終了信号が発生し、
アンド回路AND7のゲートを閉じ、以後のパルス発振
器0SCからのパルス信号の通過を阻止する。更に、T
8時点で、単安定マルチバイブレータ0S2の出力が論
理的に1101′となり、データの検査は終了する。そ
の後、他のデータが適当な時点で、シフトレジスタSR
に入力され、同一の動作で、当該データの検査が行なわ
れる。次に、被検査データとして異常なデータ、一例と
してデータ11010111を検査する場合の動作を第
4図を参照して説明する。
First, the operation when normal data, as an example, data 110011111, is tested will be described with reference to FIG. 3. The relevant data 1900111?1 is input to the shift register SR. At time t1, terminal RST
When the reset signal is applied, this causes the temporary storage element M
1, M2, .
......, all the memory contents of M5 are logically WlO
ll, and the temporary memory circuit M. The memory contents of are negation circuit N
1 logically becomes 91111. When a data set signal is applied to the terminal DSI at time T2, the shift register SR outputs its parallel input terminals Pll, Pl2, .
. . . , temporarily stores data 11001111 applied to P5 as data to be inspected. That is, here each of the temporary storage elements Ml, M2, M3, M4, M5 corresponds logically! 11111i1 Suga 1,. iW1-
Store the signal of the controller FO-101. At the same time, counter C
Is there a set value for W? 151 is preset. After a delay time T1 of delay circuit D from time T2, the fall of the output signal of delay circuit D is detected, and monostable multivibrator 0S1 outputs a pulse signal at time T3. This signal passes through the OR circuit 0R2, is applied to the terminal SP of the shift register SR, and shifts the stored contents by one bit. At the same time, the contents of counter CW are decremented by 1, and its stored contents are Ql4
It becomes ゛. At this point, temporary storage elements Ml and M2 logically store the signal Wllll, and temporary storage elements M3 and M4
, M5 logically stores 1101 signals. Furthermore, a temporary memory circuit M. logically stores a signal of 1 "1".As a result, the OR circuit 0R stores the temporary storage elements Ml, M2,
・・・・・・・・・Since all the memory contents of M5 are not logically 10q1, a signal of 15111 is logically output, but the output of the negation circuit N2 is logically FlOlV
Therefore, the gate of the AND circuit AND6 is closed, and the abnormality signal of 1e1wI is not logically output to the abnormality output terminal E. Is the output of the AND circuit AND6 logically 110?
', the output of the NOT circuit N4 is logically 15
115, and since the counter CW does not output a count end signal, the output of the NOT circuit N3 is logically 1.
It becomes 1111. Furthermore, monostable multivibrator 0S
The output of 2 detects the fall of the output of the monostable multivibrator 0S1, and as a result, the output of 2 logically changes to 1 from the time t/3.
111 signal is output. As a result, the AND circuit AN
The gate of D7 opens. Therefore, when the pulse oscillator 0SC generates a pulse signal at time T4, this signal passes through the AND circuit AND7 and the OR circuit 0R2 and is applied to the terminal SP of the shift register SR. Then, the contents of the shift register SR are further shifted by one pit.
At this point, the memory content of the temporary storage element M is logically 1
1111, and other temporary storage elements M,, M3, M4,
The memory content of M5 logically changes to WWOll, and the memory content of counter CW changes to 1131, but there is no other change. At time T3, when the pulse oscillator 0SC outputs a pulse signal, the temporary storage elements Ml, M2,...
..., all the memory contents of M5 are logically 101,
The output of OR circuit 0R1 is logical! 10-Counter CW
The content of changes to 12t1. Temporary memory circuit M. The memory content of is logically unchanged from 170V1, and the AND circuit AN
The gate of D6 remains closed. At time T6, when the pulse oscillator 0SC outputs a pulse signal, the storage contents of the shift register SR are shifted, but there is no change in the storage contents, and all temporary storage elements Ml, M2, . . .
......, M5 logically stores a signal of 1?0V1. At this point, the temporary memory circuit M. Since the stored content is logically 101, the gate of the AND circuit AND6 is opened. Temporary memory elements Ml, M2,...
..., are all the memory contents of M5 logical? 10?1
Therefore, the output of the OR circuit 0R1 becomes 101 logically. Therefore, the AND circuit AND6 logically outputs 91' to the abnormal signal output terminal E, indicating that there is no abnormality in the data.
1 signal is output. At this point, the content of the counter CW becomes 111. At time T7, when the pulse oscillator 0SC outputs a pulse signal, the contents of the shift register SR are shifted, but the contents do not change, but the contents of the counter CW become 1101, and the terminal UP of the counter CW
Logically! 5111 count end signal is generated,
The gate of the AND circuit AND7 is closed to prevent the subsequent pulse signal from the pulse oscillator 0SC from passing through. Furthermore, T
At time 8, the output of the monostable multivibrator 0S2 logically becomes 1101', and the data inspection ends. Thereafter, when other data is appropriate, the shift register SR
, and the data is checked using the same operation. Next, the operation when inspecting abnormal data, eg, data 11010111, will be described with reference to FIG. 4.

まず、シフトレジスタSRにデータ1W01011?l
を入力する。t1時点で各部がりセツトされ、T2時点
でデータがシフトレジスタSRにセツトされ、T2時点
でシフトレジスタSRの内容が1ビツトシフトされ、T
4時点で更に1ビツトシフトされるまで動作は前記と同
様である。ただし、被検査データが11010111W
であることから、T4時点でのシフトレジスタSRの記
憶内容は、一時記憶素子M2のみが論理的にVllVW
の信号を記憶し、他は論理的に1101の信号を記憶す
る。T5時点で、パルス発振器0SCからパルス信号が
発生すると、シフトレジスタSRの内容は1ビツトシフ
トされ、一時記憶回路鴇は論理的に“O゛の信号を記憶
し、アンド回路AND6のゲートを開く。この時点では
、一時記憶素子M1の記憶内容が論理的に゛1111で
、他は論理的にq1「5であることから、オア回路0R
1は論理的に11111の信号を出力している。したが
つて、異常信号出力端子Eには、被検査データが異常で
あることを示す論理的に1111の信号が出力される。
これにより、アンド回路AND7が閉じられ、以後シフ
トレジスタSRへのパルス発振器0SCからのシフトパ
ルス信号の印加をしや断し、以後の動作を停止する。異
常信号出力端子Eからの異常信号は、これにより各種電
子装置の動作を停止、あるいは所定の処理の実行の開始
等に有効に利用される。以上の説明から、他のデータに
対しても、そのデータの誤りの有無を確実に検査できる
ことは明らかであろう。
First, data 1W01011 in shift register SR? l
Enter. At time t1, each part is set, at time T2, data is set in shift register SR, at time T2, the contents of shift register SR are shifted by 1 bit, and at time T2, data is set in shift register SR.
The operation is the same as described above until an additional 1 bit shift is made at time point 4. However, the data to be inspected is 11010111W
Therefore, in the storage contents of the shift register SR at time T4, only the temporary storage element M2 is logically VllVW.
The signals of 1101 are stored logically for the others. At time T5, when a pulse signal is generated from the pulse oscillator 0SC, the contents of the shift register SR are shifted by 1 bit, the temporary storage circuit 马 logically stores the "O" signal, and the gate of the AND circuit AND6 is opened. At this point, the memory content of the temporary storage element M1 is logically ``1111'', and the others are logically q1 ``5'', so the OR circuit 0R
1 logically outputs a signal of 11111. Therefore, a signal of 1111 is logically outputted to the abnormality signal output terminal E, indicating that the data to be inspected is abnormal.
As a result, the AND circuit AND7 is closed, and thereafter, the application of the shift pulse signal from the pulse oscillator 0SC to the shift register SR is stopped, and the subsequent operation is stopped. The abnormal signal from the abnormal signal output terminal E is effectively used to stop the operation of various electronic devices, or to start execution of a predetermined process. From the above explanation, it is clear that other data can also be reliably checked for errors.

以上、実施例においては、シフトレジスタSRとして並
列入力形のものを使用した場合について説明したが、こ
れは直列入力形のものであつてもよい。
In the above embodiments, a case has been described in which a parallel input type shift register SR is used, but it may also be a serial input type shift register.

すなわち、並列出力、直列出力機能を備えているもので
あれば、入力形態に限定はない。また、シフトパルス発
生回路SPCは、本装置が組み込まれる、あるいは本装
置が連結される電子装置等の有する例えばクロツク発振
器、あるいはタイミング信号発生回路等で兼ねてもよい
。さらに、以上の実施例においては、説明の便宜上、被
検査データとして5ビツトのものを例に取つて説明した
が、本発明はデータのビツト数に限定はない。以上の説
明から明らかなように、本発明によれば、複数ビツトで
構成され、しかも任意のビツトから最下位または最上位
ビツトまで同一の論理信号が連続しなければならないデ
ータに誤りがあるかを否かを確実に検査できる。また、
シフトレジスタの機能を有効に利用して構成しているた
め、装置構成を簡単化できる効果がある。
That is, there is no limitation on the input form as long as it has parallel output and serial output functions. Further, the shift pulse generating circuit SPC may also be a clock oscillator, a timing signal generating circuit, etc., which is included in an electronic device in which the present device is incorporated or connected to the present device. Further, in the above embodiment, for convenience of explanation, the data to be inspected is 5 bits, but the present invention is not limited to the number of bits of the data. As is clear from the above description, according to the present invention, it is possible to check whether there is an error in data that is composed of multiple bits and in which the same logic signal must continue from an arbitrary bit to the lowest or highest bit. It is possible to reliably test whether or not the Also,
Since it is configured by effectively utilizing the function of the shift register, it has the effect of simplifying the device configuration.

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

第1図は本発明を説明するためのアナログデジタル回路
を有する電子装置のプロツク結線図、第2図は本発明の
一実施例を示すプロツク結線図、第3図は正常なデータ
を検査する場合の動作を示すタイムチヤート、第4図は
異常データを検査する場合の動作を示すタイムチヤート
である。
Fig. 1 is a block wiring diagram of an electronic device having an analog-digital circuit to explain the present invention, Fig. 2 is a block wiring diagram showing an embodiment of the present invention, and Fig. 3 is a block wiring diagram for inspecting normal data. FIG. 4 is a time chart showing the operation when inspecting abnormal data.

Claims (1)

【特許請求の範囲】[Claims] 1 入力した複数ビットの被検査データを一時記憶し、
直列出力、並列出力が可能なシフトレジスタと、このシ
フトレジスタに順次シフトパルスを印加するシフトパル
ス発生回路と、前記シフトパルスの印加により前記シフ
トレジスタから順次直列出力される各ビットの信号によ
り記憶内容が順次更新される1ビットの一時記憶回路と
、前記シフトレジスタの並列出力データを入力し当該入
力データのすべてのビットの論理状態が予め定めた状態
と同一の論理状態であるか否かを判定し、この判定結果
に対応する信号を出力するオア回路と、前記一時記憶回
路が予め定めた論理信号を記憶し前記オア回路の判定が
否である場合に異常信号を出力する判定結果出力回路と
を見備して成るデータ検査装置。
1 Temporarily stores the input multiple bits of data to be inspected,
A shift register capable of serial output and parallel output, a shift pulse generation circuit that sequentially applies shift pulses to this shift register, and storage contents using signals of each bit that are sequentially output in series from the shift register upon application of the shift pulses. inputs a 1-bit temporary memory circuit that is sequentially updated and parallel output data of the shift register, and determines whether the logic state of all bits of the input data is the same logic state as a predetermined state. and an OR circuit that outputs a signal corresponding to the determination result, and a determination result output circuit that stores a predetermined logic signal in the temporary storage circuit and outputs an abnormal signal when the determination of the OR circuit is negative. A data inspection device comprising:
JP54125383A 1979-10-01 1979-10-01 data inspection equipment Expired JPS593781B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54125383A JPS593781B2 (en) 1979-10-01 1979-10-01 data inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54125383A JPS593781B2 (en) 1979-10-01 1979-10-01 data inspection equipment

Publications (2)

Publication Number Publication Date
JPS5650445A JPS5650445A (en) 1981-05-07
JPS593781B2 true JPS593781B2 (en) 1984-01-26

Family

ID=14908771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54125383A Expired JPS593781B2 (en) 1979-10-01 1979-10-01 data inspection equipment

Country Status (1)

Country Link
JP (1) JPS593781B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6110957A (en) * 1984-06-27 1986-01-18 Seikosha Co Ltd Normal/reverse rotatable motor
JPH01109279U (en) * 1988-01-19 1989-07-24
EP0712032A2 (en) 1992-03-02 1996-05-15 Fuji Photo Film Co., Ltd. Method and apparatus for recording stereoscopic images and lenticular recording meterial used therefor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6110957A (en) * 1984-06-27 1986-01-18 Seikosha Co Ltd Normal/reverse rotatable motor
JPH01109279U (en) * 1988-01-19 1989-07-24
EP0712032A2 (en) 1992-03-02 1996-05-15 Fuji Photo Film Co., Ltd. Method and apparatus for recording stereoscopic images and lenticular recording meterial used therefor

Also Published As

Publication number Publication date
JPS5650445A (en) 1981-05-07

Similar Documents

Publication Publication Date Title
US4084262A (en) Digital monitor having memory readout by the monitored system
JPS6232511B2 (en)
JP2009017085A (en) A/d converter
JPH06110654A (en) Data match detection circuit
JPH0262964B2 (en)
JPS593781B2 (en) data inspection equipment
US5065047A (en) Digital circuit including fail-safe circuit
US4283620A (en) Arrangement for determining the length of arbitrary shift registers
KR100276504B1 (en) Failure-data storage system
JP3111431B2 (en) Input interface circuit
EP0714170B1 (en) Analog-to-digital converter with writable result register
KR940009099B1 (en) Microprocessor
EP0333214A2 (en) Comparator unit for data discrimination
JPS62523B2 (en)
JPH04195899A (en) Semiconductor device
JPS61247984A (en) Test circuit
JP3388484B2 (en) Timing generator with malfunction / misconfiguration detection function
KR970000820B1 (en) Test data input circuit of boundary-scan architecture
KR930004861B1 (en) A / D converter test device
SU1218386A1 (en) Device for checking comparison circuits
SU1061275A1 (en) Device for single-error correction and multiple-error detection
JPH02306500A (en) Test circuit for semiconductor memory
SU1659987A1 (en) Device for object operability testing
KR0121940B1 (en) 2 output data output circuit of boundary scan
JP2853374B2 (en) Frame synchronization circuit