JPH10117201A - Multiplex communication equipment for vehicle - Google Patents

Multiplex communication equipment for vehicle

Info

Publication number
JPH10117201A
JPH10117201A JP8268701A JP26870196A JPH10117201A JP H10117201 A JPH10117201 A JP H10117201A JP 8268701 A JP8268701 A JP 8268701A JP 26870196 A JP26870196 A JP 26870196A JP H10117201 A JPH10117201 A JP H10117201A
Authority
JP
Japan
Prior art keywords
numerical value
ecu
transmitting
terminal
signal
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.)
Withdrawn
Application number
JP8268701A
Other languages
Japanese (ja)
Inventor
Akihiro Tanaka
昭裕 田中
Tetsuya Nomura
徹也 野村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Ten Ltd
Toyota Motor Corp
Original Assignee
Denso Ten Ltd
Toyota 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 Denso Ten Ltd, Toyota Motor Corp filed Critical Denso Ten Ltd
Priority to JP8268701A priority Critical patent/JPH10117201A/en
Publication of JPH10117201A publication Critical patent/JPH10117201A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a multiplex communication equipment for vehicle use that can be built up with a simple and easy configuration. SOLUTION: The vehicle use multiplex communication equipment 10 is made up of an electronic control unit(ECU) 12 connecting to a common line 44, and ECU(electronic control unit) 20 that is connected to a lamp 40 and has a SEL terminal 21 used to decide an ID, and an ECU 30 that is connected to a lamp 42 and has a SEL terminal 31 used to decide an ID. A trigger signal, depending on combinations of a level of each SEL terminal with respect to ground, is given to the ECUs 20, 30 to which a battery power supply BT is applied to set each corresponding ID, and the resulting IDs are stored in a RAM. Thus, each ID of the ECUs 20, 30 is decided, and then an ECU is identified in the case of communication of data with other ECUs.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、車両用多重通信装
置にかかり、特に、複数の制御装置が接続されると共に
車両内部に備えられた車両用多重通信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiplex communication device for a vehicle, and more particularly to a multiplex communication device for a vehicle which is connected to a plurality of control devices and is provided inside the vehicle.

【0002】[0002]

【従来の技術】近年、車両には複数の電子制御装置(以
下、ECUという)が搭載されており、これら複数のE
CUをバスで接続しローカルエリアネットワーク(以
下、LANという)を構築してECU間をデータ通信す
る車両用多重通信装置がある。
2. Description of the Related Art In recent years, a vehicle is equipped with a plurality of electronic control units (hereinafter referred to as ECUs).
There is a vehicular multiplex communication device that connects CUs by a bus to form a local area network (hereinafter, referred to as LAN) and performs data communication between ECUs.

【0003】LANが構築された車両用多重通信装置に
おいて複数のECUの間でデータ通信するときには、各
ECUを特定する必要がある。例えば、ランプを点灯さ
せるためのECUが複数あるときには、各ECUで断線
等の異常があるとき自己のECUであることを知らせる
必要がある。このため、各ECUは異なるIDを送出し
なければならない。
When data communication is performed between a plurality of ECUs in a vehicle multiplex communication apparatus in which a LAN is constructed, it is necessary to specify each ECU. For example, when there are a plurality of ECUs for lighting the lamp, it is necessary to notify that each ECU has its own ECU when there is an abnormality such as disconnection. For this reason, each ECU must send a different ID.

【0004】このため、ECUが送信するIDに相当す
るデータ信号の波高値をECU毎に異ならせ、その波高
値を観測することによって、データ信号を送信したEC
Uを判別する車両用多重通信装置が提案されている(特
開平5−110574号公報参照)。
For this reason, the peak value of the data signal corresponding to the ID transmitted by the ECU is made different for each ECU, and the peak value is observed.
A vehicle multiplex communication device for determining U has been proposed (see Japanese Patent Application Laid-Open No. Hei 5-110574).

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
車両用多重通信装置では、波高値をECU毎に異ならせ
るため、異なる波高値を生成するための新規機構を設け
る必要がある。このように新規機構を設けることは、構
造が複雑化すると共にECUの製造コストを増大させる
虞がある。
However, in the conventional vehicular multiplex communication apparatus, it is necessary to provide a new mechanism for generating different peak values in order to make the peak values different for each ECU. Providing the new mechanism in this way may complicate the structure and increase the manufacturing cost of the ECU.

【0006】また、異なるIDを送出するために、製造
時やソフトウェアによって品番を異ならせたECUを複
数用いることが考えられる。
In order to transmit different IDs, it is conceivable to use a plurality of ECUs with different product numbers at the time of manufacture or by software.

【0007】しかしながら、上記ランプを点灯させるた
めのみのような同一機能でかつ同一仕様であるECUを
複数用いる場合であっても、ECU毎に品番を異ならせ
る必要があり、車両用多重通信装置を容易に構成するこ
とができず処理や組み立てが複雑化して製造コストを増
大させる虞があった。
However, even when a plurality of ECUs having the same function and the same specification are used, such as only for lighting the lamp, it is necessary to make the part number different for each ECU. There is a possibility that the structure cannot be easily constructed, processing and assembly are complicated, and the manufacturing cost is increased.

【0008】本発明は、上記事実を考慮して、単純かつ
容易な構成で構築することが可能な車両用多重通信装置
を得ることが目的である。
An object of the present invention is to provide a vehicular multiplex communication device which can be constructed with a simple and easy configuration in consideration of the above facts.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に請求項1に記載の発明は、予め定めた複数の異なるト
リガ信号の中から1つのトリガ信号を設定する信号発生
手段と、前記複数の異なるトリガ信号の各々に対応する
IDを記憶するID記憶手段と、前記記憶手段に記憶さ
れ前記設定されたトリガ信号に対応するIDを登録する
登録手段と、登録されたIDを他の制御装置とのデータ
通信時に付加して送信する送信手段と、を備えた複数の
制御装置と、前記制御装置の各々がデータ通信するため
に電気的に接続された共通信号線と、を車両内に備えて
いる。
According to a first aspect of the present invention, there is provided a signal generating means for setting one trigger signal from a plurality of predetermined different trigger signals; Storage means for storing an ID corresponding to each of the different trigger signals, registration means for storing an ID stored in the storage means and corresponding to the set trigger signal, and storing the registered ID in another control device. A plurality of control devices each including a transmission unit for transmitting data in addition to data communication with the control device, and a common signal line electrically connected to each of the control devices for data communication. ing.

【0010】請求項2に記載の発明は、予め定めた条件
に基づいて数値を生成する数値生成手段と、生成された
数値を記憶する数値記憶手段と、生成された数値を送信
する数値送信手段と、少なくとも数値及びIDからなる
ID情報を受信するID受信手段と、受信したID情報
のうち送信した数値を含むID情報に含まれるIDを登
録するID登録手段と、を備えた複数の副制御装置と、
前記送信された数値を受信する数値受信手段と、受信し
た複数の数値の各々にIDを割り当てる割当手段と、前
記割当手段により割り当てられたIDと数値とからなる
複数のID情報を送信するID送信手段と、を備えた主
制御装置と、前記主制御装置及び副制御装置の各々がデ
ータ通信するために電気的に接続された共通信号線と、
を車両内に備えている。
According to a second aspect of the present invention, there is provided a numerical value generating means for generating a numerical value based on a predetermined condition, a numerical value storing means for storing the generated numerical value, and a numerical value transmitting means for transmitting the generated numerical value. A plurality of sub-controls comprising: ID receiving means for receiving at least ID information including a numerical value and an ID; and ID registering means for registering an ID included in ID information including a transmitted numerical value among the received ID information. Equipment and
Numerical value receiving means for receiving the transmitted numerical value, allocating means for allocating an ID to each of the plurality of numerical values received, and ID transmission for transmitting a plurality of ID information comprising the ID and numerical value allocated by the allocating means Means, and a main control device comprising: and a common signal line electrically connected to each of the main control device and the sub-control device for data communication,
Is provided in the vehicle.

【0011】請求項3に記載の発明は、請求項2に記載
の車両用多重通信装置において、前記主制御装置は、受
信した複数の数値の中に同一の数値があるときに少なく
とも同一の数値を送信した副制御装置に対して再度数値
を生成した後に送信することを要求する要求信号を出力
する指示手段をさらに備えると共に、前記副制御装置
は、前記要求信号を受信する要求信号受信手段をさらに
備えたことを特徴とする。
According to a third aspect of the present invention, in the multiplex communication apparatus for a vehicle according to the second aspect, the main control unit is configured to transmit at least the same numerical value when the plurality of received numerical values include the same numerical value. And further comprising an instruction unit that outputs a request signal requesting transmission after generating a numerical value again for the sub control device that has transmitted the request signal, and the sub control device includes a request signal receiving unit that receives the request signal. It is further characterized by being provided.

【0012】請求項1の発明では、複数の制御装置の各
々は、データ通信するために共通信号線に電気的に接続
されている。これらの各制御装置は、信号発生手段によ
って予め定めた複数の異なるトリガ信号の中から1つの
トリガ信号が設定される。この設定されたトリガ信号に
対応するIDは記憶手段に記憶されており、登録手段は
トリガ信号に対応するIDを登録する。送信手段は登録
されたIDを他の制御装置とのデータ通信時に付加して
送信する。従って、複数の制御装置の各々は、トリガー
信号によって設定された異なるIDを送信することがで
きる。
According to the first aspect of the present invention, each of the plurality of control devices is electrically connected to a common signal line for data communication. In each of these control devices, one trigger signal is set from a plurality of different trigger signals predetermined by the signal generating means. The ID corresponding to the set trigger signal is stored in the storage unit, and the registration unit registers the ID corresponding to the trigger signal. The transmitting means adds the registered ID during data communication with another control device and transmits the data. Therefore, each of the plurality of control devices can transmit a different ID set by the trigger signal.

【0013】請求項2の発明では、主制御装置及び複数
の副制御装置の各々がデータ通信するために共通信号線
に電気的に接続されている。複数の副制御装置の各々で
は、数値生成手段によって予め定めた条件に基づいて数
値が生成される。この数値生成手段は、常時計数を行う
アップダウンカウンタや乱数発生装置がある。アップダ
ウンカウンタを用いた場合、複数の副制御装置の各々に
おいては機差や起動時刻差によって同一時間のカウント
値は異なることになる。また、乱数発生装置を用いた場
合も同様に、複数の副制御装置の各々においては異なる
値(乱数)が生成されることになる。生成された数値
は、数値記憶手段によって記憶され、数値送信手段によ
り送信される。送信された数値は主制御手段の数値受信
手段によって受信される。受信された複数の数値の各々
には、主制御装置の割当手段がIDを割り当てる。この
IDの割り当ては、予め複数のIDを記憶してその複数
IDの中から数値の大きさに従って順番に読みだすよう
にすることができる。ID送信手段は、割当手段により
割り当てられたIDと数値とからなる複数のID情報を
送信する。副制御装置では、主制御装置から送信された
少なくとも数値及びIDからなるID情報をID受信手
段で受信する。この受信したID情報は複数になるが、
その中の副制御装置に対応するID情報は1つである。
そこで、ID登録手段は、これらの受信したID情報の
うち送信した数値を含むID情報に含まれるIDを自己
のIDとして登録する。このようにして、複数の副制御
装置の各々には、異なるIDを設定することができる。
According to the second aspect of the present invention, each of the main control device and the plurality of sub-control devices is electrically connected to a common signal line for data communication. In each of the plurality of sub-control devices, a numerical value is generated by the numerical value generating means based on a predetermined condition. The numerical value generating means includes an up / down counter that constantly counts and a random number generating device. When the up-down counter is used, the count value of the same time differs in each of the plurality of sub-control devices due to a machine difference or a start time difference. Similarly, when a random number generator is used, a different value (random number) is generated in each of the plurality of sub-controllers. The generated numerical value is stored by the numerical value storing means and transmitted by the numerical value transmitting means. The transmitted numerical value is received by the numerical value receiving means of the main control means. The assigning means of the main control unit assigns an ID to each of the received numerical values. The ID can be assigned by storing a plurality of IDs in advance and reading the IDs sequentially from the plurality of IDs according to the magnitude of the numerical value. The ID transmitting unit transmits a plurality of pieces of ID information including the ID allocated by the allocating unit and a numerical value. In the sub control device, ID information including at least a numerical value and an ID transmitted from the main control device is received by the ID receiving unit. Although the received ID information becomes plural,
There is one piece of ID information corresponding to the sub-control device therein.
Therefore, the ID registration means registers the ID included in the ID information including the transmitted numerical value among the received ID information as its own ID. In this way, a different ID can be set for each of the plurality of sub-control devices.

【0014】ここで、主制御装置で受信した複数の数値
のうち、同一の数値を含んでいる場合がある。この場合
には、複数の副制御装置に同一のIDが設定されること
になる。そこで、請求項3の発明に記載したように、前
記主制御装置は、指示手段をさらに備え、受信した複数
の数値の中に同一の数値があるときに少なくとも同一の
数値を送信した副制御装置に対して再度数値を生成した
後に送信することを要求する要求信号を出力する。副制
御装置では、要求信号受信手段によって前記要求信号が
受信される。このように、主制御装置が同一の数値を受
信したときには、副制御装置に再度数値を生成した後に
送信させるので、複数の副制御装置の各々には、異なる
IDを設定することができる。
Here, the plurality of numerical values received by the main controller may include the same numerical value. In this case, the same ID is set to a plurality of sub-control devices. Therefore, as described in the third aspect of the invention, the main control device further includes an instruction unit, and the sub-control device transmits at least the same numerical value when the received plural numerical values include the same numerical value. And outputs a request signal requesting transmission after generating a numerical value again. In the sub control device, the request signal is received by the request signal receiving means. As described above, when the main control device receives the same numerical value, the main control device causes the sub-control device to generate the numerical value again and transmit the generated numerical value. Therefore, a different ID can be set to each of the plurality of sub-control devices.

【0015】[0015]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態の一例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.

【0016】第1実施の形態は、複数のランプの各々を
点灯させるために複数のECUが接続されて構築された
車両内LANによって、各ECUにおける断線の異常等
のデータ通信を行う車両用多重通信装置に本発明を適用
したものである。
In the first embodiment, a vehicle multiplex system which performs data communication such as disconnection abnormality in each ECU by using an in-vehicle LAN constructed by connecting a plurality of ECUs for lighting each of a plurality of lamps. The present invention is applied to a communication device.

【0017】図1に示すように、本実施の形態の車両用
多重通信装置10は、ECU12、ランプ40が接続さ
れたECU20、及びランプ42が接続されたECU3
0を備えている。ECU12は、主制御装置として機能
するものであり、端子(+B)14、端子(GND)1
6、他のECUと接続するための端子(MPX)18を
有している。端子14はバッテリー電源BTに接続さ
れ、端子16は接地されている。
As shown in FIG. 1, the vehicle multiplex communication device 10 of the present embodiment comprises an ECU 12, an ECU 20 to which a lamp 40 is connected, and an ECU 3 to which a lamp 42 is connected.
0 is provided. The ECU 12 functions as a main control device, and includes a terminal (+ B) 14, a terminal (GND) 1
6. It has a terminal (MPX) 18 for connection to another ECU. The terminal 14 is connected to the battery power supply BT, and the terminal 16 is grounded.

【0018】また、ECU20は、ランプ駆動制御装置
として機能するものであり、端子(+B)24、端子
(GND)26、他のECUと接続するための端子(M
PX)28を有している。端子24はバッテリー電源B
Tに接続され、端子26は接地されている。このECU
20はIDを定めるための複数のSEL端子から構成さ
れた端子21を有している(詳細は後述)。また、EC
U20は端子22を有しており、端子22はランプ40
を介して接地されている。ECU30はECU20と同
一の構成であり、端子(+B)34、端子(GND)3
6、他のECUと接続するための端子(MPX)38、
IDを定めるための複数のSEL端子から構成された端
子31、端子32を有している。
The ECU 20 functions as a lamp drive control device, and includes a terminal (+ B) 24, a terminal (GND) 26, and a terminal (M) for connecting to another ECU.
PX) 28. Terminal 24 is battery power supply B
T, and the terminal 26 is grounded. This ECU
Reference numeral 20 has a terminal 21 composed of a plurality of SEL terminals for determining an ID (details will be described later). Also, EC
U20 has a terminal 22 and terminal 22 is a lamp 40.
Grounded. The ECU 30 has the same configuration as the ECU 20, and includes a terminal (+ B) 34, a terminal (GND) 3
6. Terminal (MPX) 38 for connecting to another ECU
It has a terminal 31 and a terminal 32 composed of a plurality of SEL terminals for determining an ID.

【0019】これらECU12の端子18、ECU20
の端子28、及びECU30の端子38の各々は、デー
タ通信を可能とするために共通線44に接続されてい
る。
The terminal 18 of the ECU 12 and the ECU 20
And the terminal 38 of the ECU 30 are connected to a common line 44 to enable data communication.

【0020】図2に示すように、ECU12は、制御回
路50、端子14から供給されるバッテリー電源BTの
電源電圧を安定化するための電源安定化回路52、及び
端子18に対して入出力される信号を規格化するための
ドライバレシーバ回路54を備えている。制御回路50
はCPU50A、RAM50B、ROM50C、入出力
ポート(I/O)50E、からなるマイクロコンピュー
タで構成され、各々はコマンドやデータの授受が可能な
ようにバス50Fによって接続されている。これと共に
制御回路50はシリアルデータによる通信を可能とする
ためのシリアル通信部50Dを備えており、バス50F
に接続されている。なお、ROM50Cには、ECU1
2が主制御装置として駆動されるための図示を省略した
処理ルーチンが記憶されている。
As shown in FIG. 2, the ECU 12 inputs and outputs signals to and from a control circuit 50, a power supply stabilizing circuit 52 for stabilizing a power supply voltage of a battery power supply BT supplied from a terminal 14, and a terminal 18. And a driver receiver circuit 54 for standardizing the signals. Control circuit 50
Is composed of a microcomputer including a CPU 50A, a RAM 50B, a ROM 50C, and an input / output port (I / O) 50E, each of which is connected by a bus 50F so that commands and data can be exchanged. At the same time, the control circuit 50 includes a serial communication unit 50D for enabling communication by serial data.
It is connected to the. Note that the ROM 50C contains the ECU 1
2 stores a processing routine (not shown) for driving the main controller 2 as a main controller.

【0021】ECU12の制御回路50は、端子56、
57、58を備えている。端子56は電源安定化回路5
2を介してバッテリー電源BTに接続され、端子58は
端子16を介して接地されている。端子57はシリアル
通信部50Dに接続されると共にドライバレシーバ回路
54を介して端子18に接続されている。ドライバレシ
ーバ回路54は、シリアル通信部50Dからの出力信号
及びシリアル通信部50Dへの入力信号の信号レベルを
規格化するための回路である。
The control circuit 50 of the ECU 12 includes a terminal 56,
57 and 58 are provided. Terminal 56 is a power stabilizing circuit 5
The terminal 58 is connected to the battery power supply BT through the terminal 2, and the terminal 58 is grounded through the terminal 16. The terminal 57 is connected to the serial communication unit 50D and to the terminal 18 via the driver receiver circuit 54. The driver receiver circuit 54 is a circuit for normalizing signal levels of an output signal from the serial communication unit 50D and an input signal to the serial communication unit 50D.

【0022】図3に示すように、ランプ40のランプ駆
動制御装置として機能するECU20は、制御回路6
0、端子24から供給される電源電圧を安定化するため
の電源安定化回路62、及びドライバレシーバ回路64
を備えている。制御回路60はCPU60A、RAM6
0B、ROM60C、入出力ポート(I/O)60E、
からなるマイクロコンピュータで構成され、各々はコマ
ンドやデータの授受が可能なようにバス60Fによって
接続されている。これと共に制御回路60はシリアル通
信部60Dを備えており、バス60Fに接続されてい
る。なお、ROM60Cには、後述するようにIDテー
ブル及び処理ルーチン(図4)が記憶されている。
As shown in FIG. 3, the ECU 20 functioning as a lamp drive control device for the lamp 40 includes a control circuit 6
0, a power supply stabilizing circuit 62 for stabilizing a power supply voltage supplied from a terminal 24, and a driver receiver circuit 64
It has. The control circuit 60 includes a CPU 60A, a RAM 6
0B, ROM 60C, input / output port (I / O) 60E,
Which are connected by a bus 60F so that commands and data can be transmitted and received. In addition, the control circuit 60 includes a serial communication unit 60D, and is connected to the bus 60F. The ROM 60C stores an ID table and a processing routine (FIG. 4) as described later.

【0023】ECU20の制御回路60は、端子66、
67、68を備えている。端子66は電源安定化回路6
2を介してバッテリー電源BTに接続され、端子68は
端子26を介して接地されている。端子67はシリアル
通信部60Dに接続されると共にドライバレシーバ回路
64を介して端子28に接続されている。ドライバレシ
ーバ回路64は、シリアル通信部60Dからの出力信号
及びシリアル通信部60Dへの入力信号の信号レベルを
規格化するための回路である。
The control circuit 60 of the ECU 20 includes a terminal 66,
67 and 68 are provided. Terminal 66 is a power stabilizing circuit 6.
The terminal 68 is connected to the battery power supply BT via the terminal 2 and the terminal 68 is grounded via the terminal 26. The terminal 67 is connected to the serial communication unit 60D and to the terminal 28 via the driver receiver circuit 64. The driver receiver circuit 64 is a circuit for normalizing signal levels of an output signal from the serial communication unit 60D and an input signal to the serial communication unit 60D.

【0024】また、ECU20は、ランプ点灯回路70
を備えている。ランプ点灯回路70の出力端70Bはラ
ンプ駆動電力を供給するためにランプ24に接続された
端子22に接続されている。ランプ点灯回路70の入力
端70Aは、バッファを介して制御回路60の入出力ポ
ート60Eに接続された端子61Aに接続されている。
また、ランプ点灯回路70の制御端70Cは、バッファ
を介して制御回路60の入出力ポート60Eに接続され
た端子61Bに接続されている。ランプ点灯回路70に
は、端子61Aからランプ24を点灯させるための指示
信号が入力される。また、ランプ点灯回路70は、端子
61Bへランプ24の異常(例えば、ランプ切れによる
異常)を報告するための異常信号を出力する。
The ECU 20 also includes a lamp lighting circuit 70
It has. An output terminal 70B of the lamp lighting circuit 70 is connected to a terminal 22 connected to the lamp 24 to supply lamp driving power. The input terminal 70A of the lamp lighting circuit 70 is connected to a terminal 61A connected to an input / output port 60E of the control circuit 60 via a buffer.
The control terminal 70C of the lamp lighting circuit 70 is connected to a terminal 61B connected to an input / output port 60E of the control circuit 60 via a buffer. An instruction signal for lighting the lamp 24 is input to the lamp lighting circuit 70 from the terminal 61A. In addition, the lamp lighting circuit 70 outputs an abnormality signal for reporting an abnormality of the lamp 24 (for example, an abnormality due to lamp burnout) to the terminal 61B.

【0025】また、ECU20は、IDを定めるための
端子21を備えており、端子21は複数のSEL端子2
1A,21B,・・・,21Nから構成されている。S
EL端子21A,21B,・・・,21Nの各々は、バ
ッファを介して制御回路60の入出力ポート60Eに接
続された端子61A,61B,・・・,61Nに接続さ
れている。また、SEL端子21A,21B,・・・,
21Nの各々は、抵抗を介して電源に接続(プルアップ
接続)されている。これらSEL端子21A〜21Nを
全て開放または1つ以上を接地させることによって制御
回路60にはトリガー信号が入力される。例えば、SE
L端子21A〜21Nのすべてを接地させることなく開
放させたときには、制御回路60の入出力ポート60E
に端子63A〜63NからのN個のハイレベル信号が入
力される。また、1つのSEL端子21Aが接地された
場合には制御回路60の入出力ポート60Eに端子63
Aのみがローレベルの信号で他端子からハイレベルの信
号が入力される。このように、SEL端子21A〜21
Nの全て開放または1つ以上を接地させることによっ
て、制御回路60の入出力ポート60Eには異なるトリ
ガー信号を入力できる。このトリガー信号は、入出力ポ
ート60Eに入力される端子63A〜63Nの信号の組
み合わせを表す。すなわち、SEL端子21A〜21N
の全てを開放または1つ以上を接地させたときに入出力
ポート60Eにトリガー信号が入力される。従って、こ
れらのSEL端子21A〜21Nの全てを開放させた状
態または1つ以上を接地させた状態をSEL状態とし
て、端子21では、接地及び未接地(開放)の組み合わ
せによって2N 個のSEL状態を生成することができ
る。これらのSEL状態によって2N 個の組み合わせの
複数のトリガー信号のうち1つのトリガー信号を制御回
路60に入力させることができる。
The ECU 20 has a terminal 21 for determining an ID, and the terminal 21 has a plurality of SEL terminals 2.
1A, 21B,..., 21N. S
Each of the EL terminals 21A, 21B,..., 21N is connected via a buffer to terminals 61A, 61B,. Also, SEL terminals 21A, 21B,.
Each of 21N is connected (pull-up connection) to a power supply via a resistor. The trigger signal is input to the control circuit 60 by opening all the SEL terminals 21A to 21N or grounding one or more of them. For example, SE
When all of the L terminals 21A to 21N are opened without being grounded, the input / output port 60E of the control circuit 60
N high-level signals from terminals 63A to 63N are input to the terminals. When one SEL terminal 21A is grounded, the terminal 63 is connected to the input / output port 60E of the control circuit 60.
Only A is a low-level signal and a high-level signal is input from another terminal. Thus, the SEL terminals 21A to 21A
By opening all of N or grounding one or more, different trigger signals can be input to the input / output port 60E of the control circuit 60. The trigger signal indicates a combination of signals of the terminals 63A to 63N input to the input / output port 60E. That is, the SEL terminals 21A to 21N
Are all opened or one or more are grounded, a trigger signal is input to the input / output port 60E. Thus, these state of being grounded state or one or more that is opened all the SEL terminal 21A~21N as SEL state, 2 N pieces of SEL state by the combination of the terminal 21, the ground and un-ground (open) Can be generated. According to these SEL states, one trigger signal among a plurality of 2 N combinations of trigger signals can be input to the control circuit 60.

【0026】なお、ランプ42のランプ駆動制御装置と
して機能するECU30はECU20と同一の構成であ
るため、詳細な説明を省略する。
The ECU 30, which functions as a lamp drive control device for the lamp 42, has the same configuration as the ECU 20, and a detailed description thereof will be omitted.

【0027】次に、本実施の形態の作用を説明する。な
お、上記ECU20、30にはIDが付されていない。
これらのECU20、30にIDが付される過程を説明
する。まず、ECU20にIDが付される過程を説明す
る。
Next, the operation of the present embodiment will be described. Note that the ECUs 20 and 30 are not provided with an ID.
The process of assigning IDs to these ECUs 20, 30 will be described. First, a process of assigning an ID to the ECU 20 will be described.

【0028】ECU20がバッテリー電源BTに接続さ
れると、図4に示す初期処理フローが実行される。図4
のステップ100では、IDテーブルが読み取られる。
このIDテーブルは、SEL端子の接地の組み合わせに
よって生成されるトリガー信号(N個のハイレベル、ロ
ーレベルの何れかのレベルによる順列組み合わせ信号)
とIDとの対応関係を表すものであり、予めROM50
Cに記憶されている。例えば、トリガー信号は、N個の
各々がハイレベル及びローレベルの何れかで組み合わさ
れた信号として、全てをハイレベルとしたトリガー信号
をID「0」、下位(N番目方向のSEL端子21N)
から順にハイレベルに設定するに従って、各トリガー信
号に対応してIDが「1」、「2」、・・・、「2N
1」に設定される。なお、トリガー信号とIDとの対応
関係は、上記に限定されるものではなく、上位側から設
定してもよく、乱数等で設定してもよい。すなわち、ト
リガー信号及びIDが他のトリガー信号及びIDの何れ
にも重複しないように、1対1で設定できればよい。
When the ECU 20 is connected to the battery power source BT, an initial processing flow shown in FIG. 4 is executed. FIG.
In step 100, the ID table is read.
This ID table is a trigger signal (a permutation combination signal based on any one of N high levels and low levels) generated by a combination of the ground of the SEL terminal.
Represents the correspondence between the ID and the ID.
C. For example, the trigger signal is a signal in which each of the N signals is combined at one of the high level and the low level, and the trigger signal having all the high levels is ID “0”, the lower order (the SEL terminal 21N in the Nth direction).
, The IDs are “1”, “2”,..., “2 N
1 ". Note that the correspondence between the trigger signal and the ID is not limited to the above, and may be set from the upper side or may be set with a random number or the like. That is, it is only necessary that the trigger signal and the ID can be set on a one-to-one basis so as not to overlap with any of the other trigger signals and IDs.

【0029】次のステップ102では、SEL端子の接
地の組み合わせによるなるSEL情報を読み取る。すな
わち、トリガー信号のハイレベル、ローレベルの組み合
わせを読み取ることでSEL情報を読み取る。次のステ
ップ104では上記ステップ100で読み取ったIDテ
ーブルを基にして、読み取ったSEL情報に対応するI
Dを設定する。次のステップ106では、設定されたI
DをRAM60Bに記憶する。これによって、ECU2
0のIDが定まり、他のECUとデータ通信するときに
ECU20を特定することができる。次のステップ10
8では、ランプ切れや接続不良等の異常検出処理等の他
処理が実行され、本ルーチンを終了する。このステップ
108でなされる他処理において、ランプ切れを報知す
る等のデータ通信を行う場合には、上記RAM60Bに
記憶されたIDを送信する。従って、他のECU、すな
わちECU12ではランプ切れが生じたECUはECU
20であることを特定することができる。
In the next step 102, SEL information based on a combination of the grounding of the SEL terminal is read. That is, the SEL information is read by reading a combination of the high level and the low level of the trigger signal. In the next step 104, based on the ID table read in the above step 100, the I corresponding to the read SEL information
Set D. In the next step 106, the set I
D is stored in the RAM 60B. Thereby, the ECU 2
When the ID of 0 is determined, the ECU 20 can be specified when performing data communication with another ECU. Next Step 10
In step 8, other processes such as an abnormality detection process such as a lamp burnout or a connection failure are executed, and the routine ends. In the other processing performed in step 108, when performing data communication such as notification of lamp expiration, the ID stored in the RAM 60B is transmitted. Therefore, in the other ECUs, that is, in the ECU 12, the ECU in which the lamp has run out is the ECU.
20 can be specified.

【0030】上記で説明したステップ100〜ステップ
106の各処理は、ECU20がバッテリー電源BTに
接続されたときにのみ、すなわち通電が開始されたとき
に実行される。
The processes of steps 100 to 106 described above are executed only when the ECU 20 is connected to the battery power source BT, that is, when the energization is started.

【0031】このように、本実施の形態では、ECUの
各々がバッテリー電源BTに接続されたときにのみにI
Dが設定されて記憶されるため、通電が開始されたとき
のIDを通電中に保持することができ、各々のECUを
区別することができる。このため、同一品番のECUを
複数用いて車両用多重通信装置を構成することができ
る。
As described above, in the present embodiment, only when each of the ECUs is connected to the battery power supply BT,
Since D is set and stored, the ID at the time of energization can be held during energization, and each ECU can be distinguished. Therefore, a vehicle multiplex communication device can be configured using a plurality of ECUs having the same product number.

【0032】なお、ECU30にIDが付される過程
は、上記処理と同一のため説明を省略する。また、EC
U20、30の各々は異なるSEL情報、すなわち、S
EL端子の接地の組み合わせを異ならせたSEL情報に
設定されている。本実施の形態では、ECU20は端子
21が全て開放されてN個のSEL端子全てがハイレベ
ルに設定されたSEL情報であり、ECU30は端子3
1が全て接地されてN個のSEL端子全てがローレベル
に設定されたSEL情報である(図1参照)。
The process of assigning an ID to the ECU 30 is the same as the above process, and will not be described. Also, EC
U20, 30 each have different SEL information, ie, S
The SEL information in which the combination of the grounding of the EL terminal is different is set. In the present embodiment, the ECU 20 is SEL information in which all the terminals 21 are open and all the N SEL terminals are set to a high level.
1 is grounded and all N SEL terminals are set to low level (see FIG. 1).

【0033】また、上記ではトリガー信号からなるSE
L情報を用いてIDを定める場合を説明したが、SEL
情報をそのままIDコードとしてもよい。
In the above description, the SE composed of the trigger signal is used.
The case where the ID is determined using the L information has been described.
The information may be directly used as an ID code.

【0034】上記実施の形態では、主制御装置として機
能するECU12とランプ駆動制御装置として機能する
ECU20,30とを別個の構成としたが、本発明はこ
れに限定されるものではなく、用いるECUの全てにつ
いて各々同一構成のECUを用いて、最初の電源通電時
にIDが設定されるようにしてもよい。
In the above embodiment, the ECU 12 functioning as the main control device and the ECUs 20 and 30 functioning as the lamp drive control device are provided separately. However, the present invention is not limited to this. The ID may be set at the first power-on by using the ECU having the same configuration for all of the above.

【0035】次に、第2実施の形態を説明する。本実施
の形態は、トリガー信号を用いることなく、データ通信
のみによってIDを設定するものである。なお、本実施
の形態の構成は上記実施の形態の構成と略同様のため、
同一部分には同一符号を付し詳細な説明を省略する。
Next, a second embodiment will be described. In the present embodiment, an ID is set only by data communication without using a trigger signal. Note that the configuration of the present embodiment is substantially the same as the configuration of the above-described embodiment.
The same portions are denoted by the same reference numerals, and detailed description is omitted.

【0036】本実施の形態の各ECUは、以下に説明す
るようにトリガー信号が不要のため、ECU20、30
の各々は、図1に示したIDを定めるための複数のSE
L端子から構成された端子21、31が不要である。な
お、ECU12、20、30の各々のROMは、後述す
る処理ルーチンを記憶している。
Each of the ECUs according to the present embodiment does not require a trigger signal as described below, so
Are a plurality of SEs for determining the ID shown in FIG.
The terminals 21 and 31 constituted by the L terminals are unnecessary. The ROM of each of the ECUs 12, 20, and 30 stores a processing routine described later.

【0037】なお、本実施の形態では、ECU12がI
Dを管理するための主ECUとして機能し、ECU2
0,30はIDが付与されるべき副ECUとして機能す
る。
Note that, in the present embodiment, the ECU 12
D functions as a main ECU for managing
0 and 30 function as sub-ECUs to which IDs are assigned.

【0038】次に、本実施の形態の作用を説明する。ま
ず、ECU12がバッテリー電源BTに接続されると、
ECU12では図5に示す初期処理フローが実行され
る。また、ECU20、30の各々では、後述するよう
に、バッテリー電源BTに接続されると、図6に示す初
期処理フローが実行される。
Next, the operation of the present embodiment will be described. First, when the ECU 12 is connected to the battery power supply BT,
The ECU 12 executes an initial processing flow shown in FIG. Further, in each of the ECUs 20 and 30, when connected to the battery power supply BT, an initial processing flow shown in FIG. 6 is executed as described later.

【0039】図5のステップ200では、乱数要求信号
を送信する。この乱数要求信号は、他のECUであるE
CU20、30の各々から乱数を送信させるための要求
信号であり、共通線44を介してECU20、30の各
々に送信される。次のステップ202では共通線44を
介して端子18に(ECU20、30からの)信号が入
力されたか否かを判断することによって、他のECUか
らの信号を受信したか否かを判断する。信号を受信して
ステップ202で肯定判断された場合には、次のステッ
プ204で受信したECU20またはECU30からの
信号である乱数m1,m2を記憶してステップ206へ
進む。一方、入力信号が無く、ステップ202で否定判
断の場合にはそのままステップ206へ進む。なお、上
記ステップ204で乱数m1,m2を記憶した時点で
は、乱数m1,m2に対応するECUを特定することは
できないので、単に乱数m1,m2を記憶する。
In step 200 of FIG. 5, a random number request signal is transmitted. This random number request signal is transmitted to other ECU E
This is a request signal for transmitting a random number from each of the CUs 20 and 30, and is transmitted to each of the ECUs 20 and 30 via the common line 44. In the next step 202, it is determined whether a signal from another ECU has been received by determining whether a signal (from the ECU 20, 30) has been input to the terminal 18 via the common line 44. If the signal is received and a positive determination is made in step 202, the random numbers m1 and m2, which are the signals from the ECU 20 or the ECU 30 received in the next step 204, are stored, and the process proceeds to step 206. On the other hand, if there is no input signal and a negative determination is made in step 202, the process directly proceeds to step 206. Since the ECU corresponding to the random numbers m1 and m2 cannot be specified when the random numbers m1 and m2 are stored in step 204, the random numbers m1 and m2 are simply stored.

【0040】ステップ206では、本ルーチンが実行さ
れてからの経過時間tが所定時間t 0 を越えたか否かを
判断する。この所定時間t0 は、他のECUの各々から
のシリアル通信によってなされる信号送信に要する時間
を基準として予め接続することが予測される複数のEC
Uについての総時間が予め定められている。なお、上記
では判断基準として時間を設定しているが、接続される
ことが予測されるECUの個数を判断基準としてもよ
い。
In step 206, this routine is executed.
The elapsed time t from when the predetermined time t 0Whether or not
to decide. This predetermined time t0From each of the other ECUs
Time required for signal transmission by serial communication
ECs that are predicted to be connected in advance based on
The total time for U is predetermined. The above
Sets the time as a criterion, but it is connected
The number of ECUs that are predicted to be
No.

【0041】t≦t0 でステップ206で否定判断のと
きには他のECUからの信号送信の可能性があるため、
ステップ202へ戻って信号受信を繰り返す。一方、t
>t 0 でステップ204で肯定判断のときには他のEC
Uからの信号送信に要する十分な時間を経過したため、
次のステップ208へ進む。
T ≦ t0And a negative judgment at step 206
Because there is a possibility of signal transmission from other ECU at the time,
Returning to step 202, signal reception is repeated. On the other hand, t
> T 0When a positive determination is made in step 204, another EC
Since enough time for signal transmission from U has passed,
Proceed to the next step 208.

【0042】次のステップ206では、受信した複数の
信号による複数の乱数、すなわちステップ204で記憶
した乱数に同一乱数が存在するか否かを判断する。つま
り、後述するようにECU20、30の各々から乱数m
1,m2が送信されるが同一の数が送信される可能性が
ある。このため、同一乱数が受信されたときには同一乱
数を送信したことによりECU20、30の区別をする
ことができないため、ステップ200へ戻り、乱数要求
信号を再度送信させる要求を行い、各ECUから再度乱
数を送信させる。このステップ208で肯定判断され同
一乱数が存在したときにはステップ204で記憶した乱
数は全て消去する。
In the next step 206, it is determined whether or not a plurality of random numbers based on the received signals, that is, the same random number exists in the random numbers stored in step 204. That is, as described later, the random number m is obtained from each of the ECUs 20 and 30.
1, m2 are transmitted, but the same number may be transmitted. Therefore, when the same random number is received, the ECUs 20 and 30 cannot be distinguished due to the transmission of the same random number. Therefore, the process returns to step 200, and a request to transmit a random number request signal again is made. Is sent. When an affirmative determination is made in step 208 and the same random number exists, all the random numbers stored in step 204 are deleted.

【0043】ステップ204で記憶した複数の乱数が各
々異なる数の場合には、次のステップ210において、
各々の乱数毎にIDコードを次のようにして生成する。
IDコード生成の一例としては、記憶された複数の乱数
を数の小さい順または大きい順に並べて、小さい乱数ま
たは大きい乱数から「1」、「2」、・・・、「N」の
IDを含むIDコードを生成する。本実施の形態では、
小さい順に乱数を並べてIDコードを生成し、乱数はm
1<m2であるものとし、m1:「1」のIDコード
と、m2:「2」のIDコードのように各々の乱数に対
応するIDコードが生成される。すなわち、IDコード
は[乱数:ID]から構成され、記憶した乱数の数だけ
生成される。
If the plurality of random numbers stored in step 204 are different numbers, in the next step 210,
An ID code is generated for each random number as follows.
As an example of ID code generation, a plurality of stored random numbers are arranged in ascending or descending order of numbers, and IDs including IDs of “1”, “2”,. Generate code. In the present embodiment,
An ID code is generated by arranging random numbers in ascending order, and the random number is m
It is assumed that 1 <m2, and an ID code corresponding to each random number is generated such as an ID code of m1: “1” and an ID code of m2: “2”. That is, the ID code is composed of [random number: ID], and is generated by the number of stored random numbers.

【0044】次のステップ212では、生成した全ID
コードを送信する。すなわち、共通線44を介して、
[m1:1],[m2:2]のIDコードをECU2
0、30へ出力し、次のステップ212において他処
理、すなわち通常の処理へ移行して本ルーチンを終了す
る。
In the next step 212, all the generated IDs
Submit the code. That is, via the common line 44,
[M1: 1], [m2: 2] ID code
0, 30 and the process proceeds to another process, that is, a normal process in the next step 212, and this routine ends.

【0045】このようにして、ECU12では、異なる
数である複数の乱数を受信して、受信した各乱数を記憶
すると共に、それらの乱数をキーとして用いて、そのキ
ーにIDを付与したIDコードを送信する。従って、E
CU20、30では以下のようにして、自らの出力した
乱数が含まれたIDコードを参照することでIDを入手
することができる。
As described above, the ECU 12 receives a plurality of different random numbers, stores the received random numbers, uses the random numbers as keys, and assigns an ID code to the key by assigning an ID to the key. Send Therefore, E
The CUs 20, 30 can obtain the ID by referring to the ID code including the random number output by the CU 20, 30 as follows.

【0046】次に、ECU20にバッテリー電源BTに
接続されると、図6に示す初期処理フローが1度だけ最
初に実行される。
Next, when the battery power supply BT is connected to the ECU 20, the initial processing flow shown in FIG. 6 is first executed only once.

【0047】図6のステップ220では、フリーランカ
ウンタを起動する。このフリーランカウンタはECU2
0が通電されている間、常時アップカウント(またはダ
ウンカウント)するアップダウンカウンタであり、1づ
つインクリメントするカウンタ値を格納するアップダウ
ンカウンタを備えることによるハードウェアで構成して
もよく、1づつインクリメントしたカウンタ値をメモリ
(RAM60B)に記憶させるプログラムによるソフト
ウェアで構成してもよい。
In step 220 of FIG. 6, a free-run counter is started. This free run counter is ECU2
This is an up / down counter that constantly counts up (or down counts) while 0 is energized, and may be configured by hardware by including an up / down counter that stores a counter value that is incremented by one. It may be configured by software based on a program for storing the incremented counter value in the memory (RAM 60B).

【0048】次に、上記で説明したECU12からの乱
数要求信号を受信するまでステップ222が繰り返し実
行され、乱数要求信号を受信すると、次のステップ22
4で上記起動しているフリーランカウンタの現在のカウ
ント値m1を記憶すると共に、記憶したカウント値m1
を乱数として送信する。このフリーランカウンタは機差
や内部クロックの違いによって、複数ECUを同一構成
とすると共に同一時点から起動したときであっても、各
々のECUは異なるカウンタ値となる。また、各ECU
の起動をクロックレベルで同期することもまれであるの
で、異なるカウンタ値となる。
Next, step 222 is repeatedly executed until the above-described random number request signal from the ECU 12 is received. When the random number request signal is received, the next step 22 is executed.
4, the current count value m1 of the activated free-run counter is stored, and the stored count value m1 is stored.
Is transmitted as a random number. This free-run counter has a different counter value even when a plurality of ECUs have the same configuration and are started from the same point in time due to differences in the machine and differences in the internal clock. In addition, each ECU
Is rarely synchronized with the clock level, so that different counter values are obtained.

【0049】次のステップ226では、IDコードを受
信したか否かを判断し、否定判断の場合には次のステッ
プ228において再度乱数要求信号が受信されたか否か
を判断する。ステップ228で否定判断の場合にはEC
U12からまだ信号送信がなされていないので、ステッ
プ226へ戻る。一方、IDコードが受信されずに、乱
数要求信号が受信されたときにはステップ228で肯定
判断され、ステップ224へ戻り、同一乱数の存在を解
消するために再度現在のカウンタ値を記憶すると共に送
信する。
In the next step 226, it is determined whether or not the ID code has been received. If the determination is negative, it is determined in the next step 228 whether or not the random number request signal has been received again. If a negative determination is made in step 228, EC
Since the signal has not been transmitted from U12, the process returns to step 226. On the other hand, when a random number request signal is received without receiving an ID code, an affirmative determination is made in step 228, and the process returns to step 224 to store and transmit the current counter value again to eliminate the existence of the same random number. .

【0050】一方、IDコードを受信したときにはステ
ップ226で肯定判断され、次のステップ230におい
て、受信した複数のIDコードのうち自らのフリーラン
カウンタのカウンタ値m1が含まれるIDコードを対象
として、その対象としたIDコードのカウンタ値m1に
対応するID「1」をECU20のIDとしてメモリ
(RAM60B)に記憶する。
On the other hand, when the ID code is received, an affirmative determination is made in step 226, and in the next step 230, the ID code including the counter value m1 of its own free-run counter among the received plurality of ID codes is targeted. The ID “1” corresponding to the counter value m1 of the target ID code is stored in the memory (RAM 60B) as the ID of the ECU 20.

【0051】このようにして、ECU20では自ら生成
した乱数m1をキーとして出力し、ECU12で乱数m
1に対して割り当てられたIDを、ECU12から送信
されたIDコードのうち乱数m1を含んだIDコードを
参照することで自らのIDを入手することができる。
In this way, the ECU 20 outputs the random number m1 generated by itself as a key, and the ECU 12 outputs the random number m
It is possible to obtain its own ID by referring to the ID assigned to 1 by referring to the ID code including the random number m1 among the ID codes transmitted from the ECU 12.

【0052】このように、本実施の形態では、副ECU
の各々で生成された乱数をキーとして、主ECUにおい
て複数の乱数の各々に対してIDを割り当て、各乱数毎
に異なるIDが設定される。従って、各ECUにIDを
設定するために各ECUにトリガ信号を出力するための
構成が必要ないので、各々のECUの構成は簡略化され
る。また、各ECUでは乱数の生成の処理でIDの設定
をすることができ、SEL状態を設定する必要がないの
で、車両用多重通信装置の組み立て作業も容易となる。
As described above, in the present embodiment, the sub ECU
The main ECU assigns an ID to each of the plurality of random numbers using the random number generated by each of the keys as a key, and a different ID is set for each random number. Therefore, since a configuration for outputting a trigger signal to each ECU in order to set an ID in each ECU is not required, the configuration of each ECU is simplified. Further, each ECU can set the ID in the process of generating a random number, and it is not necessary to set the SEL state, so that the assembling work of the vehicle multiplex communication device becomes easy.

【0053】なお、本実施の形態ではフリーランカウン
タによってカウントされたカウント値を乱数として出力
する場合を説明したが、本発明はカウント値に限定され
るものではなく、乱数発生を行って、これを記憶して送
信するようにしてもよい。また、乱数発生器を構成にさ
らに加えて、乱数発生器からの乱数を記憶すると共に送
信するようにしてもよい。
In the present embodiment, the case where the count value counted by the free-run counter is output as a random number has been described. However, the present invention is not limited to the count value. May be stored and transmitted. Further, a random number generator may be further added to the configuration, and the random number from the random number generator may be stored and transmitted.

【0054】上記各実施の形態では、バッテリー電源B
Tに各ECUを接続したときに各々にIDが設定され、
設定されたIDは各ECUのRAMに記憶される。従っ
て、バッテリー電源BTから各ECUの接続が解除され
た時点(電源が供給されなくなった時点)でIDは消去
される。このような構成は、車両用多重通信装置の組み
立て作業を終了した後に後付装置(オプション装置)を
接続するときに有効である。すなわち、後付装置を接続
するときには、既に接続されている各ECUをバッテリ
ー電源BTから解除し、後付装置をさらに接続したのち
にバッテリー電源BTに各ECUを接続すれば、上記で
説明したように、IDが設定され、設定されたIDは各
ECUのRAMに記憶される。
In each of the above embodiments, the battery power source B
When each ECU is connected to T, an ID is set for each,
The set ID is stored in the RAM of each ECU. Therefore, the ID is erased when the connection of each ECU from the battery power supply BT is released (when power supply is stopped). Such a configuration is effective when the retrofitting device (optional device) is connected after the assembly work of the vehicle multiplex communication device is completed. That is, when connecting the retrofitting device, the ECUs already connected are released from the battery power supply BT, and after the retrofitting device is further connected, the ECUs are connected to the battery power supply BT, as described above. Is set, and the set ID is stored in the RAM of each ECU.

【0055】また、上記各実施の形態では、設定された
IDは各ECUの(電源が供給されなくなると消去され
る)RAMに記憶される。そこで、車両用多重通信装置
に不揮発性RAMをさらに備えて、この不揮発性RAM
にIDを記憶させるようにしてもよい。不揮発性RAM
にIDを記憶させる場合には、オペレータの指示によっ
てID設定を処理させるための設定ボタンを設けること
が好ましい。この設定ボタンは後付装置(オプション装
置)をさらに接続するとき等に用いるものである。
In each of the above embodiments, the set ID is stored in the RAM of each ECU (which is erased when the power is not supplied). Therefore, the vehicle multiplex communication device further includes a nonvolatile RAM, and the nonvolatile RAM
The ID may be stored in the. Non-volatile RAM
In the case where the ID is stored, it is preferable to provide a setting button for processing the ID setting in accordance with the instruction of the operator. This setting button is used when a retrofitting device (optional device) is further connected.

【0056】[0056]

【発明の効果】以上説明したように請求項1に記載した
発明によれば、複数の制御装置の各々において、信号発
生手段によって1つのトリガ信号が設定され、記憶手段
に記憶されたトリガ信号に対応するIDが登録手段によ
り登録されるので、他の制御装置とのデータ通信時に際
して複数の制御装置の各々は異なるIDにより判別する
ことができる、という効果がある。
As described above, according to the first aspect of the present invention, in each of the plurality of control devices, one trigger signal is set by the signal generation means and the trigger signal stored in the storage means is set to one. Since the corresponding ID is registered by the registration means, there is an effect that each of the plurality of control devices can be identified by a different ID when performing data communication with another control device.

【0057】請求項2に記載した発明によれば、複数の
各副制御装置で生成された数値の各々には主制御装置で
IDが割り当てられ、そのIDと数値とからなる複数の
ID情報を副制御装置で受信し、受信したID情報のう
ち送信した数値を含むID情報に含まれるIDを副制御
装置の自己のIDとして登録するので、複数の副制御装
置の各々には、異なるIDを設定することができる、と
いう効果がある。
According to the second aspect of the present invention, each of the numerical values generated by each of the plurality of sub-control devices is assigned an ID by the main control device, and a plurality of ID information composed of the ID and the numerical value is stored. The IDs received by the sub-control device and included in the ID information including the transmitted numerical value among the received ID information are registered as the sub-control device's own ID. Therefore, a different ID is assigned to each of the plurality of sub-control devices. There is an effect that it can be set.

【0058】請求項3に記載した発明によれば、主制御
装置が同一の数値を受信したときには、副制御装置に再
度数値を生成した後に送信させるので、主制御装置で受
信した複数の数値のうち同一の数値を含んでいる場合で
あっても、複数の副制御装置の各々には、異なるIDを
設定することができる、という効果がある。
According to the third aspect of the present invention, when the main control device receives the same numerical value, the sub-control device generates the numerical value again and transmits the generated numerical value. Even when the same numerical value is included, there is an effect that a different ID can be set to each of the plurality of sub-control devices.

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

【図1】本発明の実施の形態にかかる、車両用多重通信
装置の概略構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of a vehicular multiplex communication device according to an embodiment of the present invention.

【図2】主制御装置として機能するECUの概略構成を
示すブロック図である。
FIG. 2 is a block diagram illustrating a schematic configuration of an ECU that functions as a main control device.

【図3】ランプ駆動制御装置として機能するECUの概
略構成を示すブロック図である。
FIG. 3 is a block diagram illustrating a schematic configuration of an ECU that functions as a lamp drive control device.

【図4】第1実施の形態にかかり、ランプ駆動制御装置
として機能するECUにおいてなされる初期処理の流れ
を示すフロチャートである。
FIG. 4 is a flowchart showing a flow of initial processing performed by an ECU functioning as a lamp drive control device according to the first embodiment.

【図5】第2実施の形態にかり、主制御装置として機能
するECUにおいてなされる初期処理の流れを示すフロ
チャートである。
FIG. 5 is a flowchart showing a flow of an initial process performed by an ECU functioning as a main control device according to the second embodiment.

【図6】第2実施の形態にかり、ランプ駆動制御装置と
して機能するECUにおいてなされる初期処理の流れを
示すフロチャートである。
FIG. 6 is a flowchart showing a flow of initial processing performed by an ECU functioning as a lamp drive control device according to the second embodiment.

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

10 車両用多重通信装置 12,20,30 ECU 40,42 ランプ 10 Vehicle multiplex communication device 12, 20, 30 ECU 40, 42 Lamp

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 予め定めた複数の異なるトリガ信号の中
から1つのトリガ信号を設定する信号発生手段と、前記
複数の異なるトリガ信号の各々に対応するIDを記憶す
るID記憶手段と、前記記憶手段に記憶され前記設定さ
れたトリガ信号に対応するIDを登録する登録手段と、
登録されたIDを他の制御装置とのデータ通信時に付加
して送信する送信手段と、を備えた複数の制御装置と、 前記制御装置の各々がデータ通信するために電気的に接
続された共通信号線と、 を車両内に備えた車両用多重通信装置。
1. A signal generating means for setting one trigger signal from a plurality of predetermined different trigger signals; an ID storage means for storing an ID corresponding to each of the plurality of different trigger signals; Registration means for registering an ID stored in the means and corresponding to the set trigger signal;
Transmitting means for adding and transmitting the registered ID at the time of data communication with another control apparatus; and transmitting means for transmitting the registered ID, wherein each of the control apparatuses is electrically connected for data communication. A communication line and a multiplex communication device for a vehicle, which is provided in the vehicle.
【請求項2】 予め定めた条件に基づいて数値を生成す
る数値生成手段と、生成された数値を記憶する数値記憶
手段と、生成された数値を送信する数値送信手段と、少
なくとも数値及びIDからなるID情報を受信するID
受信手段と、受信したID情報のうち送信した数値を含
むID情報に含まれるIDを登録するID登録手段と、
を備えた複数の副制御装置と、 前記送信された数値を受信する数値受信手段と、受信し
た複数の数値の各々にIDを割り当てる割当手段と、前
記割当手段により割り当てられたIDと数値とからなる
複数のID情報を送信するID送信手段と、を備えた主
制御装置と、 前記主制御装置及び副制御装置の各々がデータ通信する
ために電気的に接続された共通信号線と、 を車両内に備えた車両用多重通信装置。
2. A numerical value generating means for generating a numerical value based on a predetermined condition; a numerical value storing means for storing the generated numerical value; a numerical value transmitting means for transmitting the generated numerical value; ID to receive the ID information
Receiving means, and ID registration means for registering an ID included in ID information including a transmitted numerical value among the received ID information,
A plurality of sub-control devices comprising: a numerical value receiving means for receiving the transmitted numerical value; an allocating means for allocating an ID to each of the plurality of received numerical values; and an ID and a numerical value allocated by the allocating means. A main control device having ID transmitting means for transmitting a plurality of pieces of ID information, and a common signal line electrically connected to each of the main control device and the sub control device for data communication. A vehicle multiplex communication device provided in the vehicle.
【請求項3】 前記主制御装置は、受信した複数の数値
の中に同一の数値があるときに少なくとも同一の数値を
送信した副制御装置に対して再度数値を生成した後に送
信することを要求する要求信号を出力する指示手段をさ
らに備えると共に、前記副制御装置は、前記要求信号を
受信する要求信号受信手段をさらに備えたことを特徴と
する請求項2に記載の車両用多重通信装置。
3. The main controller requests a sub-controller that has transmitted at least the same numerical value to generate a numerical value again after transmitting the same numerical value when the received plural numerical values include the same numerical value. 3. The multiplex communication device for a vehicle according to claim 2, further comprising an instruction unit that outputs a request signal to perform the request, and wherein the sub-control device further includes a request signal receiving unit that receives the request signal.
JP8268701A 1996-10-09 1996-10-09 Multiplex communication equipment for vehicle Withdrawn JPH10117201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8268701A JPH10117201A (en) 1996-10-09 1996-10-09 Multiplex communication equipment for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8268701A JPH10117201A (en) 1996-10-09 1996-10-09 Multiplex communication equipment for vehicle

Publications (1)

Publication Number Publication Date
JPH10117201A true JPH10117201A (en) 1998-05-06

Family

ID=17462182

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8268701A Withdrawn JPH10117201A (en) 1996-10-09 1996-10-09 Multiplex communication equipment for vehicle

Country Status (1)

Country Link
JP (1) JPH10117201A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008100576A (en) * 2006-10-18 2008-05-01 Denso Corp On-vehicle equipment controller
KR100860621B1 (en) * 2007-05-11 2008-09-29 대성전기공업 주식회사 Control device of lamp for automobile
JP2016155529A (en) * 2015-02-26 2016-09-01 株式会社デンソー Electronic control device and communication system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008100576A (en) * 2006-10-18 2008-05-01 Denso Corp On-vehicle equipment controller
KR100860621B1 (en) * 2007-05-11 2008-09-29 대성전기공업 주식회사 Control device of lamp for automobile
JP2016155529A (en) * 2015-02-26 2016-09-01 株式会社デンソー Electronic control device and communication system

Similar Documents

Publication Publication Date Title
CA2410178C (en) Communication network for an automobile
US6684152B2 (en) Method of initializing a system for open/closed-loop control of the operational sequences of a motor vehicle and a system for carrying out the method
US5525959A (en) Device for monitoring the functions of a plurality of control units in a motor
JP3082282B2 (en) In-vehicle communication device
CN111032438B (en) Control apparatus, control method, and computer program
US6904339B2 (en) Method for coding control devices in means of conveyance
JP2008155906A (en) On-vehicle connector, main control device, and load control system
EP3655291B1 (en) Configurable management system for a vehicle and method of use
CN1154937C (en) Data processing system and method for remotely inhibiting work of subscriber&#39;s computer system
CN107404337A (en) Network power supply method and its device
US10795845B1 (en) Method and system for auto-addressing nodes on a communication bus
EP1646186A2 (en) Address allocation system
US20100214119A1 (en) Method and device for assigning addresses in a system having a plurality of generator units positioned in parallel
JPH10117201A (en) Multiplex communication equipment for vehicle
US20110222433A1 (en) Automatic address configuration of vehicle network devices during installation
JPH0325046A (en) Control device for network in vehicle
US20050017872A1 (en) Apparatus and method for preventing malfunction of remote controller
JP3106927B2 (en) Communications system
JPH07273781A (en) Multiple transmitter
US20040162956A1 (en) System and method for implementing a hidden address in a communication module
US20050097906A1 (en) Air conditioner and method of controlling the same
JP2000207194A (en) Method for writing data into nonvolatile memory inside on-vehicle electronic unit
KR101108027B1 (en) Digital wiring system for vehicles
JP3005561B1 (en) Air conditioning system address setting method and device
CN111071180A (en) Communication system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040106