JPH03297236A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JPH03297236A
JPH03297236A JP9977190A JP9977190A JPH03297236A JP H03297236 A JPH03297236 A JP H03297236A JP 9977190 A JP9977190 A JP 9977190A JP 9977190 A JP9977190 A JP 9977190A JP H03297236 A JPH03297236 A JP H03297236A
Authority
JP
Japan
Prior art keywords
data
code
bits
signal
error detection
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
JP9977190A
Other languages
Japanese (ja)
Inventor
Junichiro Matsui
淳一郎 松井
Yoshio Tanaka
淑雄 田中
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.)
Japan Aviation Electronics Industry Ltd
Original Assignee
Japan Aviation Electronics Industry 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 Japan Aviation Electronics Industry Ltd filed Critical Japan Aviation Electronics Industry Ltd
Priority to JP9977190A priority Critical patent/JPH03297236A/en
Publication of JPH03297236A publication Critical patent/JPH03297236A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To realize a high error check capability by providing an error check function employing an error check code, converting an m-bit data into an n-bit according to a coding rule of one to one correspondence and transferring the data as an mBnB block processing code so as to check an error. CONSTITUTION:An error check code generating circuit 11 receives signals 101,102 to obtain a 1st code employing exclusive-OR of all bits and a 2nd code employing exclusive-OR of optional two-bits, and outputs an error check signal 103. Flip-flop circuits 13-15 receive a clock signal 104 from a timing generating circuit 16 and output respectively error check signals 106,107,108 synchronously with signals 101-103. A frame data generating circuit 12 receives the signal 104 and outputs a frame data 105 synchronously with the signals 106-108. A time division multiplex circuit 17 receive the signals 105-108 and outputs a multiplex signal 111. An mBnB block code processing circuit 18 converts the 4-bit signal 111 into a 5-bit multiplex signal 112 and the signal 112 is transmitted as a transmission signal of this data transmission system.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は伝送中に発生する誤りを検出する機能を備える
データ伝送方式に関し、特に誤り検出符号による誤り検
出機能とmビットでなるデータを1対1対応の符号化規
則によりnビットに変換してmBnBブロック化符号と
して伝送して誤りを検出する機能とを備えるデータ伝送
方式に関する。
Detailed Description of the Invention (Industrial Application Field) The present invention relates to a data transmission system that has a function of detecting errors that occur during transmission, and in particular, the present invention relates to a data transmission system that has a function of detecting errors that occur during transmission. The present invention relates to a data transmission system having a function of detecting errors by converting into n bits according to a one-to-one encoding rule and transmitting the data as an mBnB blocking code.

(従来の技術) 従来、伝送中に発生する誤りを検出する2値信号のデー
タ伝送方式は種々のものが考えられており、特に゛高速
光伝送においてはmBnBブロック化符号全符号nは2
以上の整数でmはnより小さい)を用いて誤りを検出す
るデータ伝送方式がある。このデータ伝送方式は原信号
のmビットでなる各データを1対1対応の符号化規則に
従ってnビットに変換してmBnBブロック化符号全符
号伝送するものである。以下に、m B n Bブロッ
ク化符号を用いるデータ伝送方式について説明する。
(Prior Art) Conventionally, various data transmission systems for binary signals have been considered for detecting errors occurring during transmission. In particular, in high-speed optical transmission, the mBnB blocking code total code n is 2.
There is a data transmission method that detects errors using the above integers, where m is smaller than n. In this data transmission system, each data consisting of m bits of the original signal is converted into n bits according to a one-to-one correspondence encoding rule, and the entire mBnB blocking code is transmitted. A data transmission method using the mBnB blocking code will be described below.

mビットでなるデータの全てのビットパターンにnビッ
トでなる符号を1対1で対応付けると、m<nであるか
らnビットでなる符号には余りのビットパターンが発生
する。そこで送信側においてmビットでなるデータをn
ビットでなる符号に変換して送信し、受信側において受
信しなnビットでなる符号のビットパターンが予め対応
付けしなmビットでなるデータに対応するか否かを判定
し、受信したnビットでなる符号がmビットでなるデー
タに対応するビットパターンであれば伝送誤りのない正
常な伝送データとし、受信したnビットでなる符号がm
ビットでなるデータに対応しないビットパターンであれ
ば伝送誤りのある伝送データとするデータ伝送方式であ
る。このmBnBブロック化符号全符号mとnとを適当
に選ぶことにより、伝送データおよび伝送装置に適した
高い伝送効率特性を持たせることができる。また伝送装
置が比較的簡易であるから、伝送回路に要するコストを
低くすることができる。mBnBブロック化符号全符号
るデータ伝送方式には以上のようなメリットがあるから
広く用いられている。
If all bit patterns of data consisting of m bits are associated with codes consisting of n bits on a one-to-one basis, a surplus bit pattern will be generated in the code consisting of n bits since m<n. Therefore, on the transmitting side, data consisting of m bits is
The received n bits are converted into a code made up of bits and transmitted, and the receiving side judges whether the bit pattern of the code made up of n bits corresponds to data made up of m bits that have not been associated with each other in advance. If the bit pattern corresponds to data consisting of m bits, it is considered normal transmission data with no transmission error, and if the received code consisting of n bits is a bit pattern corresponding to data consisting of m bits,
This is a data transmission method in which if a bit pattern does not correspond to data made up of bits, the transmission data is considered to have a transmission error. By appropriately selecting the total codes m and n of the mBnB blocking code, it is possible to provide high transmission efficiency characteristics suitable for the transmission data and the transmission device. Furthermore, since the transmission device is relatively simple, the cost required for the transmission circuit can be reduced. The data transmission system using all mBnB blocking codes is widely used because it has the above-mentioned advantages.

しかしながら、このmBnBブロック化符号全符号るデ
ータ伝送方式では十分に伝送誤りを検出することができ
ず、またnビットでなる符号をmビットでなるデータに
復号する際に伝送における1ビット誤りが数ビットの誤
りに拡大する可能性がある。
However, this data transmission system in which all mBnB block codes are encoded cannot sufficiently detect transmission errors, and when decoding a code consisting of n bits into data consisting of m bits, several 1-bit errors occur during transmission. This may expand to a bit error.

そこで実際のデータ伝送では、原信号の各データに伝送
誤りを検出するための誤り検出符号を付加した後、mB
nBブロック化符号全符号伝送している。従来、簡易な
誤り検出方法としては原信号のデータの全てのビットの
排他的論理和による符号を誤り検出符号として伝送する
誤り検出方法がある。また、この排他的論理和による符
号による誤り検出よりも検出能力が高いものとして誤り
検出符号に巡回符号または畳み込み符号を用いる方法が
ある。そこで従来のデータ伝送方式では、原信号の各デ
ータにデータの全てのビットの排他的論理和による符号
または巡回符号若しくは畳み込み符号でなる誤り検出符
号を付加した後に、mBnBブロック化符号全符号伝送
していた。
Therefore, in actual data transmission, after adding an error detection code to each data of the original signal to detect transmission errors, mB
All nB blocked codes are transmitted. Conventionally, as a simple error detection method, there is an error detection method in which a code obtained by the exclusive OR of all bits of data of an original signal is transmitted as an error detection code. Furthermore, there is a method of using a cyclic code or a convolutional code as an error detection code, which has higher error detection ability than the error detection using an exclusive OR code. Therefore, in conventional data transmission systems, after adding an error detection code consisting of an exclusive OR code of all bits of the data, a cyclic code, or a convolutional code to each data of the original signal, all codes of the mBnB blocking code are transmitted. was.

(発明が解決しようとする課題) しかしながら、原信号の全てのビットの排他的論理和に
よる符号または巡回符号若しくは畳み込み符号でなる誤
り検出符号を原信号の各データに付加してmBnBブロ
ック化符号全符号伝送するデータ伝送方式には、以下の
ような欠点があった。
(Problem to be Solved by the Invention) However, it is necessary to add an error detection code consisting of an exclusive OR of all bits of the original signal, a cyclic code, or a convolutional code to each data of the original signal to completely block the mBnB blocking code. Data transmission systems that use code transmission have the following drawbacks.

原信号の全てのビットの排他的論理和による符号による
伝送誤り検出では、mBnBブロック化符号全符号誤り
が検出されずに復号されたmビットでなる信号に含まれ
る偶数個の誤りを検出できないという欠点があった。ま
た、巡回符号または受み込み符号による伝送誤り検出で
は、原信号の全てのビットの排他的論理和による符号に
よる伝送誤り検出よりも誤り検出能力は高いが回路規模
が大きくなって低いコストでその装置を実現できないと
いう欠点があった。さらに巡回符号による伝送誤り検出
には、その巡回符号長が数式に基づく離散値、例えば7
,15,31.・・・等の数になってしまい目的とする
データ伝送方式に対する適合性が悪いという欠点があっ
た。
Transmission error detection using a code based on the exclusive OR of all bits of the original signal does not detect all code errors in the mBnB blocking code, making it impossible to detect an even number of errors included in the decoded m-bit signal. There were drawbacks. In addition, transmission error detection using a cyclic code or acceptance code has higher error detection ability than transmission error detection using a code based on the exclusive OR of all bits of the original signal, but it requires a larger circuit scale and is less expensive. The drawback was that the device could not be realized. Furthermore, for transmission error detection using a cyclic code, the length of the cyclic code is a discrete value based on a mathematical formula, for example, 7
, 15, 31. . . , etc., resulting in poor suitability for the intended data transmission system.

そこで本発明の目的は、伝送誤り検出能力が高く、低い
コストで実現でき、適合性の高いデータ伝送方式を提供
することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a data transmission system that has high transmission error detection ability, can be realized at low cost, and has high adaptability.

(課題を解決するための手段) 本発明に係る第1のデータ伝送方式は、それぞれ1つの
情報データがmビット(mは2以上の整数)でなる1個
(iは1以上の整数)の信号のそれぞれの1つの情報デ
ータ毎に誤り検出符号を生成し、該1個の誤り検出符号
を1つにまとめてmビットでなる誤り検出データとし、
前記i個の信号の各情報データと前記誤り検出データと
をデータ単位毎に時分割多重する通話路単位多重を行い
、該時分割多重信号のmビットでなる各データを1対1
対応の符号化規則に従ってnピッ)(nはmより大きい
整数)でなるmBnBブロック化符号に変換して伝送す
ることを特徴とする。
(Means for Solving the Problems) The first data transmission method according to the present invention is characterized in that each piece of information data consists of m bits (m is an integer of 2 or more) (i is an integer of 1 or more). Generating an error detection code for each piece of information data of the signal, and combining the one error detection code into one piece of error detection data consisting of m bits,
Channel-based multiplexing is performed in which each information data of the i signals and the error detection data are time-division multiplexed for each data unit, and each data consisting of m bits of the time-division multiplexed signal is multiplexed one-to-one.
It is characterized in that it is converted into an mBnB blocking code of n bits (n is an integer greater than m) according to a corresponding encoding rule, and then transmitted.

また本発明に係る第2のデータ伝送方式は、前述した第
1のデータ伝送方式であって、前記誤り検出符号は前記
i個の信号のそれぞれmビットでなる情報データの少な
くとも1組の予め定めてあるpビット(11は2以上で
m以下の整数)の排他的論理和による符号であることを
特徴とする。
Further, a second data transmission method according to the present invention is the first data transmission method described above, wherein the error detection code is a predetermined set of at least one set of information data each consisting of m bits of the i signals. The code is characterized by being an exclusive OR of p bits (11 is an integer greater than or equal to 2 and less than or equal to m).

さらに本発明に係る第3のデータ伝送方式は、前述した
第1のデータ伝送方式であって、前記誤り検出符号は前
記i個の信号のそれぞれのmビットでなる情報データの
全てのビットの排他的論理和による第1の符号とmビッ
トでなる情報データの少なくとも1組の予め定めてある
2ビットの排他的論理和による第2の符号とでなること
を特徴とする。
Furthermore, a third data transmission method according to the present invention is the first data transmission method described above, in which the error detection code excludes all bits of information data consisting of m bits of each of the i signals. The first code is formed by an exclusive OR of at least one predetermined set of two bits of information data consisting of m bits, and the second code is formed by an exclusive OR of at least one set of m-bit information data.

(作用) 本発明のデータ伝送方式は、伝送誤りを検出する手段と
して誤り検出符号と1対1対応の符号化規則によるデー
タ変換とを用いる。誤り検出符号による誤り検出は、送
信側において原データに関する誤り検出符号を生成して
原データと誤り検出符号とを送信し、受信側において誤
り検出符号に基づいて原データの誤りを検出する。1対
1対応の符号化規則によるデータ変換での誤り検出は、
送信側においてmビットでなる原データを予め定めてあ
る1対1対応符号化規則に従ってnとットデータ(n>
m>に変換して送信し、受信側において受信したnとッ
トデータを復号する際にそのビットパターンが予め定め
てある1対1対応符号化規則に存在するか否かを調べる
ことにより誤りを検出する。尚、i個の誤り検出符号で
なる誤り検出データのビット数は、通話路単位多重伝送
を行う上から原信号のデータのビット数mと同じにする
必要がある。
(Operation) The data transmission system of the present invention uses an error detection code and data conversion based on a one-to-one encoding rule as means for detecting transmission errors. In error detection using an error detection code, a transmitting side generates an error detection code for original data, transmits the original data and the error detection code, and a receiving side detects errors in the original data based on the error detection code. Error detection in data conversion using one-to-one correspondence encoding rules is as follows:
On the transmitting side, the original data consisting of m bits is converted into n and t data (n>
Errors are detected by checking whether the bit pattern exists in a predetermined one-to-one correspondence encoding rule when decoding the received n and t data on the receiving side. do. Note that the number of bits of the error detection data consisting of i error detection codes must be the same as the number of bits m of the data of the original signal in order to carry out multiplex transmission for each channel.

誤り検出符号として、原信号のデータのAビット(ρは
2以上でm以下の整数)の排他的論理和による符号を用
いている。この排他的論理和による符号での誤り検出は
、送信側において原信号のデータの予め定めてあるρビ
ットの排他的論理和をとって該データと排他的論理和の
結果とを送信し、受信側において受信したデータの予め
定めてあるpビットの排他的論理和をとり、その結果と
送信側で行った結果とを比較して誤りを検出する。
As the error detection code, a code obtained by exclusive ORing of A bits (ρ is an integer of 2 or more and m or less) of the data of the original signal is used. Error detection using this exclusive OR code is performed by taking the exclusive OR of the predetermined ρ bits of the data of the original signal on the transmitting side, transmitting the data and the result of the exclusive OR, and receiving the The exclusive OR of a predetermined p bits of the received data is performed on the side, and the result is compared with the result performed on the transmitting side to detect errors.

誤り検出符号がデータの全てのビットの排他的論理和に
よる第1の符号と、データの予め定めてある2ビットの
排他的論理和による第2の符号とから構成されるとする
と、この第1の符号による誤り検出で復号化後のデータ
の奇数ビット誤りを検出できるから、1対1対応の符号
化規則は誤り検出ができないものが可能な限り復号化後
のデータの奇数ビット誤りとなるように設定される。ま
た、第2の符号は、復号化後のデータの偶数ビット誤り
を最大限に検出できるようなデータの2つのビットの排
他的論理和が選ばれる。
Assuming that the error detection code is composed of a first code based on the exclusive OR of all bits of data and a second code based on the exclusive OR of two predetermined bits of data, this first code Since odd-numbered bit errors in decoded data can be detected by error detection using the code, the one-to-one correspondence encoding rule ensures that errors that cannot be detected become odd-numbered bit errors in decoded data as much as possible. is set to Further, as the second code, an exclusive OR of two bits of data is selected so that even-numbered bit errors in the decoded data can be detected to the maximum extent possible.

(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は本発明のデータ伝送方式を実現するデータ送信
装置の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a data transmitting device that implements the data transmission method of the present invention.

このデータ送信装置10は、それぞれ1つのデータが4
ビットでなる2つの信号を時分割多重して伝送する装置
である。第2図はこのデータ送信装?IflOのタイミ
ングチャートを示す図である。以下に、第2図に示すタ
イミングチャートを用いてこのデータ送信装置10の動
作について説明する。
This data transmitting device 10 each transmits 4 pieces of data.
This is a device that time-division multiplexes and transmits two signals consisting of bits. Is this the data transmitter in Figure 2? It is a figure which shows the timing chart of IfIO. The operation of this data transmitting device 10 will be explained below using the timing chart shown in FIG.

誤り検出符号生成回路11は1つのデータが4ビットで
なる信号101,102を入力し、信号101.102
のそれぞれに対してデータの全てのビットの排他的論理
和による第1の符号とデータの任意の2ビットの排他的
論理和による第2の符号とを求めてそれらを4とットデ
ータである誤り検出信号103として出力する。第3図
に誤り検出信号103の一例を示す、この例において、
第1の符号はそれぞれのデータの全てのビットの排他的
論理和の結果であり、第2の符号はそれぞれのデータの
2ビット目と3ピツ、ト目との排他的論理和の結果であ
る。フリップフロップ13゜14.15はそれぞれタイ
ミング生成回路16から供給されるタロツク信号104
を受け、信号101.102と誤り検出信号103とを
同期させて信号106,107および誤り検出信号10
8として出力する。フレームデータ生成回路12はクロ
ック信号104を入力して信号106゜107および誤
り検出信号108と同期したフレームデータ105を出
力する0時分割多重回路17は入力する4つの信号を4
ビットの符号長毎に時分割多重する回路であり、フレー
ムデータ105と信号106,107と誤り検出信号1
08とをタイミング生成回路16から供給されるクロッ
ク信号109,110により通話路単位多重して多重信
号111として出力する。mBnB符号化回路18は入
力する4ビット信号を第4図に示す1対1対応符号化規
則に従って5ビット信号に変換して出力する回路であり
、4ビット信号である多重信号111を5ビット信号で
ある多重信号112に変換して出力し、該多重信号11
2が本発明のデータ伝送方式の伝送信号として伝送され
る。この多重信号112はフレームデータ105で同期
がとられるフレーム同期信号である。
The error detection code generation circuit 11 receives signals 101 and 102 each consisting of 4 bits, and generates signals 101 and 102.
Error detection is performed by calculating the first code by exclusive OR of all bits of data and the second code by exclusive OR of arbitrary two bits of data for each of It is output as a signal 103. FIG. 3 shows an example of the error detection signal 103. In this example,
The first code is the result of the exclusive OR of all bits of each data, and the second code is the result of the exclusive OR of the 2nd and 3rd bits of each data. . Flip-flops 13, 14, and 15 each receive a tarok signal 104 supplied from the timing generation circuit 16.
The signals 101, 102 and the error detection signal 103 are synchronized to generate the signals 106, 107 and the error detection signal 10.
Output as 8. The frame data generation circuit 12 inputs the clock signal 104 and outputs frame data 105 synchronized with the signals 106 and 107 and the error detection signal 108.The time division multiplexing circuit 17 converts the four input signals into four signals.
This circuit performs time-division multiplexing for each bit code length, and the frame data 105, signals 106 and 107, and error detection signal 1
08 are multiplexed for each channel using clock signals 109 and 110 supplied from the timing generation circuit 16 and output as a multiplexed signal 111. The mBnB encoding circuit 18 is a circuit that converts an input 4-bit signal into a 5-bit signal according to the one-to-one correspondence encoding rule shown in FIG. is converted into a multiplexed signal 112 and outputted, and the multiplexed signal 11
2 is transmitted as a transmission signal in the data transmission system of the present invention. This multiplex signal 112 is a frame synchronization signal synchronized with frame data 105.

第5図は本発明のデータ伝送方式を実現するデータ受信
装置の一実施例を示すブロック図である。
FIG. 5 is a block diagram showing an embodiment of a data receiving device that implements the data transmission system of the present invention.

このデータ受信装置50は、第6図に示すように第1図
に示すデータ送信装置10から伝送路60に送出される
5ビット信号である多重信号112を受信し、該多重信
号112からデータ信号の成分を取り出し、さらに該デ
ータ信号における伝送誤りを検出する装置である。nB
mB復号化回路51は5ビット信号である多重信号11
2を入力し、第4図に示す1対1対応符号化規則に従っ
て4ビット信号である多重信号111に変換する。
As shown in FIG. 6, this data receiving device 50 receives a multiplexed signal 112, which is a 5-bit signal sent to the transmission path 60 from the data transmitting device 10 shown in FIG. This device extracts the components of the data signal and detects transmission errors in the data signal. nB
The mB decoding circuit 51 receives a multiplexed signal 11 which is a 5-bit signal.
2 is input and converted into a multiplexed signal 111 which is a 4-bit signal according to the one-to-one correspondence encoding rule shown in FIG.

ここで、受信した多重信号112のビットパターンが第
4図に示す1対1対応符号化規則にない場合、伝送誤り
が生じたものとして復号誤り信号501を出力する。誤
り検出回路52は4ビット信号である多重信号111を
入力し、第7図に示すように多重信号111に多重され
ている誤り検出信号108により信号106.107の
伝送誤りを検出する。ここで、この伝送誤りの検出には
、誤り検出信号108中に含まれる第1の符号と第2の
符号とを用いる。誤り検出回路52において信号106
と信号107の少なくともどちらか一方に伝送誤りが検
出されると、該誤り検出回路52はデータ誤り信号50
2を出力する。復号誤り信号501およびデータ誤り信
号502はそれぞれフリップフロップ53および54で
同期化され、OR回路55に入力して誤り信号503と
して出力される。フレームデータ検出回路56は多重信
号111を入力し、該多重信号111に含まれているフ
レームデータ105を検出してその時間的間隔をタイミ
ング信号504として出力する。
Here, if the bit pattern of the received multiplexed signal 112 does not conform to the one-to-one correspondence encoding rule shown in FIG. 4, it is assumed that a transmission error has occurred and a decoding error signal 501 is output. The error detection circuit 52 receives the multiplexed signal 111, which is a 4-bit signal, and detects transmission errors in the signals 106 and 107 using the error detection signal 108 multiplexed with the multiplexed signal 111, as shown in FIG. Here, the first code and second code included in the error detection signal 108 are used to detect this transmission error. In the error detection circuit 52, the signal 106
When a transmission error is detected in at least one of the data error signal 50
Outputs 2. A decoding error signal 501 and a data error signal 502 are synchronized by flip-flops 53 and 54, respectively, input to an OR circuit 55, and output as an error signal 503. The frame data detection circuit 56 inputs the multiplexed signal 111, detects the frame data 105 included in the multiplexed signal 111, and outputs the time interval as a timing signal 504.

タイミング生成回路57はタイミング信号504を入力
し、多重信号111から信号101と102とを時分割
分離するためのクロック信号505を出力する。時分割
分離回路58は多重信号111とクロック信号505と
を入力し、クロック信号505により多重信号111か
ら信号101および102を時分割分離し、さらに時間
伸張してデータ送信装置10のフリップフロップ13.
14に入力した信号101,102として出力する。こ
の時、時分割分離回路58から出力される信号101.
102における伝送誤りが検出されたか否かは誤り信号
503を監視することにより知ることができる。
The timing generation circuit 57 inputs the timing signal 504 and outputs a clock signal 505 for time-division separation of the signals 101 and 102 from the multiplexed signal 111. The time division separation circuit 58 inputs the multiplexed signal 111 and the clock signal 505, and uses the clock signal 505 to time division separate the signals 101 and 102 from the multiplexed signal 111, and further time-expands the signals 101 and 102 to the flip-flop 13 of the data transmitting device 10.
The signals input to 14 are output as signals 101 and 102. At this time, the signal 101. which is output from the time division separation circuit 58.
Whether or not a transmission error in 102 has been detected can be determined by monitoring the error signal 503.

次に、データ送信装置10およびデータ受信装置50を
用いて説明したデータ伝送方式の伝送誤り検出能力につ
いて説明する。ここで、ビットパターンが0000″で
ある信号のデータについて考える。このデータが5とッ
トデータに変換されると(485B符号化)、第4図の
1対1対応符号化規則から“00111”となる、この
データにおける1ビット伝送路誤りに対する誤り検出に
ついて第8図を用いて説明する。ビットパターン″00
111″のデータに伝送路60において1ビット伝送路
誤りが発生すると、第8図に示す5通りのデータのうち
のどれか1つになる。N093とNo、 5のビットパ
ターンは第4図に示す1対1対応符号化規則にないビッ
トパターンであるから、伝送誤りとして検出することが
できる。N011 、 No、 2およびN004のビ
ットパターンのデータを第4図の1対1対応符号化規則
に従って4とットデータに復号化すると<584B復号
化)、第8図に示す3つのビットパターンのデータが得
られる。これら3つのビットパターンのデータのうち、
No、  1のデータは原データの2ビット目と3ビッ
ト目の排他的論理和による第2の符号により伝送誤りを
検出でき、NO,2とNO64のデータは原データの全
てのビットの排他的論理和による第1の符号により伝送
誤りを検出できる。排他的論理和による第1および第2
の符号での伝送誤りの検出は、原データにおける排他的
論理和の結果とNo、 1 、 No、 2. No、
 4のデータの排他的論理和の結果とが違うことにより
検出することができる。従って、1ビット伝送路誤りは
全て検出できることになる。第4図に示す1対1対応符
号化規則を用いる本実施例のデータ伝送方式では、1ビ
ット伝送路誤りを全て検出することができる。
Next, the transmission error detection ability of the data transmission method described using the data transmitting device 10 and the data receiving device 50 will be described. Here, consider the data of a signal whose bit pattern is 0000''. When this data is converted to 5-bit data (485B encoding), it becomes ``00111'' according to the one-to-one correspondence encoding rule in Figure 4. , error detection for a 1-bit transmission path error in this data will be explained using FIG. 8. Bit pattern "00"
If a 1-bit transmission path error occurs in the transmission path 60 in data No. 111'', it will become one of the five types of data shown in Figure 8. The bit patterns of No. 111'' and No. 5 are shown in Figure 4. Since this is a bit pattern that does not follow the one-to-one correspondence encoding rule shown in Figure 4, it can be detected as a transmission error.The data of bit patterns N011, No. 2, and N004 are processed according to the one-to-one correspondence encoding rule shown in Figure 4. When decoding to 4bit data (<584B decoding), data with three bit patterns shown in Fig. 8 is obtained.Among the data with these three bit patterns,
For No. 1 data, transmission errors can be detected using the second code based on the exclusive OR of the 2nd and 3rd bits of the original data, and for No. 2 and No. 64 data, the exclusive OR of all bits of the original data is used to detect transmission errors. Transmission errors can be detected using the first code based on the logical sum. 1st and 2nd by exclusive OR
Detection of transmission errors with the codes No. 1, No. 2, and the exclusive OR result in the original data. No,
This can be detected by the fact that the result of the exclusive OR of the data in No. 4 is different. Therefore, all 1-bit transmission path errors can be detected. In the data transmission system of this embodiment using the one-to-one correspondence encoding rule shown in FIG. 4, all 1-bit transmission path errors can be detected.

次に、2ビット伝送路誤りの検出能力について第9図を
用いて説明する。ビットパターン“0000”のデータ
が5とットデータに変換されると(485B符号化)、
第4図に示す1対1対応符号化規則から”00111″
となる。伝送路60で2ビット伝送路誤りが発生すると
“00111”のデータは第9図に示すような10通り
のデータとなる。第9図において、No、 1 、 N
o、 2 、 NO。
Next, the ability to detect 2-bit transmission path errors will be explained using FIG. 9. When data with bit pattern “0000” is converted to 5-bit data (485B encoding),
"00111" from the one-to-one correspondence encoding rule shown in Figure 4
becomes. When a 2-bit transmission path error occurs in the transmission path 60, the data "00111" becomes 10 types of data as shown in FIG. In Figure 9, No, 1, N
o, 2, no.

4、 No、 8. No、 9. No、 10は第
4図の1対1対応符号化規則にないから伝送誤りを検出
することができる。No、 3. No、 5. No
、 6. No、 7の4つの5とットデータを第4図
の表に従って4とットデータに変換すると(584B復
号化)、第9図の4つのビットパターンが得られる。復
号化された4とットデータNo、 5は原データの全て
のビットの排他的論理和による第1の符号によるパリテ
ィチエツクで伝送誤りを検出できる。4とットデータN
0.6は原データの2ビット目と3ビット目の排他的論
理和による第2の符号により伝送誤りを検出できる。こ
れは、原データにおける排他的論理和の結果とNo、 
5 、 No、 6のデータにおける排他的論理和の結
果とが違うことによる。No。
4. No. 8. No, 9. Since No. 10 is not included in the one-to-one correspondence encoding rule in FIG. 4, a transmission error can be detected. No, 3. No, 5. No
, 6. When the four 5-bit data No. 7 is converted into 4-bit data according to the table in FIG. 4 (584B decoding), the four bit patterns shown in FIG. 9 are obtained. Transmission errors in decoded bit data No. 4 and No. 5 can be detected by a parity check using the first code based on the exclusive OR of all bits of the original data. 4 and data N
0.6 can detect transmission errors using the second code obtained by exclusive ORing of the second and third bits of the original data. This is the result of exclusive OR in the original data and No.
This is because the results of exclusive OR on data No. 5, No. 6, and No. 6 are different. No.

3とN097の2つのデータにおいては、伝送誤りは検
出できず正常なデータとして受信されてしまう。従って
、2ビット伝送路誤りは約80%検出することができる
In the two data, No. 3 and N097, no transmission error can be detected and they are received as normal data. Therefore, approximately 80% of 2-bit transmission path errors can be detected.

以上に説明したように、第1図および第5図に示すデー
タ送信装置f10およびデータ受信装置50を用いるデ
ータ伝送方式においては、4ビットでなるデータの伝送
路における1ビット伝送路誤りは全て検出することがで
き、2ビット伝送路誤りはその約80%を検出すること
ができる。
As explained above, in the data transmission system using the data transmitting device f10 and the data receiving device 50 shown in FIGS. 1 and 5, all 1-bit transmission path errors in the 4-bit data transmission path are detected. Approximately 80% of 2-bit transmission line errors can be detected.

本実施例のデータ伝送方式では、多重化して伝送する原
信号の数を2、該原信号のデータを4とットデータとし
たが伝送する原信号の数および原信号のデータのビット
数はその他の数でも良く、その際には各原信号の誤り検
出符号でなる誤り検出信号の1つのデータのビット数を
原信号のデータのビット数と等しくする必要がある。ま
た、1対1対応符号化規則により伝送路上のデータをm
BnBブロック化符号とする際のmとnの値も、本実施
例で用いたm=4.n=5以外の数字でも良い、このと
きにnの値をmの値に比べてより大きくすると伝送誤り
の検出能力が増大するが、データの伝送効率は低下して
しまう、従って、mとnの値は伝送誤りの検出能力とデ
ータの伝送効率とを十分に考慮して決定しなければなら
ない、さらに、1対1対応符号化規則は、データの全て
のビットの排他的論理和による第1の符号および少なく
とも1組のデータ中の2ビットの排他的論理和による第
2の符号とでなる誤り検出符号の伝送誤りの検出能力と
、mBnBブロック化符号による伝送誤りの検出能力と
で検出できる伝送誤りの検出能力が最大となるように定
めなければならない。
In the data transmission method of this embodiment, the number of original signals to be multiplexed and transmitted is 2, and the data of the original signals is 4 bits, but the number of original signals to be transmitted and the number of bits of the data of the original signals are different. In that case, it is necessary to make the number of bits of one data of the error detection signal formed by the error detection code of each original signal equal to the number of bits of data of the original signal. In addition, data on the transmission path is m
The values of m and n used in the BnB blocking code are also m=4. A number other than n = 5 may be used. In this case, if the value of n is larger than the value of m, the ability to detect transmission errors will increase, but the data transmission efficiency will decrease. Therefore, m and n The value of must be determined by fully considering the ability to detect transmission errors and the data transmission efficiency.Furthermore, the one-to-one correspondence encoding rule is based on the exclusive OR of all bits of data. and a second code based on the exclusive OR of 2 bits in at least one set of data, and the ability to detect transmission errors by the mBnB blocking code. It must be determined to maximize the ability to detect transmission errors.

(発明の効果) 以上に詳しく説明したように、本発明のデータ伝送方式
は、データの全てのビットの排他的論理和による第1の
符号とデータにおける1組の2ビットの排他的論理和に
よる第2の符号とでなる誤り検出符号による誤り検出と
、mBnBブロック化符号による誤り検出とを組み合わ
せることにより高い誤り検出能力を得ることができる。
(Effects of the Invention) As explained in detail above, the data transmission method of the present invention is based on the first code based on the exclusive OR of all bits of the data and the exclusive OR of a set of 2 bits in the data. High error detection capability can be obtained by combining error detection using an error detection code formed with the second code and error detection using an mBnB blocking code.

また、誤り検出能力は排他的論理和による符号であるか
ら、その検出回路は簡易な構成となって低いコストで実
現できる。さらに、伝送する原信号のデータのビット数
mを自由に設定できるから、伝送する信号のデータのビ
ット数に制限を受けない適合性の高いデータ伝送方式を
実現できる。
Furthermore, since the error detection capability is a code based on exclusive OR, the detection circuit has a simple configuration and can be realized at low cost. Furthermore, since the number m of data bits of the original signal to be transmitted can be freely set, it is possible to realize a highly compatible data transmission method that is not limited by the number of bits of data of the signal to be transmitted.

本発明には以上のような効果がある。The present invention has the above effects.

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

第1図は本発明のデータ伝送方式を実現するデータ送信
装置の一実施例を示すブロック図、第2図は第1図に示
すデータ送信装置10のタイミングチャートを示す図、
第3図は誤り検出信号103の生成を説明する図、第4
図は1対1対応符号化規則を示す図、第5図は本発明の
データ伝送方式を実現するデータ受信装置の一実施例を
示すブロック図、第6図は本発明のデータ伝送方式の構
成を示す図、第7図は誤り検出信号108による伝送誤
りの検出を説明する図、第8図および第9図はデータ送
信装置10およびデータ受信装置50で実現されるデー
タ伝送方式における2ビット伝送路誤りの検出能力を説
明する図である。 11・・・誤り検出符号生成回路、12・・・フレーム
データ生成回路、13,14,15.53.54・・・
フリップフロップ、16.57・・・タイミング生成回
路、17・・・時分割多重回路、18・・・mBnB符
号化回路、51・・・nBmB復号化回路、52・・・
誤り検出回路、55・・・OR回路、56・・・フレー
ムデータ検出回路、58・・・時分割分離回路。
FIG. 1 is a block diagram showing an embodiment of a data transmitting device that implements the data transmission method of the present invention, and FIG. 2 is a diagram showing a timing chart of the data transmitting device 10 shown in FIG.
FIG. 3 is a diagram explaining the generation of the error detection signal 103, and FIG.
The figure shows a one-to-one correspondence encoding rule, FIG. 5 is a block diagram showing an embodiment of a data receiving device that implements the data transmission method of the present invention, and FIG. 6 shows the configuration of the data transmission method of the present invention. 7 is a diagram illustrating detection of transmission errors using the error detection signal 108, and FIGS. 8 and 9 are diagrams showing 2-bit transmission in the data transmission system realized by the data transmitting device 10 and the data receiving device 50. FIG. 2 is a diagram illustrating the ability to detect path errors. 11...Error detection code generation circuit, 12...Frame data generation circuit, 13, 14, 15.53.54...
Flip-flop, 16.57... Timing generation circuit, 17... Time division multiplexing circuit, 18... mBnB encoding circuit, 51... nBmB decoding circuit, 52...
Error detection circuit, 55...OR circuit, 56...frame data detection circuit, 58...time division separation circuit.

Claims (3)

【特許請求の範囲】[Claims] (1)それぞれ1つの情報データがmビット(mは2以
上の整数)でなるi個(iは1以上の整数)の信号のそ
れぞれの1つの情報データ毎に誤り検出符号を生成し、
該i個の誤り検出符号を1つにまとめてmビットでなる
誤り検出データとし、前記i個の信号の各情報データと
前記誤り検出データとをデータ単位毎に時分割多重する
通話路単位多重を行い、該時分割多重信号のmビットで
なる各データを1対1対応の符号化規則に従ってnビッ
ト(nはmより大きい整数)でなるmBnBブロック化
符号に変換して伝送することを特徴とするデータ伝送方
式。
(1) Generating an error detection code for each piece of information data of i (i is an integer of 1 or more) signals each of which has m bits (m is an integer of 2 or more);
channel-based multiplexing in which the i error detection codes are combined into one m-bit error detection data, and each information data of the i signals and the error detection data are time-division multiplexed for each data unit; The method is characterized in that each data consisting of m bits of the time division multiplexed signal is converted into an mBnB blocking code consisting of n bits (n is an integer larger than m) according to a one-to-one correspondence encoding rule, and then transmitted. Data transmission method.
(2)前記誤り検出符号は前記i個の信号のそれぞれm
ビットでなる情報データの少なくとも1組の予め定めて
あるlビット(lは2以上でm以下の整数)の排他的論
理和による符号であることを特徴とする請求項1に記載
のデータ伝送方式。
(2) The error detection code is m for each of the i signals.
2. The data transmission method according to claim 1, wherein the code is an exclusive OR of at least one set of predetermined l bits (l is an integer of 2 or more and m or less) of information data consisting of bits. .
(3)前記誤り検出符号は前記i個の信号のそれぞれの
mビットでなる情報データの全てのビットの排他的論理
和による第1の符号とmビットでなる情報データの少な
くとも1組の予め定めてある2ビットの排他的論理和に
よる第2の符号とでなることを特徴とする請求項1に記
載のデータ伝送方式。
(3) The error detection code is a predetermined set of at least one set of a first code obtained by exclusive OR of all bits of information data consisting of m bits of each of the i signals and information data consisting of m bits. 2. The data transmission system according to claim 1, wherein the second code is an exclusive OR of two bits.
JP9977190A 1990-04-16 1990-04-16 Data transmission system Pending JPH03297236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9977190A JPH03297236A (en) 1990-04-16 1990-04-16 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9977190A JPH03297236A (en) 1990-04-16 1990-04-16 Data transmission system

Publications (1)

Publication Number Publication Date
JPH03297236A true JPH03297236A (en) 1991-12-27

Family

ID=14256233

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9977190A Pending JPH03297236A (en) 1990-04-16 1990-04-16 Data transmission system

Country Status (1)

Country Link
JP (1) JPH03297236A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998004068A1 (en) * 1996-07-19 1998-01-29 Sony Corporation Apparatus and method for digital data transmission
US7020211B2 (en) 2000-04-18 2006-03-28 Nippon Telegraph And Telephone Corporaiton Encoding method and apparatus for forward error correction
JP2010050989A (en) * 2009-10-05 2010-03-04 Fujitsu Ltd Radio device, reception method, and mobile station
US8792456B2 (en) 2004-04-14 2014-07-29 Fujitsu Limited Wireless communication apparatus, receiving method, and mobile station
JP2015201809A (en) * 2014-04-10 2015-11-12 ザインエレクトロニクス株式会社 receiving apparatus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998004068A1 (en) * 1996-07-19 1998-01-29 Sony Corporation Apparatus and method for digital data transmission
US6430225B1 (en) 1996-07-19 2002-08-06 Sony Corporation Apparatus and method for digital data transmission
US7020211B2 (en) 2000-04-18 2006-03-28 Nippon Telegraph And Telephone Corporaiton Encoding method and apparatus for forward error correction
US8792456B2 (en) 2004-04-14 2014-07-29 Fujitsu Limited Wireless communication apparatus, receiving method, and mobile station
JP2010050989A (en) * 2009-10-05 2010-03-04 Fujitsu Ltd Radio device, reception method, and mobile station
JP2015201809A (en) * 2014-04-10 2015-11-12 ザインエレクトロニクス株式会社 receiving apparatus
US10333692B2 (en) 2014-04-10 2019-06-25 Thine Electronics, Inc. Reception apparatus

Similar Documents

Publication Publication Date Title
US4389636A (en) Encoding/decoding syncronization technique
US5200979A (en) High speed telecommunication system using a novel line code
US4387460A (en) Supplementary information transmitting arrangement for a digital data transmission system
US5592518A (en) Parallel frame synchronizer for detecting forward-ordered/reverse-ordered, inverted/non-inverted data
US5692021A (en) Encoding digital data
US4569050A (en) Data communication system with fixed weight error correction and detection code
WO1998034413A2 (en) Data encoder/decoder for a high speed serial link
JPS63129750A (en) Method and apparatus for digital data transmission
JPH07273742A (en) Parallel data transmission equipment
JPH0799511A (en) Coding modulation system
US4691319A (en) Method and system for detecting a predetermined number of unidirectional errors
CN102025448A (en) Common public radio interface service transmitting/receiving method and device
EP0629068B1 (en) 4B6B coding scheme
US5644569A (en) Transmission of messages
JPS5813056B2 (en) How to maintain accurate framing in multiplexed pulse transmission systems
US7102553B2 (en) Signal transmission method and signal transmission device
US5938773A (en) Sideband signaling with parity bit schemes
JPH03297236A (en) Data transmission system
US5805087A (en) Encoding scheme
US6847692B2 (en) Data transmission system
EP0448045B1 (en) System for suppressing spread of error generated in differential coding
WO1982001094A1 (en) Error monitoring in digital transmission systems
JPH0738626B2 (en) Word sync detection circuit
JP2644304B2 (en) Data transmission method
JP2555582B2 (en) CMI code error detection circuit