JPH012157A - Data transfer abnormality detector of data recording device - Google Patents

Data transfer abnormality detector of data recording device

Info

Publication number
JPH012157A
JPH012157A JP62-158249A JP15824987A JPH012157A JP H012157 A JPH012157 A JP H012157A JP 15824987 A JP15824987 A JP 15824987A JP H012157 A JPH012157 A JP H012157A
Authority
JP
Japan
Prior art keywords
clock
data transfer
response
reference clock
timing
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
JP62-158249A
Other languages
Japanese (ja)
Other versions
JPS642157A (en
Inventor
吉岡 節生
Original Assignee
日本電気株式会社
Filing date
Publication date
Application filed by 日本電気株式会社 filed Critical 日本電気株式会社
Priority to JP62-158249A priority Critical patent/JPH012157A/en
Publication of JPS642157A publication Critical patent/JPS642157A/en
Publication of JPH012157A publication Critical patent/JPH012157A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はデータ記録装置に関し、特に他装置との間のデ
ータ転送をハーフインタロック方式で行う場合のデータ
転送異常の検知手段に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data recording device, and more particularly to a means for detecting a data transfer abnormality when data is transferred with another device using a half-interlock method.

[従来の技術] ハーフインタロック方式のデータ転送はデータ転送のタ
イミングを支配する側が相手側の応答を持たず発送する
基準ゲロツクと相手側がそれに追従して返送する応答ク
ロックで制御される。
[Prior Art] Half-interlock type data transfer is controlled by a reference clock that is sent by the side that controls the timing of data transfer without receiving a response from the other party, and a response clock that the other party follows and sends back.

第2図(a)、 (b)にハーフインタロック方式によ
るデータ転送の基準クロックと応答クロックの動作タイ
ミングの一例を示す。データ転送のタイミングを支配す
る側がデータを受信する場合は応答クロック13が入力
データ14のストローブ信号となり、基イ((クロック
12はその転送タイミングを指示するf−タ要求信号と
して働く。またデータ転送のタイミングを支配する側が
データを送信する場合は基準クロック12が転送するタ
イミングを示すとともに出力データ11のストローブ信
号となり、応答クロック13は出力データの到達を知る
確認信号として動く。いずれの場合も基準クロック12
が先行し相手側の応答を待たずに一定周明Tcで発送さ
れ、応答クロックがそれに追従して、データ転送を行な
う装置間の転送距離と両装置のデータ処理能力によって
決まる時間Td遅れて同周期Tcで返送される。従来こ
の種のデータ転送の異常検出は基準クロック12と応答
クロック13の計数比較により行なわれ、従来のデータ
転送異常検出器はデータ転送制御部の制御で動作して、
基準クロックおよび応答クロックを各々別に計数し各々
の計数値を対で出力する計数部とその一対の計数値を制
御信号で指定されるタイミングで比較照合して不一致の
場合異常信号を発生する比較照合判定部で構成していた
FIGS. 2(a) and 2(b) show an example of the operation timing of the reference clock and response clock for data transfer using the half-interlock method. When the side that controls the data transfer timing receives data, the response clock 13 becomes the strobe signal for the input data 14, and the clock 12 acts as a f-ta request signal that instructs the transfer timing. When the side that controls the timing transmits data, the reference clock 12 indicates the timing of transfer and serves as a strobe signal for the output data 11, and the response clock 13 acts as a confirmation signal to know that the output data has arrived. clock 12
is sent in advance, without waiting for a response from the other party, at a certain period of time Tc, and the response clock follows it and is sent at the same period after a delay of time Td, which is determined by the transfer distance between the devices performing data transfer and the data processing capacity of both devices. It will be returned at Tc. Conventionally, this type of data transfer abnormality detection has been performed by comparing the counts of the reference clock 12 and the response clock 13, and the conventional data transfer abnormality detector operates under the control of a data transfer control section.
A counting section that counts the reference clock and response clock separately and outputs each counted value as a pair, and a comparison and verification unit that compares and matches the pair of counted values at the timing specified by the control signal and generates an abnormal signal if they do not match. It consisted of a judgment department.

第3図(a)、 (b)、 (c)にその機能ブロック
および動作タイミング矯正部トを示す。
FIGS. 3(a), 3(b), and 3(c) show its functional blocks and operation timing corrector.

第3図(a)において、データ転送制御部1はデータ転
送を制御する本来の機能を有し本来のデータ転送に関す
る制御を行なうブロックである。
In FIG. 3(a), the data transfer control unit 1 is a block that has the original function of controlling data transfer and performs control regarding the original data transfer.

h[数品7はデータ制御回路1が出力する制御信号17
が有効な量基準クロック12を計数しその計数値71を
同様に応答クロック13を計数しその計数値72を出力
する。また制御信号17が無効になると、各々を計数値
を初期化する。比較照合判定部8はデータ転送が終了し
制御信号17が無効となる直面にへ]数値71とh4数
値72を比較照合し一致しなかった場合、異常信号18
をアクティブにしてデータ転送制御部1へ報告する。第
3図(b)は正常終了した場合、第3図(C)は異常終
了した場合の動作の一例を示している。
h[Number 7 is the control signal 17 output by the data control circuit 1
counts the effective amount reference clock 12 and outputs the counted value 71.Similarly, the response clock 13 is counted and the counted value 72 is output. Further, when the control signal 17 becomes invalid, each count value is initialized. The comparison/verification/judgment unit 8 is faced with the situation where the data transfer is completed and the control signal 17 becomes invalid] The numerical value 71 and the h4 numerical value 72 are compared and verified, and if they do not match, an abnormality signal 18 is sent.
is activated and reported to the data transfer control unit 1. FIG. 3(b) shows an example of the operation when the process ends normally, and FIG. 3(C) shows an example of the operation when the process ends abnormally.

[発明が解決しようとする問題点] 上述した従来の転送終了後に計数値を検照する方法では
転送途中にタイミングの不具合を生じても最終的に計数
値が一致すれば異常を検知できないという欠点がある。
[Problems to be Solved by the Invention] The above-mentioned conventional method of checking the counted value after the transfer is completed has the drawback that even if a timing problem occurs during the transfer, if the counted value finally matches, no abnormality can be detected. There is.

また異常が検知できた場合でも異常発生時から検知まで
に大きな時間遅れを生じるという欠点がある。
Furthermore, even if an abnormality can be detected, there is a drawback that there is a large time delay from the time the abnormality occurs until it is detected.

本発明の目的は前記問題点を解消したデータ転送異常検
出器を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data transfer abnormality detector that solves the above-mentioned problems.

[問題点を解決するための手段] 本発明は他装置との間のデータ転送をハーフインタロッ
ク方式で行い、その転送タイミングを支配する側にあっ
て、データ転送の基準となる一定周明の基準クロックを
発送し、それに呼応して返送される同周期の応答クロッ
クを受けてデータ転送を制御する装置のデータ転送制御
部に付加し、データ転送制御部からの制御信号で動作す
るデータ転送異常検出器において、 基準クロックに対して応答クロックが返送されるまでの
時間を測定しその時間差を矯正して互いに対応する変化
タイミングが一定時間内に規制された、基準クロックと
等価な矯正基準クロック及び応答クロックと等価な矯正
応答クロックを発生するタイミング矯正部と、 上記タイミング矯正部で発生される矯正基準クロックと
矯正応答クロックをそれぞれ別に旧教し各々のバ1数値
を対で出力するg4数部と、上記一対の計数値を対応す
るビット間で任意のビット数について比較照合し、その
一致・不一致をデータの転送周期で逐次判定して不一致
が生じた場合に異常信号を発生する比較照合判定部とを
有することを特徴とするデータ記録装置のデータ転送異
常検出器でおる。
[Means for Solving the Problems] The present invention performs data transfer with other devices using a half-interlock method, and is the side that controls the transfer timing, and uses a constant periodic standard that serves as a standard for data transfer. A data transfer abnormality detection device that is attached to the data transfer control unit of a device that sends a clock and controls data transfer by receiving a response clock of the same period that is returned in response to the clock, and operates with a control signal from the data transfer control unit. In the device, the time required for the response clock to be sent back with respect to the reference clock is measured, and the time difference is corrected to create a corrected reference clock and response equivalent to the reference clock, in which the corresponding change timings are regulated within a certain period of time. a timing correction section that generates a correction response clock equivalent to the clock; a g4 number section that separates the correction reference clock and correction response clock generated by the timing correction section and outputs each value as a pair; A comparison/verification/determination unit that compares and collates the pair of count values for an arbitrary number of bits between corresponding bits, sequentially determines whether or not they match at the data transfer cycle, and generates an abnormal signal when a discrepancy occurs. A data transfer abnormality detector for a data recording device, characterized in that the data transfer abnormality detector has the following features:

[実施例] 以下、本発明の一実施例を図により説明する。[Example] Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図(a)において、本発明のデータ転送異常検出器
2は基準クロック12に対して応答クロック13が返送
されるまでの時間を測定しその時間差を矯正して互いに
対応する変化タイミングが一定時間内に規制された、基
準クロック12と等価な矯正基準クロック31と、応答
クロック13と等価な矯正応答クロック32とを発生す
るタイミング矯正部3と、 タイミング矯正部3で発生される矯正基準クロック31
と矯正応答クロック32をそれぞれ別に計数し各々の計
数値を対で出力する計数部4と、上記一対の計数値を対
応するビット間で任意のビット数について比較照合しそ
の一致・不一致を、データの転送周期で逐次判定して不
一致が生じた場合に異常像@16を発生する比較照合判
定部5で構成される。
In FIG. 1(a), the data transfer abnormality detector 2 of the present invention measures the time until the response clock 13 is returned with respect to the reference clock 12, corrects the time difference, and makes the corresponding change timing constant. a timing corrector 3 that generates a corrected reference clock 31 equivalent to the reference clock 12 and a corrected response clock 32 equivalent to the response clock 13, which are regulated within time; and a corrected reference clock generated by the timing corrector 3. 31
and correction response clock 32 separately and output each counted value as a pair, and a counting unit 4 that compares and collates the pair of counted values with respect to an arbitrary number of bits between corresponding bits, and calculates the match/mismatch in the data. It is comprised of a comparison and verification determination section 5 that sequentially performs determination at the transfer cycle and generates an abnormal image @16 when a mismatch occurs.

第1図(a)、 (b)においで、タイミング矯正部3
は基準クロック12に対して応答クロック13が返送さ
れてくるまでの遅延時間を測定しその時間差を矯正して
互いの対応する変化タイミングを一定時間内に規制され
た基準クロック12と等価な矯正基準クロック31およ
び応答クロック13と等価な矯正応答クロック32を発
生する。
In FIGS. 1(a) and (b), the timing correction section 3
measures the delay time until the response clock 13 is returned from the reference clock 12, corrects the time difference, and sets the corresponding change timing to a correction standard equivalent to the reference clock 12 regulated within a certain time. A correction response clock 32 equivalent to clock 31 and response clock 13 is generated.

計数部4は制御信号15の指定に従い矯正基準クロック
31および矯正応答クロック32を各々別に計数し、矯
正基準クロック31の計数値41および矯正応答クロッ
ク32の計数値42を比較照合判定部5へ出力する。ま
た制御信号15の指定でその計数値を初期化lる。
The counting unit 4 counts the correction reference clock 31 and the correction response clock 32 separately according to the designation of the control signal 15, and outputs the count value 41 of the correction reference clock 31 and the count value 42 of the correction response clock 32 to the comparison comparison determination unit 5. do. Further, the count value is initialized by specifying the control signal 15.

矯正基準クロック31と矯正応答クロック32はほぼ同
タイミングで変化するように矯正されており、S1数部
4の出力する一対の旧教値41と計数値42も同じタイ
ミングで変化する。比較照合判定部5はit数値41と
計数値42を矯正基準クロック31に同期したタイミン
グで逐次比較照合し不一致を検出するとただちに異常像
@16をアクティブにしデータ転送制御部1へ報告する
。またタイミング矯正部3において、基準クロック12
に対する応答クロック13の遅れがタイミング矯正部3
の能力を越えた場合や全く応答クロック13の返送が無
かった場合に無応答異常信号33を発生して警告する。
The correction reference clock 31 and the correction response clock 32 are corrected so that they change at approximately the same timing, and the pair of old teaching value 41 and count value 42 output from the S1 number section 4 also change at the same timing. The comparison/verification/judgment unit 5 successively compares the IT numerical value 41 and the count value 42 at a timing synchronized with the correction reference clock 31, and upon detecting a mismatch, immediately activates the abnormality image @16 and reports it to the data transfer control unit 1. In addition, in the timing correction section 3, the reference clock 12
The delay of the response clock 13 to the timing corrector 3
If the capacity of the clock is exceeded or if no response clock 13 is returned at all, a no-response abnormality signal 33 is generated to issue a warning.

比較照合判定部5は計数値41.42の不一致による異
常に加え無応答異常像@33を受けた場合も異常像@1
6をアクティブにしてデータ転送制御部1へ報告する。
In addition to the abnormality due to the discrepancy of the count value 41.42, the comparison verification determination unit 5 also detects the abnormal image @1 when receiving the no-response abnormal image @33.
6 becomes active and reports to the data transfer control unit 1.

第4図はタイミング矯正部3の一実施例を示す。FIG. 4 shows an embodiment of the timing corrector 3. As shown in FIG.

本実施例では基準クロック12に対する応答クロック1
3の遅延時間を測定するのにデータ転送制御部が基準ク
ロック12のタイミングを制御する基としている基準ク
ロック12の4倍の周波数の制御用クロックである。制
御部@15bを時間ベースとして用いている。Dタイプ
F/F301〜306は制御信号15bで動作するシフ
トレジスタ回路で、基準クロック12をシフトする。基
準クロック12の周期をtcとしたときDタイプF/F
301〜306にはその番号順に基準クロック12に対
し1/4fcずつ遅れを増した遅延基準クロックが出力
される。アンドゲート315〜319は基準クロック1
2の発送開始点を起点として11/d tc間を1/4
tcに分割してアンドゲート315〜319の番号順に
1/dtC幅のウィンドを開く。これらアンドゲート3
15〜319の出力はDタイプF/F308〜312の
D入力となる。基準クロック12に対し応答クロック1
3が返送されてきたとき、DタイプF/F307は応答
クロック13が到達と同時にセットし、転送終了までそ
の状態を保持する。DタイプF/F307の出力の立ら
上がりは応答クロック13の到達点を示しその出力をD
タイプF/F308〜312のC入力にして前述のアン
ドゲート315〜319で設定されたウィンドの状態を
取り込む。したがって、応答クロック13が到達したと
きDタイプF/F30a〜312のうちでD入力のウィ
ンドが開かれていたF/F 、すなわち基準クロック1
2に対する応答クロック13の遅れに対応したF/Fが
セットされる。DタイプF/F308〜312のいずれ
かがセットされると、アンドゲート320〜324およ
びオアゲート325でそのセットされたF/Fすなわち
応答クロックの遅れに応じた遅延クロックを前述のDタ
イプF/F301〜306の出力から選択して矯正基準
クロック31として出力する。この矯正基準クロック3
1はタイミング矯正部を構成する回路素子の動作バラツ
キを吸収するため、応答クロック13に対し1/4tc
〜1/2tC遅れた遅延基準クロックが選ばれる。した
がって、その差を縮めるためデイレーライン314で応
答クロック13を遅らせ矯正応答クロック32とする。
In this embodiment, the response clock 1 to the reference clock 12 is
This control clock has a frequency four times that of the reference clock 12 on which the data transfer control section controls the timing of the reference clock 12 in order to measure the delay time of No. 3. The control unit @15b is used as a time base. The D-type F/Fs 301 to 306 are shift register circuits operated by the control signal 15b, and shift the reference clock 12. When the period of the reference clock 12 is tc, D type F/F
Delayed reference clocks having a delay of 1/4 fc relative to the reference clock 12 are output to 301 to 306 in numerical order. AND gates 315 to 319 are reference clock 1
Starting from the shipping start point of 2, 1/4 between 11/d tc
tc and opens a 1/dtC width window in numerical order of AND gates 315 to 319. These and gate 3
Outputs 15 to 319 become D inputs of D type F/Fs 308 to 312. Response clock 1 for reference clock 12
When 3 is returned, the D type F/F 307 is set at the same time as the response clock 13 arrives, and maintains this state until the end of the transfer. The rise of the output of the D type F/F 307 indicates the arrival point of the response clock 13, and the output is
The window states set by the aforementioned AND gates 315 to 319 are input to the C inputs of the type F/Fs 308 to 312. Therefore, when the response clock 13 arrives, the F/F whose D input window is open among the D type F/Fs 30a to 312, that is, the reference clock 1
The F/F corresponding to the delay of the response clock 13 with respect to 2 is set. When any of the D-type F/Fs 308 to 312 is set, the AND gates 320 to 324 and the OR gate 325 convert the set F/F, that is, the delay clock according to the delay of the response clock, to the D-type F/F 301 described above. 306 is selected and outputted as the correction reference clock 31. This correction reference clock 3
1 is 1/4tc with respect to the response clock 13 in order to absorb the operation variations of the circuit elements that constitute the timing correction section.
A delayed reference clock delayed by ~1/2tC is selected. Therefore, in order to reduce the difference, the response clock 13 is delayed by the delay line 314 to become the correction response clock 32.

3/8tc遅らせることにより対応する変化タイミング
のずれが±1/8tCmaXに納まった矯正基準クロッ
ク31と矯正応答クロック32を(写ることができる。
By delaying by 3/8tc, it is possible to obtain the correction reference clock 31 and correction response clock 32 in which the difference in the corresponding change timing is within ±1/8tCmaX.

第5図に基準クロック12に対し1/2tC〜3/8t
cの範囲内の遅れで応答クロック13が返送されてさた
ときの動作例を示す。第4図の実施例の矯正能力は基準
クロック12に対する応答クロック13の遅れが117
4tcまででそれを越えたときは最後のウィンドが閉じ
るときにもDタイプF/F307がセラ1〜されてなく
最後のウィンドが閉じるタイミングでアンドゲート32
6の出力がアクティブとなってそのときの制御信号15
aでDタイプl”/F313がセットされる。その出力
を無応答異常信号33とする。34〜38はアンドゲー
ト32o〜323の出力信号を示す。第4図の実施例で
は矯正能力は11/4 tc遅れまでであるが同様の構
成でシフトレジスタの段数、ウィンドの数2選択ゲート
の数を増やすことで遅れに対する矯正能力を向上するこ
とができる。
Figure 5 shows 1/2tC to 3/8t with respect to the reference clock 12.
An example of the operation when the response clock 13 is returned with a delay within the range of c is shown. The correction ability of the embodiment of FIG. 4 is such that the delay of the response clock 13 with respect to the reference clock 12 is 117.
When it is up to 4tc and exceeds it, D type F/F307 is not set to Sera 1~ even when the last window closes, and AND gate 32 is activated at the timing when the last window closes.
When the output of 6 becomes active, the control signal 15 at that time
D type l"/F313 is set at a. Its output is the no-response abnormal signal 33. 34 to 38 indicate the output signals of the AND gates 32o to 323. In the embodiment shown in FIG. 4, the correction ability is 11. Although the delay is up to /4 tc, the ability to correct the delay can be improved by increasing the number of shift register stages, the number of windows, and the number of selection gates with the same configuration.

また時間ベースとした制御信号15bのクロック周期を
短くすれば矯正精度を向上することができる。第6図は
計数部4および比較照合判定部5の一実施例である。計
数部4は一般的な4ビツトのバイナリカウンタ401お
よび402で構成し、バイナリカウンタ401は矯正基
準クロック31クロツク数を、またバイナリカウンタ4
02は矯正応答クロック32のクロック数をO〜15の
間で繰返し計数する。
Further, the correction accuracy can be improved by shortening the clock cycle of the time-based control signal 15b. FIG. 6 shows an embodiment of the counting section 4 and the comparing and matching determining section 5. The counting unit 4 is composed of general 4-bit binary counters 401 and 402, and the binary counter 401 measures the number of clocks of the correction reference clock 31, and the binary counter 4
02 repeatedly counts the number of clocks of the correction response clock 32 between 0 and 15.

本発明の構成では転送りロックの総数を比較する必要は
なく1ビツトだけでも異常検出は可能であるが、第6図
の実施例では余分な応答に対する検出不能条件(基準ク
ロック1個に対し応答クロックが計数周期×n+1個で
ある)の確率を実際上無くすため、下位2ビツトを比較
対象としバイナリカウンタ401の計数値旧の2°ビツ
ト41aと21ビツト41bおよびバイプリカウンタ4
02の計数値42の2 ビット42aと21ビツト42
bが比較照合判定部5へ送られる。また制御信号15a
が無効になると計数値は初期化され計数は行われない。
In the configuration of the present invention, it is not necessary to compare the total number of transfer locks and it is possible to detect an abnormality with just one bit. However, in the embodiment shown in FIG. In order to practically eliminate the probability that the clock is counting period x n + 1, the lower 2 bits are compared and the old 2° bits 41a and 21 bits 41b of the binary counter 401 count value and the biprecounter 4 are compared.
Count value 42 of 02 bit 42a and 21 bit 42
b is sent to the comparison/verification/judgment section 5. Also, the control signal 15a
When becomes invalid, the count value is initialized and no counting is performed.

比較照合判定部5において2個のイタスクルーシブオア
グート501と502およびオアゲート503は2つの
計数値の2 ビット41aと20ビツト42bおよび2
 ビット41b゛と21ビツト42bの一致をみる論理
を構成し不一致が生じたとき不一致信号51がアクティ
ブになる。インバータ504とDタイプF/F505は
計数値が安定し不一致信@51が確定したタイミングで
取り込み波形整形した不一致異常信号52を作る。オア
ゲート506は不一致異常信号52と前述のタイミング
矯正部で発生する無応答異常信号33のいずれかでもア
クティブになれば異常信号16をアクティブにして前述
のデータ転送制御部1へ報告する。第7図(a)、 (
b)に本実施例において応答が不足した場合および余分
な応答があった場合の動作を示す。
In the comparison/verification/judgment section 5, the two ita exclusive OR gates 501 and 502 and the OR gate 503 are the 2 bits 41a, 20 bits 42b and 2 of the two count values.
A logic is constructed to check whether bit 41b and 21 bit 42b match, and when a mismatch occurs, a mismatch signal 51 becomes active. The inverter 504 and the D-type F/F 505 generate a mismatch abnormality signal 52 which is taken in and shaped into a waveform at a timing when the count value is stable and the mismatch signal @51 is established. The OR gate 506 activates the abnormality signal 16 and reports it to the data transfer control section 1 when either the mismatch abnormality signal 52 or the non-response abnormality signal 33 generated in the timing correction section described above becomes active. Figure 7(a), (
b) shows the operation when there is a shortage of responses and when there is an extra response in this embodiment.

[発明の効果] 以上説明したように本発明は基準クロックと応答クロッ
クを等価で同タイミングで変化するように矯正した矯正
基準クロックおよび矯正応答クロックを発生し、それら
を計数比較対象とし、また矯正基準クロックを比較タイ
ミングクロックとして使用することにより相手装置の処
理能カヤ転送距離で基準クロックに対する応答クロック
の返送までの遅れ時間が異っても、データ転送中にタイ
ミンクの不具合を生じたとき速やかに異常を検知できる
効果がある。
[Effects of the Invention] As explained above, the present invention generates a corrected reference clock and a corrected response clock in which the reference clock and the response clock are corrected so that they are equivalent and change at the same timing, and uses them as targets for counting and comparison. By using the reference clock as a comparison timing clock, even if the delay time from the reference clock to the return of the response clock differs depending on the processing capacity of the other device and the transfer distance, it can be quickly resolved when a timing problem occurs during data transfer. It has the effect of detecting abnormalities.

したがって、従来のように異常発生から検知までに大き
な時間遅れがなく異常発生後の無駄なデータ転送を省く
ことができる効果がある。
Therefore, there is no large time delay between the occurrence of an abnormality and the detection of the abnormality as in the conventional case, and there is an effect that unnecessary data transfer after the occurrence of an abnormality can be omitted.

また計数値の比較対象ビットが同数ビットの場合は検出
不能になる確率を極めて低くすることができる効果があ
る。
Furthermore, when the number of bits to be compared in the count values is the same, there is an effect that the probability of failure to be detected can be extremely reduced.

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

第1図(a)は本発明の構成を示す機能ブロック図、第
1図(b)は動作タイミングチャート図、第2図(a)
、 (b)はハーフインクロック方式のデータ転送タイ
ミングの説明図、第3図(a)は従来のデータ転送異常
検出器の機能ブロック図、第3図(b)、(C)は動作
タイミングチャート図、第4図は本発明のデータ転送異
常検出器のタイミング矯正部の一実施例を示すブロック
図、第5図は第4図のタイミング矯正部の動作例のタイ
ミングチr −ト図、第6図は本発明のデータ転送異常
検出器の計数部および比較照合判定部の一実施例を示す
ブを検知したときの動作タイミングチャート図であ二る
。 301〜313.505・・・Dタイプフリップフロッ
プ314・・・デイレーライン 315〜324・・・3人カアンドゲート325・・・
5人力オアゲート 326・・・アンドゲート 401、402・・・4ビツトバイナリカウンタ501
、502・・・イタスクルーシブオアグート503、5
06・・・オアゲート 504・・・インバータ
FIG. 1(a) is a functional block diagram showing the configuration of the present invention, FIG. 1(b) is an operation timing chart, and FIG. 2(a)
, (b) is an explanatory diagram of the data transfer timing of the half-in clock method, Figure 3 (a) is a functional block diagram of a conventional data transfer abnormality detector, and Figures 3 (b) and (C) are operation timing charts. 4 is a block diagram showing an embodiment of the timing correction section of the data transfer abnormality detector of the present invention, and FIG. 5 is a timing diagram of an example of the operation of the timing correction section of FIG. FIG. 6 is an operation timing chart diagram illustrating an embodiment of the counting section and comparison/verification/judgment section of the data transfer abnormality detector of the present invention when detecting an error. 301-313.505...D type flip-flop 314...Delay line 315-324...3-person gate 325...
5-man power OR gate 326...And gate 401, 402...4-bit binary counter 501
, 502... Ita exclusive or gout 503, 5
06...OR gate 504...Inverter

Claims (1)

【特許請求の範囲】[Claims] (1)他装置との間のデータ転送をハーフインタロック
方式で行い、その転送タイミングを支配する側にあつて
、データ転送の基準となる一定周期の基準クロックを発
送し、それに呼応して返送される同周期の応答クロック
を受けてデータ転送を制御する装置のデータ転送制御部
に付加し、データ転送制御部からの制御信号で動作する
データ転送異常検出器において、 基準クロックに対して応答クロックが返送されるまでの
時間を測定しその時間差を矯正して互いに対応する変化
タイミングが一定時間内に規制された、基準クロックと
等価な矯正基準クロック及び応答クロックと等価な矯正
応答クロックを発生するタイミング矯正部と、 上記タイミング矯正部で発生される矯正基準クロックと
矯正応答クロックをそれぞれ別に計数し各々の計数値を
対で出力する計数部と、 上記一対の計数値を対応するビット間で任意のビット数
について比較照合し、その一致・不一致をデータの転送
周期で逐次判定して不一致が生じた場合に異常信号を発
生する比較照合判定部とを有することを特徴とするデー
タ記録装置のデータ転送異常検出器。
(1) Data transfer with other devices is performed using a half-interlock method, and the side that controls the transfer timing sends a reference clock with a fixed cycle that serves as the reference for data transfer, and returns it in response. In a data transfer abnormality detector that is attached to the data transfer control section of a device that controls data transfer in response to a response clock of the same cycle as that of Measures the time until the clock is returned and corrects the time difference to generate a corrected reference clock equivalent to the reference clock and a corrected response clock equivalent to the response clock, whose corresponding change timings are regulated within a certain time. a timing correction section; a counting section that separately counts the correction reference clock and the correction response clock generated in the timing correction section and outputs each count value as a pair; A comparison and verification determination section that compares and verifies the number of bits of the data, sequentially determines whether or not they match in a data transfer cycle, and generates an abnormal signal when a discrepancy occurs. Transfer anomaly detector.
JP62-158249A 1987-06-25 Data transfer abnormality detector of data recording device Pending JPH012157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62-158249A JPH012157A (en) 1987-06-25 Data transfer abnormality detector of data recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62-158249A JPH012157A (en) 1987-06-25 Data transfer abnormality detector of data recording device

Publications (2)

Publication Number Publication Date
JPS642157A JPS642157A (en) 1989-01-06
JPH012157A true JPH012157A (en) 1989-01-06

Family

ID=

Similar Documents

Publication Publication Date Title
JPH012157A (en) Data transfer abnormality detector of data recording device
JPH01205237A (en) Synchronous function failure detection
JPH0553945A (en) In-vehicle serial data communication system
JP3629825B2 (en) Sampling synchronization monitoring system for digital relay
JPS5831525B2 (en) A-D
JP3282114B2 (en) Clock tuning method
JPH0348718Y2 (en)
JPS63275074A (en) Detector for data transfer abnormality of data recorder
US20060097756A1 (en) Duty distortion detector
JPH0420138A (en) Serial data transmission system
JPS6340509B2 (en)
SU1239857A1 (en) Counting device with check
JPS5918897B2 (en) Transmission result determination device at transmitting station
JPS606143B2 (en) Input data state change detection circuit
SU1249591A1 (en) Storage with self-checking
JPS6111771Y2 (en)
JPS5827247A (en) Logical device
JPS5848149A (en) Fault detection system of multiprocessing system
JPS5856139B2 (en) Error detection method
JPH0120393B2 (en)
JPH0587522A (en) Signal-detection device
JPH0392016A (en) Parity circuit
JPS63126041A (en) Signal input device
JP2001094612A (en) Storage data amount monitor circuit
JPS6028876A (en) Sorting system of conveyed matter