JP2007251722A - Communication device, on-vehicle system, data storing method and program - Google Patents
Communication device, on-vehicle system, data storing method and program Download PDFInfo
- Publication number
- JP2007251722A JP2007251722A JP2006073995A JP2006073995A JP2007251722A JP 2007251722 A JP2007251722 A JP 2007251722A JP 2006073995 A JP2006073995 A JP 2006073995A JP 2006073995 A JP2006073995 A JP 2006073995A JP 2007251722 A JP2007251722 A JP 2007251722A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- storage data
- control device
- data
- frame
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
本発明は複数の電子制御装置や通信装置(以下、ノードと呼ぶ)が通信バスに接続されてなる車載システムに関する。 The present invention relates to an in-vehicle system in which a plurality of electronic control devices and communication devices (hereinafter referred to as nodes) are connected to a communication bus.
車両、特に自動車においては、省燃費、安全性向上、利便性向上等の市場の要求に対応すべく、電子化が進んでおり、これに伴い、制御装置、情報機器、オーディオ機器といった各種の電子制御ユニットが搭載されるようになってきている。 In vehicles, especially automobiles, computerization is progressing to meet market demands such as fuel saving, safety improvement, and convenience improvement. Along with this, various electronic devices such as control devices, information equipment, and audio equipment have been developed. Control units are being installed.
これらの電子制御ユニット(ECU)では、電源オフのときに保存用データが消えてしまわないようにバックアップメモリを搭載している。しかしながら、電子制御ユニットごとにバックアップ用のメモリを用意する場合、複数のメモリを搭載するためコストが増加する、データ保存のためのリーク電流が大きくなりバッテリー電圧が低下する、などの問題が生じる。またフラッシュメモリ等のバックアップ用のメモリは、メモリ書き換え保証回数に制限があり、また電源遮断時にはデータの書き換え処理が必要となるという問題もある。 These electronic control units (ECUs) are equipped with a backup memory so that the storage data is not lost when the power is turned off. However, when a backup memory is prepared for each electronic control unit, there are problems such as an increase in cost due to the mounting of a plurality of memories, a large leakage current for data storage, and a decrease in battery voltage. Further, a backup memory such as a flash memory has a problem that the number of guaranteed memory rewrites is limited, and data rewrite processing is required when the power is shut off.
そこで、特許文献1から3では、複数のマイコンからなるシステムにおいて、電源遮断時に、各マイコンのバックアップ用データをメインマイコンのメモリに集約して保存する技術を提案している。
Therefore,
しかしながら、バックアップ用のメモリを1つに集約しても、メモリ書き換え保証回数の制約がある、電源遮断時にデータの書き換え処理が必要となるといった課題を解決できてはいない。 However, even if the memory for backup is consolidated into one, the problem that the memory rewrite guarantee frequency is limited and the data rewrite process is required when the power is shut off cannot be solved.
本発明は上記事情に鑑みてなされたものであり、バックアップ用のメモリへのデータ書き換え回数を削減し、書き換え処理にかかる時間を短縮させた通信ノード、車載システム、データ保存方法及びプログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and provides a communication node, an in-vehicle system, a data storage method, and a program that reduce the number of times of data rewriting to a backup memory and shorten the time required for rewriting processing. For the purpose.
かかる目的を達成するために本発明の通信装置は、通信バスに接続された制御装置から、当該制御装置の保存用データを取得する取得手段と、前記保存用データと、該保存用データの返送を要求するフラグ情報とを通信フレーム内の所定領域に挿入するフレーム生成手段と、前記通信フレームを通信バスに接続された他の制御装置に送信する送信手段と、前記他の制御装置から返送される通信フレームを受信して、前記保存用データを取り出す受信手段と、を有する構成としている。
このように本発明は、保存用データをメモリに保存することなく、他の制御装置との間で送受信しておくことにより、メモリへの保存回数を削減することができる。また制御装置ごとにメモリを持たせる必要がなくなるため、コストを削減することができる。さらに制御装置が電源断になる度に保存用データをメモリに書き込む必要がないので、書込み処理にかかる時間を短縮することができる。
In order to achieve such an object, the communication device of the present invention includes an acquisition means for acquiring storage data of the control device from the control device connected to the communication bus, the storage data, and a return of the storage data. Frame generating means for inserting flag information for requesting a predetermined area in a communication frame, transmission means for transmitting the communication frame to another control device connected to a communication bus, and returned from the other control device. Receiving means for receiving the communication frame and taking out the storage data.
As described above, the present invention can reduce the number of times data is stored in the memory by transmitting / receiving data to / from another control device without storing the data for storage in the memory. Further, since it is not necessary to provide a memory for each control device, the cost can be reduced. Furthermore, since it is not necessary to write the storage data to the memory every time the control device is turned off, the time required for the writing process can be shortened.
上記通信装置において、通信フレーム内でのデータ格納位置により、保存用データと該保存用データを転送した制御装置とを認識し、前記フレーム生成手段に前記保存用データを含む通信フレームの生成を指示する制御手段を有しているとよい。
通信フレーム内に特別な情報を挿入することなく、保存用データと、どの制御装置からのデータであるのかを通信装置に認識させることができる。
In the communication device, the storage data and the control device that has transferred the storage data are recognized based on the data storage position in the communication frame, and the frame generation unit is instructed to generate the communication frame including the storage data. It is good to have a control means to do.
Without inserting special information in the communication frame, it is possible to make the communication device recognize the storage data and from which control device.
上記通信装置において、前記制御手段は、前記通信バスに接続された全ての制御装置との通信状態が不能になると、前記保存用データを記憶手段に保存するとよい。
通信バス上の制御装置がすべて通信不能となると保存用データの書込みを行うので、書込み処理の時間を短縮することができる。
In the communication device, the control unit may store the storage data in the storage unit when communication with all the control devices connected to the communication bus becomes impossible.
When all the control devices on the communication bus are unable to communicate, the storage data is written, so that the time for the writing process can be shortened.
上記通信装置において、前記通信バスに接続された前記制御装置への電源供給を切り替える切替手段を有し、前記制御手段は、前記保存用データを取得した制御装置への電源供給を停止させるとよい。
保存用データを取得した制御装置への電源供給を停止させることができる。
The communication device may include a switching unit that switches power supply to the control device connected to the communication bus, and the control unit may stop power supply to the control device that has acquired the storage data. .
It is possible to stop the power supply to the control device that has acquired the storage data.
上記通信装置において、前記通信バスの通信状態を監視する監視手段を有し、前記制御手段は、前記通信バスの通信状態により電源供給を停止する制御装置を選択するとよい。
通信バスの通信状態に応じて制御装置への電源供給を停止させることができる。
The communication device may include a monitoring unit that monitors a communication state of the communication bus, and the control unit may select a control device that stops power supply according to the communication state of the communication bus.
The power supply to the control device can be stopped according to the communication state of the communication bus.
上記通信装置において、前記通信装置は、複数の通信バス間で通信フレームの転送を制御する通信ゲートウェイ装置であるとよい。
通信ゲートウェイ装置において、保存用データの管理を行うことができる。
In the communication apparatus, the communication apparatus may be a communication gateway apparatus that controls transfer of a communication frame between a plurality of communication buses.
In the communication gateway device, the storage data can be managed.
本発明の車載システムは、複数の通信バスに接続された制御装置と、該制御装置から出力される通信フレームを通信バス間で中継する通信ゲートウェイ装置とを搭載した車載システムであって、前記制御装置は、電源断となる前に、通信フレーム内に保存用データを挿入して送信する送信手段を有し、前記通信ゲートウェイ装置は、通信バスに接続された制御装置から、当該制御装置の保存用データを取得する取得手段と、前記保存用データと、該保存用データの返送を要求するフラグ情報とを通信フレーム内の所定領域に挿入するフレーム生成手段と、前記通信フレームを通信バスに接続された他の制御装置に送信する送信手段と、前記他の制御装置から返送される前記通信フレームを受信して、前記保存用データを取り出す受信手段と、を有する構成としている。
また、前記他の制御装置は、前記通信フレームを受信する受信手段と、前記通信フレーム内から前記保存用データを取り出し、前記通信ゲートウェイ装置への通信フレーム内に挿入するフレーム生成手段と、前記通信フレームを前記通信ゲートウェイ装置に送信する送信手段と、を有しているとよい。
The in-vehicle system of the present invention is an in-vehicle system that includes a control device connected to a plurality of communication buses and a communication gateway device that relays communication frames output from the control devices between the communication buses. The apparatus includes a transmission unit that inserts and transmits storage data in a communication frame before the power is cut off, and the communication gateway apparatus saves the control apparatus from a control apparatus connected to a communication bus. Acquisition means for acquiring data, frame generation means for inserting the storage data and flag information for requesting return of the storage data into a predetermined area in the communication frame, and connecting the communication frame to a communication bus A transmission means for transmitting to the other control apparatus, a reception means for receiving the communication frame returned from the other control apparatus and extracting the storage data; It is configured to have.
The other control device includes: a receiving unit that receives the communication frame; a frame generation unit that extracts the storage data from the communication frame and inserts the data into the communication frame to the communication gateway device; and the communication It is good to have a transmission means which transmits a flame | frame to the said communication gateway apparatus.
本発明のデータ保存方法は、通信バスに接続された制御装置から、当該制御装置の保存用データを取得するステップと、前記保存用データと、該保存用データの返送を要求するフラグ情報とを通信フレーム内の所定領域に挿入するステップと、前記通信フレームを通信バスに接続された他の制御装置に送信するステップと、前記他の制御装置から返送される前記通信フレームを受信して、前記保存用データを取り出すステップと、を有しているとよい。 The data storage method of the present invention includes a step of acquiring storage data of a control device from a control device connected to a communication bus, the storage data, and flag information requesting return of the storage data. Inserting the communication frame into a predetermined area; transmitting the communication frame to another control device connected to a communication bus; receiving the communication frame returned from the other control device; And taking out the data for storage.
本発明のデータ保存プログラムは、通信バスに接続された制御装置から、当該制御装置の保存用データを取得する処理と、前記保存用データと、該保存用データの返送を要求するフラグ情報とを通信フレーム内の所定領域に挿入する処理と、前記通信フレームを通信バスに接続された他の制御装置に送信する処理と、前記他の制御装置から返送される前記通信フレームを受信して、前記保存用データを取り出す処理とをコンピュータに実行させるとよい。 The data storage program of the present invention includes a process for acquiring storage data of the control device from the control device connected to the communication bus, the storage data, and flag information for requesting the return of the storage data. A process of inserting the communication frame into a predetermined area; a process of transmitting the communication frame to another control device connected to a communication bus; and receiving the communication frame returned from the other control device; It is good to make a computer perform the process which takes out the data for preservation | save.
本発明によれば、バックアップ用のメモリへのデータ書き換え回数を削減し、書き換え処理にかかる時間を短縮させることができる。 According to the present invention, the number of data rewrites to the backup memory can be reduced, and the time required for the rewrite process can be shortened.
添付図面を参照しながら本発明の好適な実施例を説明する。 Preferred embodiments of the present invention will be described with reference to the accompanying drawings.
まず、図1を参照しながら本発明を適用した実施例のシステム構成を説明する。
本実施例は、CAN(Controller Area Network)のプロトコルに従って複数のノードが通信を行うものであり、各ノードは、CANバスを介してデータの送受信を行う。通信ゲートウェイ装置1は、これら異なるCANバス間でデータを中継する役割を担う。
First, a system configuration of an embodiment to which the present invention is applied will be described with reference to FIG.
In this embodiment, a plurality of nodes perform communication according to a CAN (Controller Area Network) protocol, and each node transmits and receives data via a CAN bus. The
1つのCANバス上には複数のノードが接続されており、同一バス上のノードは、同一の電源ラインで接続されている。各電源ラインへの電源供給の制御も通信ゲートウェイ装置1で行われる。なお、本実施例ではCANバスとしてCANバス_1,CANバス_2,CANバス_3の3つのバスを示しているが、バスの本数は3本に限定されるものではない。また、各CANバス_1,_2,_3に接続されるノードの数も同数である必要はなく、任意に設けることができる。
A plurality of nodes are connected on one CAN bus, and the nodes on the same bus are connected by the same power supply line. The
図1に示す通信システムは、図2に示すように車両に搭載される。図3に通信システムを車両に搭載した場合の構成を示す。車両に搭載した場合のノードとして、エンジン制御ECU、トランスミッションEUC、電源制御ECU、エアコンECU、ボディECU、セキュリティECUなどを挙げることができ、これらのノード間で制御情報を通信する。 The communication system shown in FIG. 1 is mounted on a vehicle as shown in FIG. FIG. 3 shows a configuration when the communication system is mounted on a vehicle. Examples of nodes when mounted on a vehicle include an engine control ECU, a transmission EUC, a power supply control ECU, an air conditioner ECU, a body ECU, and a security ECU, and control information is communicated between these nodes.
図4に通信ゲートウェイ装置1の詳細な構成を示す。通信ゲートウェイ装置1は、図4に示すようにルーティング処理部20と、電源制御部30とを備えている。ルーティング処理部20は、データのルーティングを担当する機能部であって、ルーティングマップ格納部21と、ルーティング部22と、制御部23と、通信チャネルごとに設けられた送信バッファ24_(1)、24_(2)、24_(3)、受信バッファ25_(1)、25_(2)、25_(3)、CANコントローラ26_(1)、26_(2)、26_(3)、CANトランシーバ27_(1)、27_(2)、27_(3)とを有している。
FIG. 4 shows a detailed configuration of the
ルーティングマップ格納部21には、ルーティング用のマップや、優先順位を設定したマップが格納されている。優先順位のマップは、複数のノードからデータ転送要求を受けた場合に、データを優先的に処理するノードの順番を設定したマップである。ルーティング部22は、これらのマップを参照して受信したフレームデータを出力するCANバスを設定する。
The routing
制御部23は、電源供給を停止するノードから転送された保存用データを取得して、この保存用データの送信先のノードを決定する。またフレームデータ中に保存用データと、この保存用データを返送するように指示するフラグ情報とを含ませて送信先のノードに送信する。さらに、ノードから送信されるフレームデータ中から保存用データを取り出して、再度ノードに転送する制御を行う。
The
送信バッファ24_(1)、24_(2)、24_(3)は、通信チャネルごとに設けられており、ルーティング部22によってルーティングされたフレームデータを一旦格納する。受信バッファ25_(1)、25_(2)、25_(3)は、CANコントローラ26_(1)、26_(2)、26_(3)によって取り込まれたフレームデータを一旦格納する。 The transmission buffers 24_ (1), 24_ (2), and 24_ (3) are provided for each communication channel, and temporarily store the frame data routed by the routing unit 22. The reception buffers 25_ (1), 25_ (2), and 25_ (3) temporarily store the frame data captured by the CAN controllers 26_ (1), 26_ (2), and 26_ (3).
CANコントローラ26_(1)、26_(2)、26_(3)は、マイクロプロセッサまたは周辺機器の一部を含み、CPU(不図示)とのインターフェース、フレームデータのフィルタリング、プロトコル処理、CANトランシーバ27とのインターフェースなどの機能を備えている。CANトランシーバ27_(1)、27_(2)、27_(3)は、バスドライバと受信器を含み、CANバスへのデータの出力と、CANバスからのデータの入力とを行う。 The CAN controllers 26_ (1), 26_ (2), and 26_ (3) include a part of a microprocessor or a peripheral device, and interface with a CPU (not shown), filtering of frame data, protocol processing, and a CAN transceiver 27. It has functions such as interface. The CAN transceivers 27_ (1), 27_ (2), and 27_ (3) include a bus driver and a receiver, and output data to the CAN bus and input data from the CAN bus.
次に電源制御部30の構成について説明する。電源制御部30は、車両状態検知部31と、CANバスごとに設けられた通信状態検知部32_(1)、32_(2)、32_(3)と、電源制御判断部33と、切替部34とを備えている。
Next, the configuration of the power
車両状態検知部31は、ECU、センサ、外部接続機器等から出力されるスイッチ信号を入力して、この信号により車両の状態(車両が走行中であるのか、停車中であるのか)を検知する。通信状態検知部32_(1)、32_(2)、32_(3)は、CANバスごとに設けられ、CANバスの通信状態を検出することで、CANバス上のノードへの電源供給が必要か否かを判定する。
The vehicle
電源制御判断部33は、車両状態検知部31や、通信状態検知部32の検知結果に従って、電源ラインへの電源の供給と遮断を切り替える。電源制御判断部33は、切替部34のスイッチ接続を切り替えることで、電源ラインへの電源の供給と停止とを切り替える。
切替部34は、電源制御判断部33の制御に従って、電源部10からの電源を供給する電源ラインのオンとオフとを切り替える。
The power supply
The switching
次に、図5を参照しながらCANバスに接続された各ノードの構成を説明する。
ノードは、CANのプロトコルに従って通信を行うECU(電子制御装置)であって、通信ゲートウェイ装置1と同様にCANトランシーバ51と、CANコントローラ52と、送信バッファ53と、受信バッファ54と、制御部55と、電源部56とを備えている。
Next, the configuration of each node connected to the CAN bus will be described with reference to FIG.
The node is an ECU (electronic control unit) that performs communication in accordance with the CAN protocol. Like the
制御部55は、通信ゲートウェイ装置1から保存用データの取得要求を受け付けると、フレームデータの所定領域に、保存用データを挿入して通信ゲートウェイ装置1に送信する。さらに、ノード自ら動作を停止させる場合には、予め通信ゲートウェイ装置1に保存用データを送信する。また、制御部55は、通信ゲートウェイ装置1から送信されるフレームデータ内に、保存用データの返送要求を示すフラグ情報が含まれていた場合、所定領域の保存用データを取り出して通信ゲートウェイ装置1へ返送する。
When receiving the storage data acquisition request from the
図6には、ノード間で送受信されるフレームデータの構成を示す。フレーム構成は、一般的な構成であり、SOF(Start of frame)、アービトレーションフィールド、コントロールフィールド、データフィールド、CRCフィールド、ACK(acknowledgement)、EOF(end of frame)の各フィールドからなる。 FIG. 6 shows a configuration of frame data transmitted / received between nodes. The frame configuration is a general configuration, and includes SOF (Start of frame), arbitration field, control field, data field, CRC field, ACK (acknowledgement), and EOF (end of frame) fields.
本実施例は、データフィールド中に保存用データを挿入する領域(以下では、保存データ挿入領域と呼ぶ)を設けている。各ノードは、電源遮断状態に移行する前に、通信ゲートウェイ装置1に保存用データを出力する。図6に示すようにフレームデータ中には、ノードごとに保存用データを挿入できる領域が設けられている。このため通信ゲートウェイ装置1は、どのノードからの保存用データであるのか、またどのノードが動作を停止させるのかを認識することができる。通信ゲートウェイ装置1は、ノードから保存用データを取得すると、このデータを他のノードへの通信データ中に含ませて通信を行う。フレームデータの中の保存用データ挿入領域に保存用データを挿入して通信を行う。このとき、フレームデータ中の所定領域には、保存用データの返信要求を示すフラグ情報を含ませておくといよい。フレームデータを受信したノードは、通信ゲートウェイ装置1へのデータ転送時に、フレームデータに保存用データを挿入して送り返す。なお、通信ゲートウェイ装置1が電源供給を停止させるCANバス上の各ノードに保存用データの転送要求を出して、各ノードから保存用データの転送を受けるものであってもよい。
In this embodiment, an area for inserting storage data (hereinafter referred to as a storage data insertion area) is provided in the data field. Each node outputs storage data to the
フレームデータは、CANトランシーバ27(51)で受信され、CANコントローラ26(52)でフィルタリング等の処理後に受信バッファ25(54)に一旦蓄えられる。制御部23(55)は、フレームデータの保存用データ挿入領域から保存用データを取り出すと、相手先のノードに転送するフレームデータ中に保存用データを挿入する。ノードごとに用意された領域に挿入される。このフレームデータは、送信バッファ24(53)に一時的に格納され、CANコントローラ26(52)、CANトランシーバ27(51)を経て相手ノード、又は通信ゲートウェイ装置1に送信される。
The frame data is received by the CAN transceiver 27 (51), and is temporarily stored in the reception buffer 25 (54) after processing such as filtering by the CAN controller 26 (52). When the control unit 23 (55) extracts the storage data from the storage data insertion area for the frame data, the control unit 23 (55) inserts the storage data into the frame data to be transferred to the counterpart node. It is inserted into the area prepared for each node. This frame data is temporarily stored in the transmission buffer 24 (53) and transmitted to the partner node or the
また、電源遮断状態にあるノードが、この状態から復帰するときには通信ゲートウェイ装置1に保存用データの取得要求を出力する。又は通信ゲートウェイ装置1は、電源断状態にあるノードへの電源供給再開時に、電源と共に保存用データを出力するようにしてもよい。
Further, when a node in a power-off state returns from this state, it outputs a storage data acquisition request to the
また、通信ゲートウェイ装置1は、保存用データを格納するメモリを備えており、全てのノードへの電源供給を停止する時にはこのメモリに保存用データを書き込んで電源を遮断する。
Further, the
このように本実施例は、電源遮断時に、毎回各ノードの保存用データをメモリに保存するのではなく、通信ゲートウェイ装置1と通信可能なノードとの間で保存用データを送受信することにより、メモリへの保存回数を削減することができる。またノードごとにメモリを持たせる必要がなくなるため、装置コストを削減することができる。さらにノードが電源断になる度に保存用データをメモリに書き込む必要がないので、書込み処理にかかる時間を短縮することができる。
As described above, in this embodiment, when the power is shut down, the storage data of each node is not stored in the memory every time, but the storage data is transmitted / received between the
図7には、通信ゲートウェイ装置1が同一電源ライン上のノードに保存用データの転送を要求し、保存用データの取得後に同電源ラインへの電源供給を遮断するフローが示されている。
通信ゲートウェイ装置1は、車両状態検知部31の検知信号により車両の状態を検出し、電源供給を停止可能な電源ラインを検出すると(ステップS1/YES)、当該電源ライン上の各ノードに保存用データを出力するよう要求する(ステップS2)。出力要求を受けた各ノードは、保存用のデータを順次通信ゲートウェイ装置1に出力する(ステップS3)。通信ゲートウェイ装置1は、ノードから保存用データの転送を受けると、他のCANバスの込み具合を判定し、空いているCANバス上のノードに、受信した保存用データを含むフレームデータを送信する(ステップS4)。以降、通信ゲートウェイ装置1は、このノードとの間でバックデータデータの転送を繰り返す。なお、保存用データを出力する通信経路の選択は、通信経路の空き具合、通信の頻度、優先度等によって決定されるとよい。また、電源供給を停止する電源ライン上に複数のノードが接続されていた場合、通信ゲートウェイ装置1は、複数のノードから保存用データの転送を受けることになる。このような場合、通信ゲートウェイ装置1は、同じフレームデータ内に2つ以上のノードの保存用データを挿入してもよいし、保存用データを挿入したフレームデータの送受信を複数のノードと行ってもよい。
FIG. 7 shows a flow in which the
When the
電源供給を停止する電源ライン上の全てのノードから保存用データを取得すると(ステップS5)、通信ゲートウェイ装置1は対象電源ラインへの電源供給を停止する(ステップS6)。
When the storage data is acquired from all nodes on the power supply line whose power supply is to be stopped (step S5), the
図8には、通信ゲートウェイ装置1がノードに対して保存用データの転送を要求するのではなく、ノードから転送されるデータを監視して、同一電源ライン上の全てのノードから保存用データの転送を受け付けると、該当電源ラインへの電源供給を停止するフローが示されている。
通信ゲートウェイ装置1は、ノードからフレームデータの転送を受け付けると、このフレームデータ中に保存用データが含まれているか否かを判定する(ステップS10)。フレームデータ中の所定領域に保存用データが挿入されていると判定すると(ステップS10/YES)、通信ゲートウェイ装置1は、取得した保存用データを他のチャネル上のノードとの通信時に送信する(ステップS11)。以降、通信ゲートウェイ装置1は、このノードとの間でバックデータデータの転送を繰り返す。
In FIG. 8, the
When receiving the transfer of the frame data from the node, the
次に通信ゲートウェイ装置1は、接続した全てのノードから保存用データの転送を受けた電源ラインがあるか否かを判定する(ステップS12)。接続している全てのノードから保存用データの転送を受けている電源ラインはないと判定すると(ステップS12/NO)、ステップS10に戻って各ノードから転送されるフレームデータの監視を継続して行う。また電源ラインがあると判定すると(ステップS12/YES)、通信ゲートウェイ装置1は、当該電源ラインへの電源供給を停止させる(ステップS13)。
Next, the
なお、図7又は図8に示す手順で制御を行うプログラムを制御部23に格納し、プログラム制御によって保存用データの送受信を行うことでも本発明を実現することができる。
It should be noted that the present invention can also be realized by storing a program for performing control according to the procedure shown in FIG. 7 or FIG. 8 in the
上述した実施例は本発明の好適な実施の例である。但し、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変形実施可能である。
例えば、上述した実施例ではCANバスに接続されたノード間で通信を行う場合を例に説明したが、LIN(local interconnect netwokr)やFlexRayなどのプロコトルの異なるノード間での通信にも適用することができる。
The embodiment described above is a preferred embodiment of the present invention. However, the present invention is not limited to this, and various modifications can be made without departing from the scope of the present invention.
For example, in the above-described embodiment, a case where communication is performed between nodes connected to the CAN bus has been described as an example. Can do.
また、上述した実施例では保存用データの送受信を、通信ゲートウェイ装置1とノードとの間で行う場合を例に説明したが、ノード間で行うことも可能である。この場合、CANバスごとにメインとなるノードを設定しておいて、このメインノードとその他のサブノードとの間で保存用データの送受信を行う。
In the above-described embodiment, the case where the storage data is transmitted and received between the
1 通信ゲートウェイ装置
10 電源部
20 ルーティング処理部
21 ルーティングマップ格納部
22 ルーティング部
23 制御部
24 送信バッファ
25 受信バッファ
26 CANコントローラ
27 CANトランシーバ
30 電源制御部
31 車両状態検知部
32 通信状態検知部
33 電源制御判断部
34 切替部
DESCRIPTION OF
Claims (10)
前記保存用データと、該保存用データの返送を要求するフラグ情報とを通信フレーム内の所定領域に挿入するフレーム生成手段と、
前記通信フレームを通信バスに接続された他の制御装置に送信する送信手段と、
前記他の制御装置から返送される通信フレームを受信して、前記保存用データを取り出す受信手段と、
を有することを特徴とする通信装置。 Acquisition means for acquiring storage data of the control device from the control device connected to the communication bus;
Frame generating means for inserting the storage data and flag information for requesting the return of the storage data into a predetermined area in a communication frame;
Transmitting means for transmitting the communication frame to another control device connected to a communication bus;
Receiving means for receiving a communication frame returned from the other control device and extracting the storage data;
A communication apparatus comprising:
前記制御手段は、前記保存用データを取得した制御装置への電源供給を停止させることを特徴とする請求項2記載の通信装置。 Switching means for switching power supply to the control device connected to the communication bus;
The communication apparatus according to claim 2, wherein the control unit stops power supply to the control apparatus that has acquired the storage data.
前記制御手段は、前記通信バスの通信状態により電源供給を停止する制御装置を選択することを特徴とする請求項2又は3記載の通信装置。 Monitoring means for monitoring the communication state of the communication bus;
4. The communication apparatus according to claim 2, wherein the control unit selects a control apparatus that stops power supply according to a communication state of the communication bus.
前記制御装置は、電源断となる前に、通信フレーム内に保存用データを挿入して送信する送信手段を有し、
前記通信ゲートウェイ装置は、通信バスに接続された制御装置から、当該制御装置の保存用データを取得する取得手段と、
前記保存用データと、該保存用データの返送を要求するフラグ情報とを通信フレーム内の所定領域に挿入するフレーム生成手段と、
前記通信フレームを通信バスに接続された他の制御装置に送信する送信手段と、
前記他の制御装置から返送される前記通信フレームを受信して、前記保存用データを取り出す受信手段と、
を有することを特徴とする車載システム。 An in-vehicle system equipped with a control device connected to a plurality of communication buses and a communication gateway device that relays communication frames output from the control devices between the communication buses,
The control device has transmission means for inserting and transmitting storage data in a communication frame before the power is cut off,
The communication gateway device, from a control device connected to a communication bus, acquisition means for acquiring data for storage of the control device;
Frame generating means for inserting the storage data and flag information for requesting the return of the storage data into a predetermined area in a communication frame;
Transmitting means for transmitting the communication frame to another control device connected to a communication bus;
Receiving means for receiving the communication frame returned from the other control device and extracting the storage data;
An in-vehicle system characterized by comprising:
前記通信フレーム内から前記保存用データを取り出し、前記通信ゲートウェイ装置への通信フレーム内に挿入するフレーム生成手段と、
前記通信フレームを前記通信ゲートウェイ装置に送信する送信手段と、
を有することを特徴とする請求項7記載の車載システム。 The other control device includes a receiving unit that receives the communication frame;
Frame generating means for taking out the storage data from the communication frame and inserting it into the communication frame to the communication gateway device;
Transmitting means for transmitting the communication frame to the communication gateway device;
The vehicle-mounted system according to claim 7, further comprising:
前記保存用データと、該保存用データの返送を要求するフラグ情報とを通信フレーム内の所定領域に挿入するステップと、
前記通信フレームを通信バスに接続された他の制御装置に送信するステップと、
前記他の制御装置から返送される前記通信フレームを受信して、前記保存用データを取り出すステップと、
を有することを特徴とするデータ保存方法。 Obtaining storage data of the control device from the control device connected to the communication bus;
Inserting the storage data and flag information requesting return of the storage data into a predetermined area in a communication frame;
Transmitting the communication frame to another control device connected to a communication bus;
Receiving the communication frame returned from the other control device, and extracting the storage data;
A data storage method characterized by comprising:
前記保存用データと、該保存用データの返送を要求するフラグ情報とを通信フレーム内の所定領域に挿入する処理と、
前記通信フレームを通信バスに接続された他の制御装置に送信する処理と、
前記他の制御装置から返送される前記通信フレームを受信して、前記保存用データを取り出す処理と、
をコンピュータに実行させることを特徴とするデータ保存プログラム。
A process of acquiring data for storage of the control device from the control device connected to the communication bus;
Processing for inserting the storage data and flag information for requesting return of the storage data into a predetermined area in a communication frame;
Processing for transmitting the communication frame to another control device connected to a communication bus;
Receiving the communication frame returned from the other control device, and extracting the storage data;
A data storage program for causing a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006073995A JP2007251722A (en) | 2006-03-17 | 2006-03-17 | Communication device, on-vehicle system, data storing method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006073995A JP2007251722A (en) | 2006-03-17 | 2006-03-17 | Communication device, on-vehicle system, data storing method and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007251722A true JP2007251722A (en) | 2007-09-27 |
Family
ID=38595529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006073995A Withdrawn JP2007251722A (en) | 2006-03-17 | 2006-03-17 | Communication device, on-vehicle system, data storing method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007251722A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009228304A (en) * | 2008-03-24 | 2009-10-08 | Kubota Corp | Data communicating system of working machine |
JP2009228305A (en) * | 2008-03-24 | 2009-10-08 | Kubota Corp | Data communicating system of working machine |
JP2010143563A (en) * | 2008-12-22 | 2010-07-01 | Korea Electronics Telecommun | Vehicle controlling device and its operation method |
WO2013121881A1 (en) * | 2012-02-17 | 2013-08-22 | 株式会社オートネットワーク技術研究所 | Communication system, relay device, and method for controlling power supply |
WO2013136872A1 (en) * | 2012-03-14 | 2013-09-19 | 株式会社オートネットワーク技術研究所 | In-vehicle communication system |
JP2015048026A (en) * | 2013-09-04 | 2015-03-16 | 株式会社デンソー | Electronic control device |
WO2018225513A1 (en) * | 2017-06-06 | 2018-12-13 | 株式会社オートネットワーク技術研究所 | Relay device, relay method and relay program |
CN109117313A (en) * | 2018-08-28 | 2019-01-01 | 成都信息工程大学 | A kind of band isolation calamity for mechanism of control vehicle wisdom security gateway and management-control method |
WO2020059015A1 (en) * | 2018-09-18 | 2020-03-26 | 三菱電機株式会社 | Monitoring control device and monitoring control method |
WO2022113155A1 (en) * | 2020-11-24 | 2022-06-02 | 三菱電機株式会社 | Vehicular onboard control system |
-
2006
- 2006-03-17 JP JP2006073995A patent/JP2007251722A/en not_active Withdrawn
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009228304A (en) * | 2008-03-24 | 2009-10-08 | Kubota Corp | Data communicating system of working machine |
JP2009228305A (en) * | 2008-03-24 | 2009-10-08 | Kubota Corp | Data communicating system of working machine |
JP2010143563A (en) * | 2008-12-22 | 2010-07-01 | Korea Electronics Telecommun | Vehicle controlling device and its operation method |
CN104115452B (en) * | 2012-02-17 | 2017-06-09 | 株式会社自动网络技术研究所 | Communication system, relay and power control method |
JP2013172200A (en) * | 2012-02-17 | 2013-09-02 | Auto Network Gijutsu Kenkyusho:Kk | Communication system, repeating device and power supply control method |
WO2013121881A1 (en) * | 2012-02-17 | 2013-08-22 | 株式会社オートネットワーク技術研究所 | Communication system, relay device, and method for controlling power supply |
US9619003B2 (en) | 2012-02-17 | 2017-04-11 | Autonetworks Technologies, Ltd. | Communication system, relay device, and method for controlling power supply |
CN104115452A (en) * | 2012-02-17 | 2014-10-22 | 株式会社自动网络技术研究所 | Communication system, relay device, and method for controlling power supply |
US9541937B2 (en) | 2012-03-14 | 2017-01-10 | Autonetworks Technologies, Ltd. | In-vehicle communication system |
CN104170327A (en) * | 2012-03-14 | 2014-11-26 | 株式会社自动网络技术研究所 | In-vehicle communication system |
JP2013192108A (en) * | 2012-03-14 | 2013-09-26 | Auto Network Gijutsu Kenkyusho:Kk | On-vehicle communication system |
WO2013136872A1 (en) * | 2012-03-14 | 2013-09-19 | 株式会社オートネットワーク技術研究所 | In-vehicle communication system |
JP2015048026A (en) * | 2013-09-04 | 2015-03-16 | 株式会社デンソー | Electronic control device |
WO2018225513A1 (en) * | 2017-06-06 | 2018-12-13 | 株式会社オートネットワーク技術研究所 | Relay device, relay method and relay program |
CN109117313A (en) * | 2018-08-28 | 2019-01-01 | 成都信息工程大学 | A kind of band isolation calamity for mechanism of control vehicle wisdom security gateway and management-control method |
CN109117313B (en) * | 2018-08-28 | 2022-03-18 | 成都信息工程大学 | Vehicle intelligent security gateway with disaster isolation backup management and control mechanism and management and control method |
WO2020059015A1 (en) * | 2018-09-18 | 2020-03-26 | 三菱電機株式会社 | Monitoring control device and monitoring control method |
WO2022113155A1 (en) * | 2020-11-24 | 2022-06-02 | 三菱電機株式会社 | Vehicular onboard control system |
JP7504222B2 (en) | 2020-11-24 | 2024-06-21 | 三菱電機株式会社 | In-vehicle control systems |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2007251722A (en) | Communication device, on-vehicle system, data storing method and program | |
US10243760B2 (en) | Communication device, communication method, and communication system | |
JP5363379B2 (en) | Communications system | |
JP3578058B2 (en) | Multiplex communication system | |
US10153825B2 (en) | Vehicle-mounted control device | |
JP6881231B2 (en) | In-vehicle relay device, information processing method, program, relay device, and information processing system | |
JP6255072B2 (en) | Semiconductor device | |
JP6187339B2 (en) | Communication system and relay device | |
JP4987760B2 (en) | Relay device, communication system, and communication method | |
JP2009296280A (en) | Communication network system, and communication control method thereof | |
JP2015199444A (en) | Electronic control device | |
JP2015179888A (en) | Communication system and repeating device | |
JP7010087B2 (en) | Program update management device, program update management method, and program | |
US20210065478A1 (en) | Electronic control unit and non-transitory computer readable medium storing session establishment program | |
JP2010023556A (en) | Electronic control device | |
CN113545012B (en) | Communication device, communication system, and message arbitration method | |
CN114731298A (en) | Vehicle-mounted relay device and relay method | |
JP5780310B2 (en) | Electronic control device and microcomputer control method | |
JP4954832B2 (en) | In-vehicle communication system | |
JP2019009678A (en) | On-vehicle communication network system | |
WO2021177019A1 (en) | On-board relay apparatus and computer program | |
JP4259468B2 (en) | Diagnostic system for vehicles | |
JP5867350B2 (en) | Electronic control device for vehicle | |
JP6573052B1 (en) | Control device, control method, and computer program | |
JP2009010851A (en) | On-vehicle gateway device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20090602 |