JPH01143533A - Multiplex transmission system - Google Patents

Multiplex transmission system

Info

Publication number
JPH01143533A
JPH01143533A JP30242287A JP30242287A JPH01143533A JP H01143533 A JPH01143533 A JP H01143533A JP 30242287 A JP30242287 A JP 30242287A JP 30242287 A JP30242287 A JP 30242287A JP H01143533 A JPH01143533 A JP H01143533A
Authority
JP
Japan
Prior art keywords
multiplex
node
frame
data
transmission
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
JP30242287A
Other languages
Japanese (ja)
Other versions
JP2638009B2 (en
Inventor
Yutaka Matsuda
裕 松田
Teruhisa Inoue
照久 井上
Yuusaku Himono
檜物 雄作
Yuichi Ito
裕一 伊藤
Osamu Michihira
修 道平
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.)
Furukawa Electric Co Ltd
Mazda Motor Corp
Original Assignee
Furukawa Electric Co Ltd
Mazda Motor Corp
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 Furukawa Electric Co Ltd, Mazda Motor Corp filed Critical Furukawa Electric Co Ltd
Priority to JP62302422A priority Critical patent/JP2638009B2/en
Publication of JPH01143533A publication Critical patent/JPH01143533A/en
Application granted granted Critical
Publication of JP2638009B2 publication Critical patent/JP2638009B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To prevent malfunction and to improve the reliability by initializing a multiplex node so as to receive a transmission data from other multiplex node at the start of each multiplex node. CONSTITUTION:In the event of a started multiplex node after reset after power application or runaway, a destination address and an address to send a signal to all multiplex nodes are designated to all 1 within a prescribed time from the reset, a transmission request code frame ID (=1) is added to a frame ID, the frame ID of a required data is added to a data area and the result is sent to a multiplex transmission line MB. The multiplex node receiving the frame discriminates the frame ID code and detects the frame ID required by a transmission multiplex node from the inside of the data area. Then the multiplex node having the corresponding ID code as a transmission data sends its transmission data to the transmission line. Thus, a required data is obtained from other multiplex nodes started already.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、いわゆるC3MA/CD (Carrier
  SenseMultiple  Access/C
o11ision  Detection)伝送方式を
用いた多重伝送方式に関し、詳細には多重伝送方式の初
期化方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to a so-called C3MA/CD (Carrier
SenseMultiple Access/C
The present invention relates to a multiplex transmission system using a transmission system (O11ision Detection), and specifically relates to a method for initializing a multiplex transmission system.

(従来の技術) 従来より、自動車用多重伝送システムにおいては多重伝
送路を介して相互に接続された複数の多重ノードを備え
、いずれかの多重ノードから宛先アドレスを持つフレー
ムごとにデータを伝送し、この宛先アドレスで指定され
た多重ノードが正常に受信したとき、このフレームに続
いてこの指定されたノードから受信確認信号を返送する
C5MA/CO伝送方式を用いた分散制御形の多重伝送
方式が提案されている。
(Prior Art) Conventionally, multiplex transmission systems for automobiles include a plurality of multiplexed nodes interconnected via multiplexed transmission paths, and data is transmitted from one of the multiplexed nodes for each frame having a destination address. , when the multiplex node specified by this destination address successfully receives the frame, a distributed control multiplex transmission system using the C5MA/CO transmission system returns a reception confirmation signal from the specified node following this frame. Proposed.

今、このC3MA/CD伝送方式を用いた自動車用多重
伝送方式の概略構成図を示すと、第8図のようになるが
、この第8図において、ツイストペア線等からなる多重
伝送路(バス) MBを介して複数の多重ノード、つま
り、フロント多重ノードFN、コンビネーションスイッ
チ多重ノードC81メータ多重ノードMT、リヤ多重ノ
ードRNが接続されている。
Now, if we show a schematic configuration diagram of a multiplex transmission system for automobiles using this C3MA/CD transmission system, it will be as shown in Figure 8. In this figure, a multiplex transmission line (bus) consisting of twisted pair wires A plurality of multiplex nodes, namely, a front multiplex node FN, a combination switch multiplex node C81, a meter multiplex node MT, and a rear multiplex node RN are connected via the MB.

尚、フロント多重ノードFNには、フロントターンライ
トシグナルランプ6、フロントターンレフトシグナルラ
ンプ7、フロントスモールランプ8、ホーン9が接続さ
れており、コンビネーシッンスイッチ多重ノードC3に
は、ターンライトスイッチ10、ターンレフトスイッチ
11、スモールランプスイッチ12、ホーンスイッチ1
3、ヘッドランプハイビームスイッチ14が接続されて
おり、メータ多重ノードMTには、ターンライトインジ
ケータ15、ターンレフトインジケータ16、ヘッドラ
ンプハイビームインジケータ17が接続されており、リ
ヤ多重ノードRNには、リヤターンライトシグナルラン
プ18、リヤターンライトシグナルランプ19、テール
ランプ20(このテールランプ20はスモールランプス
イッチ12がオンで点灯する)が接続されている。
Incidentally, a front turn light signal lamp 6, a front turn left signal lamp 7, a front small lamp 8, and a horn 9 are connected to the front multiplex node FN, and a turn light switch 10 is connected to the combination switch multiplex node C3. , turn left switch 11, small lamp switch 12, horn switch 1
3. A headlamp high beam switch 14 is connected, a turn light indicator 15, a turn left indicator 16, and a headlamp high beam indicator 17 are connected to the meter multiplex node MT, and the rear multiplex node RN has a rear turn A light signal lamp 18, a rear turn light signal lamp 19, and a tail lamp 20 (this tail lamp 20 is turned on when the small lamp switch 12 is turned on) are connected.

ところで、かかる自動車用多重伝送方式では、第9図(
a)に示すような構成のフレームFごとに自動車運転情
報を伝送することが行われている。ここで、このフレー
ムFは、8口(Start Delimiter)コー
ド、宛先アドレス、自局アドレス、データ長、データ1
〜データN1チエツクコードを有するフレーム構成にな
っている。
By the way, in such a multiplex transmission system for automobiles, as shown in FIG.
Vehicle driving information is transmitted for each frame F having the configuration shown in a). Here, this frame F includes an 8-bit (Start Delimiter) code, destination address, own station address, data length, and data 1.
-The frame has a data N1 check code.

先ず、SDコードは、フレームFの開始を表す特定のコ
ードであり、受信多重ノードはこのSDコード符号を受
信するとフレームFの開始を認知するようになっている
。そして、かかる伝送方式で使われるネットワーク内の
各多重ノードには、自局アドレスや宛先アドレスがそれ
ぞれ8ピントで指定されるとすれば、0〜(2” −1
) =255までのいずれかの数字がアドレスとして割
り当てられている。すなわち、ネットワーク内には最大
256個の多重ノードが接続でき、各多重ノードには、
夫々異なる2進数でoooooooo〜1111111
1までのアドレスが割り当てられている。実際には宛先
アドレスとして11111111を指定した場合はグロ
ーバルアドレスと言い、全ノードに対して一斉同報とい
う機能を付加しネットワークに接続できるノードを25
5個としている場合が多い。
First, the SD code is a specific code representing the start of frame F, and the receiving multiplex node recognizes the start of frame F when it receives this SD code symbol. If each multiple node in the network used in such a transmission method has its own address and destination address specified in 8 pintos, then 0 to (2" -1
) = Any number up to 255 is assigned as an address. That is, a maximum of 256 multiple nodes can be connected within the network, and each multiple node has
oooooooo~1111111 in different binary numbers
Addresses up to 1 are assigned. In reality, when 11111111 is specified as a destination address, it is called a global address, and a function of simultaneous broadcasting to all nodes is added, and 25 nodes that can connect to the network are added.
There are many cases where there are 5 pieces.

従って、このような従来の自動車用多重伝送方式では、
1回のフレーム送信において、ある1つの多重ノードに
対して送信するか、または全多重ノードに対して送信す
るかの2通りしかない、また、自局アドレスには、この
フレームFを送信する多重ノードのアドレスが書き込ま
れ、このフレームを受は取った多重ノードは、どの多重
ノードから送られてきたものかを知ることができる。
Therefore, in such a conventional automobile multiplex transmission system,
When transmitting a frame once, there are only two ways to send it: to one multiplex node or to all multiplex nodes. The address of the node is written, and the multiple node that receives this frame can know from which multiple node the frame was sent.

データ長にはこのあとに続くデータの数が書き込まれ、
この場合N個のデータがあるとすれば、データ長として
Nが送られる。このフレームを受は取った多重ノードで
は、データをデータ長の内容だけ読み取る。そしてデー
タにひき続く送信内容がチエツクコード(誤り検出符号
)で、これを確認することにより、フレームの終わりで
あることを知ることができる。データの伝送を確実にす
ることを目的として受信ノードでは、チエツクコードに
より受信したフレームの内容に誤りがないかをチエツク
し、誤りがなければ第9図(blに示すように12時間
内のある時間7.時間後に、受信確認信号(ACK信号
)Aとして自局アドレスを多重伝送路MBに送出する。
The number of data that follows is written in the data length,
In this case, if there are N pieces of data, N is sent as the data length. The multi-node that receives this frame reads only the contents of the data length. The transmitted content that follows the data is a check code (error detection code), and by checking this, it is possible to know that the frame is at its end. In order to ensure data transmission, the receiving node uses a check code to check whether there are any errors in the contents of the received frame. After time 7, it sends its own address as a reception confirmation signal (ACK signal) A to the multiplex transmission path MB.

フレームFを送信した多重ノードでは、このACK信号
信号光は取り、受信側で正常にデータが受は取られたこ
とを認識する。
The multiplex node that transmitted frame F receives this ACK signal light, and the receiving side recognizes that the data has been received normally.

受信側で正しくデータが受取れなかった時(チエツクコ
ードにより誤りが検出された時)やフレーミングエラー
時(データ長で指定された長さよりも実際に送られたデ
ータが短かったり、長かったりした場合)には第10図
(blに示すように受信側からACK信号を返送しない
。この場合、第10図fa+に示すように送信側ではフ
レーム送信終了後一定時間T!以内にACK信号が返送
されないと、フレームFの送信が失敗したと判断し同一
のフレームFの再送信を開始する。
When data is not received correctly on the receiving side (when an error is detected by the check code) or when a framing error occurs (when the actually sent data is shorter or longer than the length specified by the data length) In this case, as shown in Figure 10 (bl), the receiving side does not return an ACK signal.In this case, as shown in Figure 10 fa+, the transmitting side must return an ACK signal within a certain time T! after frame transmission is completed. , determines that the transmission of frame F has failed, and starts retransmission of the same frame F.

第11図は、ある多重ノードから一斉同報のフレームが
送信された場合を示す、送信フレームの構成は第11図
(alに示すように1多重ノードに対する送信と同一で
あるが、宛先アドレスとしてグローバルアドレス(11
111111)が送られる。この場合は多重伝送路MB
に接続される全多重ノードが、このデータを受信するこ
とになる。全多重ノードが正常に受信しているとすれば
、第11図(blに示すように、フレーム終了からある
時間↑、(〈Tヨ)時間後に、−斉にACK信号Aとし
て自局アドレスを返送する。
Figure 11 shows a case where a frame for simultaneous broadcasting is transmitted from a certain multiplex node.The structure of the transmitted frame is the same as that for transmission to one multiplex node as shown in Figure 11 (al), but the destination address is Global address (11
111111) is sent. In this case, the multiplex transmission path MB
All multiplex nodes connected to will receive this data. Assuming that all the multiplex nodes are receiving normally, as shown in Figure 11 (bl), after a certain time ↑, (〈Tyo) time from the end of the frame, they will simultaneously send their own address as an ACK signal A. Send it back.

前述したC5MA/CD伝送方式では、常時データを多
重伝送路MBへ送信しているのではなく事象が多重伝送
路MBの有効利用と、各多重ノードが対等であることに
よる信顛性の向上を図っている。
In the above-mentioned C5MA/CD transmission system, instead of constantly transmitting data to the multiplex transmission path MB, the event is to effectively utilize the multiplex transmission path MB and improve reliability by making each multiplex node equal. I'm trying.

例えば、第8図のコンビネーションスイッ、チ多重ノー
ドC8において、スモールランプスイッチ12がオフ状
態からオン状態に変化した後にスモールランプスイッチ
12がオンという信号を他のフロント多重ノードFN、
メータ多重ノードMT、リヤ多重ノードRNに送信し夫
々の多重ノードにおいてスモールランプ8の点灯、メー
タの減光、テールランプ20の点灯という動作を行わせ
る。
For example, in the combination switch front multiplex node C8 in FIG.
The information is transmitted to the meter multiplex node MT and the rear multiplex node RN, and the respective multiplex nodes perform operations such as lighting the small lamp 8, dimming the meter, and lighting the tail lamp 20.

自動車用多重伝送方式では、第12図に示すように、各
電装品の使われ方の相違から十B電源、アクセサリ−(
ACC)電源及びイグニッション(IGI)電源の3通
りの電源起動タイミングがある。+B電源はイグニッシ
ョンキーが入っていなくても電装品を動作するためのも
のであり、フロント多重ノードFN、リア多重ノードR
N及びコンビネーシッンスイッチ多重ノードC8は十B
電源で動作する必要があり、各多重ノード内の多重制御
回路にも十B電源が供給されている。アクセサリ (A
 CC>電源はイグニッションキーは入っているが、−
aにエンジンは回転していない従って発電していない状
態で電装品を動作するためのものであり、ラジオ等がア
クセサリ電源により動作する。イグニッション電源はエ
ンジンが回転して自動車が走行状態にある時に電装品を
動作するためのものであり、メータ多重ノードMTはイ
グニッション電源が供給されている。+Bt[はバッテ
リに接続していれば常時供給される電源であり、またア
クセサリ電源及びイグニッション電源はイグニッション
キーにより供給される電源であって、夫々供給されるタ
イミングが異なる。
In the automobile multiplex transmission system, as shown in Figure 12, due to differences in how each electrical component is used, a 10B power supply, accessories (
There are three power start timings: ACC) power supply and ignition (IGI) power supply. +B power supply is for operating electrical components even when the ignition key is not turned on, and is used for front multiple node FN and rear multiple node R.
N and combination switch multiple node C8 is 10B
It is necessary to operate with a power supply, and a 10B power supply is also supplied to the multiplex control circuit in each multiplex node. Accessories (A
CC>The ignition key is turned on, but -
In a, the engine is not rotating and is therefore not generating electricity to operate electrical components, and radios and the like are operated by the accessory power source. The ignition power source is used to operate electrical components when the engine is rotating and the vehicle is running, and the meter multiple node MT is supplied with the ignition power source. +Bt[ is a power supply that is constantly supplied when connected to a battery, and the accessory power supply and ignition power supply are power supplies that are supplied by the ignition key, and the timings at which they are supplied are different.

(発明が解決しようとする問題点) しかしながら、従来の多重伝送方式では、次の3つの場
合に多重伝送路に接続される多重ノードが他の多重ノー
ドから送信されてくるべきデータの内容と一致しないデ
ータを保持することがあるという問題点がある。
(Problems to be Solved by the Invention) However, in the conventional multiplex transmission system, in the following three cases, a multiple node connected to a multiplex transmission line matches the content of data to be transmitted from another multiple node. There is a problem in that it may retain data that is not intended for use.

第1に、異種電源つまり異なるタイミングで供給が開始
される電源により動作する多重ノード間の伝送では、遅
れて起動された多重ノードが、先に起動されている多重
ノードの情報を得られないという問題点がある。第8図
に示すようにメータ多重ノードMTだけがイグニッショ
ンIGI電源で動作し他の多重ノードが十B電源で動作
する場合に、十B電源は供給されているがイグニッショ
ンIGI電源は供給されていない状態でコンビネーシッ
ンスイッチ多重ノードC8からスモールランプオン信号
を送信するとフロント多重ノードFN及びリア多重ノー
ドRNは夫々フロントのスモールランプ8を点灯しテー
ルランプ20を点灯するが、メータ多重ノードMTには
イグニッシッンIG1電源が供給されてないためにスモ
ールランプオン信号を受信できない、後に、メータ多重
ノードMTにイグニッションIGI電源が供給されても
コンビネーシッンスイッチ多重ノードC8ではスモール
ランプスイッチ12がオン状態のままで変化しないため
スモールランプオン信号を送信することはない。従って
、メータ多重ノードMTではインジケータがずっと減光
の状態にならないままである。
First, in transmission between multiple nodes that operate on dissimilar power supplies, that is, power sources that start being supplied at different times, a multiple node that is activated later cannot obtain information about a multiple node that is activated earlier. There is a problem. As shown in Figure 8, when only the meter multiplex node MT operates on the ignition IGI power source and the other multiplex nodes operate on the 10B power source, the 10B power source is supplied but the ignition IGI power source is not supplied. When the small lamp ON signal is transmitted from the combination switch multiplex node C8 in the state, the front multiplex node FN and the rear multiplex node RN respectively light the front small lamp 8 and the tail lamp 20, but the ignition signal is not sent to the meter multiplex node MT. The small lamp on signal cannot be received because the IG1 power is not supplied. Later, even if the ignition IGI power is supplied to the meter multiplex node MT, the small lamp switch 12 remains on in the combination switch multiplex node C8. Since it does not change, it does not transmit a small lamp on signal. Therefore, at the meter multiplex node MT, the indicator remains un-dimmed.

第2に、同種電源で動作する多重ノード間においても内
部の定電圧電源の立上がり特性等の相違に起因して、遅
れて起動された多重ノードは先に起動され動作を開始し
ている多重ノードからの信号を受信できないという問題
点がある。自動車用多重伝送システムでは、各多重ノー
ドは論理回路を動作するために外部から供給される+B
taiっまり+12Vを+5vに変換する定電圧回路を
備えている。これらの定電圧回路は第13図に示すよう
に各多重ノードによって特性が異なるためにその立上が
り時間も異なり、各多重ノードの動作開始時間にずれが
ある。第13図では定電圧回路の出力Aが早く動作開始
レベルに達し、出力Bは遅く動作開始レベルに達する。
Second, even among multiple nodes that operate on the same type of power source, due to differences in the rise characteristics of internal constant voltage power supplies, multiple nodes that are started later are activated and operated earlier. There is a problem that it is not possible to receive signals from. In an automotive multiplex transmission system, each multiplex node has +B supplied externally to operate the logic circuit.
It is equipped with a constant voltage circuit that converts +12V to +5V. As shown in FIG. 13, these constant voltage circuits have different characteristics depending on the multiplexed nodes, so that their rise times also differ, and there is a difference in the operation start time of each multiplexed node. In FIG. 13, the output A of the constant voltage circuit reaches the operation start level earlier, and the output B reaches the operation start level later.

更に、第14図を参照してエアコンスイッチ多重ノード
21とエアコンユニット多重ノード23との間の伝送に
ついて詳述すると、エアコンスイッチ多重ノード21の
信号処理部21aがエアコンスイッチ22の状態を監視
し、状態変化があると伝送制御部21bがエアコンユニ
ット多重ノード23ヘスイツチ多重信号を送信する。エ
アコンユニット多重ノード23の伝送制御部23bがこ
の多重信号を受信し、信号処理部23aが解読してスイ
ッチ多重信5の内容に応じてエアコン用の各種アクチュ
エータ24を附勢する。エアコンスイッチ多重ノード2
1の定電圧電源の立ち上がりがエアコンユニット多重ノ
ード23のものよりも早い場合には、エアコンスイッチ
多重ノード21が起動されエアコンユニット多重ノード
23が起動されていない間に、つまり第13図のA点と
B点の間にエアコンスイッチ22が状態変化してもエア
コンユニット多重ノード23はスイッチ多重信号を受信
できないため正常に動作しない。
Furthermore, to explain in detail the transmission between the air conditioner switch multiple node 21 and the air conditioner unit multiple node 23 with reference to FIG. 14, the signal processing section 21a of the air conditioner switch multiple node 21 monitors the state of the air conditioner switch 22, When there is a change in state, the transmission control section 21b transmits a switch multiplex signal to the air conditioner unit multiplex node 23. The transmission control section 23b of the air conditioner unit multiplex node 23 receives this multiplexed signal, the signal processing section 23a decodes it, and energizes various actuators 24 for the air conditioner according to the contents of the switch multiplexed signal 5. Air conditioner switch multiple node 2
If the constant voltage power supply No. 1 rises earlier than that of the air conditioner unit multiple node 23, the air conditioner switch multiple node 21 is activated and the air conditioner unit multiple node 23 is not activated, that is, point A in FIG. Even if the state of the air conditioner switch 22 changes between the point and the point B, the air conditioner unit multiplex node 23 cannot receive the switch multiplex signal and therefore does not operate normally.

第3に、全ての多重ノードに電源が供給されている場合
でも、ある多重ノードが暴走しその多重ノード内の暴走
検出回路から信号処理部ヘリセット信号が加えられた場
合、例えば多重ノードの電源回路内の低電圧リセット信
号によって零リセットされ今まで蓄えていたデータがク
リアされる場合にも信号処理部の内部状態が初期化され
てしまい他の多重ノードのその時点の状態を知ることが
できないという問題点がある。第8図を参照して詳述す
ると、4つの多重ノードが全て起動され、コンビネーシ
ョンスイッチ多重ノードC8のスモールランプスイッチ
12がオン状態にあり、フロント多重ノードFNのスモ
ールランプ8が点灯状態にあり、リア多重ノードRNの
テールランプ20が点灯状態にあり、そしてメータ多重
ノードMTのインジケータが減光状態にある時に、リヤ
多重ノードRNの信号処理部にリセット信号が印加され
た場合にはリヤ多重ノードRNの内部データは初期化さ
れテールランプ20が消灯する。コンビネーションスイ
ッチ多重ノードC3は、このリヤ多重ノードRNのリセ
ットを知り得ずまたスモールランプスイッチ12の事象
変化がないために、スモールランプスイッチオン信号を
改めて送信することはしない、従って、リヤ多重ノード
RNではリセットから復帰した後もリセット後に変化の
ないスイッチの状態は知ることができない。
Thirdly, even if power is supplied to all multiplex nodes, if a certain multiplex node goes out of control and a signal processing unit heliset signal is applied from the runaway detection circuit in that multiplex node, for example, if the multiplex node's power supply Even when the circuit is reset to zero by a low-voltage reset signal and the previously stored data is cleared, the internal state of the signal processing unit is initialized, making it impossible to know the current state of other multiple nodes. There is a problem. To explain in detail with reference to FIG. 8, all four multiplex nodes are activated, the small lamp switch 12 of the combination switch multiplex node C8 is in the on state, and the small lamp 8 of the front multiplex node FN is in the lit state. If a reset signal is applied to the signal processing section of the rear multiplex node RN when the tail lamp 20 of the rear multiplex node RN is in the lighting state and the indicator of the meter multiplex node MT is in the dimmed state, the rear multiplex node RN The internal data of is initialized and the tail lamp 20 is turned off. Since the combination switch multiplex node C3 does not know about the reset of this rear multiplex node RN and there is no change in the event of the small lamp switch 12, the combination switch multiplex node C3 does not transmit the small lamp switch on signal again. In this case, even after returning from reset, it is impossible to know the state of a switch that remains unchanged after reset.

本考案は、上記事情に鑑みてなされたものであり、各多
重ノードの起動時にその多重ノードが他の多重ノードか
ら送信データを受けるように初期化することにより誤動
作を防止し信鎖性を向上させる多重伝送方式を提供する
ことを目的とする。
The present invention was developed in view of the above circumstances, and prevents malfunctions and improves reliability by initializing each multiplex node to receive transmission data from other multiplex nodes when starting up. The purpose of this invention is to provide a multiplex transmission system that allows

(問題点を解決するための手段) 上記目的を達成するために、本発明によれば、各多重ノ
ードが共通の多重伝送路に接続されている複数の多重ノ
ードを備え、事象発生時に該当多重ノードがその事象の
データを前記多重伝送路を介して送信する多重伝送方式
において、各多重ノードの起動時に、起動多重ノードが
他の多重ノードに送信要求を示すフレームを送信する多
重伝送方式が提供される。
(Means for Solving the Problem) In order to achieve the above object, according to the present invention, each multiplex node is provided with a plurality of multiplex nodes connected to a common multiplex transmission path, and when an event occurs, the corresponding multiplex In a multiplex transmission method in which a node transmits data of its event via the multiplex transmission path, a multiplex transmission method is provided in which, when each multiplex node is activated, the activated multiplex node transmits a frame indicating a transmission request to other multiplex nodes. be done.

(作用) 異種電源あるいは同種電源により起動される各多重ノー
ドの起動時間にずれがある場合又は多重ノードが起動後
にリセットされた場合に、後に起動される各多重ノード
がその起動時に他の多重ノードに送信要求を示すフレー
ムを送信し、その時点の他の多重ノードのデータを受は
取って、誤動作を防止し信鎖性を向上させる。
(Operation) If there is a lag in the startup time of multiple nodes that are activated by different types of power sources or the same type of power source, or if multiple nodes are reset after activation, each multiple node that is activated later will not be connected to other multiple nodes at the time of activation. A frame indicating a transmission request is sent to the node, and data from other multiple nodes at that time is received to prevent malfunctions and improve reliability.

(実施例) 以下、本発明の実施例を添付図面に基づいて詳細に説明
する。
(Example) Hereinafter, an example of the present invention will be described in detail based on the accompanying drawings.

第1図は本発明の多重伝送方式に用いるフレームFの一
般的なフォーマットを示す図であり、このフレームFは
SDコード、宛先アドレス、自局アドレス、フレームI
Dコード、データ長、データ、及びチエツクコードで構
成されている。前述したように、SDコードはフレーム
Fの先頭にありそのフレームの開始を表わし、宛先アド
レスは送信データを受は取るべき相手の多重ノードを指
定するものであり、自局アドレスはそのフレームFを送
信する多重ノードを示し、データ長は次に続くデータの
長さを与え、データ領域にデータト・・・・・Nが書き
込まれ、チエツクコードはCRC。
FIG. 1 is a diagram showing the general format of a frame F used in the multiplex transmission system of the present invention.
It consists of a D code, data length, data, and check code. As mentioned above, the SD code is located at the beginning of frame F and indicates the start of that frame, the destination address specifies the multi-node to which the transmitted data should be received, and the own station address specifies the frame F. Indicates the multiplex node to be transmitted, the data length gives the length of the next data, data data...N is written in the data area, and the check code is CRC.

チエツクサム、パリティ等のコードから成り受信したフ
レームFの内容をチエツクするためのものである。フレ
ームIDコードはデータ領域の各ビットに割り付けたデ
ータの割り付けを示すコードであり、受信側の多重ノー
ドはフレームIDコードによってそのデータの内容を認
識できる0通常は、送信多重ノードが、送信データを受
は取るべき相手の多重ノードのアドレスを宛先アドレス
とて指定し、続いて送信多重ノードのアドレスを自局ア
ドレスとして指定し、該フレームのフレームIDコード
及びこれから送るデータの長さを指定し、データ領域に
データを送り、全ビットに対するチエツクコードを付加
して多重伝送路に送出する。
It consists of codes such as checksum and parity, and is used to check the contents of the received frame F. The frame ID code is a code that indicates the allocation of data allocated to each bit of the data area, and the receiving side multiplex node can recognize the contents of the data by the frame ID code.Normally, the transmitting multiplex node The receiver specifies the address of the destination multiplex node as the destination address, then specifies the address of the transmitting multiplex node as its own address, specifies the frame ID code of the frame and the length of the data to be sent, Data is sent to the data area, a check code is added to all bits, and the data is sent to the multiplex transmission path.

各多重ノードの電源起動時にその起動された多重ノード
から第2図に示す具体的な送信要求フレーム’l多重ノ
ードに送信すれば、このフレームを受信した各多重ノー
ドはこの起動された多重ノードに送るべきデータを全部
送信する。つまり、起動された多重ノードが、電源投入
後のリセット又は前述した暴走からの復帰時リセットか
ら所定時間内に、宛先アドレスを全多重ノードに信号を
送るべき前述のグローバルアドレス(オール1)に指定
し、送信要求コード(フレームID=1)をフレームI
Dに付加し、データ領域に必要とするデータのフレーム
IDコードを付加して多重伝送路に送出する。このフレ
ームを受信した多重ノードは、フレームIDコードを判
定し、自局アドレスで表わされる多重ノードが送信要求
メツセージを出していることを検知し、データ領域の内
部から送信多重ノードが必要としているフレームIDを
検知し、該当するフレームIDコードを送信データとし
て持っている多重ノードではその送信データを多重伝送
路に送出する。これによって、電源起動時に送信要求メ
ツセージを出した多重ノードは既に起動している他の多
重ノードから必要なデータを得ることができる。ここで
、送信要求フレームのフレームIDコードを送信多重ノ
ードで受信すべき全フレームのフレームIDコードとす
れば送信多重ノードは原則的にその時点での全ての必要
なデータを収集することが可能であり、各多重ノードは
電源の起動時が相違しても本来受信すべきデータを受信
することができる。この実施例では、送信すべきことを
要求したフレームの数は1つであるが、送信要求フレー
ムのデータ領域を拡張すれば複数のフレームへの送信要
求にも容易に対応できる。
When the power of each multiplex node is turned on, if the activated multiplex node sends a specific transmission request frame shown in FIG. Send all data that should be sent. In other words, the activated multiplex node specifies the destination address as the aforementioned global address (all 1) that should send a signal to all multiplex nodes within a predetermined time from the reset after power-on or the reset upon recovery from the aforementioned runaway. and send the transmission request code (frame ID=1) to frame I.
D, a frame ID code of the required data is added to the data area, and the frame ID code is sent to the multiplex transmission path. The multiplex node that received this frame judges the frame ID code, detects that the multiplex node represented by its own station address has issued a transmission request message, and selects the frame required by the transmitting multiplex node from inside the data area. A multiplex node that detects the ID and has the corresponding frame ID code as transmission data sends the transmission data to the multiplex transmission path. As a result, a multiple node that issues a transmission request message when the power is turned on can obtain necessary data from other multiple nodes that are already activated. Here, if the frame ID code of the transmission request frame is used as the frame ID code of all frames to be received by the transmitting multiplex node, the transmitting multiplex node can, in principle, collect all necessary data at that point. Therefore, each multiplex node can receive data that it should originally receive even if the power supplies are turned on at different times. In this embodiment, the number of frames requested to be transmitted is one, but by expanding the data area of the transmission request frame, requests for transmission of multiple frames can be easily accommodated.

前記問題点の第1において述べた、後に起動されたメー
タ多重ノードMTが電源投入後所定時間内に第2図に示
す送信要求フレームを送信したものとすれば、全多重ノ
ードはフレームの自局アドレス(メータ=2)からメー
タ多重ノードMTからの送信要求(フレームID−1)
と判定し、データ領域内のコードから送信要求されてい
るフレームの!Dコードが2であると検知する。第8図
のフロント多重ノードFN及びリヤ多重ノードRNは送
信データとしてフレームID=2を持っていないために
何も送信しないが、コンビネーションスイッチ多重スイ
ッチC8はフレームID=2を送信データとして持って
おり、第3図のフレームをメータ多重ノードMTに送信
する。メータ多重ノードMTは第3図のフレームのデー
タ領域(スモールランプ点灯)からスモールランプが点
灯状態にあることを知る。
Assuming that the meter multiplex node MT that was activated later, as mentioned in Problem 1 above, transmits the transmission request frame shown in FIG. Transmission request from meter multiple node MT from address (meter=2) (frame ID-1)
of the frame requested to be transmitted from the code in the data area. It is detected that the D code is 2. The front multiplex node FN and rear multiplex node RN in FIG. 8 do not have frame ID=2 as transmission data and therefore do not transmit anything, but combination switch multiplex switch C8 has frame ID=2 as transmission data. , transmits the frame of FIG. 3 to the meter multiplex node MT. The meter multiplex node MT learns from the data area (small lamp lit) of the frame shown in FIG. 3 that the small lamp is lit.

第4図は送信要求するフレームが1つの場合に宛先アド
レスをグローバルアドレスとせずに1つの多重ノードを
宛先として指定した送信要求フレームの実施例を示す図
である。宛先アドレスがコンビネーシッンスイッチ多重
ノードscを示す、コンビ5W−3として指定されてい
る。
FIG. 4 is a diagram showing an example of a transmission request frame in which one multi-node is designated as the destination without using the global address as the destination address when there is only one frame to be transmitted. The destination address is designated as Combi 5W-3, indicating Combination Switch multiplex node sc.

以上述べた実施例では、送信要求フレームを受信した多
重ノードで、要求されているフレームIDの判定が必要
なために受信信号の処理がやや?3[雑である。
In the embodiments described above, the processing of the received signal is somewhat slow because the multiplex node that receives the transmission request frame needs to determine the requested frame ID. 3 [It's rough.

第5図は送信要求フレームの別の実施例を示しており、
このフレームは宛先アドレス及び自局アドレス共に指定
されておらず、データ領域内に要求するフレームIDコ
ードを示すデータを含ませず、この送信要求フレームを
受信した全多重ノードは持っている全フレームを送出す
るように構成されている。第6図も全多重ノードにその
持っている全フレームを送信することを要求する送信要
求フレームの別の実施例を示している。宛先アドレスは
グローバルアドレスで指定され、自局アドレスは送信要
求を発生した多重ノードのアドレスが指定される。全多
重ノードが全フレームを送出する場合には多くの多重ノ
ードが一斉に起動した時等に多重ノード数、処理すべき
フレーム数の多い多重伝送システムではシステム起動時
に多重伝送路上のトラフィックが増大し応答に影響が出
る場合があることから全フレームを送出するのではなく
、データが初期値と異なる全てのフレームを送信するよ
うに構成できる。つまり、送信すべきデータが初期値と
同じであれば、リセット後には多重ノードのデータは初
期値であり送信側と受信側で同じデータ値を持っている
ため送信する必要はない、また、トラフィックが増加す
ることが考えられるシステム起動時には多くのデータが
初期値のままであり、送信する必要が少ないためシステ
ム起動時の応答性への影響を解消できる。
FIG. 5 shows another embodiment of the transmission request frame,
This frame has neither a destination address nor a local address specified, and does not include data indicating the requested frame ID code in the data area. configured to send. FIG. 6 also shows another embodiment of a request to transmit frame requesting all multiplex nodes to transmit all frames they have. The destination address is specified by a global address, and the local address is specified by the address of the multiple node that issued the transmission request. When all multiplex nodes transmit all frames, the traffic on the multiplex transmission path increases when the system starts up in a multiplex transmission system with a large number of multiplex nodes and a large number of frames to be processed, such as when many multiplex nodes start up at the same time. Rather than transmitting all frames since this may affect the response, it can be configured to transmit all frames whose data differs from the initial value. In other words, if the data to be sent is the same as the initial value, there is no need to send it after a reset because the data on the multiple nodes is the initial value and the sending and receiving sides have the same data value. When the system is started, which is likely to increase, much of the data remains at its initial value, and there is less need to send it, which eliminates the impact on responsiveness when the system starts.

第7図はプライオリティ制御を行う多重伝送方式におけ
る送信要求フレームの実施例を示す図である。プライオ
リティ制御は、ある多重ノードがらの送信要求フレーム
に応答して他の多重ノードから一斉に信号が返ってくる
時に信号が互いに衝突しないようにプライオリティつま
り優先度の順に受付けて、当該多重ノードが正常状態に
復帰するようにするものである。送信要求フレームは各
多重ノードで持つデータの統一を図る重要な信号である
ことから、その処理を迅速に完了すべくプライオリティ
制御にあっては最高順位のプライオリティを付けるよう
にする。
FIG. 7 is a diagram showing an example of a transmission request frame in a multiplex transmission system that performs priority control. Priority control is such that when signals are returned all at once from other multiple nodes in response to a transmission request frame from one multiple node, the signals are accepted in order of priority to prevent the signals from colliding with each other. This is to restore the condition. Since the transmission request frame is an important signal for unifying the data held by each multiplex node, it is given the highest priority in priority control in order to quickly complete its processing.

(発明の効果) 以上説明したように、本発明によれは、各多重ノードが
共通の多重伝送路に接続されている複数の多重ノードを
備え、事象発生時に該当多重ノードがその事象のデータ
を前記多重伝送路を介して送信する多重伝送方式におい
て、各多重ノードの起動時に、起動多重ノードが他の多
重ノードに送信要求を示すフレームを送信することによ
り、異種電源による起動遅れ、電源回路の特性のバラツ
キによる起動時刻のバラツキによる起動遅れ、又は多重
伝送システム内の多重ノードのリセットによる起動遅れ
の場合に各多重ノードを正常状態に復帰させ、システム
の誤動作を防止し、偉績性の向上が図れるという効果が
得られる。
(Effects of the Invention) As explained above, according to the present invention, each multiplex node is provided with a plurality of multiplex nodes connected to a common multiplex transmission path, and when an event occurs, the corresponding multiplex node transmits data of the event. In the multiplex transmission method that transmits data via the multiplex transmission path, when each multiplex node starts up, the activated multiplex node transmits a frame indicating a transmission request to other multiplexed nodes, thereby reducing startup delays caused by different types of power sources and power supply circuit failures. In the case of startup delays due to variations in startup times due to variations in characteristics, or startup delays due to resets of multiple nodes in a multiplex transmission system, each multiplex node is returned to its normal state, preventing system malfunctions and improving performance. The effect of being able to achieve this goal is obtained.

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

第1図は本発明の多重伝送方式に用いるフレームの一般
的なフォーマットを示す図、第2図は伝送要求フレーム
の実施例を示す図、第3図は応答フレームの例を示す図
、第4図から第7図は夫々送信要求フレームの別の実施
例を示す図、第8図はCSMA/CD多重伝送方式を用
いた自動車用多重伝送方式を示す概略構成図、第9図〜
第11図は夫々従来の自動車用多重伝送方式におけるフ
レームフォーマ7トを示す図、第12図は各種を源の起
動タイミングを説明する図、第13図は多重ノード内の
定電圧回路の立ち上がり特性のバラツキを説明する図、
第14図はエアコンスイッチ多重ノードとエアコンユニ
ット多重ノードとの間の信号伝送を説明する図である。 6・・・フロントターンライトシグナルランプ、7・・
・フロントターンレフトシグナルランプ、9・・・ホー
ン、10・・・ターンライトスイッチ、11・・・ター
ンレフトスイッチ、15・・・ターンライトインジケー
タ、16・・・ターンレフトインジケータ、18・・・
リヤターンライトシグナルランプ、19・・・リヤター
ンレフトシグナルランプ、A、A3.A5・・・受信確
認信号(ACK信号)、cs・・・コンビネーションス
インチ多重ノード、FN・・・フロント多重ノード、F
・・・フレーム、MB・・・多重伝送路、MT・・・メ
ータ多重ノード、RN・・・リヤ多重ノード。
FIG. 1 is a diagram showing a general format of a frame used in the multiplex transmission system of the present invention, FIG. 2 is a diagram showing an embodiment of a transmission request frame, FIG. 3 is a diagram showing an example of a response frame, and FIG. 7 to 7 are diagrams showing other embodiments of transmission request frames, FIG. 8 is a schematic configuration diagram showing a multiplex transmission system for automobiles using the CSMA/CD multiplex transmission system, and FIGS.
Fig. 11 is a diagram showing the frame format 7 in the conventional multiplex transmission system for automobiles, Fig. 12 is a diagram explaining startup timing based on various sources, and Fig. 13 is a rise characteristic of a constant voltage circuit in a multiple node. A diagram explaining the variation in
FIG. 14 is a diagram illustrating signal transmission between the air conditioner switch multiple node and the air conditioner unit multiple node. 6...Front turn light signal lamp, 7...
・Front turn left signal lamp, 9... Horn, 10... Turn light switch, 11... Turn left switch, 15... Turn light indicator, 16... Turn left indicator, 18...
Rear turn light signal lamp, 19... Rear turn left signal lamp, A, A3. A5...Reception confirmation signal (ACK signal), cs...Combination switch multiple node, FN...Front multiple node, F
...Frame, MB...Multiple transmission line, MT...Meter multiplex node, RN...Rear multiplex node.

Claims (4)

【特許請求の範囲】[Claims] (1)各多重ノードが共通の多重伝送路に接続されてい
る複数の多重ノードを備え、事象発生時に該当多重ノー
ドがその事象のデータを前記多重伝送路を介して送信す
る多重伝送方式において、各多重ノードの起動時に、起
動多重ノードが他の多重ノードに送信要求を示すフレー
ムを送信することを特徴とする多重伝送方式。
(1) In a multiplex transmission method, each multiplex node includes a plurality of multiplex nodes connected to a common multiplex transmission path, and when an event occurs, the corresponding multiplex node transmits data of the event via the multiplex transmission path, A multiplex transmission system characterized in that when each multiplex node is activated, the activated multiplex node transmits a frame indicating a transmission request to other multiplex nodes.
(2)前記他の多重ノードが、その多重ノードから送信
可能な全フレームを前記起動多重ノードに送信する特許
請求の範囲第1項記載の多重伝送方式。
(2) The multiplex transmission system according to claim 1, wherein the other multiplex node transmits all frames that can be transmitted from the other multiplex node to the activated multiplex node.
(3)前記他の多重ノードが、その多重ノードから送信
可能な全フレームのうちフレーム内のデータ領域のデー
タが初期値と異なる全てのフレームを送信する特許請求
の範囲第1項記載の多重伝送方式。
(3) The multiplex transmission according to claim 1, wherein the other multiplex node transmits all frames in which the data in the data area within the frame is different from the initial value, out of all the frames that can be transmitted from the other multiplex node. method.
(4)前記送信要求を示すフレームに全フレーム中で最
高順位のプライオリティを付加して送信する特許請求の
範囲第1項ないし第3項記載の多重伝送方式。
(4) The multiplex transmission system according to any one of claims 1 to 3, wherein the frame indicating the transmission request is given the highest priority among all frames and transmitted.
JP62302422A 1987-11-30 1987-11-30 Multiplex transmission method Expired - Fee Related JP2638009B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62302422A JP2638009B2 (en) 1987-11-30 1987-11-30 Multiplex transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62302422A JP2638009B2 (en) 1987-11-30 1987-11-30 Multiplex transmission method

Publications (2)

Publication Number Publication Date
JPH01143533A true JPH01143533A (en) 1989-06-06
JP2638009B2 JP2638009B2 (en) 1997-08-06

Family

ID=17908729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62302422A Expired - Fee Related JP2638009B2 (en) 1987-11-30 1987-11-30 Multiplex transmission method

Country Status (1)

Country Link
JP (1) JP2638009B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4333378A1 (en) * 1992-09-30 1994-03-31 Naldec Kk Multiplex transmission device for data communications - counts number of control nodes which can exchange data with each other, and has control for extending data transfer period when number increases
US5606556A (en) * 1993-12-30 1997-02-25 Mazda Motor Corporation Multiplex transmission system
US5629941A (en) * 1994-02-16 1997-05-13 Mazda Motor Corporation Multiplex transmission system
JP2011203968A (en) * 2010-03-25 2011-10-13 Denso Corp Microcomputer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59210751A (en) * 1983-05-16 1984-11-29 Oki Electric Ind Co Ltd Node failure recovering system of network
JPS6054545A (en) * 1983-09-05 1985-03-29 Honda Motor Co Ltd Multiplex communication device for mobile body
JPS6212230A (en) * 1985-07-09 1987-01-21 Nec Corp Connection restricting information forming system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59210751A (en) * 1983-05-16 1984-11-29 Oki Electric Ind Co Ltd Node failure recovering system of network
JPS6054545A (en) * 1983-09-05 1985-03-29 Honda Motor Co Ltd Multiplex communication device for mobile body
JPS6212230A (en) * 1985-07-09 1987-01-21 Nec Corp Connection restricting information forming system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4333378A1 (en) * 1992-09-30 1994-03-31 Naldec Kk Multiplex transmission device for data communications - counts number of control nodes which can exchange data with each other, and has control for extending data transfer period when number increases
US5606556A (en) * 1993-12-30 1997-02-25 Mazda Motor Corporation Multiplex transmission system
US5629941A (en) * 1994-02-16 1997-05-13 Mazda Motor Corporation Multiplex transmission system
DE19505294B4 (en) * 1994-02-16 2004-09-23 Mazda Motor Corp. Multiplex transmission system
JP2011203968A (en) * 2010-03-25 2011-10-13 Denso Corp Microcomputer

Also Published As

Publication number Publication date
JP2638009B2 (en) 1997-08-06

Similar Documents

Publication Publication Date Title
EP0217571B1 (en) Data transfer communication system
JP2904283B2 (en) Multiplex transmission equipment for vehicles
US4951281A (en) Multiplex transmission system
JP2771556B2 (en) Multiplex transmission equipment for vehicles
JPH0771088B2 (en) Multiplex transmission system
US4939725A (en) Multiplex transmission system
KR100222457B1 (en) Multiplex transmission system
JPH07112201B2 (en) Method and apparatus for assigning addresses to remote terminals in a LAN
KR100336067B1 (en) Multiplex transmission system
JPH01143533A (en) Multiplex transmission system
JP2851003B2 (en) In-vehicle network control device
JPH01143537A (en) Multiplex transmission system
JP2781397B2 (en) Multiplex transmission equipment
JP2001334908A (en) Vehicular occupant protection system
JP3397496B2 (en) Multiplex transmission system
JP2925546B2 (en) Vehicle decentering detection device
JP2773877B2 (en) Multiplex transmission method
JP3182246B2 (en) Multiplex transmission system
JPH01143535A (en) Multiplex transmission system
JPH0722431B2 (en) Multiplex communication system
JPH10187598A (en) Vehicle data transmission system
JPH0771090B2 (en) Multiplex transmission system
JPH0233241A (en) On-vehicle data transmission system
JPH04227352A (en) Multiplex transmission system
JPH05236569A (en) Communication equipment

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees