JPS63226754A - Bus data error detecting system - Google Patents

Bus data error detecting system

Info

Publication number
JPS63226754A
JPS63226754A JP62061471A JP6147187A JPS63226754A JP S63226754 A JPS63226754 A JP S63226754A JP 62061471 A JP62061471 A JP 62061471A JP 6147187 A JP6147187 A JP 6147187A JP S63226754 A JPS63226754 A JP S63226754A
Authority
JP
Japan
Prior art keywords
data
bus
transmission
transmitted
error
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
JP62061471A
Other languages
Japanese (ja)
Inventor
Satoshi Takeda
聡 竹田
Hiroshi Takeo
竹尾 浩
Hiroshi Nakade
浩志 中出
Hiroshi Yamazaki
博 山崎
Norihisa Miura
三浦 紀久
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62061471A priority Critical patent/JPS63226754A/en
Publication of JPS63226754A publication Critical patent/JPS63226754A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To execute sure data transmission by comparing data outputted from a transmission part with data transmitted to a bus and adding a bit indicating whether the data from the transmission part are correctly transmitted or not to the final bit of transmission data. CONSTITUTION:Data from plural transmission parts connected to the bus 1 is held in a holding means 3 and is sent to the bus 1 through a gate switch 2 in accordance with a clock generated from a timing signal generating part 6. A comparator 4 compares the data held in the holding means 3 with the data sent to the bus 1 based on the clock 6, detects the existence of an error in accordance with the coincidence or noncoincidence between both the data, and outputs the detected result to an output part 5. The output part 5 adds a bit indicating the existence of a data error to the final bit of transmission data. The receiving side decides the validity/invalidity of data based on the final bit. Thus, sure data transmission can be attained by a simple device.

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術 (第4図) 発明が解決しようとする問題点 問題点を解決するための手段 (第1図)作用 実施例 (第2図、第3図) 発明の効果 〔概要〕 複数個の送信部を共通のバスに接続したバス形式のデー
タ伝送システムにおいて、送信すべきデータが正しくバ
ス上に出力されたか否かを検知し、また、その結果を送
信データの最終ビットとして送信データと共に送り、受
信側でのデータの有効・無効の判定を容易とすること。
[Detailed description of the invention] [Table of contents] Overview Industrial field of application Prior art (Figure 4) Problems to be solved by the invention Means for solving the problems (Figure 1) Working examples (Figure 1) (Figures 2 and 3) Effects of the invention [Summary] In a bus-type data transmission system in which a plurality of transmitters are connected to a common bus, it is possible to detect whether or not data to be transmitted is correctly output onto the bus. In addition, the result is sent together with the transmission data as the final bit of the transmission data, so that it is easy to determine whether the data is valid or invalid on the receiving side.

〔産業上の利用分野〕[Industrial application field]

本発明は、複数のインターフェース部からのデータをバ
スに送り出し、このバスによってデータを伝送するバス
形式データ伝送におけるバスデータエラー検出方式に関
する。
The present invention relates to a bus data error detection method in bus-type data transmission in which data from a plurality of interface units is sent out to a bus and data is transmitted via this bus.

複数の送信部からのデータを1個の受信部に伝送する場
合、各送信部を直接受信部に結ぶ方式の外、各送信部の
データを共通の伝送線であるバスに接続し、このバスを
受信部に接続するバス形式のデータ伝送方式がある。後
者のバス形式のデータ伝送方式は、遠距離にある送信部
を受信部に結ぶ場合、比較的簡単な構成でデータ伝送が
可能であり、多用されている。
When transmitting data from multiple transmitters to a single receiver, in addition to connecting each transmitter directly to the receiver, the data from each transmitter is connected to a bus, which is a common transmission line. There is a bus-type data transmission system that connects the receiver to the receiver. The latter bus-type data transmission method is widely used because it allows data transmission with a relatively simple configuration when connecting a transmitting section located far away to a receiving section.

しかしながら、バスに接続された送信部のうちの1つを
系に挿入したり又は切る時等に、他の送信部出力データ
に悪影響を与えることがあり、このため、正しくデータ
がバス上に送り出されているか否かを知る必要があり、
そのための方式が要望されている。
However, when one of the transmitters connected to the bus is inserted into or disconnected from the system, it may have an adverse effect on the output data of the other transmitters, so that the data is not correctly sent onto the bus. It is necessary to know whether
There is a need for a method for this purpose.

〔従来の技術〕[Conventional technology]

第4図は、バス形式の伝送システムにおける送出データ
のチェックを行うための従来例である。
FIG. 4 shows a conventional example for checking sent data in a bus-type transmission system.

第4図(A)は、システムの全体図を示し、第4図(B
)は、一部を詳細に示したものである。
Figure 4 (A) shows the overall system diagram, and Figure 4 (B) shows the overall system diagram.
) shows some details.

同図において、複数個の送信部1、送信部2、・−送信
部nは、バス40を介して受信部41に接続されている
In the figure, a plurality of transmitting sections 1, 2, . . . - transmitting section n are connected to a receiving section 41 via a bus 40.

送信部42は、第4図(B)に示すように、CRC演算
部45、を有しており、図中(A)として示す送信デー
タに対して図中CB)として示すCRC誤りチェックビ
ットを有するデータに交換し、これをバッファ43を介
してバス40に送り出している。CRC演算(Chec
k Redundancy Code演算)は、データ
A1、A2、A3に所定の論理演算をすることによって
得られるものである。
As shown in FIG. 4(B), the transmitting unit 42 has a CRC calculation unit 45, which calculates a CRC error check bit shown as CB in the figure for the transmission data shown as (A) in the figure. The data is exchanged with the data that it has, and sent to the bus 40 via the buffer 43. CRC operation (Check
k Redundancy Code operation) is obtained by performing a predetermined logical operation on data A1, A2, and A3.

即ち、例えば、データA1、A2、A3を用いて所定の
論理演算を行いCRCIを得、そして、これらのビット
CRC1、データA1、A2、A3の後に追加する。こ
の論理演算は特に指定されるものではないが、予め決め
られたものである。
That is, for example, a predetermined logical operation is performed using data A1, A2, and A3 to obtain CRCI, and the CRCI is added after these bits CRC1, data A1, A2, and A3. This logical operation is not particularly specified, but is predetermined.

データA1、A2、A3に対してと同様、データB1、
B2、B3に対しても所定の論理演算を行って、CRC
2を得る。この、CRC2をデータB1、B2、B3の
後に挿入してバス40に送り出し、このバス40を経由
して受信部41に伝送する。
Similarly to data A1, A2, A3, data B1,
A predetermined logical operation is also performed on B2 and B3, and the CRC
Get 2. This CRC2 is inserted after the data B1, B2, and B3, sent out to the bus 40, and transmitted to the receiving section 41 via this bus 40.

受信部41において、データ(B)は、バッファ46を
介してCRC演算部47に送られる。CRC演算部47
では、データ〔B〕中のA1、A2、A3、B1、B2
、B3を用いて、送信部のCRC演算と同じ論理演算を
行い、これを受信したデータ中のCRC誤りチェックビ
ットと比較する。その結果、両者に差があれば、誤りが
あったことになり、差がなければ、誤りがなかったこと
になる。
In the receiving section 41 , the data (B) is sent to the CRC calculating section 47 via the buffer 46 . CRC calculation section 47
Then, A1, A2, A3, B1, B2 in data [B]
, B3, performs the same logical operation as the CRC operation of the transmitter, and compares it with the CRC error check bit in the received data. As a result, if there is a difference between the two, it means that there was an error, and if there is no difference, it means that there was no error.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

この従来技術によってもバス上に出力されたデータが正
しいものであるかどうかをチェックすることができるが
、そのためには、CRC演算、CRCチェックピットの
比較等複雑な処理が必要であるという問題点を有してい
る。
Although it is possible to check whether the data output on the bus is correct using this conventional technology, the problem is that it requires complex processing such as CRC calculation and CRC check pit comparison. have.

また、送出データ毎の誤りをチェックするためには送出
データ単位でのCRC演算が必要であり、かつデータに
数ビットのCRCチェックビットを付加しなければなら
ず、伝送効率が悪いという問題点を有する。
In addition, in order to check for errors in each transmitted data, a CRC calculation is required for each transmitted data, and several CRC check bits must be added to the data, which solves the problem of poor transmission efficiency. have

〔問題点を解決するための手段〕[Means for solving problems]

第1図は、この発明の原理を示す図である。図において
、1はバスであり、多数の送信部がこのバスに接続され
、データが伝送されるが、この第1図では、以下に説明
する1個の送信部が記載されている。送信部は、伝送す
べきデータを1時保持する保持手段3、ゲートスイッチ
2、タイミング信号発生部6、比較回路4、出力部5を
有している。
FIG. 1 is a diagram showing the principle of the invention. In the figure, 1 is a bus, and a large number of transmitters are connected to this bus to transmit data, but in FIG. 1, one transmitter, which will be explained below, is shown. The transmitting section includes a holding means 3 for temporarily holding data to be transmitted, a gate switch 2, a timing signal generating section 6, a comparison circuit 4, and an output section 5.

伝送すべきデータは、保持手段3、ゲートスイッチ2を
介してバスlに伝送されることになる。
The data to be transmitted will be transmitted to the bus l via the holding means 3 and the gate switch 2.

このとき、保持手段3からのデータと、バス1上のデー
タとを比較し、正しいデータがバス上に送り出されてい
るかをチェックする。正しいデータが送り出されていな
いときには、出力部5を介してデータエラー有信号(L
レベル)を出力し、正しいデータが送り出されていると
きには、データエラー無信号(Hレベル)を出力する。
At this time, the data from the holding means 3 and the data on the bus 1 are compared to check whether the correct data is being sent onto the bus. When correct data is not sent out, a data error signal (L
When correct data is being sent out, a no data error signal (H level) is output.

そして、このデータエラー有無信号をデータの最後に添
付して送る。受信側では、データエラー有無信号の有無
を検出してデータの有効・無効を判定する。
Then, this data error presence/absence signal is attached to the end of the data and sent. On the receiving side, the presence or absence of a data error signal is detected to determine whether the data is valid or invalid.

〔作用〕[Effect]

このようにしてこのデータエラー有無信号をデータ毎に
最終ビットとして付加することができるので、受信側で
は何の処理もなくデータの有効・無効が判定できる。
In this way, the data error presence/absence signal can be added as the final bit to each data, so that the receiving side can determine whether the data is valid or invalid without any processing.

〔実施例〕〔Example〕

第2図は、この発明の実施例である。図において、冬は
バスであり、このバスには複数個の送信部が接続される
。第2図では、1個の送信部のみが示されているが、通
常は、これと同様の送信部が多数接続されていることに
なる。
FIG. 2 shows an embodiment of the invention. In the figure, winter is a bus, and a plurality of transmitters are connected to this bus. Although only one transmitter is shown in FIG. 2, normally many transmitters similar to this will be connected.

送信部は、D−FF (Dフリップ・フロップ)7、ゲ
ートスイッチ2を有し、出力したいデータはD−FF7
のD端子に入力される。D−FF7のQ端子からクロッ
クに同期してデータを取出し、さらに、タイミング信号
発生部6からのタイミング信号によってゲートスイッチ
2を開とし、バス上にデータを送出する。
The transmitter has a D-FF (D flip-flop) 7 and a gate switch 2, and the data to be output is sent to the D-FF 7.
is input to the D terminal of Data is taken out from the Q terminal of the D-FF 7 in synchronization with the clock, and the gate switch 2 is opened by a timing signal from the timing signal generator 6 to send the data onto the bus.

第3図(i)、(11)、(iii )はこの動作を表
す。即ち、(i)のクロックに対し、(ii )に表す
出力したいデータ例えばrl O110Jを同期して、
D−FF7より出力し、さらに、これを(iii )に
示すタイミング■の信号によって開とされたゲートスイ
ッチ2を経由してバス1に出力する。
FIGS. 3(i), (11), and (iii) represent this operation. That is, synchronize the data shown in (ii) that you want to output, such as rl O110J, with the clock in (i),
The signal is outputted from the D-FF7, and further outputted to the bus 1 via the gate switch 2, which is opened by the signal at timing (3) shown in (iii).

NANDゲート9は、D−FF7の出力と、ゲートスイ
ッチ2を経由してバス1に送出されたデータとが一致し
ているかどうかを検出する比較回路として働く。今、N
AND9の3つの入力■、■、■が、第2図に示すとお
りそれぞれ、■:D−FF7の出力、■:タイミング信
号■からの論理値、■=ババスに送出されたデータをイ
ンバータ11で反転したものとすると、それぞれのデー
タは第3図(v)に示すようになる。NANDは全入力
が「1」のときOとなるが、入力■に対し、バス1への
出力が正しい時、入力■は常に、■と逆の値とな″るこ
とは明らかである。従ってD−FF7からバスlへの入
力部までが正しく動作している時は、NAND9の出力
は常に「1」となり、誤りがあったときはNAND9の
出力はrOJとなる。
The NAND gate 9 functions as a comparison circuit that detects whether the output of the D-FF 7 and the data sent to the bus 1 via the gate switch 2 match. Now, N
As shown in FIG. 2, the three inputs of the AND9, ■, ■, and ■, respectively: ■: the output of the D-FF7, ■: the logical value from the timing signal ■, and ■= the data sent to the Babasu, are sent to the inverter 11. When it is inverted, each data becomes as shown in FIG. 3(v). NAND becomes O when all inputs are "1", but it is clear that when the output to bus 1 is correct for input ■, input ■ will always have the opposite value to ■. When the input section from D-FF7 to bus l is operating correctly, the output of NAND9 is always "1", and when there is an error, the output of NAND9 is rOJ.

D−FF8及びゲートスイッチ12は、NAND9から
の誤りの有無を示す情報を受け、これをデータ毎に最終
ビットとして付加する回路として動作する。
The D-FF 8 and the gate switch 12 operate as a circuit that receives information indicating the presence or absence of an error from the NAND 9 and adds this information as the final bit to each data.

第3図(傾)において、タイミング■によってゲートス
イッチ2が開となったとき、データ■(1,2,3,4
,5、)がバス1に出力される。
In Fig. 3 (tilt), when gate switch 2 is opened at timing ■, data ■ (1, 2, 3, 4
,5,) are output to bus 1.

D−FF8では、NAND9からの情報を受け、クロッ
クに同期して、これをゲートスイッチ12に出力する。
The D-FF 8 receives information from the NAND 9 and outputs it to the gate switch 12 in synchronization with the clock.

ゲートスイッチ12は、タイミング信号発生部6からの
タイミング■を受けて、丁度データ■の最終ビットにな
るようにNAND9からの誤り有無情報Eを付加する。
The gate switch 12 receives the timing ■ from the timing signal generator 6 and adds the error presence information E from the NAND 9 so that it is exactly the last bit of the data ■.

同様の動作をバス1に接続された他の送信部(第3図(
viii)に示す第2CH)からのデータについて行う
Similar operations are performed by other transmitters connected to bus 1 (see Figure 3).
This is performed for the data from the second CH shown in viii).

これらの、(vj)、(vFs )に示すデータをバス
上で統合すると、第3図(ix )に示すようなデータ
となることが判る。
It can be seen that when these data shown in (vj) and (vFs) are integrated on the bus, the data shown in FIG. 3 (ix) is obtained.

なお、前述のとおり、誤り有無情報Eは、データ正常時
rlJ(High  レベル)、データエラー検出時r
OJ(Lowレベル)となるように選んでおくことによ
り、データエラー検出時に他回路からの影響で旧gh 
 レベルに移行することのないようにしておく。なお前
記の如<D−FF8で保持された誤り有無情報Eは、次
の初めまでにタイミング信号発生部6からのクリア信号
によりクリアされる。
As mentioned above, the error presence/absence information E is rlJ (High level) when data is normal and rlJ (High level) when data error is detected.
By selecting OJ (Low level), when a data error is detected, the old gh
level. Note that the error presence/absence information E held by the D-FF 8 as described above is cleared by the clear signal from the timing signal generator 6 by the beginning of the next operation.

〔発明の効果〕〔Effect of the invention〕

以上述べたように、本発明によれは、複雑な工ラーチェ
ックのための処理を行うことなく、しかもデータ毎にエ
ラーの有無を伝送できるので、データ伝送効率をそれ程
低下させることなく、確実なデータ伝送を可能とするこ
とができる。
As described above, according to the present invention, the presence or absence of errors can be transmitted for each data without performing complicated machine check processing. Data transmission may be enabled.

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

第1図は本発明の原理図、 第2図は本発明の実施例、 第3図は動作説明のための波形図、 第4図は従来例を示す図である。 1−バス、    2.12−・ゲートスイッチ3・・
−保持手段、 4−比較回路、 5−出力部、  6−タイミング信号発生部7、8− 
D −F F 。 9− NANDゲート、 10.11−インバータ、
FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is an embodiment of the present invention, FIG. 3 is a waveform diagram for explaining the operation, and FIG. 4 is a diagram showing a conventional example. 1-Bus, 2.12-・Gate switch 3...
- Holding means, 4- Comparison circuit, 5- Output section, 6- Timing signal generation section 7, 8-
D-FF. 9- NAND gate, 10.11- Inverter,

Claims (2)

【特許請求の範囲】[Claims] (1)送信部からのデータをバスに伝送するバス形式の
データ伝送システムにおいて、 比較手段(4)を設けて送信部からのデータとバス上に
伝送されるデータとを比較し、送信部からのデータが正
しく伝送されたか否かを検出することを特徴とするバス
データエラー検出方式。
(1) In a bus-type data transmission system that transmits data from the transmitter to a bus, a comparing means (4) is provided to compare the data from the transmitter and the data transmitted on the bus, and A bus data error detection method is characterized in that it detects whether or not data has been transmitted correctly.
(2)送信部からのデータが正しく伝送されたか否かを
示す情報を送信データの最終ビットとして付加して、こ
れをバス上に伝送することを特徴とする特許請求の範囲
第1項記載のバスデータエラー検出方式。
(2) Information indicating whether or not the data from the transmitter has been correctly transmitted is added as the final bit of the transmitted data, and this is transmitted on the bus. Bus data error detection method.
JP62061471A 1987-03-17 1987-03-17 Bus data error detecting system Pending JPS63226754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62061471A JPS63226754A (en) 1987-03-17 1987-03-17 Bus data error detecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62061471A JPS63226754A (en) 1987-03-17 1987-03-17 Bus data error detecting system

Publications (1)

Publication Number Publication Date
JPS63226754A true JPS63226754A (en) 1988-09-21

Family

ID=13172001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62061471A Pending JPS63226754A (en) 1987-03-17 1987-03-17 Bus data error detecting system

Country Status (1)

Country Link
JP (1) JPS63226754A (en)

Similar Documents

Publication Publication Date Title
JPS63102517A (en) Transmission system for equipment fault signal
EP0130429B1 (en) Failure detection apparatus
JPS63226754A (en) Bus data error detecting system
KR100468887B1 (en) Monitoring System of Serial Data Communication for Signal System of Rail Road
CN207677750U (en) A kind of synchronous code detecting system
JPS6242419B2 (en)
JPS59115648A (en) Circuit for decoding manchester code
JPS5989053A (en) Synchronism error detector
JPH0637738A (en) Data transmission error control system
JPS59158140A (en) Data transmission system
JPH03112240A (en) Line fault detecting method
JPS63148335A (en) Error detector
JPS61101138A (en) Frame synchronizing system
JP2563068Y2 (en) Redundant communication controller
JPS58220546A (en) Digital data transmitting system
JPS58220545A (en) Digital transmitting system
JPH02100549A (en) Transmission control equipment
JPH01248842A (en) Data transmission system
JPS60196027A (en) Time-division multiplex transmission system
JPH06284121A (en) Synchronizing word detection system
CN108306702A (en) A kind of synchronous code detecting system
JPH02240753A (en) Asynchronous communication ic
JPS62213333A (en) Data transmission system
JPH0640318B2 (en) Redundant parallel transmission device
JPH02228748A (en) Data transfer system