JP2008311978A - Transit connection unit - Google Patents
Transit connection unit Download PDFInfo
- Publication number
- JP2008311978A JP2008311978A JP2007158309A JP2007158309A JP2008311978A JP 2008311978 A JP2008311978 A JP 2008311978A JP 2007158309 A JP2007158309 A JP 2007158309A JP 2007158309 A JP2007158309 A JP 2007158309A JP 2008311978 A JP2008311978 A JP 2008311978A
- Authority
- JP
- Japan
- Prior art keywords
- network management
- connection unit
- state
- state transition
- processing circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、中継接続ユニットに関し、詳しくは、中継接続ユニットのネットワークマネジメント機能の仕様変更を可能にするものである。 The present invention relates to a relay connection unit, and more particularly, enables specification change of a network management function of the relay connection unit.
従来、車両に搭載される機器を制御する電子制御ユニット(ECU)を多重通信用のバス同士を中継接続ユニット(ゲートウェイ)を介して接続してネットワークを構築し、異なるバスに属するECU間で送受信されるメッセージを該中継接続ユニットで中継する車載用通信システムが採用されている。 Conventionally, an electronic control unit (ECU) for controlling equipment mounted on a vehicle is connected to multiple communication buses via a relay connection unit (gateway) to construct a network, and transmission / reception between ECUs belonging to different buses An in-vehicle communication system that relays messages to be relayed by the relay connection unit is employed.
このような車載用通信システムにおいては、各ECUと中継接続ユニットにネットワークマネジメント機能を備えている場合がある。ネットワークマネジメント機能とは、バスに接続されたECUと中継接続ユニットが互いにリングメッセージを送受信して、ECUの初期化やネットワークの起動、ネットワーク設定、ECUやネットワークの動作状態の検知や処理及び信号送信、ECU等のパラメータの読み込みや設定などの処理を行う機能であり、該ネットワークマネジメント機能によりECUと中継接続ユニットの間の通信の安全性と信頼性を確保している。 In such an in-vehicle communication system, each ECU and the relay connection unit may have a network management function. The network management function means that the ECU connected to the bus and the relay connection unit send and receive ring messages to each other to initialize the ECU, start the network, set the network, detect and process the ECU and network operating status, and send signals. This is a function that performs processing such as reading and setting of parameters of the ECU and the like, and the network management function ensures the safety and reliability of communication between the ECU and the relay connection unit.
これらネットワークマネジメント機能の一つに状態遷移処理がある。非特許文献1に示すように、中継接続ユニットやECUは、電源投入後の初期化を行っているイニシャル状態、他の状態へ遷移する直前の状態であるリセット状態、高電力消費状態であるノーマル状態(通常動作状態)や低電力消費状態であるスリープ状態、ノーマル状態ではあるがスリープ状態となることが可能であるスリープ可能状態など、ネットワークマネジメント機能によって設定されるいずれかの状態にあり、状態遷移処理とは、所定の条件を満たした場合に中継接続ユニットやECUの状態をある状態から別の状態に遷移させる処理である。
中継接続ユニットやECUはネットワークマネジメント機能を実行するためのネットワークマネジメント処理回路を備えており、該ネットワークマネジメント処理回路に状態遷移のための条件と遷移先の情報を保有している。
One of these network management functions is state transition processing. As shown in
The relay connection unit and the ECU are provided with a network management processing circuit for executing a network management function, and the network management processing circuit holds conditions for state transition and information on the transition destination.
一方、近年では、車両の高機能化および高性能化に伴って車両に搭載される機器が増加しており、中継接続ユニットが送受信するメッセージの数が急増している。このため、中継接続ユニットが行う中継処理やネットワークマネジメント機能のための処理も増加しており、中継接続ユニットは各処理を高速に行うことが望まれている。 On the other hand, in recent years, with the increase in functionality and performance of vehicles, the number of devices mounted on the vehicle has increased, and the number of messages transmitted and received by the relay connection unit has increased rapidly. For this reason, relay processing performed by the relay connection unit and processing for the network management function are also increasing, and it is desired that the relay connection unit perform each processing at high speed.
そこで、特開2006−352235号公報(特許文献2)では、中継接続ユニットの中継処理をCPUのソフトウェア処理によらずにハードウェアで構成する方式が提案されている。中継接続ユニットは中継処理として、メッセージの中継先を特定する宛先検索処理と、メッセージの固定長セルのスイッチングを行うスイッチング処理を行っているが、特許文献1ではCPUでは宛先検索処理とスイッチング処理を行わず、ハードウェア化されたサーチエンジンとセルフルーティングモジュールにおいて宛先検索処理とスイッチング処理を行っている。
中継接続ユニットの各処理をハードウェアで構成して実行することで、CPUの処理性能が中継接続ユニットの処理速度に影響しなくなる。また、CPUは同時に1の処理しかできないが、ハードウェアにおいては並列して2以上の処理を行うことが可能となり、中継接続ユニットの各処理を高速に行うことができる。
Therefore, Japanese Patent Laying-Open No. 2006-352235 (Patent Document 2) proposes a method in which the relay processing of the relay connection unit is configured by hardware without using software processing of the CPU. As a relay process, the relay connection unit performs a destination search process for specifying a message relay destination and a switching process for switching a fixed-length cell of a message. In
By configuring and executing each process of the relay connection unit by hardware, the processing performance of the CPU does not affect the processing speed of the relay connection unit. In addition, although the CPU can perform only one process at the same time, it is possible to perform two or more processes in parallel in hardware, and each process of the relay connection unit can be performed at high speed.
しかし、特許文献2ではハードウェアを用いているため、処理に用いるパラメータなどの仕様を変更する場合にはハードウェアの構成を変更しなければならず、容易に仕様を変更することが困難であるという問題がある。
特に、ネットワークマネジメント機能をハードウェアで構成した場合、状態遷移処理で用いる状態遷移条件と遷移先も予めハードウェアに組み込まれて構成される。しかし、該条件または遷移先は自動車の車種ごとに異なるため、車種毎にネットワークマネジメント機能をハードウェアで構成しなければならず、ハードウェア化されたネットワークマネジメント機能を共用化できないという問題がある。
However, since
In particular, when the network management function is configured by hardware, the state transition condition and the transition destination used in the state transition processing are also configured in advance in hardware. However, since the conditions or transition destinations are different for each vehicle type, there is a problem in that the network management function must be configured by hardware for each vehicle type, and the networked management function implemented in hardware cannot be shared.
本発明は、前記問題に鑑みてなされたもので、中継接続ユニットのネットワークマネジメント機能の状態遷移の仕様変更を可能にすると共に、ハードウェア化されたネットワークマネジメント機能を車種によらず共用化することを課題としている。 The present invention has been made in view of the above-described problem, and enables specification change of the state transition of the network management function of the relay connection unit, and also makes the hardware network management function common regardless of the vehicle type. Is an issue.
前記課題を解決するため、本発明は、電子制御ユニットを夫々接続しているバス間に介在させてネットワークを形成し、異なるバスに属する前記電子制御ユニット間で送受信するメッセージを中継する車載用の中継接続ユニットであって、
ネットワークマネジメント機能を実行するネットワークマネジメント処理回路と、
前記ネットワークマネジメント機能の状態遷移条件の遷移先をパラメータ化した状態遷移表を有する記憶回路を備え、
前記ネットワークマネジメント処理回路は前記状態遷移表を用いて前記状態遷移を監視することを特徴とする車載用中継接続ユニットを提供している。
In order to solve the above-described problems, the present invention provides an in-vehicle device that forms a network by interposing electronic control units between buses connected to each other and relays messages transmitted and received between the electronic control units belonging to different buses. A relay connection unit,
A network management processing circuit for executing a network management function;
A storage circuit having a state transition table that parameterizes the transition destination of the state transition condition of the network management function,
The network management processing circuit provides an in-vehicle relay connection unit that monitors the state transition using the state transition table.
ネットワークマネジメント処理回路は記憶回路に記憶した状態遷移表に基づいて、ネットワークマネジメント機能の状態遷移処理を行っている。該状態遷移表はネットワークマネジメント処理回路とは別体として設けた記憶回路に予め記憶させており、中継接続ユニットの電源接続時にネットワークマネジメント処理回路が記憶回路から状態遷移表を読み出している。
このように、状態遷移表は記憶回路に記憶されているので、中継接続ユニットの状態遷移条件と遷移先を変更する場合には記憶回路の状態遷移表を書き直すだけでよく、容易に状態遷移の仕様変更を行うことができる。
The network management processing circuit performs state transition processing of the network management function based on the state transition table stored in the storage circuit. The state transition table is stored in advance in a storage circuit provided separately from the network management processing circuit, and the network management processing circuit reads the state transition table from the storage circuit when the relay connection unit is connected to the power source.
As described above, since the state transition table is stored in the storage circuit, when the state transition condition and the transition destination of the relay connection unit are changed, it is only necessary to rewrite the state transition table of the storage circuit. Specification changes can be made.
また、中継接続ユニットの状態遷移条件と遷移先をパラメータ化し状態遷移表として一覧化することで、中継接続ユニットの開発時において、開発者は状態遷移処理の動作を容易に把握することができるため、開発者は状態遷移表の変更を容易に行うことができると共に、状態遷移処理の動作の検証等を行いやすくなる。 In addition, since the state transition conditions and transition destinations of relay connection units are parameterized and listed as a state transition table, developers can easily understand the state transition processing operations when developing relay connection units. The developer can easily change the state transition table and can easily verify the operation of the state transition process.
前記ネットワークマネジメント処理回路は、集積回路で形成し、前記記憶回路は書き換え可能な不揮発性メモリで形成していることが好ましい。
ネットワークマネジメント処理回路は集積回路からなるハードウェアで形成する一方、自動車の車種毎に異なる状態遷移表は記憶回路から読み込んでいるので、ネットワークマネジメント処理回路は状態遷移処理によらずハードウェア化することができ、ハードウェア化されたネットワークマネジメント処理回路を自動車の車種によらず共用化することができる。
ネットワークマネジメント処理回路を形成する集積回路(Integrated Circuit)は、ネットワークマネジメント機能のために設計製造される集積回路であるASIC(Application Specific Integrated Circuit)であってもよい。また、内部の回路構成が変更可能な集積回路であるFPGA(Field Programmable Gate Array)であってもよい。
該ASIC又はFPGAには、ネットワークマネジメント処理機能だけでなく、不揮発性メモリからパラメータを読み込む処理、中継処理、メインループ処理等、中継接続ユニットの動作のための処理機能を備えていてもよい。
The network management processing circuit is preferably formed of an integrated circuit, and the storage circuit is preferably formed of a rewritable nonvolatile memory.
While the network management processing circuit is formed by hardware consisting of integrated circuits, the state transition table that is different for each vehicle type is read from the memory circuit, so the network management processing circuit must be hardware-based regardless of state transition processing. It is possible to share a hardware network management processing circuit regardless of the type of vehicle.
The integrated circuit (Integrated Circuit) forming the network management processing circuit may be an ASIC (Application Specific Integrated Circuit) that is an integrated circuit designed and manufactured for the network management function. Further, an FPGA (Field Programmable Gate Array) that is an integrated circuit whose internal circuit configuration can be changed may be used.
The ASIC or FPGA may include not only a network management processing function but also a processing function for the operation of the relay connection unit, such as a process for reading a parameter from a nonvolatile memory, a relay process, and a main loop process.
また、ネットワークマネジメント処理回路をCPUのソフトウェアで構成した場合にはCPUは同時に1の処理しか行うことができないが、ネットワークマネジメント処理回路をハードウェアで構成することで同時に2以上の処理を並行して行うことが可能となり、中継接続ユニットの処理速度を上げることができる。
さらに、記憶回路を書き換え可能な不揮発性メモリとすることで、遷移先等のパラメータを仕様変更に応じて書き換えることができる。
In addition, when the network management processing circuit is configured by CPU software, the CPU can perform only one process at a time. However, by configuring the network management processing circuit by hardware, two or more processes can be performed simultaneously. This makes it possible to increase the processing speed of the relay connection unit.
Furthermore, by using a rewritable nonvolatile memory as the storage circuit, parameters such as transition destinations can be rewritten according to specification changes.
前記状態遷移表は、前記中継接続ユニットが待機状態に遷移するタイマ条件を備えていることが好ましい。
状態遷移表には、予備として中継接続ユニットの待機状態と該待機状態に遷移するためのタイマ条件、待機状態を維持する時間であるタイマ制御情報などを設定するための領域を備えている。中継接続ユニットを開発において状態遷移表を設定した後、ネットワークマネジメント機能の動作の検証で新たなタイマ条件の仕様を追加し、中継接続ユニットを待機状態に遷移させる必要が生じた場合には、予備として設けた領域に中継接続ユニットが待機状態に遷移するためのタイマ条件等を記載している。このため、状態遷移表に新たにタイマ条件を記載するための領域を設定する必要がなく、容易にタイマ条件の追加を行うことができる。
The state transition table preferably includes a timer condition for the relay connection unit to transition to a standby state.
The state transition table includes an area for setting a standby state of the relay connection unit, a timer condition for transitioning to the standby state, timer control information that is a time for maintaining the standby state, and the like as spares. After setting the state transition table in the development of the relay connection unit, add a new timer condition specification to verify the operation of the network management function, and if it becomes necessary to transition the relay connection unit to the standby state, The timer conditions for the relay connection unit to transition to the standby state are described in the area provided as. Therefore, it is not necessary to set a new area for describing the timer condition in the state transition table, and the timer condition can be easily added.
前述したように、本発明の中継接続ユニットによれば、状態遷移表は記憶回路に記憶されているので、中継接続ユニットの状態遷移条件と遷移先を変更する場合には記憶回路の状態遷移表を書き直すだけでよく、容易に状態遷移表の仕様の変更を行うことができる。
また、ネットワークマネジメント処理回路をコントローラの回路からなるハードウェアで形成し、車種毎に異なる状態遷移表は記憶回路から読み出しているため、ハードウェアのネットワークマネジメント処理回路を自動車の車種によらず共用化することができる。
As described above, according to the relay connection unit of the present invention, since the state transition table is stored in the storage circuit, when changing the state transition condition and transition destination of the relay connection unit, the state transition table of the storage circuit It is only necessary to rewrite, and the specification of the state transition table can be easily changed.
In addition, the network management processing circuit is formed by hardware consisting of the controller circuit, and the state transition table that is different for each vehicle type is read from the memory circuit, so the hardware network management processing circuit is shared regardless of the vehicle model. can do.
本発明の実施形態を図面を参照して説明する。
図1乃至図4に本発明の第1実施形態を示す。
本発明の車載用の中継接続ユニット10は、電子制御ユニット(ECU)30を夫々接続しているバス31間に介在させてネットワーク32を形成し、異なるバス31に属する前記ECU30間で送受信するメッセージを中継するものである。
本実施形態では、中継接続ユニット10を2本のバス31A、31Bの間に介在させてネットワーク32を形成すると共に、2本のバス31A、31Bに夫々2つのECU30−1、30−2を接続している。通信プロトコルはCANである。
Embodiments of the present invention will be described with reference to the drawings.
1 to 4 show a first embodiment of the present invention.
The in-vehicle
In this embodiment, the
図1に示すように、中継接続ユニット10は同一基板上に、中継接続ユニット用LSI40と、電源41と、EEPROM12と、ドライバ42と、コネクタ43を備えている。
中継接続ユニット用LSI40(Large scale Integrated Circuit)は集積回路(IC)であり、中継接続ユニット10用に設計されたASICでハードウェアとして構成している。中継接続ユニット用LSI40は、ネットワークマネジメント処理回路11と、EEPROM12のパラメータを読み込むEEPROM処理回路13と、送受信回路14と、中継処理回路15と、パラメタ処理回路17とを備えている。
書き換え可能な不揮発性メモリであるEEPROM12は中継接続ユニット用LSI40と接続しており、ネットワークマネジメント処理回路11のネットワークマネジメント機能の状態遷移条件の遷移先をパラメータ化した状態遷移表Tを記憶している。
電源41は集積回路であるLSIで構成し、中継接続ユニット用LSI40と接続して、中継接続ユニット用LSI40を駆動するための電力を供給している。
ドライバ42A、42Bも集積回路であるLSIで構成し、各バス31毎に設けてコネクタ43を介して各バス31と接続している。また、中継接続ユニット用LSI40と接続しており、中継接続ユニット用LSI40が送受信するメッセージをバス31へ送信またはバス31から受信するために、メッセージを構成するデータ信号の電位を調節している。
As shown in FIG. 1, the
A relay connection unit LSI 40 (Large Scale Integrated Circuit) is an integrated circuit (IC), and is configured as hardware by an ASIC designed for the
The
The
The
中継接続ユニット用LSI40は、ネットワークマネジメント処理回路11が中継処理回路15と接続しており、ネットワークマネジメントメッセージ(NMメッセージ)を中継処理回路15を介して他のECU30と送受信している。
また、ネットワークマネジメント処理回路11はネットワークマネジメント機能を実行しており、該ネットワークマネジメント機能は、中継接続ユニット10と該中継接続ユニット10とバス31を介して接続した各ECU30がNMメッセージのリングメッセージを順番に送受信することにより、状態遷移表Tを用いて中継接続ユニットの状態の遷移や監視の処理を行う機能である。
なお、本実施形態では中継接続ユニット10に2つのバス31A、31Bが接続されているので、ネットワークマネジメント処理回路11は各バス31ごとにリングメッセージを送受信している。
In the relay
Further, the network
In this embodiment, since the two buses 31 </ b> A and 31 </ b> B are connected to the
図2は中継接続ユニット10の状態遷移図の例である。本実施形態では、ネットワークマネジメント処理回路11のネットワークマネジメント機能は図2の状態S1〜S7のうちいずれかにあり、中継接続ユニット10はネットワークマネジメント機能の状態S1〜S7に応じて制御される。またネットワークマネジメント処理回路11のネットワークマネジメント機能の状態S1〜S7は、所定の条件E1〜E9によって現在の状態から他の状態に遷移する。
FIG. 2 is an example of a state transition diagram of the
例えば、電源41が投入された状態では中継接続ユニット10はオフ状態S1にある。このとき、条件E1を、状態遷移可能信号をリングメッセージとして他のECU30から中継処理回路15が受信し、ネットワークマネジメント処理回路11へ渡すという条件に設定すると、条件E1を満たすとネットワークマネジメント処理回路11のネットワークマネジメント機能はオフ状態S1からイニシャル状態S2に遷移する。
同様に、イニシャル状態S2にあるネットワークマネジメント処理回路11のネットワークマネジメント機能が、所定時間を経過するという条件(条件E2)を満たすと、中継接続ユニット10はイニシャル状態S2からリセット状態S3に遷移する。
また、リセット状態S3において、ネットワークマネジメント処理回路11のネットワークマネジメント機能がエラーを検知していないという条件(条件E3)を満たすと、中継接続ユニット10はノーマル状態S5に遷移し、エラーを検知したという条件(条件E4)を満たすとリンプホーム状態S6に遷移する。
For example, when the
Similarly, when the network management function of the network
In the reset state S3, when the condition that the network management function of the network
このようなネットワークマネジメント機能を備えるネットワークマネジメント処理回路11は、EEPROM12に記憶された状態遷移表Tを示すデータ信号をEEPROM処理回路13を介して読み込む。
The network
書き換え可能な不揮発性メモリであるEEPROM12は、中継接続ユニット用LSI40のEEPROM処理回路13と接続しており、ネットワークマネジメント機能の状態遷移条件の遷移先をパラメータ化した状態遷移表Tを記憶している。
図3は状態遷移表Tを示す。図3(A)の状態遷移表Tは、図2の中継接続ユニット10の状態Sと遷移条件Eとの関係を表にして示したものである。
本実施形態においては、ネットワークマネジメント処理回路11のネットワークマネジメント機能は図2に示すように7つの状態S1〜S7のいずれかとなり、また各状態に遷移するために条件E1〜E9の9の条件が必要であるため、状態遷移表Tには7の状態と9の条件を記載している。
また、状態遷移表Tの状態Sと条件Eがクロスする領域(マス目)には、中継接続ユニット10が状態Sである場合に条件Eを満たしたときの処理情報Pを記載している。
さらに、状態遷移表Tは、状態及び条件が記載されていないがEEPROM12の書き換えにより記載可能な領域を予備として予め確保している。本実施形態では、状態S8〜S17の10つの状態と、条件E9〜E19の10つの条件を記載できる予備の領域を予め確保している。該予備領域は、ある入力に対して新たに条件Eや状態Sを状態遷移表Tに追加するなどの仕様変更があった場合に使用する。
The
FIG. 3 shows a state transition table T. The state transition table T in FIG. 3A is a table showing the relationship between the state S and the transition condition E of the
In the present embodiment, the network management function of the network
Further, in the region (the square) where the state S and the condition E in the state transition table T cross each other, the processing information P when the condition E is satisfied when the
Further, the state transition table T reserves in advance an area that can be described by rewriting the
図3(B)は状態遷移表Tの各マス目に記載される処理情報Pのフォーマットを示しており、上位ビットから12ビットのタイマ制御ビット41、4ビットの送信処理ビット42、1ビットの初期化ビット43、5ビットの遷移先ビット44を設けている。
タイマ制御ビット41には、各条件Eのうち時間に関する条件を含むものにおいて、タイマ条件の具体的な設定時間が記載されている。例えば、状態S2と条件E2とがクロスするマス目の処理情報Pに1秒間待機が記載されている場合には、状態S2において、E2のイベントが発生すると、処理情報Pを参照することにより、タイマ制御ビットに基づいたタイマを起動し、S2状態のまま次のイベント入力を待ち、1秒経過後までにイベントが入力されなければ待機が完了したものとして処理情報Pに記載された次の状態へ遷移する。
FIG. 3B shows the format of the processing information P written in each square of the state transition table T. From the upper bit, the 12-bit
In the
送信処理ビット42は、ネットワークマネジメント処理回路11から他のECU30にネットワークマネジメントメッセージ(NMメッセージ)を送信する指令を出しているビットであり、NMメッセージにはウェイクアップメッセージ、アライブメッセージ、リングメッセージ、リンプホームメッセージの4種類のメッセージがある。遷移先ビット44に記載された状態に遷移する際に、ネットワークマネジメント処理回路11は中継処理回路15を介して該送信処理ビット42に記載されたメッセージを他のECU30に送信する。
例えば、状態遷移表Tにおいて、中継接続ユニット10がリセット状態S3とエラーがあるという条件E4のクロスするマス目の処理情報Pの送信処理ビット42にリンプホームメッセージの送信指令が記載されている場合、ネットワークマネジメント処理回路11は中継接続ユニット10を遷移先の状態Sに遷移させると同時にリンプホームメッセージを他のECU30に送信する。
The
For example, in the state transition table T, when a transmission instruction of a limp home message is described in the
初期化ビット43はネットワークマネジメント処理回路11の初期化や、送受信回路の初期化を行っている。
遷移先ビット44は中継接続ユニット10が状態Sのときに条件Eを満たした場合の遷移先が記載されている。
例えば、状態遷移表Tにおいて、中継接続ユニット10がリセット状態S3と、エラーがあるという条件E4のクロスするマス目の処理情報Pの遷移先ビット44に、中継接続ユニット10がエラー状態であるリンプホーム状態S6が記載されている場合、中継接続ユニット10は条件E4を満たせばリセット状態S4からリンプホーム状態S6に遷移する。
The
The transition destination bit 44 describes a transition destination when the condition E is satisfied when the
For example, in the state transition table T, the
なお、状態遷移表Tを構成するために必要となるビット数は、(送信処理、タイマ制御、初期化の各処理を表すビット数+遷移先ビット数)×状態の数×条件の数で求められ、本実施形態の場合には、(17+5)×17×19=7106ビットである。 Note that the number of bits required to configure the state transition table T is obtained by (number of bits representing each process of transmission processing, timer control, and initialization + number of transition destination bits) × number of states × number of conditions. In this embodiment, (17 + 5) × 17 × 19 = 7106 bits.
また、EEPROM12は、送受信回路14が用いる通信速度のパラメータと中継処理回路15が用いるルーティングテーブルも記憶しており、送受信回路14は通信速度のパラメータをパラメタ処理回路17とEEPROM処理回路13を介してEEPROM12から読み出すと共に、中継処理回路15はEEPROM12からルーティングテーブルを読み出す。
The
メインループ受信回路16は電源41と接続していると共に、ネットワークマネジメント処理回路11、中継処理回路15、パラメタ処理回路17、送受信部14と接続しており、中継接続ユニット10に電源41が投入された場合には、メインループ受信回路16はネットワークマネジメント処理回路11、中継処理回路15、パラメタ処理回路17、送受信部14にウェイクアップ信号を出力して、各処理部をウェイクアップさせている。
中継処理回路15は各バス31A、31Bと接続された送受信回路14A、14Bと接続しており、あるECU30から異なるネットワーク31に属する他のECU30へ送信される中継メッセージの中継処理を行っている。
送受信回路14A、14Bは各バス31A、31B毎に設けており、ネットワークマネジメント処理回路11からのNMメッセージ及び中継処理回路15からの中継メッセージをバス31に送信している。
The main
The
The transmission /
次に、中継接続ユニット10の動作について説明する。
まず、中継接続ユニット10に電源41を投入したときにネットワークマネジメント処理回路11がEEPROM12から状態遷移表Tを読み込む動作について説明する。
中継接続ユニット10のメインループ受信回路16に電源41を投入すると、メインループ受信回路16がウェイクアップする。
メインループ受信回路16はネットワークマネジメント処理回路11及びパラメタ処理回路17、送受信回路14A、14B、中継処理回路15にウェイクアップ信号を送信し、該ウェイクアップ信号を受信した各処理部はウェイクアップする。
パラメタ処理回路17はウェイクアップして動作可能となった後に、EEPROM処理回路13にウェイクアップ信号を出して、EEPROM処理回路13をウェイクアップさせる。EEPROM処理回路13はEEPROM12から状態遷移表Tを読み出し、パラメタ処理回路17を介してネットワークマネジメント処理回路11に状態遷移表Tを出力している。
Next, the operation of the
First, an operation in which the network
When the
The main
After the
次に、状態遷移表Tを用いたネットワークマネジメント処理回路11の状態遷移処理の動作について説明する。例として、中継接続ユニット10が状態S1から状態S2、状態S2から状態S3に遷移する場合について説明する。
図4は図3の状態遷移表Tの具体例であり、図4(A)のオフ状態S1と条件E1のクロスするマス目には図4(B)に示す処理情報P1を記載している。条件E1は、状態遷移可能信号をネットワークマネジメント処理回路11が受信するという条件であり、状態遷移可能信号はリングメッセージとして他のECU30から受信するか、もしくはイグニッションキーのオンにより受信する。状態遷移可能信号はネットワークマネジメント機能が状態遷移を実行可能とするための信号である。
また、オフ状態S2と条件E2のクロスするマス目には図4(C)に示す処理情報P2を記載している。条件E2は所定時間経過まで待機という条件である。
Next, the operation of the state transition process of the network
FIG. 4 is a specific example of the state transition table T of FIG. 3, and the processing information P1 shown in FIG. 4B is described in the crossing cells of the OFF state S1 and the condition E1 of FIG. . The condition E1 is a condition that the network
Further, processing information P2 shown in FIG. 4C is written in the cells where the OFF state S2 and the condition E2 cross each other. Condition E2 is a condition of waiting until a predetermined time elapses.
次に、ネットワークマネジメント処理回路11は、オフ状態S1にある場合に、条件E1を満たしているか否かを判断する。
ネットワークマネジメント処理回路11が他のECU30から状態遷移可能信号を受信した場合、条件E1を満たす。このとき、ネットワークマネジメント処理回路11は処理情報P1である図4(B)を参照し、遷移先ビット44に記載されたイニシャル状態S2に遷移する。同時に、送信処理ビット42にウェイクアップメッセージの送信指令が記載されているので、ネットワークマネジメント処理回路11は他のECU30にウェイクアップメッセージを送信する。なお、タイマ制御ビット41には記載がない(ゼロが記載されている)ため、ネットワークマネジメント処理回路11は状態遷移可能信号を受信すると、待機時間なく中継接続ユニット10の状態を遷移させると共にウェイクアップメッセージを送信する。
Next, the network
When the network
中継接続ユニット10がイニシャル状態S2である場合に、ネットワークマネジメント処理回路11は所定時間待機である条件E2を満たす。そこで、ネットワークマネジメント処理回路11は図4(C)の処理情報P2を参照する。タイマ制御ビット41に1秒の指示があるため、ネットワークマネジメント処理回路11は内蔵するタイマ(図示せず)により時間を計測し、該経過時間が1秒を超えた場合には、条件E2を満たすため、遷移先ビット44に記載されたリセット状態S3に遷移する。
なお、図4(C)には送信処理ビット42には記載がない(ゼロが記載されている)ため、他のECU30にNMメッセージは送信しない。
When the
In FIG. 4C, there is no description in the transmission processing bit 42 (zero is described), and therefore no NM message is transmitted to the other ECU 30.
本実施形態によれば、状態遷移表TはEEPROM12に記憶されているので、中継接続ユニット10の状態遷移条件と遷移先を変更する場合にはEEPROM12の状態遷移表Tを書き直すだけでよく、容易に状態遷移表Tの仕様の変更を行うことができる。
また、ネットワークマネジメント処理回路11をコントローラの回路からなるハードウェアで形成し、車種毎に異なる状態遷移表Tはパラメタ処理回路17を介してEEPROM12から読み出しているため、ハードウェアのネットワークマネジメント処理回路11を自動車の車種によらず共用化することができる。
さらに、開発者はEEPROM12に記憶された状態遷移処理の動作を容易に把握できるので、状態遷移処理の動作の検証等を行いやすくなる。
According to the present embodiment, since the state transition table T is stored in the
Further, since the network
Furthermore, since the developer can easily grasp the state transition processing operation stored in the
図5は本発明の第2実施形態を示す。
第2実施形態においては、第1実施形態の状態遷移図に、リンプホーム待機状態S8の状態を加えており、リンプホーム状態S6からリンプホーム待機状態S8に遷移するための条件E10と、リンプホーム待機状態S8からスリープ状態S7に遷移するための条件E11をそれぞれ設定している。
状態遷移表Tは第1実施形態において予備の領域を備えており、第2実施形態では、リンプホーム待機状態S8、及び条件E10、E11と各処理情報Pを第1実施形態の状態遷移図Tの予備の領域に記載している。
リンプホーム待機状態S8は待機のために設けた状態であり、各処理情報Pのタイマ制御ビット41には、タイマ条件として待機時間が記載されている。
FIG. 5 shows a second embodiment of the present invention.
In the second embodiment, the state of the limp home standby state S8 is added to the state transition diagram of the first embodiment, the condition E10 for transitioning from the limp home state S6 to the limp home standby state S8, and the limp home A condition E11 for changing from the standby state S8 to the sleep state S7 is set.
The state transition table T includes a spare area in the first embodiment, and in the second embodiment, the limp home standby state S8, the conditions E10 and E11, and the processing information P are the state transition diagram T of the first embodiment. In the spare area.
The limp home standby state S8 is a state provided for standby, and the
前記構成とすることで、中継接続ユニット10の開発中に状態遷移表Tを設定した後に、ネットワークマネジメント機能の動作の検証で新たなタイマ条件の仕様を追加して中継接続ユニット10を待機状態に遷移させる必要が生じた場合には、予備として設けた領域に中継接続ユニット10が待機状態に遷移するためのタイマ条件等を記載することができる。このため、新たに記載領域を設定する必要がなく、タイマ条件の仕様の追加を容易に行うことができる。
なお、他の構成および作用効果は第1実施形態と同様のため、同一の符号を付して説明を省略する。
With this configuration, after setting the state transition table T during development of the
In addition, since another structure and an effect are the same as that of 1st Embodiment, the same code | symbol is attached | subjected and description is abbreviate | omitted.
10 中継接続ユニット
11 ネットワークマネジメント処理回路
12 EEPROM
13 EEPROM処理回路
14 送受信回路
15 中継処理回路
16 メインループ受信回路
17 パラメタ処理回路
30 電子制御ユニット(ECU)
31 バス
32 ネットワーク
T 状態遷移表
P 処理情報
10
13 EEPROM processing circuit 14 Transmission /
31
Claims (3)
ネットワークマネジメント機能を実行するネットワークマネジメント処理回路と、
前記ネットワークマネジメント機能の状態遷移条件の遷移先をパラメータ化した状態遷移表を有する記憶回路を備え、
前記ネットワークマネジメント処理回路は前記状態遷移表を用いて前記状態遷移を監視することを特徴とする車載用中継接続ユニット。 An in-vehicle relay connection unit that relays messages transmitted and received between the electronic control units belonging to different buses by forming a network by interposing the electronic control units between the respective buses,
A network management processing circuit for executing a network management function;
A storage circuit having a state transition table that parameterizes the transition destination of the state transition condition of the network management function,
The in-vehicle relay connection unit, wherein the network management processing circuit monitors the state transition using the state transition table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007158309A JP2008311978A (en) | 2007-06-15 | 2007-06-15 | Transit connection unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007158309A JP2008311978A (en) | 2007-06-15 | 2007-06-15 | Transit connection unit |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008311978A true JP2008311978A (en) | 2008-12-25 |
Family
ID=40239173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007158309A Pending JP2008311978A (en) | 2007-06-15 | 2007-06-15 | Transit connection unit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008311978A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014036407A (en) * | 2012-08-10 | 2014-02-24 | Denso Corp | On-vehicle network system |
JP2019519853A (en) * | 2016-04-12 | 2019-07-11 | ガードノックス・サイバー・テクノロジーズ・リミテッドGuardKnox Cyber Technologies Ltd. | Specially programmed computing system having associated devices configured to implement secure lockdown and method of use thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04211892A (en) * | 1990-02-08 | 1992-08-03 | Fuji Electric Co Ltd | Electronic computer |
JP2003333070A (en) * | 2002-03-12 | 2003-11-21 | Daimler Chrysler Ag | Network management system |
JP2005159864A (en) * | 2003-11-27 | 2005-06-16 | Yazaki Corp | Data communication system |
JP2006222649A (en) * | 2005-02-09 | 2006-08-24 | Fujitsu Ten Ltd | Gateway device with network monitoring function |
JP2006248265A (en) * | 2005-03-08 | 2006-09-21 | Auto Network Gijutsu Kenkyusho:Kk | Power source system for vehicle |
-
2007
- 2007-06-15 JP JP2007158309A patent/JP2008311978A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04211892A (en) * | 1990-02-08 | 1992-08-03 | Fuji Electric Co Ltd | Electronic computer |
JP2003333070A (en) * | 2002-03-12 | 2003-11-21 | Daimler Chrysler Ag | Network management system |
JP2005159864A (en) * | 2003-11-27 | 2005-06-16 | Yazaki Corp | Data communication system |
JP2006222649A (en) * | 2005-02-09 | 2006-08-24 | Fujitsu Ten Ltd | Gateway device with network monitoring function |
JP2006248265A (en) * | 2005-03-08 | 2006-09-21 | Auto Network Gijutsu Kenkyusho:Kk | Power source system for vehicle |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014036407A (en) * | 2012-08-10 | 2014-02-24 | Denso Corp | On-vehicle network system |
JP2019519853A (en) * | 2016-04-12 | 2019-07-11 | ガードノックス・サイバー・テクノロジーズ・リミテッドGuardKnox Cyber Technologies Ltd. | Specially programmed computing system having associated devices configured to implement secure lockdown and method of use thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5335663B2 (en) | Message buffering method and unit for a receiving device on a communication bus | |
JP5626266B2 (en) | Communications system | |
JP2008312024A (en) | Transit connection unit | |
US20170068305A1 (en) | Operation methods of communication node in network | |
JP2015179888A (en) | Communication system and repeating device | |
CN104683126B (en) | Network management based on CAN | |
JP2007034910A (en) | Multi-cpu system and scheduler | |
US9952913B2 (en) | Centralized peripheral access protection | |
JP2008311978A (en) | Transit connection unit | |
JP2011093389A (en) | Control system, electronic devices, control device, and method for starting devices | |
JP2011035834A (en) | Communication system, communication apparatus and communication method | |
JP2014060686A (en) | Semiconductor device | |
JP2007269181A (en) | Setting method of vehicle information of electronic control system of vehicle | |
CN116301294A (en) | System chip low-power-consumption implementation method, system chip, vehicle machine and equipment | |
JP2007001420A (en) | Control unit for vehicle | |
US20230216704A1 (en) | Onboard apparatus, onboard communication system, and communication control method | |
JP5463836B2 (en) | Processing system | |
JP2017144893A (en) | Vehicle communication system | |
JP4954832B2 (en) | In-vehicle communication system | |
JP2018170591A (en) | Communication device, communication method, and control program | |
JP2010258635A (en) | Control apparatus | |
JP6040952B2 (en) | Communication system, electronic control device | |
JP2004040649A (en) | On-vehicle communication equipment | |
KR101967442B1 (en) | Mult master system, power controller and operating methed thereof | |
JP5128194B2 (en) | Relay connection unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Effective date: 20100224 Free format text: JAPANESE INTERMEDIATE CODE: A621 |
|
A977 | Report on retrieval |
Effective date: 20120217 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120306 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120710 |