JPS5980037A - Data transmitting system - Google Patents

Data transmitting system

Info

Publication number
JPS5980037A
JPS5980037A JP57190648A JP19064882A JPS5980037A JP S5980037 A JPS5980037 A JP S5980037A JP 57190648 A JP57190648 A JP 57190648A JP 19064882 A JP19064882 A JP 19064882A JP S5980037 A JPS5980037 A JP S5980037A
Authority
JP
Japan
Prior art keywords
data
check
bits
bit
signal
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.)
Granted
Application number
JP57190648A
Other languages
Japanese (ja)
Other versions
JPH0312501B2 (en
Inventor
Hitoshi Takeda
均 武田
Norimasa Kishi
則政 岸
Sunao Suzuki
直 鈴木
Minoru Togashi
富樫 実
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP57190648A priority Critical patent/JPS5980037A/en
Publication of JPS5980037A publication Critical patent/JPS5980037A/en
Publication of JPH0312501B2 publication Critical patent/JPH0312501B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • H04L1/0063Single parity check

Abstract

PURPOSE:To check the correctness of data with an exclusive OR of both received bits and to check accurately the data, by providing a check bit as well as a data bit to each slot and transmitting the logic of the check bit with inversion for each frame. CONSTITUTION:A time-division multiplex signal S1 to be transmitted is transferred to a receiving station 3 in the form of a signal S through a transmitting station 2 containing an input interface 5, a microcomputer 6, a P/S converter 7 and an optical transmitter 8. Each frame F of the signal S1 is formed with slots SL0-SL2 which are divided equally to the multiplex degree. At the same time, a start for start-stop/tuning purpose, stop bits ST and SP, and a check bit CB are provided before and after data bits D0-D6 obtained by encoding the channel signal of each of slots SL0-SL2. Then an exclusive OR is obtained between the bit CB and the bits D0-D6 of the signal S1 received at the station 3. Thus the data is checked with high accuracy.

Description

【発明の詳細な説明】 この発明は、データの誤り検出効率を向上さL′だデー
タ伝送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an L' data transmission system that improves data error detection efficiency.

情報を符号化しで伝送するデータ伝送方式には、例えば
第1図に示すような光、多重伝送システムがある。
Data transmission systems that encode and transmit information include, for example, an optical multiplex transmission system as shown in FIG.

同図に示すシステムは、入力回路1から送信ステーショ
ン2へ入力されノる複数チャンネルの制御信号(出力v
Z置4の動作制御信号)を符号化した後、これを時分割
多重信号Sとして光送信器8から送信し、この時分割多
重信号Sを受信ステーション3の光受信器9で受信して
、元の制御信号に直し、所定の出力装置4へ供給する構
成どなっており、いわゆる直列伝送システムの構成を呈
している。
The system shown in the figure consists of a plurality of channel control signals (output v
After encoding the operation control signal of the Z station 4, it is transmitted from the optical transmitter 8 as a time division multiplexed signal S, and this time division multiplexed signal S is received by the optical receiver 9 of the receiving station 3. The control signal is converted to the original control signal and supplied to a predetermined output device 4, and has a configuration of a so-called serial transmission system.

送信ステーション2側のマイクロコンピュータ6は、入
力インタフェイス5を介して入力される制御信号を所定
の形式のデータに変換するとともに所定タイミングで出
力するもので、マイクロコンピュータ6から出力される
パラレルなデータは、パラレル/シリアル変換器7で直
列信号に変換された後、光送信器8へ供給される。
The microcomputer 6 on the transmitting station 2 side converts the control signal input via the input interface 5 into data in a predetermined format and outputs it at a predetermined timing. is converted into a serial signal by a parallel/serial converter 7 and then supplied to an optical transmitter 8.

送信ステーション3側では、光受信器9で受信された信
号Sを増幅器10で増幅した後、比較器11で基準レベ
ル以上のデー、タバルス成分のみをピックアップし、シ
リアル/パラレル変換器12でパラレルデータに変換し
てマイクロコンピュータ13へ入力している。
On the transmitting station 3 side, after the signal S received by the optical receiver 9 is amplified by the amplifier 10, the comparator 11 picks up only the data and tabular components above the reference level, and the serial/parallel converter 12 converts the signal into parallel data. It is converted into and input to the microcomputer 13.

上記マイクロコンピュータ13は、入力されたパラレル
データに基づいて、元の制御信号を形成し、出力インタ
フェイス14を介して出力装置4へ供給している。
The microcomputer 13 forms an original control signal based on the input parallel data and supplies it to the output device 4 via the output interface 14.

そして、前記時分割多重信号Sは、第2図に示す如く、
一定周期で繰り返し出力されるフレーム[から構成され
ており、各フレームは、該フレームを多重度(同図にお
いては3チヤンネル)に等しく分割してなるスロットS
L○〜SL2から構成されている。
Then, the time division multiplexed signal S is as shown in FIG.
It consists of frames that are repeatedly output at a constant period, and each frame is divided into slots S, which are formed by dividing the frame equally to the multiplicity (3 channels in the figure).
It is composed of L◯ to SL2.

更に、上記各スロットは、該当するチャンネル、の制御
信号を符号化したデータビットD。−D6の前後に、調
歩同期用のスタートビットSTおよびストップビットS
Pを付加するとともに、データビットD6の直後に、誤
り検出用のパリティビットPBを付加して構成されてい
る。
Further, each slot has data bits D encoding a control signal of the corresponding channel. - Start bit ST and stop bit S for asynchronous synchronization before and after D6
P is added, and a parity bit PB for error detection is added immediately after the data bit D6.

ところで、データ伝送においては通常、データの誤り検
出を行なって、データの信頼度を高めており、この誤り
検出する方法として最も広く用いられている方式に、上
記のように、データビット   。
By the way, in data transmission, data errors are usually detected to increase the reliability of the data, and the most widely used method for detecting errors is the data bit method, as described above.

Do”−D6にパリティビットPBを付加するパリティ
チェック方式がある。
There is a parity check method that adds a parity bit PB to Do''-D6.

このパリティチェック方式は、送信側で1つのスロット
中(但し、スタートビットSTとストップビットSPは
除く〉の“1パの数が必ず奇数(または偶数)となるよ
うに、パリティビットPBにIQIZI“1″の何れか
を入れて送信し、受信側で、データビットとパリティビ
ット内のII 1 IIの数が偶数(または奇数)とな
った場合に、この受信データは誤りであると判定するも
のである。
This parity check method uses IQIZI in the parity bit PB so that the number of "1 bits" in one slot (excluding start bit ST and stop bit SP) is always an odd number (or even number) on the transmitting side. 1", and the receiving side determines that the received data is an error if the number of II 1 II in the data bit and parity bit is an even number (or an odd number). It is.

これによって、データ伝送中にノイズ、例えば電源ノイ
ズやマイクロコンピュータから発生する高周波ノイズ、
光伝送式のものにあっては外乱光ノイズ等の影響によっ
て、データが当初ど異なるものとなった場合に、この誤
りデータをある程度検出して排除することができる。
This eliminates noise during data transmission, such as power supply noise and high-frequency noise generated from microcomputers.
In the optical transmission type, when data becomes different from the original due to the influence of disturbance light noise, etc., this erroneous data can be detected to some extent and eliminated.

また、第1図に示した光多重伝1送システムには、近年
、車両に搭載され、従来の電線ハーネスに代って、光フ
ァイバやフォトカプラ等を介して車載負荷制御信号の伝
達を行なうようにしたものがある。
In addition, the optical multiplex transmission system shown in Figure 1 has recently been installed in vehicles, and transmits on-vehicle load control signals through optical fibers, photocouplers, etc., instead of conventional electric wire harnesses. There is something like this.

その−例として第3図に示ず如く、ステアリングホイー
ル21のセンターパッド22に、ホーンスイッチ23.
ラジオスイッチ24.ASCD(自動速度制御装置〉ス
イッチ25等を取り付けたステアリングスイッチシステ
ムがある。
As an example, as shown in FIG. 3, a horn switch 23.
Radio switch 24. There is a steering switch system equipped with an ASCD (automatic speed control device) switch 25, etc.

上記スイッチの操作入力信号は、送信ステーション26
で直列データ信号に変換されて、光送信器27から光受
信器28へ伝達され、受信ステーション29へ入力され
る。そして〜受信ステーション29では入力された受信
信号を元の制御信号に直して、指定された車載負荷へ供
給している。
The operation input signal of the above switch is transmitted to the transmitting station 26.
The signal is converted into a serial data signal, transmitted from the optical transmitter 27 to the optical receiver 28, and input to the receiving station 29. Then, the receiving station 29 converts the input received signal into the original control signal and supplies it to the designated on-vehicle load.

なお、同図に示すセンターパッド22は、ステアリング
シャフト30には連結されておらず、ステアリングホイ
ール21を回転させても、センターパッドは回転せずに
元の体勢を保持するように構成されている。これは、パ
ッド22上のスイッチの操作性の向上を図るためになさ
れたものである。
Note that the center pad 22 shown in the figure is not connected to the steering shaft 30, and is configured so that even if the steering wheel 21 is rotated, the center pad does not rotate and maintains its original position. . This is done to improve the operability of the switches on the pad 22.

従って、従来の接触式スリップリングを用いて電気信号
によって信号伝達を行なっていたものに比して、より多
くの信号を伝達することが可能となり、センターパッド
22に各種の車載負荷制御用スイッチ類を設けることが
できる。
Therefore, it is possible to transmit more signals than the conventional contact type slip ring, which transmits electrical signals. can be provided.

ところが、前述のようにパリティチェック方式を用いた
データ伝送方式にあっては、ノイズ等によって、1つの
スロット中の偶数個のビットに誤りが発生した場合には
、このデータの誤りが検出できない。
However, in the data transmission method using the parity check method as described above, if an error occurs in an even number of bits in one slot due to noise or the like, this data error cannot be detected.

また、上記ステアリングスイッチシステムに、 。Also, for the above steering switch system.

パリティチェック方式を用いた場合には、ステアリング
・hゴール21を回転させた際に、ステアリングスポー
ク21aが光伝達路を通過するために(第3図の想像線
で示す)、瞬間的に送信光が遮られてしまい、受信ステ
ーション2つへは誤ったデータが入力されることとなる
。このとき、データ中の偶数個のビットに誤りがあれば
、やはりこの誤りは検出できない。
When the parity check method is used, when the steering/h goal 21 is rotated, the steering spoke 21a passes through the optical transmission path (as shown by the imaginary line in FIG. 3), so that the transmitted light is instantaneously This results in erroneous data being input to the two receiving stations. At this time, if there is an error in an even number of bits in the data, this error cannot be detected.

このため、特に車載負荷のように安全性を重視するもの
には、より検出精度の高い誤り検出方式が必要とされる
For this reason, an error detection method with higher detection accuracy is required, especially for items where safety is important, such as on-vehicle loads.

この発明は上記の事情に鑑みてなされたもので、その目
的とするところは、より確実にデータの正誤をチェック
できるようにしたデータ伝送方式を提供することにある
The present invention has been made in view of the above circumstances, and its purpose is to provide a data transmission system that can more reliably check the correctness of data.

係る目的を達成するために、この発明は複数のデータス
ロワ[−からなるフレームをサイクリックに直列伝送ザ
るデータ伝送方式において;前記各データスロワ1〜に
はデータピッi〜の他に少くとも1以上のチェックビッ
トを設け、該チェックビットの論理値を順次フレーム毎
に反転させて送信するとともに、受信された相前後する
フレーム内の対応するチェックビットおよびデータビッ
トの排他的論理和に基づいて、受信データの正誤をチェ
ックすることを特徴とする。
In order to achieve such an object, the present invention provides a data transmission method in which frames consisting of a plurality of data throwers are cyclically transmitted in series; A check bit is provided, and the logical value of the check bit is sequentially inverted and transmitted for each frame, and the received data is determined based on the exclusive OR of the corresponding check bit and data bit in the received successive frames. It is characterized by checking the correctness of.

以下、この発明の実施例を第4図以下の図面を用いて詳
細に説明する。
Hereinafter, embodiments of the present invention will be described in detail using the drawings from FIG. 4 onwards.

第4図は本発明に係るデータ伝送方式の一実施例におい
て伝送される時分割多重信号S1の構成を示す図である
。なお、この信号S1の送受信を行なうための電気的構
成は、第1図に示すものと全く同様のものとする。
FIG. 4 is a diagram showing the structure of a time division multiplexed signal S1 transmitted in an embodiment of the data transmission system according to the present invention. Note that the electrical configuration for transmitting and receiving the signal S1 is exactly the same as that shown in FIG.

第4図に示す如く、このデータ伝送方式に用いられる時
分割多重信号S1は、第2図に示した従来のデータ伝送
方式に用いられる時分割多重信号Sと略同様の構成とな
っている。
As shown in FIG. 4, the time division multiplex signal S1 used in this data transmission system has substantially the same configuration as the time division multiplex signal S used in the conventional data transmission system shown in FIG.

但し、この実施例では、信号Sにおいて誤り検出用に付
加されていたパリティビットPBの代りに、各スロット
毎に1ビツトのチェックビットCBが設けられている。
However, in this embodiment, instead of the parity bit PB added to the signal S for error detection, a check bit CB of one bit is provided for each slot.

そして、上記チェックビットCBの内容は、第N−1゛
フレームでは各スロワ゛1SLO〜8m2に“I Q 
11、第Nフレームでは各スロットに′1″、第N+1
フレームでは各スロットに“0″というように順次フレ
ーム毎にチェックビットCBの論理値を反転させて出力
される。
Then, the contents of the check bit CB are as follows: In the N-1th frame, "IQ
11. In the Nth frame, '1'' in each slot, N+1th
In the frame, the logical value of the check bit CB is sequentially inverted and outputted for each frame, such as "0" in each slot.

第5図は、送信ステーション2内のマイクロコンビコー
タ6において実行されるシステムプログラムのうち、上
記チェックビットCBの論理値を設定する処理プログラ
ムの構成を示すフローチャートである。
FIG. 5 is a flowchart showing the structure of a processing program for setting the logical value of the check bit CB, among the system programs executed in the micro combi coater 6 in the transmitting station 2.

同図において、ステップ(1)では、上記信号S1中の
フレーム数をカウントする所定のフレームカウンタFC
の内容が偶数であるか否かを判定する。そして、この判
定結果がYESであれば、ステップ(2)へ進んで、当
該フレーム内に含まれるスロワl−S L O〜SL2
の各チェックビットCBを○“とじ、Noであればステ
ップ(3)へ進んで、当該フレーム内のスロットの各チ
ェックビットCBを“1″とする。
In the same figure, in step (1), a predetermined frame counter FC counts the number of frames in the signal S1.
Determine whether the content of is an even number. If the determination result is YES, the process advances to step (2) and the throwers l-SL O to SL2 included in the frame are
If the answer is No, the process proceeds to step (3) and sets each check bit CB of the slot in the frame to "1".

次にステップ<4)、(5)の処理によって、1フレー
ムの出力が終了するまで各スロットSLO〜S L、 
2を順次出力し、1フレームの出力が終了すると、ステ
ップ(6)へ進んで上記フレームカウンタFCを歩進さ
せる。
Next, by processing steps <4) and (5), each slot SLO to S L,
2 are sequentially output, and when the output of one frame is completed, the process proceeds to step (6) and the frame counter FC is incremented.

他方、受信ステーション3側では、上記の如く構成され
て出力された時分割多重信号S1が受信されると、上記
チェックビットCBに基づいて、受信データの正誤チェ
ックが行なわれる。
On the other hand, on the receiving station 3 side, when the time division multiplexed signal S1 configured and output as described above is received, the correctness of the received data is checked based on the check bit CB.

第6図は、受信ステーション3側のマイクロコンピュー
タ13によって実行されるシステムプログラムのうち上
記受信データ正誤チェック処理の内容を示すフローチャ
ートである。
FIG. 6 is a flowchart showing the contents of the received data correctness checking process in the system program executed by the microcomputer 13 on the receiving station 3 side.

以下このフローチャートに従って、上記正誤チェック動
作を説明する。なお、理解を容易とするために、ここで
は、受信ステーション3において、第4図に示した時分
割多重信号中のN番目のフレーム内のスロット5LON
が受信されたものとする。
The above correctness checking operation will be explained below according to this flowchart. For ease of understanding, here, in the receiving station 3, slot 5LON in the Nth frame of the time division multiplexed signal shown in FIG.
is assumed to have been received.

第6図のフローチャー1・において、ステップ(7)で
は、受信データを1スロット単位で読込んで、各フレー
ム内のチャンネル毎に設けられた最新スロット記憶レジ
スタNRO,,NR1,NR2のうち、対応するチャン
ネルのレジスタに記憶する処理が行なわれる。
In the flowchart 1 of FIG. 6, in step (7), the received data is read in slot units, and the corresponding one of the latest slot storage registers NRO, NR1, and NR2 provided for each channel in each frame is read. Processing is performed to store the information in the register of the corresponding channel.

すなわち、第4図に示すスロット5LONの内容が上記
レジスタNROに記憶される。
That is, the contents of slot 5LON shown in FIG. 4 are stored in the register NRO.

これに対して、前段フレーム内の各チャンネル毎に設け
られた前段スロット記憶レジスタ(N−1)RO,(N
−1>’R1,(If−1)R2には、以前に受信され
ているN−1ffi目のフレーム内の各スロットが記憶
されており、ステップ(8)において、上記ステップ(
7)で読込まれたスロットと、上記前段スロット記憶レ
ジスタのうち同一チャンネルのレジスタに記憶されてい
るスロットとの排他的論理和を、各ピッ1へ毎(但し、
スタートピッ1〜STどストップビットSPを除く)に
求める。
On the other hand, the previous stage slot storage registers (N-1) RO, (N
-1>'R1, (If-1)R2 stores each slot in the N-1ffi-th frame that has been received previously, and in step (8), the above step (
Exclusive OR of the slot read in step 7) and the slot stored in the register of the same channel among the preceding slot storage registers is performed for each pin 1 (however,
Start bits 1 to ST (excluding stop bit SP) are calculated.

すなわち、第4図に示すスロット5LONとスロット5
LON−1の間で、対応するビット・同士の排他的論理
和が算出される。
That is, slot 5LON and slot 5 shown in FIG.
The exclusive OR of corresponding bits is calculated between LON-1.

次にステップ(9)では、上記受信されたスロワ1〜内
のデータビットD。−D5に誤りがあるか否かが判別さ
れる。
Next, in step (9), the received data bits D in the throwers 1 to 1 are processed. - It is determined whether there is an error in D5.

すなわち、もしも受信データに誤りがなければ、相前後
するフレーム内のスロット5LONと5LON−1のチ
ェックビットの論理値は必ず異なっているはずであり、
このことから、上記ステップ(8)で求められたチェッ
クビット同士の排他的論理和のみが′1°゛であれば、
受信データは正しいデータであると判定されて、ステッ
プ(10)において、当該受信データから元の制御信号
が形成されて出力される。
That is, if there is no error in the received data, the logical values of the check bits in slots 5LON and 5LON-1 in successive frames must be different.
From this, if only the exclusive OR of the check bits obtained in step (8) above is '1°', then
It is determined that the received data is correct data, and in step (10), an original control signal is formed from the received data and output.

他方、ノイズ等の影響を受【ブて、チェックビットCB
の論理値が反転してしまった場合には、上記スロット5
LONと5LON−1のチェックビット同士の排他的論
理和はOIfとなるため、受信データ中のデータビット
DO〜D6中にも誤り   ・が発生していると判定し
て、当該受信データは除去される。
On the other hand, due to the influence of noise etc., the check bit CB
If the logical value of is reversed, the above slot 5
Since the exclusive OR of the check bits of LON and 5LON-1 is OIf, it is determined that an error has occurred in the data bits DO to D6 in the received data, and the received data is removed. Ru.

このようなデータの正誤チェック方式において、例えば
、データの伝送速度が10Ksit/秒であるとすれば
、1フレームを伝送するのに要する時間は3 X 10
−’秒となり、第1図の入力回路1から制御信号が0.
1秒(人間がスイッチ操作をした際のスイッチ出力時間
)聞出力されたとすると、同一データが30フレ一ム以
上連続して送信されることとなる。
In such a data correctness check method, for example, if the data transmission rate is 10 Ksit/sec, the time required to transmit one frame is 3 x 10
-' seconds, and the control signal from the input circuit 1 in FIG.
If it is output for 1 second (switch output time when a human operates the switch), the same data will be continuously transmitted for 30 frames or more.

従って、上述のように、相前後する2フレームを用いて
データの正誤をチェックすることができるのである。
Therefore, as described above, it is possible to check whether the data is correct using two consecutive frames.

また、このチェック方式を用いたデータ伝送方式を、第
3図に示したステアリングスイッチシステムに適用ずれ
ば′、ステアリングスポーク21aが光伝達路を通過し
て、送信光が遮られた場合に、フレームの出力周期に対
してスポーク21aの通過時間が大であることのために
、連続する複数のフレームに同一の誤りが発生したとし
ても、このデータの誤りを検出することができる。
Furthermore, if the data transmission method using this check method is applied to the steering switch system shown in FIG. Since the transit time of the spoke 21a is long with respect to the output cycle of the data, even if the same error occurs in a plurality of consecutive frames, this data error can be detected.

第7図は本発明の第2の実施例において伝送される時分
割多重信号82の構成を示す図である。
FIG. 7 is a diagram showing the structure of the time division multiplexed signal 82 transmitted in the second embodiment of the present invention.

なおこの信号$2の送受信を行うための電気的構成は第
1図に示すものと全く同様のものとする。
It is assumed that the electrical configuration for transmitting and receiving this signal $2 is exactly the same as that shown in FIG.

第7図に示す如く、このデータ伝送方式に用いられる時
分割多重信号S2は、第4図に示した第1実施例の時分
割多重信号81と同様に、スタートビットSTとストッ
プビットS’Pの間に7ビツトのデータビットD o 
”□ D sと1ビツトのチェックビットCBとが挾ま
れた形となっている。
As shown in FIG. 7, the time division multiplex signal S2 used in this data transmission system has a start bit ST and a stop bit S'P, similar to the time division multiplex signal 81 of the first embodiment shown in FIG. 7 data bits D o
``□Ds'' and a 1-bit check bit CB are sandwiched in between.

但し、この実施例では、第N−1フレームの各スロット
と第Nフレームの各スロットでは、データビットD o
 ”−D 6およびチェックビットCBの論理値が全て
反転したものとなっている。
However, in this embodiment, in each slot of the N-1th frame and each slot of the Nth frame, the data bit D o
``-D6'' and the logical values of check bit CB are all inverted.

第8図は送信ステーション2内のマイクロコンピュータ
6において実行される、上記フレーム毎に論理値を反転
させる処理の内容を示すフローチャートである。
FIG. 8 is a flowchart showing the contents of the process of inverting the logical value for each frame, which is executed by the microcomputer 6 in the transmitting station 2.

同図において、ステップ(11)では、各スロワ1〜8
10〜SL2内のそれぞれのチェックビットCBに“′
1゛′をセットする処理が行なわれる。
In the same figure, in step (11), each thrower 1 to 8
"' to each check bit CB in 10~SL2
Processing to set the value to 1' is performed.

このとき、各スロット内のデータピッh D o ”□
 D6には正論理によって制御データがセットされてい
る。
At this time, the data pitch in each slot hD o ”□
Control data is set in D6 by positive logic.

ステップ(12)では、第5図で示したフローチャート
中のステップ(1)と同様の処理が行われて、フレーム
カウンタFCの内容が偶数であるか否かが判別され、こ
の結果がYESであればステップ(13)へ進み、各ス
ロットのデータの論理値を反転させる処理が行われる。
In step (12), the same process as step (1) in the flowchart shown in FIG. 5 is performed to determine whether or not the content of the frame counter FC is an even number. Then, the process proceeds to step (13), where a process of inverting the logical value of the data in each slot is performed.

これによって、各スロット内の制御データは負論理のデ
ータとなり、チェックビットCBの論理値は0″となる
As a result, the control data in each slot becomes negative logic data, and the logic value of the check bit CB becomes 0''.

また、上記判別結果がNOであれば、データの論理値反
転処理は行われない。
Moreover, if the above-mentioned determination result is NO, the logical value inversion process of the data is not performed.

ステップ(11)、(15)では、前記第5図中のステ
ップ(’l)、(5)の処理と同様の処理が行われ、1
フレ一ム分のデータが順次出力される。そして、1フレ
ームの出力が終了すると、ステップ(16)でフレーム
カウンタFCの歩進がなされる。
In steps (11) and (15), processes similar to those in steps ('l) and (5) in FIG. 5 are performed, and 1
One frame's worth of data is sequentially output. When the output of one frame is completed, the frame counter FC is incremented in step (16).

次に、受信ステーション3側では、第6図のフローチャ
ートで示した処理と同様の処理が実行されて、受信デー
タの正誤チェックが行われる。
Next, on the receiving station 3 side, a process similar to that shown in the flowchart of FIG. 6 is executed to check whether the received data is correct or incorrect.

但し、第6図中のステップ(9)では、チェックビット
CB同士の排他的論理和のみが1″であるか否かの判別
を行っているが、この実施例では、第N−1フレームと
第Nフレーム内の各データビットDo〜DS同士の排他
的論理和が全て″“1′″であるか否かの判別が行われ
る。
However, in step (9) in FIG. 6, it is determined whether only the exclusive OR of the check bits CB is 1'', but in this embodiment, the N-1st frame and It is determined whether the exclusive ORs of the data bits Do to DS in the Nth frame are all "1".

ずなわち、受信データが正しいデータであれば、第Nフ
レームと第N−1フレームのデータビットとチェックビ
ットの論理値は全て反転しているはずであるから、各ビ
ット同士の排他的論理和が全て1″となるはずであり、
受信データ中にノイズ等の影響で誤りが生じていれば、
上記排他的論理和が全て1°′とならずにii O++
が混入してくることとなって、その受信データに誤りが
あることがチェックできる。
In other words, if the received data is correct data, the logical values of the data bits and check bits of the Nth frame and N-1th frame should all be inverted, so the exclusive OR of each bit is should all be 1″,
If there are errors in the received data due to noise, etc.,
If all the above exclusive ORs are not 1°', ii O++
It is possible to check that there is an error in the received data.

このとき、チェックビットに誤りがなく、データビット
中にのみ誤りが生じている場合にも、この誤りを検出す
ることができる。
At this time, even if there is no error in the check bits and an error occurs only in the data bits, this error can be detected.

すなわち、第3図のステアリングスイッチシステムにお
いて、連続する複数のフレ〕ムに亘って、チェックビッ
ト以外のビットに同一の誤りが生じたどすると、フレー
ム毎に反転しているはずのデータビットDo〜D6の中
に、同−論理値のビットが現れ、該ビット同士の排他的
論理和が“′O″となることから受信データが誤りであ
ることを判定できるのである。
In other words, in the steering switch system shown in FIG. 3, if the same error occurs in bits other than the check bit over a plurality of consecutive frames, the data bits Do~ which should be reversed in each frame. Since bits with the same logical value appear in D6 and the exclusive OR of these bits becomes "'O", it can be determined that the received data is erroneous.

第9図は、本発明の第3の実施例において伝パされる時
分割多重信号S3の構成を示す図である。
FIG. 9 is a diagram showing the structure of the time division multiplexed signal S3 propagated in the third embodiment of the present invention.

なおこの信号S3の送受信を行うための電気的構成は第
1図に示すものと金(同様のものとする。
Note that the electrical configuration for transmitting and receiving this signal S3 is similar to that shown in FIG.

第9図に示す如く、このデータ伝送方式に用いられる時
分割多重信号S3は、第4図に示した前記第1実施例の
時分割多重信号S1におl:JるチェックビットCBを
1ビツト増して2ピツ1〜にしたもので、代りにデータ
ビットを1ビット減らして6ビツ]へDo”B5となっ
ている。
As shown in FIG. 9, the time division multiplex signal S3 used in this data transmission system has one check bit CB equal to l:J in the time division multiplex signal S1 of the first embodiment shown in FIG. The data bits are increased to 2 bits and 1~, and instead the data bits are reduced by 1 bit to 6 bits.Do''B5.

そして、各スロワ1〜SLO〜”S L 2内の2つの
チェックビットCB+ 、CB2と互いに異なる論理値
どなっており、かつ第N−1フレームではチェックピッ
1〜〇B+に40′′、チェックビットCB2に゛1°
°、第NフレームではチェックビットCB+に1″、チ
ェックビットCB2に′O″、第N+1フレームではチ
ェックビットCB+に゛0″、チメ゛ツクビットCB2
に“1″というように、順次フレーム毎にチェックビッ
トCB+およびCB2の論理値を各々反転させている。
The two check bits CB+ and CB2 in each thrower 1 to SLO to SL2 have different logical values, and in the N-1th frame, the check bits 1 to B+ are 40'' and checked.゛1° to bit CB2
°, in the Nth frame, check bit CB+ is 1'', check bit CB2 is 'O', in the N+1 frame, check bit CB+ is '0'', check bit CB2 is
The logical values of check bits CB+ and CB2 are sequentially inverted for each frame, such that the check bits are "1".

従って、送信ステーション2内のマイクロコンピュータ
6において、上記チェックビットCB+。
Therefore, the microcomputer 6 in the sending station 2 checks the check bit CB+.

CB2の論理値を設定する処理は、第5図のフローチャ
ートで示した処理と略同様にして行われる。
The process of setting the logical value of CB2 is performed in substantially the same way as the process shown in the flowchart of FIG.

但し、同図のステップ(2)における処理の代りに、チ
ェックビットCB+に“l’ Q 11.チェックビッ
トCB2に1″を設定する処理が行われ、かつステップ
(3)における処理の代りに、チェックビットCB+に
“i 111.チェックビットCB2に“0°′を設定
する処理が行われる。
However, instead of the process in step (2) in the figure, a process of setting "l'Q11" in check bit CB+ and 1 in check bit CB2 is performed, and instead of process in step (3), A process is performed in which check bit CB+ is set to "i 111." Check bit CB2 is set to "0°."

また、受信ステーション3側のマイクロコンビチーツク
処理も、第6図のフローチャートで示しIζ処理と略同
様にして行われる。
Further, the micro combination check process on the side of the receiving station 3 is also performed in substantially the same manner as the Iζ process shown in the flowchart of FIG.

但し、同図のステップ(9)における処理の代りに、第
Nフレームと第N−1フレーム内のチェックビットCB
+とCB2同士の排他的論理和が共にIILI+である
か否かを判定する処理が実行され、共に“1′′であれ
ば、受信データが正しいと判定して、ステップ(10)
へ進んで制御信号を出力し、共に11011あるいは何
れか一方が′″O゛′となった場合には、受信データに
誤りがあると判定して、当該受信データは排除される。
However, instead of the process in step (9) in the figure, the check bit CB in the Nth frame and the N-1th frame
A process of determining whether the exclusive OR of + and CB2 is both IILI+ is executed, and if both are "1'', it is determined that the received data is correct, and step (10)
If both 11011 or either one becomes ``O'', it is determined that there is an error in the received data, and the received data is rejected.

これによって、受信データの誤りの検出精度がより一層
向上することどなる。
This further improves the accuracy of detecting errors in received data.

すなわち、ノイズの重畳等によって受信データ中に発生
ずる誤りは、1ビツトのみに発生する頻度は<k’ <
、連続する2以上のビットに亘って発生する場合が多い
ため、例えば、前記第1実施例において、1スロツト中
のデータビットD4.D5D6とチェックビットCBの
4ビツトに亘って” 1 ”パルスのノイズが重畳した
として、このとき偶然にこのフレームが奇数番目のフレ
ーム中・あって、チェックビットに1″がセットされて
いた場合には、この受信データの誤りは検出されないこ
ととなってしまう。
In other words, errors that occur in received data due to noise superimposition, etc., occur only in one bit with a frequency of <k'<
, often occur over two or more consecutive bits, so for example, in the first embodiment, data bit D4 . Suppose that "1" pulse noise is superimposed over 4 bits of D5D6 and check bit CB, and if this frame happens to be in an odd-numbered frame and 1" is set in the check bit. In this case, the error in this received data will not be detected.

使方、この実施例では1.上記と同様のノイズが重畳し
た場合、すなわちデータピッ1〜c4.、cffiと、
チェックビットCB+ 、CB2の4ビツトに亘ってl
ll IIパルスのノイズが重畳したとしても、チェッ
クビットCBI、C’82同士の排他的論理和の何れか
一方がii O++となって、受信データに誤りがある
ことが□検出できるのである。
How to use this example: 1. When noise similar to the above is superimposed, that is, data picks 1 to c4. , cffi and
l across 4 bits of check bits CB+ and CB2.
Even if the noise of the ll II pulse is superimposed, one of the exclusive ORs of the check bits CBI and C'82 becomes ii O++, and it is possible to detect that there is an error in the received data.

なお、第10図に示す如く、上記1第3実施例と同様に
、各スロットに2ビツトのチェックビットCBI、CB
2を設け、かつ各スロットのチェックビットCB1.C
B2に互いに異なる論理値をセットするように構成し、
この場合にはフレーム毎に論理値を反転せずに出力して
、受信ステーション側で、1スロツト中のチェックビッ
トCB+とCB2の論理値が互いに異なる値であるか否
かを判定する構成としても、受信データの正誤チェック
を行うことができる。
As shown in FIG. 10, as in the first and third embodiments, each slot has two check bits CBI and CB.
2, and check bits CB1.2 of each slot are provided. C
B2 is configured to set mutually different logical values,
In this case, the configuration may be such that the logical value is output without being inverted for each frame, and the receiving station determines whether the logical values of check bits CB+ and CB2 in one slot are different from each other. , it is possible to check the correctness of received data.

これによって、゛第3実施例と同様に、連続する複数ビ
ットに亘る誤りが発生した場合の正誤チェックが可能と
なる。また、この場合、相前後する2つのフレームの排
他的論理和を求める必要はなく、1スロツト中の2つの
チェックビットCB+。
As a result, as in the third embodiment, it is possible to check the correctness when an error occurs in a plurality of consecutive bits. Furthermore, in this case, it is not necessary to calculate the exclusive OR of two consecutive frames, but rather the two check bits CB+ in one slot.

CB 、2の論理値が異なっているか否かを判別するの
みで受信データの正誤チェックは可能となる。
It is possible to check whether the received data is correct or not by simply determining whether the logical values of CB and 2 are different.

′以上詳細に説明したように、この発明のデータ伝送方
式にあっては、従来のパリティチェック方式による受信
データの正誤チェックに比して、より確実に受信データ
の正誤チェックが行なえる。
'As described above in detail, in the data transmission system of the present invention, the accuracy of received data can be checked more reliably than in the conventional parity check system.

従って、特に車両における車載負荷の制御のように、安
全性を重視するものに利用すれば、受信デ゛−夕の誤り
の検出洩れによって車載負荷が誤動作する確率を大幅に
減少させることが可能となる等の利点を有する。
Therefore, especially when used in applications where safety is important, such as controlling on-vehicle loads in vehicles, it is possible to significantly reduce the probability that on-vehicle loads will malfunction due to failure to detect errors in receiving data. It has advantages such as:

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

第1図はデータ伝送方式の一例の電気的構成を示すブロ
ック図、第2図は従来のデータ伝送方式において伝送さ
れる信号の構成を示す図、第3図は車両のステアリング
スイッチシステムの構成を示す断面図、第4図は本発明
に係るデータ伝送システムの第1実施例において伝送さ
れる信号の構成を示寸図、第5図は同信号におけるチェ
ックビットの論理値を設定する処理を示すフローチャー
ト、M6図は受信データの正誤チェック処理を示すフロ
ーチャート、第7図は本発明の第2実施例において伝送
される信号の構成を示す図、第8図は同信号の論理値を
反転する処理を示すフローチャート、第9図は本発明の
第3実施例において伝送される信号の構成を示す図、第
10図は伯の実施例の信号の構成を示す図である。 2・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・送信ステーション3・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・受信ステー
ションF・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・フレーム810〜SL2・・・・・
・・・・・・・スロットD o ”−D 6・・・・・
・・・・・・・・・・・・・データビットCB、CB+
’、CB2・・・チェツクピッ1〜特許出願人 日産自動車株式会社 第5図         第6図 第7図 第 す 羞 (14) (16)
Figure 1 is a block diagram showing the electrical configuration of an example of a data transmission system, Figure 2 is a diagram showing the configuration of signals transmitted in a conventional data transmission system, and Figure 3 is a diagram showing the configuration of a vehicle steering switch system. FIG. 4 is a sectional view showing the structure of the signal transmitted in the first embodiment of the data transmission system according to the present invention, and FIG. 5 shows the process of setting the logical value of the check bit in the signal. Flowchart, Figure M6 is a flowchart showing the process of checking the correctness of received data, Figure 7 is a diagram showing the structure of the signal transmitted in the second embodiment of the present invention, and Figure 8 is the process of inverting the logical value of the same signal. FIG. 9 is a diagram showing the structure of the signal transmitted in the third embodiment of the present invention, and FIG. 10 is a diagram showing the structure of the signal in the second embodiment. 2・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・Transmission station 3・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・Receiving station F・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・Frame 810~SL2・・・・・・
・・・・・・Slot D o ”-D 6・・・・・・
・・・・・・・・・・・・Data bit CB, CB+
', CB2...Check pick 1 ~ Patent applicant Nissan Motor Co., Ltd. Figure 5 Figure 6 Figure 7 (14) (16)

Claims (1)

【特許請求の範囲】[Claims] (1)複数のデータスロットからなるフレームをサイク
リックに直列伝送するデータ伝送方式において; 前記各データスロットにはデータビットの他に少くとも
1以上のチェックビットを設け、該チェックビットの論
理値を順次フレーム毎に反転させて送信づ°るとともに
、受信された相前後するフレーム内の対応するチェック
ビットおよびデータビットの排他的論理和に基づいて、
受信データの正誤をチェックすることを特徴とするデー
タ伝送方式。
(1) In a data transmission method in which a frame consisting of a plurality of data slots is cyclically transmitted in series; each data slot is provided with at least one check bit in addition to the data bit, and the logical value of the check bit is set. The data bits are sequentially inverted and transmitted frame by frame, and based on the exclusive OR of the corresponding check bits and data bits in the received successive frames,
A data transmission method characterized by checking whether received data is correct.
JP57190648A 1982-10-29 1982-10-29 Data transmitting system Granted JPS5980037A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57190648A JPS5980037A (en) 1982-10-29 1982-10-29 Data transmitting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57190648A JPS5980037A (en) 1982-10-29 1982-10-29 Data transmitting system

Publications (2)

Publication Number Publication Date
JPS5980037A true JPS5980037A (en) 1984-05-09
JPH0312501B2 JPH0312501B2 (en) 1991-02-20

Family

ID=16261571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57190648A Granted JPS5980037A (en) 1982-10-29 1982-10-29 Data transmitting system

Country Status (1)

Country Link
JP (1) JPS5980037A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63107056U (en) * 1986-12-26 1988-07-11
JPH02303109A (en) * 1989-05-18 1990-12-17 Murata Mfg Co Ltd Laminated capacitor with fuse function
JPH0661890A (en) * 1991-02-21 1994-03-04 Nec Corp Detection system for abnormal connection of cable in communication equipment
JPH06209308A (en) * 1992-10-30 1994-07-26 Internatl Business Mach Corp <Ibm> Coding / decoding of transmission data and data communication method and system using it
DE19626132A1 (en) * 1996-06-28 1998-01-08 Sel Alcatel Ag Digital data transmission system e.g. for GSM system
JP2002309767A (en) * 2001-04-11 2002-10-23 Lonseal Corp End member

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56172049U (en) * 1980-05-23 1981-12-18
JPS5757055A (en) * 1980-09-24 1982-04-06 Nippon Telegr & Teleph Corp <Ntt> Signal transmission systen
JPS587947A (en) * 1981-07-06 1983-01-17 Sharp Corp Transmitting-receiving device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56172049U (en) * 1980-05-23 1981-12-18
JPS5757055A (en) * 1980-09-24 1982-04-06 Nippon Telegr & Teleph Corp <Ntt> Signal transmission systen
JPS587947A (en) * 1981-07-06 1983-01-17 Sharp Corp Transmitting-receiving device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63107056U (en) * 1986-12-26 1988-07-11
JPH02303109A (en) * 1989-05-18 1990-12-17 Murata Mfg Co Ltd Laminated capacitor with fuse function
JPH0661890A (en) * 1991-02-21 1994-03-04 Nec Corp Detection system for abnormal connection of cable in communication equipment
JPH06209308A (en) * 1992-10-30 1994-07-26 Internatl Business Mach Corp <Ibm> Coding / decoding of transmission data and data communication method and system using it
DE19626132A1 (en) * 1996-06-28 1998-01-08 Sel Alcatel Ag Digital data transmission system e.g. for GSM system
JP2002309767A (en) * 2001-04-11 2002-10-23 Lonseal Corp End member

Also Published As

Publication number Publication date
JPH0312501B2 (en) 1991-02-20

Similar Documents

Publication Publication Date Title
JPS60125053A (en) Data communication system
JPS60203034A (en) Transmitter of vehicle information
JPS5980037A (en) Data transmitting system
JPS5837736B2 (en) Serial data transmission method
JP3217716B2 (en) Wireless packet communication device
SU788406A1 (en) Device for receving discrete information with supervisory feedback
JPS5829243A (en) Signal monitoring device of transmission system
JPS62109441A (en) Data transmission system
JPS6246020B2 (en)
JPH0689195A (en) Data sink
SU1275514A1 (en) Device for transmission and reception of digital information
JPH0817367B2 (en) Data comparison synchronous serial communication system
JPS63278436A (en) Multi-frame synchronizing system
SU1481828A1 (en) Telemetering data transmitter
JPS62213333A (en) Data transmission system
JPS61270929A (en) Wireless transmission system
JPS63287221A (en) Method for detecting information transmission error
JPS60237740A (en) Code transmission system
JPH10269094A (en) Reception data detector
JPH04267631A (en) Parity bit addition system
JPH10222386A (en) Parity error detection system
JPS5855530B2 (en) Bidirectional bus parity check method
JPS62216539A (en) Frame synchronizing system for time-division multiplex signal
JPH04365156A (en) Data transmission error detection circuit
JPS6147453B2 (en)