[go: up one dir, main page]

JP2015177365A - Communication node, communication system and communication method - Google Patents

Communication node, communication system and communication method Download PDF

Info

Publication number
JP2015177365A
JP2015177365A JP2014052586A JP2014052586A JP2015177365A JP 2015177365 A JP2015177365 A JP 2015177365A JP 2014052586 A JP2014052586 A JP 2014052586A JP 2014052586 A JP2014052586 A JP 2014052586A JP 2015177365 A JP2015177365 A JP 2015177365A
Authority
JP
Japan
Prior art keywords
communication node
message
communication
identifier
area
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
JP2014052586A
Other languages
Japanese (ja)
Inventor
康明 森田
Yasuaki Morita
康明 森田
益三 嵩本
Masuzo Takemoto
益三 嵩本
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
Original Assignee
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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2014052586A priority Critical patent/JP2015177365A/en
Publication of JP2015177365A publication Critical patent/JP2015177365A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

【課題】通信ノードを複数有する多重通信システムにおいて、メッセージに付帯されるソースIDの数を増加させること。【解決手段】車両に搭載されるとともに、通信バスに接続される複数の通信ノードの1つは、送信元の通信ノードの識別子、及び送信先の通信ノードの識別子を付帯したメッセージを作成する制御部と、制御部で作成したメッセージを送信する送信部とを有する。制御部は、メッセージに送信元の通信ノードの識別子を付帯する際に、送信元の通信ノードの識別子を付帯する領域と運用していない付加情報領域とを併せた第1の領域に、自通信ノードの識別子を付帯する。【選択図】図3PROBLEM TO BE SOLVED: To increase the number of source IDs attached to a message in a multiplex communication system having a plurality of communication nodes. SOLUTION: One of a plurality of communication nodes mounted on a vehicle and connected to a communication bus is a control for creating a message with an identifier of a source communication node and an identifier of a destination communication node. It has a unit and a transmission unit that transmits a message created by the control unit. When attaching the identifier of the communication node of the source to the message, the control unit communicates with itself in the first area that combines the area with the identifier of the communication node of the source and the additional information area that is not in operation. Attach the identifier of the node. [Selection diagram] Fig. 3

Description

本発明は、車両に搭載される通信システムに関する。   The present invention relates to a communication system mounted on a vehicle.

イグニッションオフ(IG-OFF)などによって車両が停止したときの電力消費を低減するため、IG-OFF中に通信を行う電子制御ユニット(ECU: Electronic Control Unit)には、ネットワークマネジメント(NM: Network Management)機能が搭載されたものがある。ネットワークマネジメント機能が搭載されたECUは、バス上の他のネットワークマネジメント機能が搭載されたECUと協調して省電力モードへ移行するために、ネットワークマネジメントメッセージ(以下、「NMメッセージ」という)を用いて、省電力モードへ移行できるか否かを判断する。   In order to reduce the power consumption when the vehicle stops due to ignition off (IG-OFF), etc., network management (NM: Network Management) is included in the electronic control unit (ECU) that communicates during IG-OFF. ) Some functions are installed. An ECU equipped with a network management function uses a network management message (hereinafter referred to as “NM message”) in order to shift to a power saving mode in cooperation with an ECU equipped with other network management functions on the bus. To determine whether or not the mode can be shifted to the power saving mode.

データの送信先の識別子を付加したデータを送信する通信制御装置が知られている(例えば、特許文献1参照)。   There is known a communication control device that transmits data to which an identifier of a data transmission destination is added (see, for example, Patent Document 1).

特開2000−224260号公報JP 2000-224260 A

図1は、NMメッセージのフォーマットの一例を示す。NMメッセージには、CANフレームが適用される。図1において、(1)はNMメッセージ全体のフォーマットを示し、(2)はNMメッセージの一部分の詳細を示す。   FIG. 1 shows an example of the format of the NM message. A CAN frame is applied to the NM message. In FIG. 1, (1) shows the format of the entire NM message, and (2) shows the details of a part of the NM message.

NMメッセージは、スタートオブフレーム(SOF: Start Of Frame)と、調停フィールド(Arbitration Field)と、制御フィールド(Control Field)と、データフィールド(Data Field)と、CRCフィールドと、ACKフィールドと、エンドオブフレーム(EOF: End of Frame)とにより構成される。   The NM message includes a start of frame (SOF), an arbitration field, a control field, a data field, a CRC field, an ACK field, and an end of frame. (EOF: End of Frame).

スタートオブフレームは、フレームの先頭を示し、ドミナント(論理0)ビットで示される。調停フィールドは、フレームの優先順位を示す。調停フィールドにはメッセージIDが付帯され、このメッセージIDによりメッセージが識別され、メッセージの優先順位が示される。メッセージIDは、11ビットで表されてもよいし(標準フレーム)、29ビットで表されてもよい(拡張フレーム)。   The start of frame indicates the head of the frame and is indicated by a dominant (logic 0) bit. The arbitration field indicates the priority order of frames. A message ID is attached to the arbitration field, the message is identified by this message ID, and the priority of the message is indicated. The message ID may be represented by 11 bits (standard frame) or 29 bits (extended frame).

制御フィールドは、予約ビットとデータのバイト数が付帯される。データフィールドは、0-8バイトの各種データ、スイッチ信号及び制御信号などが付帯される。CRCフィールドは、フレームの伝送誤りをチェックする際に使用され、CRCフィールドには、15ビットの巡回冗長検査コードとリセッシブデリミタビットが付帯される。   The control field is accompanied by a reserved bit and the number of data bytes. The data field is accompanied by various data of 0-8 bytes, a switch signal, a control signal, and the like. The CRC field is used when checking a frame transmission error, and a 15-bit cyclic redundancy check code and a recessive delimiter bit are attached to the CRC field.

ACKフィールドは、メッセージを正しく受信した場合に、メッセージの最後に送信する。受信側のノードは通信バス上でACKビットの有無をチェックし、ACKが検出されなかった場合は再度送信を試みるのが好ましい。エンドオブフレームは、データフレームやリモートフレームの終了位置を示す。エンドオブフレームは、7ビットで構成され、ビットレベルは全て"リセッシブ"である。   The ACK field is transmitted at the end of the message when the message is correctly received. It is preferable that the receiving side node checks the presence or absence of the ACK bit on the communication bus, and tries again if no ACK is detected. The end of frame indicates the end position of the data frame or the remote frame. The end-of-frame is composed of 7 bits, and all bit levels are “recessive”.

図1の(2)は、調停フィールド、及びデータフィールドの詳細を示す。調停フィールド、及びデータフィールドには、ヘッダフィールド、オペレーションフィールド、及びデータフィールドが用意される。さらに、ヘッダフィールドには、IDベースと、アドレスフィールドが用意され、アドレスフィールドには、ソースID(Source ID)と、デスティネイションID(Dest.ID)が付帯される。オペレーションフィールドにはオペレーションコード(Op Code)が付帯され、データフィールドにはデータが付帯される。   (2) of FIG. 1 shows the details of the arbitration field and the data field. In the arbitration field and the data field, a header field, an operation field, and a data field are prepared. Further, an ID base and an address field are prepared in the header field, and a source ID (Source ID) and a destination ID (Dest. ID) are attached to the address field. An operation code (Op Code) is attached to the operation field, and data is attached to the data field.

NMメッセージのアドレスフィールドには、ソースIDを付帯するために8ビットが用意され、そのアドレスフィールドにCAN IDの11ビットのうち下位8ビットが付帯される。一方、NM機能が搭載されたECUの増加に伴い、ソースIDの数を増加させることが要求されているが、現状では、アドレスフィールドにCAN IDの下位8ビットを重複しないように付帯しなければならず、ソースIDの数を増加させるのは難しい。   In the address field of the NM message, 8 bits are prepared to attach the source ID, and the lower 8 bits of the 11 bits of CAN ID are attached to the address field. On the other hand, as the number of ECUs equipped with NM functions increases, it is required to increase the number of source IDs, but at present, the lower 8 bits of CAN ID must be added to the address field so as not to overlap. It is difficult to increase the number of source IDs.

本発明の目的は、通信ノードを複数有する多重通信システムにおいて、メッセージに付帯されるソースIDの数を増加させることである。   An object of the present invention is to increase the number of source IDs attached to a message in a multiple communication system having a plurality of communication nodes.

開示の一実施例の通信ノードは、
車両に搭載されるとともに、通信バスに接続される複数の通信ノードの1つであって、
送信元の通信ノードの識別子、及び送信先の通信ノードの識別子を付帯したメッセージを作成する制御部と、
前記制御部で作成したメッセージを送信する送信部と
を有し、
前記制御部は、前記メッセージに前記送信元の通信ノードの識別子を付帯する際に、前記送信元の通信ノードの識別子を付帯する領域と運用していない付加情報領域とを併せた第1の領域に、自通信ノードの識別子を付帯する。
The communication node of one embodiment of the disclosure is
One of a plurality of communication nodes mounted on a vehicle and connected to a communication bus,
A control unit for creating a message attached with an identifier of a communication node of a transmission source and an identifier of a communication node of a transmission destination;
A transmission unit for transmitting the message created by the control unit,
When the control unit appends the identifier of the transmission source communication node to the message, the control unit includes a first region that combines a region that accompanies the identifier of the transmission source communication node and a non-operating additional information region In addition, the identifier of the own communication node is attached.

開示の実施例によれば、通信ノードを複数有する多重通信システムにおいて、メッセージに付帯されるソースIDの数を増加させることができる。   According to the disclosed embodiment, the number of source IDs attached to a message can be increased in a multiple communication system having a plurality of communication nodes.

ネットワークマネジメントメッセージの一例を示す図である。It is a figure which shows an example of a network management message. 通信システムの一実施例を示す図である。It is a figure which shows one Example of a communication system. ネットワークマネジメントメッセージの一実施例(その1)を示す図である。It is a figure which shows one Example (the 1) of a network management message. 第1の通信ノードの一実施例を示す図である。It is a figure which shows one Example of a 1st communication node. ソースIDオフセットテーブルの一例(その1)を示す図である。It is a figure which shows an example (the 1) of a source ID offset table. 第1の通信ノードの一実施例を示す機能ブロック図である。It is a functional block diagram which shows one Example of a 1st communication node. 第1の通信ノードの動作の一実施例を示すフローチャートである。It is a flowchart which shows one Example of operation | movement of a 1st communication node. 通信システムの動作の一実施例を示す図である。It is a figure which shows one Example of operation | movement of a communication system. ソースIDオフセットテーブルの一例(その2)を示す図である。It is a figure which shows an example (the 2) of a source ID offset table. ネットワークマネジメントメッセージの一実施例(その2)を示す図である。It is a figure which shows one Example (the 2) of a network management message. IDベースオフセットテーブルの一例を示す図である。It is a figure which shows an example of an ID base offset table. 通信システムの一例を示す図である。It is a figure which shows an example of a communication system. 通信システムの一実施例の適用例を示す図である。It is a figure which shows the example of application of one Example of a communication system.

次に、本発明を実施するための形態を、以下の実施例に基づき図面を参照しつつ説明する。以下で説明する実施例は一例に過ぎず、本発明が適用される実施の形態は、以下の実施例に限られない。
なお、実施例を説明するための全図において、同一機能を有するものは同一符号を用い、繰り返しの説明は省略する。
Next, the form for implementing this invention is demonstrated, referring drawings based on the following Examples. Examples described below are merely examples, and embodiments to which the present invention is applied are not limited to the following examples.
In all the drawings for explaining the embodiments, the same reference numerals are used for those having the same function, and repeated explanation is omitted.

<第1の実施例>
<通信システム>
図2は、通信システムの一実施例を示す。
<First embodiment>
<Communication system>
FIG. 2 shows an embodiment of a communication system.

通信システムは、例えば車両等の移動体に搭載される。通信システムの一実施例は、車両に搭載され、CAN(Controller Area Network)等のイベントドリブン型のネットワークが適用される。通信システムは、情報系LAN、パワートレイン系LAN、ボディ系LANなどに適用できる。各通信ノードは、電子制御ユニット(ECU: Electronic Control Unit)などの制御装置によって実現される。また、各通信ノードに、センサ、アクチュエータなどが実装されてもよい。   The communication system is mounted on a moving body such as a vehicle. One embodiment of a communication system is mounted on a vehicle, and an event-driven network such as CAN (Controller Area Network) is applied. The communication system can be applied to information LAN, powertrain LAN, body LAN, and the like. Each communication node is realized by a control device such as an electronic control unit (ECU). Moreover, a sensor, an actuator, etc. may be mounted in each communication node.

通信システムは、第1の通信ノード100と、第2の通信ノード200と、第3の通信ノード300とを備える。第1の通信ノード100−第3の通信ノード300は、通信バス10により有線接続される。図1には、3個の通信ノードによって通信システムを構成する場合について示すが、2個の通信ノードによって通信システムを構成してもよいし、4個以上の通信ノードによって通信システムを構成してもよい。   The communication system includes a first communication node 100, a second communication node 200, and a third communication node 300. The first communication node 100 to the third communication node 300 are connected by wire through the communication bus 10. Although FIG. 1 shows a case where a communication system is configured by three communication nodes, a communication system may be configured by two communication nodes, or a communication system may be configured by four or more communication nodes. Also good.

通信システムにCANが適用される場合、通信バス10は、ツイストペアの形態を有する2本の通信線(CANバス)からなる。CANバスのツイストペア線は一方がCAN High(以下、CANHという)、他方がCAN Low(以下、CANLという)と呼ばれる母線である。通信バス10の両端には終端抵抗(図示なし)が接続される。図2では、1本の実線でCANH、CANLを表す。   When CAN is applied to the communication system, the communication bus 10 includes two communication lines (CAN bus) having a twisted pair configuration. One of the CAN bus twisted pair lines is a bus called CAN High (hereinafter referred to as CANH) and the other is referred to as CAN Low (hereinafter referred to as CANL). Termination resistors (not shown) are connected to both ends of the communication bus 10. In FIG. 2, CANH and CANL are represented by a single solid line.

通信システムの一実施例では、第1の通信ノード100は第2の通信ノード200を送信先としてメッセージを送信し、第2の通信ノード200は第3の通信ノード300を送信先としてメッセージを送信し、第3の通信ノード300は第1の通信ノード100を送信先としてメッセージを送信することにより論理リンクが形成される。   In one embodiment of the communication system, the first communication node 100 transmits a message with the second communication node 200 as a transmission destination, and the second communication node 200 transmits a message with the third communication node 300 as a transmission destination. Then, the third communication node 300 forms a logical link by transmitting a message with the first communication node 100 as a transmission destination.

第1の通信ノード100は、IDベース領域とソースID領域とを併せた領域(以下、「第1の領域」という)に自第1の通信ノード100のIDを付帯し、デスティネイションID領域(以下、「第2の領域」という)に送信先の第2の通信ノード200のIDを付帯するとともに、オペレーションフィールド、及びデータフィールドに自第1の通信ノード100の状態を表す情報を付帯したNMメッセージを送信する。自第1の通信ノード100の状態を表す情報の一例は、起動を継続する状態を表す情報、省電力モードへ移行可能である状態を表す情報などである。   The first communication node 100 attaches the ID of its own first communication node 100 to a region (hereinafter referred to as “first region”) that is a combination of the ID base region and the source ID region, and a destination ID region ( (Hereinafter referred to as “second region”) is accompanied by the ID of the second communication node 200 of the transmission destination, and the operation field and the data field are accompanied by information indicating the state of the first communication node 100. Send a message. An example of information representing the state of the first communication node 100 is information representing a state in which activation is continued, information representing a state in which a transition to the power saving mode is possible, and the like.

第2の通信ノード200、及び第3の通信ノード300は、第1の通信ノード100により送信されたNMメッセージの第2の領域に付帯されるデスティネイションIDを参照し、デスティネイションIDが自通信ノードのIDである場合、そのNMメッセージを処理する。ここでは、NMメッセージの第2の領域には第2の通信ノード200のIDが付帯されるため、第2の通信ノード200は、NMメッセージを処理する。   The second communication node 200 and the third communication node 300 refer to the destination ID attached to the second area of the NM message transmitted by the first communication node 100, and the destination ID communicates with itself. If it is a node ID, the NM message is processed. Here, since the ID of the second communication node 200 is attached to the second area of the NM message, the second communication node 200 processes the NM message.

第2の通信ノード200は、NMメッセージに付帯される第1の通信ノード100の状態を表す情報を取得し、そのNMメッセージの第1の領域に自第2の通信ノード200のIDを付帯し、第2の領域に送信先の第3の通信ノード300のIDを付帯するとともに、オペレーションフィールド、及びデータフィールドに自第2の通信ノード200の状態を表す情報を付帯したNMメッセージを作成し、送信する。   The second communication node 200 acquires information representing the state of the first communication node 100 attached to the NM message, and attaches the ID of the second communication node 200 to the first area of the NM message. In addition, an ID of the third communication node 300 as a transmission destination is attached to the second area, and an NM message attached with information indicating the state of the second communication node 200 in the operation field and the data field is created. Send.

第3の通信ノード300、及び第1の通信ノード100は、第2の通信ノード200により送信されたNMメッセージの第2の領域に付帯されるデスティネイションIDを参照し、デスティネイションIDが自通信ノードのIDである場合、そのNMメッセージを処理する。ここでは、NMメッセージの第2の領域には第3の通信ノード300のIDが付帯されるため、第3の通信ノード300は、NMメッセージを処理する。   The third communication node 300 and the first communication node 100 refer to the destination ID attached to the second area of the NM message transmitted by the second communication node 200, and the destination ID communicates with itself. If it is a node ID, the NM message is processed. Here, since the ID of the third communication node 300 is attached to the second area of the NM message, the third communication node 300 processes the NM message.

第3の通信ノード300は、NMメッセージに付帯される第2の通信ノード200の状態を表す情報を取得し、そのNMメッセージの第1の領域に自第3の通信ノード300のIDを付帯し、第2の領域に宛先の第1の通信ノード100のIDを付帯するとともに、オペレーションフィールド、及びデータフィールドに自第3の通信ノード300の状態を表す情報を付帯したNMメッセージを作成し、送信する。   The third communication node 300 acquires information representing the state of the second communication node 200 attached to the NM message, and attaches the ID of the third communication node 300 to the first area of the NM message. In addition, an ID of the first communication node 100 as the destination is attached to the second area, and an NM message attached with information indicating the state of the third communication node 300 in the operation field and the data field is generated and transmitted. To do.

第1の通信ノード100、及び第2の通信ノード200は、第3の通信ノード300により送信されたNMメッセージの第2の領域に付帯されるデスティネイションIDを参照し、デスティネイションIDが自通信ノードのIDである場合、そのNMメッセージを処理する。ここでは、NMメッセージの第2の領域には第1の通信ノード100のIDが付帯されるため、第1の通信ノード100は、NMメッセージを処理する。   The first communication node 100 and the second communication node 200 refer to the destination ID attached to the second area of the NM message transmitted by the third communication node 300, and the destination ID communicates with itself. If it is a node ID, the NM message is processed. Here, since the ID of the first communication node 100 is attached to the second area of the NM message, the first communication node 100 processes the NM message.

第1の通信ノード100は、NMメッセージに付帯される第3の通信ノード300の状態を表す情報を取得し、そのNMメッセージの第1の領域に自第1の通信ノード100のIDを付帯し、第2の領域に宛先の第2の通信ノード200のIDを付帯するとともに、オペレーションフィールド、及びデータフィールドに他の通信ノードの情報を付帯したNMメッセージを作成し、送信する。ここで、他の通信ノードの情報は、通信ノードの状態を表す情報が論理リンクを伝送した後に、通信ノードの状態を変更してよいことを通知するメッセージである。 以上の動作が繰り返されることにより、通信バス10の接続される第1の通信ノード100−第3の通信ノード300の各々は、他の通信ノードが起動を継続する状態であるのか、省電力モードへ移行可能である状態であるのかを判別できるため、全通信ノードが省電力モードへ移行可能である状態であると判別できる場合に、全通信ノードの間で協調して、省電力モードへ移行できる。   The first communication node 100 acquires information indicating the state of the third communication node 300 attached to the NM message, and attaches the ID of the first communication node 100 to the first area of the NM message. The NM message with the ID of the second communication node 200 as the destination added to the second area and the information of another communication node attached to the operation field and the data field is created and transmitted. Here, the information on the other communication node is a message notifying that the state of the communication node may be changed after the information indicating the state of the communication node is transmitted through the logical link. By repeating the above operation, whether each of the first communication node 100 to the third communication node 300 to which the communication bus 10 is connected is in a state where the other communication nodes continue to be activated, is in the power saving mode. If all communication nodes can be determined to be able to enter the power saving mode, it is possible to cooperate with all the communication nodes and enter the power saving mode. it can.

<メッセージのフォーマット>
図3は、通信システムの一実施例に係る各通信ノードが送信するメッセージのフォーマットの一実施例を示す。メッセージには、CANフレームが適用される。図3において、(1)はメッセージ全体のフォーマットを示し、(2)はメッセージの一部分の詳細を示す。
<Message format>
FIG. 3 shows an embodiment of a format of a message transmitted by each communication node according to an embodiment of the communication system. A CAN frame is applied to the message. In FIG. 3, (1) shows the format of the entire message, and (2) shows the details of a part of the message.

図1を参照して説明した従来のメッセージのフォーマットと、IDベース領域とソースID領域とを併せた第1の領域をソースIDを付帯する領域として使用する点で異なる。IDベース領域の3ビットをソースIDを付帯する領域として使用することにより、従来の8ビットから11ビットへソースIDを付帯する領域を拡張できる。これにより、使用できるソースIDの数を増大できる。また、11ビットへソースIDを付帯する領域を拡張できることにより、CAN IDなどの各通信ノードのIDをそのままソースIDに使用でき、CAN IDの下位8ビットを重複しないように付帯しなければならない問題を解決できる。   The difference is that the conventional message format described with reference to FIG. 1 and the first area, which is a combination of the ID base area and the source ID area, are used as an area associated with the source ID. By using 3 bits of the ID base area as an area for attaching the source ID, the area for attaching the source ID can be expanded from the conventional 8 bits to 11 bits. This can increase the number of source IDs that can be used. In addition, since the area where the source ID is attached to 11 bits can be expanded, the ID of each communication node such as CAN ID can be used as the source ID as it is, and the lower 8 bits of the CAN ID must be attached so as not to overlap. Can be solved.

一方、デスティネイションID領域などの第2の領域は、データフィールドに用意されるため、8ビットから拡張することは難しい。そこで、デスティネイションID領域の8ビットのうち、上位2ビットはオフセットを示す情報を付帯する領域とし、下位6ビットはオフセットに対応する値(以下、「オフセット値」という)からの差分を付帯する領域とすることにより、11ビットで表されるCAN IDを表す。ここで、オフセットとは、複数の通信ノードに連続するIDが割り当てられる場合に、予め設定される起点となるIDである。上位2ビットにオフセットを付帯し、下位6ビットにオフセット値からの差分を付帯することにより、オフセットに対応する任意のIDから6ビットで表される数(63個)分のメッセージを表すことができる。   On the other hand, since the second area such as the destination ID area is prepared in the data field, it is difficult to expand from 8 bits. Therefore, among the 8 bits of the destination ID area, the upper 2 bits are used as an area for attaching information indicating an offset, and the lower 6 bits are attached with a difference from a value corresponding to the offset (hereinafter referred to as an “offset value”). By making it an area, it represents a CAN ID represented by 11 bits. Here, the offset is an ID that is a starting point set in advance when consecutive IDs are assigned to a plurality of communication nodes. By attaching an offset to the upper 2 bits and attaching a difference from the offset value to the lower 6 bits, it is possible to represent the number of messages (63) represented by 6 bits from any ID corresponding to the offset. it can.

<第1の通信ノード100>
図4は、第1の通信ノード100の一実施例を示す。図4には、主に、第1の通信ノード100のハードウェア構成を示す。第2の通信ノード200−第3の通信ノード300のハードウェア構成についても、図4を適用できる。
<First communication node 100>
FIG. 4 shows an example of the first communication node 100. FIG. 4 mainly shows the hardware configuration of the first communication node 100. 4 can also be applied to the hardware configuration of the second communication node 200 to the third communication node 300.

第1の通信ノード100は、通信トランシーバ102、通信回路104、CPU106、RAM108、ROM110、及びHD112を有し、それぞれはバス20を介して接続される。   The first communication node 100 includes a communication transceiver 102, a communication circuit 104, a CPU 106, a RAM 108, a ROM 110, and an HD 112, and each is connected via the bus 20.

通信トランシーバ102は、通信バス10に接続され、通信ドライバによる制御によって、通信回路104からのデータを通信バス10に送信するとともに、通信バス10からのデータを受信し、通信回路104に入力する。通信トランシーバ102は、データを送信する場合には、CANHとCANLに反転信号を送出する。通信トランシーバ102は、データを受信する場合には、CANHとCANLとの電圧差から、通信バス10上のデータが"1"であるか"0"であるかを判定する。   The communication transceiver 102 is connected to the communication bus 10, and transmits data from the communication circuit 104 to the communication bus 10 and receives data from the communication bus 10 and inputs the data to the communication circuit 104 under the control of the communication driver. When transmitting data, the communication transceiver 102 sends an inversion signal to CANH and CANL. When receiving data, the communication transceiver 102 determines whether the data on the communication bus 10 is “1” or “0” from the voltage difference between CANH and CANL.

通信回路104は、通信トランシーバ102と接続され、通信バス10を介して、他の通信ノードとシリアル通信を行う。通信回路104は、CPU106からのデータを通信トランシーバ102から送信するとともに、通信トランシーバ102からのデータをCPU106に入力する。   The communication circuit 104 is connected to the communication transceiver 102 and performs serial communication with other communication nodes via the communication bus 10. The communication circuit 104 transmits data from the CPU 106 from the communication transceiver 102 and inputs data from the communication transceiver 102 to the CPU 106.

CPU106は、通信回路104により実行される通信処理や、第1の通信ノード100を制御する処理を実行する。CPU106には、バッテリ電源(+B電源)が供給されるとともに、IG(イグニッション)信号が入力される。また、CPU106は、第1の通信ノード100の動作状態を制御する。第1の通信ノード100の動作状態は、CPU106が通常モードで動作しているときに起動状態(通常状態)となり、CPU106がスリープ状態に入ると、CPU106の動作に伴う消費電力が低減するとともに、通信回路104への電源供給が遮断されるため、消費電力が少ない状態である省電力モードとなる。   The CPU 106 executes communication processing executed by the communication circuit 104 and processing for controlling the first communication node 100. The CPU 106 is supplied with battery power (+ B power) and an IG (ignition) signal. Further, the CPU 106 controls the operation state of the first communication node 100. The operating state of the first communication node 100 is an activated state (normal state) when the CPU 106 is operating in the normal mode. When the CPU 106 enters the sleep state, power consumption associated with the operation of the CPU 106 is reduced. Since the power supply to the communication circuit 104 is cut off, the power saving mode in which power consumption is low is entered.

RAM108は、CPU106のワークエリアとして使用される。ROM110は、IPL(Initial Program Loader)等のCPU106の駆動に用いられるプログラムを記憶する。さらに、ROM110は、ソースIDオフセットテーブルを記憶する。   The RAM 108 is used as a work area for the CPU 106. The ROM 110 stores a program used for driving the CPU 106 such as an IPL (Initial Program Loader). Further, the ROM 110 stores a source ID offset table.

図5は、ソースIDオフセットテーブルの一例を示す。ソースIDオフセットテーブルは、オフセットと、オフセット値とが紐付けられることにより対応付けられる。図5に示される例では、オフセット「0h」(hは16進数を示す。以下同様)、「1h」、「2h」、及び「3h」に対して、それぞれ「360h」、「440h」、「570h」、及び「600h」が紐付けられることにより対応付けられる。図5は、一例であり、図5とは異なる2ビットでオフセットが表されてもよいし、更に、オフセット値も図5とは異なる11ビットで表されてもよい。   FIG. 5 shows an example of the source ID offset table. The source ID offset table is associated by associating an offset with an offset value. In the example shown in FIG. 5, the offset “0h” (h is a hexadecimal number, the same applies hereinafter), “1h”, “2h”, and “3h” are “360h”, “440h”, “ “570h” and “600h” are associated with each other. FIG. 5 is an example, and the offset may be represented by 2 bits different from FIG. 5, and the offset value may also be represented by 11 bits different from FIG. 5.

HD112は、通信ノード用のプログラム等の各種データを記憶する。   The HD 112 stores various data such as programs for communication nodes.

<第1の通信ノードの機能>
図6は、第1の通信ノード100の機能ブロック図を示す。第2の通信ノード200、及び第3の通信ノード300の機能ブロック図も図6を適用できる。
<Function of the first communication node>
FIG. 6 shows a functional block diagram of the first communication node 100. The functional block diagram of the second communication node 200 and the third communication node 300 can also be applied to FIG.

第1の通信ノード100は、メッセージ処理部1062、状態制御部1064、及びメッセージ作成部1066を有する。これら各部は、図4に示されている各構成要素のいずれかが、HD112からRAM108上に展開された通信ノード用のプログラムに従ったCPU106からの命令によって動作することで実現される機能又は手段である。   The first communication node 100 includes a message processing unit 1062, a state control unit 1064, and a message creation unit 1066. Each of these units is a function or means realized by any one of the constituent elements shown in FIG. 4 operating according to a command from the CPU 106 according to a communication node program expanded from the HD 112 onto the RAM 108. It is.

次に、第1の通信ノード100の各機能構成について詳細に説明する。なお、以下では、第1の通信ノード100の各機能構成を説明するにあたって、図4に示されている各構成要素のうち、第1の通信ノード100の各機能構成を実現させるための主な構成要素との関係も説明する。   Next, each functional configuration of the first communication node 100 will be described in detail. In the following description, in describing each functional configuration of the first communication node 100, main components for realizing each functional configuration of the first communication node 100 among the respective components illustrated in FIG. 4. The relationship with the components will also be described.

図6に示されている第1の通信ノード100のメッセージ処理部1062は、図4に示されているCPU106からの命令、及び図4に示されている通信回路104によって実現される。メッセージ処理部1062には、通信回路104から、通信バス10を介して他の通信ノードから送信されたNMメッセージが入力される。メッセージ処理部1062は、他の通信ノードから送信されるNMメッセージの第2の領域に付帯される通信ノードのIDが第1の通信ノードのIDであるか否かを判定する。   The message processing unit 1062 of the first communication node 100 shown in FIG. 6 is realized by a command from the CPU 106 shown in FIG. 4 and the communication circuit 104 shown in FIG. The message processing unit 1062 receives an NM message transmitted from another communication node from the communication circuit 104 via the communication bus 10. The message processing unit 1062 determines whether the ID of the communication node attached to the second area of the NM message transmitted from another communication node is the ID of the first communication node.

第2の領域には、送信先の通信ノードのIDがオフセット、及びオフセットからの偏差の形式で付帯されているため、メッセージ処理部1062は、第2の領域に付帯される情報をオフセットを表す上位2ビットと、偏差を表す下位6ビットに分割する。そして、メッセージ処理部1062は、ROM110に記憶されているソースIDオフセットテーブル(図5参照)から上位2ビットに対応するオフセット値(11ビット)を取得し、このオフセット値に第2の領域に付帯される下位6ビットの偏差を11ビットで表したものを加算して、宛先の通信ノードのID(11ビット)を得る。   Since the ID of the destination communication node is attached to the second area in the form of an offset and a deviation from the offset, the message processing unit 1062 represents the information attached to the second area as an offset. Divide into upper 2 bits and lower 6 bits representing deviation. Then, the message processing unit 1062 acquires an offset value (11 bits) corresponding to the upper 2 bits from the source ID offset table (see FIG. 5) stored in the ROM 110, and attaches the offset value to the second area. The lower 6-bit deviation expressed in 11 bits is added to obtain the ID (11 bits) of the destination communication node.

他の通信ノードから送信されるメッセージの第2の領域に付帯される通信ノードのIDが第1の通信ノードのIDである場合、メッセージ処理部1062は、そのメッセージをメッセージ作成部1066へ入力するとともに、そのメッセージのオペレーションフィールド、及びデータフィールドに付帯される通信ノードの状態を表す情報又は他の通信ノードの情報を取得し、状態制御部1064へ入力する。一方、他の通信ノードから送信されるメッセージの第2の領域に付帯される通信ノードのIDが第1の通信ノードのIDでない場合、メッセージ処理部1062は、そのメッセージを破棄する。   When the ID of the communication node attached to the second area of the message transmitted from another communication node is the ID of the first communication node, the message processing unit 1062 inputs the message to the message creation unit 1066. At the same time, information indicating the state of the communication node attached to the operation field and data field of the message or information of other communication nodes is acquired and input to the state control unit 1064. On the other hand, when the ID of the communication node attached to the second area of the message transmitted from another communication node is not the ID of the first communication node, the message processing unit 1062 discards the message.

図6に示されている第1の通信ノード100の状態制御部1064は、図4に示されているCPU106からの命令によって実現される。状態制御部1064には、メッセージ処理部1062から、他の通信ノードから送信されたメッセージに付帯される他の通信ノードの状態を表す情報又は他の通信ノードの情報が入力される。状態制御部1064は、他の通信ノードの状態を表す情報を一時的に保持する。また、状態制御部1064は、第1の通信ノード100の状態、及びメッセージ処理部1062から入力された他の通信ノードの情報に基づいて、第1の通信ノード100の状態を制御する。例えば、第1の通信ノード100の状態が省電力モードへ移行可能である状態であり、且つメッセージ処理部1062から入力された他の通信ノードの情報も省電力モードへ移行可能である状態である場合、状態制御部1064は、第1の通信ノード100を省電力モードへ移行させる。   The state control unit 1064 of the first communication node 100 shown in FIG. 6 is realized by an instruction from the CPU 106 shown in FIG. Information indicating the state of another communication node attached to a message transmitted from another communication node or information of another communication node is input from the message processing unit 1062 to the state control unit 1064. The state control unit 1064 temporarily holds information indicating the state of other communication nodes. Further, the state control unit 1064 controls the state of the first communication node 100 based on the state of the first communication node 100 and information on other communication nodes input from the message processing unit 1062. For example, the state of the first communication node 100 can be shifted to the power saving mode, and information on other communication nodes input from the message processing unit 1062 can also be shifted to the power saving mode. In this case, the state control unit 1064 shifts the first communication node 100 to the power saving mode.

図6に示されている第1の通信ノード100のメッセージ作成部1066は、図4に示されているCPU106からの命令によって実現される。メッセージ作成部1066には、メッセージ処理部1062から、他の通信ノードから送信されたメッセージが入力される。メッセージ作成部1066は、他の通信ノードへ送信するメッセージを作成する。メッセージ作成部1066は、メッセージ処理部1062から入力されたメッセージの第1の領域に第1の通信ノード100のIDを付帯するとともに、第2の領域に送信先の通信ノードのIDを付帯する。   The message creation unit 1066 of the first communication node 100 shown in FIG. 6 is realized by an instruction from the CPU 106 shown in FIG. A message transmitted from another communication node from the message processing unit 1062 is input to the message creation unit 1066. Message creation unit 1066 creates a message to be transmitted to another communication node. The message creation unit 1066 attaches the ID of the first communication node 100 to the first area of the message input from the message processing unit 1062 and attaches the ID of the communication node of the transmission destination to the second area.

第2の領域に送信先の通信ノードのIDを付帯する際に、メッセージ作成部1066は、ROM110に記憶されているソースIDオフセットテーブル(図5参照)のオフセット値から、宛先の通信ノードのID以下の値であり、且つ宛先の通信ノードのIDに最も近い値のものを取得する。そして、メッセージ作成部1066は、宛先の通信ノードのIDから取得したオフセット値を減算した値を6ビットで表すことにより偏差を求める。メッセージ作成部1066は、第2のID領域に取得したオフセット値に紐付けられたオフセット(2ビット)、及び偏差(6ビット)を付帯する。   When attaching the ID of the destination communication node to the second area, the message creation unit 1066 uses the offset value of the source ID offset table (see FIG. 5) stored in the ROM 110 to determine the ID of the destination communication node. A value having the following value and the value closest to the ID of the destination communication node is acquired. Then, the message creation unit 1066 obtains the deviation by expressing the value obtained by subtracting the acquired offset value from the ID of the destination communication node with 6 bits. The message creation unit 1066 attaches an offset (2 bits) and a deviation (6 bits) associated with the offset value acquired in the second ID area.

さらに、メッセージ作成部1066は、状態制御部1064から第1の通信ノード100の状態を表す情報を取得し、メッセージのオペレーションフィールド、及びデータフィールドに付帯し、通信回路104へ入力する。通信回路104へ入力されたメッセージは、通信トランシーバ102から通信バス10へ送信される。   Further, the message creation unit 1066 acquires information representing the state of the first communication node 100 from the state control unit 1064, attaches it to the operation field and data field of the message, and inputs them to the communication circuit 104. The message input to the communication circuit 104 is transmitted from the communication transceiver 102 to the communication bus 10.

<第1の通信ノード100の動作>
図7は、第1の通信ノード100の動作の一実施例を示す。第2の通信ノード200、及び第3の通信ノード300の動作についても、図7を適用できる。
<Operation of First Communication Node 100>
FIG. 7 shows an example of the operation of the first communication node 100. FIG. 7 can also be applied to the operations of the second communication node 200 and the third communication node 300.

図7では、第1の通信ノード100が、他の通信ノードから該他の通信ノード状態を付帯したNMメッセージを受信する処理について説明する。   FIG. 7 illustrates a process in which the first communication node 100 receives an NM message accompanied by another communication node state from another communication node.

ステップS702では、第1の通信ノード100のCPU106は、イグニッションがオフであるか否かを判定する。車両のイグニッションがオフにされるとイグニッションオフ信号がCPU106へ入力される。CPU106は、イグニッションオフ信号が入力されたか否かに基づいて、イグニッションがオフであるか否かを判定する。イグニッションがオフでなく、イグニッションがオンである場合、ステップS702へ戻る。   In step S702, the CPU 106 of the first communication node 100 determines whether the ignition is off. When the ignition of the vehicle is turned off, an ignition off signal is input to the CPU 106. The CPU 106 determines whether or not the ignition is off based on whether or not the ignition off signal is input. If the ignition is not off and the ignition is on, the process returns to step S702.

ステップS704では、ステップS702で、イグニッションがオフであると判定した場合、第1の通信ノード100の通信回路104は、他の通信ノードから送信されたメッセージを受信する。イグニッションがオフである場合には、他の通信ノードからNMメッセージが送信され、通信回路104は、そのNMメッセージを受信する。   In step S704, when it is determined in step S702 that the ignition is off, the communication circuit 104 of the first communication node 100 receives a message transmitted from another communication node. When the ignition is off, an NM message is transmitted from another communication node, and the communication circuit 104 receives the NM message.

ステップS706では、第1の通信ノード100のメッセージ処理部1062は、他の通信ノードから送信されたメッセージの第2の領域に第1の通信ノード100のIDが付帯されているか否かを判定する。これにより、第1の通信ノード100は、他の通信ノードから送信されたメッセージが第1の通信ノード100を送信先とするNMメッセージであるか否かを判定できる。他の通信ノードから送信されたNMメッセージの第2の領域に第1の通信ノード100のIDが付帯されていない場合、そのメッセージは第1の通信ノード100を送信先とするメッセージでないため、ステップS702へ戻る。他のメッセージから送信されたメッセージが第1の通信ノード100を送信先とするメッセージでない場合、そのメッセージを破棄するようにしてもよい。   In step S706, the message processing unit 1062 of the first communication node 100 determines whether or not the ID of the first communication node 100 is attached to the second region of the message transmitted from the other communication node. . As a result, the first communication node 100 can determine whether or not the message transmitted from another communication node is an NM message with the first communication node 100 as a transmission destination. If the ID of the first communication node 100 is not attached to the second area of the NM message transmitted from another communication node, the message is not a message having the first communication node 100 as a transmission destination, The process returns to S702. When a message transmitted from another message is not a message whose destination is the first communication node 100, the message may be discarded.

ステップS708では、ステップS706で、他の通信ノードから送信されたNMメッセージが第1の通信ノード100を送信先とするNMメッセージであると判定した場合、メッセージ処理部1062は、そのメッセージのオペレーションフィールド、及びデータフィールドに付帯される他の通信ノードの状態情報を取得し、状態制御部1064に他の通信ノードの状態情報を入力する。   In step S708, when it is determined in step S706 that the NM message transmitted from another communication node is an NM message destined for the first communication node 100, the message processing unit 1062 displays the operation field of the message. , And status information of other communication nodes attached to the data field is acquired, and status information of other communication nodes is input to the status control unit 1064.

ステップS710では、第1の通信ノード100のメッセージ作成部1066は、自第1の通信ノード100の状態情報を取得する。   In step S710, the message creation unit 1066 of the first communication node 100 acquires the state information of the first communication node 100 itself.

ステップS712では、メッセージ作成部1066は、他の通信ノードから送信されたNMメッセージの第1の領域に第1の通信ノード100のIDを付帯する。   In step S712, the message creation unit 1066 attaches the ID of the first communication node 100 to the first area of the NM message transmitted from another communication node.

ステップS714では、メッセージ作成部1066は、他の通信ノードから送信されたメッセージの第2の領域に宛先の通信ノード100のIDをオフセットと、オフセットからの偏差の形式で付帯する。   In step S714, the message creation unit 1066 attaches the ID of the destination communication node 100 to the second area of the message transmitted from another communication node in the form of an offset and a deviation from the offset.

ステップS716では、メッセージ作成部1066は、状態制御部1064から取得した第1の通信ノード100の状態情報を、他の通信ノードから送信されたメッセージのオペレーションフィールド、及びデータフィールドに付帯する。   In step S716, the message creation unit 1066 attaches the status information of the first communication node 100 acquired from the status control unit 1064 to the operation field and data field of the message transmitted from the other communication node.

ステップS718では、メッセージ作成部1066は、通信回路104へ、ソースID領域に第1の通信ノード100のID、デスティネイションID領域に宛先の通信ノード100のID、オペレーションフィールド、及びデータフィールドに第1の通信ノード100の状態情報を付帯したメッセージを入力する。通信回路104は、メッセージ作成部1066から入力されたメッセージを通信トランシーバ102から送信する。   In step S718, the message creation unit 1066 sends to the communication circuit 104 the ID of the first communication node 100 in the source ID area, the ID of the destination communication node 100 in the destination ID area, the operation field, and the data field. A message accompanying the state information of the communication node 100 is input. The communication circuit 104 transmits the message input from the message creation unit 1066 from the communication transceiver 102.

<通信システムの動作の一例>
図8は、通信システムの一実施例を示す。図8に示される例では、通信システムは、通信ノードA400、通信ノードB500、通信ノードC600、及び通信ノードD700により構成され、各通信ノードは、通信バス10を介して接続される。通信ノードA400から送信される論理リングは、通信ノードB500、通信ノードC600、及び通信ノードD700の順序で送信される。通信ノードA400、通信ノードB500、通信ノードC600、及び通信ノードD700のハードウェア構成、及び機能ブロックは、上述した第1の通信ノード100のものを適用できる。
<Example of operation of communication system>
FIG. 8 shows an embodiment of a communication system. In the example illustrated in FIG. 8, the communication system includes a communication node A 400, a communication node B 500, a communication node C 600, and a communication node D 700, and each communication node is connected via the communication bus 10. The logical ring transmitted from the communication node A 400 is transmitted in the order of the communication node B 500, the communication node C 600, and the communication node D 700. The hardware configuration and functional blocks of the communication node A 400, the communication node B 500, the communication node C 600, and the communication node D 700 can be those of the first communication node 100 described above.

通信ノードA400のIDは「600h」であり、通信ノードB500のIDは「605h」であり、通信ノードC600のIDは「580h」であり、通信ノードD700のIDは「395h」である。また、各通信ノードのROM110には、図9に示されるソースIDオフセットテーブルが記憶される。   The ID of the communication node A400 is “600h”, the ID of the communication node B500 is “605h”, the ID of the communication node C600 is “580h”, and the ID of the communication node D700 is “395h”. Further, the ROM 110 of each communication node stores a source ID offset table shown in FIG.

通信システムの動作について説明する。   The operation of the communication system will be described.

通信ノードA400のメッセージ作成部1066は、第1の領域に自通信ノードA400のID(600h)を付帯し、第2の領域に送付先の通信ノードB500のID(605h)を付帯する。第2の領域に送付先の通信ノードB500のID(605h)を付帯する際に、メッセージ作成部1066は、第2の領域の上位2ビットに3h(600h)を付帯するとともに、下位6ビットに「000101」(005h)を付帯する。つまり、メッセージ作成部1066は、第2の領域に「11000101」を付帯する。さらに、メッセージ作成部1066は、オペレーションフィールド、及びデータフィールドに通信ノードA400の状態情報などのネットワークマネジメント情報を付帯し、メッセージを作成する。   The message creation unit 1066 of the communication node A 400 attaches the ID (600h) of the own communication node A 400 to the first area, and attaches the ID (605 h) of the communication node B 500 as the destination to the second area. When the ID (605h) of the destination communication node B 500 is attached to the second area, the message creation unit 1066 attaches 3h (600h) to the upper 2 bits of the second area and adds the lower 6 bits. “000101” (005h) is added. That is, the message creation unit 1066 attaches “11000101” to the second area. Further, the message creation unit 1066 attaches network management information such as the status information of the communication node A 400 to the operation field and the data field, and creates a message.

メッセージ作成部1066は、メッセージを通信回路104へ入力し、通信回路104は、通信トランシーバ102からメッセージを送信する。   Message creation unit 1066 inputs the message to communication circuit 104, and communication circuit 104 transmits the message from communication transceiver 102.

通信ノードA400から送信されたメッセージは、通信ノードB500−通信ノードD700に受信される。通信ノードB500−通信ノードD700の各々は、メッセージに付帯される第2の領域に付帯される情報を解析する。通信ノードB500−通信ノードD700のメッセージ処理部1062は、第2の領域に付帯される情報を上位2ビット、及び下位6ビットに分割する。メッセージ処理部1062は、ROM110に記憶されるセルIDオフセットテーブルから上位2ビットに対応するオフセット値を取得し、そのオフセット値と下位6ビットを11ビットで表したものとを加算し、送信先の通信ノードのIDを得る。具体的には、第2の領域に付帯される「11000101」を上位2ビット「11」と下位6ビット「000101」に分割する。そして、メッセージ処理部1062は、セルIDオフセットテーブル(図9参照)から上位2ビット「11」に紐付けられたオフセット値「600h」を取得し、この「600h」と下位6ビットを11ビットで表した「005h」とを加算し、「605h」を得る。通信ノードのIDが「605h」であるのは、通信ノードB500であるので、通信ノードB500のメッセージ処理部1062は、メッセージのオペレーションフィールド、及びデータフィールドに付帯される通信ノードの状態情報を状態制御部1064へ入力するとともに、メッセージ作成部1066へメッセージを入力する。一方、通信ノードC600、及び通信ノードD700のメッセージ処理部1062は、メッセージを破棄する。   The message transmitted from communication node A 400 is received by communication node B 500 -communication node D 700. Each of communication node B500-communication node D700 analyzes information attached to the second region attached to the message. The message processing unit 1062 of the communication node B 500 to the communication node D 700 divides information attached to the second area into upper 2 bits and lower 6 bits. The message processing unit 1062 acquires the offset value corresponding to the upper 2 bits from the cell ID offset table stored in the ROM 110, adds the offset value and the lower 6 bits represented by 11 bits, Get the ID of the communication node. Specifically, “11000101” attached to the second area is divided into upper 2 bits “11” and lower 6 bits “000101”. Then, the message processing unit 1062 acquires the offset value “600h” associated with the upper 2 bits “11” from the cell ID offset table (see FIG. 9), and the “600h” and the lower 6 bits are 11 bits. The represented “005h” is added to obtain “605h”. Since the communication node ID “605h” is the communication node B 500, the message processing unit 1062 of the communication node B 500 controls the status information of the communication node attached to the operation field and the data field of the message. The message is input to the unit 1064 and a message is input to the message creation unit 1066. On the other hand, the message processing unit 1062 of the communication node C600 and the communication node D700 discards the message.

通信ノードB500のメッセージ作成部1066は、第1の領域に自通信ノードB500のID(605h)を付帯し、第2の領域に送付先の通信ノードC600のID(580h)を付帯する。第2の領域に送付先の通信ノードC600のID(580h)を付帯する際に、メッセージ作成部1066は、第2の領域の上位2ビットに2h(570h)を付帯するとともに、下位6ビットに「001010」(010h)を付帯する。つまり、メッセージ作成部1066は、第2の領域に「10001010」を付帯する。さらに、メッセージ作成部1066は、オペレーションフィールド、及びデータフィールドにネットワークマネジメント情報を付帯し、メッセージを作成する。   The message creation unit 1066 of the communication node B 500 attaches the ID (605h) of the self-communication node B 500 to the first area, and attaches the ID (580h) of the destination communication node C 600 to the second area. When the ID (580h) of the destination communication node C600 is attached to the second area, the message creation unit 1066 attaches 2h (570h) to the upper 2 bits of the second area and adds the lower 6 bits. “001010” (010h) is attached. That is, the message creation unit 1066 attaches “10001010” to the second area. Further, the message creation unit 1066 attaches network management information to the operation field and the data field, and creates a message.

メッセージ作成部1066は、メッセージを通信回路104へ入力し、通信回路104は、通信トランシーバ102からメッセージを送信する。   Message creation unit 1066 inputs the message to communication circuit 104, and communication circuit 104 transmits the message from communication transceiver 102.

通信ノードB500から送信されたメッセージは、通信ノードA400、通信ノードC600、及び通信ノードD700に受信される。通信ノードA400、通信ノードC600、及び通信ノードD700の各々は、メッセージに付帯される第2の領域に付帯される情報を解析する。通信ノードA400、通信ノードC600、及び通信ノードD700のメッセージ処理部1062は、第2の領域に付帯される情報を上位2ビット、及び下位6ビットに分割する。メッセージ処理部1062は、ROM110に記憶されるセルIDオフセットテーブルから上位2ビットに対応するオフセット値を取得し、そのオフセット値と下位6ビットを11ビットで表したものとを加算し、送信先の通信ノードのIDを得る。具体的には、第2の領域に付帯される「10001010」を上位2ビット「10」と下位6ビット「001010」に分割する。そして、メッセージ処理部1062は、セルIDオフセットテーブル(図9参照)から上位2ビット「10」に紐付けられたオフセット値「570h」を取得し、この「570h」と下位6ビットを11ビットで表した「010h」とを加算し、「580h」を得る。通信ノードのIDが「580h」であるのは、通信ノードC600であるので、通信ノードC600のメッセージ処理部1062は、メッセージのデータフィールドに付帯される通信ノードの状態情報を状態制御部1064へ入力するとともに、メッセージ作成部1066へメッセージを入力する。一方、通信ノードA500、及び通信ノードD700のメッセージ処理部1062は、メッセージを破棄する。   The message transmitted from the communication node B500 is received by the communication node A400, the communication node C600, and the communication node D700. Each of communication node A 400, communication node C 600, and communication node D 700 analyzes the information attached to the second region attached to the message. The message processing unit 1062 of the communication node A 400, the communication node C 600, and the communication node D 700 divides the information attached to the second area into upper 2 bits and lower 6 bits. The message processing unit 1062 acquires the offset value corresponding to the upper 2 bits from the cell ID offset table stored in the ROM 110, adds the offset value and the lower 6 bits represented by 11 bits, Get the ID of the communication node. Specifically, “10001010” attached to the second area is divided into upper 2 bits “10” and lower 6 bits “001010”. Then, the message processing unit 1062 obtains an offset value “570h” associated with the upper 2 bits “10” from the cell ID offset table (see FIG. 9), and the “570h” and the lower 6 bits are 11 bits. The represented “010h” is added to obtain “580h”. Since the communication node ID “580h” is the communication node C600, the message processing unit 1062 of the communication node C600 inputs the state information of the communication node attached to the data field of the message to the state control unit 1064. At the same time, a message is input to the message creation unit 1066. On the other hand, the message processing unit 1062 of the communication node A 500 and the communication node D 700 discards the message.

通信ノードC600のメッセージ作成部1066は、第1の領域に自通信ノードC600のID(580h)を付帯し、第2の領域に送付先の通信ノードD700のID(395h)を付帯する。第2の領域に送付先の通信ノードD700のID(395h)を付帯する際に、メッセージ作成部1066は、第2の領域の上位2ビットに0h(360h)を付帯するとともに、下位6ビットに「010011」(035h)を付帯する。つまり、メッセージ作成部1066は、第2の領域に「00010011」を付帯する。さらに、メッセージ作成部1066は、オペレーションフィールド、及びデータフィールドにネットワークマネジメント情報を付帯し、メッセージを作成する。   The message creation unit 1066 of the communication node C600 attaches the ID (580h) of the own communication node C600 to the first area, and attaches the ID (395h) of the destination communication node D700 to the second area. When the ID (395h) of the destination communication node D700 is attached to the second area, the message creation unit 1066 attaches 0h (360h) to the upper 2 bits of the second area and also adds the lower 6 bits. “010011” (035h) is attached. That is, the message creation unit 1066 attaches “00010011” to the second area. Further, the message creation unit 1066 attaches network management information to the operation field and the data field, and creates a message.

メッセージ作成部1066は、メッセージを通信回路104へ入力し、通信回路104は、通信トランシーバ102からメッセージを送信する。   Message creation unit 1066 inputs the message to communication circuit 104, and communication circuit 104 transmits the message from communication transceiver 102.

通信ノードC600から送信されたメッセージは、通信ノードA400、通信ノードB500、及び通信ノードD700に受信される。通信ノードA400、通信ノードB500、及び通信ノードD700の各々は、メッセージに付帯される第2の領域に付帯される情報を解析する。通信ノードA400、通信ノードB500、及び通信ノードD700のメッセージ処理部1062は、第2の領域に付帯される情報を上位2ビット、及び下位6ビットに分割する。メッセージ処理部1062は、ROM110に記憶されるセルIDオフセットテーブルから上位2ビットに対応するオフセット値を取得し、そのオフセット値と下位6ビットを11ビットで表したものとを加算し、送信先の通信ノードのIDを得る。具体的には、第2の領域に付帯される「00010011」を上位2ビット「00」と下位6ビット「010011」に分割する。そして、メッセージ処理部1062は、セルIDオフセットテーブル(図9参照)から上位2ビット「00」に紐付けられたオフセット値「360h」を取得し、この「360h」と下位6ビットを11ビットで表した「035h」とを加算し、「395h」を得る。通信ノードのIDが「395h」であるのは、通信ノードD700であるので、通信ノードD700のメッセージ処理部1062は、メッセージのオペレーションフィールド、及びデータフィールドに付帯される通信ノードの状態情報を状態制御部1064へ入力するとともに、メッセージ作成部1066へメッセージを入力する。一方、通信ノードA500、及び通信ノードB600のメッセージ処理部1062は、メッセージを破棄する。   The message transmitted from the communication node C600 is received by the communication node A400, the communication node B500, and the communication node D700. Each of communication node A 400, communication node B 500, and communication node D 700 analyzes the information attached to the second region attached to the message. The message processing unit 1062 of the communication node A 400, the communication node B 500, and the communication node D 700 divides the information attached to the second area into upper 2 bits and lower 6 bits. The message processing unit 1062 acquires the offset value corresponding to the upper 2 bits from the cell ID offset table stored in the ROM 110, adds the offset value and the lower 6 bits represented by 11 bits, Get the ID of the communication node. Specifically, “00010011” attached to the second area is divided into upper 2 bits “00” and lower 6 bits “010011”. Then, the message processing unit 1062 acquires the offset value “360h” associated with the upper 2 bits “00” from the cell ID offset table (see FIG. 9), and 11 bits of this “360h” and the lower 6 bits. The represented “035h” is added to obtain “395h”. Since the communication node ID is “395h” in the communication node D700, the message processing unit 1062 of the communication node D700 controls the state information of the communication node attached to the operation field and the data field of the message. The message is input to the unit 1064 and a message is input to the message creation unit 1066. On the other hand, the message processing unit 1062 of the communication node A 500 and the communication node B 600 discards the message.

通信ノードD700のメッセージ作成部1066は、第1の領域に自通信ノードD700のID(395h)を付帯し、第2の領域に送付先の通信ノードA400のID(600h)を付帯する。第2の領域に送付先の通信ノードA400のID(600h)を付帯する際に、メッセージ作成部1066は、第2の領域の上位2ビットに3h(600h)を付帯するとともに、下位6ビットに「000000」(000h)を付帯する。つまり、メッセージ作成部1066は、第2の領域に「11000000」を付帯する。さらに、メッセージ作成部1066は、オペレーションフィールド、及びデータフィールドにネットワークマネジメント情報を付帯し、メッセージを作成する。   The message creation unit 1066 of the communication node D700 attaches the ID (395h) of the self-communication node D700 to the first area, and attaches the ID (600h) of the destination communication node A400 to the second area. When attaching the ID (600h) of the destination communication node A 400 to the second area, the message creation unit 1066 attaches 3h (600h) to the upper 2 bits of the second area and adds the lower 6 bits. “000000” (000h) is attached. That is, the message creation unit 1066 attaches “11000000” to the second area. Further, the message creation unit 1066 attaches network management information to the operation field and the data field, and creates a message.

メッセージ作成部1066は、メッセージを通信回路104へ入力し、通信回路104は、通信トランシーバ102からメッセージを送信する。   Message creation unit 1066 inputs the message to communication circuit 104, and communication circuit 104 transmits the message from communication transceiver 102.

通信ノードD700から送信されたメッセージは、通信ノードA400、通信ノードB500、及び通信ノードC600に受信される。通信ノードA400、通信ノードB500、及び通信ノードC600の各々は、メッセージに付帯される第2の領域に付帯される情報を解析する。通信ノードA400、通信ノードB500、及び通信ノードC600のメッセージ処理部1062は、第2の領域に付帯される情報を上位2ビット、及び下位6ビットに分割する。メッセージ処理部1062は、ROM110に記憶されるオフセットテーブルから上位2ビットに対応するオフセット値を取得し、そのオフセット値と下位6ビットを11ビットで表したものとを加算し、送信先の通信ノードのIDを得る。具体的には、第2の領域に付帯される「11000000」を上位2ビット「11」と下位6ビット「000000」に分割する。そして、メッセージ処理部1062は、セルIDオフセットテーブル(図9参照)から上位2ビット「11」に紐付けられたオフセット値「600h」を取得し、この「600h」と下位6ビットを11ビットで表した「000h」とを加算し、「600h」を得る。通信ノードのIDが「600h」であるのは、通信ノードA400であるので、通信ノードA400のメッセージ処理部1062は、メッセージのオペレーションフィールド、及びデータフィールドに付帯される通信ノードの状態情報を状態制御部1064へ入力するとともに、メッセージ作成部1066へメッセージを入力する。一方、通信ノードB500、及び通信ノードC600のメッセージ処理部1062は、メッセージを破棄する。   The message transmitted from the communication node D700 is received by the communication node A400, the communication node B500, and the communication node C600. Each of communication node A 400, communication node B 500, and communication node C 600 analyzes information attached to the second region attached to the message. The message processing unit 1062 of the communication node A 400, the communication node B 500, and the communication node C 600 divides the information attached to the second area into upper 2 bits and lower 6 bits. The message processing unit 1062 acquires the offset value corresponding to the upper 2 bits from the offset table stored in the ROM 110, adds the offset value and the lower 6 bits represented by 11 bits, and transmits to the destination communication node Get the ID. Specifically, “11000000” attached to the second area is divided into upper 2 bits “11” and lower 6 bits “000000”. Then, the message processing unit 1062 acquires the offset value “600h” associated with the upper 2 bits “11” from the cell ID offset table (see FIG. 9), and the “600h” and the lower 6 bits are 11 bits. Add "000h" to obtain "600h". Since the communication node ID “600h” is the communication node A 400, the message processing unit 1062 of the communication node A 400 controls the status information of the communication node attached to the operation field and the data field of the message. The message is input to the unit 1064 and a message is input to the message creation unit 1066. On the other hand, the message processing unit 1062 of the communication node B 500 and the communication node C 600 discards the message.

通信ノードA400は、NMメッセージに付帯される通信ノードD400の状態を表す情報を取得し、そのNMメッセージの第1の領域に自通信ノードA400のIDを付帯し、第2の領域に宛先の通信ノードB500のIDを付帯するとともに、オペレーションフィールド、及びデータフィールドに他の通信ノードの情報を付帯したNMメッセージを作成し、送信する。   The communication node A 400 acquires information indicating the state of the communication node D 400 attached to the NM message, attaches the ID of the own communication node A 400 to the first area of the NM message, and sends the destination communication to the second area. An NM message in which the ID of the node B 500 is attached and information on other communication nodes is attached to the operation field and the data field is created and transmitted.

以降の処理は、上述した処理を適用できる。   The processing described above can be applied to subsequent processing.

通信システムの一実施例によれば、通信ノードによって送信されるメッセージに送信元の通信ノードのID(識別子)を付帯する領域として、ソースID領域の8ビットに加え、現在運用されていないIDベース領域の3ビットを使用する。これにより、送信元の通信ノードのIDの数を増加させることができる。また、これまで、ソースID領域の8ビットに、通信ノードのIDの11ビットの下位8ビットを重複しないように割り当てる必要があったが、通信ノードのIDの11ビットをそのままIDベース領域の3ビットとソースID領域の8ビットとを併せた第1の領域に付帯することで、その制約をなくすことができる。   According to one embodiment of the communication system, in addition to the 8 bits of the source ID area, an ID base that is not currently used as an area to accompany the message transmitted by the communication node with the ID (identifier) of the source communication node Use 3 bits of the region. Thereby, the number of IDs of the source communication node can be increased. In the past, it was necessary to assign the lower 8 bits of the 11 bits of the communication node ID to the 8 bits of the source ID area so that they do not overlap. By attaching the bit and the first area including the 8 bits of the source ID area, the restriction can be eliminated.

さらに、通信ノードによって送信されるメッセージに送信先の通信ノードのIDを付帯する領域として、デスティネイションID領域の8ビットを使用する際に、上位の2ビットをオフセットに割り当て、下位の6ビットをその2ビットに割り当てた任意のオフセットからの偏差に割り当てる。このように、上位の2ビットをオフセットに割り当て、下位の6ビットを偏差に割り当てることにより、任意のオフセット値から6ビットで表される数のデスティネイションIDを指定することができる。つまり、送信元の通信ノードのID(識別子)を付帯できる領域の情報量が拡張され、送信先の通信ノードのID(識別子)を付帯できる領域の情報量と異なるようになった場合でも、送信先の通信ノードのIDは、送信元の通信ノードのIDとは異なる形式で付帯されるため、送信先の通信ノードのIDを付帯する領域を拡張することなく対応できる。   In addition, when using the 8 bits of the destination ID area as an area for attaching the ID of the destination communication node to the message transmitted by the communication node, the upper 2 bits are assigned to the offset, and the lower 6 bits are assigned. Assign to the deviation from the arbitrary offset assigned to the 2 bits. In this way, by assigning the upper 2 bits to the offset and assigning the lower 6 bits to the deviation, it is possible to specify the number of destination IDs represented by 6 bits from an arbitrary offset value. In other words, even if the amount of information in the area that can accompany the ID (identifier) of the source communication node is expanded, and the amount of information in the area that can accompany the ID (identifier) of the destination communication node is different, Since the ID of the destination communication node is attached in a format different from the ID of the source communication node, it is possible to cope without expanding the area attached with the ID of the destination communication node.

<第2の実施例>
<通信システム>
第2の実施例に係る通信システムは、図2を適用できる。
<Second embodiment>
<Communication system>
FIG. 2 can be applied to the communication system according to the second embodiment.

<メッセージのフォーマット>
図10は、通信システムの一実施例に係る各通信ノードが送信するメッセージのフォーマットの一実施例を示す。メッセージには、CANフレームが適用される。図10において、(1)はメッセージ全体のフォーマットを示し、(2)はメッセージの一部分の詳細を示す。
<Message format>
FIG. 10 shows an embodiment of a format of a message transmitted by each communication node according to an embodiment of the communication system. A CAN frame is applied to the message. In FIG. 10, (1) shows the format of the entire message, and (2) shows the details of a part of the message.

図10に示すNMメッセージのフォーマットは、図1を参照して説明した従来のメッセージのフォーマットと、IDベース領域に付帯される値が可変である点で異なる。IDベース領域に付帯される情報は、ソースID領域に付帯される値に応じて、決定される。ソースID領域に付帯される値に応じて、IDベース領域に付帯される情報を異ならせることにより、第1の実施例と比較して、ソースID領域に付帯されるCAN IDの下位8ビットを付帯した場合でも、ソースIDの数を増加させることができるため、ソースIDの枯渇に対応できる。   The format of the NM message shown in FIG. 10 is different from the conventional message format described with reference to FIG. 1 in that the value attached to the ID base area is variable. Information attached to the ID base area is determined according to a value attached to the source ID area. Compared with the first embodiment, the lower 8 bits of the CAN ID attached to the source ID area are changed by changing the information attached to the ID base area according to the value attached to the source ID area. Even if it is incidental, the number of source IDs can be increased, so it is possible to cope with the exhaustion of source IDs.

第1の通信ノード100のハードウェア構成は、図4を適用できる。ただし、ROM110には、IDベースオフセットテーブルが記憶される。   FIG. 4 can be applied to the hardware configuration of the first communication node 100. However, the ROM 110 stores an ID base offset table.

図11は、IDベースオフセットテーブルの一例を示す。IDベースオフセットテーブルは、IDベースと、IDベースに対応するソースIDの範囲とが紐付けられることにより対応付けられる。図11に示される例では、IDベース「3h」、「4h」、及び「5h」に対して、それぞれ「00h−40h」、「41h−5Fh」、及び「60h−6Fh」が紐付けられることにより対応付けられる。図11は、一例であり、図11とは異なるIDベースと、ソースIDの範囲とが紐付けられてもよいし、図11のIDベースに異なるソースIDの範囲が紐付けられてもよい。ソースIDに応じて、異なるIDベースを付帯することにより、CAN IDの下位8ビットは同じ値であってもIDベースを異ならせることができるため、下位8ビットが同じであるCAN IDを割り当てることができる。下位8ビットが同じであるCAN IDを割り当てることができるため、使用できるソースIDの数を増大できる。   FIG. 11 shows an example of the ID base offset table. The ID base offset table is associated by associating the ID base with the range of the source ID corresponding to the ID base. In the example shown in FIG. 11, “00h-40h”, “41h-5Fh”, and “60h-6Fh” are associated with the ID bases “3h”, “4h”, and “5h”, respectively. Are associated with each other. FIG. 11 is an example, and an ID base different from FIG. 11 and a source ID range may be associated with each other, or a different source ID range may be associated with the ID base of FIG. 11. By assigning different ID bases according to the source ID, even if the lower 8 bits of the CAN ID have the same value, the ID base can be made different, so assign the CAN ID with the same lower 8 bits. Can do. Since CAN IDs having the same lower 8 bits can be assigned, the number of usable source IDs can be increased.

第1の通信ノード100の機能ブロック図は、図6を適用できる。   FIG. 6 can be applied to the functional block diagram of the first communication node 100.

第1の通信ノード100のメッセージ処理部1062は、図4に示されているCPU106からの命令、及び図4に示されている通信回路104によって実現される。メッセージ処理部1062には、通信回路104から、通信バス10を介して他の通信ノードから送信されたメッセージが入力される。メッセージ処理部1062は、他の通信ノードから送信されるメッセージのデスティネイションID領域に付帯される通信ノードのIDが第1の通信ノードのIDであるか否かを判定する。   The message processing unit 1062 of the first communication node 100 is realized by a command from the CPU 106 shown in FIG. 4 and the communication circuit 104 shown in FIG. A message transmitted from another communication node from the communication circuit 104 via the communication bus 10 is input to the message processing unit 1062. The message processing unit 1062 determines whether the ID of the communication node attached to the destination ID area of the message transmitted from another communication node is the ID of the first communication node.

デスティネイションID領域には、宛先の通信ノードのIDの下位8ビットが付帯されているため、メッセージ処理部1062は、デスティネイションID領域から、宛先の通信ノードのIDの下位8ビットを取得する。   Since the lower 8 bits of the ID of the destination communication node are attached to the destination ID area, the message processing unit 1062 acquires the lower 8 bits of the ID of the destination communication node from the destination ID area.

他の通信ノードから送信されるメッセージのデスティネイションID領域に付帯される通信ノードのIDが第1の通信ノードのIDである場合、メッセージ処理部1062は、そのメッセージをメッセージ作成部1066へ入力するとともに、そのメッセージのデータフィールドに付帯される通信ノードの状態を表す情報を取得し、状態制御部1064へ入力する。一方、他の通信ノードから送信されるメッセージのデスティネイションID領域に付帯される通信ノードのIDが第1の通信ノードのIDでない場合、メッセージ処理部1062は、そのメッセージを破棄する。   When the ID of the communication node attached to the destination ID area of the message transmitted from another communication node is the ID of the first communication node, the message processing unit 1062 inputs the message to the message creating unit 1066. At the same time, information indicating the state of the communication node attached to the data field of the message is acquired and input to the state control unit 1064. On the other hand, when the ID of the communication node attached to the destination ID area of the message transmitted from another communication node is not the ID of the first communication node, the message processing unit 1062 discards the message.

第1の通信ノード100の状態制御部1064は、図4に示されているCPU106からの命令によって実現される。状態制御部1064には、メッセージ処理部1062から、他の通信ノードから送信されたメッセージに付帯される他の通信ノードの情報が入力される。状態制御部1064は、第1の通信ノード100の状態、及びメッセージ処理部1062から入力された他の通信ノードの情報に基づいて、第1の通信ノード100の状態を制御する。例えば、第1の通信ノード100の状態が省電力モードへ移行可能である状態であり、且つメッセージ処理部1062から入力された他の通信ノードの情報も省電力モードへ移行可能である状態である場合、状態制御部1064は、第1の通信ノード100を省電力モードへ移行させる。   The state control unit 1064 of the first communication node 100 is realized by a command from the CPU 106 shown in FIG. Information on another communication node attached to a message transmitted from another communication node is input from the message processing unit 1062 to the state control unit 1064. The state control unit 1064 controls the state of the first communication node 100 based on the state of the first communication node 100 and information on other communication nodes input from the message processing unit 1062. For example, the state of the first communication node 100 can be shifted to the power saving mode, and information on other communication nodes input from the message processing unit 1062 can also be shifted to the power saving mode. In this case, the state control unit 1064 shifts the first communication node 100 to the power saving mode.

第1の通信ノード100のメッセージ作成部1066は、図4に示されているCPU106からの命令によって実現される。メッセージ作成部1066には、メッセージ処理部1062から、他の通信ノードから送信されたメッセージが入力される。メッセージ作成部1066は、他の通信ノードへ送信するメッセージを作成する。メッセージ作成部1066は、メッセージ処理部1062から入力されたメッセージのソースID領域に第1の通信ノード100のIDの下位8ビットを付帯するとともに、IDベース領域にIDベース値を付帯する。IDベース領域にIDベース値を付帯する際に、メッセージ作成部1066は、ROM110に記憶されているIDベースオフセットテーブル(図11参照)から第1の通信ノード100のIDの下位8ビットに紐付けられたIDベース値を取得し、IDベース領域に付帯する。   The message creation unit 1066 of the first communication node 100 is realized by a command from the CPU 106 shown in FIG. A message transmitted from another communication node from the message processing unit 1062 is input to the message creation unit 1066. Message creation unit 1066 creates a message to be transmitted to another communication node. The message creation unit 1066 attaches the lower 8 bits of the ID of the first communication node 100 to the source ID region of the message input from the message processing unit 1062 and attaches the ID base value to the ID base region. When an ID base value is attached to the ID base area, the message creation unit 1066 associates the ID base offset table (see FIG. 11) stored in the ROM 110 with the lower 8 bits of the ID of the first communication node 100. The obtained ID base value is acquired and attached to the ID base area.

さらに、メッセージ作成部1066は、状態制御部1064から第1の通信ノード100の状態を表す情報を取得し、メッセージのデータフィールドに付帯し、通信回路104へ入力する。通信回路104へ入力されたメッセージは、通信トランシーバ102から通信バス10へ送信される。   Further, the message creation unit 1066 acquires information representing the state of the first communication node 100 from the state control unit 1064, attaches it to the data field of the message, and inputs it to the communication circuit 104. The message input to the communication circuit 104 is transmitted from the communication transceiver 102 to the communication bus 10.

通信システムの一実施例によれば、通信ノードによって送信されるメッセージに送信元の通信ノードのID(識別子)に応じて異なる値をIDベース領域に付帯する。これにより、送信元の通信ノードのIDの数を増加させることができる。また、これまで、ソースID領域の8ビットに、通信ノードのIDの11ビットの下位8ビットを重複しないように割り当てる必要があったが、送信元の通信ノードのIDに応じて異なる値をIDベース領域に付帯することで、その制約をなくすことができる。   According to an embodiment of the communication system, different values are attached to the ID base area in accordance with the ID (identifier) of the transmission source communication node in the message transmitted by the communication node. Thereby, the number of IDs of the source communication node can be increased. Up to now, it was necessary to assign the lower 8 bits of the 11 bits of the communication node ID to the 8 bits of the source ID area so that they do not overlap, but a different value depending on the ID of the source communication node By attaching to the base region, the restriction can be removed.

<通信システムの適用例>
上述した第1の実施例及び第2の実施例に係る通信システムをパーシャルネットワークマネジメント(PNM: Partial Network Management)に適用した例を示す。通常のネットワークマネジメントでは、起動を継続する状態と、省電力モードへ移行可能である状態の協調制御は、通信バスに接続される全ての通信ノードで実行される。しかし、パーシャルネットワークマネジメントでは、通信バスに接続される複数の通信ノードの一部の通信ノードで行うことができる。
<Application example of communication system>
The example which applied the communication system which concerns on the 1st Example mentioned above and the 2nd Example to Partial Network Management (PNM: Partial Network Management) is shown. In normal network management, cooperative control between a state in which activation is continued and a state in which a transition to the power saving mode can be performed is executed in all communication nodes connected to the communication bus. However, partial network management can be performed at some of the communication nodes connected to the communication bus.

図12は、パーシャルネットワークマネジメントの従来例を示す。   FIG. 12 shows a conventional example of partial network management.

通信バス10には、通信ノードA40、通信ノードB50、通信ノードC60、及び通信ノードD70が接続されている。複数の通信ノードのうち、通信ノードA40、通信ノードB50、及び通信ノードC60はグループ1を構成し、通信ノードC60、及び通信ノードD70はグループ2を構成する。この通信システムにパーシャルネットワークマネジメントを適用した場合について説明する。   A communication node A40, a communication node B50, a communication node C60, and a communication node D70 are connected to the communication bus 10. Among the plurality of communication nodes, the communication node A40, the communication node B50, and the communication node C60 constitute a group 1, and the communication node C60 and the communication node D70 constitute a group 2. A case where partial network management is applied to this communication system will be described.

通信ノードD70は、省電力モードへ移行可能である状態である。一方、通信ノードD70と同じグループ2に属する通信ノードC60は、通信ノードBと通信を継続する要求により、NMメッセージのオペレーションフィールド、及びデータフィールドに起動を継続する状態を表す情報を付帯して送信する。このため、通信ノードD70は、省電力モードへ移行可能である状態にもかかわらず、通信ノードC60が起動を継続する状態であるため、省電力モードへ移行できない。つまり、通信ノードC60はグループ1及びグループ2の両方に属しているため、グループ1に属する通信ノードA40、通信ノードB50、及び通信ノードC60が省電力モードへ移行可能状態とならないと、通信ノードC60と同じグループ2に属している通信ノードD70も省電力モードへ移行できない。   The communication node D70 is in a state where it can shift to the power saving mode. On the other hand, the communication node C60 belonging to the same group 2 as the communication node D70 transmits the operation field of the NM message and information indicating the state of continuing the activation in the operation field and data field of the NM message in response to a request to continue communication with the communication node B. To do. For this reason, the communication node D70 cannot shift to the power saving mode because the communication node C60 is in a state where the activation continues even though it can shift to the power saving mode. That is, since the communication node C60 belongs to both the group 1 and the group 2, if the communication node A40, the communication node B50, and the communication node C60 that belong to the group 1 do not enter the power saving mode, the communication node C60 The communication node D70 belonging to the same group 2 cannot move to the power saving mode.

図13は、パーシャルネットワークマネジメントの一実施例を示す。   FIG. 13 shows an embodiment of partial network management.

通信バス10には、通信ノードA400、通信ノードB500、通信ノードC600、及び通信ノードD700が接続されている。通信ノードA400、通信ノードB500、通信ノードC600、及び通信ノードD700のハードウェア構成、及び機能ブロックは、上述した第1の通信ノード100のものを適用できる。複数の通信ノードのうち、通信ノードA400、通信ノードB500、及び通信ノードC600はグループ1を構成し、通信ノードC600、及び通信ノードD700はグループ2を構成する。この通信システムにパーシャルネットワークマネジメントを適用した場合について説明する。   A communication node A400, a communication node B500, a communication node C600, and a communication node D700 are connected to the communication bus 10. The hardware configuration and functional blocks of the communication node A 400, the communication node B 500, the communication node C 600, and the communication node D 700 can be those of the first communication node 100 described above. Among the plurality of communication nodes, the communication node A 400, the communication node B 500, and the communication node C 600 constitute a group 1, and the communication node C 600 and the communication node D 700 constitute a group 2. A case where partial network management is applied to this communication system will be described.

上述した実施例では、各通信ノードへ割り当てるソースIDを増加させることができるため、通信ノードC600にグループ1に対応するソースIDとグループ2に対応するソースIDを割り当てることができる。通信ノードC600にグループ1に対応するソースIDとグループ2に対応するソースIDを割り当てた場合、通信ノードC600は、グループ1に属する通信ノード間を伝送するNMメッセージには、起動を継続する状態を表す情報を付帯して送信し、グループ2に属する通信ノード間を伝送するNMメッセージには、省電力モードへ移行可能である状態を表す情報を付帯して送信できる。このようにすることにより、通信ノードD700は、省電力状態へ移行できる。   In the embodiment described above, since the source ID assigned to each communication node can be increased, the source ID corresponding to the group 1 and the source ID corresponding to the group 2 can be assigned to the communication node C600. When the source ID corresponding to the group 1 and the source ID corresponding to the group 2 are assigned to the communication node C600, the communication node C600 indicates that the NM message transmitted between the communication nodes belonging to the group 1 continues to be activated. The NM message transmitted together with the information to be transmitted and transmitted between the communication nodes belonging to the group 2 can be transmitted with the information representing the state capable of shifting to the power saving mode. In this way, the communication node D700 can shift to the power saving state.

上述した実施例では、各通信ノードが送信するメッセージの一例として、NMメッセージについて説明したが、NMメッセージに限らず、送信元の通信ノードの識別子、及び送信先の通信ノードの識別子を付帯するメッセージに適用できる。   In the above-described embodiment, the NM message has been described as an example of the message transmitted by each communication node. Applicable to.

以上、本発明は特定の実施例を参照しながら説明されてきたが、各実施例は単なる例示に過ぎず、当業者は様々な変形例、修正例、代替例、置換例等を理解するであろう。説明の便宜上、本発明の実施例に従った装置は機能的なブロック図を用いて説明されたが、そのような装置はハードウェアで、ソフトウェアで又はそれらの組み合わせで実現されてもよい。本発明は上記実施例に限定されず、本発明の精神から逸脱することなく、様々な変形例、修正例、代替例、置換例等が包含される。   Although the present invention has been described above with reference to specific embodiments, each embodiment is merely an example, and those skilled in the art will understand various variations, modifications, alternatives, substitutions, and the like. I will. For convenience of explanation, an apparatus according to an embodiment of the present invention has been described using a functional block diagram, but such an apparatus may be implemented in hardware, software, or a combination thereof. The present invention is not limited to the above-described embodiments, and various variations, modifications, alternatives, substitutions, and the like are included without departing from the spirit of the present invention.

10 通信バス
100 第1の通信ノード
102 通信トランシーバ
104 通信回路
106 CPU
108 RAM
110 ROM
112 HD
200 第2の通信ノード
300 第3の通信ノード
400 通信ノードA
500 通信ノードB
600 通信ノードC
1062 メッセージ処理部
1064 状態制御部
1066 メッセージ作成部
10 communication bus 100 first communication node 102 communication transceiver 104 communication circuit 106 CPU
108 RAM
110 ROM
112 HD
200 Second communication node 300 Third communication node 400 Communication node A
500 Communication Node B
600 Communication node C
1062 Message processing unit 1064 Status control unit 1066 Message creation unit

Claims (9)

車両に搭載されるとともに、通信バスに接続される複数の通信ノードの1つであって、
送信元の通信ノードの識別子、及び送信先の通信ノードの識別子を付帯したメッセージを作成する制御部と、
前記制御部で作成したメッセージを送信する送信部と
を有し、
前記制御部は、前記メッセージに前記送信元の通信ノードの識別子を付帯する際に、前記送信元の通信ノードの識別子を付帯する領域と運用していない付加情報領域とを併せた第1の領域に、自通信ノードの識別子を付帯する、通信ノード。
One of a plurality of communication nodes mounted on a vehicle and connected to a communication bus,
A control unit for creating a message attached with an identifier of a communication node of a transmission source and an identifier of a communication node of a transmission destination;
A transmission unit for transmitting the message created by the control unit,
When the control unit appends the identifier of the transmission source communication node to the message, the control unit includes a first region that combines a region that accompanies the identifier of the transmission source communication node and a non-operating additional information region A communication node that accompanies the identifier of its own communication node.
前記第1の領域に付帯できる情報量と、前記送信先の通信ノードの識別子を付帯する第2の領域に付帯できる情報量とが異なり、
前記制御部は、前記第1の領域に前記自通信ノードの識別子を付帯する場合の形式と異なる形式で、前記第2の領域に前記送信先の通信ノードの識別子を付帯する、請求項1に記載の通信ノード。
The amount of information that can be attached to the first area is different from the amount of information that can be attached to the second area that accompanies the identifier of the destination communication node,
The control unit attaches the identifier of the destination communication node to the second region in a format different from the format in which the identifier of the own communication node is attached to the first region. The listed communication node.
前記制御部は、前記第2の領域に前記送信先の通信ノードの識別子を付帯する際に、起点となる通信ノードのIDを表す情報と、該起点となる通信ノードのIDからの差分を表す情報により、前記送信先の通信ノードの識別子を表す、請求項2に記載の通信ノード。   When the controller adds the identifier of the destination communication node to the second area, the control unit represents information indicating an ID of the communication node serving as a starting point and a difference from the ID of the communication node serving as the starting point. The communication node according to claim 2, wherein an identifier of the destination communication node is represented by information. 前記制御部は、前記車両のイグニッションがオフである場合に、前記メッセージに前記自通信ノードの状態を表す情報を付帯し、
前記送信部は、前記制御部によって前記自通信ノードの状態を表す情報が付帯されたメッセージを送信する、請求項1ないし3のいずれか1項に記載の通信ノード。
When the ignition of the vehicle is off, the control unit attaches information indicating the state of the communication node to the message,
The communication node according to any one of claims 1 to 3, wherein the transmission unit transmits a message attached with information indicating a state of the communication node by the control unit.
前記制御部は、前記複数の通信ノードのうち自通信ノード以外の他の通信ノードから送信されたメッセージに付帯された前記他の通信ノードの状態を表す情報に基づいて、前記自通信ノードの状態を制御する、請求項4に記載の通信ノード。   The control unit, based on information representing a state of the other communication node attached to a message transmitted from a communication node other than the own communication node among the plurality of communication nodes, the state of the own communication node The communication node according to claim 4, wherein the communication node is controlled. 車両に搭載されるとともに、通信バスに接続される複数の通信ノードを有する通信システムであって、
前記複数の通信ノードの各々は、
送信元の通信ノードの識別子、及び送信先の通信ノードの識別子を付帯したメッセージを作成する制御部と、
前記制御部で作成したメッセージを送信する送信部と
を有し、
前記制御部は、前記メッセージに前記送信元の通信ノードの識別子を付帯する際に、前記送信元の通信ノードの識別子を付帯する領域と運用していない付加情報領域とを併せた第1の領域に、自通信ノードの識別子を付帯する、通信システム。
A communication system mounted on a vehicle and having a plurality of communication nodes connected to a communication bus,
Each of the plurality of communication nodes is
A control unit for creating a message attached with an identifier of a communication node of a transmission source and an identifier of a communication node of a transmission destination;
A transmission unit for transmitting the message created by the control unit,
When the control unit appends the identifier of the transmission source communication node to the message, the control unit includes a first region that combines a region that accompanies the identifier of the transmission source communication node and a non-operating additional information region A communication system that accompanies the identifier of the communication node.
前記第1の領域に付帯できる情報量と、前記送信先の通信ノードの識別子を付帯する第2の領域に付帯できる情報量とが異なり、
前記制御部は、前記第1の領域に前記自通信ノードの識別子を付帯する場合の形式と異なる形式で、前記第2の領域に前記送信先の通信ノードの識別子を付帯する、請求項6に記載の通信システム。
The amount of information that can be attached to the first area is different from the amount of information that can be attached to the second area that accompanies the identifier of the destination communication node,
The control unit attaches an identifier of the destination communication node to the second area in a format different from a format in which the identifier of the own communication node is attached to the first area. The communication system described.
車両に搭載されるとともに、通信バスに接続される複数の通信ノードの1つにより実行される通信方法であって、
送信元の通信ノードの識別子、及び送信先の通信ノードの識別子を付帯したメッセージを作成し、
前記作成したメッセージを送信し、
前記メッセージに前記送信元の通信ノードの識別子を付帯する際に、前記送信元の通信ノードの識別子を付帯する領域と運用していない付加情報領域とを併せた第1の領域に、自通信ノードの識別子を付帯する、通信方法。
A communication method mounted on a vehicle and executed by one of a plurality of communication nodes connected to a communication bus,
Create a message with the identifier of the source communication node and the identifier of the destination communication node,
Send the created message,
When the identifier of the transmission source communication node is attached to the message, the local communication node is included in a first area that combines the area where the transmission source communication node identifier is attached and the additional information area that is not operated. A communication method with an identifier.
前記第1の領域に付帯できる情報量と、前記送信先の通信ノードの識別子を付帯する第2の領域に付帯できる情報量とが異なり、
前記第1の領域に前記自通信ノードの識別子を付帯する場合の形式と異なる形式で、前記第2の領域に前記送信先の通信ノードの識別子を付帯する、請求項8に記載の通信方法。
The amount of information that can be attached to the first area is different from the amount of information that can be attached to the second area that accompanies the identifier of the destination communication node,
The communication method according to claim 8, wherein the identifier of the destination communication node is attached to the second area in a format different from the form in which the identifier of the communication node is attached to the first area.
JP2014052586A 2014-03-14 2014-03-14 Communication node, communication system and communication method Withdrawn JP2015177365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014052586A JP2015177365A (en) 2014-03-14 2014-03-14 Communication node, communication system and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014052586A JP2015177365A (en) 2014-03-14 2014-03-14 Communication node, communication system and communication method

Publications (1)

Publication Number Publication Date
JP2015177365A true JP2015177365A (en) 2015-10-05

Family

ID=54256122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014052586A Withdrawn JP2015177365A (en) 2014-03-14 2014-03-14 Communication node, communication system and communication method

Country Status (1)

Country Link
JP (1) JP2015177365A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107086930A (en) * 2017-04-24 2017-08-22 北京汽车研究总院有限公司 A kind of vehicle configuration method, device and automobile
JP2022090901A (en) * 2020-12-08 2022-06-20 トヨタ自動車株式会社 On-vehicle network system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107086930A (en) * 2017-04-24 2017-08-22 北京汽车研究总院有限公司 A kind of vehicle configuration method, device and automobile
JP2022090901A (en) * 2020-12-08 2022-06-20 トヨタ自動車株式会社 On-vehicle network system
JP7484687B2 (en) 2020-12-08 2024-05-16 トヨタ自動車株式会社 In-vehicle network system

Similar Documents

Publication Publication Date Title
JP4950704B2 (en) In-vehicle relay connection unit
CN112099464B (en) Communication method of Ethernet for vehicle
CN103685457A (en) Automotive neural network
KR102337548B1 (en) Method for diagnosing network and apparatus for the same
CN104333511A (en) Method, device and system for determining service transmission path
JP2008054089A (en) Apparatus and method for relaying packets
JP6981114B2 (en) Vehicle network system
EP3531627B1 (en) Auto-negotiation method and device for port
KR102446092B1 (en) How to diagnose link status in the network
JP2016195329A (en) Setting method, communication device, and master device
JP2015177365A (en) Communication node, communication system and communication method
JP5063655B2 (en) Communication gateway device
KR20180038970A (en) Operation method of communication node for selective wakeup in vehicle network
JP2018056627A (en) Relay device
KR102362611B1 (en) Method for transmitting and receiving data in automotive network and apparatus for the same
EP1901497A1 (en) Apparatus for low latency communications through an alternate path
JP6593230B2 (en) Communications system
JP2014187544A (en) Communication system, communication node, and communication method
KR20190114748A (en) Method and apparatus for setting backup path in automotive network
JP6683101B2 (en) Communications system
JP2017114406A (en) Network system
EP4576620A1 (en) Relay device, communication network system, relay method, and computer program
JP2020162038A (en) Relay device
JP6583029B2 (en) Relay device
JP2004139319A (en) Serial communication circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160516

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20160908