JPH0833070A - Multiplex communication method - Google Patents

Multiplex communication method

Info

Publication number
JPH0833070A
JPH0833070A JP6168063A JP16806394A JPH0833070A JP H0833070 A JPH0833070 A JP H0833070A JP 6168063 A JP6168063 A JP 6168063A JP 16806394 A JP16806394 A JP 16806394A JP H0833070 A JPH0833070 A JP H0833070A
Authority
JP
Japan
Prior art keywords
slave station
retransmission
access
station
slave
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
JP6168063A
Other languages
Japanese (ja)
Other versions
JP3628042B2 (en
Inventor
Yoshinori Sato
義則 佐藤
Takashi Matsumoto
松本  孝
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 JP16806394A priority Critical patent/JP3628042B2/en
Publication of JPH0833070A publication Critical patent/JPH0833070A/en
Application granted granted Critical
Publication of JP3628042B2 publication Critical patent/JP3628042B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To prevent a long time from being spent for a retransmitting operation by limiting the total number of times of retransmission per communication cycle or limiting the total time used for the retransmission. CONSTITUTION:In a step S11, transmission is performed to slave stations (n). In a step S12 after the end of transmission, a reception waiting state is provided and the normal reception or abnormal detection of slave station answering id performed. In the case of normal reception, a step S13 is started but when any communication abnormality is detected, a step S16 is started. In the step S13 after normal reception, a retransmission counter TXN is cleared, a slave station number (n) at the transmission destination is incremented, processing is returned to the step S11, and the access with the next slave station is started. When the slave station number (n) exceeds '7' before that, however, the slave station number (n) and a total retransmission counter TXC are cleared in a step S15 for showing the end of one communication cycle, and the access is repeated from the beginning of the communication cycle.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、車両電装に多重通信を
適用した場合に、通信異常発生時にも其の影響を抑制
し、良好な応答性を確保できるようにした多重通信方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiplex communication method which, when multiplex communication is applied to vehicle electrical equipment, suppresses the influence thereof even when a communication error occurs and ensures good responsiveness.

【0002】[0002]

【従来の技術】従来の車両電装においては、各電子機器
間をスイッチ入力、センサ出力、アクチュエータ駆動信
号等、それぞれに必要な信号数の配線で接続していた。
しかし、車両の高機能化に伴い電装システムが複雑化す
ると、配線数の増加によるレイアウト性の悪化や、重量
増、組み立て時の作業性の悪化などの問題が生じたた
め、多重通信システムの導入が行われるようになってき
た。図7は多重通信システムによる車両電装の一例を示
すものである。マイコン110を持つ通信の親局101
を運転席インストルメントの下に1個搭載し、子局は、
運転席ドア143および助手席ドア144内にそれぞれ
2個の子局102〜105を、後席の左右ドア145、
146内にそれぞれ1個の子局106、107を、運転
席および助手席シート147、148の下にそれぞれ1
個の子局108、109を搭載している。通信線142
が、親局101内の通信IC111と各子局に内蔵され
ている通信IC112相互間を結んでおり、各子局通信
IC112の入出力ポートは入出力回路113〜120
を介して、モータ131〜141やスイッチ121〜1
39に接続されている。各子局102〜109は親局1
01からの出力命令の送信をを受信し、これに従ってモ
ータを駆動し、子局自身のスイッチ入力信号の状態を親
局への返信として送信する機能を有している。各電装機
能や通信機能の制御は、親局101が通信線142を介
して子局102〜109の入出力を制御することにより
行っている。
2. Description of the Related Art In the conventional vehicle electrical equipment, electronic devices are connected by wiring of a required number of signals such as a switch input, a sensor output and an actuator drive signal.
However, if the electrical system becomes more complicated as the functionality of the vehicle becomes higher, problems such as deterioration of layout due to an increase in the number of wires, increased weight, and deterioration of workability during assembly have arisen. It has started to take place. FIG. 7 shows an example of vehicle electrical equipment by a multiplex communication system. Communication master station 101 having microcomputer 110
One is installed under the driver's seat instrument, and the slave station is
Two child stations 102 to 105 are respectively provided in the driver's seat door 143 and the passenger's seat door 144, and the left and right doors 145 at the rear seats,
One child station 106, 107 is provided in each 146, and one child station 106, 107 is provided under the driver's seat and passenger seat 147, 148, respectively.
It is equipped with individual slave stations 108 and 109. Communication line 142
However, the communication IC 111 in the master station 101 and the communication IC 112 built in each slave station are connected to each other, and the input / output ports of each slave station communication IC 112 are input / output circuits 113 to 120.
Through the motors 131 to 141 and the switches 121 to 1
It is connected to 39. Each slave station 102-109 is the master station 1
It has a function of receiving the transmission of the output command from 01, driving the motor accordingly, and transmitting the state of the switch input signal of the slave station itself as a reply to the master station. The control of each electrical function and the communication function is performed by the master station 101 controlling the input / output of the slave stations 102 to 109 via the communication line 142.

【0003】通信波形とそのフォーマットの一例を図8
に示す。通信信号はその始まりを表す通信開始符号20
1、親局の送信か子局の送信かを識別するコマンドフレ
ーム202、送信先または送信元を示す子局アドレスフ
レーム203、入出力データを示すデータフレーム20
4、205、通信信号の終了を表す通信終了符号206
で構成され、通信信号の異常を検出するためのパリティ
ビット207〜209も設けられている。なお、各子局
102〜109には重複しない固有のアドレスが設定さ
れており、子局の通信IC112の入出力ポートとデー
タフレームの各ビットは一対一に対応するように割り付
けられている。図9は通信手順の一例を示すものであ
る。親局101はマイコン110からの制御によりアク
セス先子局のアドレスと出力データを送信する(301
〜304)。各子局の内、自己アドレスを認識した子局
のみが、受信した出力データに従って負荷駆動出力を行
い、同時に自己アドレスとその子局の入力データを親局
101に対して返信する(305〜308)。一方、子
局からの返信を受けた親局の通信IC111はマイコン
に子局の入力データを伝達する。親局101は予め定め
られた順序で各子局へアクセスし、この動作を繰り返
す。実際に、図7において運転席パワーシートスイッチ
121を操作してから運転席パワーシートモータ140
が作動するまでの経過を説明する。前述の通信手順を行
いながら、親局のマイコン110が通信IC111を経
由してパワーシートスイッチ子局102からスイッチが
操作されたというデータを取り込む。マイコンは制御ロ
ジックに従って演算し、パワーシートモータ140の出
力を行うことを決定すると共に次の子局にアクセスす
る。各子局とのアクセスを繰り返し、やがてパワーシー
ト子局108にアクセスする順番になると親局101は
パワーシートモータ出力命令を送信する。これを受けた
パワーシート子局108がパワーシートモータ140を
駆動する。
FIG. 8 shows an example of a communication waveform and its format.
Shown in The communication signal is a communication start code 20 indicating the beginning of the communication signal.
1, a command frame 202 for identifying transmission of a master station or transmission of a slave station, a slave station address frame 203 indicating a transmission destination or a transmission source, and a data frame 20 indicating input / output data
4, 205, a communication end code 206 indicating the end of the communication signal
And parity bits 207 to 209 for detecting an abnormality in the communication signal are also provided. A unique address is set for each slave station 102-109, and the input / output port of the communication IC 112 of each slave station and each bit of the data frame are assigned in a one-to-one correspondence. FIG. 9 shows an example of the communication procedure. The master station 101 transmits the address and output data of the access destination slave station under the control of the microcomputer 110 (301
~ 304). Of the slave stations, only the slave station that recognizes its own address performs load drive output according to the received output data, and at the same time returns the self address and the input data of the slave station to the master station 101 (305 to 308). . On the other hand, the communication IC 111 of the master station which has received the reply from the slave station transmits the input data of the slave station to the microcomputer. The master station 101 accesses each slave station in a predetermined order and repeats this operation. Actually, in FIG. 7, after operating the driver's seat power seat switch 121, the driver's seat power seat motor 140
The process until is activated will be described. While performing the above-described communication procedure, the master station microcomputer 110 fetches data indicating that the switch has been operated from the power seat switch slave station 102 via the communication IC 111. The microcomputer operates according to the control logic, determines to output the power seat motor 140, and accesses the next slave station. The access to each slave station is repeated, and when it is time to access the power seat slave station 108, the master station 101 transmits a power seat motor output command. In response to this, the power seat slave station 108 drives the power seat motor 140.

【0004】[0004]

【発明が解決しようとする課題】上記のような多重通信
システムの車両への導入に際しては、ノイズの混入等に
よる通信信号の破壊の可能性を考慮しなくてはならな
い。例えば、車両の様々な場所に存在するリレーのオン
/オフ時に発生する高周波サージは、数百Vに達するこ
とがあり、これが配線間の容量結合により通信線に侵入
すると通信信号の波形が歪み、正常な入出力データの授
受が妨げられることがある。通常、各通信ユニットにお
いては、パリティによるデータのチェックやパルス幅、
フォーマットのチェック、アドレスチェック、無応答検
知などが通信IC又はマイコンによって行われ、このよ
うな通信異常の発生時には、正常な受信が行われるよう
になるまで入出力データの更新を禁止するという処理を
行うのが、従来は普通であった。 このような方法を用
いた場合、一度ある子局とのアクセス時に異常が発生す
ると、通信順序が一巡し、次にその子局とのアクセスの
順番になり正常な通信が行われるまでは、モータ等の負
荷駆動出力は保持される。従って、スイッチ入力の変化
が負荷の動作に反映されるまでの時間が長くなり、応答
性の悪化を招く。特に、比較的頻繁に変化するスイッチ
入力を持つ子局との通信時に通信異常が発生した場合、
応答性の悪化が動作不良の原因となる可能性もある。こ
のような事態への対策としては、親局から再送信するの
が一般的である。すなわち、親局が子局からの返信に異
常を検知した場合は、次の子局とのアクセスに移らず
に、同一の子局に対して再びデータを送信するというも
のである。勿論、永久的なユニットの故障や通信線の断
線、ショートなども考えられるため、各子局への再送信
の回数には制限を設ける必要がある。上記のような従来
の多重通信方法では、再送信の制限回数を大きく設定す
るほど再送信の効果が出るが、通信順序が一巡する間
(以後、通信サイクルと呼ぶ)に何度も通信異常が発生
すると、通信サイクルが入力信号の状態遷移サイクルよ
りも長くなり、正確な入力信号の変化を捉えられなくな
ったり、状態遷移サイクルの長い入力信号を持つ子局へ
の再送信に時間を取られ、状態遷移サイクルの短い入力
信号を持つ子局とのアクセス間隔すなわち入力データの
更新周期が長くなり、正確な入力信号の変化を捉えられ
なくなるなどの問題が発生することがある。本発明は上
記のような従来からの問題が発生しないようにした多重
通信方法を提供することを課題とする。
When introducing the above-mentioned multiplex communication system into a vehicle, it is necessary to consider the possibility of the communication signal being destroyed by the mixing of noise. For example, a high-frequency surge that occurs when a relay that is present in various places of a vehicle is turned on and off may reach several hundreds of volts, and when this enters a communication line due to capacitive coupling between wirings, the waveform of the communication signal is distorted. The normal exchange of input / output data may be hindered. Normally, in each communication unit, data check by parity, pulse width,
Format check, address check, non-response detection, etc. are performed by the communication IC or microcomputer, and when such a communication error occurs, processing to prohibit updating of input / output data until normal reception is performed. It used to be normal. When such a method is used, if an error occurs once when accessing a certain slave station, the communication sequence goes through a cycle, then the order of access to that slave station is reached, and until normal communication is performed, the motor etc. The load drive output of is retained. Therefore, it takes a long time until the change of the switch input is reflected in the operation of the load, which deteriorates the responsiveness. Especially when a communication error occurs when communicating with a slave station that has a switch input that changes relatively frequently,
Deterioration of responsiveness may cause malfunction. As a measure against such a situation, it is common to retransmit from the master station. That is, when the master station detects an error in the reply from the slave station, the data is transmitted again to the same slave station without shifting to the access to the next slave station. Of course, a permanent unit failure, communication line disconnection, short circuit, etc. are possible, so it is necessary to limit the number of retransmissions to each slave station. In the conventional multiplex communication method as described above, the effect of retransmission increases as the number of times of retransmission limitation is set to a larger value. However, a communication error may occur repeatedly during one round of the communication sequence (hereinafter referred to as a communication cycle). When it occurs, the communication cycle becomes longer than the state transition cycle of the input signal, it becomes impossible to capture the accurate change of the input signal, and it takes time to retransmit to the slave station having the input signal with a long state transition cycle, An access interval with a slave station having an input signal with a short state transition cycle, that is, an update cycle of input data becomes long, which may cause a problem that an accurate change of the input signal cannot be captured. It is an object of the present invention to provide a multiplex communication method that avoids the above-mentioned conventional problems.

【0005】[0005]

【課題を解決するための手段】上記課題を解決するため
に本発明においては、一つの親局と複数の子局とが多重
通信線により接続され、親局はまず一つの子局へ送信を
行い、次いで、この送信を受信した子局からの返信を受
信するというアクセス動作を、予め定められたアクセス
順序に従って順次各子局に対して行い、アクセス順序の
一定のパターンを1通信サイクルとして繰り返す多重通
信方法において、親局は、子局からの返信を正常に受信
したときは上記アクセス順序に従って次の子局とのアク
セス動作に移り、子局からの返信に異常を検知したとき
に、所定の再送信条件が成立している場合は同一の子局
に再送信を行い、再送信条件が成立していない場合は上
記アクセス順序に従って次の子局とのアクセス動作に移
ることとし、親局には、上記1通信サイクル中に、子局
毎に再送信した回数を計数する再送カウンタと、上記1
通信サイクル中に、全子局それぞれに再送信した回数を
計数する再送合計カウンタ、又は、全子局それぞれに再
送信によりアクセスするのに要した時間の合計を計数す
る再送時間カウンタ、とを備えて、上記再送カウンタの
計数値は各子局毎に予め定められた特定値以下であり、
かつ、上記再送合計カウンタ又は再送時間カウンタの計
数値は所定値以下である場合に、再送信条件が成立して
いると見做すことにした。
In order to solve the above problems, in the present invention, one master station and a plurality of slave stations are connected by a multiplex communication line, and the master station first transmits to one slave station. Then, an access operation of receiving a reply from the slave station that has received this transmission is sequentially performed for each slave station in accordance with a predetermined access order, and a fixed pattern of the access order is repeated as one communication cycle. In the multiplex communication method, when the master station normally receives the reply from the slave station, it moves to the access operation with the next slave station according to the above access sequence, and when it detects an error in the reply from the slave station, If the re-transmission condition is satisfied, the data is re-transmitted to the same slave station, and if the re-transmission condition is not satisfied, the access operation with the next slave station is performed according to the above access order. It is in the 1 communication cycle, a retransmission counter for counting the number of times of re-transmitted for each slave station, the 1
A retransmission total counter that counts the number of retransmissions to all slave stations during a communication cycle, or a retransmission time counter that counts the total time required to access each slave station by retransmission. The count value of the retransmission counter is less than or equal to a specific value predetermined for each slave station,
In addition, when the count value of the total retransmission counter or the total retransmission time counter is equal to or smaller than the predetermined value, it is considered that the retransmission condition is satisfied.

【0006】[0006]

【作用】本発明では、多重通信システムに異常が発生し
たときに親局から子局に向けて行う再送信動作に対し
て、従来のように各子局に対する再送信の回数に制限を
設けるだけでなく、本発明に係る再送信条件によって、
1通信サイクル当りの再送信動作の合計回数または再送
信動作に費やす合計時間の上限を設定したので、異常が
発生した場合に、再送信動作のためにむやみに長い時間
をかけないで済み、1通信サイクルの時間を適度に抑制
することができ、通信サイクルが入力信号の状態遷移サ
イクルより長くなって正確な入力信号の変化を捉えられ
なくなったり、状態遷移サイクルの長い入力信号を持つ
子局への再送信に時間を費やし、状態遷移サイクルの短
い入力信号を持つ子局とのアクセス間隔すなわち入力デ
ータの更新周期が長くなって、正確な入力信号を捉えら
れなくなるなどの問題を解消することができる。本発明
によれば、通信サイクル中で親局から子局への通信(ア
クセス)順序が後のものほど、異常検知時に既に再送合
計カウンタや再送時間カウンタが、再送信を不可にして
いる可能性が高い。しかし逆に、この現象を利用して各
子局間に優先度を設定することができる。すなわち、入
力信号の遷移サイクルが短い子局に対してはアクセス順
序を前方に設定すれば良い。このようにすれば、1通信
サイクル中で其の子局の正確な入力信号(の変化)を捉
える可能性が高くなり、アクセス順序が後の子局との通
信で異常が発生したために、アクセス順序が前の子局か
らの入力データ更新周期に悪影響を及ぼすことはなくな
る。
According to the present invention, with respect to the retransmission operation performed from the master station to the slave station when an abnormality occurs in the multiplex communication system, the number of retransmissions to each slave station is limited as in the conventional case. But by the retransmission condition according to the present invention,
Since the upper limit of the total number of retransmission operations per communication cycle or the total time spent for retransmission operations is set, it is not necessary to unnecessarily take a long time for retransmission operations when an error occurs. The time of the communication cycle can be suppressed appropriately, the communication cycle becomes longer than the state transition cycle of the input signal, and it becomes impossible to capture the accurate change of the input signal, or to the slave station having the input signal with the long state transition cycle. It is possible to solve the problem that it takes a long time to retransmit, and the access interval with the slave station that has an input signal with a short state transition cycle, that is, the update cycle of the input data becomes long and the accurate input signal cannot be captured. it can. According to the present invention, the later the communication (access) sequence from the master station to the slave station in the communication cycle is, the retransmission total counter or the retransmission time counter may already disable retransmission when an abnormality is detected. Is high. However, conversely, this phenomenon can be used to set priorities among the slave stations. That is, the access order may be set forward for the slave station whose input signal transition cycle is short. In this way, it is more likely that the correct input signal (change) of the slave station will be captured during one communication cycle, and the access order will be abnormal due to communication with the subsequent slave station. The order does not adversely affect the input data update cycle from the previous slave station.

【0007】[0007]

【実施例】図1は本発明の第1実施例に対するフローチ
ャートで、親局の通信制御手順を表している。各子局に
は番号nが付けられ、親局は子局0から子局7まで全8
個の子局へのアクセスを順に繰り返すものとする。ここ
での子局番号nは、親局が通信の順序を制御するために
便宜的につけた番号で、各々の子局が持つアドレスとは
必ずしも一致しない。また、1つの子局に1つの番号の
みが設定されているとは限らず、1通信サイクルで複数
回アクセスする子局がある場合には、その回数の分だけ
異なった番号が付けられることもある。TXNは1つの
子局に対して再送信を行った回数を示し、再送信を行う
度に加算される再送カウンタの計数値である。TXCは
1通信サイクル中に行った再送信の合計回数を示し、再
送信を行う度に加算される再送合計カウンタの計数値で
ある。なお、1つの子局に対する再送信の最大回数は、
その子局の重要度に応じてそれぞれ異なった値に設定す
ることもできるが、本実施例においては説明を容易にす
るため、全子局に対して一律に最大2回までとする。ま
た、全子局に対してそれぞれ最大回数の再送信が行われ
たとすると、1通信サイクルで2×8=16回となる
が、本発明では、これに制限を持たせて16よりも小さ
い値5を上限値として設定している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a flow chart for a first embodiment of the present invention and shows a communication control procedure of a master station. Each slave station is numbered n, and the master station is a total of 8 from slave station 0 to slave station 7.
Access to each slave station shall be repeated in order. The slave station number n here is a number conveniently added by the master station to control the communication order, and does not necessarily match the address of each slave station. Further, only one number is not set for one slave station, and if there is a slave station that is accessed multiple times in one communication cycle, a different number may be added for that number of times. is there. TXN indicates the number of times retransmission is performed for one slave station, and is a count value of the retransmission counter that is incremented each time retransmission is performed. TXC indicates the total number of retransmissions performed during one communication cycle, and is a count value of the retransmission total counter that is added each time retransmission is performed. Note that the maximum number of retransmissions for one slave station is
Different values can be set according to the importance of the slave stations, but in the present embodiment, for the sake of simplicity of explanation, it is set to a maximum of two times for all slave stations. Further, assuming that the maximum number of times of retransmission is performed for each slave station, the number of times is 2 × 8 = 16 times in one communication cycle. However, in the present invention, this is limited and a value smaller than 16. 5 is set as the upper limit value.

【0008】まずステップS11で子局nに対して送信
を行う。送信終了後ステップS12で受信待機の状態と
なり、子局返信の正常受信または異常検知を行う。正常
受信できた場合はステッS13に移り、通信異常を検知
した場合にはステップS16へ移る。正常受信後のステ
ップS13では再送カウンタTXNをクリア、送信先の
子局番号nをインクリメントしてステップS11に戻
り、次の子局とのアクセスに移るが、その前にステップ
S14で子局番号nが7を越えているときは1通信サイ
クルが終了したことを示すため、ステップS15で子局
番号nと再送合計カウンタTXCをクリアして通信サイ
クルの最初から、すなわち子局0からアクセスが繰り返
される。異常検知後は同一の子局に対して再送信を行う
が、ステップS16で再送合計カウンタTXCが最大値
の5に達していることを判定した場合には、再送信を行
わずにステップS13に移り、正常受信時と同様に次の
子局とのアクセスを行う。TXC<5であっても、次の
ステップS17で当該子局に対する再送カウンタTXN
が最大値の2に達していることを判定した場合には、同
様にステップS13に移る。TXN<2且つTXC<5
であるときにのみステップS18に移り、TXNおよび
TXCをインクリメントした上でステップS11に移
る。このときは子局番号nがインクリメントされないた
め、同一の子局に対して再送信が行われることになる。
First, in step S11, transmission is performed to the child station n. After the transmission is completed, a reception standby state is set in step S12, and normal reception or abnormality detection of the slave station reply is performed. If normal reception is possible, the process proceeds to step S13, and if abnormal communication is detected, the process proceeds to step S16. In step S13 after the normal reception, the retransmission counter TXN is cleared, the transmission destination slave station number n is incremented, and the process returns to step S11 to move to the next slave station, but before that, in step S14, the slave station number n Indicates that one communication cycle has ended, the slave station number n and the retransmission total counter TXC are cleared in step S15, and access is repeated from the beginning of the communication cycle, that is, slave station 0. . After the abnormality is detected, the same slave station is retransmitted, but if it is determined in step S16 that the retransmission total counter TXC has reached the maximum value of 5, the retransmission is not performed and the process proceeds to step S13. Then, the next slave station is accessed as in the normal reception. Even if TXC <5, in the next step S17, the retransmission counter TXN for the slave station
When it is determined that has reached the maximum value of 2, similarly, the process proceeds to step S13. TXN <2 and TXC <5
If it is, the process proceeds to step S18, increments TXN and TXC, and then proceeds to step S11. At this time, since the slave station number n is not incremented, the same slave station is retransmitted.

【0009】図2は本実施例の具体的な動作の一例を示
す図で、各子局とのアクセス順序、親局の再送カウンタ
TXNおよび再送合計カウンタTXCの値を表してい
る。丸付き数字はアクセスの対象としている子局の番号
を示し、斜線を引かれた部分は通信異常の発生したアク
セスを示す。なお、図の左から右へ時間が経過して行く
ものとする。子局0とのアクセス501が正常に行われ
た後、子局1とのアクセス502の時に通信異常が発生
すると、親局は再送カウンタTXN、再送合計カウンタ
TXCをインクリメントし、再び子局1とのアクセス5
03を行う。このアクセスが正常に行われた場合、再送
カウンタTXNはクリアされ、続く子局2とのアクセス
504に移る。子局3とのアクセス505のときに異常
が発生すると、子局1との場合と同様の処理により再び
子局3とのアクセス506を行うが、ここでも異常が発
生すれば同様の処理により再度子局3とのアクセス50
7を繰り返す。しかし更に異常が発生しても、再送カウ
ンタTXNは上限の2を示しているため、子局3との再
アクセスは行わずに、再送カウンタTXNをクリアして
次の子局4とのアクセス508に移る。以下同様の動作
ではあるが、子局5とのアクセス509〜511では2
回の再アクセスが行われたとすると、この時点で再送合
計カウンタTXCは上限の5を示すことになる。従っ
て、図中に示すように子局7とアクセス513をしてい
るときに異常が発生しても、再アクセスは行われずに次
の子局とのアクセスに移る。図2に示す場合は通信サイ
クルが終了するため、再送合計カウンタをクリアして子
局0とのアクセスに戻っている。以上の動作により、本
第1実施例によれば1通信サイクルの所要時間が必ずT
max以下に収まることになる。
FIG. 2 is a diagram showing an example of a specific operation of the present embodiment, showing the access order with each slave station, the values of the retransmission counter TXN and the retransmission total counter TXC of the master station. The circled numbers indicate the number of the slave station targeted for access, and the shaded area indicates the access in which a communication error occurred. It is assumed that time passes from left to right in the figure. After the access 501 with the slave station 0 is normally performed, if a communication error occurs during the access 502 with the slave station 1, the master station increments the retransmission counter TXN and the retransmission total counter TXC, and again with the slave station 1. Access 5
Do 03. When this access is normally performed, the retransmission counter TXN is cleared, and the process moves to the subsequent access 504 with the slave station 2. If an abnormality occurs during the access 505 with the slave station 3, the access 506 with the slave station 3 is performed again by the same processing as the case with the slave station 1. However, if the abnormality occurs here as well, the same processing is performed again. Access to slave station 50
Repeat 7. However, even if a further abnormality occurs, the retransmission counter TXN shows the upper limit of 2. Therefore, the retransmission counter TXN is cleared and the access to the next slave station 4 is performed 508 without reaccessing the slave station 3. Move on to. Although the same operation is performed thereafter, 2 is set in access 509 to 511 with the slave station 5.
If re-access is performed twice, the total retransmission counter TXC will show the upper limit of 5 at this point. Therefore, as shown in the figure, even if an abnormality occurs while accessing 513 with the slave station 7, re-access is not performed and the operation proceeds to the next slave station. In the case shown in FIG. 2, since the communication cycle ends, the retransmission total counter is cleared and the access to the slave station 0 is returned to. With the above operation, according to the first embodiment, the time required for one communication cycle is always T
It will be less than max.

【0010】本第1実施例によれば、既述のように、通
信順序が後のものほど、異常検知時に既に再送合計カウ
ンタが再送不可であることを示している可能性が高くな
る。これを利用して各子局に優先度を設定することがで
きる。図7に示した例について、子局102〜109に
優先順位を付けると、1:運転席パワーシートアクチュ
エータユニット用子局108、2:助手席パワーシート
アクチュエータユニット用子局109、3:運転席パワ
ーシートスイッチ用子局、4:助手席パワーシートスイ
ッチ用子局、5:運転席パワーウィンドウ用子局10
3、6:助手席パワーウィンドウ用子局、7:右後席パ
ワーウィンドウ用子局106、8:左後席パワーウィン
ドウ用子局107の順になる。入力信号の遷移サイクル
が短い子局ほど通信順序の前方に設定すれば、1通信サ
イクルで入力信号を捉える可能性が高くなり、通信順序
の遅い子局との通信における異常発生が通信順序の早い
子局からの入力データ更新周期に悪影響を及ぼすことは
ない。また、本第1実施例では1通信サイクル当りの再
送信の回数を5回までとしたが、本発明を実際に使用す
る際には、遷移サイクルの最も短い入力信号を持つ子局
とのアクセス間隔が一定時間内に収まるように考慮し
て、その回数を設定するのが良い。
According to the first embodiment, as described above, the later the communication order is, the higher the possibility that the retransmission total counter has already shown that the retransmission is impossible at the time of abnormality detection. Utilizing this, the priority can be set for each slave station. In the example shown in FIG. 7, when the slave stations 102 to 109 are prioritized, the slave stations 108 for the power seat actuator unit of the driver seat, the slave stations 109 for the power seat actuator unit of the passenger seat 109, and the driver seat are 3: Slave station for power seat switch, 4: Slave station for passenger seat power seat switch, 5: Slave station for driver power window 10
3, 6, the power station slave station for the front passenger seat, 7: the slave station 106 for the right rear power window, and 8: the slave station 107 for the left rear power window. If the slave station with a shorter transition cycle of the input signal is set ahead of the communication order, the possibility of capturing the input signal in one communication cycle becomes higher, and the abnormality occurrence in the communication with the slave station with a slower communication order is earlier in the communication order. It does not adversely affect the input data update cycle from the slave station. Further, in the first embodiment, the number of retransmissions per communication cycle is up to 5, but when actually using the present invention, access to a slave station having an input signal with the shortest transition cycle is performed. It is preferable to set the number of times so that the interval is within a certain time.

【0011】図3は本発明の第2実施例に対するフロー
チャートであって、上記第1実施例では1通信サイクル
当りの再送信合計回数を再送信条件の一つに用いたが、
本実施例では、1通信サイクル中に、全子局いずれかへ
の再送信によるアクセスに要した時間を全て計数する再
送時間カウンタの計数値を用いることにした。そのた
め、第1実施例のように再送合計カウンタTXCは使用
せず、その代りに、再送信が行われる度に、そのアクセ
スに要した時間を加算する再アクセス時間カウンタTC
NTを設置して用いた。1つの子局に対する再送回数は
第1実施例の場合と同様に一律に最大2回としている。
また、各子局との1回のアクセスに要する時間は10で
あるとし、全子局に対してそれぞれ最大回数の再送信が
行われたとすると、1通信サイクルのうち再送信による
アクセスに費やされる時間は、2×8×10=160と
なる。この再送信によるアクセスに費やされる時間に制
限を持たせたのが本実施例であって、本実施例では1通
信サイクル当りの再送信に使用できる時間を上記160
よりも小さい50を上限として設定した。
FIG. 3 is a flow chart for the second embodiment of the present invention. In the first embodiment, the total number of retransmissions per communication cycle is used as one of the retransmission conditions.
In the present embodiment, the count value of the retransmission time counter that counts all the time required for access to any of the slave stations by retransmission during one communication cycle is used. Therefore, the retransmission total counter TXC is not used as in the first embodiment, and instead, the re-access time counter TC that adds the time required for the access each time retransmission is performed is performed.
NT was installed and used. Similar to the case of the first embodiment, the maximum number of retransmissions for one slave station is a maximum of two.
Also, assuming that the time required for one access with each slave station is 10, and if the maximum number of retransmissions has been performed for all slave stations, it is spent for access by retransmission in one communication cycle. The time is 2 × 8 × 10 = 160. In this embodiment, the time spent for access due to this retransmission is limited, and in this embodiment, the time available for retransmission per communication cycle is 160
Which is smaller than 50 is set as the upper limit.

【0012】図3において、まずステップ21で子局n
に対して送信を行う。送信終了後ステップ22で受信待
機の状態となり、子局返信の正常受信または異常検知を
行う。正常受信できた場合はステップS23に移り、返
信の通信異常を検知した場合にはステップS26へ移
る。正常受信後のステップ23では再送カウンタTXN
をクリア、送信先の子局番号nをインクリメントしてス
テップ21に戻り、次の子局とのアクセスに移るが、そ
の前にステップS24で子局番号nが7を越えていると
きは1通信サイクルが終了したことを示すため、ステッ
プS25で子局番号nと再アクセス時間カウンタTCN
Tをクリアして通信サイクルの最初から、すなわち子局
0からアクセスが繰り返される。異常検知後は同一の子
局に対して再送信を行うが、ステップS26で再アクセ
ス時間カウンタTCNTが50以上に達していることを
判定した場合には、再送信を行わずにステップS23に
移り正常受信時と同様に次の子局とのアクセスを行う。
TCNT<50であっても、次のステップS27で当該
子局に対する再送カウンタTXNが最大値の2に達して
いることを判定した場合には、同様にステップ23に移
る。TXN<2且つTCNT<50である時にのみステ
ップS28に移り、TXNをインクリメント、TCNT
にアクセス所要時間を加算した上でステップS21に移
る。このときは子局番号nがインクリメントされていな
いため、同一の子局に対して再送信が行われることにな
る。
In FIG. 3, first, at step 21, a slave station n
To send to. After the transmission is completed, in step 22, a reception standby state is entered, and normal reception or abnormality detection of a slave station reply is performed. If normal reception is possible, the process proceeds to step S23, and if a communication abnormality of the reply is detected, the process proceeds to step S26. In step 23 after the normal reception, the retransmission counter TXN
Is cleared, the slave station number n of the transmission destination is incremented, and the process returns to step 21 to access the next slave station. Before that, if the slave station number n exceeds 7 in step S24, one communication is performed. In order to indicate that the cycle has ended, the slave station number n and the re-access time counter TCN are determined in step S25.
After clearing T, the access is repeated from the beginning of the communication cycle, that is, from the slave station 0. After the abnormality is detected, the same slave station is retransmitted. However, if it is determined in step S26 that the reaccess time counter TCNT has reached 50 or more, the retransmission is not performed and the process proceeds to step S23. Access to the next slave station is performed as in the case of normal reception.
Even if TCNT <50, if it is determined in the next step S27 that the retransmission counter TXN for the slave station has reached the maximum value of 2, the process similarly proceeds to step 23. Only when TXN <2 and TCNT <50, the process proceeds to step S28, TXN is incremented, TCNT
After adding the access required time to step S21, the process proceeds to step S21. At this time, since the slave station number n has not been incremented, the same slave station is retransmitted.

【0013】図4は第2実施例の具体的な動作の一例を
示すものであるが、再送合計カウンタTXCの代りに再
アクセス時間カウンタTCNTを用いている点が異なる
だけで、図2に示した第1実施例の場合と同様な動作で
あるため詳細な説明は省略する。図4に示す動作例で
は、予め分かっているアクセス所要時間を再アクセス時
間カウンタTCNTに加算することにより再送回数を制
限しているが、図5に示すように再アクセスの所要時間
を、各子局とアクセスする度に計測する再送タイマTI
Mを用いることもできる。動作については図4の場合と
全く同様である。
FIG. 4 shows an example of a concrete operation of the second embodiment, but it is shown in FIG. 2 except that a re-access time counter TCNT is used instead of the retransmission total counter TXC. Since the operation is similar to that of the first embodiment, detailed description will be omitted. In the operation example shown in FIG. 4, the number of retransmissions is limited by adding a previously known access required time to the re-access time counter TCNT. However, as shown in FIG. Retransmission timer TI that is measured each time it accesses the station
M can also be used. The operation is exactly the same as in the case of FIG.

【0014】本第2実施例では1通信サイクル当りの再
送信に使用できる時間を50としたが、本発明を実際に
使用する際には、遷移サイクルの最も短い入力信号を持
つ子局とのアクセス間隔が一定時間内に収まるように考
慮し、その時間を設定するのが良い。
In the second embodiment, the time that can be used for retransmission per communication cycle is set to 50. However, when the present invention is actually used, it is possible to use a slave station having an input signal with the shortest transition cycle. It is preferable to set the time so that the access interval is within a certain time.

【0015】第2実施例では各子局に対して、その通信
順序により優先度を設定できるという点では第1実施例
同様であるが、本第2実施例と第1実施例との相違は、
子局毎に送受信するデータのデータ長が異なる場合に顕
著になる。例えば子局0〜7のうち、子局5〜7が他の
子局よりも送受信データのデータ長が短く、アクセスに
必要な時間が半分の5で済む場合を考え、図2、図4、
図5に示すように通信異常が発生したとする。図6に各
実施例における動作を比較して示す。第1実施例の場
合、図6(a)に示すように、子局7からの返信に異常
を検知したときには既に再送合計カウンタTXCは最大
値の5を示しているので、子局7に対する再送信は行わ
れずに子局0とのアクセスに移ってしまうため、子局7
からの入力に対する負荷駆動の応答性は悪化する。これ
に対して第2実施例の場合、図6(b)に示すように、
子局7からの返信に異常を検知したときの再アクセス時
間カウンタTCNTの値は40で、未だ最大値の50に
達していないため、子局7に対して再送信を行うことが
できる。再送信の回数を増やし、かつ1通信サイクルの
所要時間を一定時間に抑えるという目的を考えた場合、
データ長の異なるデータを授受する子局が存在するとき
には、第2実施例のように時間を用いた再送回数制限を
行う方が、許された制限時間を有効に活用して再送信を
行うことができると云える。
The second embodiment is similar to the first embodiment in that the priority can be set for each slave station according to the communication order thereof, but the difference between the second embodiment and the first embodiment is the same. ,
This becomes remarkable when the data length of the data to be transmitted / received differs for each slave station. For example, considering that among the slave stations 0 to 7, the slave stations 5 to 7 have shorter data lengths of transmission / reception data than other slave stations, and the time required for access is half, that is, 5 and FIG.
It is assumed that a communication abnormality has occurred as shown in FIG. FIG. 6 shows the operation in each example in comparison. In the case of the first embodiment, as shown in FIG. 6A, when an abnormality is detected in the reply from the slave station 7, the retransmission total counter TXC has already shown the maximum value of 5, so that the slave station 7 is restarted. Since the transmission is not performed and the access to the slave station 0 is started, the slave station 7
The response of the load drive to the input from is deteriorated. On the other hand, in the case of the second embodiment, as shown in FIG.
The value of the re-access time counter TCNT when the abnormality is detected in the reply from the slave station 7 is 40, which has not reached the maximum value of 50, so that the slave station 7 can be retransmitted. Considering the purpose of increasing the number of retransmissions and suppressing the time required for one communication cycle to a fixed time,
When there is a slave station that sends and receives data having different data lengths, it is better to limit the number of times of retransmission by using time as in the second embodiment, so that the permitted time limit can be effectively used for retransmission. It can be said that

【0016】[0016]

【発明の効果】以上説明したように本発明によれば、親
局から各子局への再送信の回数に制限を設けるだけでな
く、1通信サイクル当りの再送信の合計回数または再送
信に使用する合計時間に制限を設けることにより、各子
局との通信の順序に優先度を設定することができ、優先
度の高い子局との入力データ更新周期は優先度の低い子
局との通信異常の悪影響を受けずに済み、システム全体
として正確な制御が可能になるという効果が得られる。
特に再送信に使用する合計時間に制限を設ける方法によ
れば、送受信データ長が異なる子局が混在する場合に、
再送回数制限に対して効率良く再送信が実行できるとい
う効果が得られる。
As described above, according to the present invention, not only is there a limit on the number of retransmissions from the master station to each slave station, but the total number of retransmissions per communication cycle or the number of retransmissions is limited. By setting a limit on the total time used, the priority can be set in the order of communication with each slave station, and the input data update cycle with a slave station with a high priority can be set with a slave station with a low priority. It is possible to obtain an effect that accurate control is possible as a whole system without being adversely affected by the communication abnormality.
In particular, according to the method of setting a limit on the total time used for retransmission, when slave stations with different transmission / reception data lengths are mixed,
The effect that the retransmission can be efficiently executed with respect to the retransmission number limitation is obtained.

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

【図1】本発明の第1実施例に対するフローチャートで
ある。
FIG. 1 is a flow chart for a first embodiment of the present invention.

【図2】本発明第1実施例の具体的な動作例について説
明する図である。
FIG. 2 is a diagram illustrating a specific operation example of the first embodiment of the present invention.

【図3】本発明の第2実施例に対するフローチャートで
ある。
FIG. 3 is a flow chart for a second embodiment of the present invention.

【図4】本発明第2実施例の具体的な動作例について説
明する図である。
FIG. 4 is a diagram illustrating a specific operation example of the second embodiment of the present invention.

【図5】本発明第2実施例で、アクセス所要時間の監視
に、図4に示した動作例のように再アクセス時間カウン
タTCNTを用いる代りに、再送タイマTIMを用いた
動作例について説明する図である。
5 illustrates an example of operation in which a retransmission timer TIM is used instead of using the re-access time counter TCNT as in the operation example shown in FIG. 4 for monitoring the access time in the second embodiment of the present invention. It is a figure.

【図6】送受信データ長が異なる子局が混在する場合に
は、時間を用いた再送回数制限を行う第2実施例の方
が、単に再送信回数で制限する第1実施例よりも、制限
時間を有効活用できることを、図6(a)に第1実施例
の動作例を、図6(b)に第2実施例の動作例を示し
て、具体的に説明する図である。
FIG. 6 is a diagram illustrating a case where slave stations having different transmission / reception data lengths are mixed, the second embodiment in which the number of times of retransmission is limited by time is more limited than the first embodiment in which the number of retransmissions is simply limited. FIG. 7 is a diagram specifically explaining that time can be effectively utilized by showing an operation example of the first embodiment in FIG. 6A and an operation example of the second embodiment in FIG. 6B.

【図7】多重通信システムによる車両電装の一例を説明
する図である。
FIG. 7 is a diagram illustrating an example of vehicle electrical equipment by a multiplex communication system.

【図8】車両電装に多重通信システムを適用した場合
の、通信波形とそのフォーマットの具体的な例を示す図
である。
FIG. 8 is a diagram showing a specific example of a communication waveform and its format when a multiplex communication system is applied to vehicle electrical equipment.

【図9】車両電装に多重通信システムを適用した場合の
通信手順の一例を説明する図である。
FIG. 9 is a diagram illustrating an example of a communication procedure when a multiplex communication system is applied to vehicle electrical equipment.

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

TXN…親局から特定子局に対して再送信を行った回数 TXC…1通信サイクル中に行った子局への再送信の合
計回数 TCNT…1通信サイクル中に子局への再送信によるア
クセスに要した合計時間 101…親局 102…運転席パワーシートスイッチ子局 103…運転席ドア子局 104…助手席パワーシートスイッチ子局 105…助手席ドア子局 106…後右席
ドア子局 107…後左席ドア子局 108…運転席
パワーシート子局 109…助手席パワーシート子局 121、122…パワーシートスイッチ 123〜126…パワーウィンドスイッチ 127〜130…ドアロック検出スイッチ 131〜134…パワーウィンドモータ 135〜138…ドアロックモータ 139…シート
位置センサスイッチ 140、141…パワーシートモータ 142…通信線 143…運転席ドア 144…助手席ド
ア 145…後右席ドア 146…後左席ド
ア 147…運転席パワーシート 148…助手席パ
ワーシート 201…通信開始符号 202…コマンド
フレーム 203…アドレスフレーム 204…データフ
レーム1 205…データフレーム2 206…通信終了
符号 207…コマンドフレーム、アドレスフレームに対する
パリティビット 208…データフレーム1に対するパリティビット 209…データフレーム2に対するパリティビット 301〜304…親局の送信 305〜308…
子局の送信 501、514、701、714、801、814、9
01、914、915、929…子局0とのアクセス 502、503、702、703、802、803、9
02、903、916、917…子局1とのアクセス 504、704、804、904、918…子局2との
アクセス 505〜507、705〜707、805〜807、9
05〜907、919〜921…子局3とのアクセス 508、708、808、908、922…子局4との
アクセス 509〜511、709〜711、809〜811、9
09〜911、923〜925…子局5とのアクセス 512、712、812、912、926…子局6との
アクセス 513、713、813、913、927、928…子
局7とのアクセス
TXN ... Number of retransmissions from the master station to the specified slave station TXC ... Total number of retransmissions to the slave station during one communication cycle TCNT ... Access by retransmission to the slave station during one communication cycle Total time required for 101 ... Parent station 102 ... Driver power seat switch slave station 103 ... Driver door slave station 104 ... Passenger power seat switch slave station 105 ... Passenger door slave station 106 ... Rear right door slave station 107 ... rear left door slave station 108 ... driver power seat slave station 109 ... passenger seat power seat slave station 121, 122 ... power seat switch 123 to 126 ... power window switch 127 to 130 ... door lock detection switch 131 to 134 ... power Wind motor 135-138 ... Door lock motor 139 ... Seat position sensor switch 140, 141 ... Power seat 142 ... communication line 143 ... driver door 144 ... passenger door 145 ... rear right seat 146 ... rear left door 147 ... driver power seat 148 ... passenger power seat 201 ... communication start code 202 ... command frame 203 ... address frame 204 ... data frame 1 205 ... data frame 2 206 ... communication end code 207 ... command frame, parity bit for address frame 208 ... parity bit for data frame 1 209 ... parity bits for data frame 2 301-304 ... master station Sending 305-308 ...
Transmission of slave station 501, 514, 701, 714, 801, 814, 9
01, 914, 915, 929 ... Access to slave station 0 502, 503, 702, 703, 802, 803, 9
02, 903, 916, 917 ... Access to slave station 1 504, 704, 804, 904, 918 ... Access to slave station 2 505-507, 705-707, 805-807, 9
05-907, 919-921 ... Access to slave station 3 508, 708, 808, 908, 922 ... Access to slave station 509-511, 709-711, 809-811, 9
09-911, 923-925 ... Access with slave station 512, 712, 812, 912, 926 ... Access with slave station 513, 713, 813, 913, 927, 928 ... Access with slave station 7

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】一つの親局と複数の子局とが多重通信線に
より接続され、親局はまず一つの子局へ送信を行い、次
いで、これを受信した子局からの返信を受信するという
アクセス動作を、予め定められたアクセス順序に従って
順次各子局に対して行い、このアクセス順序の一定のパ
ターンを1通信サイクルとして繰り返す多重通信方法に
おいて、 親局は、上記子局からの返信を正常に受信したときは、
アクセス順序に従って次の子局へのアクセス動作に移
り、子局からの返信に異常を検知したときに、下記の再
送信条件が成立している場合は同一の子局へ再送信を行
い、再送信条件が成立していない場合は上記アクセス順
序に従って次の子局とのアクセス動作に移ることとし、 親局には、上記1通信サイクル中に、子局毎に再送信し
た回数を計数する再送カウンタと、上記1通信サイクル
中に、全子局それぞれに再送信した回数の合計を計数す
る再送合計カウンタとを設置し、上記再送カウンタの計
数値が各子局毎に予め定められた特定値以下であり、か
つ、上記再送合計カウンタの計数値も所定値以下であれ
ば、上記再送信条件が成立しているものとすることを特
徴とする多重通信方法。
1. A master station and a plurality of slave stations are connected by a multiplex communication line, and the master station first transmits to one slave station and then receives a reply from the slave station that has received this. In the multiplex communication method in which the access operation is sequentially performed for each slave station in accordance with a predetermined access order, and a fixed pattern of this access order is repeated as one communication cycle, the master station sends a reply from the slave station. When received normally,
When the operation to access the next slave station is started according to the access order and an error is detected in the reply from the slave station, if the following retransmission conditions are satisfied, the same slave station is retransmitted and retransmitted. If the transmission condition is not satisfied, the access operation with the next slave station is performed according to the above access order, and the master station retransmits by counting the number of retransmissions for each slave station in the above one communication cycle. A counter and a retransmission total counter that counts the total number of retransmissions to all the slave stations in the one communication cycle are installed, and the count value of the retransmission counter is a specific value predetermined for each slave station. If the count value of the retransmission total counter is equal to or less than a predetermined value, the retransmission condition is satisfied, and the multiplex communication method is characterized.
【請求項2】一つの親局と複数の子局とが多重通信線に
より接続され、親局はまず一つの子局へ送信を行い、次
いで、これを受信した子局からの返信を受信するという
アクセス動作を、予め定められたアクセス順序に従って
順次各子局に対して行い、このアクセス順序の一定のパ
ターンを1通信サイクルとして繰り返す多重通信方法に
おいて、 親局は、上記子局からの返信を正常に受信したときは、
アクセス順序に従って次の子局へのアクセス動作に移
り、子局からの返信に異常を検知したときに、下記の再
送信条件が成立している場合は同一の子局へ再送信を行
い、再送信条件が成立していない場合は上記アクセス順
序に従って次の子局とのアクセス動作に移ることとし、 親局には、上記1通信サイクル中に、子局毎に再送信し
た回数を計数する再送カウンタと、上記1通信サイクル
中に、全子局それぞれへの再送信によるアクセスに要し
た時間を計数する再送時間カウンタとを設置し、上記再
送カウンタの計数値が各子局毎に予め定められた特定値
以下であり、かつ、上記再送時間カウンタの計数値も所
定値以下であれば、上記再送信条件が成立しているもの
とすることを特徴とする多重通信方法。
2. A master station and a plurality of slave stations are connected by a multiplex communication line, and the master station first transmits to one slave station, and then receives a reply from the slave station that has received this. In the multiplex communication method in which the access operation is sequentially performed for each slave station in accordance with a predetermined access order, and a fixed pattern of this access order is repeated as one communication cycle, the master station sends a reply from the slave station. When received normally,
When the operation to access the next slave station is started according to the access order and an error is detected in the reply from the slave station, if the following retransmission conditions are satisfied, the same slave station is retransmitted and retransmitted. If the transmission condition is not satisfied, the access operation with the next slave station is performed according to the above access order, and the master station retransmits by counting the number of retransmissions for each slave station in the above one communication cycle. A counter and a retransmission time counter that counts the time required for access to each slave station by retransmission during the one communication cycle are installed, and the count value of the retransmission counter is predetermined for each slave station. If the count value of the retransmission time counter is less than or equal to a predetermined value, the retransmission condition is satisfied.
JP16806394A 1994-07-20 1994-07-20 Multiple communication method Expired - Lifetime JP3628042B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16806394A JP3628042B2 (en) 1994-07-20 1994-07-20 Multiple communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16806394A JP3628042B2 (en) 1994-07-20 1994-07-20 Multiple communication method

Publications (2)

Publication Number Publication Date
JPH0833070A true JPH0833070A (en) 1996-02-02
JP3628042B2 JP3628042B2 (en) 2005-03-09

Family

ID=15861148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16806394A Expired - Lifetime JP3628042B2 (en) 1994-07-20 1994-07-20 Multiple communication method

Country Status (1)

Country Link
JP (1) JP3628042B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007099145A (en) * 2005-10-06 2007-04-19 Denso Corp Diagnosis system for on-vehicle network, and on-vehicle control device
JP2007145235A (en) * 2005-11-29 2007-06-14 Hitachi Ltd Control device for vehicle or the like
US7266608B2 (en) 2000-01-20 2007-09-04 Mitsubishi Denki Kabushiki Kaisha System for punctually sending and receiving serial data and a method for sending and receiving the serial data
KR100761010B1 (en) * 2007-04-05 2007-09-21 김재홍 Screen information management method and system using access direct of video memory
JP2010056964A (en) * 2008-08-28 2010-03-11 Canon Inc Receiving apparatus and control method thereof, program, and recording medium
US7697491B2 (en) 2004-05-28 2010-04-13 Kabushiki Kaisha Toshiba Retransmission control of burst transmission by wireless communication apparatus
US7769935B2 (en) 2006-12-27 2010-08-03 Kabushiki Kaisha Yaskawa Denki Communication system with master and slave exchanging control data in predetermined communication period
JP2012204937A (en) * 2011-03-24 2012-10-22 Fujitsu Ten Ltd Communication device and communication system
US8934351B2 (en) 2011-03-24 2015-01-13 Fujitsu Ten Limited Communication apparatus and communication system
JP2018148337A (en) * 2017-03-03 2018-09-20 ファナック株式会社 Communication system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7266608B2 (en) 2000-01-20 2007-09-04 Mitsubishi Denki Kabushiki Kaisha System for punctually sending and receiving serial data and a method for sending and receiving the serial data
US7697491B2 (en) 2004-05-28 2010-04-13 Kabushiki Kaisha Toshiba Retransmission control of burst transmission by wireless communication apparatus
US7912597B2 (en) 2005-10-06 2011-03-22 Denso Corporation On-vehicle network diagnosis system and on-vehicle control apparatus thereof
JP2007099145A (en) * 2005-10-06 2007-04-19 Denso Corp Diagnosis system for on-vehicle network, and on-vehicle control device
JP2007145235A (en) * 2005-11-29 2007-06-14 Hitachi Ltd Control device for vehicle or the like
JP4685610B2 (en) * 2005-11-29 2011-05-18 日立オートモティブシステムズ株式会社 Control devices for vehicles, etc.
US8046512B2 (en) 2006-12-27 2011-10-25 Kabushiki Kaisha Yaskawa Denki Communication system with master and slave exchanging control data in predetermined communication period
US7769935B2 (en) 2006-12-27 2010-08-03 Kabushiki Kaisha Yaskawa Denki Communication system with master and slave exchanging control data in predetermined communication period
KR100761010B1 (en) * 2007-04-05 2007-09-21 김재홍 Screen information management method and system using access direct of video memory
JP2010056964A (en) * 2008-08-28 2010-03-11 Canon Inc Receiving apparatus and control method thereof, program, and recording medium
JP2012204937A (en) * 2011-03-24 2012-10-22 Fujitsu Ten Ltd Communication device and communication system
US8934351B2 (en) 2011-03-24 2015-01-13 Fujitsu Ten Limited Communication apparatus and communication system
JP2018148337A (en) * 2017-03-03 2018-09-20 ファナック株式会社 Communication system

Also Published As

Publication number Publication date
JP3628042B2 (en) 2005-03-09

Similar Documents

Publication Publication Date Title
KR100340720B1 (en) A retransmitting device and a method of packet data
US5737335A (en) Communication system using time division multiplex signal transmission
US10404721B2 (en) Communication device for detecting transmission of an improper message to a network
JPH0773270B2 (en) Data communication method and multiple connection system
CN101960789A (en) Communication system having a CAN bus and method for operating such a communication system
JPH0566079B2 (en)
JPH0833070A (en) Multiplex communication method
JP2011213210A (en) Electronic control unit and control system
US5504737A (en) Monitoring multiplex transmission system having a respective controller for each of a number of transmission devices in the system
JPH10257078A (en) Vehicle multiple communication equipment
JP4531884B2 (en) Address, instruction and / or data telegraph device and address, instruction and / or data telegraph method
KR960009471B1 (en) Multiplex transmission method
CN111555946A (en) Subscriber station of a bus system and method for transmitting data in a bus system
CN111141966A (en) Method for detecting hardware fault through single communication line and hardware module
JP2988198B2 (en) Vehicle communication device
JPH089471A (en) Mobile communication system
KR100272828B1 (en) Lan system of vehicle using distribution and concentration controlled method
GB2336278A (en) Multiplex communication system
JPH0498931A (en) Communication equipment
JP6617091B2 (en) Electronic control unit for automobile
JP2022135493A (en) Communication system, management device, and terminal device
US5550830A (en) Multiplex transmission apparatus and method
JPH04347951A (en) Method for data transmission between plural inverters
JPH0795222A (en) Communication equipment
JPH0630478A (en) Multiplex transmission equipment

Legal Events

Date Code Title Description
A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041207

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071217

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081217

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091217

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101217

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111217

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121217

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121217

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131217

Year of fee payment: 9

EXPY Cancellation because of completion of term