JPH0548618A - Multiplex transmission equipment - Google Patents

Multiplex transmission equipment

Info

Publication number
JPH0548618A
JPH0548618A JP3231044A JP23104491A JPH0548618A JP H0548618 A JPH0548618 A JP H0548618A JP 3231044 A JP3231044 A JP 3231044A JP 23104491 A JP23104491 A JP 23104491A JP H0548618 A JPH0548618 A JP H0548618A
Authority
JP
Japan
Prior art keywords
message
transmission
priority
node
transmission line
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
JP3231044A
Other languages
Japanese (ja)
Other versions
JP3113329B2 (en
Inventor
Junji Miyake
淳司 三宅
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP03231044A priority Critical patent/JP3113329B2/en
Publication of JPH0548618A publication Critical patent/JPH0548618A/en
Application granted granted Critical
Publication of JP3113329B2 publication Critical patent/JP3113329B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a multiplex transmission equipment by which the maximum value of a message latent time is decided designingly in a nondestructive arbitration type line contention system multiplex transmission system. CONSTITUTION:The transmission equipment is provided with a storage circuit 16 storing the priority corresponding part of a message whose priority in storing in a current multiplex transmission line is higher when a specific transmission node is failed in the line contention and the priority of its own message is dynamically revised to be higher priority by referencing to the stored priority. Moreover, the priority part and the destination designation part of the message are stored to separate locations of the message. Since the transmission time of the message is confirmed in such a manner, the application of the transmitter to a coordinate controller for automobiles is attained.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、非破壊調停型回線争奪
方式の多重伝送装置に係り、特に車輌用制御装置間での
データ通信に好適な多重伝送装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a non-destructive arbitration type contention system multiplex transmission device, and more particularly to a multiplex transmission device suitable for data communication between vehicle controllers.

【0002】[0002]

【従来の技術】近年、車輌に使用される各種電子制御装
置の発展はめざましく、特に自動車では、エンジンやト
ランスミッション、ブレーキ、それに定速走行装置の制
御或いはトラクション制御装置など、各種の制御にマイ
クロコンピュータを用いた電子制御装置が用いられ、そ
れらの性能はほぼ飽和状態にまで達しているといっても
よい。
2. Description of the Related Art In recent years, various electronic control devices used in vehicles have been remarkably developed. Especially, in automobiles, microcomputers are used for various controls such as engines, transmissions, brakes, constant-speed traveling devices, and traction control devices. It can be said that the electronic control device using is used and the performance thereof has almost reached the saturated state.

【0003】従って、これ以上の機能改善を図るため
に、各制御装置が個々に動作するのではなく、相互に組
み合わされ、協調的に動作させるようにした総合制御の
思想が生まれ、将来的には確実に実現されるであろう機
運にあり、例えば、電子制御方式の自動変速装置(電子
式A/Tと呼ばれる)においては、電子式エンジン制御
装置と協調的に動作させることが考えられている。即
ち、自動変速機のギア比の切換え過程と同期して、エン
ジン制御装置がその瞬間での発生トルクを適切に制御
し、切換え時のショックを低減して乗り心地の改善を図
ったり、変速機にかかるストレスの上限が抑制されるこ
とにより、自動車変速機自体の軽量化を可能にしたりす
ることが考えられている。
Therefore, in order to further improve the function, the idea of total control is created, in which the respective control devices are not operated individually but are combined with each other to operate cooperatively, and in the future. Is in the moment that will surely be realized. For example, in an electronically controlled automatic transmission (called an electronic A / T), it is considered to operate cooperatively with an electronic engine control device. There is. That is, in synchronization with the process of changing the gear ratio of the automatic transmission, the engine control device appropriately controls the torque generated at that moment to reduce the shock at the time of change to improve the riding comfort and the transmission. By suppressing the upper limit of the stress applied to the vehicle, it is possible to reduce the weight of the vehicle transmission itself.

【0004】ところで、このためには、協調制御の主と
なる制御装置で計算された所定のデータが、正しい時期
に常に正確に、従となる個別装置に伝達されなければな
らないし、拡張性のためには、この主従の関係は固定さ
れたものではなく、或るときには別の装置が主の立場と
なり得る、いわゆる双方向、マスターレスの相互データ
転送を実現する必要がある。
For this purpose, the predetermined data calculated by the main control device of the cooperative control must be accurately and accurately transmitted to the subordinate individual devices at the right time, and the expandability is high. In order to do so, this master-slave relationship is not fixed, and it is necessary to realize so-called bidirectional, masterless mutual data transfer, in which another device can take the position of master in some cases.

【0005】そこで、このような要求に対しては、例え
ば特開昭61−195453号公報では、送信すべきメ
ッセージに、その緊急性、若しくは重要性に応じた識別
子を付加して優先順位付けを施し、かつ回線効率を低下
させないために、この識別子の送出時にビット同期をと
り、非破壊調停型に拡張したCSMA/CD(CarrierSe
nse Multiple Access withCollision Detection)とい
う、いわゆる非破壊調停型回線争奪方式の多重伝送方式
が提案されている。
Therefore, for such a request, for example, in Japanese Patent Laid-Open No. 61-195453, prioritization is performed by adding an identifier according to the urgency or importance of the message to be transmitted. In order to prevent the degradation of the line efficiency, the CSMA / CD (Carrier Se
nse Multiple Access with Collision Detection) has been proposed as a so-called non-destructive arbitration type contention-based multiplex transmission method.

【0006】なお、この種の装置として関連するものと
しては、特開昭55−147853号、特開昭57−8
7685号、特開昭60−24747号、それに特開平
2−126742号の各公報の記載を挙げることができ
る。
Incidentally, as a device related to this kind of device, there are JP-A-55-147853 and JP-A-57-8.
No. 7685, JP-A-60-24747, and JP-A-2-126742 can be mentioned.

【0007】[0007]

【発明が解決しようとする課題】上記従来技術は、その
方式に特有な、或る送信ノードから或るある受信ノード
までのデータの転送遅れ時間(これは潜伏時間Latency T
imeと呼ばれ、CSMA/CD方式の重要な性能尺度で
ある)が、確定的に与えられるのではなくて、該当メッ
セージの優先順位と、伝送回線上に既に流されている他
のメッセージの優先順位及び回線占有率から統計的にし
か与えられない点について配慮がされておらず、上記し
た自動車など車両の総合制御に適用した場合、制御タイ
ミングの破綻をきたすという問題があった。
The above-mentioned prior art is characterized in that the transfer delay time of data from a certain transmitting node to a certain receiving node (this is latency time Latency T
ime, which is an important performance measure of the CSMA / CD method, is not given definitely, but the priority of the corresponding message and the priority of other messages already sent on the transmission line. No consideration has been given to the fact that it is given only statistically from the rank and the line occupancy rate, and when applied to the above-mentioned comprehensive control of vehicles such as automobiles, there is a problem that control timing is broken.

【0008】即ち、上記潜伏時間は確定的な上下限値で
制限されているわけではなく、確率的な指針で与えられ
だけであり、従って、或る制御装置が協調制御を行うべ
き局面において、その指令を他の制御装置に送信した
が、たまたま別の制御装置が優先順位の高いメッセージ
を送信中であった場合には、その指令が長時間待たされ
てしまうことになり、制御タイミングの破綻をきたして
しまうのである。
That is, the latency is not limited to a definite upper and lower limit value, but is given only by a probabilistic guideline. Therefore, in a situation where a certain control device should perform cooperative control, If the command was sent to another control device, but accidentally another control device was sending a high-priority message, the command would be kept waiting for a long time, and the control timing would be broken. Will cause

【0009】一方、この潜伏時間を確定的に得るため、
何度も実験を繰り返したが、同一回線状態の再現は殆ど
不可能で、潜伏時間を確定することはできなかつた。な
お、このような制御の不確定さや再現性の悪さは、リア
ルタイム性を重視し厳密な遅れ時間を問題とする、自動
車の総合制御においては、設計上及び実験上の大きな隘
路となり得る。
On the other hand, in order to definitely obtain this latency,
After repeating the experiment many times, it was almost impossible to reproduce the same line condition, and the latency could not be determined. In addition, such uncertainties of control and poor reproducibility can be a great bottleneck in design and experiment in the comprehensive control of automobiles in which real-time property is important and strict delay time is a problem.

【0010】本発明の目的は、このような問題点を解消
し、転送遅れ時間の最大値が任意に設定できるようにし
た非破壊調停型回線争奪方式の多重伝送装置を提供する
ことにある。
An object of the present invention is to solve the above problems and provide a non-destructive arbitration-type contention-type multiplex transmission device capable of arbitrarily setting the maximum value of the transfer delay time.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するた
め、本発明では、或る送受信ノードが回線争奪に失敗し
た場合、既に回線を占有している他ノードの送信メッセ
ージ中の優先順位コードを記憶保持する手段と、これに
より現在回線を独占使用しているメッセージより高い優
先順位のメッセージを自ノードから発信する手段とを、
送受信ノードの少なくとも1局に持たせたものである。
In order to achieve the above object, according to the present invention, when a certain transmitting / receiving node fails to contend for a line, the priority code in the transmission message of another node already occupying the line is set. A means for storing and holding, and a means for transmitting a message having a higher priority than the message currently monopolizing the line from its own node,
It is provided to at least one station of the transmitting / receiving node.

【0012】また、他の本発明では、送受信ノードから
送出される送信メッセージ中での前記優先順位コードの
収容部分と、該メッセージを受信すべき受信ノードの宛
先指定に使われるアドレスの収容部分とが、該メッセー
ジ中で別々の場所を占めるようにしたものである。
According to another aspect of the present invention, an accommodating portion of the priority code in a transmission message sent from a transmitting / receiving node and an accommodating portion of an address used for designating a destination of a receiving node that should receive the message. Occupy different places in the message.

【0013】[0013]

【作用】上記本発明における手段は、非破壊調停型CS
MA/CD方式の多重伝送システムにおいて、あるノー
ドが送信時に回線争奪に失敗した場合、回線上で競合を
起こし、且つ送信権を獲得した他ノードメッセージの優
先順位コードを記憶保持し(このコードは、自ノードの
メッセージより優先順位が高い)、回線争奪に失敗し続
けた場合にその状況を強制的に解消するように働く。
The means of the present invention is a nondestructive arbitration type CS.
In a MA / CD multiplex transmission system, when a node fails to contend for a line at the time of transmission, it stores and retains the priority code of the message of another node that has contended on the line and has acquired the transmission right. , Has a higher priority than the message of its own node), and works to forcibly eliminate the situation if the contention for the line continues to fail.

【0014】ここで、回線争奪に失敗し続けている状況
とは、一般に、或る時間的なタイマによつて計測され、
そのタイマの最大値は、総合制御を実行するに際して、
そのリアルタイム制御性を破綻させない設計値が選ばれ
る(いわゆるタイムアウト方式)。
Here, the situation where the contention for the line continues to fail is generally measured by a certain time timer,
The maximum value of the timer is
A design value that does not break the real-time controllability is selected (so-called timeout method).

【0015】そして、このような状況が特定のノードで
発生した場合、それより優先順位の高いメッセージを一
時的に送出することにより、多重伝送路のハングアップ
を防止する作用が発揮される。
When such a situation occurs in a particular node, a message having a higher priority than that is temporarily sent out, thereby exerting an effect of preventing the hang-up of the multiplex transmission line.

【0016】なお、この一時的に優先順位を高められた
メッセージは、該ノードで回線争奪に失敗し続けていた
通常のメッセージでもよいし、多重伝送路につながつた
全てのノード装置にとつてシステム的に意味のある、い
わゆる警告信号のような制御情報でもよい。
The message whose priority has been temporarily increased may be a normal message which has continued to fail in contention at the node, or a system for all node devices connected to the multiplex transmission path. It may be control information such as a so-called warning signal that has a meaningful meaning.

【0017】次に、上記他の本発明における手段は、メ
ッセージの優先順位を可変にした場合の優先順位コード
のビット幅増加(即ちメッセージ・フレーム全体として
みた場合のメッセージ効率の低下)を解消するように働
く。
Next, the other means according to the present invention solves the increase in the bit width of the priority code (that is, the decrease in the message efficiency in the whole message frame) when the priority of the message is variable. Work like.

【0018】即ち、本発明のように一つのメッセージに
対して複数の優先順位コードの使用を許した場合、優先
順位コード自体の情報量は低下する。例えば、前述の特
開昭61−195453号公報の従来技術では、この優
先順位コードはメッセージのアドレス情報(宛先、内
容、若しくはイベント命令等の識別情報)と兼用になつ
ている。然し乍ら、このような方式に本発明を適用した
場合、複数の優先順位コードが同一アドレス情報と結び
付けられるために、この優先順位コードのビット幅は必
然的に増加せざるを得ない。しかも、このコード自体は
ビット同期の回線調停(ビット・ワイズ・アービトレー
シヨンと呼ばれる)に使用されるので、厳密なビット同
期が必要であり、従つてメッセージ・フレーム上のこの
ような期間を増加させる結果、システム全体の応答性や
信頼性を低下させるという欠点を有している。
That is, when a plurality of priority codes are allowed to be used for one message as in the present invention, the information amount of the priority code itself is lowered. For example, in the prior art of Japanese Patent Laid-Open No. 61-195453, the priority code is also used as the address information of the message (destination, content, or identification information such as an event command). However, when the present invention is applied to such a system, a plurality of priority codes are associated with the same address information, so that the bit width of the priority code is inevitably increased. Moreover, since the code itself is used for bit-synchronized line arbitration (called bit-wise arbitration), strict bit-synchronization is required, thus increasing such duration on the message frame. As a result, there is a drawback that the responsiveness and reliability of the entire system are lowered.

【0019】しかるに、本発明によれば、ビット調停が
行われる優先順位部分とアドレス情報とを分離し、等価
的に前述ビット同期の回線調停期間の幅を減少させ、調
停幅の増加に基づくこれらの欠点を解消することができ
る。
However, according to the present invention, the priority portion in which the bit arbitration is performed and the address information are separated, the width of the line arbitration period of the bit synchronization is reduced equivalently, and these are based on the increase of the arbitration width. The drawbacks of can be eliminated.

【0020】[0020]

【実施例】以下、本発明による多重伝送装置について、
図示の実施例により詳細に説明する。図1は、本発明の
一実施例で、車両用の多重伝送装置に本発明を適用した
場合における複数局の送受信ノードの内の1局を示した
もので、図において、1はCSMA/CD方式の通信制
御回路で、これはディスクリート素子若しくは専用LS
Iで構成され、車輌各部に搭載されているコントロール
・ユニットの中に少なくとも1個設けられており、一方
では、該当コントロール・ユニットの制御用MPU3と
データ交換用のバス2を介して接続され、他方では、物
理層インタフエース4を介して、各コントロール・ユニ
ットを横断的に結ぶ多重伝送路5に接続されている。
BEST MODE FOR CARRYING OUT THE INVENTION A multiplex transmission device according to the present invention
This will be described in detail with reference to the illustrated embodiment. FIG. 1 shows an embodiment of the present invention, showing one of the transmitting and receiving nodes of a plurality of stations when the present invention is applied to a vehicle multiplex transmission apparatus. In the figure, 1 is a CSMA / CD. System communication control circuit, which is a discrete element or dedicated LS
At least one is provided in the control unit mounted on each part of the vehicle, and is connected to the control MPU 3 of the control unit via the bus 2 for data exchange, On the other hand, it is connected via a physical layer interface 4 to a multiplex transmission line 5 which connects each control unit transversely.

【0021】物理層インターフェース4は、例えば図2
に示すような内部回路構成を持つもので、これが多重伝
送路5に対して有する機能とは、劣勢ビットの優勢ビッ
トによる上書き能力を持った送信データの送出機能と、
コンパレータ18による波形整形能力を持ったデータの
受信機能である。
The physical layer interface 4 is shown in FIG.
Which has an internal circuit configuration as shown in FIG. 2 and has a function with respect to the multiplex transmission line 5 is a transmission data transmission function having an overwrite capability by the dominant bit of the inferior bit,
It is a data receiving function having a waveform shaping capability by the comparator 18.

【0022】なお、この実施例では、多重伝送路5が不
平衡の単線で示されているが、多重伝送路として平衡し
た2線式伝送路(ツイステッド・ペア)若しくは光学的伝
送路(オプティカル・ファイバ)等を用いてもよい。し
かして、この場合には、この物理層インターフェース4
も、それに適合する回路に変更しなければならないが、
基本的な機能は上記に述べた通りである。
In this embodiment, the multiplex transmission line 5 is shown as an unbalanced single line, but a balanced two-wire transmission line (twisted pair) or optical transmission line (optical Fiber) or the like may be used. Then, in this case, this physical layer interface 4
Also, you have to change to a circuit that suits it,
The basic function is as described above.

【0023】図2に示す多重伝送路5には、2局の別々
の送受信ノードの物理層インターフェースを表わす4a
と4bの回路が接続されている。そして、これらのノー
ドの送信信号端子Tx1とTx2に同時に与えられる信
号値の組合わせが変えられたとき、各ノードの受信信号
端子Rx1とRx2がどのような値をとるのかは、次の
図3に明示されている。
In the multiplex transmission line 5 shown in FIG. 2, 4a representing physical layer interfaces of two transmitting / receiving nodes of different stations.
And 4b are connected. Then, when the combination of the signal values given to the transmission signal terminals Tx1 and Tx2 of these nodes at the same time is changed, what values the reception signal terminals Rx1 and Rx2 of each node take will be described with reference to FIG. Is specified in.

【0024】ここで論理“1”は優勢信号で、図2にお
ける正の電圧(図2に図示するV+側の電圧)に対応して
おり、他方、論理“0”は劣勢信号で、図2における接
地電圧に対応している。
Here, the logic "1" is the dominant signal and corresponds to the positive voltage in FIG. 2 (voltage on the V + side shown in FIG. 2), while the logic "0" is the dominant signal and is shown in FIG. It corresponds to the ground voltage at.

【0025】この図3から明らかなように、論理“0”
の送信信号は、論理“1”の送信信号で上書きされ、こ
のときの受信信号は、いずれも論理“1”になってしま
う。これが、信号を劣勢及び優勢と区別する所以であ
り、ビット同期の非破壊調停(ビット・ワイズ・アービ
トレーション)を実現する基本原理となる。
As is apparent from FIG. 3, a logical "0"
The transmission signal of 1 is overwritten by the transmission signal of logic "1", and the reception signal at this time becomes logic "1". This is the reason for distinguishing signals from inferiority and superiority, and is a basic principle for realizing nondestructive arbitration of bit synchronization.

【0026】次に、このCSMA/CDの多重伝送方式
において、MPU3が授受するデータが、どのような手
続きにより多重伝送路5とやり取りされるのかを、図1
を用いて説明する。
Next, in this CSMA / CD multiplex transmission system, it is shown in FIG. 1 how the data exchanged by the MPU 3 is exchanged with the multiplex transmission line 5.
Will be explained.

【0027】MPU3が送信したいデータは、バス2を
通じて通信制御回路1の送信バッファ6に送られる。そ
して制御回路8が多重伝送路5の空き状態(劣勢信号の
所定期間の継続)を検出すると、該データは送信バッフ
ァ6から送信シフトレジスタ7に送られ、パラレル・シ
リアル変換された後、送信される。
Data to be transmitted by the MPU 3 is sent to the transmission buffer 6 of the communication control circuit 1 through the bus 2. When the control circuit 8 detects an empty state of the multiplex transmission path 5 (continuation of the inferiority signal for a predetermined period), the data is sent from the transmission buffer 6 to the transmission shift register 7, is parallel-serial converted, and is then transmitted. It

【0028】一方、この送信期間中を通じて、通信制御
回路1内のビット比較器9は、自ノードが送信した信号
レベルと多重伝送路5に現われた信号レベルの相違を検
出する。そして、もしも、自ノードが送信した信号レベ
ルと、多重伝送路5の信号レベルとが異なっていれば、
複数の送信ノードが同時に送信を開始し、且つ自ノード
が送信権獲得に敗れてしまった証拠である。
On the other hand, during this transmission period, the bit comparator 9 in the communication control circuit 1 detects the difference between the signal level transmitted by its own node and the signal level appearing on the multiplex transmission line 5. Then, if the signal level transmitted by the own node and the signal level of the multiplex transmission line 5 are different,
This is evidence that multiple transmission nodes started transmission at the same time, and that the self node lost the transmission right.

【0029】そこで、このときには、調停回路10は送
信を直ちに中断し、回線争奪に敗れた旨を制御レジスタ
11に表示すると共に、該送受信ノードを即時に受信ノ
ードとしての動作に変更させるように動作する。
Therefore, at this time, the arbitration circuit 10 immediately interrupts the transmission, displays on the control register 11 that the contention for the line has been lost, and operates so as to immediately change the transmission / reception node to the operation as the reception node. To do.

【0030】複数の送受信ノードが同時に送信を開始し
た場合、これらの信号は、前記の優勢及び劣勢信号の重
ね合わせの原理に従い、多重伝送路5上の信号値を決め
ることになるが、これらの信号の重ね合わせは、通常、
メッセージの先頭に位置する優先順位コードの領域で行
われ、メッセージのより先頭方向に、より多くの優勢ビ
ットを有するものが最終的に送信権を得る。
When a plurality of transmission / reception nodes start transmission at the same time, these signals determine the signal value on the multiplex transmission line 5 according to the principle of superposition of the above-mentioned superior and inferior signals. Signal superposition is usually
It is done in the area of the priority code located at the beginning of the message, and the one with the more dominant bits towards the beginning of the message finally gets the right to send.

【0031】このビット・ワイズ・アービトレーション
の様子は、図4に詳しく示されており、ここでは、1か
ら3までの送受信ノードが同時に送信を始めた場合を示
しているが、このときは、最終的に送受信ノード1のメ
ッセージが生き残り、このメッセージが、送受信ノード
2及び3の干渉を受けることなく、非破壊で多重伝送路
5上に伝送される。
The state of the bitwise arbitration is shown in detail in FIG. 4, and here, the case is shown in which the transmission / reception nodes 1 to 3 start transmission at the same time. The message of the transmission / reception node 1 survives, and this message is nondestructively transmitted on the multiplex transmission line 5 without the interference of the transmission / reception nodes 2 and 3.

【0032】再び図1に戻り、回線争奪に敗れた送受信
ノードは直ちに受信ノードになり、同期回路12の働き
によりビット同期を継続し、残りの信号を受信シフトレ
ジスタ13に取り込む。そして、1フレーム分のデータ
の受信が完了した時点で、受信データの特定の位置にあ
るアドレス情報を宛先比較器14で比較し、もし自ノー
ドに対するメッセージならば制御回路8が該データをシ
リアル・パラレル変換し、その後、受信バッファ15に
格納する。従って、ここで、MPU3は、バス2を介し
て自ノード宛のデータを参照することができるようにな
る。一方、このとき、自ノードに対するデータでないも
のは、通常破棄される。
Returning to FIG. 1 again, the transmission / reception node that has lost the contention for a line immediately becomes the reception node, the bit synchronization is continued by the function of the synchronization circuit 12, and the remaining signals are taken into the reception shift register 13. Then, when the reception of the data for one frame is completed, the address information at the specific position of the received data is compared by the destination comparator 14, and if the message is for the own node, the control circuit 8 serializes the data. It is converted into parallel data and then stored in the reception buffer 15. Therefore, here, the MPU 3 can refer to the data addressed to the own node via the bus 2. On the other hand, at this time, data that is not the data for the own node is normally discarded.

【0033】ところで、この図1において、16は、自
ノードが回線争奪に失敗したとき多重伝送路に現われて
いる優先順位コードを記憶保持する記憶回路で、ラツチ
A17を主な構成要素とし、回線の争奪に失敗した場合
最後に生き残つた他ノードのメッセージの優先順位コー
ド部分を保持する働きをする。そして、この記憶回路1
6による動作は、メッセージが自ノード宛のものか否か
にかかわらず、送信に失敗したときには必ず実行され
る。
In FIG. 1, reference numeral 16 is a memory circuit for storing and holding the priority code appearing on the multiplex transmission line when the own node fails in the contention for the line. If the contention of the other node fails, it retains the priority code part of the message of the last surviving other node. And this memory circuit 1
The operation of 6 is always executed when the transmission fails, regardless of whether the message is addressed to the own node.

【0034】また、このラツチA17の内容は、バス2
を介してMPU3による参照が可能であり、これにより
MPU3は、動的に自ノード・メッセージの優先順位を
変更する処理を実行する。
The contents of this latch A17 are
Can be referred to by the MPU 3 via this, and thereby the MPU 3 dynamically executes a process of changing the priority of its own node message.

【0035】しかして、後述する別の実施例のように、
通信制御回路1自体がこのラツチA17の内容を参照し
て、メッセージの優先順位コードを動的に変更するよう
にしてもよいし、送信データとは別の、それより高優先
順位の制御命令を送信するようにしてもよい。なお、こ
のような働きは制御回路8の内部に格納されたシーケン
スによって、MPU3の介入なしに、自動的に行われる
ようになる。
However, like another embodiment described later,
The communication control circuit 1 itself may refer to the contents of the latch A17 to dynamically change the priority code of the message, or may issue a control command different from the transmission data and having a higher priority. You may make it transmit. It should be noted that such a function is automatically performed by the sequence stored in the control circuit 8 without intervention of the MPU 3.

【0036】次に、この実施例の動作を、図5のフロー
チャートにより説明する。なお、この実施例では、図1
に示すMPU3が、この図5のフローにしたがって一連
の手続きを実行するようになっている。
Next, the operation of this embodiment will be described with reference to the flow chart of FIG. In addition, in this embodiment, in FIG.
The MPU 3 shown in FIG. 5 executes a series of procedures according to the flow of FIG.

【0037】まず、ステップ20では、MPU3が、通
信制御回路1内の制御レジスタ11からデータを読み出
すことにより、回線争奪に失敗したか否かの判定を行
う。そして、もし、回線争奪に失敗したならばステップ
21に進み、メッセージが一定期間以上送信されていな
いかの判定に進む。ここで、一定期間内か否かは、通常
MPU3のタイマ機能を用いて判定され、この期間の長
さは、総合制御のリアルタイム性が損なわれないよう
な、所定の設計値が選択される。そして、もしも、所定
の期間送信が行われていなければ、ステップ22及びス
テップ23に進む。
First, in step 20, the MPU 3 reads data from the control register 11 in the communication control circuit 1 to determine whether or not the contention for the line has failed. If the contention fails, the process proceeds to step 21 to determine whether the message has not been transmitted for a certain period or longer. Here, whether or not it is within a certain period is normally determined by using the timer function of the MPU 3, and a predetermined design value is selected for the length of this period so as not to impair the real-time property of the comprehensive control. Then, if the transmission is not performed for the predetermined period, the process proceeds to step 22 and step 23.

【0038】まず、ステップ22では、記憶回路16内
のラツチA17から、現在回線を占有中のメッセージの
優先順位コードを獲得する。ついで、ステップ23で
は、その優先順位を基準とし、それより高く、且つ、予
じめ自ノードに割り当てられている一時的な優先順位を
用いてメッセージの再送を試みる。そして、ステップ2
4で、ステップ20と同じ手段で、一時的に高くした優
先順位で本当に送信に成功したかどうかの確認がとら
れ、またも送信に失敗していたならば、ステップ22と
ステップ23の動作を繰り返す。しかして、ここで、送
信に成功していたならば、ステップ25で、メッセージ
の優先順位を通常の順位に戻し、処理を終了するのであ
る。
First, in step 22, the priority code of the message currently occupying the line is acquired from the latch A17 in the memory circuit 16. Then, in step 23, the message is retransmitted using the priority order as a reference and a temporary priority order higher than that and assigned to the own node in advance. And step 2
In step 4, by the same means as in step 20, it is confirmed whether or not the transmission has actually succeeded with the temporarily increased priority, and if the transmission has failed again, the operations of step 22 and step 23 are performed. repeat. Then, if the transmission is successful here, the priority of the message is returned to the normal priority in step 25, and the process is terminated.

【0039】なお、以上の説明では、図5のアルゴリズ
ムをMPU3が実行するものとしたが、考えられる別形
態の実施例としては、通信制御回路1自身がMPU3の
指示なしに独自に本アルゴリズムを実行するように構成
してもよい。この実施例の場合には、上記アルゴリズム
は、制御回路8に格納されることになる。
In the above description, the MPU 3 executes the algorithm shown in FIG. 5, but as another possible embodiment, the communication control circuit 1 itself can execute this algorithm without the instruction of the MPU 3. It may be configured to execute. In the case of this embodiment, the above algorithm will be stored in the control circuit 8.

【0040】しかしながら、この場合でも、ラツチA1
7は内部機構として必須に存在しなければならず、上記
の実施例の如く、MPU3が参照可能でない形態を取る
ことも有り得る。
However, even in this case, the latch A1
7 must exist as an internal mechanism, and the MPU 3 may take a form that cannot be referred to, as in the above embodiment.

【0041】ところで、ここまでは、回線争奪に失敗し
続けていたノードが如何にして送信権を獲得するかの手
法について述べてきた。然し乍ら、この実施例では、そ
れまで回線を占有し続けたノードの動作に対しても、次
のような利便を与えることができる。
By the way, up to now, the method of how the node, which has continuously failed to contend for the line, acquires the transmission right has been described. However, in this embodiment, the following convenience can be given to the operation of the node that has continued to occupy the line.

【0042】以上の説明から明らかなように、この実施
例では、回線を占有してきたノードは、或る時点で送信
権の継続的獲得に失敗する。しかして、このときには、
そのノードのラツチA17(図1に図示)には、他ノー
ドに割り当てられた一時的な高優先順位コードが記憶さ
れている筈である。
As is apparent from the above description, in this embodiment, the node that has occupied the line fails to continuously acquire the transmission right at some point. Then, at this time,
The latch A17 (shown in FIG. 1) of that node should store the temporary high priority code assigned to another node.

【0043】そこで、この回線を占有してきたノードに
とつては、このコードが回線のハングアツプ警告に対応
するような割り込み信号であることが認識できれば、該
当ノードは、他ノードのために、該当ノードによる回線
の使用率を低下させなければならないことが分り、従っ
て、このときには、該当ノードは、送信の時間間隔を遅
延させるなどして伝送路のトラフィックを適切に操作で
きることになる。
Therefore, if the node occupying this line recognizes that this code is an interrupt signal corresponding to a hang-up warning of the line, then the node in question is a node for other nodes, It has been found that the utilization rate of the line must be reduced, and therefore, at this time, the relevant node can appropriately operate the traffic on the transmission line by delaying the transmission time interval.

【0044】次に、本発明の他の一実施例について、図
6により説明する。この図6は、図示のようにメッセー
ジ・フレームの構成を示したもので、図中優先順位ビッ
トと表わされている部分が、前記のビット・ワイズ・ア
ービトレーションに用いられ、上記実施例で説明したよ
うに、回線の状況に合わせて変化される部分である。
Next, another embodiment of the present invention will be described with reference to FIG. FIG. 6 shows the structure of the message frame as shown in the figure. The part represented by the priority bit in the figure is used for the bit-wise arbitration described in the above embodiment. As mentioned above, it is a part that is changed according to the situation of the line.

【0045】次に、この優先順位ビットに引き続く部分
で、図中に宛先ビットと表わされている部分が、メッセ
ージのアドレス情報を表わしており、この部分はビット
・ワイズ・アービトレーションには用いられない。
Next, the portion following the priority bit, which is represented by the destination bit in the figure, represents the address information of the message, and this portion is used for bitwise arbitration. Absent.

【0046】従って、この実施例によれば、ビット調停
が行われる優先順位部分とアドレス情報とが分離されて
いるので、回線の調停が早期に決定でき、システムの信
頼性を向上させることができる。また、この宛先ビット
は、図1の宛先比較器14で参照される識別情報である
が、これが、この実施例では、ノードの優先順位割り当
てと独立に決定することができるので、システム設計の
柔軟性を増すことができる。
Therefore, according to this embodiment, since the priority portion where the bit arbitration is performed and the address information are separated, the arbitration of the line can be decided early and the reliability of the system can be improved. .. Further, this destination bit is the identification information referred to by the destination comparator 14 in FIG. 1. In this embodiment, this destination bit can be determined independently of the priority assignment of the node, so that the system design is flexible. The sex can be increased.

【0047】[0047]

【発明の効果】本発明によれば、或る送信ノードから、
或る受信ノードまでのメッセージの転送遅れ時間、いわ
ゆる潜伏時間の最大値が、従来技術のように確率的な値
としてだけ与えるのではなく、任意に設定した確定的な
値で与えることができ、これにより、厳密なリアルタイ
ム性が必要となる車輌各部の協調制御のような応用に際
しても、安心して使用することができる。
According to the present invention, from a certain transmitting node,
The maximum value of the message transfer delay time to a certain receiving node, so-called latency, can be given not only as a stochastic value as in the prior art but as a deterministic value set arbitrarily, As a result, it can be used with confidence in applications such as cooperative control of vehicle parts that require strict real-time performance.

【0048】また、本発明によれば、送受信ノードのそ
れぞれについて回線のモニタリング機能を強化し、相互
監視能力を付与することができるので、システム全体の
信頼性を向上させるという効果もある。
Further, according to the present invention, since the line monitoring function can be strengthened for each of the transmitting and receiving nodes and mutual monitoring capability can be provided, there is an effect that the reliability of the entire system is improved.

【0049】さらに、本発明では、メッセージ・フレー
ム上の優先順位部分と宛先情報部分を分離しているの
で、ノード間の優先順位の割り当てが個々のノードがど
のようなメッセージのバリエーションを持つているかに
依存せず、独立して決めることができるので、システム
設計の柔軟性を増すという効果もある。
Further, according to the present invention, since the priority part and the destination information part on the message frame are separated, the allocation of the priority among the nodes shows what kind of message variations each node has. Since it can be decided independently without depending on, there is also an effect of increasing flexibility in system design.

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

【図1】本発明による多重伝送装置の一実施例を示すブ
ロツク図である。
FIG. 1 is a block diagram showing an embodiment of a multiplex transmission apparatus according to the present invention.

【図2】本発明における物理層インターフェースの一実
施例を示す回路図である。
FIG. 2 is a circuit diagram showing an embodiment of a physical layer interface according to the present invention.

【図3】本発明の一実施例における送受信端子の信号状
態を示す説明図である。
FIG. 3 is an explanatory diagram showing a signal state of a transmission / reception terminal according to an embodiment of the present invention.

【図4】本発明が適用されている多重伝送系でのビット
同期の非破壊調停を説明するためのタイミングチャート
である。
FIG. 4 is a timing chart for explaining nondestructive arbitration of bit synchronization in a multiplex transmission system to which the present invention is applied.

【図5】本発明の一実施例の動作を説明するためのフロ
ーチャートである。
FIG. 5 is a flow chart for explaining the operation of the embodiment of the present invention.

【図6】本発明の一実施例におけるメッセージ・フレー
ムの構成を示す説明図である。
FIG. 6 is an explanatory diagram showing a structure of a message frame in the embodiment of the present invention.

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

1 通信制御回路 2 バス 3 MPU 4 物理層インターフェース 5 多重伝送路 16 記憶回路 17 優先順位コードのラツチA 1 Communication Control Circuit 2 Bus 3 MPU 4 Physical Layer Interface 5 Multiplex Transmission Line 16 Storage Circuit 17 Priority Code Latch A

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 伝送路上での信号状態が優勢及び劣勢の
2状態をとる多重伝送路と、この多重伝送路に共通に接
続された複数局の送受信ノードとを備え、これら複数の
送受信ノード間で調歩同期方式により通信が行われると
共に、該多重伝送路に優勢信号を送出する送受信ノード
と劣勢信号を送出する送受信ノードが同時刻に存在した
ときには優勢信号が該多重伝送路の信号状態となるよう
にする一方、各送受信ノードから送出されるメッセージ
の優先順位を該メッセージ中に前記優勢及び劣勢パター
ンの組み合わせでコード化して付与し、複数の送受信ノ
ードによる多重伝送路の回線争奪が発生したときには、
多重伝送路上に前記優勢及び劣勢パターンによる優先順
位コードを忠実に再現させ得た送受信ノードだけが唯一
送信権を獲得し送信を継続する非破壊調停型回線争奪方
式の多重伝送装置において、自ノードが回線争奪に失敗
したとき多重伝送路に現われている優先順位コードを記
憶保持する記憶手段と、この記憶手段に記憶保持されて
いる優先順位コードに基づいて自ノードから送信すべき
メッセージの優先順位を動的に変更する優先順位コード
制御手段とを、前記複数局の送受信ノードの少なくとも
1局に設けたことを特徴とする多重伝送装置。
1. A multi-transmission line in which a signal state on a transmission line takes two states, a dominant state and a poor state, and transmission / reception nodes of a plurality of stations commonly connected to this multi-transmission line. When communication is performed by the start-stop synchronization method, and the transmission / reception node transmitting the superior signal and the transmission / reception node transmitting the inferior signal exist at the same time, the superior signal becomes the signal state of the multiple transmission line. On the other hand, the priority of the message transmitted from each transmitting / receiving node is coded and given in the message with the combination of the superior pattern and the inferior pattern, and when contention of the multiple transmission line by the plural transmitting / receiving nodes occurs. ,
In a non-destructive arbitration-type contention-type multiplex transmission device in which only a transmitting / receiving node that can faithfully reproduce the priority code according to the superior and inferior patterns on a multiplex transmission line and continues transmission, Storage means for storing and holding the priority code appearing in the multiplex transmission line when the contention fails, and the priority of the message to be transmitted from the own node based on the priority code stored and held in this storage means. A multiplex transmission apparatus, characterized in that priority code control means for dynamically changing is provided in at least one of the transmitting and receiving nodes of the plurality of stations.
【請求項2】 請求項1の発明において、前記送受信ノ
ードから送出される送信メッセージ中での前記優先順位
コードの収容部分と、該メッセージを受信すべき受信ノ
ードの宛先指定に使われるアドレスの収容部分とが、該
メッセージ中で別々の場所を占めるように構成したこと
を特徴とする多重伝送装置。
2. The invention according to claim 1, wherein an accommodation part of the priority code in a transmission message sent from the transmission / reception node and an address used for designating a destination of a reception node which should receive the message. A multiplex transmission device, characterized in that the part and the part occupy different places in the message.
JP03231044A 1991-08-20 1991-08-20 Multiplex transmission equipment Expired - Fee Related JP3113329B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03231044A JP3113329B2 (en) 1991-08-20 1991-08-20 Multiplex transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03231044A JP3113329B2 (en) 1991-08-20 1991-08-20 Multiplex transmission equipment

Publications (2)

Publication Number Publication Date
JPH0548618A true JPH0548618A (en) 1993-02-26
JP3113329B2 JP3113329B2 (en) 2000-11-27

Family

ID=16917403

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03231044A Expired - Fee Related JP3113329B2 (en) 1991-08-20 1991-08-20 Multiplex transmission equipment

Country Status (1)

Country Link
JP (1) JP3113329B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6879563B1 (en) 1999-02-18 2005-04-12 Nippon Soken, Inc. Data repeater and multiplex communication system using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6879563B1 (en) 1999-02-18 2005-04-12 Nippon Soken, Inc. Data repeater and multiplex communication system using the same

Also Published As

Publication number Publication date
JP3113329B2 (en) 2000-11-27

Similar Documents

Publication Publication Date Title
US5303348A (en) Method of arbitrating access to a data bus and apparatus therefor
JP3115322B2 (en) How the message is formed
EP0100662B1 (en) Digital communication system
US7801173B2 (en) Communication message conversion apparatus and communication message conversion method
CA1172719A (en) Distributed-structure message switching system on random-access channel for message dialogue among processing units
RU2596582C2 (en) Method and device for memory size adapted serial data transfer
EP0064347A1 (en) Local network interface for use in multi-station word processing system and a data communications network
EP0094180A2 (en) Dual-count, round-robin distributed arbitration technique for serial buses
JPS6338130B2 (en)
KR100614638B1 (en) Serial peripheral interface circuit of hybrid type adaptable to high peformance wireless lan and method of the same
US4839887A (en) Node apparatus for communication network having multi-conjunction architecture
KR950005114B1 (en) Channel access process for a local transmission system configured as a bus system
CA1287930C (en) Method and apparatus for transmitting information via a bus system
EP0125095A1 (en) Packet communication system
CN113994638A (en) Subscriber station for a serial bus system and method for communication in a serial bus system
JP3113329B2 (en) Multiplex transmission equipment
US6654385B1 (en) Message division communication method and communication system
JPH04299629A (en) Multiplex transmission method
KR100583811B1 (en) The can message identifier allocation method and the can message transfer arbitration method for the humanoid robot
JP3566057B2 (en) Monitoring and control equipment
JP2936671B2 (en) Communication device
JP3042822B2 (en) Bus contention control method
JPH04302239A (en) Multiple transmission method
KR101058414B1 (en) Method and apparatus of locating slot in static segment for reliability in flexray communication
JPS62103745A (en) Transmission/reception control circuit for data communication

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees