JP4488345B2 - In-vehicle electronic control unit communication device - Google Patents
In-vehicle electronic control unit communication device Download PDFInfo
- Publication number
- JP4488345B2 JP4488345B2 JP2004113763A JP2004113763A JP4488345B2 JP 4488345 B2 JP4488345 B2 JP 4488345B2 JP 2004113763 A JP2004113763 A JP 2004113763A JP 2004113763 A JP2004113763 A JP 2004113763A JP 4488345 B2 JP4488345 B2 JP 4488345B2
- Authority
- JP
- Japan
- Prior art keywords
- electronic control
- start request
- control unit
- request signal
- external tool
- 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.)
- Expired - Lifetime
Links
- 230000005856 abnormality Effects 0.000 description 14
- 230000005540 biological transmission Effects 0.000 description 9
- 230000007257 malfunction Effects 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000004092 self-diagnosis Methods 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Images
Landscapes
- Combined Controls Of Internal Combustion Engines (AREA)
Description
この発明は、車両に搭載されかつ通信ラインを介して相互に接続されている複数の電子制御ユニットが記憶している制御プログラムの書き換えを行う車載電子制御装置の通信装置に関するものである。 The present invention relates to a communication device for an in-vehicle electronic control device that rewrites a control program stored in a plurality of electronic control units mounted on a vehicle and connected to each other via a communication line.
従来、通信ライン(CANバス)を介して互いに接続され、それぞれ制御ユニット(CANコントローラユニット)を有する複数の電子制御ユニット(ノード)間においてデータ通信を行うCAN通信システムが知られている。CAN通信は、差動のシリアルバスを介して双方向のシリアル通信を行うプロトコルである(例えば、特許文献1参照)。 2. Description of the Related Art Conventionally, a CAN communication system is known that performs data communication between a plurality of electronic control units (nodes) that are connected to each other via a communication line (CAN bus) and each have a control unit (CAN controller unit). CAN communication is a protocol for performing bidirectional serial communication via a differential serial bus (see, for example, Patent Document 1).
かかるCAN通信システムにおいて、各ノードは、自己のノードの識別IDコードを付したデータをCANバスに向けて送り出し、データが送信される際にCANバスが他のノードによるデータに専有されていない場合には、ノードから送り出されるデータはCANバスを流れて他のノードに受信される。一方、CANバスが他のノードによるデータに専有されている場合には、ノードから送り出されるべきデータはCANコントローラユニットにおいて待機状態となる。そして、待機状態のノードのデータが唯一つの場合には、CANバスが空いた際に、そのノードのデータがCANバスを流れる。一方、待機状態のノードのデータが複数存在する場合には、それらのうちIDコードに基づく優先順位の最も高いノードのデータが他の待機データよりも先にCANバスを流れる。 In such a CAN communication system, each node sends out data with an identification ID code of its own node toward the CAN bus, and when the data is transmitted, the CAN bus is not dedicated to data by other nodes In this case, data sent from the node flows through the CAN bus and is received by another node. On the other hand, when the CAN bus is exclusively used for data by other nodes, the data to be sent from the node is in a standby state in the CAN controller unit. If the data of the node in the standby state is only one, the data of the node flows through the CAN bus when the CAN bus is free. On the other hand, when there are a plurality of standby node data, the node data having the highest priority based on the ID code flows through the CAN bus before the other standby data.
ところで、生産効率改善のために、車両に搭載される複数の電子制御ユニットのハードウエアの仕様は車種や仕向け地によらず統一した構成とし、生産ラインにおいて車種や仕向け地に応じた制御プログラムを電子制御ユニットのメモリに記憶させることが検討されている。また、生産された車両の性能等に不具合が生じた場合などには、搭載されている電子制御ユニットの制御プログラムの変更が必要になる場合がある。 By the way, in order to improve production efficiency, the hardware specifications of multiple electronic control units installed in the vehicle are unified regardless of the vehicle type and destination, and a control program corresponding to the vehicle type and destination is provided on the production line. It has been studied to store in the memory of the electronic control unit. In addition, when a malfunction occurs in the performance of the produced vehicle, it may be necessary to change the control program of the mounted electronic control unit.
このような場合に、CAN通信システムを用いて電子制御ユニットの制御プログラムの書き換えを行うことができるが、多数の電子制御ユニット(ノード)が共通の通信ライン(CANバス)を用いて通信を実施しているため、通信ラインの空き時間が少なく、電子制御ユニットの制御プログラムの書き換えの場合のように、多量のデータを通信ラインを介して送信する必要がある場合には、非常に長い時間を要することになる。また、制御プログラムの書き換え中は、書き換えの対象となっている制御プログラムを記憶している電子制御ユニットは、通常、作動停止状態となるため、他の電子制御ユニットが異常を検知することがあるという問題があった。 In such a case, the control program of the electronic control unit can be rewritten using the CAN communication system, but many electronic control units (nodes) communicate using a common communication line (CAN bus). Therefore, if the communication line has little free time and a large amount of data needs to be transmitted through the communication line, as in the case of rewriting the control program of the electronic control unit, a very long time is required. It will take. In addition, while the control program is being rewritten, the electronic control unit that stores the control program to be rewritten is normally in a non-operational state, so other electronic control units may detect an abnormality. There was a problem.
この発明が解決しようとする課題は、通信ラインを介して相互に接続されている複数の電子制御ユニットのなかの1つが記憶している制御プログラムの書き換えを行う場合に、他の電子制御ユニットが異常を検知することによる誤動作を防止し、高速に制御プログラムの書き換えを行う車載電子制御装置の通信装置を提供することである。 The problem to be solved by the present invention is that when rewriting a control program stored in one of a plurality of electronic control units connected to each other via a communication line, other electronic control units To provide a communication device for an in-vehicle electronic control device that prevents malfunction caused by detecting an abnormality and rewrites a control program at high speed.
この発明の車載電子制御装置の通信装置は、車両に搭載されかつ通信ラインを介して相互に接続されている複数の電子制御ユニットが記憶している制御プログラムの書換えを前記通信ラインに接続された外部ツールを用いて行う車載電子制御装置の通信装置において、書き換え対象となっている制御プログラムが記憶されている書換対象電子制御ユニットは、外部ツールからの書き込み開始要求信号を受信する第1の開始要求信号受信手段と、第1の開始要求信号受信手段により受信された書き込み開始要求信号に基づいて予め設定されているセルフシャット時間の延長を行うセルフシャット時間延長手段と、予め設定されているセルフシャット時間の経過後、外部ツールから送信されるデータに基づいて制御プログラムの書換えを行う制御プログラム書換手段と、外部ツールからの延長終了信号に基づいて、該書換対象電子制御ユニットの電源をオフする第1の電源制御手段とを備え、書換対象電子制御ユニット以外の非書換対象電子制御ユニットは、外部ツールからの書き込み開始要求信号を受信する第2の開始要求信号受信手段と、第2の開始要求信号受信手段により書き込み開始要求信号を受信した場合には、予め設定されているセルフシャット時間の経過後、該非書換対象電子制御ユニットの電源をオフする第2の電源制御手段とを備え、前記第1の開始要求信号受信手段により前記外部ツールからの書き込み開始要求信号が受信された後、所定時間内にイグニッションスイッチがオフされない場合には、前記書き込み開始要求信号を無効とすることを特徴とする。
The communication device of the on-vehicle electronic control device according to the present invention is connected to the communication line to rewrite a control program stored in a plurality of electronic control units mounted on the vehicle and connected to each other via the communication line. In a communication device of an in-vehicle electronic control device that uses an external tool, a rewrite target electronic control unit that stores a control program to be rewritten receives a write start request signal from an external tool for a first start A request signal receiving means, a self-shut time extending means for extending a preset self-shut time based on a write start request signal received by the first start request signal receiving means, and a preset self Control that rewrites the control program based on the data sent from the external tool after the shut time elapses A non-rewriteable electronic control unit other than the rewrite target electronic control unit, comprising: a program rewrite means; and a first power supply control means for turning off the power of the rewrite target electronic control unit based on an extension end signal from an external tool. A second start request signal receiving means for receiving a write start request signal from an external tool, and when the second start request signal receiving means receives the write start request signal, a preset self-shut A second power control means for turning off the power of the non-rewritable electronic control unit after a lapse of time, and after the writing start request signal from the external tool is received by the first start request signal receiving means , when the ignition switch is not turned off within a predetermined time, characterized that you and disabling the write start request signal.
この発明の車載電子制御装置の通信装置によれば、書換対象電子制御ユニットは、書き込み開始要求信号を受信すると予め設定されているセルフシャット時間の延長を行い、予め設定されているセルフシャット時間の経過後、外部ツールから送信されるデータに基づいて制御プログラムの書き換えを行う。そして、外部ツールからの延長終了信号に基づいて電源をオフする。この場合において、非書換対象電子制御ユニットは、外部ツールからの書き込み開始要求信号を受信すると予め設定されているセルフシャット時間の経過後、電源をオフする。即ち、書換対象電子制御ユニットの制御プログラムの書き換えは、予め設定されているセルフシャット時間の経過後行われる。従って、書換対象電子制御ユニットの制御プログラムの書き換えが行われるときには、非書換対象電子制御ユニットの電源が既にオフされていることから、非書換対象電子制御ユニットにおける自己診断及び自己診断結果の送信が停止されており、通信ラインを外部ツールと書換対象電子制御ユニットとの間におけるデータの送信に専有することができ、非書換対象電子制御ユニットが異常を検知することによる誤動作を防止することができると共に、高速で制御プログラムの書き換えを行うことができる。 According to the communication device of the in-vehicle electronic control device of the present invention, when the rewrite target electronic control unit receives the write start request signal, the rewrite target electronic control unit extends the preset self-shut time, and sets the preset self-shut time. After the elapse, the control program is rewritten based on the data transmitted from the external tool. Then, the power is turned off based on the extension end signal from the external tool. In this case, when the non-rewrite target electronic control unit receives a write start request signal from an external tool, the non-rewrite target electronic control unit turns off the power after a preset self-shut time has elapsed. In other words, the rewriting of the control program of the rewriting target electronic control unit is performed after elapse of a preset self-shut time. Therefore, when the control program of the rewrite target electronic control unit is rewritten, the power supply of the non-rewrite target electronic control unit is already turned off. The communication line is stopped and the communication line can be used exclusively for data transmission between the external tool and the electronic control unit to be rewritten, and malfunction caused by the abnormality being detected by the electronic control unit to be rewritten can be prevented. At the same time, the control program can be rewritten at high speed.
この発明の車載電子制御装置の通信装置によれば、外部ツールからの書き込み開始要求信号が受信された後、所定時間内にイグニッションスイッチがオフされない場合には、異常と判断して書き込み開始要求信号を無効とする。従って、異常時等に書換対象電子制御ユニットのセルフシャット時間が不要に延長されることを防止することができる。 According to the communication device of the in-vehicle electronic control device of the present invention, if the ignition switch is not turned off within a predetermined time after the write start request signal is received from the external tool, it is determined as abnormal and the write start request signal Is invalid. Accordingly, it is possible to prevent the self-shut time of the electronic control unit to be rewritten from being unnecessarily extended when an abnormality occurs.
また、この発明の車載電子制御装置の通信装置は、第1の電源制御手段が予め設定されているセルフシャット時間の経過後指定時間内に、外部ツールからデータが送信されない場合には、該書換対象電子制御ユニットの電源をオフすることを特徴とする。 In addition, the communication device of the on-vehicle electronic control device according to the present invention is configured so that the first power control means rewrites data when no data is transmitted from an external tool within a specified time after the preset self-shut time elapses. The target electronic control unit is turned off.
この発明の車載電子制御装置の通信装置によれば、予め設定されているセルフシャット時間の経過後指定時間内に、外部ツールからデータが送信されない場合には、異常と判断して電源をオフする。従って、異常時等に書換対象電子制御ユニットの電源が不要にオンされている状態になることを防止することができる。 According to the communication device of the on-vehicle electronic control device of the present invention, when data is not transmitted from the external tool within a specified time after the elapse of a preset self-shut time, it is determined as abnormal and the power is turned off. . Therefore, it is possible to prevent the power source of the electronic control unit to be rewritten from being turned on unnecessarily when an abnormality occurs.
この発明によれば、書換対象電子制御ユニットの制御プログラムの書き換えが行われるときには、非書換対象電子制御ユニットの電源が既にオフされていることから、非書換対象電子制御ユニットにおける自己診断及び自己診断結果の送信が停止されており、通信ラインを外部ツールと書換対象電子制御ユニットとの間におけるデータの送信に専有することができる。従って、非書換対象電子制御ユニットが異常を検知することによる誤動作を防止することができると共に、高速で制御プログラムの書き換えを行うことができる。 According to the present invention, when the control program of the rewrite target electronic control unit is rewritten, the power supply of the non-rewrite target electronic control unit is already turned off. The transmission of the result is stopped, and the communication line can be used exclusively for data transmission between the external tool and the electronic control unit to be rewritten. Accordingly, it is possible to prevent malfunction caused by the abnormality being detected by the non-rewritable electronic control unit, and it is possible to rewrite the control program at high speed.
また、この発明によれば、外部ツールからの書き込み開始要求信号が受信された後、所定時間内にイグニッションスイッチがオフされない場合には、異常と判断して書き込み開始要求信号を無効とする。従って、異常時等に書換対象電子制御ユニットのセルフシャット時間が不要に延長されることを防止することができる。 Further, according to the present invention, if the ignition switch is not turned off within a predetermined time after the write start request signal is received from the external tool, it is determined as abnormal and the write start request signal is invalidated. Accordingly, it is possible to prevent the self-shut time of the electronic control unit to be rewritten from being unnecessarily extended when an abnormality occurs.
また、この発明によれば、予め設定されているセルフシャット時間の経過後指定時間内に、外部ツールからデータが送信されない場合には、異常と判断して電源をオフする。従って、異常時等に書換対象電子制御ユニットの電源が不要にオンされている状態になることを防止することができる。 Further, according to the present invention, if data is not transmitted from the external tool within a specified time after the preset self-shut time has elapsed, it is determined that there is an abnormality and the power is turned off. Therefore, it is possible to prevent the power source of the electronic control unit to be rewritten from being turned on unnecessarily when an abnormality occurs.
以下、図面を参照して、この発明の実施の形態に係る車載電子制御ユニットの通信装置を用いて行う制御プログラム書き換えについて説明する。 Hereinafter, rewriting of a control program performed using the communication device of the in-vehicle electronic control unit according to the embodiment of the present invention will be described with reference to the drawings.
図1は、実施の形態に係る車載電子制御ユニットの通信装置を用いて制御プログラムの書き換えを行う電子制御ユニット及びその他の電子制御ユニットが通信ラインを介して接続されている状態を示す図である。即ち、車両に搭載されているエンジン電子制御ユニット(エンジンECU)10、オートマチック・トランスミッション電子制御ユニット(AT・ECU)12、アンチロックブレーキ電子制御ユニット(ABS・ECU)14が通信ライン(CANバス)18を介して接続されている。なお、図1においては、各電子制御ユニット10,12,14が記憶している制御プログラムの書き換えを行う際に通信ライン18に接続される外部ツール20が接続された状態が示されている。
FIG. 1 is a diagram illustrating a state in which an electronic control unit that rewrites a control program using a communication device of an in-vehicle electronic control unit according to an embodiment and other electronic control units are connected via a communication line. . That is, an engine electronic control unit (engine ECU) 10, an automatic transmission electronic control unit (AT / ECU) 12, and an anti-lock brake electronic control unit (ABS / ECU) 14 mounted on the vehicle are connected to a communication line (CAN bus). 18 is connected. FIG. 1 shows a state in which an
ここで、エンジンECU10は、エンジンの出力等の制御を記憶部10aに記憶している制御プログラムに基づいて制御する。また、AT・ECUは、オートマチック・トランスミッションの制御を記憶部12aに記憶している制御プログラムに基づいて制御する。更に、ABS・ECU14は、アンチロックブレーキ装置の制御を記憶部14aに記憶している制御プログラムに基づいて制御する。
Here, the engine ECU 10 controls the engine output and the like based on a control program stored in the
また、各電子制御ユニット10,12,14には、イグニッションスイッチ(IG・SW)22がオンされた場合に、電源24から電力の供給が行われ、各電子制御ユニット10,12,14が動作状態となる。各電子制御ユニット10,12,14が動作状態となった場合には、各電子制御ユニット10,12,14間において、一定周期で所定のデータの通信が行われる。例えば、エンジンECU10は、所定の周期でエンジン回転数をAT・ECU12及びABS・ECU14に対して送信している。また、ABS・ECU14は、所定の周期で車速をエンジンECU10に対して送信している。
In addition, when the ignition switch (IG / SW) 22 is turned on, power is supplied to the
また、電子制御ユニット10,12,14には、それぞれセルフシャット制御部10b,12b,14bが設けられている。ここで、セルフシャットとは、各電子制御ユニット10,12,14に供給される電源をIG・SW22がオフされた時に遮断するのではなく、IG・SW22がオフされた後、予め設定されているセルフシャット時間が経過した後に遮断する機能をいう。
In addition, the
次に、図2に示すフローチャートを参照して、電子制御ユニットが記憶している制御プログラムの書き換えについて説明する。なお、以下の説明においては、エンジンECU10が記憶している制御プログラムの書き換えを行う場合を例として説明する。この説明においては、エンジンECU10をノードA(書換え対象電子制御ユニット)とし、AT・ECU12をノードB(非書換え対象電子制御ユニット)として説明を行う。なお、ABS・ECU14(非書換え対象電子制御ユニット)は、ノードBと同様の動作を行うため、その説明を省略する。
Next, rewriting of the control program stored in the electronic control unit will be described with reference to the flowchart shown in FIG. In the following description, a case where the control program stored in the engine ECU 10 is rewritten will be described as an example. In this description, the
まず、IG・SW22をオンにした状態で、外部ツール20は、ノードA及びノードBに対して書き込み開始要求を送信する(ステップS10)。なお、ノードA及びノードBに対して送信される書き込み開始要求がセルフシャットコマンドとして用いられる。書き込み開始要求を送信すると、外部ツール20の図示しない表示部に「IG・SWをオフにしてください。」等のメッセージが表示されることから、操作者は、このメッセージに従って、IG・SW22をオフにする。
First, the
ノードAにおいては、外部ツール20により送信される書き込み開始要求を受信すると(ステップS20)、IG・SW22がオフされたか否かの判断を行い(ステップS21)、オフされていない場合には、書き込み開始要求を受信した後、所定時間が経過したか否かの判断を行い (ステップS22)、所定時間が経過した場合には、受信した書き込み開始要求を無効にする(ステップS23)。即ち、書き込み開始要求を受信した後、所定時間内にIG・SW22がオフされない場合には、異常状態であるとして書き込み開始要求を無効にする。
In the node A, when the write start request transmitted by the
書き込み開始要求を受信した後、所定時間内にIG・SW22がオフされた場合には(ステップS21)、予め設定されているセルフシャット時間の延長を行う(ステップS24)。即ち、ノードAにおいては、外部ツール20からの延長終了コマンドを受信するまで、セルフシャット時間が延長される。この場合には、IG・SW22がオフされた後もセルフシャット制御部10b(第1の電源制御手段)の制御により電源24からの電力の供給が継続される。
If the IG /
外部ツール20は、IG・SW22がオフされ、その後、予め設定されていたセルフシャット時間が経過すると、ノードAに対して書き換え用の制御プログラムの送信を行う(ステップS11)。そして、制御プログラムの送信が終了した後にノードAに対して延長終了コマンドの送信を行う(ステップS12)。
The
ノードBにおいては、外部ツール20から書き込み開始要求(セルフシャット延長コマンド)を受信すると(ステップS30)、IG・SW22がオフされた後、予め設定されているセルフシャット時間が経過したか否かの判断を行い (ステップS31)、セルフシャット時間が経過した場合には、セルフシャット制御部12b(第2の電源制御手段)の制御により電源24からの電力の供給を遮断する。
In the node B, when a write start request (self-shut extension command) is received from the external tool 20 (step S30), whether or not a preset self-shut time has elapsed after the IG /
ノードAにおいては、IG・SW22がオフ後、予め設定されていたセルフシャット時間が経過した後に、外部ツール20により送信される書き換え用の制御プログラムを受信し(ステップS25)、この受信した制御プログラムに基づいて、記憶部10aに記憶されている制御プログラムの書き換えを行う。なお、予め設定されていたセルフシャット時間が経過した後、指定時間内に外部ツール20からデータ送信がされない場合には、セルフシャット制御部10bの制御により電源24からの電力の供給が遮断される。
The node A receives a rewrite control program transmitted by the
そして外部ツール20により送信される延長終了コマンドを受信した時に(ステップS26)、セルフシャット制御部10bの制御により電源24からの電力の供給を遮断する(ステップS27)。なお、ノードAに対する制御プログラムの送信が完了した場合には、IG・SW22を一度、オフとし再度オンにすることにより、各ノードは、通常の動作状態に復帰する。
When the extension end command transmitted by the
この実施の形態に係る車載電子制御装置の通信装置を用いた制御プログラムの書き換えにおいては、書換対象電子制御ユニットの制御プログラムの書き換えが行われるときには、非書換対象電子制御ユニットの電源が既にオフされていることから、非書換対象電子制御ユニットにおける自己診断及び自己診断結果の送信が停止されており、通信ラインを外部ツールと書換対象電子制御ユニットとの間におけるデータの送信に専有することができる。従って、非書換対象電子制御ユニットが異常を検知することによる誤動作を防止することができると共に、高速で制御プログラムの書き換えを行うことができる。また、外部ツールにより送信される延長終了コマンドは、書き換え用の制御プログラムが全て送信された後に送信されるため、確実に制御プログラムの書き換えを完了させることができる。 In the rewriting of the control program using the communication device of the in-vehicle electronic control device according to this embodiment, when the control program of the rewrite target electronic control unit is rewritten, the power of the non-rewrite target electronic control unit is already turned off. Therefore, the transmission of the self-diagnosis and the self-diagnosis result in the non-rewrite target electronic control unit is stopped, and the communication line can be exclusively used for data transmission between the external tool and the rewrite target electronic control unit. . Accordingly, it is possible to prevent malfunction caused by the abnormality being detected by the non-rewritable electronic control unit, and it is possible to rewrite the control program at high speed. In addition, since the extension end command transmitted by the external tool is transmitted after the rewrite control program is completely transmitted, the rewrite of the control program can be reliably completed.
また、外部ツールからの書き込み開始要求信号が受信された後、所定時間内にイグニッションスイッチがオフされない場合には、異常と判断して書き込み開始要求信号を無効とする。従って、異常時等に書換対象電子制御ユニットのセルフシャット時間が不要に延長されることを防止することができる。更に、予め設定されているセルフシャット時間の経過後指定時間内に、外部ツールからデータが送信されない場合には、異常と判断して電源をオフする。従って、異常時等に書換対象電子制御ユニットの電源が不要にオンされている状態になることを防止することができる。 If the ignition switch is not turned off within a predetermined time after the write start request signal is received from the external tool, it is determined that there is an abnormality and the write start request signal is invalidated. Accordingly, it is possible to prevent the self-shut time of the electronic control unit to be rewritten from being unnecessarily extended when an abnormality occurs. Further, if data is not transmitted from the external tool within a specified time after the preset self-shut time has elapsed, it is determined that there is an abnormality and the power is turned off. Therefore, it is possible to prevent the power source of the electronic control unit to be rewritten from being turned on unnecessarily when an abnormality occurs.
また、多数の電子制御ユニットが車両に搭載されている場合に、それぞれの電子制御ユニットに対する制御プログラムの書き換えを速やかに実施することができ、生産ラインの工程設計上の制約を軽減することができる。また、市場において制御プログラムの書き換えが必要になった場合においても書き換え時間の短縮を図ることができ、不具合対策費用を減少させることができる。 In addition, when a large number of electronic control units are mounted on a vehicle, it is possible to quickly rewrite the control program for each electronic control unit, and it is possible to reduce restrictions on production line process design. . In addition, even when the control program needs to be rewritten in the market, the rewriting time can be shortened and the trouble countermeasure cost can be reduced.
10…エンジンECU、12…AT・ECU、14…ABS・ECU、10b,12b,14b…セルフシャット制御部、18…通信ライン、20…外部ツール、22…IG・SW、24…電源。
DESCRIPTION OF
Claims (2)
書き換え対象となっている制御プログラムが記憶されている書換対象電子制御ユニットは、
前記外部ツールからの書き込み開始要求信号を受信する第1の開始要求信号受信手段と、
前記第1の開始要求信号受信手段により受信された書き込み開始要求信号に基づいて予め設定されているセルフシャット時間の延長を行うセルフシャット時間延長手段と、
前記予め設定されているセルフシャット時間の経過後、前記外部ツールから送信されるデータに基づいて制御プログラムの書き換えを行う制御プログラム書換手段と、
前記外部ツールからの延長終了信号に基づいて、該書換対象電子制御ユニットの電源をオフする第1の電源制御手段と
を備え、
前記書換対象電子制御ユニット以外の非書換対象電子制御ユニットは、
前記外部ツールからの書き込み開始要求信号を受信する第2の開始要求信号受信手段と、
前記第2の開始要求信号受信手段により書き込み開始要求信号を受信した場合には、前記予め設定されているセルフシャット時間の経過後、該非書換対象電子制御ユニットの電源をオフする第2の電源制御手段と
を備え、
前記第1の開始要求信号受信手段により前記外部ツールからの書き込み開始要求信号が受信された後、所定時間内にイグニッションスイッチがオフされない場合には、前記書き込み開始要求信号を無効とすることを特徴とする車載電子制御装置の通信装置。 Communication of an in-vehicle electronic control device that rewrites a control program stored in a plurality of electronic control units mounted on a vehicle and connected to each other via a communication line using an external tool connected to the communication line In the device
The electronic control unit to be rewritten, in which the control program to be rewritten is stored,
First start request signal receiving means for receiving a write start request signal from the external tool;
Self-shut time extending means for extending a preset self-shut time based on a write start request signal received by the first start request signal receiving means;
Control program rewriting means for rewriting a control program based on data transmitted from the external tool after the preset self-shut time has elapsed,
First power control means for turning off the power of the electronic control unit to be rewritten based on an extension end signal from the external tool,
Non-rewrite target electronic control units other than the rewrite target electronic control unit are:
Second start request signal receiving means for receiving a write start request signal from the external tool;
Second power control for turning off the power of the non-rewritable electronic control unit after elapse of the preset self-shut time when the write start request signal is received by the second start request signal receiving means and means,
After the write-start request signal from the external tool is received by the first start request signal receiving means, when the ignition switch is not turned off within a predetermined time, that you and disabling the write start request signal A vehicle-mounted electronic control device communication device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004113763A JP4488345B2 (en) | 2004-04-08 | 2004-04-08 | In-vehicle electronic control unit communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004113763A JP4488345B2 (en) | 2004-04-08 | 2004-04-08 | In-vehicle electronic control unit communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005297652A JP2005297652A (en) | 2005-10-27 |
JP4488345B2 true JP4488345B2 (en) | 2010-06-23 |
Family
ID=35329741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004113763A Expired - Lifetime JP4488345B2 (en) | 2004-04-08 | 2004-04-08 | In-vehicle electronic control unit communication device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4488345B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010023556A (en) * | 2008-07-15 | 2010-02-04 | Toyota Motor Corp | Electronic control device |
JP4706778B2 (en) * | 2009-05-20 | 2011-06-22 | 株式会社デンソー | Electronic control device and vehicle control system |
JP5723312B2 (en) * | 2012-03-23 | 2015-05-27 | 富士重工業株式会社 | Shift-by-wire control system for automobiles |
JP6498530B2 (en) * | 2015-05-29 | 2019-04-10 | 日立オートモティブシステムズ株式会社 | In-vehicle control device |
JP7131475B2 (en) * | 2018-05-15 | 2022-09-06 | 株式会社デンソー | Electronic controller, session establishment program and control program |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10171644A (en) * | 1996-12-09 | 1998-06-26 | Denso Corp | Electronic controller |
JPH11141395A (en) * | 1997-11-07 | 1999-05-25 | Nissan Motor Co Ltd | Memory rewriting device for controlling vehicle |
JPH11238005A (en) * | 1998-02-19 | 1999-08-31 | Denso Corp | Electronic controller and control system |
JP2002070636A (en) * | 2000-08-31 | 2002-03-08 | Suzuki Motor Corp | On-vehicle electronic controller, data rewrite system, data rewrite method, and storage medium |
JP2002187505A (en) * | 2000-12-21 | 2002-07-02 | Fuji Heavy Ind Ltd | In-vehicle system |
JP2003312387A (en) * | 2002-04-25 | 2003-11-06 | Jatco Ltd | Self-shutoff abnormality detection device for vehicle |
-
2004
- 2004-04-08 JP JP2004113763A patent/JP4488345B2/en not_active Expired - Lifetime
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10171644A (en) * | 1996-12-09 | 1998-06-26 | Denso Corp | Electronic controller |
JPH11141395A (en) * | 1997-11-07 | 1999-05-25 | Nissan Motor Co Ltd | Memory rewriting device for controlling vehicle |
JPH11238005A (en) * | 1998-02-19 | 1999-08-31 | Denso Corp | Electronic controller and control system |
JP2002070636A (en) * | 2000-08-31 | 2002-03-08 | Suzuki Motor Corp | On-vehicle electronic controller, data rewrite system, data rewrite method, and storage medium |
JP2002187505A (en) * | 2000-12-21 | 2002-07-02 | Fuji Heavy Ind Ltd | In-vehicle system |
JP2003312387A (en) * | 2002-04-25 | 2003-11-06 | Jatco Ltd | Self-shutoff abnormality detection device for vehicle |
Also Published As
Publication number | Publication date |
---|---|
JP2005297652A (en) | 2005-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7783398B2 (en) | Program rewriting system and program rewriting method | |
JP6011379B2 (en) | Tamper detection system, electronic control unit | |
JP2003058285A (en) | Control system | |
JP4367513B2 (en) | Electronic control unit | |
JP6907803B2 (en) | Control devices, control methods, and computer programs | |
JP2013084089A (en) | Vehicular device | |
WO2018207587A1 (en) | Vehicle-installed relay device, control program, and memory sharing method | |
JP4552982B2 (en) | Electronic control unit | |
WO2016111213A1 (en) | In-vehicle relay device and relay method | |
JP5120720B2 (en) | Electronic control device and control method of electronic control device | |
JP4488345B2 (en) | In-vehicle electronic control unit communication device | |
JP2000020178A (en) | Electronic controller | |
WO2005078264A1 (en) | Vehicle data backup method | |
JP2011039608A (en) | Processing system, operation state control method and computer program | |
JP4480449B2 (en) | In-vehicle electronic control unit communication device | |
JP2004302944A (en) | Control system for vehicle | |
JP2008143418A (en) | Data rewriting state display control device | |
JP2004040649A (en) | In-vehicle communication device | |
JP5236376B2 (en) | Network system rewriting device | |
JP5182583B2 (en) | Vehicle communication control device | |
JP6887277B2 (en) | Electronic control device for automobiles | |
WO2020195034A1 (en) | Vehicle-mounted update device, update processing system, update processing method, and processing program | |
JP6438991B2 (en) | Vehicle control device | |
US9720474B2 (en) | Electronic control unit | |
JP2001265601A (en) | Electronic control unit and memory rewrite method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070329 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091015 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091020 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091203 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100325 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100325 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130409 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130409 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140409 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |