JP2012197046A - Electronic control device and vehicle control system using the same - Google Patents
Electronic control device and vehicle control system using the same Download PDFInfo
- Publication number
- JP2012197046A JP2012197046A JP2011063121A JP2011063121A JP2012197046A JP 2012197046 A JP2012197046 A JP 2012197046A JP 2011063121 A JP2011063121 A JP 2011063121A JP 2011063121 A JP2011063121 A JP 2011063121A JP 2012197046 A JP2012197046 A JP 2012197046A
- Authority
- JP
- Japan
- Prior art keywords
- electronic control
- vehicle information
- control unit
- storage means
- volatile storage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、車両に搭載される電子制御装置およびそれを用いた車両制御システムに関する。 The present invention relates to an electronic control device mounted on a vehicle and a vehicle control system using the same.
車両に搭載される電子制御装置は故障等のために交換されることがある。この場合、交換前の電子制御装置が記憶していた車両に関する車両情報を、交換により装着した電子制御装置に移し替えることが車両制御の観点から望ましい。そのためには、電子制御装置が脱着により交換されたことを検出する必要がある。 An electronic control device mounted on a vehicle may be replaced due to a failure or the like. In this case, it is desirable from the viewpoint of vehicle control that the vehicle information related to the vehicle stored in the electronic control device before replacement is transferred to the electronic control device mounted by replacement. For this purpose, it is necessary to detect that the electronic control unit has been replaced by detachment.
例えば、特許文献1に開示されているように、新たに装着された電子制御装置の記憶手段として、EEPROM等の書き換え可能な不揮発性メモリに車両情報として車両識別情報が記憶されていないと装着された電子制御装置が判定することにより、装着された電子制御装置は他の電子制御装置に車両識別情報の送信を要求し、送信されてきた車両識別情報を自装置の記憶手段に書き込むことができる。 For example, as disclosed in Patent Document 1, as a storage unit of a newly mounted electronic control device, it is mounted unless vehicle identification information is stored as vehicle information in a rewritable nonvolatile memory such as an EEPROM. As a result of the determination by the electronic control device, the mounted electronic control device can request the other electronic control device to transmit the vehicle identification information and write the transmitted vehicle identification information in the storage means of the own device. .
また、特許文献1には、装着された電子制御装置の記憶手段に車両識別情報が記憶されている場合、他の電子制御装置を含め過半数を占める車両識別情報と自身の持つ車両識別情報とが異なる場合には、正規ではない電子制御装置が装着されたと判断し、車載機器の機能を制限する等の異常時処理を行う技術が開示されている。 Further, in Patent Document 1, when vehicle identification information is stored in the storage means of the attached electronic control device, the vehicle identification information that occupies the majority including other electronic control devices and the vehicle identification information possessed by itself are included. In the case where they are different from each other, a technique is disclosed in which it is determined that a non-regular electronic control device has been installed, and an abnormal process such as limiting the function of the in-vehicle device is performed.
これに対し、正規ではあるが記憶手段に他の電子制御装置とは異なる車両情報が書き込まれている中古品の電子制御装置を交換により装着したいことがある。この場合、他装置と自装置とを合わせて3個以上の電子制御装置の車両情報のうち過半数を占めるものと自装置の車両情報とが異なる場合には、自装置が交換されたと判定し、過半数を占める車両情報を正常であると見なして、自装置の記憶手段に過半数を占める車両情報を書き込むことが考えられる。 On the other hand, there are cases where it is desired to replace a used electronic control device in which vehicle information different from other electronic control devices is written in the storage means, although it is a regular one. In this case, if the vehicle information of the own device is different from the vehicle information of the own device that occupies the majority of the vehicle information of the three or more electronic control devices in combination with the other device and the own device, it is determined that the own device has been replaced, It can be considered that the vehicle information occupying the majority is regarded as normal, and the vehicle information occupying the majority is written in the storage means of the own device.
しかしながら、車両情報を記憶手段に記憶している中古品の電子制御装置を交換により装着した場合に、複数の電子制御装置が記憶している車両情報に基づいて、過半数を占める車両情報と自装置の車両情報とが異なることにより、自装置が交換により新たに装着された装置であると判定するためには、3個以上の電子制御装置が必要である。 However, when the used electronic control device storing the vehicle information in the storage means is attached by replacement, the vehicle information and the own device occupy the majority based on the vehicle information stored in the plurality of electronic control devices. In order to determine that the own device is a device that has been newly installed by replacement due to the difference in the vehicle information, three or more electronic control devices are required.
本発明は、上記課題を解決するためになされたものであり、中古品か新品かに関わらず、電子制御装置が脱着された可能性を自装置だけで判定できる電子制御装置およびそれを用いた車両制御システムを提供することを目的とする。 The present invention has been made to solve the above problems, and an electronic control device that can determine whether or not the electronic control device has been attached or detached can be determined only by the own device, regardless of whether it is a used product or a new product. An object is to provide a vehicle control system.
本願発明者は、車両の運転が停止されてもバッテリから常時電力を供給される揮発性記憶手段の記憶状態は、脱着されるかバッテリが交換されると、記憶していたデータを失い初期状態になることに着目し本願発明に至った。 The inventor of the present application states that the storage state of the volatile storage means to which power is always supplied from the battery even when the vehicle is stopped is lost when the battery is replaced or the battery is replaced, and the stored data is lost. Focusing on becoming, it came to this invention.
すなわち、請求項1から8に記載の発明によると、車両に搭載される電子制御装置において、揮発性記憶判定手段は、車載のバッテリから電力を常時供給される揮発性記憶手段の記憶状態を判定し、揮発性記憶手段の記憶状態が初期状態であると揮発性記憶判定手段が判定すると、脱着判定手段は、自装置が脱着された可能性があると判定する。 That is, according to the first to eighth aspects of the present invention, in the electronic control device mounted on the vehicle, the volatile memory determining means determines the storage state of the volatile memory means that is always supplied with electric power from the in-vehicle battery. When the volatile memory determining unit determines that the storage state of the volatile storage unit is the initial state, the desorption determining unit determines that there is a possibility that the own device has been detached.
尚、電子制御装置の脱着とは、電子制御装置を一旦取り外し、同じ電子制御装置を再び装着すること、ならびに電子制御装置を取り外し、異なる電子制御装置を装着することの両方を表わすものとする。また、バッテリが交換されても揮発性記憶手段は初期状態になるので、自装置が脱着されたと判定するのではなく、自装置が脱着された可能性があると記載している。 The removal / attachment of the electronic control device means both removing the electronic control device once and attaching the same electronic control device again, and removing the electronic control device and attaching a different electronic control device. Further, since the volatile storage means is in an initial state even when the battery is replaced, it is described that the own device may be detached rather than determining that the own device has been detached.
この構成によれば、バッテリから常時電力を供給される揮発性記憶手段の記憶状態が初期状態であれば、自装置の書き換え可能な不揮発性記憶手段に車両情報が記憶されているか否かに関わらず、つまり交換により装着された自装置が新品か中古品かに関わらず、脱着された可能性があると電子制御装置自身が判定できる。 According to this configuration, if the storage state of the volatile storage unit to which power is always supplied from the battery is in the initial state, whether or not the vehicle information is stored in the rewritable nonvolatile storage unit of the own device. In other words, the electronic control unit itself can determine that there is a possibility that it has been removed or attached regardless of whether the own device attached by replacement is new or used.
さらに、電子制御装置が交換される場合、新品であるか中古品であるかに関わらず、揮発性記憶手段の記憶状態が初期状態であれば、電子制御装置が脱着された可能性があると判定できる。 Furthermore, when the electronic control unit is replaced, regardless of whether the electronic control unit is new or used, the electronic control unit may be detached if the storage state of the volatile storage means is the initial state. Can be judged.
請求項2に記載の発明によると、電子制御装置は、車両の運転が停止されるときに揮発性記憶手段に所定データを書き込む書き込み手段を備え、揮発性記憶判定手段は、車両の運転が開始されるときに揮発性記憶手段に所定データが記憶されていない場合、揮発性記憶手段は初期状態であると判定する。 According to a second aspect of the present invention, the electronic control device includes a writing unit that writes predetermined data to the volatile storage unit when the vehicle operation is stopped, and the volatile memory determination unit starts driving the vehicle. If the predetermined data is not stored in the volatile storage means at the time, the volatile storage means is determined to be in the initial state.
このように、車両の運転が停止されるときに揮発性記憶手段に所定データを書き込むことにより、車両の運転が開始されるまでに電子制御装置が交換されると、車両の運転が開始されるときに揮発性記憶手段が初期状態であると判定できる。 As described above, when the operation of the vehicle is stopped, the predetermined data is written in the volatile storage means, so that the operation of the vehicle is started when the electronic control unit is replaced before the operation of the vehicle is started. Sometimes it can be determined that the volatile storage means is in the initial state.
請求項3に記載の発明によると、互いに通信可能に接続された請求項1または2に記載の複数の電子制御装置を備える車両制御システムにおいて、複数の電子制御装置のうち第1電子制御装置は、車両に関する車両情報を記憶する書き換え可能な第1不揮発性記憶手段を備え、複数の電子制御装置のうち第2電子制御装置は、第1電子制御装置から取得する第1不揮発性記憶手段に記憶されている車両情報を記憶する書き換え可能な第2不揮発性記憶手段を備えている。
According to the invention described in claim 3, in the vehicle control system including the plurality of electronic control devices according to
つまり、第2電子制御装置は、第1電子制御装置が第1不揮発性記憶手段に記憶している車両情報を自装置の第2不揮発性記憶手段にコピーして記憶している。尚、車両に関する車両情報とは、車両毎に固有に付与された車両識別情報、電子制御装置が車両制御において学習した制御学習値、および故障診断情報等である。 That is, the second electronic control unit copies and stores the vehicle information stored in the first non-volatile storage unit by the first electronic control unit to the second non-volatile storage unit of its own apparatus. The vehicle information related to the vehicle includes vehicle identification information uniquely assigned to each vehicle, a control learning value learned by the electronic control unit in vehicle control, failure diagnosis information, and the like.
そして、第2電子制御装置の脱着判定手段は、第1電子制御装置または第2電子制御装置の一方の揮発性記憶手段が初期状態であると自装置の揮発性記憶判定手段が判定し、第1不揮発性記憶手段に記憶されている車両情報と第2不揮発性記憶手段に記憶されている車両情報とが異なると不揮発性記憶判定手段が判定すると、揮発性記憶手段が初期状態である方が交換された電子制御装置であると判定する。 Then, the desorption determination unit of the second electronic control unit determines that the volatile memory determination unit of the own device determines that one of the volatile storage units of the first electronic control unit or the second electronic control unit is in an initial state. If the non-volatile storage determining means determines that the vehicle information stored in the first non-volatile storage means and the vehicle information stored in the second non-volatile storage means are different, the volatile storage means is in the initial state. It is determined that the electronic control device has been replaced.
このように、第1電子制御装置または第2電子制御装置の一方の揮発性記憶手段が初期状態であれば、バッテリの交換ではなく、第1電子制御装置または第2電子制御装置のうち揮発性記憶手段が初期状態である方が脱着されたと判定できる。 Thus, if one of the volatile storage means of the first electronic control device or the second electronic control device is in the initial state, the battery is not replaced but the volatile property of the first electronic control device or the second electronic control device. It can be determined that the storage means in the initial state is detached.
そして、第1不揮発性記憶手段に記憶されている車両情報と第2不揮発性記憶手段に記憶されている車両情報とが異なる場合、揮発性記憶手段が初期状態の電子制御装置は、一旦取り外された同じ電子制御装置が再び装着されたのではなく、取り外された電子制御装置とは異なる電子制御装置が交換により装着されたと判定できる。 If the vehicle information stored in the first non-volatile storage means and the vehicle information stored in the second non-volatile storage means are different, the electronic control device in which the volatile storage means is in the initial state is temporarily removed. It can be determined that the same electronic control device is not mounted again, but an electronic control device different from the removed electronic control device is mounted by replacement.
請求項4に記載の発明によると、第1電子制御装置および第2電子制御装置の少なくともいずれか一方の揮発性記憶手段が初期状態であると自装置の揮発性記憶判定手段が判定し、第1不揮発性記憶手段に記憶されている車両情報と第2不揮発性記憶手段に記憶されている車両情報とが異なり、第1不揮発性記憶手段または第2不揮発性記憶手段の一方に記憶されている車両情報が初期値であると不揮発性記憶判定手段が判定すると、車両情報が初期値である方の電子制御装置が交換されたと判定する。 According to the fourth aspect of the present invention, the volatile memory determining means of the own device determines that the volatile memory means of at least one of the first electronic control device and the second electronic control device is in the initial state, and The vehicle information stored in the first non-volatile storage means and the vehicle information stored in the second non-volatile storage means are different and stored in one of the first non-volatile storage means or the second non-volatile storage means. When the non-volatile memory determining means determines that the vehicle information is the initial value, it is determined that the electronic control device whose vehicle information is the initial value has been replaced.
このように、第1電子制御装置および第2電子制御装置の少なくともいずれか一方の揮発性記憶手段が初期状態の場合、第1電子制御装置および第2電子制御装置の少なくとも一方が脱着された可能性がある。 Thus, when at least one of the volatile storage means of the first electronic control device and the second electronic control device is in the initial state, at least one of the first electronic control device and the second electronic control device may be detached. There is sex.
そして、通常状態では、第2電子制御装置の第2不揮発性記憶手段は第1電子制御装置の第1不揮発性記憶手段に記憶されている車両情報のコピーを記憶しているので、両装置が記憶している車両情報は等しい。したがって、第1不揮発性記憶手段に記憶されている車両情報と第2不揮発性記憶手段に記憶されている車両情報とが異なる場合は、バッテリの交換ではなく、少なくとも一方の電子制御装置が交換されたと考えられる。 And in a normal state, since the 2nd non-volatile memory | storage means of a 2nd electronic control apparatus has memorize | stored the copy of the vehicle information memorize | stored in the 1st non-volatile storage means of a 1st electronic control apparatus, both apparatuses are The stored vehicle information is the same. Therefore, when the vehicle information stored in the first non-volatile storage means and the vehicle information stored in the second non-volatile storage means are different, at least one of the electronic control devices is replaced instead of replacing the battery. It is thought.
さらに、第1不揮発性記憶手段または第2不揮発性記憶手段の一方に記憶されている車両情報だけが初期値の場合、他方の電子制御装置を中古品に交換する可能性は低いので、車両情報が初期値である方の電子制御装置が新品に交換されたと考えられる。 Further, when only the vehicle information stored in one of the first non-volatile storage means or the second non-volatile storage means is an initial value, it is unlikely that the other electronic control device is replaced with a used product. It is considered that the electronic control device having the initial value is replaced with a new one.
請求項5に記載の発明によると、第2電子制御装置の書き込み要求手段は、第1電子制御装置が交換されたと自装置の脱着判定手段が判定すると、第2不揮発性記憶手段に記憶されている車両情報を第1電子制御装置に送信し、送信した車両情報を第1不揮発性記憶手段に書き込むことを第1電子制御装置に要求する。 According to the fifth aspect of the present invention, the write request unit of the second electronic control unit is stored in the second non-volatile storage unit when the detachment determination unit of the own unit determines that the first electronic control unit has been replaced. The vehicle information is transmitted to the first electronic control unit, and the first electronic control unit is requested to write the transmitted vehicle information in the first nonvolatile storage means.
このように、第1電子制御装置が交換された場合には、第2不揮発性記憶手段に記憶されている交換前の第1電子制御装置の車両情報を、第2電子制御装置が交換後の第1電子制御装置に送信するので、第1電子制御装置の復旧手段は、第2電子制御装置から書き込み要求と車両情報とを受信すると、受信した車両情報を第1不揮発性記憶手段に自動的に書き込んで交換前の車両情報の記憶状態に復旧できる。 Thus, when the first electronic control unit is replaced, the vehicle information of the first electronic control unit before replacement stored in the second non-volatile storage means is used as the vehicle information after the second electronic control unit is replaced. Since it is transmitted to the first electronic control unit, when the recovery means of the first electronic control unit receives the write request and the vehicle information from the second electronic control unit, the received vehicle information is automatically stored in the first non-volatile storage unit. Can be restored to the storage state of the vehicle information before replacement.
これにより、交換前に装着されていた第1電子制御装置に記憶されていた車両情報を、交換後の第1電子制御装置に書き込みツールを用いて人手で書き込む工数を省略できる。
また、請求項5に記載の発明によると、第2電子制御装置の復旧手段は、第2電子制御装置が交換されたと自装置の脱着判定手段が判定すると、第1電子制御装置から取得する車両情報を第2不揮発性記憶手段に書き込む。
Thereby, the man-hour which writes the vehicle information memorize | stored in the 1st electronic control apparatus with which it was mounted | worn before replacement | exchange with the 1st electronic control apparatus after replacement | exchange manually using a writing tool can be omitted.
According to the fifth aspect of the present invention, the recovery means of the second electronic control device is obtained from the first electronic control device when the attachment / detachment determination means of the own device determines that the second electronic control device has been replaced. Information is written into the second non-volatile storage means.
これにより、交換後の第2電子制御装置は、交換前に装着されていた自装置に記憶されていた第1電子制御装置の車両情報を第1電子制御装置からコピーして交換前の車両情報の記憶状態に復旧できる。 As a result, the second electronic control unit after the replacement copies the vehicle information of the first electronic control unit stored in the own device that was mounted before the replacement from the first electronic control unit, and the vehicle information before the replacement Can be restored.
請求項6に記載の発明によると、第2電子制御装置は、車両に関する車両情報を記憶する書き換え可能な第3不揮発性記憶手段を備え、第1電子制御装置は、第2電子制御装置から取得する第3不揮発性記憶手段に記憶されている車両情報を記憶する書き換え可能な第4不揮発性記憶手段を備えている。 According to the invention described in claim 6, the second electronic control unit includes the rewritable third non-volatile storage means for storing vehicle information relating to the vehicle, and the first electronic control unit is obtained from the second electronic control unit. A fourth rewritable non-volatile storage means for storing the vehicle information stored in the third non-volatile storage means.
つまり、第1電子制御装置は、第2電子制御装置が第3不揮発性記憶手段に記憶している車両情報を自装置の第4不揮発性記憶手段にコピーして記憶している。
そして、第1電子制御装置の脱着判定手段は、第1電子制御装置または第2電子制御装置の一方の揮発性記憶手段が初期状態であると自装置の揮発性記憶判定手段が判定し、第2電子制御装置から取得する第3不揮発性記憶手段に記憶されている車両情報と第4不揮発性記憶手段に記憶されている車両情報とが異なると自装置の不揮発性記憶判定手段が判定すると、揮発性記憶手段が初期状態である方が交換された電子制御装置であると判定する。
That is, the first electronic control unit stores the vehicle information stored in the third non-volatile storage unit by the second electronic control unit by copying it to the fourth non-volatile storage unit of its own apparatus.
The desorption determination unit of the first electronic control unit determines that the volatile memory determination unit of the own device determines that one of the volatile storage units of the first electronic control unit or the second electronic control unit is in an initial state. When the vehicle information stored in the third nonvolatile storage means acquired from the 2 electronic control device and the vehicle information stored in the fourth nonvolatile storage means are different from each other, It is determined that the volatile storage means in the initial state is the replaced electronic control device.
このように、第1電子制御装置または第2電子制御装置の一方の揮発性記憶手段が初期状態であれば、バッテリの交換ではなく、第1電子制御装置または第2電子制御装置のうち揮発性記憶手段が初期状態である方が脱着されたと判定できる。 Thus, if one of the volatile storage means of the first electronic control device or the second electronic control device is in the initial state, the battery is not replaced but the volatile property of the first electronic control device or the second electronic control device. It can be determined that the storage means in the initial state is detached.
そして、第3不揮発性記憶手段に記憶されている車両情報と第4不揮発性記憶手段に記憶されている車両情報とが異なる場合、揮発性記憶手段が初期状態の電子制御装置は、一旦取り外された同じ電子制御装置が再び装着されたのではなく、取り外された電子制御装置とは異なる電子制御装置が交換により装着されたと判定できる。 If the vehicle information stored in the third non-volatile storage means and the vehicle information stored in the fourth non-volatile storage means are different, the electronic control device in which the volatile storage means is in the initial state is temporarily removed. It can be determined that the same electronic control device is not mounted again, but an electronic control device different from the removed electronic control device is mounted by replacement.
請求項7に記載の発明によると、第1電子制御装置および第2電子制御装置の少なくともいずれか一方の揮発性記憶手段が初期状態であると自装置の揮発性記憶判定手段が判定し、第3不揮発性記憶手段に記憶されている車両情報と第4揮発性記憶手段に記憶されている車両情報とが異なり、第3不揮発性記憶手段または第4不揮発性記憶手段の一方に記憶されている車両情報が初期値であると自装置の不揮発性記憶判定手段が判定すると、車両情報が初期値である方の電子制御装置が交換されたと判定する。 According to the seventh aspect of the present invention, the volatile memory determining means of the own device determines that the volatile memory means of at least one of the first electronic control device and the second electronic control device is in the initial state, and The vehicle information stored in the third non-volatile storage means and the vehicle information stored in the fourth volatile storage means are different and stored in one of the third non-volatile storage means or the fourth non-volatile storage means. When the non-volatile memory determining means of the own device determines that the vehicle information is the initial value, it is determined that the electronic control device whose vehicle information is the initial value has been replaced.
このように、第1電子制御装置および第2電子制御装置の少なくともいずれか一方の揮発性記憶手段が初期状態の場合、第1電子制御装置および第2電子制御装置の少なくとも一方が脱着された可能性がある。 Thus, when at least one of the volatile storage means of the first electronic control device and the second electronic control device is in the initial state, at least one of the first electronic control device and the second electronic control device may be detached. There is sex.
そして、通常状態では、第1電子制御装置の第4不揮発性記憶手段は第2電子制御装置の第3不揮発性記憶手段に記憶されている車両情報のコピーを記憶しているので、両装置が記憶している車両情報は等しい。したがって、第3不揮発性記憶手段に記憶されている車両情報と第4不揮発性記憶手段に記憶されている車両情報とが異なる場合は、バッテリの交換ではなく、少なくとも一方の電子制御装置が交換されたと考えられる。 And in a normal state, since the 4th non-volatile storage means of the 1st electronic control unit has memorized the copy of the vehicle information memorized by the 3rd non-volatile storage means of the 2nd electronic control unit, both devices are The stored vehicle information is the same. Therefore, when the vehicle information stored in the third non-volatile storage means and the vehicle information stored in the fourth non-volatile storage means are different, at least one of the electronic control units is replaced instead of replacing the battery. It is thought.
さらに、第3不揮発性記憶手段または第4不揮発性記憶手段の一方に記憶されている車両情報だけが初期値の場合、他方の電子制御装置を中古品に交換する可能性は低いので、車両情報が初期値である方の電子制御装置が新品に交換されたと考えられる。 Further, when only the vehicle information stored in one of the third nonvolatile storage means or the fourth nonvolatile storage means is the initial value, it is unlikely that the other electronic control device is replaced with a used product. It is considered that the electronic control device having the initial value is replaced with a new one.
請求項8に記載の発明によると、第1電子制御装置の書き込み要求手段は、第2電子制御装置が交換されたと自装置の脱着判定手段が判定すると、第4不揮発性記憶手段に記憶されている車両情報を第2電子制御装置に送信し、送信した車両情報を第3不揮発性記憶手段に書き込むことを第2電子制御装置に要求する。 According to the invention described in claim 8, the write request means of the first electronic control unit is stored in the fourth non-volatile storage means when the attachment / detachment determination means of the own apparatus determines that the second electronic control unit has been replaced. Is transmitted to the second electronic control unit, and the second electronic control unit is requested to write the transmitted vehicle information in the third nonvolatile storage means.
このように、第2電子制御装置が交換された場合には、第4不揮発性記憶手段に記憶されている交換前の第2電子制御装置の車両情報を、第1電子制御装置が交換後の第2電子制御装置に送信するので、第2電子制御装置の復旧手段は、第1電子制御装置から書き込み要求と車両情報とを受信すると、受信した車両情報を第3不揮発性記憶手段に書き込んで復旧できる。 As described above, when the second electronic control unit is replaced, the vehicle information of the second electronic control unit before replacement stored in the fourth nonvolatile storage unit is used as the vehicle information after the first electronic control unit is replaced. Since it is transmitted to the second electronic control unit, when the recovery means of the second electronic control unit receives the write request and the vehicle information from the first electronic control unit, it writes the received vehicle information into the third non-volatile storage unit. It can be recovered.
これにより、交換後の第2電子制御装置は、交換前に装着されていた第2電子制御装置に記憶されていた自装置の車両情報を第1電子制御装置からコピーして交換前の車両情報の記憶状態に復旧できる。 Thereby, the second electronic control unit after replacement copies the vehicle information of the own device stored in the second electronic control unit mounted before the replacement from the first electronic control unit, and the vehicle information before replacement. Can be restored.
また、請求項8に記載の発明によると、第1電子制御装置の復旧手段は、第1電子制御装置が交換されたと自装置の脱着判定手段が判定すると、第2電子制御装置から取得する車両情報を第4不揮発性記憶手段に書き込む。 According to the invention described in claim 8, the recovery means of the first electronic control device is a vehicle that is acquired from the second electronic control device when the detachment determination means of the own device determines that the first electronic control device has been replaced. Information is written into the fourth nonvolatile storage means.
これにより、交換後の第1電子制御装置は、交換前に装着されていた第1電子制御装置に記憶されていた第2電子制御装置の車両情報を第2電子制御装置からコピーして交換前の車両情報の記憶状態に復旧できる。 Thereby, the first electronic control unit after the replacement copies the vehicle information of the second electronic control unit stored in the first electronic control unit mounted before the replacement from the second electronic control unit before the replacement. The vehicle information can be restored to the stored state.
以下、本発明の実施形態を図に基づいて説明する。
図1に、本実施形態の車両制御システムを示す。車両制御システム10は、ガソリンエンジン等の内燃機関によるエンジンと、モータジェネレータ98(図3参照)とを駆動源とするハイブリッド車両の走行を制御するものであり、電池監視ユニット20、ハイブリッドECU(Electronic Control Unit)50、およびエンジンECU100等から構成されている。電池監視ユニット20とハイブリッドECU50とはシリアル通信で通信可能に接続されており、ハイブリッドECU50とエンジンECU100とはCAN(Controller Area Network)等の車内LANで通信可能に接続されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 shows a vehicle control system of the present embodiment. The
図2に示すように、電池監視ユニット20は、電源回路22、マイクロコンピュータ(以下、「マイコン」とも言う。)30、および入出力回路40等から構成されている。
電源回路22は、スタートスイッチ4がオンになると、電池監視ユニット20を構成する電子部品にバッテリ2の電力を供給する。バッテリ2は、車両の駆動源となるモータジェネレータ98に電力を供給するハイブリッドバッテリ42と異なり、車両に搭載されている電子部品等の補機に電力を供給する。
As shown in FIG. 2, the
When the
マイコン30は、CPU32、RAM34、ROM36、およびI/O38から主に構成されている。マイコン30は、ROM36に記憶されている制御プログラムをCPU32が実行することにより、電池電流センサ44、電池電圧センサ46、および電池温度センサ48から出力されるハイブリッドバッテリ42の状態を表わす検出信号に基づき、ハイブリッドバッテリ42の充電状態を監視するとともに、ハイブリッドバッテリ42の異常発熱、漏電等を監視する。RAM34は、制御プログラムが作業用に使用する。
The
I/038は、入出力回路40を介して、各種センサから検出信号を入力するとともに、シリアル通信によりハイブリッドECU50と通信する。
ハイブリッドバッテリ42には、例えば、ニッケル水素またはリチウムイオン等の二次電池が使用される。
The I / 038 inputs detection signals from various sensors via the input /
For the
図3に示すように、ハイブリッドECU50は、電源回路52、54、マイコン60、EEPROM80、および入出力回路82等から構成されている。
電源回路52は、スタートスイッチ4がオンになると、ハイブリッドECU50の主な電子部品にバッテリ2の電力を供給する。電源回路54は、スタートスイッチ4のオン、オフに関わらず、常にハイブリッドECU50の該当する電子部品、例えば図3のSRAM(スタンバイRAM)68にバッテリ2の電力を供給する。
As shown in FIG. 3, the
When the
マイコン60は、CPU62、RAM64、ROM66、SRAM68、およびI/O70から主に構成されている。マイコン60は、ROM66に記憶されている制御プログラムをCPU62が実行することにより、車速センサ90、アクセル開度センサ92、ストップランプスイッチ94等から入力する車両走行状態を表わす検出信号、ならびに電池監視ユニット20から入力するハイブリッドバッテリ42の充電状態に基づいて、ハイブリッドバッテリ42とモータジェネレータ98とを電気的に連通または遮断するシステムリレー96をオン、オフする。
The
また、ハイブリッドECU50は、各種センサから入力する車両走行状態を表わす検出信号、ならびにハイブリッドバッテリ42の充電状態に基づいて、モータジェネレータ98による駆動量と、エンジンによる駆動量との比率を算出し、モータジェネレータ98を駆動制御するとともに、CANを介してエンジンECU100にエンジンによる駆動量を指示する。
The
また、ハイブリッドECU50は、電池監視ユニット20からハイブリッドバッテリ42の電流値、電圧値、温度等を劣化情報として取得し、劣化情報からハイブリッドバッテリ42の劣化状態を推定し、劣化が所定範囲を超えると警告灯または警告音等によりハイブリッドバッテリ42の劣化を報知する。
Further, the
ハイブリッドECU50の制御プログラムが作業用に使用し、スタートスイッチ4がオフになると記憶データが消失するRAM64に対し、SRAM68は、スタートスイッチ4のオン、オフに関わらず、電源回路54を介してバッテリ2から電力を供給されている。したがって、SRAM68に記憶されているデータは、バッテリ2の交換等によりバッテリ2からの電力供給が遮断されるか、SRAM68を搭載しているハイブリッドECU50が脱着されない限り保存される。SRAM68はマイコン60に外付けされてもよい。
Whereas the control program of the
I/070は、入出力回路82を介して、各種センサから検出信号を入力し、シリアル通信により電池監視ユニット20と通信し、CAN等の車内LANによりエンジンECU100と通信する。
The I / 070 receives detection signals from various sensors via the input /
EEPROM80はマイコン60に外付けされている書き換え可能な不揮発性の記憶手段である。バッテリ2が交換されてもハイブリッドECU50が脱着されても、EEPROM80に記憶されているデータは保存される。
The
ハイブリッドECU50は、ハイブリッドバッテリ42に関する劣化情報を電池監視ユニット20から定期的に取得して学習し、制御学習値としてEEPROM80のSEG領域(図5参照)に記憶している。SEG領域に記憶する制御学習値は、最新のものだけでもよいし、最新を含む現在までの履歴でもよい。制御学習値の履歴を記憶する場合、SEG領域に所定量の制御学習値を記憶すると新しい制御学習値で古い学習値を順次上書きしていく。
The
図3および図4に示すように、ハイブリッドECU50とエンジンECU100とは、ほぼ同じ構成である。エンジンECU100の電源回路102、104、マイコン120、EEPROM140、入出力回路142は、ハイブリッドECU50の電源回路52、54、マイコン60、EEPROM80、入出力回路82に相当する。
As shown in FIGS. 3 and 4,
エンジンECU100のマイコン120は、ROM126に記憶されている制御プログラムをCPU122が実行することにより、酸素濃度センサ(A/Fセンサ)150、エンジン回転数センサ152、エアフロセンサ154、スロットルセンサ156、水温センサ158等から入力するエンジン運転状態を表わす検出信号に基づき、インジェクタ160の燃料噴射、イグナイタ162のスイッチングを制御する。
The
エンジンECU100は、ハイブリッドECU50の制御学習値をEEPROM140にコピーして記憶している。
(制御学習値)
前述したように、ハイブリッドECU50は、ハイブリッドバッテリ42に関する劣化情報を制御学習値としてEEPROM80に記憶しているので、スタートスイッチ4がオフなっても、EEPROM80に記憶している制御学習値は保持される。
(Control learning value)
As described above, the
ここで、ハイブリッドECU50が故障等の理由で新品または中古品に交換されると、交換後のハイブリッドECU50は交換前のハイブリッドECU50がEEPROM80に記憶していた制御学習値を引き継げない。
Here, when the
そこで、本実施形態では、図5に示すように、ハイブリッドECU50がEEPROM80のSEG領域に記憶している制御学習値を、エンジンECU100がEEPROM140のMEG領域に記憶するようにしている。
Therefore, in the present embodiment, as shown in FIG. 5, the
ハイブリッドECU50は、EEPROM80に記憶している制御学習値を更新すると、点線200に示すように制御学習値の更新情報をエンジンECU100に送信する。エンジンECU100は、ハイブリッドECU50から制御学習値の更新情報を取得するとEEPROM140に書き込む。つまり、ハイブリッドECU50は、EEPROM80に記憶している制御学習値を更新すると更新情報をエンジンECU100に通知する通知手段を備えており、エンジンECU100は、ハイブリッドECU50から制御学習値の更新情報を取得するとEEPROM140に書き込む更新手段を備えている。
When the
尚、図5の点線200に示すように、ハイブリッドECU50から送信された更新情報をエンジンECU100のEEPROM140に直接書き込んでもよいし、ハイブリッドECU50から送信された更新情報を一旦RAM124に記憶しておき、車両運転を停止するときにRAM124からEEPROM140に書き込んでもよい。
As indicated by a dotted
このように、エンジンECU100がハイブリッドECU50から制御学習値の更新情報を取得して記憶しているので、ハイブリッドECU50が交換されるまで、ハイブリッドECU50がEEPROM80に記憶している制御学習値と、エンジンECU100がEEPROM140に記憶している制御学習値とは等しい。
Thus, since
そして、ハイブリッドECU50が交換されたことが検出されると、エンジンECU100がEEPROM140に記憶している制御学習値を交換後のハイブリッドECU50に送信することにより(図5の実線210参照)、交換後のハイブリッドECU50は交換前のハイブリッドECU50が学習していた制御学習値をEEPROM80に書き込む(図5の実線202参照)。本実施形態では、ハイブリッドECU50は、エンジンECU100から取得した制御学習値を一旦RAM64に記憶してEEPROM80に書き込む。
When it is detected that the
これにより、交換後のハイブリッドECU50は、交換前のハイブリッドECU50が記憶していた制御学習値に基づいて、ハイブリッドバッテリ42およびモータジェネレータ98に対する制御を継続できる。
Thereby, the
一方、エンジンECU100が交換されると、交換後のエンジンECU100はハイブリッドECU50の制御学習値をEEPROM140に記憶していない。そこで、エンジンECU100が交換されたことが検出されると、交換後のエンジンECU100は、ハイブリッドECU50からEEPROM80に記憶している制御学習値を取得し(図5の実線204参照)、EEPROM140に書き込む(図5の実線212参照)。これにより、交換後のエンジンECU100は、交換されていないハイブリッドECU50と同じ制御学習値をEEPROM140に記憶できる。
On the other hand, when
本実施形態では、エンジンECU100は、ハイブリッドECU50から取得した制御学習値を一旦RAM124に記憶してEEPROM140に書き込む。
(交換検出)
前述したように、SRAM68、128は、スタートスイッチ4のオン、オフに関わらず、バッテリ2が交換されず、ハイブリッドECU50またはエンジンECU100が脱着されない限り、記憶しているデータを保持できる。一方、SRAM68、128が記憶していたデータは、バッテリ2が交換されるか、ハイブリッドECU50またはエンジンECU100が脱着されると消去される。
In the present embodiment, the
(Exchange detection)
As described above, the
このようなSRAMの記憶特性から判断して、SRAM68、128の両方の記憶状態がデータの記憶されていない初期状態の場合は、バッテリが交換されたか、両方のECUが脱着されたと考えられる。
Judging from the storage characteristics of the SRAM, if both the storage states of the
さらに、SRAM68、128の両方の記憶状態が初期状態であり、かつEEPROM80とEEPROM140とに記憶されているハイブリッドECU50の制御学習値が等しい場合、バッテリ2が交換されたか、両方のECUが新品に交換されたか、ハイブリッドECU50およびエンジンECU100の両方でそれぞれ同じECUを抜き差ししたために、EEPROM80、140の両方が同じ制御学習値を記憶していると考えられる。この場合には、EEPROM80とEEPROM140に記憶されている制御学習値が等しいので、一方のEEPROMに他方のEEPROMに記憶されている制御学習値をコピーする必要はない。
Furthermore, when the storage states of both the
これに対し、SRAM68、128の一方の記憶状態だけが初期状態であり、EEPROM80とEEPROM140とに記憶されているハイブリッドECU50の制御学習値が異なる場合、SRAM68、128が初期状態である方のECUが新品または中古品に交換されたと考えられる。
On the other hand, when only one storage state of the
また、SRAM68、128の少なくとも一方の記憶状態が初期状態であり、EEPROM80とEEPROM140とに記憶されているハイブリッドECU50の制御学習値が異なり、一方のEEPROMに記憶されている制御学習値だけが初期値の場合、バッテリ2の交換ではなく、制御学習値が初期値の方のECUが新品に交換されたと考えられる。
Further, at least one storage state of the
これらの場合には、交換されていないECUがEEPROMに記憶しているハイブリッドECU50の制御学習値が、交換により装着されたECUのEEPROMに書き込まれる。
In these cases, the control learning value of the
また、SRAM68、128の両方の記憶状態が初期状態であり、EEPROM80とEEPROM140とに記憶されているハイブリッドECU50の制御学習値が異なり、一方のEEPROMに記憶されている制御学習値だけが初期値の場合、制御学習値が初期値の方のECUが新品に交換され、他方のECUは中古品に交換されたと考えられる。
In addition, the storage states of both the
しかしながら、一方のECUが新品に交換され、他方のECUが中古品に交換される可能性は低いので、EEPROM80とEEPROM140とに記憶されているハイブリッドECU50の制御学習値が異なり、一方のEEPROMに記憶されている制御学習値だけが初期値の場合、SRAM68、128の記憶状態は両方ではなく一方だけが初期状態であると考えることが適切である。
However, since it is unlikely that one ECU is replaced with a new one and the other ECU is replaced with a second-hand one, the control learning values of the
(交換検出処理、復旧処理)
図6〜図8に、ハイブリッドECU50が実行する交換検出処理と制御学習値の復旧処理とを示し、図9〜図11に、エンジンECU100が実行する交換検出処理と制御学習値の復旧処理とを示す。図6〜図11において、「S」はステップを表わしている。
(Exchange detection processing, recovery processing)
FIGS. 6 to 8 show the exchange detection process and control learning value recovery process executed by the
(ハイブリッドECU50の交換検出処理1)
図6に示すハイブリッドECU50の交換検出処理1において、図6の(A)は、ハイブリッドECU50による交換検出のための車両運転停止時の処理を示し、図6の(B)はハイブリッドECU50による交換検出のための車両運転開始時の処理を示している。
(
In the replacement detection process 1 of the
図6の(A)において、スタートスイッチ4がオフになり車両運転が停止されるときに、ハイブリッドECU50は、SRAM68に設定した変数SSRAMに所定のキーワードを設定するとともに(S400)、その他の停止処理を実行してから電源回路52にバッテリ2からの電力供給の遮断を指令し、本処理を終了する。
In FIG. 6A, when the
図6の(B)では、スタートスイッチ4がオンされると、ハイブリッドECU50は、SSRAMに所定のキーワードが設定されているか否かを判定する(S410)。
SSRAMに所定のキーワードが設定されている場合(S410:Yes)、ハイブリッドECU50は、スタートスイッチ4がオフされてからオンされるまでの間に自ECUは脱着されておらず、バッテリ2も交換されていないと判断する。そして、EEPROM80のSEG領域に記憶している制御学習値が初期値でなく何らかのデータが記憶されている場合(S412:No)、ハイブリッドECU50は、EEPROM80は正常であると判断し、RAM64に設定した変数SSTSに「OK」を設定し(S414)、処理をS420に移行する。
In FIG. 6B, when the
When a predetermined keyword is set in the SSRAM (S410: Yes), the
SSTSに設定される値は、「OK」、「NG」、「END」のいずれかであり、以下の意味を表わしている。
「OK」 :ハイブリッドECU50は脱着されておらず、バッテリ2も交換されていない。
「NG」 :ハイブリッドECU50が脱着されたか、バッテリ2が交換された。あるいは、ハイブリッドECU50は脱着されておらず、バッテリ2も交換されていないが、EEPROM80が異常である。
「END」:ハイブリッドECU50とエンジンECU100とがEEPROMに記憶している制御学習値が等しい。この場合、両ECUが交換されなかったために一致しているか、あるいは一方のECUは交換されたが制御学習値の復旧処理が終了したために一致しているかのいずれかを表わしている。
The value set in SSTS is one of “OK”, “NG”, and “END”, and represents the following meaning.
“OK”: The
“NG”: The
“END”: The control learning values stored in the EEPROM by the
SSRAMに所定のキーワードが設定されているにも関わらず(S410:Yes)、EEPROM80のSEG領域に記憶している制御学習値が初期値の場合(S412:Yes)、ハイブリッドECU50は、EEPROM80に異常が発生して記憶データが初期化されたと判断し、SSTSに「NG」を設定し(S416)、処理をS420に移行する。
When the predetermined keyword is set in the SSRAM (S410: Yes), but the control learning value stored in the SEG area of the
SSRAMに所定のキーワードが設定されていない場合(S410:No)、ハイブリッドECU50は、自ECUが脱着されたか、バッテリ2が交換されたと判断し、変数SSTSに「NG」を設定し(S418)、処理をS420に移行する。
When the predetermined keyword is not set in the SSRAM (S410: No), the
S420においてハイブリッドECU50は、S414、S416、S418のいずれかで設定したSSTSをエンジンECU100に送信し、S422においてEEPROM80のSEG領域に記憶している制御学習値をエンジンECU100に送信し、本処理を終了する。
In S420, the
(ハイブリッドECU50の交換検出処理2)
図7に示すハイブリッドECU50の交換検出処理2は、例えば64ms毎にタイマ割り込みにより実行される。
(
The
ハイブリッドECU50は、エンジンECU100がEEPROM140のMEG領域に記憶しているハイブリッドECU50の制御学習値をエンジンECU100から受信して自ECUのRAM64に設定したMEG領域に書き込む(S430)。次に、ハイブリッドECU50は、エンジンECU100からハイブリッドECU50に対する処理要求であるMREQを受信し、自ECUのRAM64に設定した変数MREQに設定する(S432)。
The
MREQはエンジンECU100により、「要求無し」、「復旧要求」、「終了要求」のいずれかに設定され、以下の意味を表わす。
「要求無し」:車両運転開始時にエンジンECU100により設定される。エンジンECU100からハイブリッドECU50に対する処理要求はない。
「復旧要求」:ハイブリッドECU50に制御学習値の復旧処理を要求する。
「終了要求」:「要求無し」が設定されてから、エンジンECU100からハイブリッドECU50に対する処理要求がない場合に設定される。
MREQ is set to any of “no request”, “recovery request”, and “end request” by
“No request”: Set by the
“Recovery request”: Requests the
“End request”: set when there is no processing request from the
ハイブリッドECU50は、SSTSが「OK」であれば(S434:Yes)、MREQが「終了要求」か否かを判定し(S436)、SSTSが「OK」でなければ(S434:No)、SSTSが「END」であるか否かを判定する(S440)。
If the SSTS is “OK” (S434: Yes), the
SSTSが「OK」であり(S434:Yes)、MREQが「終了要求」の場合(S436)、ハイブリッドECU50はSSTSに「END」を設定し(S438)、S444に処理を移行する。
When the SSTS is “OK” (S434: Yes) and the MREQ is “end request” (S436), the
MREQが「終了要求」ではない場合(S436:No)、ハイブリッドECU50は、自ECUは交換されていないがエンジンECU100が交換されたためにエンジンECU100で制御学習値の復旧処理中であると判断し、SSTSに「END」を設定せずにS444に処理を移行する。
When the MREQ is not “end request” (S436: No), the
SSTSが「OK」ではなく(S434:No)、SSTSが「END」の場合(S440:Yes)、ハイブリッドECU50は、自ECUで制御学習値の復旧処理が終了したと判断し、S444に処理を移行する。SSTSが「END」ではない場合(S440:No)、ハイブリッドECU50は制御学習値の復旧処理を実行し(S442)、S444に処理を移行する。S442における制御学習値の復旧処理については後述する。
When the SSTS is not “OK” (S434: No) and the SSTS is “END” (S440: Yes), the
図6のS412の判定で「Yes」になる場合、つまりハイブリッドECU50は交換されていないがEEPROM80が異常の場合にもS442の復旧処理は実行される。この場合、EEPROM80の異常が一時的なものであれば、復旧処理により制御学習値を復旧できる。
When the determination in S412 of FIG. 6 is “Yes”, that is, the
S444においてハイブリッドECU50は、エンジンECU100にSSTSを送信し、S446においてエンジンECU100にEEPROM80のSEG領域に記憶している制御学習値を送信し、本処理を終了する。
In S444, the
(ハイブリッドECU50の復旧処理)
図8に示すハイブリッドECU50における制御学習値の復旧処理は、図7のS442で実行される処理である。
(Recovery processing of hybrid ECU 50)
The control learned value recovery process in the
ハイブリッドECU50は、MREQが「終了要求」の場合(S450:Yes)、S456に処理を移行し、MREQが「終了要求」ではない場合(S450:No)、MREQが「復旧要求」であるか否かを判定する(S452)。MREQが「復旧要求」ではない場合(S452:No)、ハイブリッドECU50は本処理を終了する。
When the MREQ is “end request” (S450: Yes), the
MREQが「復旧要求」である場合(S452:Yes)、ハイブリッドECU50は、図7のS430でエンジンECU100から受信し自ECUのRAM64のMEG領域に記憶した制御学習値をEEPROM80のSEG領域に書き込み(S454)、SSTSに「END」を設定し(S456)、本処理を終了する。
When the MREQ is “recovery request” (S452: Yes), the
(エンジンECU100の交換検出処理1)
図9に示すエンジンECU100の交換検出処理1において、図9の(A)は、エンジンECU100の交換検出のための車両運転停止時の処理を示し、図9の(B)はエンジンECU100の交換検出のための車両運転開始時の処理を示している。
(Replacement detection process 1 of engine ECU 100)
In the replacement detection process 1 of the
図9の(A)において、スタートスイッチ4がオフになり車両運転が停止されるときに、エンジンECU100は、SRAM128に設定した変数MSRAMに所定のキーワードを設定するとともに(S460)、その他の停止処理を実行してから電源回路102にバッテリ2からの電力供給の遮断を指令し、本処理を終了する。
In FIG. 9A, when the
図9の(B)では、スタートスイッチ4がオンされると、エンジンECU100は、MSRAMに所定のキーワードが設定されているか否かを判定する(S470)。
MSRAMに所定のキーワードが設定されている場合(S470:Yes)、エンジンECU100は、スタートスイッチ4がオフされてからオンされるまでの間に自ECUは脱着されておらず、バッテリ2も交換されていないと判断する。そして、EEPROM140のMEG領域に記憶しているハイブリッドECU50の制御学習値が初期値でなく何らかのデータが記憶されている場合(S472:No)、エンジンECU100は、EEPROM140は正常であると判断し、RAM124に設定した変数MEGSに「OK」を設定し(S474)、処理をS480に移行する。
In FIG. 9B, when the
When a predetermined keyword is set in the MSRAM (S470: Yes), the
MEGSに設定される値は、「OK」、「NG」のいずれかであり、以下の意味を表わしている。
「OK」:エンジンECU100は脱着されておらず、バッテリ2も交換されていない。
「NG」:エンジンECU100が脱着されたか、バッテリ2が交換された。あるいは、エンジンECU100は脱着されておらず、バッテリ2も交換されていないが、EEPROM140が異常である。
The value set in MEGS is either “OK” or “NG”, and represents the following meaning.
“OK”: The
“NG”:
MSRAMに所定のキーワードが設定されているにも関わらず(S470:Yes)、EEPROM140のMEGに記憶している制御学習値が初期値の場合(S472:Yes)、エンジンECU100は、EEPROM140に異常が発生して記憶データが初期化されたと判断し、MEGSに「NG」を設定し(S476)、処理をS480に移行する。
When a predetermined keyword is set in the MSRAM (S470: Yes), but the control learning value stored in the MEG of the
MSRAMに所定のキーワードが設定されていない場合(S470:No)、エンジンECU100は、自ECUが脱着されたか、バッテリ2が交換されたと判断し、変数MEGSに「NG」を設定し(S478)、S480に処理を移行する。
When the predetermined keyword is not set in the MSRAM (S470: No), the
S480においてハイブリッドECU50は、MREQに「要求無し」を設定する。そして、エンジンECU100は、MREQとEEPROM140のMEG領域に記憶しているハイブリッドECU50の制御学習値とをハイブリッドECU50に送信し(S482、S484)、本処理を終了する。
In S480, the
(エンジンECU100の交換検出処理2)
図10に示すエンジンECU100の交換検出処理2は、例えば64ms毎にタイマ割り込みにより実行される。
(
The
エンジンECU100は、ハイブリッドECU50がEEPROM80のSEG領域に記憶しているハイブリッドECU50の制御学習値をハイブリッドECU50から受信し、自ECUのRAM124に設定したSEG領域に書き込む(S490)。次に、エンジンECU100は、ハイブリッドECU50からSSTSを受信し、自ECUのRAM124に設定した変数SSTSに設定する(S492)。
The
そして、S494においてエンジンECU100は、MREQが「要求無し」であるか否かを判定する。MREQは、図9の(B)に示す運転開始時処理のS480で「要求無し」に設定されるので、最初にS494の判定処理が実行される場合、MREQは必ず「要求無し」に設定されている。MREQが「要求無し」であり(S494:Yes)、S498またはS500が実行されると、MREQは「終了要求」または「復旧要求」のいずれかに設定されるので、2回目以降のS494における判定は必ず「No」になる。
In S494, the
エンジンECU100は、MREQが「要求無し」であれば(S494:Yes)、MEGSおよびSSTSの両方が「OK」か否かを判定し(S496)、MREQが「要求無し」でなければ(S494:No)、SSTSが「END」か否かを判定する(S502)。
If the MREQ is “no request” (S494: Yes), the
MEGSおよびSSTSの両方が「OK」の場合(S496:Yes)、エンジンECU100は、車両運転開始時にハイブリッドECU50およびエンジンECU100の両方のSRAMに所定のキーワードが設定されているので、ハイブリッドECU50およびエンジンECU100ともに脱着されておらず、バッテリ2も交換されていないと判断する。そこで、エンジンECU100は、MREQに「終了要求」を設定し(S498)、S506に処理を移行する。
When both MEGS and SSTS are “OK” (S496: Yes),
MEGSおよびSSTSの両方が「OK」ではない場合(S496:No)、つまり、MEGが「NG」であるか、SSTSが「NG」であるかの少なくともいずれかの場合、エンジンECU100は学習値復旧処理を実行し(S500)、S506に処理を移行する。エンジンECU100の学習値復旧処理については後述する。
When both MEGS and SSTS are not “OK” (S496: No), that is, when MEG is “NG” or SSTS is “NG”,
ここで、SSTSが[END」に設定されるのは、図7のS436の判定でMREQが「終了要求」(S436:Yes)のときか、図8のS450の判定でMREQが「終了要求」(S450:Yes)のときか、S452の判定でMREQが「復旧要求」(S452:Yes)のときである。そして、S496の判定はMREQが「要求無し」(S494:Yes)のときに実行されるので、S496の判定においてSSTSは「END」に設定されておらず、「OK」でなければ「NG」に設定されている。 Here, the SSTS is set to [END] when the MREQ is “end request” (S436: Yes) in the determination of S436 in FIG. 7 or the MREQ is “end request” in the determination of S450 in FIG. (S450: Yes) or when the MREQ is “recovery request” (S452: Yes) in the determination of S452. Since the determination in S496 is executed when MREQ is “no request” (S494: Yes), SSTS is not set to “END” in the determination in S496, and “NG” unless it is “OK”. Is set to
MREQが「要求無し」でなければ(S494:No)、エンジンECU100は、SSTSが「END」か否かを判定する(S502)。SSTSが「END」ではない場合(S502:No)、エンジンECU100は、SSTSは「OK」または「NG」であるから、ハイブリッドECU50とエンジンECU100とがEEPROMに記憶している制御学習値が等しいか、あるいはハイブリッドECU50が制御学習値の復旧処理中であると判断し、S506に処理を移行する。
If MREQ is not “no request” (S494: No),
ハイブリッドECU50とエンジンECU100とがEEPROMに記憶している制御学習値が等しい場合には、MREQは「終了要求」に設定されており、ハイブリッドECU50が制御学習値の復旧処理中の場合には、MREQは「復旧要求」に設定されている。
When the control learning values stored in the EEPROM of the
SSTSが「END」の場合(S502:Yes)、エンジンECU100は、ハイブリッドECU50とエンジンECU100とがEEPROMに記憶している制御学習値が等しいと判断し、MREQに「終了要求」を設定し(S504)、S506に処理を移行する。
When the SSTS is “END” (S502: Yes), the
S506、S508においてエンジンECU100は、MREQとEEPROM140のMEG領域に記憶しているハイブリッドECU50の制御学習値とをハイブリッドECU50に送信し、本処理を終了する。
In S506 and S508, the
(エンジンECU100の復旧処理)
図11に示すエンジンECU100における制御学習値の復旧処理は、図10のS500で実行される処理である。
(Recovery processing of engine ECU 100)
The recovery process of the control learning value in
エンジンECU100は、EEPROM140のMEG領域に記憶されているハイブリッドECU50の制御学習値と、RAM124のSEG領域に記憶されているハイブリッドECU50の制御学習値とが等しいか否かを判定する(S510)。RAM124のSEG領域には、図10のS490において、ハイブリッドECU50から受信したハイブリッドECU50のEEPROM80に記憶されている制御学習値が書き込まれている。
The
EEPROM140のMEG領域とRAM124のSEG領域とに記憶されている制御学習値が等しい場合(S510:Yes)、エンジンECU100は、ハイブリッドECU50およびエンジンECU100の両方が新品に交換されたか、ハイブリッドECU50およびエンジンECU100の両方でそれぞれ同じECUを抜き差ししたか、バッテリ2が交換されたために、EEPROM140のMEG領域とRAM124のSEG領域とに記憶されている制御学習値が等しいと判断する。
When the control learning values stored in the MEG area of
いずれの場合も、EEPROM80およびEEPROM140に記憶されている制御学習値を復旧する必要はないので、エンジンECU100はMREQに「終了要求」を設定し(S512)、本処理を終了する。
In any case, since it is not necessary to restore the control learning value stored in the
MEG領域とSEG領域とに記憶されている制御学習値が異なる場合(S510:No)、エンジンECU100は、バッテリ2は交換されておらず、ハイブリッドECU50およびエンジンECU100の少なくともいずれか一方で同じECUが抜き差しされたのでもなく、ハイブリッドECU50およびエンジンECU100の少なくともいずれか一方が交換されたと判断する。そして、エンジンECU100は、MEG領域に記憶されている制御学習値が初期値であるか否かを判定する(S514)。
When the control learning values stored in the MEG area and the SEG area are different (S510: No), the
ここで、図10のS496の判定でMEGSおよびSSTSの両方が「OK」ではない場合(S496:No)、つまり、MEGSおよびSSTSの少なくとも一方が「NG」である場合に図11の処理が実行されるので、MEGSおよびSSTSの両方が「NG」の場合もあり得る。 Here, when both MEGS and SSTS are not “OK” in the determination of S496 of FIG. 10 (S496: No), that is, when at least one of MEGS and SSTS is “NG”, the processing of FIG. 11 is executed. Therefore, both MEGS and SSTS may be “NG”.
そして、MEGSおよびSSTSの両方が「NG」であり、S510の判定が「No」の場合には、ハイブリッドECU50およびエンジンECU100の両方が異なるECUに交換されたと考えられる。ただし、ハイブリッドECU50およびエンジンECU100の両方が交換されるときに、ハイブリッドECU50またはエンジンECU100の一方が新品に交換され、他方が中古品に交換される可能性は低いと考えられる。
If both MEGS and SSTS are “NG” and the determination in S510 is “No”, it is considered that both
そこで、S510の判定が「No」の場合に実行されるS514またはS518の判定において、MEG領域に記憶されている制御学習値が初期値か、SEG領域に記憶されている制御学習値が初期値であれば、MEGSおよびSSTSの両方ではなく一方が「NG」であると判断する。これにより、エンジンECU100のMEG領域またはSEG領域に記憶されている制御学習値が初期値の場合、エンジンECU100またはハイブリッドECU50の一方で制御学習値の復旧処理を実行する。
Therefore, in the determination of S514 or S518 executed when the determination of S510 is “No”, the control learning value stored in the MEG area is the initial value, or the control learning value stored in the SEG area is the initial value. If so, it is determined that one of the MEGS and the SSTS is “NG”. Thereby, when the control learning value stored in the MEG area or SEG area of
したがって、MEG領域に記憶されている制御学習値が初期値の場合(S514:Yes)、エンジンECU100は、自ECUは交換により新たに装着されたと判断し、SEG領域に記憶されているハイブリッドECU50の制御学習値をMEG領域に書き込んで、交換前にハイブリッドECU50の制御学習値をEEPROM140に記憶していた記憶状態に復旧させ(S516)、前述したS512に処理を移行する。
Therefore, when the control learning value stored in the MEG area is the initial value (S514: Yes), the
MEG領域に記憶されている制御学習値が初期値ではない場合(S514:No)、エンジンECU100は、ハイブリッドECU50から取得してSEG領域に記憶している制御学習値が初期値であるか否かを判定する(S518)。SEG領域に記憶されている制御学習値が初期値の場合(S518:Yes)、エンジンECU100は、ハイブリッドECU50が交換により新たに装着されたと判断し、MREQに「復旧要求」を設定してハイブリッドECU50に制御学習値の復旧処理を要求し(S520)、本処理を終了する。
When the control learning value stored in the MEG area is not the initial value (S514: No), the
SEG領域に記憶されている制御学習値が初期値ではない場合(S518:No)、エンジンECU100は、MEGSおよびSSTSの両方が「NG」か否かを判定する(522)。S522の判定においてMEGSおよびSSTSの両方が「NG」の場合(S522:Yes)、エンジンECU100は、ハイブリッドECU50のEEPROM80およびエンジンECU100のEEPROM140のそれぞれの領域で記憶している制御学習値が初期値ではなく、ハイブリッドECU50のSRAM68およびエンジンECU100のSRAM128の両方に車両運転開始時にキーワードが書き込まれていないので、ハイブリッドECU50とエンジンECU100とのどちらかが交換されたか判定不能であると判断する(S524)。そして、エンジンECU100は、MREQに「終了要求」を設定し(S526)、本処理を終了する。
If the control learning value stored in the SEG area is not the initial value (S518: No), the
MEGSおよびSSTSの両方が「NG」ではない場合(S522:No)、MEGSまたはSSTSの一方が「NG」で他方は「OK」である。
そこで、MEGSおよびSSTSの両方が「NG」ではない場合(S522:No)、MEGSが「NG」か否かを判定し(S528)、MEGSが「NG」であれば(S528:Yes)、エンジンECU100は、自ECUは交換により新たに装着されたと判断し、RAM124のSEG領域に記憶しているハイブリッドECU50の制御学習値をEEPROM140のMEG領域に書き込み(S530)、MREQを「終了要求」に設定し(S532)、本処理を終了する。
When both MEGS and SSTS are not “NG” (S522: No), one of MEGS or SSTS is “NG” and the other is “OK”.
Therefore, if both MEGS and SSTS are not “NG” (S522: No), it is determined whether MEGS is “NG” (S528). If MEGS is “NG” (S528: Yes), the engine is determined. The
MEGSが「NG」ではない場合(S528:No)、つまりSSTSが「NG」の場合、エンジンECU100は、ハイブリッドECU50は交換により新たに装着されたと判断し、ハイブリッドECU50に制御学習値の復旧処理を実行させるためにMREQを「復旧要求」に設定し(S534)、本処理を終了する。
When MEGS is not “NG” (S528: No), that is, when SSTS is “NG”,
以上説明した本実施形態では、車両運転開始時のハイブリッドECU50のSRAM68あるいはエンジンECU100のSRAM128に、車両運転停止時に設定した所定のキーワードが記憶されているか否かを各ECUで判定することにより、車両運転停止時に設定した所定のキーワードが車両運転開始時にSRAMに記憶されていない場合、中古品か新品かに関わらず、自ECUが脱着された可能性があると自ECUだけで判定できる。
In the present embodiment described above, each ECU determines whether or not a predetermined keyword set when the vehicle operation is stopped is stored in the
さらに、SRAM68、128の記憶状態に基づいて判定する、自ECUが脱着された可能性があるか否かの判定結果と、ハイブリッドECU50の制御学習値を記憶するハイブリッドECU50のEEPROM80の所定領域の値と、ハイブリッドECU50の制御学習値を記憶するエンジンECU100のEEPROM140の所定領域の値との比較結果、あるいは初期値であるかの判定結果に基づいて、ハイブリッドECU50またはエンジンECU100のどちらが交換されたかをエンジンECU100が判定できる。
Further, the determination result based on the storage state of the
そして、ハイブリッドECU50が交換された場合には、エンジンECU100は、エンジンECU100が記憶している交換前のハイブリッドECU50の制御学習値を交換後のハイブリッドECU50のEEPROM80に書き込ませる。
When
一方、エンジンECU100が交換された場合には、交換後のエンジンECU100は、ハイブリッドECU50が記憶しているハイブリッドECU50の制御学習値を自ECUのEEPROM140に書き込む。
On the other hand, when
このように、自ECUが脱着された可能性があることを自ECUだけで判定し、エンジンECU100のように、書き換え可能な不揮発性記憶手段に他のECUの制御学習値を記憶することにより、他のECUが交換された場合に、エンジンECU100が記憶している他のECUの制御学習値により、交換後の他のECUに交換前に装着されていた他のECUの制御学習値を自動的に書き込ませることができる。
In this way, it is determined only by the own ECU that there is a possibility that the own ECU has been detached, and by storing the control learning values of other ECUs in the rewritable non-volatile storage means like the
これにより、交換前に装着されていた他のECUの書き換え可能な不揮発性記憶手段に記憶されていた制御学習値を、交換後の他のECUの書き換え可能な不揮発性記憶手段に書き込みツールを用いて人手で書き込む工数を省略できる。 Thereby, the control learning value stored in the rewritable non-volatile storage means of the other ECU mounted before the replacement is used in the rewritable non-volatile storage means of the other ECU after the replacement using the writing tool. This eliminates the need for manual writing.
本実施形態では、車両制御システム10が本発明の車両制御装置に相当し、ハイブリッドECU50およびエンジンECU100が本発明の電子制御装置に相当し、ハイブリッドECU50が本発明の第1電子制御装置に相当し、エンジンECU100が本発明の第2子制御装置に相当し、SRAM68およびSRAM128がバッテリから電力を常時供給される本発明の揮発性記憶手段に相当し、EEPROM80が本発明の書き換え可能な第1不揮発性記憶手段に相当し、EEPROM140が本発明の書き換え可能な第2不揮発性記憶手段に相当する。
In the present embodiment, the
そして、ハイブリッドECU50およびエンジンECU100は、本発明の揮発性記憶判定手段、脱着判定手段、書き込み手段および復旧手段が実行する機能を実現する。
また、エンジンECU100は、本発明の不揮発性記憶判定手段および書き込み要求手段が実行する機能を実現する。
The
The
また、図6のS400および図9のS460の処理が本発明の書き込み手段が実行する機能に相当し、図6のS410および図9のS470の処理が本発明の揮発性記憶判定手段が実行する機能に相当し、図6のS418および図9のS478の処理が本発明の脱着判定手段が実行する機能に相当し、図8のS454、図11のS516およびS530の処理が本発明の復旧手段が実行する機能に相当し、図11のS510、S514およびS518の処理が本発明の不揮発性記憶判定手段が実行する機能に相当し、図11のS520およびS534の処理が本発明の書き込み要求手段が実行する機能に相当する。 6 corresponds to the function executed by the writing means of the present invention, and the processing of S410 of FIG. 6 and S470 of FIG. 9 is executed by the volatile memory determining means of the present invention. 6 corresponds to the function executed by the attachment / detachment determination means of the present invention, and the processing of S454 of FIG. 8, S516 and S530 of FIG. 11 corresponds to the recovery means of the present invention. 11 corresponds to the function executed by the nonvolatile memory determining means of the present invention, and the processing of S520 and S534 of FIG. 11 is the write request means of the present invention. Corresponds to the function to be executed.
[他の実施形態]
上記実施形態では、ハイブリッドECU50の制御学習値を、本発明の電子制御装置(ECU)が書き換え可能な不揮発性記憶手段(EEPROM)に記憶する車両情報とした。制御学習値以外にも、自ECUまたは自ECUが制御する制御対象の故障診断情報、あるいは車両識別情報を復旧対象の車両情報としてECUがEEPROMに記憶してもよい。
[Other Embodiments]
In the above embodiment, the control learning value of the
また、上記実施形態では、エンジンECU100がハイブリッドECU50の制御学習値を記憶し、ハイブリッドECU50が交換された場合に、エンジンECU100が記憶している交換前のハイブリッドECU50の制御学習値を交換により装着されたハイブリッドECU50に書き込ませた。
Further, in the above embodiment, when the
これに対し、ハイブリッドECU50がエンジンECU100の車両情報を記憶し、エンジンECU100が交換された場合に、ハイブリッドECU50が記憶している交換前のエンジンECU100の車両情報を交換により装着されたエンジンECU100に書き込ませてもよい。この場合、ハイブリッドECU50のEEPROM80が第2不揮発性記憶手段に相当し、エンジンECU100のEEPROM140が第1不揮発性記憶手段に相当する。
On the other hand, when the
また、ハイブリッドECU50とエンジンECU100とが互いに相手の車両情報を記憶し、一方のECUが交換された場合に、他方のECUが記憶している交換前の一方のECUの車両情報を交換により装着された一方のECUに書き込ませてもよい。この場合、エンジンECU100は、第2不揮発性記憶手段に加え、エンジンECU100の車両情報を記憶する書き換え可能な第3不揮発性記憶手段を備える必要がある。
Further, when the
一方ハイブリッドECU50は、第1不揮発性記憶手段に加え、エンジンECU100の車両情報を記憶する書き換え可能な第4不揮発性記憶手段、ならびに、上記実施形態のエンジンECU100と同様に、不揮発性記憶判定手段および書き込み要求手段を備える必要がある。
On the other hand, the
尚、エンジンECU100の第2不揮発性記憶手段であるEEPROM140が第3不揮発性記憶手段を兼ねてもよいし、ハイブリッドECU50の第1不揮発性記憶手段であるEEPROM80が第4不揮発性記憶手段を兼ねてもよい。
The
また、2個のECUだけでなく、3個以上のECUの間で、一部のECUが他のECUの制御学習値等の車両に関する車両情報のコピーを記憶しておき、他のECUが交換された場合に、一部のECUが記憶している他のECUの車両情報を他のECUに書き込ませてもよい。 In addition to two ECUs, some ECUs store a copy of vehicle information related to vehicles such as control learning values of other ECUs, and other ECUs exchange them. In such a case, vehicle information of other ECUs stored in some ECUs may be written in other ECUs.
上記実施形態では、一方のECUが交換された場合に、他方のECUが記憶している交換前の一方のECUの車両情報を交換により装着された一方のECUに書き込ませた。
これに対し、自ECUが交換されたと判定したECUは、自ECUの車両情報を記憶していると予め設定されている他のECUに、記憶している車両情報を送信するように要求してもよい。
In the above embodiment, when one ECU is exchanged, the vehicle information of one ECU before exchange stored in the other ECU is written in one ECU mounted by exchange.
On the other hand, the ECU that has determined that the own ECU has been exchanged requests other ECUs that are preset to store the vehicle information of the own ECU to transmit the stored vehicle information. Also good.
上記実施形態では、ハイブリッドECU50が交換されたことを交換により装着されたハイブリッドECU50から通知されたエンジンECU100が、EEPROM140に記憶している交換前のハイブリッドECU50の制御学習値を交換後のハイブリッドECU50に送信することにより、交換後のハイブリッドECU50が、交換前のハイブリッドECU50の制御学習値を自動的に取得して自ECUのEEPROM80に書き込んだ。
In the above-described embodiment, the
これに対し、インジケータの点灯、またはスピーカからの音声により、交換により装着されたハイブリッドECU50が交換を報知し、報知を受けたオペレータが書き込みツールを用いて、交換前のハイブリッドECU50が記憶していた制御学習値、またはハイブリッドECU50の制御学習値の基準値をEEPROM80に書き込んでもよい。
On the other hand, the
また、車両情報を記憶する書き換え可能な不揮発性記憶手段はEEPROMに限るものではなく、書き換え可能で不揮発性であればどのような記憶手段でもよい。
このように、本発明は、上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲で種々の実施形態に適用可能である。
The rewritable nonvolatile storage means for storing the vehicle information is not limited to the EEPROM, and any storage means may be used as long as it is rewritable and nonvolatile.
As described above, the present invention is not limited to the above-described embodiment, and can be applied to various embodiments without departing from the gist thereof.
2:バッテリ、10:車両制御システム、50:ハイブリッドECU(電子制御装置、揮発性記憶判定手段、脱着判定手段、書き込み手段、復旧手段)、68:SRAM(揮発性記憶手段)、80:EEPROM(第1不揮発性記憶手段)、100:エンジンECU(電子制御装置、揮発性記憶判定手段、不揮発性記憶判定手段、脱着判定手段、書き込み手段、書き込み要求手段、復旧手段)、128:SRAM(揮発性記憶手段)、140:EEPROM(第2不揮発性記憶手段) 2: battery, 10: vehicle control system, 50: hybrid ECU (electronic control unit, volatile memory determination means, desorption determination means, writing means, recovery means), 68: SRAM (volatile storage means), 80: EEPROM ( First nonvolatile memory means), 100: engine ECU (electronic control unit, volatile memory judgment means, nonvolatile memory judgment means, detachment judgment means, writing means, write request means, recovery means), 128: SRAM (volatile) Storage means), 140: EEPROM (second non-volatile storage means)
Claims (8)
車載のバッテリから電力を常時供給される揮発性記憶手段と、
前記揮発性記憶手段の記憶状態を判定する揮発性記憶判定手段と、
前記揮発性記憶手段の記憶状態がデータが記憶されていない初期状態であると前記揮発性記憶判定手段が判定すると、自装置が脱着された可能性があると判定する脱着判定手段と、
を備えることを特徴とする電子制御装置。 In an electronic control device mounted on a vehicle,
Volatile storage means that is always supplied with power from an in-vehicle battery,
Volatile memory determining means for determining the storage state of the volatile storage means;
When the volatile memory determining means determines that the storage state of the volatile storage means is an initial state in which no data is stored, a detachment determining means that determines that there is a possibility that the device has been detached;
An electronic control device comprising:
前記揮発性記憶判定手段は、前記車両の運転が開始されるときに前記揮発性記憶手段に前記所定データが記憶されていない場合、前記揮発性記憶手段は前記初期状態であると判定する、
ことを特徴とする請求項1に記載の電子制御装置。 Writing means for writing predetermined data to the volatile storage means when the operation of the vehicle is stopped;
The volatile memory determining means determines that the volatile memory means is in the initial state when the predetermined data is not stored in the volatile memory means when the driving of the vehicle is started.
The electronic control device according to claim 1.
複数の前記電子制御装置のうち、第1電子制御装置は、前記車両に関する車両情報を記憶する書き換え可能な第1不揮発性記憶手段を備え、
複数の前記電子制御装置のうち第2電子制御装置は、
前記第1電子制御装置から取得する前記第1不揮発性記憶手段に記憶されている前記車両情報を記憶する書き換え可能な第2不揮発性記憶手段と、
自装置の前記第2不揮発性記憶手段に記憶されている前記車両情報の記憶状態と、前記第1電子制御装置から取得する前記第1不揮発性記憶手段に記憶されている前記車両情報の記憶状態とに基づいて、前記第1不揮発性記憶手段および前記第2不揮発性記憶手段の記憶状態を判定する不揮発性記憶判定手段と、
を備え、
前記第2電子制御装置の前記揮発性記憶判定手段は、自装置の前記揮発性記憶手段に対する記憶状態の判定結果と、前記第1電子制御装置から取得する前記第1電子制御装置の前記揮発性記憶判定手段の判定結果とに基づいて、前記第1電子制御装置および前記第2電子制御装置の前記揮発性記憶手段の記憶状態を判定し、
前記第2電子制御装置の前記脱着判定手段は、前記第1電子制御装置または前記第2電子制御装置の一方の前記揮発性記憶手段が前記初期状態であると自装置の前記揮発性記憶判定手段が判定し、前記第1不揮発性記憶手段に記憶されている前記車両情報と前記第2不揮発性記憶手段に記憶されている前記車両情報とが異なると前記不揮発性記憶判定手段が判定すると、前記揮発性記憶手段が前記初期状態である方が交換された前記電子制御装置であると判定する、
ことを特徴とする車両制御システム。 In the vehicle control system comprising a plurality of the electronic control devices according to claim 1 or 2, which are communicably connected to each other.
Of the plurality of electronic control devices, the first electronic control device includes rewritable first nonvolatile storage means for storing vehicle information relating to the vehicle,
The second electronic control device among the plurality of electronic control devices is:
Rewritable second nonvolatile storage means for storing the vehicle information stored in the first nonvolatile storage means obtained from the first electronic control unit;
The storage state of the vehicle information stored in the second nonvolatile storage means of the own device and the storage state of the vehicle information stored in the first nonvolatile storage means acquired from the first electronic control device And non-volatile storage determination means for determining storage states of the first nonvolatile storage means and the second nonvolatile storage means,
With
The volatile memory determination unit of the second electronic control device is configured to determine a storage state determination result of the device relative to the volatile storage unit and the volatile property of the first electronic control device acquired from the first electronic control device. Based on the determination result of the storage determination means, the storage state of the volatile storage means of the first electronic control device and the second electronic control device is determined,
The desorption determination unit of the second electronic control unit is configured such that the volatile storage determination unit of the device itself is in the initial state when one of the volatile storage units of the first electronic control unit or the second electronic control unit is in the initial state. And when the non-volatile memory determining means determines that the vehicle information stored in the first non-volatile storage means is different from the vehicle information stored in the second non-volatile storage means, Determining that the volatile storage means in the initial state is the replaced electronic control unit;
A vehicle control system.
前記第1電子制御装置が交換されたと自装置の前記脱着判定手段が判定すると、前記第2不揮発性記憶手段に記憶されている前記車両情報を前記第1電子制御装置に送信し、送信した前記車両情報を前記第1不揮発性記憶手段に書き込むことを前記第1電子制御装置に要求する書き込み要求手段と、
前記第2電子制御装置が交換されたと自装置の前記脱着判定手段が判定すると、前記第1電子制御装置から取得する前記第1不揮発性記憶手段に記憶されている前記車両情報を前記第2不揮発性記憶手段に書き込む復旧手段と、
を備え、
前記第1電子制御装置は、前記第2電子制御装置から書き込み要求と前記車両情報とを受信すると、受信した前記車両情報を前記第1不揮発性記憶手段に書き込む復旧手段を備える、
ことを特徴とする請求項3または4に記載の車両制御システム。 The second electronic control unit is
When the desorption determination unit of the own device determines that the first electronic control unit has been replaced, the vehicle information stored in the second non-volatile storage unit is transmitted to the first electronic control unit and transmitted. Write request means for requesting the first electronic control unit to write vehicle information to the first nonvolatile storage means;
When the desorption determination unit of the own device determines that the second electronic control unit has been replaced, the vehicle information stored in the first non-volatile storage unit acquired from the first electronic control unit is stored in the second non-volatile unit. Recovery means for writing to the sex storage means;
With
The first electronic control unit includes recovery means for writing the received vehicle information to the first nonvolatile storage unit when receiving a write request and the vehicle information from the second electronic control unit,
The vehicle control system according to claim 3 or 4, wherein
前記第1電子制御装置は、
前記第2電子制御装置から取得する前記第3不揮発性記憶手段に記憶されている前記車両情報を記憶する書き換え可能な第4不揮発性記憶手段と、
自装置の前記第4不揮発性記憶手段に記憶されている前記車両情報の記憶状態と、前記第2電子制御装置から取得する前記第3不揮発性記憶手段に記憶されている前記車両情報の記憶状態とに基づいて、前記第3不揮発性記憶手段および前記第4不揮発性記憶手段の記憶状態を判定する不揮発性記憶判定手段と、
を備え、
前記第1電子制御装置の前記揮発性記憶判定手段は、自装置の前記揮発性記憶手段に対する記憶状態の判定結果と、前記第2電子制御装置から取得する前記第2電子制御装置の前記揮発性記憶判定手段の判定結果とに基づいて、前記第1電子制御装置および前記第2電子制御装置の前記揮発性記憶手段の記憶状態を判定し、
前記第1電子制御装置の前記脱着判定手段は、前記第1電子制御装置または前記第2電子制御装置の一方の前記揮発性記憶手段が前記初期状態であると自装置の前記揮発性記憶判定手段が判定し、前記第3不揮発性記憶手段に記憶されている前記車両情報と前記第4不揮発性記憶手段に記憶されている前記車両情報とが異なると自装置の前記不揮発性記憶判定手段が判定すると、前記揮発性記憶手段が前記初期状態である方が交換された前記電子制御装置であると判定する、
ことを特徴とする請求項3から5のいずれか一項に記載の車両制御システム。 The second electronic control unit includes rewritable third nonvolatile storage means for storing vehicle information related to the vehicle,
The first electronic control unit includes:
Rewritable fourth non-volatile storage means for storing the vehicle information stored in the third non-volatile storage means obtained from the second electronic control unit;
The storage state of the vehicle information stored in the fourth nonvolatile storage means of the own device and the storage state of the vehicle information stored in the third nonvolatile storage means acquired from the second electronic control unit And non-volatile memory determination means for determining the storage states of the third nonvolatile memory means and the fourth nonvolatile memory means,
With
The volatile memory determination unit of the first electronic control unit is configured to determine a determination result of a storage state of the own device with respect to the volatile storage unit, and the volatile property of the second electronic control unit acquired from the second electronic control unit. Based on the determination result of the storage determination means, the storage state of the volatile storage means of the first electronic control device and the second electronic control device is determined,
The desorption determination unit of the first electronic control unit is configured such that the volatile storage determination unit of the device itself is in a state where one of the volatile storage units of the first electronic control unit or the second electronic control unit is in the initial state. If the vehicle information stored in the third non-volatile storage means is different from the vehicle information stored in the fourth non-volatile storage means, the non-volatile storage determination means of the device itself determines Then, the volatile storage means determines that the one in the initial state is the replaced electronic control device,
The vehicle control system according to any one of claims 3 to 5, wherein
前記第2電子制御装置が交換されたと自装置の前記脱着判定手段が判定すると、前記第4不揮発性記憶手段に記憶されている前記車両情報を前記第2電子制御装置に送信し、送信した前記車両情報を前記第3不揮発性記憶手段に書き込むことを前記第2電子制御装置に要求する書き込み要求手段と、
前記第1電子制御装置が交換されたと自装置の前記脱着判定手段が判定すると、前記第2電子制御装置から取得する前記第3不揮発性記憶手段に記憶されている前記車両情報を前記第4不揮発性記憶手段に書き込む復旧手段と、
を備え、
前記第2電子制御装置は、前記第1電子制御装置から書き込み要求と前記車両情報とを受信すると、受信した前記車両情報を前記第3不揮発性記憶手段に書き込む復旧手段を備える、
ことを特徴とする請求項6または7に記載の車両制御システム。 The first electronic control unit includes:
When the desorption determination unit of the own device determines that the second electronic control unit has been replaced, the vehicle information stored in the fourth non-volatile storage unit is transmitted to the second electronic control unit and transmitted. Write request means for requesting the second electronic control unit to write vehicle information to the third nonvolatile storage means;
When the desorption determination unit of the own device determines that the first electronic control unit has been replaced, the vehicle information stored in the third non-volatile storage unit acquired from the second electronic control unit is stored in the fourth non-volatile unit. Recovery means for writing to the sex storage means;
With
When the second electronic control unit receives a write request and the vehicle information from the first electronic control unit, the second electronic control unit includes a recovery unit that writes the received vehicle information into the third nonvolatile storage unit.
8. The vehicle control system according to claim 6 or 7, wherein:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011063121A JP5617714B2 (en) | 2011-03-22 | 2011-03-22 | Vehicle control system using electronic control unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011063121A JP5617714B2 (en) | 2011-03-22 | 2011-03-22 | Vehicle control system using electronic control unit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012197046A true JP2012197046A (en) | 2012-10-18 |
JP5617714B2 JP5617714B2 (en) | 2014-11-05 |
Family
ID=47179716
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011063121A Active JP5617714B2 (en) | 2011-03-22 | 2011-03-22 | Vehicle control system using electronic control unit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5617714B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105980193A (en) * | 2013-12-11 | 2016-09-28 | 丰田自动车株式会社 | Controller for vehicle |
JP6072870B1 (en) * | 2015-09-11 | 2017-02-01 | ニチユ三菱フォークリフト株式会社 | Setting device, vehicle, setting method and setting program |
KR20190088582A (en) * | 2018-01-18 | 2019-07-29 | 주식회사 베로센 | Apparatus and metod for controlling electrical energy in two or three wheeled vehicle |
US20210174614A1 (en) * | 2019-12-06 | 2021-06-10 | Toyota Jidosha Kabushiki Kaisha | Vehicle control device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5394327A (en) * | 1992-10-27 | 1995-02-28 | General Motors Corp. | Transferable electronic control unit for adaptively controlling the operation of a motor vehicle |
JP2000118355A (en) * | 1998-10-14 | 2000-04-25 | Toyota Motor Corp | Anti-theft device for vehicle |
-
2011
- 2011-03-22 JP JP2011063121A patent/JP5617714B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5394327A (en) * | 1992-10-27 | 1995-02-28 | General Motors Corp. | Transferable electronic control unit for adaptively controlling the operation of a motor vehicle |
JP2000118355A (en) * | 1998-10-14 | 2000-04-25 | Toyota Motor Corp | Anti-theft device for vehicle |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105980193A (en) * | 2013-12-11 | 2016-09-28 | 丰田自动车株式会社 | Controller for vehicle |
CN105980193B (en) * | 2013-12-11 | 2018-01-09 | 丰田自动车株式会社 | Controller for vehicle |
JP6072870B1 (en) * | 2015-09-11 | 2017-02-01 | ニチユ三菱フォークリフト株式会社 | Setting device, vehicle, setting method and setting program |
KR20190088582A (en) * | 2018-01-18 | 2019-07-29 | 주식회사 베로센 | Apparatus and metod for controlling electrical energy in two or three wheeled vehicle |
KR102020566B1 (en) * | 2018-01-18 | 2019-11-05 | 주식회사 블루윙모터스 | Apparatus and metod for controlling electrical energy in two or three wheeled vehicle |
US20210174614A1 (en) * | 2019-12-06 | 2021-06-10 | Toyota Jidosha Kabushiki Kaisha | Vehicle control device |
Also Published As
Publication number | Publication date |
---|---|
JP5617714B2 (en) | 2014-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018070156A1 (en) | Software update device, software update method, and software update system | |
JP5617714B2 (en) | Vehicle control system using electronic control unit | |
JP4345860B2 (en) | Vehicle memory management device | |
JP4442617B2 (en) | Electronic control unit | |
US20200162273A1 (en) | Communication system for vehicle and method for controlling the same | |
JPWO2018078456A1 (en) | Control device | |
JP5360123B2 (en) | In-vehicle electronic control device, diagnostic tool and diagnostic system | |
JP2018037193A (en) | Temperature raising system of battery | |
JP2006340560A (en) | Battery state supervisory system, battery state supervising method, and battery supervising device | |
JP2017051036A (en) | Vehicular power supply device and vehicle control device | |
JP2012241645A (en) | Electronic control apparatus for vehicle | |
JP2007152983A (en) | Power control device for vehicle | |
JP6267629B2 (en) | Power storage management system for construction machinery | |
JP4151534B2 (en) | Vehicle communication device and data communication system | |
JP2009163552A (en) | Vehicle power supply management system, vehicle power supply management apparatus and charge control method | |
US20190054871A1 (en) | Stop control circuit | |
US20110098904A1 (en) | Data write device and data write method | |
JP6003728B2 (en) | Diagnostic information collection system | |
CN111198775A (en) | Method and system for correcting abnormal EEPROM storage state and motor vehicle | |
JP4538852B2 (en) | Vehicle control device | |
JP5781734B2 (en) | Idling stop device and battery deterioration notification method | |
JP5407757B2 (en) | Electronic device, power management device, and control method | |
KR102281650B1 (en) | Battery sensor reset system for vehicle and method for controlling the same | |
JP2007162586A (en) | On-vehicle control device | |
JP4353126B2 (en) | Vehicle state determination device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130730 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140515 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140520 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140616 |
|
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: 20140819 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140901 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5617714 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
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 |
|
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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |