JP2017092639A - Id assignment correction method and onboard communication system - Google Patents

Id assignment correction method and onboard communication system Download PDF

Info

Publication number
JP2017092639A
JP2017092639A JP2015218426A JP2015218426A JP2017092639A JP 2017092639 A JP2017092639 A JP 2017092639A JP 2015218426 A JP2015218426 A JP 2015218426A JP 2015218426 A JP2015218426 A JP 2015218426A JP 2017092639 A JP2017092639 A JP 2017092639A
Authority
JP
Japan
Prior art keywords
slave control
control unit
control units
resistance value
temporary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015218426A
Other languages
Japanese (ja)
Other versions
JP6568455B2 (en
Inventor
牧 陽一
Yoichi Maki
陽一 牧
元辰 松永
Genshin Matsunaga
元辰 松永
杉本 晃三
Kozo Sugimoto
晃三 杉本
智則 鈴木
Tomonori Suzuki
鈴木  智則
啓佑 土井
Keisuke Doi
啓佑 土井
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.)
Toyota Motor Corp
Yazaki Corp
Original Assignee
Toyota Motor Corp
Yazaki 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 Toyota Motor Corp, Yazaki Corp filed Critical Toyota Motor Corp
Priority to JP2015218426A priority Critical patent/JP6568455B2/en
Publication of JP2017092639A publication Critical patent/JP2017092639A/en
Application granted granted Critical
Publication of JP6568455B2 publication Critical patent/JP6568455B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To automatically correct an ID to a proper ID without increasing the number of components for constructing a system and the number of product numbers, and performing troublesome work.SOLUTION: A system determines an ID of a slave control part by providing an ID assignment wire constructed by a resistor to a wiring harness connecting a master control part and a plurality of slave control parts, and is based on a difference of a resistance value (Rw) corresponding to the difference of an attachment position. The system automatically corrects the ID to a proper value. The plurality of slave control parts sequentially communicates between the other slave control parts. In S15, information on the resistance value of the ID assignment wire is communicated each other. In S16, a position relationship of an upstream/a downstream between the other slave control parts is recognized. In S1, the ID is corrected on the basis of the position relationship. A temporary ID larger than an upper limit value of a regular ID is assigned at first, thereby reducing a possibility of a signal collision.SELECTED DRAWING: Figure 4

Description

本発明は、車両に搭載される通信システムにおいて、スレーブ制御部のIDの割り当てを修正するためのID割り当て修正方法および車載通信システムに関する。   The present invention relates to an ID allocation correction method and an in-vehicle communication system for correcting ID allocation of a slave control unit in a communication system mounted on a vehicle.

車両においては、制御すべき多数の負荷、すなわちランプ、ヒータ、電気モータ等が様々な部位に分散した状態で配置されている。これらの負荷を制御するために、電子制御ユニット(ECU)などの制御部も多数設けられている。そして多数の制御部が互いに通信できるように、これらは車両上の通信ネットワークを介して接続されている。実際には、車両上の各部を接続するワイヤハーネスに設けられた通信線を利用して通信ネットワークを構成する。   In a vehicle, a large number of loads to be controlled, that is, lamps, heaters, electric motors, and the like, are arranged in various states. In order to control these loads, a large number of control units such as an electronic control unit (ECU) are also provided. And these are connected via the communication network on a vehicle so that many control parts can mutually communicate. In practice, a communication network is configured using communication lines provided in a wire harness that connects each part on the vehicle.

このように通信ネットワークで互いに接続された多数の制御部により通信システムを構成する場合には、特許文献1に示されているように、システム全体を管理するためのマスタ制御部と、その配下に接続される多数のスレーブ制御部とを設けるのが一般的である。また、このような通信システムにおいては、各々の制御部がネットワーク上で複数の通信相手を区別して通信できるように、更に複数の制御部が送出した信号がネットワーク上で衝突するのを回避するために、それぞれの制御部に固有のIDを事前に割り当てる必要がある。   When a communication system is configured by a large number of control units connected to each other through a communication network in this way, as shown in Patent Document 1, a master control unit for managing the entire system and its subordinates are provided. In general, a large number of slave control units to be connected are provided. Further, in such a communication system, in order for each control unit to distinguish and communicate with a plurality of communication partners on the network, in order to avoid collision of signals transmitted from the plurality of control units on the network. In addition, it is necessary to assign a unique ID to each control unit in advance.

特許文献1においては、各々のスレーブ制御部を接続するコネクタ内に、2つの抵抗器を直列に接続して構成した分圧回路を配置してあり、この分圧回路の分圧比により接続先のスレーブ制御部に割り当てるIDが決定される。   In Patent Document 1, a voltage dividing circuit configured by connecting two resistors in series is arranged in a connector connecting each slave control unit, and the connection destination is determined by the voltage dividing ratio of this voltage dividing circuit. An ID to be assigned to the slave control unit is determined.

特開2005−229561号公報JP 2005-229561 A

ところで、車両においては、車種の違い、グレードの違い、仕向地の違い、ユーザの希望する各種オプション装備の有無等に応じて、システムに接続される車載電装機器(例えばランプ、電気モータなど)の数や種類が変化する。したがって、上記のような車両の通信システムにおいては、実際のシステムの構成に合わせて、各スレーブ制御部のIDを適切に定める必要がある。   By the way, in a vehicle, depending on the type of vehicle, the difference in grade, the difference in destination, the presence of various optional equipment desired by the user, etc., the in-vehicle electrical equipment (for example, lamp, electric motor, etc.) connected to the system Numbers and types vary. Therefore, in the vehicle communication system as described above, it is necessary to appropriately determine the ID of each slave control unit in accordance with the actual system configuration.

そのため、特許文献1の技術を採用する場合には、予め固有のIDが割り当てられた多種類の車載コネクタを事前に用意しておき、最初にネットワークを構築する場合や、構築したネットワークに新たな機能の追加を行う場合にコネクタの種類を変更する必要があった。したがって、各車載コネクタ内の基板の種類数や品番が増えてしまうという問題があり、部品の交換作業も必要になる。   Therefore, when adopting the technique of Patent Document 1, a variety of in-vehicle connectors to which unique IDs are assigned in advance are prepared in advance, and when a network is constructed for the first time or a new network is created. It was necessary to change the connector type when adding functions. Therefore, there is a problem that the number of types and product numbers of the boards in each in-vehicle connector increases, and parts replacement work is also required.

そこで、抵抗体により構成される特別な電線(ID割り当て用電線)をワイヤハーネスに組み込み、マスタ制御部からスレーブ制御部までの前記ID割り当て用電線の長さにより定まる抵抗値を、IDを決定する分圧回路の一方の抵抗器として代用することが考えられる。このようにすると、各コネクタに組み込む分圧回路の抵抗器の抵抗値を共通化することができ、部品数や品番数の削減が可能になる。また、ワイヤハーネス上の取り付け位置が異なる複数のスレーブ制御部に対して、それぞれ異なるIDを自動的に割り当てることが可能になる。   Therefore, a special electric wire (ID assigning wire) constituted by a resistor is incorporated in the wire harness, and the resistance value determined by the length of the ID assigning wire from the master control unit to the slave control unit is determined as the ID. It is conceivable to substitute one resistor of the voltage dividing circuit. In this way, the resistance values of the resistors of the voltage dividing circuit incorporated in each connector can be made common, and the number of parts and the number of product numbers can be reduced. Further, different IDs can be automatically assigned to a plurality of slave control units having different attachment positions on the wire harness.

しかしながら、上記のID割り当て用電線を用いる場合に、各スレーブ制御部に不適切なIDが割り当てられる可能性があり、複数のスレーブ制御部から送出された信号がネットワーク上で衝突したり、ID認識の不具合が発生する可能性があった。不適切なIDが割り当てられる原因として以下のものが考えられる。   However, when the above-described ID assigning wires are used, an inappropriate ID may be assigned to each slave control unit, and signals sent from a plurality of slave control units may collide on the network, or ID recognition There was a possibility that this problem occurred. Possible reasons for inappropriate ID assignment are as follows.

(1)前記ID割り当て用電線の抵抗値にばらつきがある。
(2)抵抗値を読み取る回路の特性にばらつきがある。
(3)分圧回路に印加される基準電圧にばらつきがある。
(4)温度変化、電圧の変化などの環境要因により上記各ばらつきが変動する。
(1) There is variation in the resistance value of the ID assigning wires.
(2) There is variation in the characteristics of the circuit that reads the resistance value.
(3) There is variation in the reference voltage applied to the voltage dividing circuit.
(4) The above variations vary due to environmental factors such as temperature change and voltage change.

したがって、不適切なIDが割り当てられた場合に適切なIDに修正しなければならず、この修正作業に手間がかかるという問題がある。しかし、例えば特許文献1のような方法では、部品数や品番が増えてコスト増になるため、部品数や品番を増やすことなく、かつ手間のかかる作業を行うことなく適切なIDに修正できることが望まれる。   Therefore, when an inappropriate ID is assigned, the ID must be corrected to an appropriate ID, and this correction work takes time. However, in the method such as Patent Document 1, since the number of parts and the product number increase and the cost increases, the ID can be corrected to an appropriate ID without increasing the number of parts and the product number and without performing laborious work. desired.

本発明は、上述した事情に鑑みてなされたものであり、その目的は、部品数や品番を増やすことなく、かつ手間のかかる作業を行うことなく適切なIDに自動的に修正することが可能なID割り当て修正方法および車載通信システムを提供することにある。   The present invention has been made in view of the above-described circumstances, and the object thereof is to automatically correct to an appropriate ID without increasing the number of parts and the product number and without performing laborious work. Is to provide an ID allocation correction method and an in-vehicle communication system.

前述した目的を達成するために、本発明に係るID割り当て修正方法は、下記(1)〜(5)を特徴としている。
(1) マスタ制御部と複数のスレーブ制御部とがワイヤハーネスを介して互いに通信可能な状態で接続され、抵抗体で構成されるID割り当て用電線が前記ワイヤハーネスに含まれ、前記複数のスレーブ制御部の各々に内蔵された基準抵抗器の抵抗値と、前記ID割り当て用電線の抵抗値とに応じて前記各スレーブ制御部のIDが決定される車両上の通信システムにおいて、前記各スレーブ制御部のIDの割り当てを修正するためのID割り当て修正方法であって、
前記複数のスレーブ制御部の各々が、順番に、他のスレーブ制御部との間で通信を行い、前記ID割り当て用電線の抵抗値により定まる取り付け位置に応じた特性値を互いに交換して、他のスレーブ制御部との間の上流/下流の位置関係を把握し、前記位置関係に基づいてIDを修正する、
ことを特徴とする。
(2) 上記(1)に記載のID割り当て修正方法において、
前記複数のスレーブ制御部が通信線に出力する信号が互いに衝突するのを回避するために、前記スレーブ制御部同士の間での通信が開始される前に、前記マスタ制御部もしくは前記スレーブ制御部が前記複数のスレーブ制御部の各々に、仮IDを付与し、
前記複数のスレーブ制御部の各々が、割り当てられた前記仮IDの番号順に従い、前記仮IDを正規のIDに修正するための前記通信を開始する、
ことを特徴とする。
(3) 上記(2)に記載のID割り当て修正方法において、
前記マスタ制御部もしくは前記スレーブ制御部は、前記仮IDとして、正規のIDの上限値よりも大きい値を前記各スレーブ制御部に割り当てる、
ことを特徴とする。
(4) 上記(2)または(3)に記載のID割り当て修正方法において、
前記マスタ制御部もしくは前記スレーブ制御部は、前記仮IDを割り当てる前に、前記各スレーブ制御部から前記特性値を取得し、前記特性値の大小関係に基づいて前記仮IDを割り当てる、
ことを特徴とする。
(5) 上記(1)に記載のID割り当て修正方法において、
前記複数のスレーブ制御部の間の通信において、複数のスレーブ制御部が送出した信号の衝突が発生した場合には、前記信号を送出した各々のスレーブ制御部がランダムな時間を経過した後で再び通信線への信号の送出を実行する、
ことを特徴とする。
In order to achieve the above-described object, the ID allocation correction method according to the present invention is characterized by the following (1) to (5).
(1) The master control unit and the plurality of slave control units are connected to each other via a wire harness so as to communicate with each other, and an ID assignment electric wire configured by a resistor is included in the wire harness, and the plurality of slaves In the communication system on the vehicle in which the ID of each slave control unit is determined according to the resistance value of the reference resistor built in each of the control units and the resistance value of the ID assigning wire, each slave control An ID allocation correction method for correcting the allocation of part IDs,
Each of the plurality of slave control units communicates with other slave control units in order, and exchanges the characteristic values according to the mounting position determined by the resistance value of the ID assigning wire with each other. To grasp the upstream / downstream positional relationship with the slave control unit of, and correct the ID based on the positional relationship,
It is characterized by that.
(2) In the ID assignment correction method described in (1) above,
Before the communication between the slave control units is started, the master control unit or the slave control unit is arranged to avoid the signals output from the plurality of slave control units from colliding with each other. Gives a temporary ID to each of the plurality of slave control units,
Each of the plurality of slave control units starts the communication for correcting the temporary ID to a regular ID according to the assigned numerical order of the temporary ID.
It is characterized by that.
(3) In the ID assignment correction method described in (2) above,
The master control unit or the slave control unit assigns a value larger than the upper limit value of a regular ID to the slave control unit as the temporary ID.
It is characterized by that.
(4) In the ID assignment correction method described in (2) or (3) above,
The master control unit or the slave control unit acquires the characteristic value from each slave control unit before assigning the temporary ID, and assigns the temporary ID based on the magnitude relationship of the characteristic values.
It is characterized by that.
(5) In the ID assignment correction method described in (1) above,
In the communication between the plurality of slave control units, when a collision of signals transmitted from the plurality of slave control units occurs, the slave control units that have transmitted the signals again after a random time has passed. Execute transmission of signals to the communication line,
It is characterized by that.

上記(1)の構成のID割り当て修正方法によれば、前記各スレーブ制御部が隣接する他のスレーブ制御部との位置関係を、それ自身の特性値と、通信により取得した他のスレーブ制御部の特性値との比較により把握し、前記ワイヤハーネスに沿った方向の上流/下流を区別できるので、例えば前記ワイヤハーネスの上流側から下流側に向かって順番にIDを自動的に割り当てることができる。
上記(2)の構成のID割り当て修正方法によれば、前記マスタ制御部が互いに異なる番号を前記仮IDとして各スレーブ制御部に割り当てることにより、複数のスレーブ制御部が同時に信号を送出するのを避けることができ、信号の衝突が生じない。また、前記複数のスレーブ制御部が前記仮IDを正規のIDに修正するための動作を前記仮IDに従って順番に行うことができる。
上記(3)の構成のID割り当て修正方法によれば、正規のIDの値と前記仮IDの値とが一致することがないため、前記仮IDが割り当てられた1つのスレーブ制御部が送出する信号と、正規のIDに修正された他のスレーブ制御部が送出する信号とが衝突するのを避けることができる。
上記(4)の構成のID割り当て修正方法によれば、前記ワイヤハーネスの流れに沿って、前記複数のスレーブ制御部に順番に前記仮IDを割り当てることができる。
上記(5)の構成のID割り当て修正方法によれば、信号の衝突が発生した場合であっても、次に再び通信する際には、衝突が生じる可能性が小さいので通信を行うことができる。したがって、一時的に同じ値のIDが複数のスレーブ制御部に同時に割り当てられた場合であっても、スレーブ制御部同士の間で通信を行うことができるため、正規のIDに修正することができる。
According to the ID allocation correction method having the configuration of (1) above, the position relationship between each slave control unit and another slave control unit adjacent to each other, the other slave control unit acquired by communication with its own characteristic value By comparing with the characteristic value, it is possible to distinguish upstream / downstream in the direction along the wire harness. For example, IDs can be automatically assigned in order from the upstream side to the downstream side of the wire harness. .
According to the ID allocation correction method having the configuration of (2) above, the master control unit allocates different numbers to the slave control units as the temporary IDs, so that a plurality of slave control units simultaneously transmit signals. It can be avoided and no signal collision occurs. Further, the operations for the plurality of slave control units to correct the temporary ID to a regular ID can be sequentially performed according to the temporary ID.
According to the ID allocation correction method having the configuration of (3) above, since the value of the regular ID and the value of the temporary ID do not match, one slave control unit to which the temporary ID is allocated sends it. It is possible to avoid a collision between a signal and a signal transmitted by another slave control unit corrected to a regular ID.
According to the ID assignment correction method having the configuration (4), the temporary IDs can be assigned in order to the plurality of slave control units along the flow of the wire harness.
According to the ID allocation correction method having the configuration (5) above, even when a signal collision occurs, the next time communication is performed again, the possibility of the collision occurring is small, so that communication can be performed. . Therefore, even when the ID of the same value is temporarily assigned to a plurality of slave control units at the same time, communication can be performed between the slave control units, so that the ID can be corrected to a regular ID. .

前述した目的を達成するために、本発明に係る車載通信システムは、下記(6)を特徴としている。
(6) マスタ制御部と複数のスレーブ制御部とがワイヤハーネスを介して互いに通信可能な状態で接続され、抵抗体で構成されるID割り当て用電線が前記ワイヤハーネスに含まれ、前記複数のスレーブ制御部の各々に内蔵された基準抵抗器の抵抗値と、前記ID割り当て用電線の抵抗値とに応じて前記各スレーブ制御部のIDが決定される車載通信システムであって、
前記複数のスレーブ制御部の各々が、順番に、他のスレーブ制御部との間で通信を行い、前記ID割り当て用電線の抵抗値により定まる取り付け位置に応じた特性値を互いに交換して、他のスレーブ制御部との間の上流/下流の位置関係を把握し、前記位置関係に基づいてIDを修正するID修正制御部、を備えた、
ことを特徴とする。
In order to achieve the above-described object, the in-vehicle communication system according to the present invention is characterized by the following (6).
(6) The master control unit and the plurality of slave control units are connected in a state where they can communicate with each other via a wire harness, and an ID assignment electric wire configured by a resistor is included in the wire harness, and the plurality of slaves An in-vehicle communication system in which an ID of each slave control unit is determined according to a resistance value of a reference resistor built in each of the control units and a resistance value of the ID assigning wire,
Each of the plurality of slave control units communicates with other slave control units in order, and exchanges the characteristic values according to the mounting position determined by the resistance value of the ID assigning wire with each other. An upstream / downstream positional relationship with the slave control unit, and an ID correction control unit that corrects the ID based on the positional relationship,
It is characterized by that.

上記(6)の構成の車載通信システムによれば、前記各スレーブ制御部の前記ID修正制御部が、隣接する他のスレーブ制御部との位置関係を、それ自身の特性値と、通信により取得した他のスレーブ制御部の特性値との比較により把握し、前記ワイヤハーネスに沿った方向の上流/下流を区別できるので、例えば前記ワイヤハーネスの上流側から下流側に向かって順番にIDを自動的に割り当てることができる。   According to the in-vehicle communication system having the configuration of (6) above, the ID correction control unit of each slave control unit obtains the positional relationship with other adjacent slave control units by communication with its own characteristic value. By comparing with the characteristic values of the other slave control units, it is possible to distinguish upstream / downstream in the direction along the wire harness. For example, IDs are automatically assigned in order from the upstream side to the downstream side of the wire harness. Can be assigned automatically.

本発明のID割り当て修正方法および車載通信システムによれば、部品数や品番を増やすことなく、かつ手間のかかる作業を行うことなく適切なIDに自動的に修正することが可能である。すなわち、前記複数のスレーブ制御部について、分圧回路の部品や動作を共通化できるので装置のコストを低減できる。また、自動的にIDを適切な値に修正できるので、調整作業が不要になる。また、各スレーブ制御部のIDを正しく修正することにより、信号の衝突が生じる可能性を大幅に低減できる。   According to the ID allocation correction method and the in-vehicle communication system of the present invention, it is possible to automatically correct to an appropriate ID without increasing the number of parts and the product number and without performing laborious work. That is, since the parts and operations of the voltage dividing circuit can be made common for the plurality of slave control units, the cost of the apparatus can be reduced. Further, since the ID can be automatically corrected to an appropriate value, adjustment work is not necessary. Further, by correctly correcting the ID of each slave control unit, the possibility of signal collision can be greatly reduced.

以上、本発明について簡潔に説明した。更に、以下に説明される発明を実施するための形態(以下、「実施形態」という。)を添付の図面を参照して通読することにより、本発明の詳細は更に明確化されるであろう。   The present invention has been briefly described above. Further, the details of the present invention will be further clarified by reading through a mode for carrying out the invention described below (hereinafter referred to as “embodiment”) with reference to the accompanying drawings. .

図1は、本発明の実施形態における車載通信システムの構成の概要を示すブロック図である。FIG. 1 is a block diagram showing an outline of a configuration of an in-vehicle communication system according to an embodiment of the present invention. 図2は、本発明の実施形態における車載通信システムの一部分を詳細に示すブロック図である。FIG. 2 is a block diagram showing in detail a part of the in-vehicle communication system in the embodiment of the present invention. 図3は、抵抗値Rwと割り当てるIDとの対応関係を示すグラフである。FIG. 3 is a graph showing the correspondence between the resistance value Rw and the assigned ID. 図4は、各スレーブ制御部のID割り当てのための車載通信システムの制御の内容を示すフローチャートである。FIG. 4 is a flowchart showing the contents of control of the in-vehicle communication system for ID assignment of each slave control unit. 図5は、衝突回避処理を含む各スレーブ制御部のデータ送信動作を示すフローチャートである。FIG. 5 is a flowchart showing a data transmission operation of each slave control unit including a collision avoidance process. 図6は、各制御部の接続位置と各制御部に最初に割り当てるIDとの対応関係を示すブロック図である。FIG. 6 is a block diagram illustrating a correspondence relationship between connection positions of the control units and IDs initially assigned to the control units. 図7(A)、図7(B)、および図7(C)は、3つの状態における各制御部間の通信状態を示すブロック図である。FIG. 7A, FIG. 7B, and FIG. 7C are block diagrams showing communication states between the control units in three states. 図8は、衝突が発生する場合の各制御部間の通信状態の具体例を示すブロック図である。FIG. 8 is a block diagram illustrating a specific example of a communication state between the control units when a collision occurs.

本発明のID割り当て修正方法および車載通信システムに関する具体的な実施の形態について、各図を参照しながら以下に説明する。   Specific embodiments of the ID allocation correction method and the in-vehicle communication system according to the present invention will be described below with reference to the drawings.

<システムの概要の説明>
本発明の実施形態における車載通信システムの構成の概要を図1に示す。また、この車載通信システムの一部分の詳細な構成例を図2に示す。
<Description of system overview>
An outline of the configuration of the in-vehicle communication system in the embodiment of the present invention is shown in FIG. A detailed configuration example of a part of the in-vehicle communication system is shown in FIG.

図1に示した車載通信システム100は、オプション装備を含む様々な種類の電装品を車両に搭載する際に、電源電力の供給を行ったり、負荷の通電のオンオフ等を制御する制御信号を伝送するための電気接続を実現するための構成を含んでいる。   The in-vehicle communication system 100 shown in FIG. 1 transmits a control signal for supplying power or controlling turning on / off of a load when various types of electrical components including optional equipment are mounted on a vehicle. The structure for realizing the electrical connection for doing is included.

図1に示した例では、補機40(1)、40(2)、及び40(3)として、3つの電装品を接続する場合を想定しているが、実際に接続される電装品の数、種類、接続位置などについては、このシステムを搭載する車両の仕様、すなわち車種の違い、仕向地の違い、グレードの違いなどにより変化する。補機40(1)、40(2)、及び40(3)の代表例としては、エアコン、ヘッドランプ等の照明装置、パワーウインドゥ装置、ドアロック装置、パワースライドドア装置、ドアクローザー装置、ドアミラー装置、サンシェード装置などがある。   In the example shown in FIG. 1, it is assumed that three electrical components are connected as auxiliary machines 40 (1), 40 (2), and 40 (3). The number, type, connection position, and the like vary depending on the specifications of the vehicle on which the system is installed, that is, the difference in the vehicle type, the destination, the grade, and the like. Representative examples of the auxiliary machines 40 (1), 40 (2), and 40 (3) include lighting devices such as air conditioners and headlamps, power window devices, door lock devices, power slide door devices, door closer devices, and door mirrors. Devices, sunshade devices, etc.

上記のような補機は、例えば電気モータ、ランプ、リレーのような電気的に駆動可能な負荷を内蔵しているので、車両側から電源電力を供給すると共に、通電のオンオフ等を外部から制御する必要がある。   The auxiliary machine as described above incorporates an electrically drivable load such as an electric motor, a lamp, and a relay, for example, so that it supplies power from the vehicle side and controls on / off of energization from the outside. There is a need to.

また、上記のような補機は、例えば車種の違いに応じて搭載の有無が決まったり、ユーザの選択可能なオプション装備として用意される場合がある。したがって、図1に示した補機40(1)、40(2)、及び40(3)の各々は、実際には搭載されない場合もあるし、種類の異なる補機が必要に応じて接続される場合もある。   In addition, the above-mentioned auxiliary machine may be provided as optional equipment that can be selected by the user, for example, depending on the type of vehicle. Therefore, each of the auxiliary machines 40 (1), 40 (2), and 40 (3) shown in FIG. 1 may not actually be mounted, and different types of auxiliary machines may be connected as necessary. There is also a case.

そこで、図1の車載通信システム100においては、各補機40(1)、40(2)、及び40(3)を、ワイヤハーネスW/Hの任意の箇所に後付けで接続できるように構成してある。実際には、ワイヤハーネスW/Hにスレーブ制御部30(1)を接続し、このスレーブ制御部30(1)の配下に補機40(1)を接続してある。また、ワイヤハーネスW/Hの別の箇所にスレーブ制御部30(2)を接続し、このスレーブ制御部30(2)の配下に補機40(2)を接続してある。更に、ワイヤハーネスW/Hの別の箇所にスレーブ制御部30(3)を接続し、このスレーブ制御部30(3)の配下に補機40(3)を接続してある。各スレーブ制御部30は、ワイヤハーネスの端部に接続されたコネクタに内蔵された電子回路である。   Therefore, the in-vehicle communication system 100 of FIG. 1 is configured such that each auxiliary machine 40 (1), 40 (2), and 40 (3) can be retrofitted to any part of the wire harness W / H. It is. Actually, the slave control unit 30 (1) is connected to the wire harness W / H, and the auxiliary machine 40 (1) is connected to the slave control unit 30 (1). Moreover, the slave control part 30 (2) is connected to another location of the wire harness W / H, and the auxiliary machine 40 (2) is connected under the slave control part 30 (2). Furthermore, the slave control unit 30 (3) is connected to another part of the wire harness W / H, and the auxiliary device 40 (3) is connected to the slave control unit 30 (3). Each slave control unit 30 is an electronic circuit built in a connector connected to the end of the wire harness.

したがって、接続対象の補機毎に幹線から分岐した特別なサブハーネスを用意しておかなくても各補機40をワイヤハーネスW/Hに直接的に接続できるので、ワイヤハーネスの構成を簡素化することができる。また、補機を接続しない場合に、付け捨てになる部品(サブハーネス等)が増えることもない。   Therefore, each auxiliary machine 40 can be directly connected to the wire harness W / H without preparing a special sub-harness branched from the main line for each auxiliary machine to be connected, thus simplifying the configuration of the wire harness. can do. Further, when the auxiliary machine is not connected, there is no increase in the number of parts (sub-harness, etc.) that are discarded.

図1に示した車載通信システム100の例では、接続に用いるワイヤハーネスW/Hは、電源線W1、通信線W2、及びID割り当て用電線W3の3本の電線で構成されている。なお、アース線をワイヤハーネスW/Hに含める場合もあるが、アース接続については、各スレーブ制御部の近傍や、各補機の近傍で車体アースと接続することが可能であるため、必ずしもワイヤハーネスW/Hにアース線を含める必要はない。   In the example of the in-vehicle communication system 100 shown in FIG. 1, the wire harness W / H used for connection is composed of three electric wires: a power line W1, a communication line W2, and an ID assignment electric wire W3. In addition, although a ground wire may be included in the wire harness W / H, the ground connection can be connected to the vehicle body ground in the vicinity of each slave control unit or in the vicinity of each auxiliary machine. The ground wire need not be included in the harness W / H.

ワイヤハーネスW/Hの電源線W1には、車両上の主電源であるバッテリー等の出力から、ジャンクションボックス10の内部で分配された1つの系統の電源電力、例えば+12Vの直流電圧が供給される。   The power supply line W1 of the wire harness W / H is supplied with power supply power of one system distributed within the junction box 10, for example, a DC voltage of +12 V, from the output of a battery or the like as a main power supply on the vehicle. .

ワイヤハーネスW/Hの通信線W2は、マスタ制御部20と各スレーブ制御部30(1)、30(2)、30(3)との間でデータ通信を行うための伝送路を形成する。例えば、CAN (Controller Area Network)、あるいはCXPI(Clock Extension Peripheral Interface)、LIN(Local Interconnect Network)のような通信規格に従って通信するためのインタフェースをマスタ制御部20及び各スレーブ制御部30が内蔵しており、これらが通信線W2を経由して相互にデータ通信を行うことができる。   The communication line W2 of the wire harness W / H forms a transmission path for performing data communication between the master control unit 20 and each slave control unit 30 (1), 30 (2), 30 (3). For example, the master control unit 20 and each slave control unit 30 incorporate an interface for communication according to a communication standard such as CAN (Controller Area Network), CXPI (Clock Extension Peripheral Interface), or LIN (Local Interconnect Network). These can perform data communication with each other via the communication line W2.

ID割り当て用電線W3は、通常の導電体よりも抵抗率が大きい抵抗体で構成される特別な電線であり、ID割り当てのために特別に設けられている。つまり、長さに応じてID割り当て用電線W3の抵抗値が変化する。また、長さによる抵抗値の違いを各スレーブ制御部30が把握することも容易である。   The ID assignment electric wire W3 is a special electric wire made of a resistor having a resistivity higher than that of a normal conductor, and is provided specifically for ID assignment. That is, the resistance value of the ID assignment electric wire W3 changes according to the length. Further, it is easy for each slave control unit 30 to grasp the difference in resistance value depending on the length.

ID割り当て用電線W3は、マスタ制御部20側の一端がアース25に接続されており、ID割り当て用電線W3の途中の接続点Pe1、Pe2、およびPe3の各位置でスレーブ制御部30(1)、30(2)、および30(3)の各々と接続されている。   One end of the ID assignment electric wire W3 on the master control unit 20 side is connected to the ground 25, and the slave control unit 30 (1) at each of the connection points Pe1, Pe2 and Pe3 in the middle of the ID assignment electric wire W3. , 30 (2), and 30 (3).

したがって、スレーブ制御部30(1)は、アース点Pgndから接続点Pe1までの距離に相当する抵抗体長Lw1に応じたID割り当て用電線W3の抵抗値を検出できる。また、スレーブ制御部30(2)は、アース点Pgndから接続点Pe2までの距離に相当する抵抗体長Lw2に応じたID割り当て用電線W3の抵抗値を検出できる。スレーブ制御部30(3)は、アース点Pgndから接続点Pe3までの距離に相当する抵抗体長Lw3に応じたID割り当て用電線W3の抵抗値を検出できる。   Therefore, the slave control unit 30 (1) can detect the resistance value of the ID assigning wire W3 corresponding to the resistor length Lw1 corresponding to the distance from the ground point Pgnd to the connection point Pe1. Further, the slave control unit 30 (2) can detect the resistance value of the ID assignment electric wire W3 corresponding to the resistor length Lw2 corresponding to the distance from the ground point Pgnd to the connection point Pe2. The slave control unit 30 (3) can detect the resistance value of the ID assignment electric wire W3 corresponding to the resistor length Lw3 corresponding to the distance from the ground point Pgnd to the connection point Pe3.

例えば、補機40(1)に内蔵される負荷を駆動するために前記負荷に通電する場合には、スレーブ制御部30(1)に内蔵されたスイッチング回路を導通状態にすることで、電源線W1、前記スイッチング回路、前記負荷を経由して、アースに電流が流れ、前記負荷が動作する。前記スイッチング回路のオンオフを制御するための指示については、マスタ制御部20から通信線W2を経由してスレーブ制御部30(1)に送ることができる。   For example, when energizing the load to drive a load built in the auxiliary machine 40 (1), the switching circuit built in the slave control unit 30 (1) is brought into a conductive state, whereby the power line A current flows to the ground via W1, the switching circuit, and the load, and the load operates. An instruction for controlling on / off of the switching circuit can be sent from the master control unit 20 to the slave control unit 30 (1) via the communication line W2.

同様に、スレーブ制御部30(2)に内蔵されたスイッチング回路を導通状態にすることで、電源線W1、前記スイッチング回路、補機40(2)内の負荷を経由して、アースに電流が流れ、前記負荷が動作する。また、スレーブ制御部30(3)に内蔵されたスイッチング回路を導通状態にすることで、電源線W1、前記スイッチング回路、補機40(3)内の負荷を経由して、アースに電流が流れ、前記負荷が動作する。   Similarly, by turning on the switching circuit built in the slave control unit 30 (2), a current is connected to the ground via the power line W1, the switching circuit, and the load in the auxiliary device 40 (2). The load operates. In addition, when the switching circuit built in the slave control unit 30 (3) is turned on, a current flows to the ground via the power line W1, the switching circuit, and the load in the auxiliary device 40 (3). The load operates.

尚、ワイヤハーネスW/Hと後付けする各スレーブ制御部30の内部回路との現実の電気接続については、「圧接」、「接着」、「溶着」などの物理的接続形態で実現することができる。また、スレーブ制御部30と補機40との接続形態については、専用の電線を用いて電線同士を接続する形態(WtoW)で接続しても良いし、スレーブ制御部30と補機40とを物理的及び電気的に直結しても良いし、ワイヤハーネスW/H上の短い電線を経由して接続する形態(ピックテールW/H)を用いても良い。また、スレーブ制御部30及び補機40をワイヤハーネスW/Hに直接取り付ける形態も考えられる。   The actual electrical connection between the wire harness W / H and the internal circuit of each slave control unit 30 to be retrofitted can be realized by physical connection forms such as “pressure welding”, “adhesion”, and “welding”. . Moreover, about the connection form of the slave control part 30 and the auxiliary machine 40, you may connect by the form (WtoW) which connects electric wires using an exclusive electric wire, and the slave control part 30 and the auxiliary machine 40 are connected. It may be physically and electrically connected directly, or may be connected via a short electric wire on the wire harness W / H (pick tail W / H). A configuration in which the slave control unit 30 and the auxiliary device 40 are directly attached to the wire harness W / H is also conceivable.

<詳細な構成の具体例>
図1に示したマスタ制御部20及びスレーブ制御部30の詳細な構成例を図2に示す。
<Specific example of detailed configuration>
2 shows a detailed configuration example of the master control unit 20 and the slave control unit 30 shown in FIG.

<マスタ制御部20の構成>
図2の構成例においては、マスタ制御部20は、マイクロコンピュータ(CPU)21、データ通信用トランシーバ22、および機器テーブル23を内蔵している。機器テーブル23は、例えば不揮発性メモリ上に配置される。また、マイクロコンピュータ21が実現する機能として、図2に示すようにデータ通信制御機能21a、負荷制御機能21b、およびID修正制御部21cが存在する。
<Configuration of Master Control Unit 20>
In the configuration example of FIG. 2, the master control unit 20 includes a microcomputer (CPU) 21, a data communication transceiver 22, and a device table 23. The device table 23 is arranged on a nonvolatile memory, for example. As functions realized by the microcomputer 21, there are a data communication control function 21a, a load control function 21b, and an ID correction control unit 21c as shown in FIG.

データ通信用トランシーバ22は、CAN、CXPI、LINのような所定の通信規格に適合する信号を送信及び受信する機能を搭載している。マイクロコンピュータ21は、予め組み込まれたプログラムを実行することにより、データ通信制御機能21a、負荷制御機能21b、およびID修正制御部21cを実現する。   The data communication transceiver 22 has a function of transmitting and receiving a signal conforming to a predetermined communication standard such as CAN, CXPI, or LIN. The microcomputer 21 implements a data communication control function 21a, a load control function 21b, and an ID correction control unit 21c by executing a program incorporated in advance.

データ通信制御機能21aは、データ通信用トランシーバ22及び通信線W2を利用して、ワイヤハーネスW/Hに接続された各スレーブ制御部30との間でデータ通信を行うための制御を実施する。   The data communication control function 21a performs control for performing data communication with each slave control unit 30 connected to the wire harness W / H using the data communication transceiver 22 and the communication line W2.

負荷制御機能21bは、ワイヤハーネスW/Hの各位置に接続されているスレーブ制御部30を経由して、その配下に接続された補機40内部の負荷のオンオフ等を制御する機能である。例えば、負荷を制御するためのユーザのスイッチ操作や、図示しない上位の電子制御ユニット(ECU)からの指示を負荷制御機能21bが検出すると、データ通信制御機能21aが目的の負荷を管理しているスレーブ制御部に対して通信線W2を介して制御情報を送信し、負荷のオンオフを切り替えることができる。   The load control function 21b is a function for controlling on / off of a load in the auxiliary machine 40 connected under the slave control unit 30 connected to each position of the wire harness W / H. For example, when the load control function 21b detects a user's switch operation for controlling the load or an instruction from a host electronic control unit (ECU) (not shown), the data communication control function 21a manages the target load. Control information can be transmitted to the slave control unit via the communication line W2 to switch the load on and off.

図1に示した車載通信システム100においては、複数のスレーブ制御部30(1)、30(2)、および30(3)が共通の通信線W2に接続されているので、マスタ制御部20および複数のスレーブ制御部30のそれぞれが通信線W2に送出する信号の送信元を受信側で識別したり、複数の信号が通信線W2上で衝突しないように管理する必要がある。そのため、固有の識別番号であるIDを、マスタ制御部20および各スレーブ制御部30に割り当てる必要がある。マスタ制御部20のIDについては固定でよいが、各スレーブ制御部30については適切なIDを割り当てる必要がある。   In the in-vehicle communication system 100 shown in FIG. 1, since the plurality of slave control units 30 (1), 30 (2), and 30 (3) are connected to the common communication line W2, the master control unit 20 and Each of the plurality of slave control units 30 needs to identify the transmission source of the signal transmitted to the communication line W2 on the receiving side, or manage the plurality of signals so that they do not collide on the communication line W2. Therefore, it is necessary to assign an ID that is a unique identification number to the master control unit 20 and each slave control unit 30. The ID of the master control unit 20 may be fixed, but an appropriate ID needs to be assigned to each slave control unit 30.

図1に示した車載通信システム100においては、ID割り当て用電線W3を用いているので、各スレーブ制御部30の接続点におけるID割り当て用電線W3の抵抗値の違いに基づき、各スレーブ制御部30にIDを自動的に割り当てることができる。   In the in-vehicle communication system 100 shown in FIG. 1, since the ID assignment wire W3 is used, each slave control unit 30 is based on the difference in resistance value of the ID assignment wire W3 at the connection point of each slave control unit 30. Can be automatically assigned an ID.

しかし、ID割り当て用電線W3上の取り付け位置に応じて決定されるIDについては、修正を必要とする場合がある。この修正を自動的に行うために、ID修正制御部21cが設けてある。つまり、ID修正制御部21cは、ID割り当て用電線W3上の取り付け位置に応じて決定されたIDをより適切なIDに自動的に修正する機能を有している。   However, the ID determined in accordance with the attachment position on the ID assignment electric wire W3 may need to be corrected. In order to perform this correction automatically, an ID correction control unit 21c is provided. That is, the ID correction control unit 21c has a function of automatically correcting the ID determined according to the attachment position on the ID assignment wire W3 to a more appropriate ID.

本実施形態では、機器テーブル23は制御対象の各補機40と、その補機を制御するために使用するスレーブ制御部30に最終的に割り当てられたIDとの対応関係を保持する。したがって、マスタ制御部20のマイクロコンピュータ21は、各補機40を制御する際に、機器テーブル23から該当する接続先のスレーブ制御部30のIDを把握し、目的の制御対象に制御命令(負荷のオンオフ等)を送ることができる。   In the present embodiment, the device table 23 holds a correspondence relationship between each auxiliary device 40 to be controlled and an ID finally assigned to the slave control unit 30 used to control the auxiliary device. Therefore, when the microcomputer 21 of the master control unit 20 controls each auxiliary device 40, the microcomputer 21 grasps the ID of the slave control unit 30 corresponding to the connection destination from the device table 23, and sends a control command (load) to the target control target. ON / OFF etc.).

<スレーブ制御部30の構成>
図2の構成例においては、スレーブ制御部30はマイクロコンピュータ(CPU)31、データ通信用トランシーバ32、スイッチング素子33、および基準抵抗器34を内蔵している。また、マイクロコンピュータ31が実現する機能として、図2に示すようにデータ通信制御機能31a、負荷制御機能31b、およびID修正制御部31dがある。更に、マイクロコンピュータ31にはA/D変換器31cが内蔵されている。
<Configuration of slave control unit 30>
In the configuration example of FIG. 2, the slave control unit 30 includes a microcomputer (CPU) 31, a data communication transceiver 32, a switching element 33, and a reference resistor 34. The functions realized by the microcomputer 31 include a data communication control function 31a, a load control function 31b, and an ID correction control unit 31d as shown in FIG. Further, the microcomputer 31 includes an A / D converter 31c.

尚、スレーブ制御部30(1)〜30(3)のそれぞれは、基準抵抗器34の抵抗値Rsも含めて、全て共通の構成を有している。動作の内容も共通である。このような構成の共通化により、スレーブ制御部30のコストを低減できる。   Each of the slave control units 30 (1) to 30 (3) has a common configuration including the resistance value Rs of the reference resistor 34. The contents of the operation are also common. By sharing such a configuration, the cost of the slave control unit 30 can be reduced.

データ通信用トランシーバ32は、CAN、CXPI、LINのような所定の通信規格に適合する信号を送信及び受信する機能を搭載している。マイクロコンピュータ31は、予め組み込まれたプログラムを実行することにより、データ通信制御機能31a、負荷制御機能31b、およびID修正制御部31dの機能を実現する。   The data communication transceiver 32 has a function of transmitting and receiving a signal conforming to a predetermined communication standard such as CAN, CXPI, or LIN. The microcomputer 31 implements the functions of the data communication control function 31a, the load control function 31b, and the ID correction control unit 31d by executing a program incorporated in advance.

基準抵抗器34は、一端がスレーブ制御部30内のA/D基準電源と接続され、他端がID割り当て用電線W3と接続されている。したがって、基準抵抗器34とID割り当て用電線W3の抵抗(抵抗値がRw)との直列回路は、A/D基準電源の電位とアース25の電位との間の電圧(Vb)を分圧する分圧回路を構成する。   One end of the reference resistor 34 is connected to the A / D reference power supply in the slave control unit 30, and the other end is connected to the ID assignment electric wire W3. Therefore, the series circuit of the reference resistor 34 and the resistance (resistance value Rw) of the ID assigning wire W3 is a part for dividing the voltage (Vb) between the potential of the A / D reference power supply and the potential of the ground 25. A pressure circuit is formed.

そして、この分圧回路から出力される分圧回路出力電圧VadがA/D変換器31cのアナログ信号入力ポートに印加される。基準抵抗器34の抵抗値Rsは全てのスレーブ制御部30に共通であるので、分圧回路出力電圧Vadは、ID割り当て用電線W3の抵抗値Rw、すなわち各スレーブ制御部30の取り付け位置(Pe1、Pe2、Pe3)に応じて変化する。そして、この分圧回路出力電圧Vadが初期状態におけるIDの割り当てに利用される。   The voltage dividing circuit output voltage Vad output from the voltage dividing circuit is applied to the analog signal input port of the A / D converter 31c. Since the resistance value Rs of the reference resistor 34 is common to all the slave control units 30, the voltage dividing circuit output voltage Vad is equal to the resistance value Rw of the ID assignment wire W3, that is, the attachment position (Pe1) of each slave control unit 30. , Pe2, Pe3). The voltage dividing circuit output voltage Vad is used for ID assignment in the initial state.

本実施形態では、スイッチング素子33としてIPD(Intelligent Power Device)を採用している。このIPDは、パワーMOSFETのようなスイッチング素子と、ゲートドライバ、電流検出回路、及び各種保護回路を含んでいる。スイッチング素子33は、図2に示すように補機40内の負荷と接続され、前記負荷の通電を制御するためのスイッチング回路として動作する。   In the present embodiment, an IPD (Intelligent Power Device) is adopted as the switching element 33. The IPD includes a switching element such as a power MOSFET, a gate driver, a current detection circuit, and various protection circuits. As shown in FIG. 2, the switching element 33 is connected to a load in the auxiliary machine 40 and operates as a switching circuit for controlling energization of the load.

データ通信制御機能31aは、データ通信用トランシーバ32及び通信線W2を利用して、ワイヤハーネスW/Hの上流側に接続されているマスタ制御部20との間、および他のスレーブ制御部30との間でそれぞれデータ通信を行うための制御を実施する。   The data communication control function 31a uses the data communication transceiver 32 and the communication line W2 to communicate with the master control unit 20 connected to the upstream side of the wire harness W / H and with other slave control units 30. The control for performing data communication between each is implemented.

また、スレーブ制御部30のIDをマスタ制御部20側で決定する場合には、スレーブ制御部30が検出したID割り当て用電線W3の抵抗値Rwの情報を、スレーブ制御部30からマスタ制御部20に送信する必要がある。この機能もデータ通信制御機能31aに含まれている。   When the ID of the slave control unit 30 is determined on the master control unit 20 side, the information on the resistance value Rw of the ID assignment wire W3 detected by the slave control unit 30 is transmitted from the slave control unit 30 to the master control unit 20. Need to be sent to. This function is also included in the data communication control function 31a.

ここで分圧回路出力電圧Vadは次式で表される。
Vad=Vb・Rw/(Rs+Rw) ・・・(1)
Vb:A/D基準電源の電位とアース25との間の電位差[V]
Here, the voltage dividing circuit output voltage Vad is expressed by the following equation.
Vad = Vb · Rw / (Rs + Rw) (1)
Vb: potential difference [V] between the potential of the A / D reference power supply and the ground 25

また、基準抵抗器34の抵抗値Rsは既知であるので、分圧回路出力電圧VadをA/D変換器31cで計測した結果を用いて、前記第(1)式からID割り当て用電線W3の抵抗値Rwを算出できる。例えば、Vb=10[V]、Rs=1[kΩ]の条件でVad=1[V]の時は、Rw=111[Ω]として算出される。この抵抗値Rwをデータ通信制御機能31aが算出してマスタ制御部20に送信する。   Further, since the resistance value Rs of the reference resistor 34 is known, the result of measuring the voltage dividing circuit output voltage Vad by the A / D converter 31c is used to calculate the ID assignment electric wire W3 from the equation (1). The resistance value Rw can be calculated. For example, when Vad = 1 [V] under the conditions of Vb = 10 [V] and Rs = 1 [kΩ], Rw = 111 [Ω] is calculated. The resistance value Rw is calculated by the data communication control function 31 a and transmitted to the master control unit 20.

尚、本実施形態では、スレーブ制御部30が抵抗値Rwの情報を送信する場合を想定しているが、スレーブ制御部30が分圧回路出力電圧Vadの情報を送信し、マスタ制御部20側で分圧回路出力電圧Vadから抵抗値Rwを算出することも可能である。また、スレーブ制御部30の内部で、それ自身のIDを抵抗値Rwに基づき決定することも可能である。   In this embodiment, it is assumed that the slave control unit 30 transmits information on the resistance value Rw. However, the slave control unit 30 transmits information on the voltage divider circuit output voltage Vad, and the master control unit 20 side It is also possible to calculate the resistance value Rw from the voltage divider circuit output voltage Vad. It is also possible to determine its own ID based on the resistance value Rw within the slave control unit 30.

負荷制御機能31bは、マスタ制御部20側から送信された指示に従って、スイッチング素子33の制御を実施する。通常はスイッチング素子33のオンオフにより負荷の通電状態と非通電状態との切り替えを行う。また、負荷に流す電流の調整が必要な場合には、パルス幅変調(PWM)信号を用いてスイッチング素子33のオンオフを周期的に繰り返す。そして、パルス幅又はオンオフデューティの調整により、負荷に流れる電流の平均値を調整することができる。   The load control function 31b controls the switching element 33 in accordance with the instruction transmitted from the master control unit 20 side. Usually, the load element is switched between an energized state and a non-energized state by turning on and off the switching element 33. When adjustment of the current flowing through the load is necessary, the switching element 33 is periodically turned on and off using a pulse width modulation (PWM) signal. The average value of the current flowing through the load can be adjusted by adjusting the pulse width or the on / off duty.

ID修正制御部31dは、それ自身の自律的な制御により、もしくはマスタ制御部20のからの指示に従った制御により、自ノードのスレーブ制御部30のIDを決定したり修正するための動作を行う。   The ID correction control unit 31d performs an operation for determining or correcting the ID of the slave control unit 30 of its own node by its own autonomous control or by control according to an instruction from the master control unit 20. Do.

<ID割り当て修正の必要性の説明>
図1に示した車載通信システム100においては、各スレーブ制御部30をワイヤハーネスW/Hに取り付ける位置の違いによってID割り当て用電線W3の抵抗値Rwが変化するので、抵抗値Rwに応じたIDを各スレーブ制御部30に自動的に割り当てることができる。しかし、以下に示す(1)〜(4)のような変動要因がある。
<Explanation of necessity of ID assignment correction>
In the in-vehicle communication system 100 shown in FIG. 1, the resistance value Rw of the ID assigning wire W3 varies depending on the position where each slave control unit 30 is attached to the wire harness W / H. Therefore, the ID corresponding to the resistance value Rw Can be automatically assigned to each slave control unit 30. However, there are fluctuation factors such as the following (1) to (4).

(1)個体差によりID割り当て用電線W3の抵抗値にばらつきが生じる。
(2)個体差により抵抗値Rwを読み取る回路の特性にばらつきが生じる。
(3)個体差により分圧回路に印加される基準電圧にばらつきが生じる。
(4)温度変化、電圧の変化などの環境要因の影響で上記各ばらつきが変動する。
(1) The resistance value of the ID assigning wire W3 varies due to individual differences.
(2) The characteristics of the circuit that reads the resistance value Rw vary due to individual differences.
(3) The reference voltage applied to the voltage dividing circuit varies due to individual differences.
(4) The above variations vary due to the influence of environmental factors such as temperature change and voltage change.

上記のような変動要因により、不適切なID割り当てが行われる場合がある。例えば、(ID=2)、(ID=3)、(ID=4)、(ID=5)、(ID=6)、(ID=7)のように、連続する番号を6個のスレーブ制御部30の各々に割り当てたい時に、(ID=2)、(ID=4)、(ID=6)、(ID=8)、(ID=10)、(ID=12)のように、不連続の番号が割り当てられる可能性がある。しかし、通信規格に応じて使用可能なIDの数に限りがあるので、不連続で番号を割り当てると、システムに接続可能なスレーブ制御部30の数が減ってしまう。例えば、CXPIやLINの場合は接続可能なノード数が最大で15であるが、それよりも更に接続可能なノード数が減ってしまう。   Due to the fluctuation factors as described above, inappropriate ID assignment may be performed. For example, six slave control of consecutive numbers such as (ID = 2), (ID = 3), (ID = 4), (ID = 5), (ID = 6), (ID = 7) When it is desired to assign to each of the parts 30, it is discontinuous like (ID = 2), (ID = 4), (ID = 6), (ID = 8), (ID = 10), (ID = 12) May be assigned. However, since the number of IDs that can be used is limited according to the communication standard, if the numbers are assigned discontinuously, the number of slave control units 30 that can be connected to the system is reduced. For example, in the case of CXPI or LIN, the maximum number of nodes that can be connected is 15, but the number of nodes that can be connected further decreases.

また、例えば、(ID=2)、(ID=3)、(ID=3)、(ID=5)、(ID=5)、(ID=7)のように、部分的に重複する番号が各スレーブ制御部30のIDとして割り当てられる可能性もある。その場合には、複数のスレーブ制御部30から信号が同時に通信線W2に送出されることになり、信号の衝突が発生して通信不可能な状態になる。   For example, partially overlapping numbers such as (ID = 2), (ID = 3), (ID = 3), (ID = 5), (ID = 5), (ID = 7) There is also a possibility that the ID is assigned to each slave control unit 30. In such a case, signals are simultaneously sent from the plurality of slave control units 30 to the communication line W2, and signal collision occurs and communication becomes impossible.

本実施形態においては、図2に示したように、マスタ制御部20に設けたID修正制御部21cと、スレーブ制御部30に設けたID修正制御部31dの両者もしくは一方の働きにより、割り当てるIDを適切な値に自動的に修正することができる。   In the present embodiment, as shown in FIG. 2, an ID to be assigned by the function of both or one of the ID correction control unit 21 c provided in the master control unit 20 and the ID correction control unit 31 d provided in the slave control unit 30. Can be automatically corrected to an appropriate value.

<最初に割り当てるIDの説明>
<抵抗値Rwと割り当てるIDとの対応関係>
抵抗値Rwと割り当てるIDとの対応関係の具体例を図3に示す。つまり、各スレーブ制御部30の位置で検出される抵抗値Rwの値の大小に応じて、図3に示すようにIDを割り当てることができる。
<Description of ID to be assigned first>
<Correspondence between resistance value Rw and assigned ID>
A specific example of the correspondence between the resistance value Rw and the assigned ID is shown in FIG. That is, according to the magnitude of the resistance value Rw detected at the position of each slave control unit 30, an ID can be assigned as shown in FIG.

図3に示す例では、マスタ制御部20に割り当てるIDを(ID=1)に固定し、これをマスタ制御部20の「正ID」とする場合を想定している。また、各スレーブ制御部30に割り当てるIDについては修正が必要であり、修正の際に同じIDの重複割り当てが生じて信号の衝突が生じるのを回避するため、最初に「仮ID」を割り当てる。   In the example illustrated in FIG. 3, it is assumed that the ID assigned to the master control unit 20 is fixed to (ID = 1) and is set as the “primary ID” of the master control unit 20. Further, the ID assigned to each slave control unit 30 needs to be corrected. In order to avoid the occurrence of signal collision due to the duplicate assignment of the same ID during the correction, a “temporary ID” is first assigned.

また、CXPIやLINの通信を行う場合に、接続可能なノード数が最大で15であることを考慮して、「正ID」の範囲を「1〜15」とし、その最大値よりも大きい「20」を「仮ID」の最小値として使用する。これにより、「正ID」と「仮ID」との値の重複を避けることができる。   In addition, when CXPI or LIN communication is performed, considering that the maximum number of connectable nodes is 15, the range of “primary ID” is set to “1 to 15”, which is larger than the maximum value “ 20 ”is used as the minimum value of the“ provisional ID ”. Thereby, duplication of the values of “primary ID” and “temporary ID” can be avoided.

そして、図3のように、抵抗値Rwの「正ID=1」の範囲に隣接する領域に「仮ID=20」を対応付け、更に抵抗値Rwが大きくなるに従い、「仮ID=21」、「仮ID=22」、「仮ID=23」、「仮ID=24」、「仮ID=25」、・・・を順番に抵抗値Rwに対応付ける。   Then, as shown in FIG. 3, “temporary ID = 20” is associated with the region adjacent to the range of “positive ID = 1” of the resistance value Rw, and “temporary ID = 21” as the resistance value Rw increases. , “Temporary ID = 22”, “Temporary ID = 23”, “Temporary ID = 24”, “Temporary ID = 25”,... Are sequentially associated with the resistance value Rw.

実際には、「正ID=1」、「仮ID=20」、「仮ID=21」、「仮ID=22」、「仮ID=23」、「仮ID=24」、「仮ID=25」の各々の範囲の境界に対応する抵抗値Rwの閾値(範囲の下限及び上限に対応)を、定数データとしてマスタ制御部20内又は各スレーブ制御部30内に保持しておく。そして、各スレーブ制御部30が検出した抵抗値Rwを前記閾値と比較することにより、抵抗値Rwが属する範囲を特定し、「仮ID=20」、「仮ID=21」、「仮ID=22」、「仮ID=23」、「仮ID=24」、「仮ID=25」のいずれかを割り当てることができる。   Actually, “primary ID = 1”, “temporary ID = 20”, “temporary ID = 21”, “temporary ID = 22”, “temporary ID = 23”, “temporary ID = 24”, “temporary ID = The threshold value of the resistance value Rw (corresponding to the lower limit and the upper limit of the range) corresponding to the boundary of each range of “25” is held in the master control unit 20 or each slave control unit 30 as constant data. Then, by comparing the resistance value Rw detected by each slave control unit 30 with the threshold value, a range to which the resistance value Rw belongs is specified, and “temporary ID = 20”, “temporary ID = 21”, “temporary ID = 22 ”,“ temporary ID = 23 ”,“ temporary ID = 24 ”, or“ temporary ID = 25 ”can be assigned.

<最初に割り当てるIDの具体例>
各制御部の接続位置と各制御部に最初に割り当てるIDとの対応関係の具体例を図6に示す。図6に示した車載通信システムにおいては、マスタ制御部20の下流側のワイヤハーネスW/H上に、6個のスレーブ制御部51〜56が順番に並んだ状態で接続されている。ここで、スレーブ制御部51〜56の各々は、図2に示したスレーブ制御部30に相当する。また、ワイヤハーネスW/Hには前述のID割り当て用電線W3も含まれている。
<Specific example of ID assigned first>
A specific example of the correspondence relationship between the connection position of each control unit and the ID initially assigned to each control unit is shown in FIG. In the in-vehicle communication system shown in FIG. 6, six slave control units 51 to 56 are connected in order on the wire harness W / H on the downstream side of the master control unit 20. Here, each of the slave control units 51 to 56 corresponds to the slave control unit 30 shown in FIG. The wire harness W / H also includes the aforementioned ID assignment electric wire W3.

具体的な構成例としては、スレーブ制御部53の配下には図示しない車体左側のテールランプが補機40として接続される。また、スレーブ制御部55の配下には図示しないラゲッジ灯が補機40として接続される。また、スレーブ制御部56の配下には図示しない車体右側のテールランプが補機40として接続される。   As a specific configuration example, a tail lamp on the left side of the vehicle body (not shown) is connected as an auxiliary device 40 under the slave control unit 53. A luggage lamp (not shown) is connected as an auxiliary device 40 under the slave control unit 55. A tail lamp on the right side of the vehicle body (not shown) is connected as an auxiliary machine 40 under the slave control unit 56.

ここで、ワイヤハーネスW/Hの上流側(マスタ制御部20に近い側)から下流側に向かって、スレーブ制御部51、52、53、54、55、および56が順番に並んでいるので、ID割り当て用電線W3の接地点からの距離の大きさも、スレーブ制御部51、52、53、54、55、および56の順番で大きくなる。したがって、スレーブ制御部51、52、53、54、55、および56が検出する抵抗値Rwをそれぞれ、Rw1、Rw2、Rw3、Rw4、Rw5、およびRw6で表すと、以下の関係になる。
Rw1<Rw2<Rw3<Rw4<Rw5<Rw6 ・・・(2)
Here, since the slave control units 51, 52, 53, 54, 55, and 56 are arranged in order from the upstream side (side near the master control unit 20) to the downstream side of the wire harness W / H, The distance from the ground point of the ID assigning wire W3 also increases in the order of the slave control units 51, 52, 53, 54, 55, and 56. Therefore, when the resistance values Rw detected by the slave control units 51, 52, 53, 54, 55, and 56 are represented by Rw1, Rw2, Rw3, Rw4, Rw5, and Rw6, respectively, the following relationship is established.
Rw1 <Rw2 <Rw3 <Rw4 <Rw5 <Rw6 (2)

したがって、これらの抵抗値Rw1、Rw2、Rw3、Rw4、Rw5、およびRw6の各々を、図3に示した各範囲の境界の閾値と比較することにより、スレーブ制御部51〜56の各々が検出した抵抗値Rwの属する範囲を特定でき、割り当てるべきIDも特定できる。そして、図3に示したような条件に従い、検出した抵抗値RwからIDを特定することにより、図6に示したようにIDをスレーブ制御部51〜56に割り当てることができる。   Therefore, each of the resistance values Rw1, Rw2, Rw3, Rw4, Rw5, and Rw6 is detected by each of the slave controllers 51 to 56 by comparing each of the resistance values with the threshold values at the boundaries of each range shown in FIG. The range to which the resistance value Rw belongs can be specified, and the ID to be assigned can also be specified. Then, by specifying the ID from the detected resistance value Rw according to the conditions as shown in FIG. 3, the ID can be assigned to the slave control units 51 to 56 as shown in FIG.

上記のような処理の結果として、図6に示した例では、スレーブ制御部51に「仮ID=20」が割り当てられ、スレーブ制御部52に「仮ID=21」が割り当てられ、スレーブ制御部53に「仮ID=22」が割り当てられ、スレーブ制御部54に「仮ID=23」が割り当てられ、スレーブ制御部55に「仮ID=24」が割り当てられ、スレーブ制御部56に「仮ID=25」が割り当てられている。   As a result of the above processing, in the example shown in FIG. 6, “temporary ID = 20” is assigned to the slave control unit 51, “temporary ID = 21” is assigned to the slave control unit 52, and the slave control unit “Temporary ID = 22” is assigned to 53, “Temporary ID = 23” is assigned to the slave control unit 54, “Temporary ID = 24” is assigned to the slave control unit 55, and “Temporary ID” is assigned to the slave control unit 56. = 25 "is assigned.

なお、後述するように、通信線W2上で信号の衝突が発生しても通信を行うことが可能な通信プロトコルを採用することもできる。その場合には、必ずしも上記の「仮ID」を割り当てる必要はない。つまり、抵抗値Rwに応じて「2〜16」の範囲内の値(LIN、CXPIの場合)を初期状態で各スレーブ制御部30に割り当ててもよい。   As will be described later, it is possible to employ a communication protocol capable of performing communication even if a signal collision occurs on the communication line W2. In this case, it is not always necessary to assign the above “temporary ID”. That is, a value in the range of “2 to 16” (in the case of LIN and CXPI) may be assigned to each slave control unit 30 in the initial state according to the resistance value Rw.

<ID割り当てのための処理手順>
スレーブ制御部30に相当する各スレーブ制御部にIDを割り当てるための車載通信システムの制御の内容を図4に示す。図4の制御には、割り当てたIDを修正するための処理手順も含まれている。図4に示した制御の各処理ステップは、マイクロコンピュータ21および31のいずれか一方、もしくは両方の動作により実現される。また、3つの状態における各制御部間の通信状態を図7(A)、図7(B)、および図7(C)に示す。
<Processing procedure for ID assignment>
FIG. 4 shows the contents of control of the in-vehicle communication system for assigning an ID to each slave control unit corresponding to the slave control unit 30. The control in FIG. 4 includes a processing procedure for correcting the assigned ID. Each processing step of the control shown in FIG. 4 is realized by the operation of one or both of the microcomputers 21 and 31. Moreover, the communication state between each control part in three states is shown to FIG. 7 (A), FIG.7 (B), and FIG.7 (C).

図4のステップS11では、各スレーブ制御部、つまりスレーブ制御部30内のマイクロコンピュータ31が、分圧回路出力電圧VadをA/D変換器31cを用いて計測する。そして、次のS12で、分圧回路出力電圧Vadの計測値から抵抗値Rwをマイクロコンピュータ31が算出する。   In step S11 of FIG. 4, each slave control unit, that is, the microcomputer 31 in the slave control unit 30 measures the voltage dividing circuit output voltage Vad using the A / D converter 31c. In the next S12, the microcomputer 31 calculates the resistance value Rw from the measured value of the voltage dividing circuit output voltage Vad.

ステップS13では、各スレーブ制御部がS12で算出した抵抗値Rwに基づき、図3に示したような条件に従って、マスタ制御部20が、もしくはスレーブ制御部自身がスレーブ制御部の「仮ID」を決定する。このステップS13の結果として、例えば図6に示したように、スレーブ制御部51〜56のそれぞれに「仮ID」が割り当てられる。   In step S13, based on the resistance value Rw calculated by each slave control unit in step S12, the master control unit 20 or the slave control unit itself sets the “temporary ID” of the slave control unit according to the conditions shown in FIG. decide. As a result of step S13, for example, as shown in FIG. 6, a “temporary ID” is assigned to each of the slave controllers 51 to 56.

ステップS15以降の処理については、システムに接続されている全てのスレーブ制御部のそれぞれについて、順番に実行される。その処理の実行順序を、マスタ制御部20又は各スレーブ制御部自身がステップS14で決定する。具体的には、割り当てられた「仮ID」の値の小さい方から順番に処理するように決定する。   The processes after step S15 are executed in order for each of all the slave control units connected to the system. The master control unit 20 or each slave control unit itself determines the execution order of the processing in step S14. Specifically, it is determined to process in order from the smallest value of the assigned “temporary ID”.

例えば、図6に示した構成の車載通信システムにおいては、仮IDの中で最小の「仮ID=20」が割り当てられたスレーブ制御部51が最初に処理を実行し、次に「仮ID=21」が割り当てられたスレーブ制御部52が処理を実行し、次に「仮ID=22」が割り当てられたスレーブ制御部53が処理を実行するように順番を決定する。   For example, in the in-vehicle communication system having the configuration shown in FIG. 6, the slave control unit 51 to which the smallest “temporary ID = 20” among the temporary IDs is first executed, and then “temporary ID = The slave control unit 52 to which “21” is assigned executes the processing, and then the order is determined so that the slave control unit 53 to which “temporary ID = 22” is assigned executes the processing.

ステップS15では、各スレーブ制御部が同じ通信線W2に接続されている他の全てのスレーブ制御部との間で順番にデータ通信を行い通信相手の検出した抵抗値Rwの情報のやりとり(交換)を実行する。なお、抵抗値Rwの代わりに、これと同等の情報、例えば分圧回路出力電圧Vadの情報、あるいは分圧回路の分圧比の情報を交換してもよい。   In step S15, each slave control unit sequentially performs data communication with all other slave control units connected to the same communication line W2, and exchanges (exchanges) information on the resistance value Rw detected by the communication partner. Execute. Instead of the resistance value Rw, information equivalent thereto, for example, information on the voltage dividing circuit output voltage Vad or information on the voltage dividing ratio of the voltage dividing circuit may be exchanged.

例えば、「仮ID=20」が割り当てられたスレーブ制御部51が最初に処理を開始する時には、図7(A)に示すように、スレーブ制御部51からスレーブ制御部52〜56のそれぞれを送信先として、順番にデータを送信する。そして、これらの間で相互に抵抗値Rwの情報をやりとりする。   For example, when the slave control unit 51 to which “temporary ID = 20” is assigned starts processing for the first time, as shown in FIG. 7A, each of the slave control units 52 to 56 is transmitted from the slave control unit 51. First, data is transmitted in order. And information on resistance value Rw is exchanged between them.

また、スレーブ制御部51における処理が終了すると、仮IDの中で2番目に値が大きい「仮ID=21」が割り当てられたスレーブ制御部52が処理を開始する。この時には、図7(B)に示すように、スレーブ制御部52からスレーブ制御部53〜56のそれぞれを送信先として、順番にデータを送信する。そして、これらの間で相互に抵抗値Rwの情報をやりとりする。スレーブ制御部51との間では既に抵抗値Rwの情報交換が終了しているので、再びこの情報を交換する必要はない。   When the processing in the slave control unit 51 is completed, the slave control unit 52 to which “temporary ID = 21” having the second largest value in the temporary ID is assigned starts the processing. At this time, as shown in FIG. 7B, data is transmitted in order from the slave control unit 52 to each of the slave control units 53 to 56 as transmission destinations. And information on resistance value Rw is exchanged between them. Since the exchange of the resistance value Rw has already been completed with the slave control unit 51, it is not necessary to exchange this information again.

上記と同じように処理を繰り返し、最後に「仮ID=24」が割り当てられたスレーブ制御部55と、「仮ID=25」が割り当てられたスレーブ制御部56との間で図7(C)に示すようにデータ通信を行い、抵抗値Rwの情報をやりとりする。   The processing is repeated in the same manner as described above, and finally, the slave control unit 55 to which “tentative ID = 24” is assigned and the slave control unit 56 to which “temporary ID = 25” is assigned are shown in FIG. As shown in FIG. 4, data communication is performed, and information on the resistance value Rw is exchanged.

図4のステップS16では、上記のS15で取得した全てのスレーブ制御部の抵抗値Rwの情報を利用して、抵抗値Rwの大小関係から、複数スレーブ制御部間の上流/下流の相互の位置関係を認識する。この位置関係の認識については、各スレーブ制御部自身が行ってもよいし、マスタ制御部20側で処理してもよい。   In step S16 of FIG. 4, the upstream / downstream mutual position between the plurality of slave control units is calculated from the magnitude relationship of the resistance value Rw using the information on the resistance value Rw of all the slave control units acquired in S15. Recognize relationships. Recognition of this positional relationship may be performed by each slave control unit itself, or may be processed by the master control unit 20 side.

つまり、前記第(2)式に示したように、「Rw1<Rw2<Rw3<Rw4<Rw5<Rw6」の関係が成立している場合には、以下に示す状態であることが、各スレーブ制御部またはマスタ制御部20によって認識される。   That is, as shown in the equation (2), when the relationship of “Rw1 <Rw2 <Rw3 <Rw4 <Rw5 <Rw6” is established, each slave control Or the master control unit 20.

(1)抵抗値がRw1のスレーブ制御部51は、抵抗値がRw2〜Rw6の他のスレーブ制御部よりも上流に位置している。
(2)抵抗値がRw2のスレーブ制御部52は、抵抗値がRw1のスレーブ制御部51よりも下流であり、かつ抵抗値がRw3〜Rw6の他のスレーブ制御部よりも上流に位置している。
(3)抵抗値がRw3のスレーブ制御部53は、抵抗値がRw2のスレーブ制御部52よりも下流であり、かつ抵抗値がRw4〜Rw6の他のスレーブ制御部よりも上流に位置している。
(4)抵抗値がRw4のスレーブ制御部54は、抵抗値がRw3のスレーブ制御部53よりも下流であり、かつ抵抗値がRw5〜Rw6の他のスレーブ制御部よりも上流に位置している。
(5)抵抗値がRw5のスレーブ制御部55は、抵抗値がRw4のスレーブ制御部54よりも下流であり、かつ抵抗値がRw6のスレーブ制御部56よりも上流に位置している。
(1) The slave control unit 51 whose resistance value is Rw1 is located upstream of the other slave control units whose resistance value is Rw2 to Rw6.
(2) The slave control unit 52 having the resistance value Rw2 is located downstream of the slave control unit 51 having the resistance value Rw1 and upstream of the other slave control units having the resistance values Rw3 to Rw6. .
(3) The slave control unit 53 having the resistance value Rw3 is located downstream of the slave control unit 52 having the resistance value Rw2 and upstream of the other slave control units of the resistance values Rw4 to Rw6. .
(4) The slave control unit 54 having the resistance value Rw4 is located downstream of the slave control unit 53 having the resistance value Rw3 and upstream of the other slave control units having the resistance values Rw5 to Rw6. .
(5) The slave control unit 55 whose resistance value is Rw5 is located downstream of the slave control unit 54 whose resistance value is Rw4 and upstream of the slave control unit 56 whose resistance value is Rw6.

図4のステップS17では、S18で各スレーブ制御部が認識した上流/下流のスレーブ間の相互の位置関係に基づき、各スレーブ制御部が自ノードのIDを修正する。例えば、上記の(1)〜(5)の状況を把握した場合には、図7(A)に示すように、仮IDが割り当てられた各スレーブ制御部の中で、最上流に位置するスレーブ制御部51が、自ノードに対して割り当てられている「仮ID=20」を「正ID=2」に修正する。   In step S17 of FIG. 4, each slave control unit corrects its own node ID based on the mutual positional relationship between the upstream / downstream slaves recognized by each slave control unit in S18. For example, when the above conditions (1) to (5) are grasped, as shown in FIG. 7 (A), the slave located at the most upstream among the slave control units to which the temporary ID is assigned. The control unit 51 corrects “temporary ID = 20” assigned to the own node to “primary ID = 2”.

また、図7(B)に示すように、仮IDが割り当てられた各スレーブ制御部の中で、上流側から2番目に位置するスレーブ制御部52が、自ノードに対して割り当てられている「仮ID=21」を「正ID=3」に修正する。   Further, as shown in FIG. 7B, among the slave control units to which the temporary ID is assigned, the slave control unit 52 that is located second from the upstream side is assigned to the own node “ The provisional ID = 21 ”is corrected to“ primary ID = 3 ”.

また、図7(C)に示すように、上流側から5番目に位置するスレーブ制御部55が、自ノードに対して割り当てられている「仮ID=24」を「正ID=6」に修正し、最も下流側に位置するスレーブ制御部56が、自ノードに対して割り当てられている「仮ID=25」を「正ID=7」に修正する。   Further, as shown in FIG. 7C, the slave control unit 55 located fifth from the upstream side corrects “temporary ID = 24” assigned to the own node to “primary ID = 6”. Then, the slave control unit 56 located on the most downstream side corrects “temporary ID = 25” assigned to the own node to “primary ID = 7”.

図4のステップS18では、直前のS17で自ノードのIDを修正したスレーブ制御部が、それ自身の修正後のIDが他の全てのスレーブ制御部で正しく認識されるか否かを、実際に通信を行って確認する。IDが正しく認識された場合は次のS19に進み、正しく認識されない場合はIDを修正し直す必要があるのでS17に戻る。   In step S18 of FIG. 4, the slave control unit that has corrected the ID of its own node in the immediately preceding S17 determines whether or not the corrected ID of itself is correctly recognized by all other slave control units. Confirm by communication. If the ID is correctly recognized, the process proceeds to the next S19. If the ID is not correctly recognized, the ID needs to be corrected again, and the process returns to S17.

ステップS19では、次スレーブのID修正処理に移行する。例えば、図7(A)のように「正ID=2」が割り当てられた1番目のスレーブ制御部51のIDが正しく認識された場合には、次に図7(B)に示す2番目のスレーブ制御部52について、IDを修正するためにS19からS20を通りS17に進む。   In step S19, the process proceeds to the ID correction process for the next slave. For example, when the ID of the first slave control unit 51 to which “primary ID = 2” is assigned is correctly recognized as shown in FIG. 7A, the second ID shown in FIG. The slave controller 52 proceeds from S19 to S20 to S17 in order to correct the ID.

全てのスレーブ制御部51〜56についてIDの修正が終了し、かつ修正後のIDが他の全てのスレーブ制御部に正しく認識されることが確認された場合には、ステップS20で処理を終了する。   When it is confirmed that the ID correction is completed for all the slave control units 51 to 56 and the corrected ID is correctly recognized by all the other slave control units, the process ends in step S20. .

<通信線W2上での信号の衝突回避のための制御>
<衝突が発生する状況の具体例>
衝突が発生する場合の各制御部間の通信状態の具体例を図8に示す。
<Control for avoiding collision of signals on communication line W2>
<Specific examples of situations where collisions occur>
A specific example of the communication state between the control units when a collision occurs is shown in FIG.

図8に示した車載通信システムは、図6に示した車載通信システムと同様に、6個のスレーブ制御部51〜56を備えている。但し、上流側から2番目に位置するスレーブ制御部52と、3番目に位置するスレーブ制御部53とは互いの距離が非常に近い状態でワイヤハーネスW/Hに接続されている。   The in-vehicle communication system illustrated in FIG. 8 includes six slave control units 51 to 56 as in the in-vehicle communication system illustrated in FIG. However, the slave control unit 52 positioned second from the upstream side and the slave control unit 53 positioned third are connected to the wire harness W / H in a state in which the mutual distance is very close.

図8に示すような状況では、スレーブ制御部52が検出した抵抗値Rwと、スレーブ制御部53が検出した抵抗値Rwとの差が非常に小さいため、図3に示す条件によりこれらを区別することが困難になる。したがって、図8に示すように、「仮ID=21」がスレーブ制御部52に割り当てられ、スレーブ制御部53にも同じ「仮ID=21」が割り当てられることになる。   In the situation shown in FIG. 8, the difference between the resistance value Rw detected by the slave control unit 52 and the resistance value Rw detected by the slave control unit 53 is very small. It becomes difficult. Therefore, as shown in FIG. 8, “temporary ID = 21” is assigned to the slave control unit 52, and the same “temporary ID = 21” is also assigned to the slave control unit 53.

その結果、スレーブ制御部52とスレーブ制御部53とが同じタイミングで通信線W2上に信号を送出することになり、これらの信号が通信線W2上で衝突する。このような衝突が生じると、受信側のスレーブ制御部が、通信線W2に送出された信号を正しく認識できないため、データ通信に失敗する。   As a result, the slave control unit 52 and the slave control unit 53 transmit signals on the communication line W2 at the same timing, and these signals collide on the communication line W2. When such a collision occurs, the slave control unit on the receiving side cannot correctly recognize the signal transmitted to the communication line W2, and therefore data communication fails.

<衝突回避アルゴリズムを含む処理手順>
衝突回避処理を含む各スレーブ制御部のデータ送信動作の具体例を図5に示す。この処理手順は、例えば図2に示したデータ通信制御機能31aの一部分としてマイクロコンピュータ31が実行する。図5に示す動作について以下に説明する。
<Processing procedure including collision avoidance algorithm>
A specific example of the data transmission operation of each slave control unit including the collision avoidance process is shown in FIG. This processing procedure is executed by the microcomputer 31 as a part of the data communication control function 31a shown in FIG. 2, for example. The operation shown in FIG. 5 will be described below.

ステップS31では、スレーブ制御部であるスレーブ制御部30がデータの送信をしようとする場合に、マイクロコンピュータ31が該当するデータをデータ通信用トランシーバ32を介して通信線W2に送出する。   In step S31, when the slave control unit 30, which is a slave control unit, intends to transmit data, the microcomputer 31 sends the corresponding data to the communication line W2 via the data communication transceiver 32.

ステップS32では、データ送出元のスレーブ制御部において、通信線W2上で信号の衝突が生じたか否かを識別する。具体的には、通信線W2に現れる信号を監視することにより、またはデータ送信先のスレーブ制御部からの正しい応答を検出したか否かにより、衝突の有無を識別できる。そして、衝突を検出した場合は次のS33に進む。   In step S32, the data transmission source slave controller identifies whether or not a signal collision has occurred on the communication line W2. Specifically, the presence or absence of a collision can be identified by monitoring a signal appearing on the communication line W2 or by detecting whether a correct response from the slave control unit of the data transmission destination is detected. And when a collision is detected, it progresses to following S33.

ステップS33では、データ送出元のスレーブ制御部において、マイクロコンピュータ31は、公知の乱数発生アルゴリズムを利用して、ランダムな待ち時間Twを決定する。そして、次のステップS34で、マイクロコンピュータ31は待ち時間Twが経過するまで待機する。この待ち時間Twが経過すると次のステップS35に進む。   In step S33, in the slave control unit that is the data transmission source, the microcomputer 31 determines a random waiting time Tw using a known random number generation algorithm. In the next step S34, the microcomputer 31 waits until the waiting time Tw elapses. When this waiting time Tw elapses, the process proceeds to the next step S35.

ステップS35では、前にS31で通信線W2に送出したデータと同じデータを、同じ送信元のスレーブ制御部が再び通信線W2に送出するための処理をマイクロコンピュータ31が実行する。   In step S35, the microcomputer 31 executes processing for sending the same data as the data previously sent to the communication line W2 in S31 to the slave control unit of the same transmission source again to the communication line W2.

つまり、図5に示す処理においては、信号の衝突が発生した場合に、ランダムな待ち時間Twが経過してから再び送信を実行するので、2回目またはそれ以降の送信の際に衝突が生じる可能性は極めて低い。したがって、例えば図8に示すように衝突が生じる可能性が高い環境であっても、データの再送により正しくデータ通信を行うことができる。   In other words, in the process shown in FIG. 5, when a signal collision occurs, transmission is performed again after a random waiting time Tw has elapsed, and therefore a collision may occur during the second or subsequent transmission. The nature is extremely low. Therefore, for example, even in an environment where there is a high possibility of a collision as shown in FIG. 8, data communication can be performed correctly by data retransmission.

したがって、各スレーブ制御部が図5に示すような衝突回避処理を実行する場合には、前述の特別な「仮ID」を各スレーブ制御部に割り当てる必要性もなくなる。つまり、各スレーブ制御部に最初に割り当てるIDの値については、各スレーブ制御部が検出した抵抗値Rwに応じて決めるだけでよい。   Therefore, when each slave control unit executes the collision avoidance process as shown in FIG. 5, it is not necessary to assign the above-mentioned special “temporary ID” to each slave control unit. That is, the ID value initially assigned to each slave control unit need only be determined according to the resistance value Rw detected by each slave control unit.

<車載通信システム100の利点>
前述の車載通信システム100においては、各スレーブ制御部に割り当てるIDを、各スレーブ間の通信を利用して自動的に適切な値に修正することができる。したがって、システムの構成が異なる場合であっても、各スレーブ制御部、つまりスレーブ制御部30の構成や動作を共通化することができる。この共通化によりシステムのコストを低減できる。
<Advantages of in-vehicle communication system 100>
In the above-described in-vehicle communication system 100, the ID assigned to each slave control unit can be automatically corrected to an appropriate value using communication between the slaves. Therefore, even when the system configuration is different, the configuration and operation of each slave control unit, that is, the slave control unit 30, can be shared. This sharing can reduce the cost of the system.

特に、ID割り当て用電線W3を利用することにより、分圧回路の一方の抵抗を構成する抵抗値Rsも共通化できるので、スレーブ制御部30毎に分圧回路の個体差を調整する必要もない。   In particular, by using the ID assigning wire W3, the resistance value Rs constituting one resistance of the voltage dividing circuit can be made common, so there is no need to adjust the individual difference of the voltage dividing circuit for each slave control unit 30. .

また、図6に示すように最初に特別な「仮ID」を各スレーブ制御部に割り当てることにより、通信線W2上で複数の信号が衝突する可能性を減らすことができ、IDの修正にかかる所要時間を短縮できる。また、複数の信号の衝突が生じる場合であっても、図5に示した処理を適用することにより、データ通信を正しく行うことができ、適切なIDに確実に修正できる。   Also, as shown in FIG. 6, by first assigning a special “provisional ID” to each slave control unit, the possibility of multiple signals colliding on the communication line W2 can be reduced, and the ID is corrected. The required time can be shortened. Even when a plurality of signals collide, by applying the processing shown in FIG. 5, data communication can be performed correctly and can be reliably corrected to an appropriate ID.

ここで、上述した本発明に係るID割り当て修正方法および車載通信システムの実施形態の特徴をそれぞれ以下[1]〜[6]に簡潔に纏めて列記する。
[1] マスタ制御部(20)と複数のスレーブ制御部(スレーブ制御部30、51〜56)とがワイヤハーネス(W/H)を介して互いに通信可能な状態で接続され、抵抗体で構成されるID割り当て用電線(W3)が前記ワイヤハーネスに含まれ、前記複数のスレーブ制御部の各々に内蔵された基準抵抗器(34)の抵抗値(Rs)と、前記ID割り当て用電線の抵抗値(Rw)とに応じて前記各スレーブ制御部のIDが決定される車両上の通信システムにおいて、前記各スレーブ制御部のIDの割り当てを修正するためのID割り当て修正方法であって、
前記複数のスレーブ制御部の各々が、順番に、他のスレーブ制御部との間で通信を行い、前記ID割り当て用電線の抵抗値により定まる取り付け位置に応じた特性値(RwまたはVad)を互いに交換して、他のスレーブ制御部との間の上流/下流の位置関係を把握し、前記位置関係に基づいてIDを修正する(S15〜S20)、
ことを特徴とするID割り当て修正方法。
[2] 前記複数のスレーブ制御部が通信線に出力する信号が互いに衝突するのを回避するために、前記スレーブ制御部同士の間での通信が開始される前に、前記マスタ制御部もしくは前記スレーブ制御部が前記複数のスレーブ制御部の各々に、仮IDを付与(S13)、
前記複数のスレーブ制御部の各々が、割り当てられた前記仮IDの番号順に従い、前記仮IDを正規のIDに修正するための前記通信を開始する(S14)、
ことを特徴とする上記[1]に記載のID割り当て修正方法。
[3] 前記マスタ制御部もしくは前記スレーブ制御部は、前記仮IDとして、正規のIDの上限値よりも大きい値を前記各スレーブ制御部に割り当てる(図6参照)、
ことを特徴とする上記[2]に記載のID割り当て修正方法。
[4] 前記マスタ制御部もしくは前記スレーブ制御部は、前記仮IDを割り当てる前に、前記各スレーブ制御部から前記特性値を取得し、前記特性値の大小関係に基づいて前記仮IDを割り当てる(S13)、
ことを特徴とする上記[2]または[3]に記載のID割り当て修正方法。
[5] 前記複数のスレーブ制御部の間の通信において、複数のスレーブ制御部が送出した信号の衝突が発生した場合には、前記信号を送出した各々のスレーブ制御部がランダムな時間を経過した後で再び通信線への信号の送出を実行する(S33〜S35)、
ことを特徴とする上記[1]に記載のID割り当て修正方法。
[6] マスタ制御部(20)と複数のスレーブ制御部(30、51〜56)とがワイヤハーネス(W/H)を介して互いに通信可能な状態で接続され、抵抗体で構成されるID割り当て用電線(W3)が前記ワイヤハーネスに含まれ、前記複数のスレーブ制御部の各々に内蔵された基準抵抗器(34)の抵抗値(Rs)と、前記ID割り当て用電線の抵抗値(Rw)とに応じて前記各スレーブ制御部のIDが決定される車載通信システム(100)であって、
前記複数のスレーブ制御部の各々が、順番に、他のスレーブ制御部との間で通信を行い、前記ID割り当て用電線の抵抗値により定まる取り付け位置に応じた特性値を互いに交換して、他のスレーブ制御部との間の上流/下流の位置関係を把握し、前記位置関係に基づいてIDを修正するID修正制御部(31d、S15〜S20)、を備えた、
ことを特徴とする車載通信システム。
Here, the characteristics of the embodiment of the ID allocation correction method and the in-vehicle communication system according to the present invention described above are briefly summarized and listed in the following [1] to [6], respectively.
[1] A master control unit (20) and a plurality of slave control units (slave control units 30, 51 to 56) are connected in a state where they can communicate with each other via a wire harness (W / H), and are configured by resistors. The ID assigning wire (W3) is included in the wire harness, the resistance value (Rs) of the reference resistor (34) built in each of the plurality of slave control units, and the resistance of the ID assigning wire In a communication system on a vehicle in which an ID of each slave control unit is determined according to a value (Rw), an ID allocation correction method for correcting an ID allocation of each slave control unit,
Each of the plurality of slave control units sequentially communicates with other slave control units, and the characteristic values (Rw or Vad) corresponding to the mounting position determined by the resistance value of the ID assigning wire are mutually set. Exchange, grasp the upstream / downstream positional relationship with other slave control units, and correct the ID based on the positional relationship (S15 to S20),
An ID allocation correction method characterized by the above.
[2] Before the communication between the slave control units is started, in order to avoid that signals output from the plurality of slave control units to the communication line collide with each other, the master control unit or the The slave controller assigns a temporary ID to each of the plurality of slave controllers (S13),
Each of the plurality of slave control units starts the communication for correcting the temporary ID to a regular ID according to the assigned numerical order of the temporary ID (S14),
The ID allocation correction method according to [1] above, wherein
[3] The master control unit or the slave control unit assigns a value larger than the upper limit value of the regular ID to the slave control units as the temporary ID (see FIG. 6).
The ID allocation correction method according to [2] above, wherein
[4] Before assigning the temporary ID, the master control unit or the slave control unit acquires the characteristic value from each of the slave control units, and assigns the temporary ID based on the magnitude relationship of the characteristic values ( S13),
The ID allocation correction method according to [2] or [3] above, wherein
[5] In a communication between the plurality of slave control units, when a collision of signals transmitted from the plurality of slave control units occurs, each slave control unit that transmitted the signals has passed a random time. Later, the transmission of the signal to the communication line is executed again (S33 to S35).
The ID allocation correction method according to [1] above, wherein
[6] The master control unit (20) and the plurality of slave control units (30, 51 to 56) are connected in a communicable state via the wire harness (W / H) and are configured by resistors. The wire for allocation (W3) is included in the wire harness, and the resistance value (Rs) of the reference resistor (34) built in each of the plurality of slave control units, and the resistance value (Rw) of the wire for ID allocation ) And the in-vehicle communication system (100) in which the ID of each slave control unit is determined,
Each of the plurality of slave control units communicates with other slave control units in order, and exchanges the characteristic values according to the mounting position determined by the resistance value of the ID assigning wire with each other. An upstream / downstream positional relationship with the slave control unit of the other, and an ID correction control unit (31d, S15 to S20) for correcting the ID based on the positional relationship,
An in-vehicle communication system characterized by the above.

10 ジャンクションボックス
20 マスタ制御部
21 マイクロコンピュータ
21a データ通信制御機能
21b 負荷制御機能
21c ID修正制御部
22 データ通信用トランシーバ
23 機器テーブル
25 アース
30 スレーブ制御部
31 マイクロコンピュータ
31a データ通信制御機能
31b 負荷制御機能
31c A/D変換器
31d ID修正制御部
32 データ通信用トランシーバ
33 スイッチング素子
34 基準抵抗器
40 補機
51,52,53,54,55,56 スレーブ制御部
100 車載通信システム
W/H ワイヤハーネス
W1 電源線
W2 通信線
W3 ID割り当て用電線
Vad 分圧回路出力電圧
Lw1,Lw2,Lw3 抵抗体長
Pgnd アース点
Pe1,Pe2,Pe3 接続点
Rs,Rw 抵抗値
Vb A/D基準電源の電圧
DESCRIPTION OF SYMBOLS 10 Junction box 20 Master control part 21 Microcomputer 21a Data communication control function 21b Load control function 21c ID correction control part 22 Transceiver for data communication 23 Equipment table 25 Ground 30 Slave control part 31 Microcomputer 31a Data communication control function 31b Load control function 31c A / D converter 31d ID correction control unit 32 Data communication transceiver 33 Switching element 34 Reference resistor 40 Auxiliary device 51, 52, 53, 54, 55, 56 Slave control unit 100 In-vehicle communication system W / H wire harness W1 Power line W2 Communication line W3 ID assignment wire Vad Voltage divider circuit output voltage Lw1, Lw2, Lw3 Resistor length Pgnd Ground point Pe1, Pe2, Pe3 Connection point Rs, Rw Resistance value Vb A / D Reference power supply voltage

Claims (6)

マスタ制御部と複数のスレーブ制御部とがワイヤハーネスを介して互いに通信可能な状態で接続され、抵抗体で構成されるID割り当て用電線が前記ワイヤハーネスに含まれ、前記複数のスレーブ制御部の各々に内蔵された基準抵抗器の抵抗値と、前記ID割り当て用電線の抵抗値とに応じて前記各スレーブ制御部のIDが決定される車両上の通信システムにおいて、前記各スレーブ制御部のIDの割り当てを修正するためのID割り当て修正方法であって、
前記複数のスレーブ制御部の各々が、順番に、他のスレーブ制御部との間で通信を行い、前記ID割り当て用電線の抵抗値により定まる取り付け位置に応じた特性値を互いに交換して、他のスレーブ制御部との間の上流/下流の位置関係を把握し、前記位置関係に基づいてIDを修正する、
ことを特徴とするID割り当て修正方法。
The master control unit and the plurality of slave control units are connected in a state where they can communicate with each other via a wire harness, and an ID assignment electric wire configured by a resistor is included in the wire harness, and the plurality of slave control units In the communication system on the vehicle in which the ID of each slave control unit is determined according to the resistance value of the reference resistor built in each and the resistance value of the ID assigning wire, the ID of each slave control unit An ID allocation correction method for correcting the allocation of
Each of the plurality of slave control units communicates with other slave control units in order, and exchanges the characteristic values according to the mounting position determined by the resistance value of the ID assigning wire with each other. To grasp the upstream / downstream positional relationship with the slave control unit of, and correct the ID based on the positional relationship,
An ID allocation correction method characterized by the above.
前記複数のスレーブ制御部が通信線に出力する信号が互いに衝突するのを回避するために、前記スレーブ制御部同士の間での通信が開始される前に、前記マスタ制御部もしくは前記スレーブ制御部が前記複数のスレーブ制御部の各々に、仮IDを付与し、
前記複数のスレーブ制御部の各々が、割り当てられた前記仮IDの番号順に従い、前記仮IDを正規のIDに修正するための前記通信を開始する、
ことを特徴とする請求項1に記載のID割り当て修正方法。
Before the communication between the slave control units is started, the master control unit or the slave control unit is arranged to avoid the signals output from the plurality of slave control units from colliding with each other. Gives a temporary ID to each of the plurality of slave control units,
Each of the plurality of slave control units starts the communication for correcting the temporary ID to a regular ID according to the assigned numerical order of the temporary ID.
The ID allocation correction method according to claim 1, wherein:
前記マスタ制御部もしくは前記スレーブ制御部は、前記仮IDとして、正規のIDの上限値よりも大きい値を前記各スレーブ制御部に割り当てる、
ことを特徴とする請求項2に記載のID割り当て修正方法。
The master control unit or the slave control unit assigns a value larger than the upper limit value of a regular ID to the slave control unit as the temporary ID.
The ID allocation correction method according to claim 2, wherein:
前記マスタ制御部もしくは前記スレーブ制御部は、前記仮IDを割り当てる前に、前記各スレーブ制御部から前記特性値を取得し、前記特性値の大小関係に基づいて前記仮IDを割り当てる、
ことを特徴とする請求項2または請求項3に記載のID割り当て修正方法。
The master control unit or the slave control unit acquires the characteristic value from each slave control unit before assigning the temporary ID, and assigns the temporary ID based on the magnitude relationship of the characteristic values.
4. The ID allocation correction method according to claim 2, wherein the ID allocation is corrected.
前記複数のスレーブ制御部の間の通信において、複数のスレーブ制御部が送出した信号の衝突が発生した場合には、前記信号を送出した各々のスレーブ制御部がランダムな時間を経過した後で再び通信線への信号の送出を実行する、
ことを特徴とする請求項1に記載のID割り当て修正方法。
In the communication between the plurality of slave control units, when a collision of signals transmitted from the plurality of slave control units occurs, the slave control units that have transmitted the signals again after a random time has passed. Execute transmission of signals to the communication line,
The ID allocation correction method according to claim 1, wherein:
マスタ制御部と複数のスレーブ制御部とがワイヤハーネスを介して互いに通信可能な状態で接続され、抵抗体で構成されるID割り当て用電線が前記ワイヤハーネスに含まれ、前記複数のスレーブ制御部の各々に内蔵された基準抵抗器の抵抗値と、前記ID割り当て用電線の抵抗値とに応じて前記各スレーブ制御部のIDが決定される車載通信システムであって、
前記複数のスレーブ制御部の各々が、順番に、他のスレーブ制御部との間で通信を行い、前記ID割り当て用電線の抵抗値により定まる取り付け位置に応じた特性値を互いに交換して、他のスレーブ制御部との間の上流/下流の位置関係を把握し、前記位置関係に基づいてIDを修正するID修正制御部、を備えた、
ことを特徴とする車載通信システム。
The master control unit and the plurality of slave control units are connected in a state where they can communicate with each other via a wire harness, and an ID assignment electric wire configured by a resistor is included in the wire harness, and the plurality of slave control units An in-vehicle communication system in which an ID of each slave control unit is determined according to a resistance value of a reference resistor built in each and a resistance value of the ID assigning wire,
Each of the plurality of slave control units communicates with other slave control units in order, and exchanges the characteristic values according to the mounting position determined by the resistance value of the ID assigning wire with each other. An upstream / downstream positional relationship with the slave control unit, and an ID correction control unit that corrects the ID based on the positional relationship,
An in-vehicle communication system characterized by the above.
JP2015218426A 2015-11-06 2015-11-06 ID allocation correction method and in-vehicle communication system Active JP6568455B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015218426A JP6568455B2 (en) 2015-11-06 2015-11-06 ID allocation correction method and in-vehicle communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015218426A JP6568455B2 (en) 2015-11-06 2015-11-06 ID allocation correction method and in-vehicle communication system

Publications (2)

Publication Number Publication Date
JP2017092639A true JP2017092639A (en) 2017-05-25
JP6568455B2 JP6568455B2 (en) 2019-08-28

Family

ID=58770793

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015218426A Active JP6568455B2 (en) 2015-11-06 2015-11-06 ID allocation correction method and in-vehicle communication system

Country Status (1)

Country Link
JP (1) JP6568455B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019012978A (en) * 2017-07-03 2019-01-24 矢崎総業株式会社 Setting device and computer
JP2020108307A (en) * 2018-12-28 2020-07-09 矢崎総業株式会社 Electric conduction control method and power control system
WO2020230537A1 (en) * 2019-05-10 2020-11-19 株式会社東海理化電機製作所 Node device
CN112887443A (en) * 2021-01-15 2021-06-01 上海钧正网络科技有限公司 CAN bus node ID distribution method and CAN bus system
CN115303261A (en) * 2022-08-01 2022-11-08 重庆金康赛力斯新能源汽车设计院有限公司 Automatic parking method and device based on field terminal, electronic equipment and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019012978A (en) * 2017-07-03 2019-01-24 矢崎総業株式会社 Setting device and computer
JP7094670B2 (en) 2017-07-03 2022-07-04 矢崎総業株式会社 Setting device and computer
JP2020108307A (en) * 2018-12-28 2020-07-09 矢崎総業株式会社 Electric conduction control method and power control system
WO2020230537A1 (en) * 2019-05-10 2020-11-19 株式会社東海理化電機製作所 Node device
CN112887443A (en) * 2021-01-15 2021-06-01 上海钧正网络科技有限公司 CAN bus node ID distribution method and CAN bus system
CN112887443B (en) * 2021-01-15 2022-11-18 上海钧正网络科技有限公司 CAN bus node ID distribution method and CAN bus system
CN115303261A (en) * 2022-08-01 2022-11-08 重庆金康赛力斯新能源汽车设计院有限公司 Automatic parking method and device based on field terminal, electronic equipment and storage medium
CN115303261B (en) * 2022-08-01 2024-05-14 重庆赛力斯新能源汽车设计院有限公司 Automatic parking method and device based on field terminal, electronic equipment and storage medium

Also Published As

Publication number Publication date
JP6568455B2 (en) 2019-08-28

Similar Documents

Publication Publication Date Title
JP6568455B2 (en) ID allocation correction method and in-vehicle communication system
US10749706B2 (en) Local interconnect network bus architecture
KR102065277B1 (en) Bus protocol for dynamic lighting application
US20190366872A1 (en) Vehicular power supply system
US11981274B2 (en) Onboard network system
JP6383348B2 (en) Control device and control system
TWI641195B (en) Power supply system and method
KR102415141B1 (en) Subscriber station for a bus system, and method for adjusting the timing of a transmit signal for a bus system
US9871559B2 (en) Motor vehicle on-board power system and method for transmitting data signals in a motor vehicle on-board power system
US20170008464A1 (en) Communication system
US20090196627A1 (en) Distributed driver and can bus communication protocol
JP2017043242A (en) Electric connection device for vehicle
JP6587510B2 (en) In-vehicle communication system
JP6568456B2 (en) In-vehicle communication system
US9244859B2 (en) Bus subscriber for a bus system, bus system for a motor vehicle, and method for allocating addresses in a bus system
EP2915222B1 (en) Intelligent connector
JP6568454B2 (en) ID allocation correction method and in-vehicle communication system
US11130454B2 (en) On-vehicle controller
EP3209001A1 (en) Auto-addressing of communication nodes
CN114270327A (en) Method for identifying the position of a bus subscriber
US11477047B2 (en) In-vehicle network system
JP5710363B2 (en) Bus system
JP6241366B2 (en) Control device
JP2005278087A (en) Vehicle information communication system
JP2022145002A (en) On-vehicle system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181018

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190705

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190723

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190802

R150 Certificate of patent or registration of utility model

Ref document number: 6568455

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250