JPH098832A - Multiplex transmission method - Google Patents
Multiplex transmission methodInfo
- Publication number
- JPH098832A JPH098832A JP15170395A JP15170395A JPH098832A JP H098832 A JPH098832 A JP H098832A JP 15170395 A JP15170395 A JP 15170395A JP 15170395 A JP15170395 A JP 15170395A JP H098832 A JPH098832 A JP H098832A
- Authority
- JP
- Japan
- Prior art keywords
- frame
- data
- transmission
- node
- multiplex 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.)
- Pending
Links
Landscapes
- Small-Scale Networks (AREA)
- Selective Calling Equipment (AREA)
Abstract
(57)【要約】
【目的】 通常のデータ伝送用フレームに送信要求用の
データを格納して、伝送路のトラフィック量を削減す
る。
【構成】 伝送路MBを介してノード1〜5が相互に接
続され、各ノードは自己に接続された負荷SW1〜SW
5等からのデータに基づいて作成された固有データを、
伝送路を介して他のノードにフレーム送信するととも
に、伝送路上のフレームを受信し、受信フレームが自己
宛の場合に受信フレームのデータを予め定められた手順
で処理し、ノードのうちの送信ノードは、受信ノードに
対して自己固有のデータのフレーム送信を要求する多重
伝送方法において、送信ノードは、自己固有のデータ
と、オン状態の送信要求を示す送信要求ビットとを含ん
だフレームを送信し、受信ノードからの固有データの返
送を可能にする。
(57) [Abstract] [Purpose] To store the transmission request data in a normal data transmission frame and reduce the traffic on the transmission path. [Configuration] Nodes 1 to 5 are mutually connected via a transmission line MB, and each node has loads SW1 to SW connected to itself.
Unique data created based on data from 5 etc.
Sends a frame to another node via the transmission path, receives a frame on the transmission path, processes the data of the reception frame according to a predetermined procedure when the reception frame is addressed to itself, and selects the transmission node of the nodes. In the multiplex transmission method for requesting a receiving node to transmit a frame of self-specific data, the transmitting node transmits a frame including self-specific data and a transmission request bit indicating a transmission request in the ON state. , Allows return of unique data from the receiving node.
Description
【0001】[0001]
【産業上の利用分野】本発明は、共通の伝送路に接続さ
れてフレームのデータ伝送を行う多重伝送方法に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiplex transmission method for transmitting frame data by being connected to a common transmission line.
【0002】[0002]
【従来の技術】従来、この種の多重伝送方法を用いたシ
ステムにおいて、多重伝送装置(以下、「ノード」とい
う。)は、ツイストペア電線等からなる伝送路に接続さ
れて多重通信ネットワークを構築しており、伝送方式と
しては、例えばCSMA/CD(Carrier Sense Multiple Acces
s/Collision Detection)伝送方式を用いて、例えば自動
車内のデータの多重伝送を行うローカルエリアネットワ
ーク(LAN)等に使用されている。2. Description of the Related Art Conventionally, in a system using this type of multiplex transmission method, a multiplex transmission device (hereinafter referred to as a "node") is connected to a transmission line composed of a twisted pair electric wire to construct a multiplex communication network. As a transmission method, for example, CSMA / CD (Carrier Sense Multiple Acces
s / Collision Detection) transmission method, for example, it is used in a local area network (LAN) for multiplex transmission of data in an automobile.
【0003】上記ノード30は、図8に示すように、バ
スインターフェース回路31を介して伝送路MBに接続
され、伝送路MB上の他のノード(図示せず)との間で
データをフレーム構成で伝送している。ノード30にお
いて、通信制御回路32は、入力回路34を介して入力
ポート33へ入力されたスイッチSWや図示しないセン
サ等の入力データに基づいてフレームの送信データを生
成し、バスインターフェース回路31を介して伝送路M
Bへ送出する。As shown in FIG. 8, the node 30 is connected to a transmission line MB via a bus interface circuit 31, and frame-structures data with other nodes (not shown) on the transmission line MB. Is being transmitted. In the node 30, the communication control circuit 32 generates frame transmission data based on the input data of the switch SW or a sensor (not shown) input to the input port 33 via the input circuit 34, and via the bus interface circuit 31. Transmission line M
Send to B.
【0004】また、通信制御回路32は、伝送路MBの
フレームをバスインターフェース回路31を介して受信
し、受信フレームにエラーがないかどうかをチェックす
るとともに、識別子ビット列をチェックする等でして、
データを自ノードに接続された負荷(モータM、ランプ
R)に出力すべきフレームかどうかを判断している。そ
して、出力すべきフレームの場合には、通信制御回路3
2は、出力ラッチ35へ上記データを出力し、出力回路
36を介してモータM、ランプR等を駆動していた。ま
た、ノード30では、外部のバッテリから電源が供給さ
れ、電源回路37により内部へ例えば5Vの電源電圧が
供給される。Further, the communication control circuit 32 receives the frame of the transmission path MB via the bus interface circuit 31, checks whether there is an error in the received frame, checks the identifier bit string, and so on.
It is determined whether the frame should output data to the load (motor M, lamp R) connected to its own node. Then, in the case of a frame to be output, the communication control circuit 3
2 outputs the above data to the output latch 35 and drives the motor M, the lamp R and the like via the output circuit 36. Further, at the node 30, power is supplied from an external battery, and the power circuit 37 supplies a power voltage of, for example, 5 V to the inside.
【0005】上記多重伝送システムでは、例えば電源が
投入された直後等のシステム立ち上がり時に、自ノード
が制御している負荷が初期状態としてどのような状態に
あるかを知る必要があった。そこで、各ノードは、自ノ
ードが必要とするデータを他のノードから受け取るため
にデータ要求用フレームを送信する。そして、上記デー
タ要求用フレームを受信したノードが、送信元のノード
にフレームを返送することにより、初期状態を確定して
いた。In the above-mentioned multiplex transmission system, for example, when the system is started immediately after the power is turned on, it is necessary to know what kind of state the load controlled by the own node is in the initial state. Therefore, each node transmits a data request frame in order to receive the data required by the own node from other nodes. Then, the node that receives the data request frame returns the frame to the node that is the transmission source, and the initial state has been fixed.
【0006】このような伝送方式の一つには、例えば上
記データ要求を行うノードが自ノードの要求するデータ
に対応した識別子ビット列を含んで構成されたデータ要
求用フレームを送信することにより、他ノードからのデ
ータを要求するものがある。上記データ要求用フレーム
を受信したノードは、受信フレームの識別子ビット列を
チェックして、上記識別子ビット列に対応したデータビ
ット列をフレーム構成にして返送していた。[0006] One of such transmission methods is, for example, that the node making the data request transmits a data request frame including an identifier bit string corresponding to the data requested by the own node. Some request data from a node. The node receiving the data request frame checks the identifier bit string of the received frame and returns the data bit string corresponding to the identifier bit string in a frame structure.
【0007】なお、データ要求を行うノードは、自ノー
ドが要求するデータに対応した識別子でデータ要求用フ
レームを送信するため、データ要求用フレームと通常の
データ伝送用フレームの構成を同じにした場合には、自
ノードのデータ要求用フレームであるのか、他ノードか
らの返送フレームであるのかが区別できないので、例え
ばデータ要求用フレームにはデータビット列を含まない
ようにする等、通常のデータ伝送用フレームと構成を変
える必要があった。Since the data requesting node transmits the data requesting frame with the identifier corresponding to the data requested by the node, if the data requesting frame and the normal data transmitting frame have the same structure. Cannot distinguish between the data request frame of its own node and the return frame from another node.For example, the data request frame does not include a data bit string, so it can be used for normal data transmission. I had to change the frame and composition.
【0008】[0008]
【発明が解決しようとする課題】ところが、上記多重伝
送方法では、他ノードからのデータが必要となった時に
は、通常のフレームとは異なるデータ要求用フレームを
送信しなければならないので、システム立ち上がり時に
は、伝送路のトラフィック量が増大するという問題点が
あった。However, in the above-mentioned multiplex transmission method, when data from another node is needed, a data request frame different from a normal frame must be transmitted. However, there is a problem that the amount of traffic on the transmission line increases.
【0009】本発明は、上記問題点に鑑みなされたもの
で、通常のデータ伝送用フレームに送信要求用のデータ
を格納して、伝送路のトラフィック量を削減することが
できる多重伝送方法を提供することを目的とする。The present invention has been made in view of the above problems, and provides a multiplex transmission method capable of reducing transmission traffic by storing transmission request data in a normal data transmission frame. The purpose is to do.
【0010】[0010]
【課題を解決するための手段】上記目的を達成するため
に、本発明では、伝送路を介して複数のノードが相互に
接続され、該各ノードは例えばノードの入力ポートに接
続された負荷(スイッチやセンサ等)からのデータやこ
のデータに基づいて作成された自己に固有のデータを、
前記伝送路を介して他の少なくとも一つの多重ノードに
フレーム構成で送信するとともに、前記伝送路上のフレ
ームを受信し、該受信フレームが自己宛の場合に該受信
フレームのデータを予め定められた手順で処理し、前記
ノードのうちの第1のノード(送信ノード)は他の第2
のノード(受信ノード)に自己固有のデータを含んだフ
レーム送信を要求する多重伝送方法において、前記送信
ノードは、システムの立ち上がり時に前記受信ノードに
対して受信ノード固有のデータの送信要求を行う際に、
前記自己固有のデータと、前記送信要求を示すデータと
を少なくとも含んだフレームを送信し、前記受信ノード
は、自己宛のフレームを受信すると、該フレームの送信
要求を示すデータの内容に応じて、自己固有のデータを
フレーム送信する。In order to achieve the above object, according to the present invention, a plurality of nodes are connected to each other via a transmission line, and each node is connected to, for example, a load connected to an input port of the node ( Data such as switches and sensors) and unique data created based on this data,
A predetermined procedure of transmitting a frame on the transmission line to the other at least one multiplex node via the transmission line, receiving the frame on the transmission line, and if the received frame is addressed to itself, sets the data of the received frame in advance. The first node (sending node) of the nodes is
In the multiplex transmission method for requesting the node (reception node) to transmit a frame containing self-specific data, the transmission node requests the reception node to transmit data unique to the reception node at the time of system startup. To
Transmitting a frame including at least the self-specific data and data indicating the transmission request, the receiving node, when receiving a frame addressed to itself, according to the content of the data indicating the transmission request of the frame, Frame transmission of self-specific data.
【0011】請求項6では、前記送信要求を示すデータ
は、前記送信フレームを構成する領域のうち、例えば識
別子やコントロールデータ領域等の所定領域の全部又は
一部のビット領域に格納されて送信される。According to a sixth aspect of the present invention, the data indicating the transmission request is transmitted by being stored in all or a part of a bit area of a predetermined area such as an identifier or a control data area among the areas forming the transmission frame. It
【0012】[0012]
【作用】送信ノードは、システムの立ち上がり時に、自
己固有のデータと、オン状態の送信要求を示すデータ
(送信要求ビット)とを含んだフレームを送信し、受信
ノードからの固有のデータの返送を可能にすることによ
り、他ノードへのデータ送信とともに、自ノードのデー
タ取得が可能になる。When the system starts, the transmitting node transmits a frame containing its own unique data and data indicating a transmission request in the ON state (transmission request bit), and returns the unique data from the receiving node. By enabling this, it becomes possible to transmit data to another node and acquire the data of the own node.
【0013】請求項6では、送信要求ビットを従来から
設けられている識別子やコントロールデータ領域内に格
納し、フレーム長の増加を防止する。According to the present invention, the transmission request bit is stored in a conventionally provided identifier or control data area to prevent an increase in frame length.
【0014】[0014]
【実施例】本発明に係る実施例を図1乃至図7の図面に
基づき説明する。図1は、本発明に係る多重伝送方法を
用いたシステムの構成の一例を示す構成図である。図1
を参照すると、多重伝送システムは、複数のノード1〜
5と、各ノード1〜5が接続される伝送路MBとから構
成されている。これらノードは、後述するバスインター
フェース回路を介して伝送路MBに接続され、この伝送
路MB上の他のノードとの間で、フレーム構成のデータ
を伝送している。なお、本発明に係る多重伝送システム
において、伝送路のトポロジーは、バス型、リング型、
又はスター型等のどのようなものでも応用可能である。Embodiments of the present invention will be described with reference to the drawings of FIGS. FIG. 1 is a configuration diagram showing an example of the configuration of a system using the multiplex transmission method according to the present invention. FIG.
With reference to FIG.
5 and a transmission line MB to which the nodes 1 to 5 are connected. These nodes are connected to a transmission line MB via a bus interface circuit described later, and transmit frame structure data to other nodes on this transmission line MB. In the multiplex transmission system according to the present invention, the topology of the transmission line is a bus type, a ring type,
Alternatively, any type such as a star type can be applied.
【0015】本発明に係る多重伝送システムの具体的な
ものとしては、例えば自動車内の電気系統の制御に用い
られ、スイッチ、センサ及びアクチュエータがそれぞれ
の配置場所からハーネス(自動車内の電線)を介して適
切なノードに接続されて構成されるものがある。すなわ
ち、インストルメントパネル(以下、「インパネ」とい
う。)ノード1は、メータ類ME1の近隣に配設され、
例えばエンジンノード4からの車速センサS1からのデ
ータによりメータME1を駆動し、ドアノード5からの
ドアスイッチSW1のオン/オフ信号により、このメー
タME1内のインジケータランプを点灯させている。ま
た、このインパネノード1には、パワーウインドウモー
タM1を駆動するためのパワーウインドウスイッチSW
2が接続されている。As a concrete example of the multiplex transmission system according to the present invention, it is used, for example, for controlling an electric system in an automobile, and a switch, a sensor and an actuator are arranged from their respective locations via a harness (electric wire in the automobile). Connected to the appropriate node and configured. That is, the instrument panel (hereinafter, referred to as “instrument panel”) node 1 is arranged in the vicinity of the meters ME1.
For example, the meter ME1 is driven by the data from the vehicle speed sensor S1 from the engine node 4, and the ON / OFF signal of the door switch SW1 from the door node 5 lights the indicator lamp in the meter ME1. Further, the instrument panel node 1 has a power window switch SW for driving the power window motor M1.
2 is connected.
【0016】フロントノード2は、車両の前面に配設さ
れ、カウルノード3からのヘッドランプスイッチSW
3、ターンシグナルスイッチSW4のオン/オフ信号に
より、車両前面のヘッドランプR1、ターンシグナルラ
ンプR2を駆動している。カウルノード3は、カウル部
の近隣に配設され、ヘッドランプスイッチSW3、ター
ンシグナルスイッチSW4及びドアロックモータM2を
駆動させるためのドアロックスイッチSW5が接続され
ている。The front node 2 is arranged on the front surface of the vehicle and has a headlamp switch SW from the cowl node 3.
3. The headlight R1 and the turn signal lamp R2 on the front of the vehicle are driven by the ON / OFF signal of the turn signal switch SW4. The cowl node 3 is arranged in the vicinity of the cowl portion, and is connected to a headlamp switch SW3, a turn signal switch SW4, and a door lock switch SW5 for driving the door lock motor M2.
【0017】エンジンノード4は、エンジンの近隣に配
設され、車速センサS1が接続されてエンジン・トラン
スミッションの制御を行っている。この制御は、車速セ
ンサS1等のデータに基づいてノード内のマイコンが行
っている。また、エンジンノード4は、車速センサS1
のデータをコード化して、インパネノード1に送信する
等、センサのデータを各ノードと伝送している。The engine node 4 is arranged in the vicinity of the engine and is connected to a vehicle speed sensor S1 to control the engine / transmission. This control is performed by the microcomputer in the node based on the data of the vehicle speed sensor S1 and the like. Further, the engine node 4 has a vehicle speed sensor S1.
The data of the sensor is transmitted to each node, such as by encoding the data of (1) and transmitting it to the instrument panel node 1.
【0018】ドアノード5は、ドアの近隣に配設され、
ドアスイッチSW1、パワーウインドウモータM1及び
ドアロックモータM2が接続されている。このドアスイ
ッチSW1は、ドアが開いている時にオンになり、この
オン信号は、ドアノード5からインパネノード1内のイ
ンジケータランプを点灯させる信号として送信される。
また、ドアノード5は、インパネノード1からのパワー
ウインドウスイッチSW2のオン/オフ信号により、パ
ワーウインドウモータM1が駆動され、ウインドウの上
げ下げを行う。また、ドアノード5は、カウルノード3
からのドアロックスイッチSW5のオン/オフ信号によ
り、ドアロックモータM2が駆動され、ドアがロック・
ロック解除される。The door node 5 is arranged near the door,
The door switch SW1, the power window motor M1 and the door lock motor M2 are connected. The door switch SW1 is turned on when the door is open, and this on signal is transmitted from the door node 5 as a signal for lighting the indicator lamp in the instrument panel node 1.
Further, in the door node 5, the power window motor M1 is driven by the ON / OFF signal of the power window switch SW2 from the instrument panel node 1 to raise and lower the window. Further, the door node 5 is the cowl node 3
Door lock motor M2 is driven by the ON / OFF signal of door lock switch SW5 from
Lock is released.
【0019】上述した多重伝送システムでは、通常一つ
のノードに物理アドレスが、一対一で対応しており、こ
の実施例では、このアドレスを4ビットのデータ(A
3,A2,A1,A0)で割り付けており、例えばイン
パネノード1には、アドレス0(0000)、フロント
ノード2には、アドレス4(0100)、カウルノード
3には、アドレス8(1000)、エンジンノード4に
は、アドレス12(1100)、ドアノード5には、ア
ドレス15(1111)を割り付けるものとする。な
お、アドレスの割り付けは、この実施例のものに限ら
ず、システムとして最適に割り付けられれば、他のもの
でも設定可能である。In the above-mentioned multiplex transmission system, a physical address usually corresponds to one node on a one-to-one basis. In this embodiment, this address corresponds to 4-bit data (A
3, A2, A1, A0). For example, the instrument panel node 1 has an address 0 (0000), the front node 2 has an address 4 (0100), and the cowl node 3 has an address 8 (1000). Address 12 (1100) is assigned to the engine node 4, and address 15 (1111) is assigned to the door node 5. The address allocation is not limited to that of this embodiment, and other addresses can be set as long as they are optimally allocated as a system.
【0020】図2は、この伝送路MBを介してノード間
で伝送されるデータフレームのフォーマットの一例を示
す図である。図2を参照すると、このデータフレーム
は、フレームの始まりを示すSOF(Start Of Frame)
と、複数のノードが同時に伝送路MBにデータを送信し
た時に、その優先順位を決定するプライオリティ(PR
I)と、後に続く各データ(DATA)の内容を示す識別子
(ID)と、データ長を示すデータが含まれるコントロ
ールデータ領域(CONT)と、CONTで示される長
さ(可変長)のデータ領域である例えば各8ビット毎の
DATA1〜DATA4と、エラーチェックコードのC
RCと、データの終了を示すEOD(EndOf Data )
と、全てのノードからビット対応で受信確認信号(以
下、「ACK信号」という。)を返送させるための例え
ば24ビットのACK信号領域と、登録された全ノード
からACK信号が返送されてデータ伝送が終了したこと
を示す1ビットのACK確定ビット領域と、フレームの
終了を示すEOF(End Of Frame)とから構成されてい
る。FIG. 2 is a diagram showing an example of a format of a data frame transmitted between nodes via the transmission path MB. Referring to FIG. 2, this data frame is an SOF (Start Of Frame) indicating the beginning of the frame.
When a plurality of nodes simultaneously send data to the transmission path MB, the priority (PR
I), an identifier (ID) indicating the content of each subsequent data (DATA), a control data area (CONT) including data indicating the data length, and a data area having a length (variable length) indicated by CONT For example, DATA1 to DATA4 for each 8 bits and C of the error check code
RC and EOD (End Of Data) indicating the end of data
And, for example, a 24-bit ACK signal area for returning a reception confirmation signal (hereinafter referred to as “ACK signal”) from all nodes corresponding to bits, and an ACK signal is returned from all the registered nodes for data transmission. Is composed of a 1-bit ACK confirmation bit area indicating the end of the frame and an EOF (End Of Frame) indicating the end of the frame.
【0021】このようなノードには、以下の図3及び図
5に示す2種類の構成のものが考えられる。図3を参照
すると、第1の実施例のノード10は、データの入出力
制御機能をハードウェアで実現し、マイクロコンヒュー
タ(マイコン)を不要としたものである。このノード1
0は、バスインターフェース回路11、通信制御回路1
2、入力回路13、入力ポート14、出力回路15、出
力ポート16、ポート制御部17、送信データを格納す
る送信バッファメモリ(以下、「送信バッファ」とい
う。)18、受信したデータを格納する受信バッファ1
9とから構成されている。As such a node, two types of configurations shown in FIGS. 3 and 5 below can be considered. Referring to FIG. 3, the node 10 of the first embodiment realizes a data input / output control function by hardware and does not require a micro computer. This node 1
0 is a bus interface circuit 11 and a communication control circuit 1
2, an input circuit 13, an input port 14, an output circuit 15, an output port 16, a port control unit 17, a transmission buffer memory (hereinafter, referred to as "transmission buffer") 18 for storing transmission data, a reception for storing received data Buffer 1
It is composed of 9 and 9.
【0022】入力回路13は、負荷である例えば各種ス
イッチSWや図示しないセンサ等からの入力信号を、パ
ラレル信号として取り込んで、入力ポート14に出力し
ている。ポート制御部17は、入力ポート14に入力さ
れる各種入力信号が示す値を監視しており、この値の一
部又は全部が変化すると、この入力信号の値を通信制御
回路12に送る。通信制御回路12は、この入力信号の
値を入力データとして送信バッファ18に格納し、その
データに基づくフレームを生成して、バスインターフェ
ース回路11を介して伝送路MBに送信する。なお、こ
こでは、入力ポート14は、8ビットづつの入力ポート
Aと入力ポートBの16ビット構成とする。また、上述
した場合に、例えば入力ポートの接続端子が、入力回路
を介して接続される負荷の数より多くて余ってしまう時
がある。このような時には、余った入力ポートの接続端
子をグランド又は電源接続させているが、本実施例にお
いては、この余った入力ポートの接続端子からの入力信
号も、負荷からの入力信号として取り込むものとする。The input circuit 13 takes in input signals from loads such as various switches SW and sensors (not shown) as parallel signals and outputs them to the input port 14. The port control unit 17 monitors the value indicated by various input signals input to the input port 14, and sends a value of this input signal to the communication control circuit 12 when a part or all of this value changes. The communication control circuit 12 stores the value of the input signal as input data in the transmission buffer 18, generates a frame based on the data, and transmits the frame to the transmission path MB via the bus interface circuit 11. In this case, the input port 14 has a 16-bit configuration of an input port A and an input port B each having 8 bits. Further, in the above case, the number of connection terminals of the input port may be larger than the number of loads connected via the input circuit and may be left over. In such a case, the connection terminals of the surplus input ports are connected to the ground or the power source, but in the present embodiment, the input signals from the connection terminals of the surplus input ports are also taken in as the input signals from the load. And
【0023】このように生成される具体的な送信フレー
ムでは、図4(a)に示すように、入力ポート14の各ビ
ットを、送信フレームのデータ領域の各ビットと一対一
で対応させている。すなわち、この例では、入力ポート
Aのビット7〜0の各ビットがDATA3のビット7〜
0に、入力ポートBのビット7〜0の各ビットがDAT
A4のビット7〜0にそれぞれ対応している。In the concrete transmission frame generated in this way, as shown in FIG. 4A, each bit of the input port 14 is made to correspond one-to-one with each bit of the data area of the transmission frame. . That is, in this example, bits 7 to 0 of the input port A are bits 7 to 7 of DATA3.
0, each of bits 7 to 0 of input port B is DAT
It corresponds to bits 7 to 0 of A4, respectively.
【0024】また、通信制御回路12は、伝送路MB上
の信号をバスインターフェース回路11を介して受信す
る。そして、スタートビットを検出することで受信フレ
ームが伝送路に送信されていることを認識し、このデー
タを一旦受信バッファ19に格納させる。受信フレーム
を認識すると、通信制御回路12は、CONT及びID
により受信フレームが自ノードに必要なものであるか否
か判断する。ここで、この受信フレームが自ノードに必
要なもので、受信をエラーなく完了した場合には、受信
バッファ19に取り込まれたデータをポート制御回路1
7に送る。The communication control circuit 12 also receives the signal on the transmission line MB via the bus interface circuit 11. Then, by detecting the start bit, it is recognized that the received frame is transmitted to the transmission path, and this data is temporarily stored in the reception buffer 19. Upon recognizing the received frame, the communication control circuit 12 causes the CONT and ID
Determines whether the received frame is necessary for the node itself. Here, if this reception frame is necessary for the own node and reception is completed without error, the data fetched in the reception buffer 19 is transferred to the port control circuit 1.
Send to 7.
【0025】ポート制御回路17は、このデータをそれ
ぞれ対応した出力ポート16へ出力し、出力回路15を
介して所望の負荷、例えばモータM、ランプR等に出力
し、この負荷を駆動させる。なお、ここで、出力ポート
16は、8ビットづつの出力ポートAと出力ポートBの
16ビット構成とする。このように受信される具体的な
受信フレームでは、図4(b)に示すように、出力ポート
16の各ビットを、受信フレームのデータ領域の各ビッ
トと一対一で対応させている。すなわち、この例では、
出力ポートAのビット7〜0の各ビットがDATA3の
ビット7〜0に、出力ポートBのビット7〜0の各ビッ
トがDATA4のビット7〜0にそれぞれ対応してい
る。The port control circuit 17 outputs this data to the corresponding output port 16 and outputs it to a desired load such as the motor M and the lamp R via the output circuit 15 to drive this load. Here, the output port 16 has a 16-bit configuration of the output port A and the output port B each having 8 bits. In the specific received frame thus received, as shown in FIG. 4B, each bit of the output port 16 is made to correspond one-to-one with each bit of the data area of the received frame. That is, in this example,
Bits 7 to 0 of the output port A correspond to bits 7 to 0 of DATA3, and bits 7 to 0 of the output port B correspond to bits 7 to 0 of DATA4.
【0026】このノード10では、通信制御回路12、
入力ポート14、出力ポート16及びポート制御回路1
7は、一つの通信ICで構成されたものを例にしてい
る。このノード10は、通信制御のためのマイコンを持
たないノード(以下、「I/Oノード」という。)なの
で、送信フレーム及び受信フレームは、アドレス設定用
入力端子等から入力する値を読み込んで、簡単に生成で
きるものが望ましい。具体的には、プライオリティは、
アドレス設定用入力端子の値により決定し、送信フレー
ム、受信フレームのIDも各ノードの物理アドレス等で
決定し、専用の設定端子を設けないことで、端子数を減
らし、通信制御回路12の規模を小さくしている。In this node 10, the communication control circuit 12,
Input port 14, output port 16 and port control circuit 1
7 is an example in which it is composed of one communication IC. Since this node 10 does not have a microcomputer for communication control (hereinafter referred to as "I / O node"), the transmission frame and the reception frame read the value input from the address setting input terminal or the like, Those that can be easily generated are desirable. Specifically, the priority is
It is determined by the value of the input terminal for address setting, the IDs of the transmission frame and the reception frame are also determined by the physical address of each node, etc., and the number of terminals is reduced by not providing a dedicated setting terminal, and the scale of the communication control circuit 12 is reduced. Is small.
【0027】また、送信フレームのIDと受信フレーム
のIDを同じにすると、自ノードの送信フレームと他ノ
ードの送信フレームとの区別がつかない。このため、自
ノードの送信データを受信して負荷を駆動してしまうこ
とが考えられるので、例えばIDの最終ビットの論理値
を変える等を行い、送信時にフレームに挿入するID
と、受信すべきデータであることを判断するIDを異な
るものとしている。If the ID of the transmission frame and the ID of the reception frame are the same, the transmission frame of its own node and the transmission frame of another node cannot be distinguished. For this reason, it is conceivable that the transmission data of the own node will be received and the load will be driven. Therefore, for example, the logical value of the last bit of the ID is changed and the like
And different IDs for determining that the data should be received.
【0028】つまり、図4を参照すると、フレームのI
Dは、8ビットのデータであり、IDの0ビット目を、
図4(a)の送信フレームでは論理“0”、図4(b)の受信
フレームでは論理“1”に設定している。また、IDの
4〜1ビット目に、それぞれアドレス値のA3,A2,
A1,A0が対応している。IDの7〜5ビット目は、
例えば全て論理“1”に固定して、I/Oノードの送受
信フレームであることを区別するようなものが考えられ
る。That is, referring to FIG.
D is 8-bit data, and the 0th bit of ID is
The transmission frame of FIG. 4 (a) is set to logic "0", and the reception frame of FIG. 4 (b) is set to logic "1". Further, in the 4th to 1st bits of the ID, the address values A3, A2, and
A1 and A0 correspond. The 7th to 5th bits of ID are
For example, it is conceivable that all are fixed to logic "1" to distinguish between transmission / reception frames of I / O nodes.
【0029】I/Oノードは、マイコンを持たないの
で、メータ等の複雑な制御を行うノードではなく、スイ
ッチのオン/オフデータの入力やランプを点灯させるた
めの信号出力等の制御機能が不要な入出力専用のノード
として使用することが適している。図1においては、フ
ロントノード2、エンジンノード4が、このI/Oノー
ドに該当する。Since the I / O node does not have a microcomputer, it is not a node for performing complicated control of a meter or the like, and does not require control functions such as input of switch on / off data and signal output for lighting a lamp. It is suitable to use as a node dedicated to various input / output. In FIG. 1, the front node 2 and the engine node 4 correspond to this I / O node.
【0030】図5を参照すると、第2の実施例のノード
20は、バスインターフェース回路21、通信制御回路
22、入力回路23、入力ポート24、出力回路25、
出力ポート26、CPUコア27、送信バッファ28、
受信バッファ29とから構成されている。このノード2
0では、通信制御回路22、入力ポート24、出力ポー
ト26及びCPUコア27は、一つの通信ICで構成さ
れている。Referring to FIG. 5, the node 20 of the second embodiment includes a bus interface circuit 21, a communication control circuit 22, an input circuit 23, an input port 24, an output circuit 25,
Output port 26, CPU core 27, transmission buffer 28,
It is composed of a reception buffer 29. This node 2
In 0, the communication control circuit 22, the input port 24, the output port 26, and the CPU core 27 are configured by one communication IC.
【0031】CPUコア27は、入力ポート24を介し
てスイッチSWの信号を読み込み、通信制御回路22へ
データとして送出している。そして、CPUコア27か
ら送信開始信号が入力すると、通信制御回路22は、こ
のデータをフレーム形式で、バスインターフェース回路
21に送出している。また、通信制御回路22は、伝送
路MBからバスインターフェース回路21を介してフレ
ームを受信すると、そのフレーム内のデータを受信バッ
ファ29に格納させて、CPUコア27へフレーム受信
したことを報知する。この報知を受けたCPUコア27
は、受信バッファ29に格納されたデータを取り込み、
フレーム内のCONT及びIDにより、このフレームが
自ノードに必要なものであるかどうか判断する。ここ
で、CPUコア27は、自ノードに必要なフレームの受
信をエラーなく完了した場合には、受信データに従っ
て、出力回路25に接続された負荷の制御を行ってい
る。The CPU core 27 reads the signal of the switch SW via the input port 24 and sends it to the communication control circuit 22 as data. Then, when a transmission start signal is input from the CPU core 27, the communication control circuit 22 sends this data to the bus interface circuit 21 in a frame format. When the communication control circuit 22 receives a frame from the transmission path MB via the bus interface circuit 21, the communication control circuit 22 stores the data in the frame in the reception buffer 29 and notifies the CPU core 27 that the frame has been received. CPU core 27 that received this notification
Captures the data stored in the receive buffer 29,
Based on the CONT and ID in the frame, it is determined whether or not this frame is necessary for the own node. Here, the CPU core 27 controls the load connected to the output circuit 25 according to the received data when the reception of the frame necessary for the own node is completed without error.
【0032】このようなマイコンにより通信制御を行う
ノード(以下、「Basicノード」という。)20では、
自ノードの送信フレーム又は受信フレームに対応するI
Dを、ノード立ち上がり時等に初期設定としてマイコン
のRAM等に専用の記憶領域を設けて記憶させておくこ
とが可能である。これにより、Basicノード20は、複
数のフレーム、すなわち異なったIDのフレームで通信
が可能となり、送受信の信号数を多くでき、複数のメー
タ等を制御する制御機能が必要となるノードに使用する
ことが適している。図1においては、インパネノード
1、カウルノード3及びドアノード5が、このBasicノ
ードに該当する。In the node (hereinafter, referred to as "Basic node") 20 which controls communication by such a microcomputer,
I corresponding to the transmission frame or the reception frame of its own node
It is possible to store D by providing a dedicated storage area in the RAM or the like of the microcomputer as an initial setting when the node rises. As a result, the Basic node 20 can communicate in a plurality of frames, that is, frames with different IDs, can increase the number of signals to be transmitted and received, and can be used for a node that needs a control function for controlling a plurality of meters or the like. Is suitable. In FIG. 1, the instrument panel node 1, the cowl node 3 and the door node 5 correspond to this Basic node.
【0033】次に、図1に示した多重伝送システムにお
ける送受信フレームの具体例を図6に示す。なお、この
多重伝送システムでは、上述したごとくインパネノード
1、カウルノード3及びドアノード5を、図5に示した
構成のBasicノードとし、フロントノード2、エンジン
ノード4を、図3に示した構成のI/Oノードとする。Next, FIG. 6 shows a concrete example of a transmission / reception frame in the multiplex transmission system shown in FIG. In this multiplex transmission system, as described above, the instrument panel node 1, cowl node 3 and door node 5 are the basic nodes having the configuration shown in FIG. 5, and the front node 2 and the engine node 4 are those having the configuration shown in FIG. I / O node.
【0034】エンジンノード4では、エンジン・トラン
スミッションの複雑な制御を行うが、このような制御は
専用のマイコンで行うことがある。その場合には、図3
に示した入力回路13及び出力回路15の代わりに、マ
イコンを負荷と通信ICの間に接続させた入出力制御用
のI/Oノードとして構成が可能である。詳しく説明す
ると、このI/Oノードは、入力ポートの変化に応じて
フレーム送信する通信制御回路により構成されているた
め、空いている入力ポートをマイコンの出力ポートに接
続し、フレームを送信する場合には、マイコンが自己の
出力ポートを変化させることにより、フレーム送信を可
能にする。この場合、マイコンは、入力ポート14の入
力ポート値を任意に変化させることができるので、デー
タの送信間隔は、自由に設定可能である。なお、このI
/Oノードにおいて、車速センサS1のデータは、車速
センサS1から出力されるパルスの周期をマイコンが計
算し、その値をここでは4ビットのデータにコード化し
て通信ICの入力ポート14へ入力させて送信するもの
を例にする。また、I/Oノードの出力ポートをマイコ
ンの入力ポートに接続し、通信制御回路が伝送路から受
信したデータを出力すると、マイコンはそのデータに基
づいてエンジン・トランスミッションの制御を行う。Although the engine node 4 performs complicated control of the engine and transmission, such control may be performed by a dedicated microcomputer. In that case,
Instead of the input circuit 13 and the output circuit 15 shown in (1), it is possible to configure an I / O node for input / output control by connecting a microcomputer between the load and the communication IC. More specifically, since this I / O node is composed of a communication control circuit that transmits a frame in response to a change in the input port, when a vacant input port is connected to the output port of the microcomputer and a frame is transmitted. To enable frame transmission, the microcomputer changes its output port. In this case, since the microcomputer can arbitrarily change the input port value of the input port 14, the data transmission interval can be freely set. Note that this I
In the / O node, the data of the vehicle speed sensor S1 is calculated by the microcomputer as the period of the pulse output from the vehicle speed sensor S1, and the value is coded into 4-bit data here and input to the input port 14 of the communication IC. For example, the one to be transmitted is described below. Also, when the output port of the I / O node is connected to the input port of the microcomputer and the communication control circuit outputs the data received from the transmission path, the microcomputer controls the engine transmission based on the data.
【0035】図6を参照すると、(a)は、カウルノード
3がフロントノード2に送信するフレームで、DATA
3の第6ビット目にヘッドランプスイッチSW3のデー
タ、第5ビット目にターンシグナルスイッチSW4のデ
ータを対応させている。このフレームは、I/Oノード
であるフロントノード2の受信フレームであるので、図
4で説明したように、IDは、“11101001”と
なる。Referring to FIG. 6, (a) is a frame transmitted from the cowl node 3 to the front node 2 by DATA.
The 6th bit of 3 corresponds to the data of the headlamp switch SW3, and the 5th bit corresponds to the data of the turn signal switch SW4. Since this frame is a reception frame of the front node 2 which is an I / O node, the ID is "11101001" as described with reference to FIG.
【0036】図6(b)は、エンジンノード4がインパネ
ノード1に送信するフレームで、DATA3の第6ビッ
ト目から第3ビット目までの4ビットにコード化された
車速センサS1のデータを対応させている。この車速セ
ンサS1の信号は、メータME1を駆動させるための信
号であり、車速は、連続した信号であるので、頻繁に例
えば数100ms間隔でサイクリック送信される必要が
ある。このフレームは、I/Oノードであるエンジンノ
ード4の送信フレームであるので、図4に説明したよう
に、IDは“11111000”となる。FIG. 6 (b) is a frame transmitted from the engine node 4 to the instrument panel node 1, and corresponds to the data of the vehicle speed sensor S1 encoded in 4 bits from the 6th bit to the 3rd bit of DATA3. I am letting you. The signal of the vehicle speed sensor S1 is a signal for driving the meter ME1, and the vehicle speed is a continuous signal, and therefore needs to be frequently transmitted cyclically at intervals of, for example, several 100 ms. Since this frame is a transmission frame of the engine node 4 which is an I / O node, the ID is "11111000" as described with reference to FIG.
【0037】図6(c)は、カウルノード3がエンジンノ
ード4に送信するフレームで、DATA3の第6ビット
目にヘッドランプスイッチSW3のデータを対応させて
いる。このフレームは、I/Oノードであるエンジンノ
ード4の受信フレームであるので、図4で説明したよう
に、IDは“11111001”となる。図6(d)は、
カウルノード3がドアノード5に送信するフレームで、
DATA3の第7ビット目にドアロックスイッチSW5
のデータを対応させている。このフレームは、Basicノ
ード間の送受信フレームであるが、ここではIDに受信
ノードであるドアノード5のアドレス値を挿入して、
“00011111”としている。ドアノード5では、
このIDのフレームは、自ノードに必要なフレームなの
で、予めマイコンのRAMにこのIDを記憶させてい
る。FIG. 6 (c) is a frame transmitted from the cowl node 3 to the engine node 4, and the data of the headlamp switch SW3 is associated with the sixth bit of DATA3. Since this frame is a received frame of the engine node 4 which is an I / O node, the ID is "11111001" as described with reference to FIG. Figure 6 (d) shows
In the frame that the cowl node 3 transmits to the door node 5,
Door lock switch SW5 at the 7th bit of DATA3
Corresponding to the data of. This frame is a transmission / reception frame between Basic nodes, but here, insert the address value of the door node 5 which is the receiving node into the ID,
It is set to "00011111". In the anode 5,
Since the frame of this ID is a frame necessary for its own node, this ID is stored in the RAM of the microcomputer in advance.
【0038】図6(e)は、インパネノード1がドアノー
ド5に送信するフレームで、DATA3の第6ビット目
にパワーウインドウスイッチSW2のデータを対応させ
ている。このパワーウインドウスイッチSW2のデータ
は、ドアロックスイッチSW5のデータと同様に、ドア
制御系の信号であるので、このフレームのIDは、図6
(d)のフレームと同様“00011111”としてい
る。FIG. 6 (e) is a frame transmitted from the instrument panel node 1 to the door node 5, and the data of the power window switch SW2 is associated with the sixth bit of DATA3. Since the data of the power window switch SW2 is a signal of the door control system like the data of the door lock switch SW5, the ID of this frame is shown in FIG.
As in the frame of (d), "00011111" is set.
【0039】なお、インパネノード1とカウルノード3
は、同じIDのフレームを送信するため、このフレーム
では、DATA1に、データの有効・無効を示す有効・
無効ビット機能(以下、「V/I」という。)を導入し
ている。このV/Iは、DATA3の各ビットにDAT
A1の各ビットを対応させている。すなわち、このV/
Iでは、DATA3の制御に必要なビットに対応したD
ATA1のビットの論理値を“0”とし、DATA3の
制御に無関係なビットに対応したDATA1のビットの
論理値を“1”として、受信ノードでフレームのどのデ
ータビットが制御用であるかを判断できるようにしたも
のである。The instrument panel node 1 and the cowl node 3
Transmits a frame with the same ID, therefore, in this frame, DATA1 indicates valid / invalid indicating that data is valid / invalid.
An invalid bit function (hereinafter referred to as "V / I") is introduced. This V / I is DAT for each bit of DATA3.
Each bit of A1 is made to correspond. That is, this V /
For I, D corresponding to the bits required for DATA3 control
The logical value of the bit of ATA1 is set to “0”, and the logical value of the bit of DATA1 corresponding to the bit unrelated to the control of DATA3 is set to “1” to determine which data bit of the frame is for control at the receiving node. It was made possible.
【0040】図6(d)のフレームでは、第7ビット目
は、制御に必要なデータであるが、第6ビット目は、無
関係なデータであるので、DATA1の第7ビット目を
論理“0”、第6ビット目を論理“1”としている。ま
た、図6(e)のフレームでは、第6ビット目は、制御に
必要なデータであるが、第7ビット目は、無関係なデー
タであるので、DATA1の第7ビット目を論理
“1”、第6ビット目を論理“0”としている。In the frame of FIG. 6 (d), the 7th bit is data necessary for control, but the 6th bit is irrelevant data. Therefore, the 7th bit of DATA1 is set to logic "0". , And the sixth bit is a logic "1". In the frame of FIG. 6 (e), the 6th bit is data necessary for control, but the 7th bit is irrelevant data. Therefore, the 7th bit of DATA1 is set to logic "1". , The 6th bit is set to logic "0".
【0041】このV/Iを導入しない場合には、例えば
インパネノード1がパワーウインドウスイッチSW2の
オン信号を送信して、ウインドウを開いている時に、カ
ウルノード3がドアロックスイッチSW5のオフ信号を
送信することが考えられる。この場合、カウルノード3
は、パワーウインドウスイッチSW2のデータを持たな
いため、図6(d)のフレームにおけるDATA3の第6
ビット目のデータは、正しい値で送信されているとは限
らない。にもかかわらず、ドアノード5は、このカウル
ノード3の送信フレームのIDも、受信ノードである自
ノードを示すIDであるため、この送信フレームに基づ
いて制御を行う。そのため、この開いているウインドウ
が閉じられてしまうことが発生しうる。そこで、これら
の信号に対して異なるIDを割り付ける必要が生じる。If this V / I is not introduced, for example, the instrument panel node 1 transmits the ON signal of the power window switch SW2, and the cowl node 3 transmits the OFF signal of the door lock switch SW5 while the window is open. It is possible to send it. In this case, cowl node 3
Has no data of the power window switch SW2, the sixth data of DATA3 in the frame of FIG.
The bit data is not always transmitted with the correct value. Nevertheless, the door node 5 performs control based on this transmission frame because the ID of the transmission frame of the cowl node 3 is also the ID indicating the self node which is the receiving node. Therefore, this open window may be closed. Therefore, it becomes necessary to assign different IDs to these signals.
【0042】従って、この実施例のように、V/Iを導
入すれば、カウルノード3からドアロックスイッチSW
5を送信する時に、DATA3の第6ビット目を無効に
指定すれば、同じIDでフレームを送信しても誤動作を
防ぐことができる。図6(f)は、ドアノード5がインパ
ネノード1に送信するフレームで、DATA3の第7ビ
ット目にドアスイッチSW1のデータを対応させてい
る。このフレームは、Basicノード間の送受信フレーム
であるが、ここでは、IDに受信ノードであるインパネ
ノード1のアドレス値を挿入して、“0000000
1”としている。インパネノード1では、このIDのフ
レームは、自ノードに必要なフレームなので、予めマイ
コンのRAMにこのIDを記憶させている。Therefore, if V / I is introduced as in this embodiment, the door lock switch SW is switched from the cowl node 3 to the door lock switch SW.
If the sixth bit of DATA3 is designated invalid when transmitting 5, it is possible to prevent malfunction even when transmitting a frame with the same ID. FIG. 6 (f) is a frame transmitted by the door node 5 to the instrument panel node 1, and the data of the door switch SW1 is associated with the 7th bit of DATA3. This frame is a transmission / reception frame between Basic nodes, but here, by inserting the address value of the instrument panel node 1 which is the receiving node into the ID, “0000000” is inserted.
In the instrument panel node 1, since the frame of this ID is a frame necessary for its own node, this ID is stored in the RAM of the microcomputer in advance.
【0043】上記多重伝送システムでは、ヘッドランプ
のように、イグニッションスイッチがオフでも動作する
機能においては問題ないが、例えばエンジン制御やメー
タのように、イグニッションスイッチがオフでは動作し
ない機能においては、システムの立ち上がり時に各ノー
ドは、制御する負荷がどのような状態にあるべきかわか
らない。In the above-mentioned multiplex transmission system, there is no problem in the function that operates even when the ignition switch is off, like a headlamp, but in the function that does not operate when the ignition switch is off, such as engine control and a meter, the system does not operate. At the rising edge of, each node does not know what state the load it controls should be.
【0044】そこで、この実施例では、フレーム内の特
定ビットを送信要求用ビットとして定め、送信ノード
は、データを送信するだけの場合には、上記送信要求用
ビットをオフにしてフレーム(以下、「ノーマルフレー
ム」という。)を送信し、他ノードからデータを要求す
る場合には、上記送信要求用ビットをオンにしたフレー
ム(以下、「送信要求フレーム」という。)を送信する
ようにした。Therefore, in this embodiment, a specific bit in a frame is defined as a transmission request bit, and the transmitting node turns off the transmission request bit and transmits a frame (hereinafter A "normal frame") is transmitted, and when requesting data from another node, a frame with the transmission request bit turned on (hereinafter referred to as "transmission request frame") is transmitted.
【0045】ここで、送信要求用ビットは、フレーム内
の特定の1ビットとして、その論理値でオン、オフを判
定させるものでも、複数のビットの組み合わせ、例えば
フレーム内の所定領域であるCONT内の複数ビットの
論理値の組み合わせによりオンと判定させるものでも構
わない。なお、フレームを構成するその他の領域は、ノ
ーマルフレーム及び送信要求フレームともに、同じよう
に設定されている。Here, the transmission request bit is a specific one bit in the frame, and even if the on / off is determined by its logical value, a combination of a plurality of bits, for example, in CONT which is a predetermined area in the frame. It may be determined to be ON by a combination of logical values of a plurality of bits. In addition, the other areas forming the frame are set in the same manner for both the normal frame and the transmission request frame.
【0046】上記I/OノードとBasicノードとの通信
で、I/Oノードが送信要求フレームを送信する例で説
明する。I/Oノードは、システムの立ち上がり時に、
送信要求フレームを送信する。上記システムの立ち上が
り時には、例えば各ノードの電源立ち上がり時、リセッ
ト解除時又は低消費電力モード解除時がある。低消費電
力モードとは、イグニッションスイッチがオフの間は消
費電流を少なくしてバッテリの負荷を減らすために動作
を停止してスイッチ信号等の入力変化だけを監視してい
るモードである。An example in which the I / O node transmits a transmission request frame in the communication between the I / O node and the Basic node will be described. The I / O node is
Send a transmission request frame. When the system is started up, for example, the power of each node is started up, the reset is released, or the low power consumption mode is released. The low power consumption mode is a mode in which while the ignition switch is off, the current consumption is reduced and the operation is stopped in order to reduce the load on the battery, and only the input change of the switch signal or the like is monitored.
【0047】ここで、上記多重伝送システムにおける送
信フレームの具体例について説明する。I/Oノードで
あるエンジンノード4は、図7に示すように、CONT
領域内の8ビットデータのうち、上位3ビットの論理値
の組み合わせによりこのフレームが送信要求フレームで
あることを判定させている。本実施例においては、エン
ジンノード4は、システム立ち上がり時にエンジン制御
用のデータが必要であるため、カウルノード3にヘッド
ランプスイッチのデータを要求する送信要求フレームを
送信する。つまり、エンジンノード4が送信するノーマ
ルフレームは、図7(a)に示すように、CONT領域内
の上位3ビットの論理値は、“011”であるが、送信
要求フレームでは、図7(b)に示すように、上位3ビッ
トを“101”として送信する。すなわち、エンジンノ
ード4は、送信要求フレームを送信する際には送信要求
ビットをオンするだけで、図6(b)のフレームと同様
に、DATA3の第3〜第6ビットに車速センサのデー
タを入れた送信要求フレームを送信することができる。Here, a specific example of the transmission frame in the multiplex transmission system will be described. The engine node 4 which is an I / O node, as shown in FIG.
It is determined that this frame is a transmission request frame by the combination of the logical values of the upper 3 bits of the 8-bit data in the area. In this embodiment, the engine node 4 needs the data for engine control when the system starts up, and therefore transmits the transmission request frame requesting the data of the headlamp switch to the cowl node 3. That is, the normal frame transmitted by the engine node 4 has the logical value of the upper 3 bits in the CONT area is "011" as shown in FIG. ), The upper 3 bits are transmitted as “101”. That is, the engine node 4 simply turns on the transmission request bit when transmitting the transmission request frame, and the vehicle speed sensor data is stored in the third to sixth bits of DATA3 as in the frame of FIG. 6B. The inserted request frame can be transmitted.
【0048】Basicノードであるカウルノード3は、伝
送路のフレームのCONT領域及びIDをチェックし
て、論理値の組み合わせによってエンジンノード4から
の送信要求フレームであることを確認する。なお、カウ
ルノード3では、IDが“11111000”の場合に
は、そのフレームのデータは無視する設定にする。カウ
ルノード3は、エンジンノード4の送信する図7(b)に
示す送信要求フレームのデータ要求には応えるので、図
6(c)に示すフレームを返送する。The cowl node 3, which is a basic node, checks the CONT area and ID of the frame of the transmission path and confirms that the frame is a transmission request frame from the engine node 4 based on a combination of logical values. The cowl node 3 is set to ignore the data of the frame when the ID is “11111000”. Since the cowl node 3 responds to the data request of the transmission request frame shown in FIG. 7B transmitted from the engine node 4, the cowl node 3 returns the frame shown in FIG. 6C.
【0049】一方、Basicノードであるインパネノード
1では、IDが“11111000”のフレームを受信
した場合には、そのフレームのデータは有効にするが、
送信要求ビットがオンでもフレームの返送はしないよう
に設定する。従って、本実施例では、エンジンノードか
らの送信要求フレームのDATA領域には、エンジンノ
ードが通常送信するデータが入っているので、送信要求
フレームの他にデータを送信するフレームを送信する必
要がなくデータ伝送の効率を向上させることができる。On the other hand, in the instrument panel node 1 which is a basic node, when the frame having the ID "11111000" is received, the data of the frame is validated,
Set so that the frame is not returned even if the transmission request bit is turned on. Therefore, in this embodiment, since the data normally transmitted by the engine node is contained in the DATA area of the transmission request frame from the engine node, it is not necessary to transmit a frame for transmitting data in addition to the transmission request frame. The efficiency of data transmission can be improved.
【0050】なお、上記実施例では、CONT領域の特
定ビットで送信要求ビットの指定を行ったが、Basicノ
ード間での通信の場合には、特定のIDの時を送信要求
フレームとするように予め設定することも可能である。
その具体例を図7(c)の送信要求フレームの他の例を用
いて説明する。カウルノード3とインパネノード1で
は、図7(c)に示すIDが“00011110”のフレ
ームを受信した場合には、ドアノード5からの送信要求
フレームであることを認識し、それぞれ図6(d),(e)の
フレームを返送する。この場合は、データの有効・無効
を示すV/Iを用いることによって、一つの送信要求フ
レームで複数のノードに送信要求することが可能とな
り、さらにデータ伝送の効率を向上させることができ
る。In the above embodiment, the transmission request bit is designated by the specific bit in the CONT area. However, in the case of communication between Basic nodes, the transmission request frame is set at the specific ID. It can be set in advance.
A specific example thereof will be described using another example of the transmission request frame in FIG. When the cowl node 3 and the instrument panel node 1 receive the frame with the ID “00011110” shown in FIG. 7 (c), they recognize that the frame is a transmission request frame from the door node 5, and respectively see FIG. 6 (d). , (E) frame is returned. In this case, by using the V / I indicating the validity / invalidity of data, it is possible to make a transmission request to a plurality of nodes in one transmission request frame, and it is possible to further improve the efficiency of data transmission.
【0051】[0051]
【発明の効果】以上説明したように、本発明では、伝送
路を介して複数の多重伝送装置が相互に接続され、該各
多重伝送装置は自己に固有のデータを、前記伝送路を介
して他の少なくとも一つの多重伝送装置にフレーム構成
で送信するとともに、前記伝送路上のフレームを受信
し、該受信フレームが自己宛の場合に該受信フレームの
データを予め定められた手順で処理し、前記多重伝送装
置のうちの第1の多重伝送装置は、他の第2の多重伝送
装置に自己固有のデータを含んだフレーム送信を要求す
る多重伝送方法において、前記第1の多重伝送装置は、
システムの立ち上がり時に前記第2の多重伝送装置に対
して該第2の多重伝送装置固有のデータの送信要求を行
う際に、前記自己固有のデータと、前記送信要求を示す
データとを少なくとも含んだフレームを送信し、前記第
2の多重伝送装置は、自己宛のフレームを受信すると、
該フレームの送信要求を示すデータの内容に応じて、自
己固有のデータをフレーム送信するので、通常のデータ
伝送用フレームに送信要求用のデータを格納して、伝送
路のトラフィック量を削減することができる。As described above, according to the present invention, a plurality of multiplex transmission devices are mutually connected via a transmission line, and each multiplex transmission device transmits its own unique data via the transmission line. While transmitting in a frame configuration to at least one other multiplex transmission device, receiving the frame on the transmission path, if the received frame is addressed to itself, process the data of the received frame in a predetermined procedure, In a multiplex transmission method in which a first multiplex transmission device of the multiplex transmission devices requests a frame transmission including self-specific data to another second multiplex transmission device, the first multiplex transmission device comprises:
When requesting the second multiplex transmission apparatus to transmit data unique to the second multiplex transmission apparatus when the system is started up, at least the self-specific data and data indicating the transmission request are included. When a frame is transmitted and the second multiplex transmission device receives a frame addressed to itself,
Since the unique data is frame-transmitted according to the content of the data indicating the transmission request of the frame, the transmission request data should be stored in the normal data transmission frame to reduce the traffic amount of the transmission path. You can
【0052】請求項6では、前記送信要求を示すデータ
は、前記送信フレームを構成する領域のうち、所定領域
の全部又は一部のビット領域に格納されて送信されるの
で、フレーム長の増加を防止できる。In the present invention, the data indicating the transmission request is stored in the bit area of all or a part of the predetermined area of the area forming the transmission frame and is transmitted. Therefore, the frame length is increased. It can be prevented.
【図1】本発明に係る多重伝送方法を用いる多重伝送シ
ステムの構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a multiplex transmission system using a multiplex transmission method according to the present invention.
【図2】図1に示したノード間で伝送されるデータフレ
ームのフォーマットの一例を示す構成図である。FIG. 2 is a configuration diagram showing an example of a format of a data frame transmitted between the nodes shown in FIG.
【図3】本発明に係るノードの第1実施例の構成を示す
構成ブロック図である。FIG. 3 is a configuration block diagram showing a configuration of a first embodiment of a node according to the present invention.
【図4】図2に示したデータフレームの具体例を示す構
成図である。FIG. 4 is a configuration diagram showing a specific example of the data frame shown in FIG.
【図5】本発明に係るノードの第2実施例の構成を示す
構成ブロック図である。FIG. 5 is a configuration block diagram showing a configuration of a second exemplary embodiment of a node according to the present invention.
【図6】図1に示したノード間で送受信される各データ
フレームの一部を示す構成図である。6 is a configuration diagram showing a part of each data frame transmitted / received between the nodes shown in FIG. 1. FIG.
【図7】同じく図1に示したノード間で送受信されるノ
ーマルフレームと送信要求フレームの一部を示す構成図
である。7 is a configuration diagram showing a part of a normal frame and a transmission request frame transmitted / received between the nodes shown in FIG.
【図8】従来のノードの構成を示す構成ブロック図であ
る。FIG. 8 is a configuration block diagram showing a configuration of a conventional node.
10,20,30 多重伝送装置(ノード) 11,21,31 バスインターフェース回路 12,22,32 通信制御回路 13,23,34 入力回路 14,24,33 入力ポート 15,25,36 出力回路 16,26 出力ポート 17 ポート制御回路 18,28 送信バッファメモリ 19,29 受信バッファメモリ 27 CPUコア MB 伝送路 10, 20, 30 Multiplex transmission device (node) 11, 21, 31 Bus interface circuit 12, 22, 32 Communication control circuit 13, 23, 34 Input circuit 14, 24, 33 Input port 15, 25, 36 Output circuit 16, 26 Output Port 17 Port Control Circuit 18, 28 Transmission Buffer Memory 19, 29 Reception Buffer Memory 27 CPU Core MB Transmission Line
フロントページの続き (72)発明者 信時 宜和 広島県安芸郡府中町新地3番1号 マツダ 株式会社内 (72)発明者 坂本 裕昭 広島県安芸郡府中町新地3番1号 マツダ 株式会社内Front page continuation (72) Inventor Yoshikazu Nobutoki, 3-1, Shinchi, Fuchu-cho, Aki-gun, Hiroshima Prefecture, Mazda Co., Ltd. (72) In-house, Hiroaki Sakamoto, 3-1, Shinchi, Fuchu-cho, Aki-gun, Hiroshima Prefecture, Mazda Co., Ltd.
Claims (8)
互に接続され、該各多重伝送装置は自己に固有のデータ
を、前記伝送路を介して他の少なくとも一つの多重伝送
装置にフレーム構成で送信するとともに、前記伝送路上
のフレームを受信し、該受信フレームが自己宛の場合に
該受信フレームのデータを予め定められた手順で処理
し、前記多重伝送装置のうちの第1の多重伝送装置は、
他の第2の多重伝送装置に自己固有のデータを含んだフ
レーム送信を要求する多重伝送方法において、 前記第1の多重伝送装置は、前記第2の多重伝送装置に
対して該第2の多重伝送装置固有のデータの送信要求を
行う際に、前記自己固有のデータと、前記送信要求を示
すデータとを少なくとも含んだフレームを送信し、 前記第2の多重伝送装置は、自己宛のフレームを受信す
ると、該フレームの送信要求を示すデータの内容に応じ
て、自己固有のデータをフレーム送信することを特徴と
する多重伝送方法。1. A plurality of multiplex transmission devices are connected to each other via a transmission line, and each of the multiplex transmission devices transmits data unique to itself to at least one other multiplex transmission device via the transmission line. The first multiplex of the multiplex transmission device is configured to transmit the frame, receive the frame on the transmission path, and process the data of the received frame in a predetermined procedure when the received frame is addressed to itself. The transmission device is
In the multiplex transmission method of requesting another second multiplex transmission apparatus to transmit a frame containing self-specific data, the first multiplex transmission apparatus may transmit the second multiplex transmission apparatus to the second multiplex transmission apparatus. When requesting transmission of data unique to a transmission device, a frame including at least the data unique to the self and the data indicating the transmission request is transmitted, and the second multiplex transmission device transmits a frame addressed to itself. Upon reception, a multiplex transmission method characterized by transmitting self-specific data in a frame in accordance with the content of data indicating a transmission request for the frame.
多重伝送装置に接続された負荷からのデータ又は該負荷
からのデータに基づいて作成されたデータの少なくとも
1つからなることを特徴とする請求項1に記載の多重伝
送方法。2. The data unique to the multiplex transmission device comprises at least one of data from a load connected to the multiplex transmission device or data created based on the data from the load. The multiplex transmission method according to claim 1.
ステムの立ち上がり時に送信することを特徴とする請求
項1に記載の多重伝送方法。3. The multiplex transmission method according to claim 1, wherein the transmission frame for requesting the transmission is transmitted at the time of system startup.
重伝送装置の電源立ち上がり時、リセット解除時又は低
消費電力モード解除時であることを特徴とする請求項3
に記載の多重伝送方法。4. The system starts up when the multiplex transmission device is powered on, when reset is released, or when the low power consumption mode is released.
The multiplex transmission method described in.
ータの有効又は無効を示す情報を含んでいることを特徴
とする請求項1に記載の多重伝送方法。5. The multiplex transmission method according to claim 1, wherein the transmission frame includes information indicating validity or invalidity of data in the frame.
フレームを構成する領域のうち、所定領域の全部又は一
部のビット領域に格納されて送信されることを特徴とす
る請求項1に記載の多重伝送方法。6. The data indicating the transmission request is stored in a bit area of all or a part of a predetermined area of the area forming the transmission frame and transmitted. Multiplex transmission method.
データ長を示すデータが格納されている領域からなるこ
とを特徴とする請求項6に記載の多重伝送方法。7. The multiplex transmission method according to claim 6, wherein the predetermined area is an area in which data indicating a data length in the transmission frame is stored.
各データの内容を示すデータが格納されている領域から
なることを特徴とする請求項6に記載の多重伝送方法。8. The multiplex transmission method according to claim 6, wherein the predetermined area is an area in which data indicating the content of each data in the transmission frame is stored.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15170395A JPH098832A (en) | 1995-06-19 | 1995-06-19 | Multiplex transmission method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15170395A JPH098832A (en) | 1995-06-19 | 1995-06-19 | Multiplex transmission method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH098832A true JPH098832A (en) | 1997-01-10 |
Family
ID=15524429
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15170395A Pending JPH098832A (en) | 1995-06-19 | 1995-06-19 | Multiplex transmission method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH098832A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007096919A (en) * | 2005-09-29 | 2007-04-12 | Kddi Corp | Communication system and communication terminal |
-
1995
- 1995-06-19 JP JP15170395A patent/JPH098832A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007096919A (en) * | 2005-09-29 | 2007-04-12 | Kddi Corp | Communication system and communication terminal |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0217571B1 (en) | Data transfer communication system | |
| US5832397A (en) | Integrated wiring systems for a vehicle control system | |
| US5450403A (en) | Method and apparatus for multiplex transmission | |
| KR960015858B1 (en) | Multiple transmission method | |
| CN101010915B (en) | Method for the non-bitrate-dependent encoding of digital signals on a bus system | |
| JP4657637B2 (en) | Method and data structure for random access over a bus connection | |
| JP2013516135A (en) | Method and apparatus for wakeup bus message determination for partial networking | |
| CN101960328A (en) | Ultrasound-based driver assistance systems | |
| KR20120099295A (en) | Improved pattern detection for partial networking | |
| JPH04305754A (en) | Multiplex transmission method | |
| JP3303328B2 (en) | Vehicle communication device | |
| US6529530B1 (en) | Multiplex communicating method | |
| JPH07112201B2 (en) | Method and apparatus for assigning addresses to remote terminals in a LAN | |
| EP1006024A2 (en) | Communication system | |
| JPH098832A (en) | Multiplex transmission method | |
| JP2638009B2 (en) | Multiplex transmission method | |
| JP7112527B2 (en) | Method for operating sensor arrangement in motor vehicle based on DSI protocol | |
| JP3281040B2 (en) | Multiplex transmission equipment | |
| JP2004254043A (en) | In-vehicle network controller | |
| JP3442632B2 (en) | Vehicle multiplex transmission equipment | |
| KR100272828B1 (en) | Lan system of vehicle using distribution and concentration controlled method | |
| JP7347391B2 (en) | Communication device | |
| JPH10117201A (en) | Multiplex communication device for vehicles | |
| JPH07212844A (en) | Vehicle control data transfer device | |
| JPH1127297A (en) | Centralized wiring system |