JPH0851413A - Data communication equipment - Google Patents

Data communication equipment

Info

Publication number
JPH0851413A
JPH0851413A JP6185684A JP18568494A JPH0851413A JP H0851413 A JPH0851413 A JP H0851413A JP 6185684 A JP6185684 A JP 6185684A JP 18568494 A JP18568494 A JP 18568494A JP H0851413 A JPH0851413 A JP H0851413A
Authority
JP
Japan
Prior art keywords
format
circuit
error
transmission
data
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
JP6185684A
Other languages
Japanese (ja)
Inventor
Tomohisa Kishigami
友久 岸上
Katsunao Tsuji
克尚 辻
Yoshiki Tatsutomi
由樹 達冨
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.)
Denso Corp
Original Assignee
NipponDenso 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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP6185684A priority Critical patent/JPH0851413A/en
Publication of JPH0851413A publication Critical patent/JPH0851413A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a data communication equipment having masterslave constitution capable of preventing the other transmission from being interrupted when a noise is generated especially in a non-signal section. CONSTITUTION:Plural slave stations 12 is connected to one master station through transmission lines 13 and a signal of a prescribed format consisting of SOF, plural basic data blocks, ED, ACK, NCK, and EOF areas is transmitted from the master station. Each slave station 12 is provided with a format checking circuit 22 and error checking circuits 23, 24 and the gates of respective AND circuits 26, 27 are opened by 'H' signals outputted from these checking circuits 22 to 24 to transmit AKC from a timing signal generating circuit 25. When an output from the circuit 22 is 'H' and an 'L' output is obtained from the circuit 26, NCK is transmitted from an AND circuit 28, and when the abnormality of the format is confirmed, both ACK and NCK are not transmitted.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、例えば自動車等の車
両内に装備される各種アクチュエータの駆動指令、セン
サ信号やスイッチ情報等の情報を、中央の制御ユニット
からなる親局と、各駆動装置やセンサさらにスイッチ等
にそれぞれ対応して設定される複数の子局との間で送受
信する、マスタースレーブ構成の多重通信装置に係るも
のであり、特に送信部と受信部との送信信号の送受が効
率的に行われるようにするデータ通信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a master station consisting of a central control unit and driving devices for driving commands of various actuators installed in vehicles such as automobiles, information such as sensor signals and switch information. The present invention relates to a master-slave configuration multiplex communication device that transmits / receives data to / from a plurality of slave stations that are set correspondingly to a sensor, a switch, and the like. In particular, transmission / reception of a transmission signal between a transmitter and a receiver is performed. The present invention relates to a data communication device that enables efficient operation.

【0002】[0002]

【従来の技術】データの送受信システムにおいて、送信
機から受信機に向けてデータを送信する場合、送信機側
において、この送信機から送信された各送信データに対
する受信機からの応答を受けつつ、データの授受を実行
させるようにした通信手段が知られている。この場合、
受信機側において送信機からのデータ信号の受信を確認
して、送信機に向けて所定の応答を伝送するものである
が、この様な応答の手段としては、例えば特開昭60−
236337号に開示されたデータ通信方法が知られて
いる。すなわち、このデータ通信方法においては、送信
データの最後の部分に応答用の領域を設定し、この応答
領域を利用して肯定応答(ACK)または否定応答(N
CK)を受信機側から送信機側に返送するようにしてい
る。
2. Description of the Related Art In a data transmission / reception system, when transmitting data from a transmitter to a receiver, the transmitter receives a response from the receiver for each transmission data transmitted from the transmitter, Communication means for transmitting and receiving data are known. in this case,
The receiver side confirms the reception of the data signal from the transmitter and transmits a predetermined response to the transmitter. As means for such a response, for example, Japanese Patent Laid-Open No. 60-
The data communication method disclosed in No. 236337 is known. That is, in this data communication method, a response area is set in the last part of the transmission data, and an acknowledgment (ACK) or a negative acknowledgment (N
CK) is returned from the receiver side to the transmitter side.

【0003】また、ドイツ国のボッシュ社が提案してC
AN(Controller Area Network) にあっては、送信機側
から受信機側に伝送されるデータ信号においてエラーが
発生した場合に、受信機側においてエラー時専用のフレ
ームを送信機側に伝送するようにしている。
In addition, the German company Bosch proposed C
In AN (Controller Area Network), when an error occurs in the data signal transmitted from the transmitter side to the receiver side, the receiver side transmits a dedicated frame at the time of error to the transmitter side. ing.

【0004】そして、上記特開昭60−236337号
のデータ通信方法において否定応答を発生し、またCA
Nにおいてエラーフレームの発生する条件は、受信側に
おいて受信したデータ信号にエラーを検出した場合であ
る。例えば、CANにおいてはビットエラー、スタフエ
ラー、CRCエラー、フォームエラー、ACKエラー等
の内、1つ以上が発生した場合にエラーフレームを送信
する。
Then, in the data communication method of the above-mentioned Japanese Patent Laid-Open No. 60-236337, a negative response is generated, and CA
The condition that an error frame occurs in N is that an error is detected in the data signal received on the receiving side. For example, in CAN, an error frame is transmitted when one or more of bit error, stuff error, CRC error, form error, ACK error, etc. occur.

【0005】しかし、この様な受信機側において検出さ
れるエラーは、ノイズによって容易に発生するもので、
例えばデータの送信中にノイズが発生して否定応答やエ
ラーフレームを送信する場合にあっては、そのデータフ
レームが破壊されるだけであって、他の通信に対する影
響は少ない。しかし、一般にアイドルと称される無信号
期間中にノイズが発生し、このノイズが受信機において
受信された場合に、このノイズをフレームの先頭と誤認
識することがある。ノイズをフレームの先頭と誤認識し
た場合には、必ず否定応答またはエラーフレームの返送
が行われるようになり、そのノイズの発生後に1フレー
ム長の時間以上の間は、他の送信機からのデータ送信が
禁止される。もし他の送信機において信号を伝送路に送
信したとしても、否定応答またはエラーフレームの存在
によって、その送信データが破壊されるようになり、伝
送効率に対して著しい悪化をまねく。
However, such an error detected on the receiver side is easily generated by noise,
For example, when noise is generated during the transmission of data and a negative response or an error frame is transmitted, the data frame is only destroyed and other communication is less affected. However, noise is generated during a no-signal period generally called idle, and when this noise is received by a receiver, this noise may be erroneously recognized as the beginning of a frame. When noise is erroneously recognized as the beginning of a frame, a negative response or error frame is always returned, and data from other transmitters will be sent for a period of one frame length or longer after the noise is generated. Transmission is prohibited. Even if the signal is transmitted to the transmission line by another transmitter, the transmission data is destroyed due to the presence of the negative response or the error frame, and the transmission efficiency is significantly deteriorated.

【0006】[0006]

【発明が解決しようとする課題】この発明は上記のよう
な点に鑑みなされたもので、特に無信号期間中において
ノイズが発生したような場合において、他の送信機から
の送信を阻害するようなことがなく、伝送路が効率的に
利用できるようにして、例えばノイズの発生の率の高い
車両内おいて、マスタースレーブ構成の多重通信ネット
ワークが効果的に構成できるようにしたデータ通信装置
を提供しようとするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and it is particularly desirable to prevent transmission from other transmitters when noise is generated during a no-signal period. A data communication device that enables efficient use of a transmission line and effectively configures a master-slave multiplex communication network, for example, in a vehicle with a high noise generation rate. It is the one we are trying to provide.

【0007】[0007]

【課題を解決するための手段】この発明に係るデータ通
信装置は、送信手段において定められたフォーマットの
送信信号を伝送路に送出し、受信手段において送信手段
からの送信信号を受信するようにした通信ネットワーク
において、伝送路を伝送された送信信号のフォーマット
を確認するフォーマット確認手段と、同じく伝送路を伝
送された送信信号から信号エラーを検出するエラー確認
手段と、前記フォーマット確認手段でフォーマットが正
常と確認され、且つ前記エラー確認手段でエラー発生が
確認されない状態で肯定応答を前記伝送路に送出する肯
定応答送出手段と、前記フォーマット確認手段でフォー
マットが正常と確認され、且つ前記エラー確認手段でエ
ラー発生が確認された状態で否定応答を前記伝送路に送
出する否定応答送出手段とを含み構成され、フォーマッ
ト確認手段でフォーマットの異常が確認されたときに
は、前記肯定応答および否定応答のいずれも送出されな
いようにしている。
In the data communication apparatus according to the present invention, the transmission means sends out the transmission signal of the predetermined format to the transmission line, and the reception means receives the transmission signal from the transmission means. In the communication network, the format confirmation means for confirming the format of the transmission signal transmitted through the transmission path, the error confirmation means for detecting a signal error from the transmission signal transmitted through the transmission path, and the format confirmation means for normal format And a positive response sending means for sending a positive response to the transmission line in a state where the error confirmation means does not confirm the occurrence of an error, and the format confirmation means confirms that the format is normal, and the error confirmation means Negative response sending that sends negative response to the transmission line when error occurrence is confirmed Configured and means, when an abnormality of the format is identified in the format check means, any of the positive and negative responses are prevented from being delivered.

【0008】[0008]

【作用】例えば、車両内において発生するノイズの多く
は、サージ等のパルス性のものであり、したがって伝送
されるデータフレームの送信期間中において発生し続け
ることは少ない。この点に着目して受信手段側における
エラー検出時に、受信したメッセージが送信手段から送
信されたものか、ノイズによって誤認識されたものであ
るかを判別する。そして、受信フォーマットに異常が存
在しないと判断された状態でエラーが検出されたとき
に、否定応答を発生し、受信フォーマットが正常であっ
てノイズによる誤認識と判定されたときに、肯定応答も
否定応答も行わず、他のメッセージの破壊が行われない
ようにして、伝送効率が確保されるようにしている。
For example, most of the noise generated in the vehicle is of a pulse type such as surge, and therefore it is unlikely to continue to be generated during the transmission period of the data frame to be transmitted. Focusing on this point, when an error is detected on the receiving means side, it is determined whether the received message is transmitted from the transmitting means or is erroneously recognized due to noise. Then, when an error is detected in a state where it is determined that there is no abnormality in the reception format, a negative response is generated, and when it is determined that the reception format is normal and false recognition due to noise, an affirmative response is also issued. Negative response is not performed, and other messages are not destroyed so that transmission efficiency is ensured.

【0009】車両内において頻繁に発生するノイズは、
点火ノイズ、モータやソレノイド等が発生するフライバ
ックパルス等によるもので、散発的に発生することが多
い。したがって、メッセージ送信中にノイズが発生した
場合と、送信中にノイズが発した場合との伝送路上にお
ける大きな相違点は、定められたフレームフォーマット
に近いものが伝送されたか否かである。このため、受信
手段で受信された信号において、フォーマットの特徴的
な部分、例えばSOF(Start Of Frame)、EOD(End O
f Data) 、メッセージ長(SOFからEODまでの長
さ)、およびビット同期をとるための符号が、所定の波
形形状をしているか否かの判断によって、伝送されたフ
ォーマットが正常であるか否かを識別できるもので、こ
の識別がフォーマット確認手段によって行われる。
Noise that frequently occurs in a vehicle is
It is often caused sporadically due to ignition noise, flyback pulses generated by motors, solenoids, and the like. Therefore, a major difference on the transmission path between the case where noise is generated during message transmission and the case where noise is generated during transmission is whether or not the one close to the predetermined frame format is transmitted. Therefore, in the signal received by the receiving means, a characteristic part of the format, for example, SOF (Start Of Frame), EOD (End O)
f Data), message length (length from SOF to EOD), and whether the transmitted format is normal by judging whether or not the code for bit synchronization has a predetermined waveform shape. It can be identified by the format confirmation means.

【0010】受信手段からの否定応答が他のメッセージ
を破壊するのは、主に無送信中に発生したノイズにより
送信開始を誤認識してときで、このため受信手段におい
てフォーマット確認手段が無送信時のノイズ発生と認識
したときには否定応答を送信しないようにしている。こ
の様にエラーが発生したならば必ず否定応答を返送する
のではなく、少なくともフォーマットの主だった形状が
正常と認識されたときにおいてのみ否定応答を返送する
ことにより、ノイズの多い環境下においても伝送効率の
悪化が効果的に抑制できる。
The negative response from the receiving means destroys other messages mainly when erroneously recognizing the start of transmission due to noise generated during non-transmission, and therefore the format confirming means does not transmit in the receiving means. Negative response is not sent when it is recognized that noise is generated. Even if an error occurs in this way, a negative response is not always returned, but a negative response is returned only when at least the main shape of the format is recognized to be normal, so even in a noisy environment. The deterioration of transmission efficiency can be effectively suppressed.

【0011】[0011]

【実施例】以下、図面を参照してこの発明の一実施例を
説明する。図1は、例えば車両に搭載される通信ネット
ワークの構成を示すもので、中央の電子制御ユニット等
に対応して設定される1つの親局11と、モータやソレノ
イド、さらにセンサやスイッチ等の負荷要素それぞれに
対応して設定される複数の子局121 、122 、…とを備
え、親局11と各子局121 、122 、…それぞれとは、共通
の伝送路13によって接続されて、マスター(親局)スレ
ーブ(子局)構成のネットワークを構成している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of a communication network installed in a vehicle, for example, one master station 11 set corresponding to a central electronic control unit and the like, motors and solenoids, and loads such as sensors and switches. A plurality of slave stations 121, 122, ... Set corresponding to the respective elements are provided, and the master station 11 and each slave station 121, 122 ,. A master station slave (slave station) network is configured.

【0012】親局11は、プロトコル制御部111 と受信部
112 と送信部113 とを備えているもので、プロトコル制
御部111 は水晶振動クロック源とした、例えばマイクロ
プロセッサによって構成される。また、受信部112 は伝
送路13の電位を、抵抗R1 およびR2 で分圧した基準電
圧と比較するコンパレータCo1によって構成され、送信
部113 はトランジスタを用いてスリーステート出力可能
なドライバによって構成される。
The master station 11 includes a protocol control unit 111 and a receiving unit.
The protocol control unit 111 includes a 112 and a transmission unit 113, and is constituted by, for example, a microprocessor that uses a crystal oscillation clock source. The receiving unit 112 is composed of a comparator Co1 which compares the potential of the transmission line 13 with a reference voltage divided by the resistors R1 and R2, and the transmitting unit 113 is composed of a driver capable of three-state output using a transistor. .

【0013】子局121 、122 、…は、例えば子局121 で
代表して示すように、通信データの入出力ポートを持つ
プロトコル制御部1211と、伝送路13の電位と抵抗R2 お
よびR4 で分圧した基準電位と比較するコンパレータC
o2によって構成される受信部1212と、通信出力用トラン
ジスタ1213を含み構成され、プロトコル制御部1211から
の出力で制御されるトランジスタ1214によって、外部ア
クチュエータ141 である負荷要素を駆動する。また、セ
ンサまたはスイッチ142 等の負荷要素からの検出情報は
プロトコル制御部1211に入力され、送信データが作成さ
れて通信用トランジスタ1213を制御する。
The slave stations 121, 122, ... Are divided into a protocol control section 1211 having an input / output port for communication data, a potential of the transmission line 13 and resistors R2 and R4, as represented by the slave station 121. Comparator C for comparing with the applied reference potential
A load element, which is an external actuator 141, is driven by a transistor 1214 that is configured to include a reception unit 1212 configured by o2 and a communication output transistor 1213, and is controlled by the output from the protocol control unit 1211. Further, the detection information from the load element such as the sensor or the switch 142 is input to the protocol control unit 1211, transmission data is created, and the communication transistor 1213 is controlled.

【0014】その他の子局122 、…は、この子局121 と
同様に構成されるものであるが、それぞれアクチュエー
タ、センサ、スイッチ等の特有の負荷要素が接続され、
これらの負荷要素が各子局からの指令によって駆動さ
れ、またセンサやスイッチ等からの情報がそれぞれ対応
する子局に入力されるようになっている。
The other slave stations 122, ... Have the same construction as the slave station 121, but are connected with specific load elements such as actuators, sensors, switches, etc., respectively.
These load elements are driven by a command from each slave station, and information from sensors, switches, etc. is input to the corresponding slave stations.

【0015】図2は子局12(121、122 、…) の構成をさ
らに詳細に示したもので、コンパーレータCo1からの出
力の供給される受信回路21は、主にシフトレジスタによ
って構成されて、エラーが存在しない場合においてのみ
受信データをバッファに取り込み、外部のアクチュエー
タ141 等を駆動するトランジスタ1214等に信号を出力す
る。コンパレータCo1からの出力信号は、さらにフォー
マットエラーを検出するフォーマット確認回路22、エラ
ーチェックコード確認回路23、ビットエラー確認回路2
4、さらにタイミング信号発生回路25に供給される。
FIG. 2 shows the construction of the slave stations 12 (121, 122, ...) In more detail. The receiving circuit 21 to which the output from the comparator Co1 is supplied is mainly composed of a shift register. Only when there is no error, the received data is fetched in the buffer and a signal is output to the transistor 1214 or the like that drives the external actuator 141 or the like. The output signal from the comparator Co1 further includes a format check circuit 22 for detecting a format error, an error check code check circuit 23, and a bit error check circuit 2.
4, further supplied to the timing signal generation circuit 25.

【0016】ここで、エラーチェックコード確認回路23
は受信データの化けの発生を確認している。また、ビッ
トエラー確認回路24は受信データが決められた符号形状
を確認しているか、あるいは各ビット長が決められた長
さであるか否かを、各ビット毎に確認しているもので、
タイミング信号発生回路25は各種内部回路の動作タイミ
ングを管理しているものであるが、この図においては説
明の便のために、肯定応答のためのACK、否定応答の
ためのNCKの出力のみを示している。
Here, the error check code confirmation circuit 23
Confirms that the received data is garbled. Further, the bit error confirmation circuit 24 confirms, for each bit, whether the received data is confirming the determined code shape or whether each bit length is the determined length.
The timing signal generation circuit 25 manages the operation timings of various internal circuits. However, in this figure, for convenience of explanation, only the output of ACK for positive response and NCK for negative response is output. Shows.

【0017】そして、フォーマット確認回路22と、エラ
ーチェックコード確認回路23と、さらにビットエラー確
認回路24それぞれからの確認信号は、3入力のアンド回
路26に供給され、このアンド回路26からの出力信号は受
信回路21に受信指令信号として供給される。タイミング
信号発生回路25から出力される符号ACKは、アンド回
路26からの出力と共にアンド回路27入力し、タイミング
発生回路25からの符号NCKは、フォーマット確認回路
22からの出力と共にアンド回路28に入力するもので、こ
のアンド回路28にはさらにアンド回路26からの出力が負
論理で入力されている。
The confirmation signals from the format confirmation circuit 22, the error check code confirmation circuit 23, and the bit error confirmation circuit 24 are supplied to the 3-input AND circuit 26, and the output signal from the AND circuit 26 is supplied. Is supplied to the reception circuit 21 as a reception command signal. The code ACK output from the timing signal generation circuit 25 is input to the AND circuit 27 together with the output from the AND circuit 26, and the code NCK from the timing generation circuit 25 is the format confirmation circuit.
It is input to the AND circuit 28 together with the output from 22, and the output from the AND circuit 26 is also input to the AND circuit 28 in negative logic.

【0018】この子局12の外部に設定されるスイッチ14
2 等の負荷要素からの情報は送信回路29に入力され、こ
の送信回路29はタイミング信号発生回路25からのタイミ
ング信号により駆動されて、スイッチ142 等の外部負荷
要素からの入力を、所定のフォーマットで出力する。こ
の送信部113 からの出力信号は、オア回路30を介して送
信部113 を構成するトランジスタを制御するもので、オ
ア回路30にはさらにアンド回路27および28からの出力信
号が供給されている。
A switch 14 set outside the slave station 12.
Information from load elements such as 2 is input to the transmitting circuit 29, which is driven by the timing signal from the timing signal generating circuit 25 to input from external load elements such as the switch 142 to a predetermined format. To output. The output signal from the transmission unit 113 controls the transistor forming the transmission unit 113 via the OR circuit 30, and the OR circuit 30 is further supplied with the output signals from the AND circuits 27 and 28.

【0019】図3はフォーマット確認回路22を説明する
ためのフレームフォーマットの例を示すもので、このフ
レームはまずSOFで始まる。そして、このSOFに続
いてデータの下位4ビットD0 〜D3 と、ビット同期を
取るためのビットD3 を反転した1ビットの反転符号か
らなる基本ブロック1が設定され、さらに上位4ビット
D4 〜D7 と、ビット同期を取るためのビットD7 を反
転した1ビットの反転符号からなる基本ブロック2が続
く。そして、さらにデータ部のエラーチェックコード4
ビットPo 〜P3 と、ビット同期を取るためのビットP
3 を反転した1ビットの反転符号からなる基本ブロック
3が続くもので、この反転符号はデータの終了を示す符
号EODを兼用する。その後には、ACKおよびNCK
用の領域が設定され、フレーム終了を示すEOFが最後
に設定される。
FIG. 3 shows an example of a frame format for explaining the format confirmation circuit 22. This frame first starts with SOF. Then, following this SOF, a lower 4 bits D0 to D3 of the data and a basic block 1 consisting of a 1-bit inversion code obtained by inverting the bit D3 for bit synchronization are set, and further upper 4 bits D4 to D7. , A basic block 2 consisting of a 1-bit inversion code obtained by inverting the bit D7 for bit synchronization follows. And the error check code 4 in the data section
Bits Po to P3 and bit P for bit synchronization
A basic block 3 consisting of a 1-bit inversion code obtained by inverting 3 is followed, and this inversion code also serves as a code EOD indicating the end of data. After that, ACK and NCK
Area is set, and EOF indicating the end of the frame is set last.

【0020】図4はこの様にフレームフォーマットを用
いた場合のフォーマット確認回路22の具体的な構成例を
示すもので、図3のフレームフォーマットの基本ブロッ
ク1〜3の各ビットと共に、SOFを記憶する記憶段を
有するシフトレジスタ40によって構成される。
FIG. 4 shows a specific example of the structure of the format confirmation circuit 22 when the frame format is used in this way. SOF is stored together with each bit of the basic blocks 1 to 3 of the frame format shown in FIG. And a shift register 40 having a storage stage.

【0021】このシフトレジスタ40の各段には、図で示
されるようにエラー確認時における各段に保持されるビ
ットが格納される。そして、このシフトレジスタ40のビ
ットD3 およびその反転符号を記憶した段からの出力
は、排他的論理和回路41に入力する。また、ビットD7
およびその反転符号を記憶した段からの出力は排他的論
理和回路42に入力し、さらにビットP3 およびその後に
続く入力データを排他的論理和回路43に入力するように
構成しているもので、これらの排他的論理和回路41〜43
それぞれからの出力は、アンド回路44に入力する。
Each stage of the shift register 40 stores the bits held in each stage at the time of error confirmation as shown in the figure. The output from the stage storing the bit D3 of the shift register 40 and its inverted sign is input to the exclusive OR circuit 41. Also, bit D7
And the output from the stage storing the inverted code thereof is inputted to the exclusive OR circuit 42, and further, the bit P3 and the input data subsequent thereto are inputted to the exclusive OR circuit 43. These exclusive OR circuits 41 to 43
The output from each is input to the AND circuit 44.

【0022】このアンド回路44からはフォーマット確認
信号が出力されるもので、フレームフォーマットが正常
な場合にハイレベル(H)の出力が得られ、フォーマッ
トに異常がある場合にはローレベル(L)の出力が得ら
れる。
A format confirmation signal is output from the AND circuit 44. A high level (H) output is obtained when the frame format is normal, and a low level (L) when the format is abnormal. Output is obtained.

【0023】この様に構成されるマスタースレーブ方式
が採用される多重通信装置における動作を、図5を用い
て説明する。まず、親局11においては伝送路13に対して
図3で示すようなフォーマットにしたがってデータ信号
を送出するもので、親局11からデータ終了を示す符号E
ODまで出力した時点で、各子局12の受信回路21内のシ
フトレジスタに、図4で示すような状況でデータが格納
される。ここで、図3で示されたフォーマットの特徴
は、フレームスタートを示す符号SOFの最後のビット
がHレベルで、データ領域の5ビット毎にビット同期調
整用の反転信号が入っていることである。
The operation of the multiplex communication apparatus adopting the master-slave system configured as above will be described with reference to FIG. First, the master station 11 sends a data signal to the transmission line 13 according to the format shown in FIG.
At the time of outputting up to OD, the data is stored in the shift register in the reception circuit 21 of each slave station 12 in the situation as shown in FIG. Here, the characteristic of the format shown in FIG. 3 is that the last bit of the code SOF indicating the frame start is at the H level, and an inversion signal for bit synchronization adjustment is included in every 5 bits of the data area. .

【0024】この様なマスタースレーブ方式の多重通信
装置において、通信が正常に行われた場合には、図5の
(A)で示すように伝送路13に送り出される信号波形が
設定される。すなわち、図4で示したようなフォーマッ
ト確認回路22において、基本ブロック1〜3それぞれの
反転信号が排他的論理和回路41〜43で確認され、正常で
あればこれら排他的論理和回路41〜43の出力がHレベル
となって、アンド回路44に出力がHレベルとなり、フォ
ーマット確認信号が正常を表示するHレベルとされる。
また、この状態では他の確認回路23および24も正常であ
ることを示すHレベルとされ、アンド回路26の出力がH
レベルとされ、アンド回路27およびオア回路30を介して
肯定応答ACKを送出する。
In such a master-slave multiplex communication device, when communication is normally performed, the signal waveform sent to the transmission line 13 is set as shown in FIG. That is, in the format confirmation circuit 22 as shown in FIG. 4, the inverted signals of the basic blocks 1 to 3 are confirmed by the exclusive OR circuits 41 to 43, and if they are normal, these exclusive OR circuits 41 to 43. Goes to H level, the output to the AND circuit 44 goes to H level, and the format confirmation signal goes to H level indicating normal.
In this state, the other confirmation circuits 23 and 24 are also set to H level indicating that they are normal, and the output of the AND circuit 26 becomes H level.
The level is set, and the acknowledge ACK is transmitted via the AND circuit 27 and the OR circuit 30.

【0025】次に、図5の(B)で示すように伝送波形
のフォーマット中にノイズが発生して、伝送データに化
けが発生したような場合には、フォーマット確認回路22
からの出力信号がHレベルを示すものであるが、エラー
チェックコード確認回路23、またはビットエラー確認回
路23の出力がLレベルを示して、異常の判定出力を出
す。このため、アンド回路26の出力がLレベルとされ、
ACK信号はアンド回路27から出力されることがない。
しかし、アンド回路26の出力がLレベルであり、且つフ
ォーマット確認回路22の出力がHレベルであるため、ア
ンド回路28を介して否定応答NCKが送出される。
Next, as shown in FIG. 5B, when noise occurs during the format of the transmission waveform and the transmission data is garbled, the format confirmation circuit 22
Although the output signal from the H.V. indicates the H level, the output of the error check code confirmation circuit 23 or the bit error confirmation circuit 23 indicates the L level, and an abnormal determination output is output. Therefore, the output of the AND circuit 26 is set to the L level,
The ACK signal is never output from the AND circuit 27.
However, since the output of the AND circuit 26 is at the L level and the output of the format confirmation circuit 22 is at the H level, the negative response NCK is sent via the AND circuit 28.

【0026】そして、図5の(C)で示すようにフレー
ムフォーマットの前のアイドル期間(無信号時)におい
てノイズが発生すると、フォーマット確認回路22におい
て異常を検出し、この回路22からの出力がLレベルとさ
れる。したがって、アンド回路26の出力がLレベルとさ
れてアンド回路27の出力がLレベルとされ、またフォー
マット確認回路22の出力がLレベルであるため、アンド
回路28の出力がLレベルとされるようになって、正常応
答(ACK)と共に否定応答(NCK)が送出されるこ
とがない。
Then, as shown in FIG. 5C, when noise occurs during the idle period (when there is no signal) before the frame format, the format confirmation circuit 22 detects an abnormality, and the output from this circuit 22 is detected. It is set to L level. Therefore, since the output of the AND circuit 26 is set to the L level, the output of the AND circuit 27 is set to the L level, and the output of the format confirmation circuit 22 is set to the L level, the output of the AND circuit 28 is set to the L level. Therefore, the negative response (NCK) is not transmitted together with the normal response (ACK).

【0027】[0027]

【発明の効果】以上のようにこの発明に係るデータ通信
装置によれば、送信側がメッセージを送信したとき以外
は、ノイズが発生することがあっても否定応答(NC
K)を伝送路に送出することがない。そして、もしノイ
ズが発生した直後において正常なメッセージの送出が行
われたとしても、そのメッセージを破壊することがない
ものであり、メッセージ破壊に伴う伝送効率の悪化はな
く、したがってノイズの発生による影響が最小限に抑え
られる。
As described above, according to the data communication apparatus of the present invention, a negative response (NC) is generated even when noise may occur except when the transmitting side transmits a message.
K) is not sent to the transmission line. Even if a normal message is sent immediately after the noise is generated, the message is not destroyed, and the transmission efficiency does not deteriorate due to the message destruction. Is minimized.

【0028】しかしながら、ノイズがフォーマットの特
徴部分等において発生した場合においては、たとえデー
タ送信中のノイズであっても否定応答を送信しない場合
がある。しかしこの様な場合にあっては、必ず肯定応答
も送出されないものであり、したがって子局における異
常であるか、またノイズ発生による異常であるかの判断
はできないが、送信側からのデータが正常に送信されな
かったことの確認ができる。子局の故障については、必
ずしも送信毎に確認する必要がないもので、何回かの確
認がされた後に判断されることが多いものであるため、
ノイズ発生周期と送信周期とが完全に一致しない限り、
子局の故障を判断することはできる。
However, when noise is generated in the characteristic portion of the format or the like, the negative response may not be transmitted even if the noise is during data transmission. However, in such a case, a positive response is not always sent, and therefore it is not possible to judge whether the abnormality is in the slave station or due to noise, but the data from the transmitting side is normal. You can confirm that it was not sent to. The failure of the slave station does not necessarily need to be confirmed for each transmission, and is often judged after several confirmations.
As long as the noise generation period and the transmission period do not completely match,
It is possible to judge the failure of the slave station.

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

【図1】この発明の一実施例に係るデータ通信装置を説
明するための、マスタースレーブ構成のネットワークを
説明する構成図。
FIG. 1 is a block diagram illustrating a master-slave network for explaining a data communication device according to an embodiment of the present invention.

【図2】上記ネットワーク構成における子局の構成を説
明する図。
FIG. 2 is a diagram illustrating a configuration of a slave station in the above network configuration.

【図3】伝送路に送出されるフレームフォーマットの構
成を説明する図。
FIG. 3 is a diagram illustrating a configuration of a frame format sent to a transmission path.

【図4】上記フレームフォーマットに対応して構成され
るフォーマット確認回路の構成例を示す図。
FIG. 4 is a diagram showing a configuration example of a format confirmation circuit configured in correspondence with the frame format.

【図5】上記実施例に係るデータ通信装置の動作を説明
するための信号波形図を示すもので、(A)は正常時、
(B)はデータ伝送中のノイズが発生時、さらに(C)
は無送信時のノイズ発生時を示す。
FIG. 5 is a signal waveform diagram for explaining the operation of the data communication apparatus according to the above embodiment, where (A) shows a normal state,
(B) is when noise occurs during data transmission, and (C)
Indicates the occurrence of noise during no transmission.

【符号の説明】[Explanation of symbols]

11…親局、111 …プロトコル制御部、112 …受信回路、
113 …送信部、 12、121 、122 、…子局、21…受信回
路、22…フォーマット確認回路、23…エラーチェックコ
ード確認回路、24…ビットエラー確認回路、25…タイミ
ング信号発生回路、26〜28…アンド回路、29…送信回
路、30…オア回路。
11 ... Master station, 111 ... Protocol control section, 112 ... Reception circuit,
113 ... Transmitter, 12, 121, 122, ... Slave station, 21 ... Receive circuit, 22 ... Format check circuit, 23 ... Error check code check circuit, 24 ... Bit error check circuit, 25 ... Timing signal generation circuit, 26- 28 ... AND circuit, 29 ... Transmission circuit, 30 ... OR circuit.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 定められたフォーマットの送信信号を伝
送路に送出する送信手段と、 前記伝送路に接続されて、前記送信手段からの送信信号
を受信する受信手段とから構成され、 この受信手段は、 前記伝送路を伝送された送信信号のフォーマットを確認
するフォーマット確認手段と、 前記伝送路を伝送された送信信号から信号エラーを検出
するエラー確認手段と、 前記フォーマット確認手段でフォーマットが正常と確認
され、且つ前記エラー確認手段でエラー発生が確認され
ない状態で肯定応答を前記伝送路に送出する肯定応答送
出手段と、 前記フォーマット確認手段でフォーマットが正常と確認
され、且つ前記エラー確認手段でエラー発生が確認され
た状態で否定応答を前記伝送路に送出する否定応答送出
手段とを備え、 前記フォーマット確認手段でフォーマットの異常が確認
されたときには、前記肯定応答および否定応答のいずれ
も送出されないようにしたことを特徴とするデータ通信
装置。
1. A receiving means for transmitting a transmission signal of a predetermined format to a transmission line, and a receiving means connected to the transmission line for receiving the transmission signal from the transmitting means. The format confirmation unit for confirming the format of the transmission signal transmitted through the transmission line, the error confirmation unit for detecting a signal error from the transmission signal transmitted through the transmission line, and the format confirmation unit confirms that the format is normal. A positive response sending means for sending an affirmative response to the transmission line in a state where the error is confirmed by the error confirmation means, and the format confirmation means confirms that the format is normal, and the error confirmation means generates an error A negative response sending means for sending a negative response to the transmission path in a state where the occurrence is confirmed, When the abnormality of the format is identified in preparative confirmation means, the data communication is characterized in that none of the positive and negative responses was being dispatched device.
【請求項2】 前記送信手段は1個の親局で構成される
と共に、前記受信手段は前記親局に伝送路を介して接続
された複数の子局それぞれによって構成されるもので、
前記親局と複数の子局それぞれとの間で多重通信が行わ
れるようにした請求項1記載のデータ通信装置。
2. The transmitting means is composed of one master station, and the receiving means is composed of each of a plurality of slave stations connected to the master station via a transmission line.
The data communication apparatus according to claim 1, wherein multiple communication is performed between the master station and each of the plurality of slave stations.
【請求項3】 前記送信信号を構成するフレームフォー
マットは、フレームスタート符号に始まり、それぞれ同
期を取るための1ビットの反転ビットを含む複数ビット
で構成された複数のデータブロックが直列的に配列され
てデータ終了符号に続き、さらに肯定応答および否定応
答の領域を設定してフレーム終了符号が設定されるよう
に構成されるもので、前記フォーマット確認手段は前記
フレームフォーマットを構成するビットデータが順次格
納されるシフトレジスタで構成され、前記複数のデータ
ブロックそれぞれの前記反転ビット並びにフレームスタ
ート符号の検出信号の結合される論理回路によって前記
フォーマットの正常もしくは異常が判別されるようにし
た請求項1記載のデータ通信装置。
3. A frame format forming the transmission signal has a plurality of data blocks, each of which is formed by a plurality of bits including a frame start code and a 1-bit inversion bit for synchronizing, arranged in series. The frame end code is set by sequentially setting a positive response area and a negative response area following the data end code. The format confirmation means sequentially stores bit data forming the frame format. 2. The normality or abnormality of the format is determined by a logic circuit which is composed of a shift register which is combined with the inversion bit of each of the plurality of data blocks and the detection signal of the frame start code. Data communication device.
JP6185684A 1994-08-08 1994-08-08 Data communication equipment Pending JPH0851413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6185684A JPH0851413A (en) 1994-08-08 1994-08-08 Data communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6185684A JPH0851413A (en) 1994-08-08 1994-08-08 Data communication equipment

Publications (1)

Publication Number Publication Date
JPH0851413A true JPH0851413A (en) 1996-02-20

Family

ID=16175061

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6185684A Pending JPH0851413A (en) 1994-08-08 1994-08-08 Data communication equipment

Country Status (1)

Country Link
JP (1) JPH0851413A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007502058A (en) * 2003-08-08 2007-02-01 クリプサル インテグレイテッド システムズ ピーティーワイ リミテッド Wireless network communication system and protocol
JP2013062851A (en) * 2012-11-08 2013-04-04 Fujitsu Ltd Wireless communication device, wireless communication control device, and wireless communication method
US8656240B2 (en) 2007-10-03 2014-02-18 Fujitsu Limited Request for retransmission when format of data is incorrect

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007502058A (en) * 2003-08-08 2007-02-01 クリプサル インテグレイテッド システムズ ピーティーワイ リミテッド Wireless network communication system and protocol
US8000307B2 (en) 2003-08-08 2011-08-16 Clipsal Integrated Systems Pty Ltd Radio network communication system and protocol
US8724614B2 (en) 2003-08-08 2014-05-13 Clipsal Integrated Systems Pty Ltd Radio network communication system and protocol
US8656240B2 (en) 2007-10-03 2014-02-18 Fujitsu Limited Request for retransmission when format of data is incorrect
US8812926B2 (en) 2007-10-03 2014-08-19 Fujitsu Limited Wireless communication apparatus, wireless communication control apparatus, wireless communication method, wireless communication program storage medium, wireless communication control method, and wireless communication control program storage medium
JP2013062851A (en) * 2012-11-08 2013-04-04 Fujitsu Ltd Wireless communication device, wireless communication control device, and wireless communication method

Similar Documents

Publication Publication Date Title
US5764919A (en) Data transmission method and system therefor
US8887022B2 (en) Reliable data transmission with reduced bit error rate
KR20000005107A (en) Bus system for data transfer
US5450403A (en) Method and apparatus for multiplex transmission
US5363367A (en) Data transmission system using an optical fiber loop
EP0295897A2 (en) Multiplex wiring system
US6167057A (en) Data communication system and electronic control unit used therein
US6665593B2 (en) Device for data transmission between vehicle sensors and a processor in a controller
US20020087763A1 (en) Communication sytem with a communication bus
JP3303469B2 (en) Multiplex transmission system
US5418721A (en) Control device for transmission of supervisory control data in vehicle
JPH0851413A (en) Data communication equipment
JPH0833070A (en) Multiplex communication method
US5490143A (en) Multiplex transmission method and a synchronizing method in multiplex transmission
JPH04299629A (en) Multiplex transmission method
EP0778179B1 (en) Multiplex communication system
JPH0583276A (en) Data transmission system
US5550830A (en) Multiplex transmission apparatus and method
JPH0795222A (en) Communication equipment
JPH07177162A (en) Multiplex communication
JPH0583278A (en) Data transmission system
JP2022135493A (en) Communication system, management device, and terminal device
CA2363980C (en) Data transmission method and system therefor
JPH0851455A (en) Multiplex transmission equipment
JP3050637B2 (en) Multiplex transmission method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term