JPS59176812A - Serial data input device - Google Patents

Serial data input device

Info

Publication number
JPS59176812A
JPS59176812A JP58050473A JP5047383A JPS59176812A JP S59176812 A JPS59176812 A JP S59176812A JP 58050473 A JP58050473 A JP 58050473A JP 5047383 A JP5047383 A JP 5047383A JP S59176812 A JPS59176812 A JP S59176812A
Authority
JP
Japan
Prior art keywords
data
counter
output
logical
transfer
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
Application number
JP58050473A
Other languages
Japanese (ja)
Inventor
Sadao Iwakura
岩倉 定雄
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP58050473A priority Critical patent/JPS59176812A/en
Publication of JPS59176812A publication Critical patent/JPS59176812A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To avoid the transfer of wrong data by using a means to detect the transfer of wrong data due to the external noises, etc. produced during the transfer of data and a means to invalidate the wrong data. CONSTITUTION:If a defective clock is supplied together with a nondefective clock 12 during the transfer of data due to the external noises, etc., the number of clocks exceeds nine. Outputs A and D of a counter 2 are simultaneously set at logical 1 at all times when a one-shot multivibrator 1 is active. In this case, the output of an NAND circuit 4 is set at logical 0. Therefore a reset signal 16 is set at 0. The counter 12 is reset to its initial state with the signal 16, and no counter end signal is delivered from an AND circuit 6 since the output D of the counter 2 is logical 0 when the operation of the vibrator 1 is over. Thus the input is prevented for the wrong data.

Description

【発明の詳細な説明】 この発明は、?リアルデータ入力装置に関し、特に外来
ノイズ等によって誤ったデータ転送が起った場合、シリ
アル転送のデータ数を数えるカウンタにより誤動作を検
出して転送されたデータを無効にするシリアルデータ入
力装置に関するものである。
[Detailed Description of the Invention] What is this invention? Regarding real data input devices, in particular, if erroneous data transfer occurs due to external noise, etc., this serial data input device uses a counter that counts the number of serially transferred data to detect the malfunction and invalidate the transferred data. be.

ディジタルデータ処理装置等におけるシリアルデータの
転送は転送データの数をカウントして、この1データ長
数を数えたらシリアル・パラレル交換器にてそのシリア
ルデータをパラレルデータに変換してデータの入力を行
う。この場合、データ転送中に外来ノイズ等により誤動
作が生じることがある。従来のシリアルデータ入力装置
においては、このような外来ノイズに対する対策が十分
でないという欠点があった。
When transmitting serial data in a digital data processing device, etc., the number of transferred data is counted, and once the length of one data is counted, the serial data is converted to parallel data by a serial/parallel exchanger and the data is input. . In this case, malfunctions may occur due to external noise or the like during data transfer. Conventional serial data input devices have a drawback in that they do not have sufficient countermeasures against such external noise.

この発明は、上述の点にかんがみてなされたもので、外
来ノイズ等により誤動作が生じた場合、この誤動作をデ
ータ数をカウントするカウンタにより検出し、誤ったデ
ータが入力されないようにしたシリアルデータ入力装置
を提供することを目的とする。以下この発明を図面を用
いて説明する。
This invention has been made in view of the above points, and is a serial data input device that detects malfunctions caused by external noise etc. using a counter that counts the number of data and prevents incorrect data from being input. The purpose is to provide equipment. This invention will be explained below using the drawings.

第1図はこの発明の一実施例をなすシリアルデータ入力
装置の構成を示すブロック図である。同図において、1
はワンショットマルチパイブレーク、2はカウンタ、3
はシリアル・パラレル変換器、4はNANDAND回路
6はAND回路、7はINV回路、11はカウンタクリ
ア信号で通常はロジカル゛l゛′であり、8ビツトのデ
ータを受取ったときロジカル゛0゛を出力する。12は
クロック、13はシリアルデータ、14はカウント終了
信号、15はパラレルデータである。カウンタクリア信
号11はシリアルデータ13が正常に転送されて、パラ
レルデータ15として読み込まれた後に出力され、カウ
ンタ2を初期化する信号である。クロック12とシリア
ルデータ13は外部から入力される転送信号である。カ
ウント終了信号14はシリアルデータ]3の転送終了時
に出力される。パラレルデータ15は入力されたシリア
ルデータ13をシリアル拳パラレル変換器3にてパラレ
ルに変換したデータである。ワンショットマルチバイブ
レーク1はクロック12の立ち上がりで動作し、その動
作時間はクロック周期よりも長い時間に設定されている
。従って、正常なりロックが入力されている場合は常に
動作状態にある。カウンタ2はクロック12によりカウ
ントサレ、出力A 、 B 、 C、Dを有するカウン
タであり、1つのデータ長の数をカウントするとカウン
ト終了信号14を出力する。シリアル拳パラレル変換器
3はクロック12によりシリアルデータを入力し、パラ
レルデータ15を出力する。
FIG. 1 is a block diagram showing the configuration of a serial data input device according to an embodiment of the present invention. In the same figure, 1
is one shot multi pie break, 2 is counter, 3
is a serial/parallel converter, 4 is a NAND circuit, 6 is an AND circuit, 7 is an INV circuit, and 11 is a counter clear signal, which is normally a logical ``1'' and outputs a logical ``0'' when 8-bit data is received. Output. 12 is a clock, 13 is serial data, 14 is a count end signal, and 15 is parallel data. The counter clear signal 11 is a signal that is output after the serial data 13 is normally transferred and read as parallel data 15, and initializes the counter 2. Clock 12 and serial data 13 are transfer signals input from the outside. The count end signal 14 is output at the end of the transfer of the serial data]3. The parallel data 15 is data obtained by converting the input serial data 13 into parallel data by the serial-to-parallel converter 3. The one-shot multi-by-break 1 operates at the rising edge of the clock 12, and its operating time is set to be longer than the clock cycle. Therefore, if normal or lock is input, it is always in the operating state. The counter 2 is a counter that is counted by a clock 12 and has outputs A, B, C, and D, and outputs a count end signal 14 when it counts the number of one data length. The serial-to-parallel converter 3 inputs serial data using a clock 12 and outputs parallel data 15.

第2図は正常にデータが転送された時のタイミングチャ
ート図である。第3図は外来ノイズ等によりデータ転送
中に誤動作が起った時に転送データを無効にする時のタ
イミングチャート図である。
FIG. 2 is a timing chart when data is transferred normally. FIG. 3 is a timing chart for invalidating transferred data when a malfunction occurs during data transfer due to external noise or the like.

第1図に示すシリアルデータ入力装置の動作を第2図と
第3図のタイミングチャート図に基づき説明する。
The operation of the serial data input device shown in FIG. 1 will be explained based on the timing charts of FIGS. 2 and 3.

第2図に示すように、クロ・ンク12が入ると、その立
上りでワンショットマルチバイブレータ1の出力がロジ
カル“1″になり、一方、カウンタ2の各端子はいずれ
もまだロジカル“O11であるからNAND回路4の出
力はロジカル゛1°°となり、これによりAND回路5
が開いて、リセット信号16は“0゛から“l′°にな
リリセットは解除される。正常なりロック12とシリア
ルデータ13が出力された時、クロック12が8個出力
されカウンタ2の出力りがロジカル“1″になる。
As shown in Fig. 2, when clock 12 is input, the output of one-shot multivibrator 1 becomes logical "1" at the rising edge, while each terminal of counter 2 is still logical "O11". Therefore, the output of the NAND circuit 4 becomes logical ゛1°°, so that the output of the AND circuit 5 becomes
opens, the reset signal 16 changes from "0" to "1'" and the reset is released. When the lock 12 and the serial data 13 are output normally, eight clocks 12 are output and the output of the counter 2 becomes logical "1".

シリアル・パラレル変換器3には8個のクロック12に
よりシリアルデータ13が入力され、パラIyAyデー
タ15に変換される。ワンショットマルチバイブレーク
1は順次クロックが入力されている場合は常に動作状態
であり、8番目のクロックによるワンショットマルチバ
イブレーク1の動作が終了した時、すなわちパルスの立
下り1aによりINV回路7の出力はロジカル°“1′
”になり、カウンタ2の出力りがロジカル°“1”°で
あるからAND回路6の出力はロジカル“l′″になり
カウント終了信号14を出力し、その立上り74aでパ
ラレルデータ15が準備された事を示す。パラレルデー
タ15が読み取られた後、カウンタクリア信号11によ
りAND回路5の出力はロジカル“0゛°、すなわちリ
セット信号16が出てカウンタ2は初期化される。
Serial data 13 is input to the serial/parallel converter 3 by eight clocks 12 and is converted into parallel IyAy data 15. One-shot multi-bye break 1 is always in operation when clocks are input sequentially, and when the operation of one-shot multi-bye break 1 by the 8th clock is completed, that is, at the falling edge 1a of the pulse, the output of INV circuit 7 is activated. is logical°“1′
", and the output of the counter 2 is logical "1", so the output of the AND circuit 6 becomes logical "l'" and outputs the count end signal 14, and at the rising edge 74a, the parallel data 15 is prepared. After the parallel data 15 is read, the counter clear signal 11 causes the output of the AND circuit 5 to be logical 0°, that is, a reset signal 16 is output, and the counter 2 is initialized.

次に第3図に示すように、データ転送中に外来ノイズ等
により異常クロック12aが入力された場合は、クロッ
ク数が9個以上になる。この場合、ワンショットマルチ
バイブレータ1が動作状態にある時に必ずカウンタ2の
出力AとDが同時にロジカル″゛1″になる(第3図2
a、2cf参照)。この時、NAND回路4の出力はロ
ジカル“0″になり、AND回路5の出力も“0′”に
なる。これはリセット信号16が0°゛となることにほ
かならない。この結果、カラ・ンタ2はリセット信号1
6により初期状態に戻り(第3図16a参照)、ワンシ
ョットマルチバイブレータ1の動作終了時にはカウンタ
2の出力りがロジカル°“O”″であるため、AND回
路6からのカウンタ終了信号は出力されない。これによ
り誤った転送データは無視されて入力されることはない
Next, as shown in FIG. 3, if an abnormal clock 12a is input due to external noise or the like during data transfer, the number of clocks becomes nine or more. In this case, when the one-shot multivibrator 1 is in operation, the outputs A and D of the counter 2 always become logical "1" at the same time (Fig.
a, see 2cf). At this time, the output of the NAND circuit 4 becomes logical "0", and the output of the AND circuit 5 also becomes "0'". This means that the reset signal 16 becomes 0°. As a result, the color controller 2 receives the reset signal 1.
6 returns to the initial state (see FIG. 3, 16a), and when the operation of the one-shot multivibrator 1 is completed, the output of the counter 2 is logical "O"", so the counter end signal from the AND circuit 6 is not output. .This way, erroneous transfer data will be ignored and will not be input.

以上説明したように、この発明に係るシリアルデータ入
力装置は、外来ノイズ等によりデータ転送中に錬った転
送を行った時には、この誤った転送を検出する手段を設
け、そのデータを無視して誤ったデータが転送されるこ
とがないようにするという優れた効果を有する。
As explained above, the serial data input device according to the present invention is provided with means for detecting this erroneous transfer when data is transferred incorrectly due to external noise, etc., and ignores the data. This has the excellent effect of preventing erroneous data from being transferred.

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

第1図はこの発明の一実施例をなすシリアルデ−タ入力
装置の構成を示すブロック図、第2図と第3図は第1図
に示すシリアルデータ入力装置の動作を説明するための
タイミングチャート図である。 図中、1はワンレヨットマルチバイブレーク、2はカウ
ンタ、3はシリアルΦパラレル変換器、4はNANDA
ND回路6はAND回路、7はINV回路である。
FIG. 1 is a block diagram showing the configuration of a serial data input device according to an embodiment of the present invention, and FIGS. 2 and 3 are timing charts for explaining the operation of the serial data input device shown in FIG. It is a diagram. In the figure, 1 is a one-rayot multi-by-break, 2 is a counter, 3 is a serial Φ parallel converter, and 4 is a NANDA.
ND circuit 6 is an AND circuit, and 7 is an INV circuit.

Claims (1)

【特許請求の範囲】[Claims] シリアルで転送されるデータの入力装置において、デー
タ転送中に外来ノイズ等により誤ったデータ転送が行わ
れた場合、これを検出する手段を設け、さらに転送され
たデータを無効にする手段を設けたことを特徴とするシ
リアルデータ入力装置。
In an input device for serially transferred data, if erroneous data transfer is performed due to external noise etc. during data transfer, a means is provided to detect this, and a means is further provided to invalidate the transferred data. A serial data input device characterized by:
JP58050473A 1983-03-28 1983-03-28 Serial data input device Pending JPS59176812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58050473A JPS59176812A (en) 1983-03-28 1983-03-28 Serial data input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58050473A JPS59176812A (en) 1983-03-28 1983-03-28 Serial data input device

Publications (1)

Publication Number Publication Date
JPS59176812A true JPS59176812A (en) 1984-10-06

Family

ID=12859862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58050473A Pending JPS59176812A (en) 1983-03-28 1983-03-28 Serial data input device

Country Status (1)

Country Link
JP (1) JPS59176812A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62117052A (en) * 1985-11-18 1987-05-28 Sanyo Electric Co Ltd Serial input and output circuit
JP2018148338A (en) * 2017-03-03 2018-09-20 株式会社ジャパン・アイディー Clock synchronous serial data receiving circuit and bus system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62117052A (en) * 1985-11-18 1987-05-28 Sanyo Electric Co Ltd Serial input and output circuit
JPH0431420B2 (en) * 1985-11-18 1992-05-26
JP2018148338A (en) * 2017-03-03 2018-09-20 株式会社ジャパン・アイディー Clock synchronous serial data receiving circuit and bus system

Similar Documents

Publication Publication Date Title
JP2549492B2 (en) Video signal odd / even field detector
JPS59176812A (en) Serial data input device
KR100302891B1 (en) Scalar interrupt-positive response system
JPH05333808A (en) Display driving circuit
JPS59181721A (en) Serial data input device
US4041248A (en) Tone detection synchronizer
SU1674130A1 (en) Modulo three convolver
JPS5866445A (en) Signal collating circuit
SU1660175A1 (en) Series-to-parallel code converter
US4081130A (en) Filter-type pulse detection means
SU801283A2 (en) Device for detecting and correcting errors in code combination
JPH04417B2 (en)
JPS63148737A (en) Data communication equipment
JPS59172869A (en) Serial data transfer system
JPH0546105Y2 (en)
JPH0431420B2 (en)
JPS58161445A (en) Signal transmission device
JPH01289334A (en) Clock synchronizing data transmission system
JPH0385038A (en) Data transfer equipment
JPH05191236A (en) Clock interruption detection circuit
JPS57134733A (en) Data transfer checking system in data processor
JPS6221426B2 (en)
JPS5853811B2 (en) Multi-frequency signal receiving device
JPH05252222A (en) Serial transmission/reception circuit
JPS58129856A (en) Data transmitter