JP3979202B2 - In-vehicle communication system - Google Patents

In-vehicle communication system Download PDF

Info

Publication number
JP3979202B2
JP3979202B2 JP2002197535A JP2002197535A JP3979202B2 JP 3979202 B2 JP3979202 B2 JP 3979202B2 JP 2002197535 A JP2002197535 A JP 2002197535A JP 2002197535 A JP2002197535 A JP 2002197535A JP 3979202 B2 JP3979202 B2 JP 3979202B2
Authority
JP
Japan
Prior art keywords
specification information
vehicle communication
communication device
stored
vehicle
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 - Fee Related
Application number
JP2002197535A
Other languages
Japanese (ja)
Other versions
JP2004040649A (en
Inventor
圭一 吉野
伸一 妹尾
洋 本田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Toyota Motor Corp
Original Assignee
Denso Corp
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp, Toyota Motor Corp filed Critical Denso Corp
Priority to JP2002197535A priority Critical patent/JP3979202B2/en
Publication of JP2004040649A publication Critical patent/JP2004040649A/en
Application granted granted Critical
Publication of JP3979202B2 publication Critical patent/JP3979202B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
  • Small-Scale Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、通信ラインを介して複数の車載通信装置が通信する車載通信システム関する。
【0002】
【従来の技術および発明が解決しようとする課題】
従来、車両に搭載されて、複数の電子制御装置(以下、ECUという)が通信ラインを介して接続され、相互に通信できるようにした車載通信システムが知られている。
【0003】
このような車載通信システムにおいて、車両の仕様毎に異なる動作を行うECUを用いる場合には、車両の仕様を含む仕様情報を予め記憶しておき、当該ECUに対してこの仕様情報を送信してこのECUに対して仕様情報に基づいて行うべき動作を決定させるECU(以下、特定ECUという)が用いられる。
【0004】
このような特定ECUでは、車両が市場に出てから特定ECUを交換する事態に対処するために、メモリに仕様毎に異なる仕様情報を記憶させておく必要がある。これに伴い、特定ECUの生産、在庫管理を行う上で、特定ECUに対して、仕様毎に異なる品番を与えることが必要となる。ここで、特定ECUを品番毎に生産、在庫管理を行うと、この品番毎に生産管理、在庫管理を必要とするため、過大な生産費用、在庫費用がかかる。
【0005】
本発明は、上記点に鑑み、車載通信装置の品番の数を低減できるようにした車載通信システムおよび車載通信装置を提供することを目的とする。
【0010】
【課題を解決するための手段】
本発明は、上記目的を達成するために、請求項に記載の発明では、車両の仕様情報を記憶する第1の記憶手段を有する第1の車載通信装置と、この第1の車載通信装置との間で通信ラインを介して通信できる第2の車載通信装置とを有する車載通信システムであって、第1の車載通信装置は、仕様情報が第1の記憶手段に記憶されているか否かを判定する情報判定手段と、第1の記憶手段に仕様情報が記憶されていないことを情報判定手段が判定したとき、第2の車載通信装置から送信される仕様情報を受信するとともに、この受信された仕様情報を第1の記憶手段に記憶させる第1の制御手段と、第1の記憶手段に記憶された仕様情報に基づき動作する第1の動作手段と、を有することを特徴とする。
【0011】
この発明によれば、第1の車載通信装置を交換して自身の第1の記憶手段に仕様情報が記憶されていなくても、第1の車載通信装置は、第2の車載通信装置から送信される仕様情報を自身の第1の記憶手段に記憶してこの記憶した仕様情報に基づき動作するため、第1の車載通信装置に対し仕様情報毎に品番を与える必要が無く、第1の車載通信装置の品番の数を低減できる。また、請求項1に記載の発明では、第2の車載通信装置は、仕様情報を記憶する第2の記憶手段と、第2の記憶手段に記憶されている仕様情報が異常であるか否かを判定する異常判定手段と、第1の車載通信装置から送信される仕様情報が受信されたか否かを判定する受信判定手段と、第1の車載通信装置から送信される仕様情報が受信されたことを受信判定手段が判定し、かつ第2の記憶手段に記憶されている仕様情報が異常であることを異常判定手段が判定したとき、第1の車載通信装置から送信される仕様情報を第2の記憶手段に記憶させる第2の制御手段と、第2の記憶手段に記憶された仕様情報に基づき動作する第2の動作手段と、を有することを特徴とする。このように、第2の記憶手段に記憶されている仕様情報が異常であることが判定されても、第2の動作手段は、第1の車載通信装置から送信される仕様情報を自身の第2の記憶手段に記憶してこの記憶した仕様情報に基づいて、正常に動作することができる。
【0012】
この場合、請求項に記載の発明のように、第2の動作手段としては、仕様毎に異なる複数の制御プログラムを備えており、記憶手段に記憶された仕様情報に基づき複数の制御プログラムから1つのを決定し、決定した制御プログラムを実行するものとすることができる
【0013】
また、請求項に記載の発明のように、第1の動作手段としては、第1の記憶手段に記憶された仕様情報を第2の車載通信装置に送信するように構成することができる。また、請求項4に記載の発明のように、第1の車載通信装置への電力供給が開始されたとき、情報判定手段が、仕様情報が第1の記憶手段に記憶されているか否かを判定するように構成することができる。また、請求項5に記載の発明のように、第1、第2の記憶手段としては、不揮発性メモリを用いることが好適である。これにより、第1、第2の車載通信装置への電力供給が行われていないときでも、仕様情報の記憶を保持できる。
【0016】
【発明の実施の形態】
図1に、本発明の一実施形態の車載通信システムを示す。図1は、車載通信システムの構成を示す図である。
【0017】
車載通信システムは、図1に示すように、ECU100〜130を有しており、これらECU100〜130は、相互に通信ラインRを介して通信できるように構成されている。
【0018】
以下、車載通信システムのECU100、130の構成について図2(a)、(b)を用いて説明する。図2(a)は、ECU100の概略電気回路構成を示すブロック図、図2(b)は、ECU130の概略電気回路構成を示すブロック図である。
【0019】
ECU100は、図2(a)に示すように、マイクロコンピュータ10、レシーバ/ドライバ回路(R/D回路)11、RAM12、ROM23および不揮発性メモリ14を有している。
【0020】
レシーバ/ドライバ回路11は、通信ラインRを介してECU110〜130から出力されるデータをマイクロコンピュータ10に出力するとともに、マイクロコンピュータ10から出力されるデータを通信ラインRを介してECU110〜130に出力する。
【0021】
マイクロコンピュータ10は、ECU110〜130の相互の通信の中継を行うとともに、後述するように、車両の仕様を含む仕様情報をECU110〜130に対して出力するための処理を実行する。この仕様情報は、図3に示すように、例えば、米国、独国など車両の仕向先、車種を示す車両データ、車両のグレードなどを含む。
【0022】
RAM12は、マイクロコンピュータ10の処理に伴うデータを記憶しており、ROM13は、マイクロコンピュータ10の制御プログラムを記憶する。不揮発性メモリ14は、EEPROMであって、仕様情報を格納すべきエリア(以下、格納エリア14aという)を有しており、この格納エリア14aには、仕様情報自体が誤り検査符号とともに記憶される。なお、この誤り検査符号は、後述するように、仕様情報の正常/異常の判定、仕様情報の記憶の有無の判定に用いられる。
【0023】
さらに、ECU130は、図2(b)に示すように、マイクロコンピュータ20、レシーバ/ドライバ回路(R/D回路)21、入出力回路22、ROM13、RAM24および不揮発性メモリ25を有している。
【0024】
レシーバ/ドライバ回路21は、通信ラインRを介してECU100〜120から出力されるデータをマイクロコンピュータ20に出力するとともに、マイクロコンピュータ20から出力されるデータを通信ラインRを介してECU110〜120に出力する。
【0025】
マイクロコンピュータ20は、後述するように、速度などの計器の制御プログラムA〜Dのうち、1つの制御プログラムを仕様情報に基づき選択して実行するするとともに、車両の仕様を含む仕様情報をECU110〜120に対して出力するための処理を実行する。
【0026】
入出力回路22は、各種計器の制御に必要な各種センサ(例えば、車速センサ)からの出力信号をマイクロコンピュータ20に出力するとともに、各種計器の制御に必要な制御信号をマイクロコンピュータ20から受け、この制御信号を各種計器のアクチュエータ(例えば、ステッピングモータ)に出力する。
【0027】
RAM24は、マイクロコンピュータ20の処理に伴うデータを記憶しており、ROM23は、各種計器を制御するための制御プログラムA〜Dを記憶している。制御プログラムA〜Dとしては、複数の仕様それぞれに対応した異なるコンピュータプログラムが採用されている。また、不揮発性メモリ25は、EEPROMであって、不揮発性メモリ14と同様、仕様情報を記憶すべき格納エリア25aを有しており、この格納エリア25aには、仕様情報自体が誤り検査符号とともに記憶される。
【0028】
次に、本実施形態の作動について図4(a)、図4(b)を用いて説明する。図4(a)は、ECU100のマイクロコンピュータ10の処理を示すフローチャート、図4(b)は、ECU130のマイクロコンピュータ20の処理を示すフローチャートである。
【0029】
先ず、マイクロコンピュータ10は、図4(a)に示すフローチャートに従って、コンピュータプログラムを実行する。このコンピュータプログラムは、ECU100への給電開始後(すなわち、電源on)にて実行が開始される。また、マイクロコンピュータ20は、図4(b)に示すフローチャートに従って、コンピュータプログラムを実行する。このコンピュータプログラムは、ECU130への給電開始後にて実行が開始される。
【0030】
先ず、ECU100、130の各々の不揮発性メモリ14、25に仕様情報(誤り検査符号とともに)が記憶されており、ECU100、130の各々が正常に動作する通常動作について説明する。
【0031】
先ず、ECU100のマイクロコンピュータ10が、不揮発性メモリ14に仕様情報が記憶されているか否かを判定する(ステップ200)。例えば、マイクロコンピュータ10は、不揮発性メモリ14の格納エリア14a(これは、仕様情報を記憶すべきエリア)からデータを呼出し、この呼出したデータに対し誤り検査を行う。この検査によりデータが正常と判定されたならば、不揮発性メモリ14に仕様情報が記憶されているとしてYESと判定して、格納エリア14aから呼出したデータに基づき、仕様情報を一定期間毎にレシーバ/ドライバ回路11から送信させる(ステップ230)。なお、仕様情報の送信は、ECU100への給電が終了(すなわち電源Off)する迄行われる。
【0032】
このように送信された仕様情報が通信ラインRを介してECU130に送られ、この仕様情報をECU130のレシーバ/ドライバ回路21を介してマイクロコンピュータ20が受信すると、このマイクロコンピュータ20が仕様情報を受信したとしてステップ300でYESと判定する。
【0033】
ここで、マイクロコンピュータ20は、不揮発性メモリ25の格納エリア25a(これは、仕様情報を記憶すべきエリア)に記憶された仕様情報が異常であるか否か判定する(ステップ320)。例えば、格納エリア25aから呼出したデータに対し誤り検査を行う。この検査によりデータが正常と判定されたならば、不揮発性メモリ14に正常な仕様情報が記憶されているとする。この場合、不揮発性メモリ25に記憶された仕様情報が正常であるとして、ステップ320でNOと判定する。
【0034】
これに伴い、マイクロコンピュータ20は、ROM23に記憶された制御プログラムA〜Dのうち仕様情報に該当する制御プログラムを決定するとともに、この決定した制御プログラムを実行する。このことにより、各種センサからの出力信号に基づき、仕様情報に対応して各種計器のアクチュエータを制御することになる(ステップ340)。
【0035】
次に、ECU100〜130のうちECU100を新品に交換した場合の作動について説明する。この場合、ECU130の不揮発性メモリ25には仕様情報が記憶されているものの、ECU100の不揮発性メモリ14には仕様情報が記憶されていない。
【0036】
このため、ステップ200において、ECU100のマイクロコンピュータ10が、不揮発性メモリ14の格納エリア14aから呼出したデータに対し誤り検査を行うと、データが異常と判定することになる。この場合、不揮発性メモリ14に仕様情報が記憶されていないとしてNOと判定することになる。これに伴い、マイクロコンピュータ10は、ECU130に対する仕様情報の送信を行わない。
【0037】
従って、ECU130のマイクロコンピュータ20は、ECU100から仕様情報を受信できないので、ステップ300でNOと判定する。これに加えて、マイクロコンピュータ20は、不揮発性メモリ25の格納エリア25aから呼び出したデータを基に、仕様情報をレシーバ/ドライバ回路21から送信させる(ステップ310)。
【0038】
このように送信された仕様情報が通信ラインRを介してECU100に送られ、この仕様情報をレシーバ/ドライバ回路11を介してマイクロコンピュータ10が受信すると(ステップ210)、このマイクロコンピュータ10が、不揮発性メモリ14の格納エリア14aに対し、仕様情報を誤り検査符号とともに記憶させるとともに(ステップ220)、この仕様情報を一定期間毎にレシーバ/ドライバ回路11から送信させる(ステップ230)。
【0039】
なお、ECU130のマイクロコンピュータ20は、ステップ320において、ECU100からの仕様情報の受信が有り、かつ、不揮発性メモリ25に記憶された仕様情報が正常であるか否かの判定を行うものの、上述のごとく、ECU100から仕様情報を受信できないので、NOと判定する。これに伴い、マイクロコンピュータ20は、不揮発性メモリ25の格納エリア15aから仕様情報を呼出すとともに、ROM23に記憶された制御プログラムA〜Dのうち、当該仕様情報に該当する制御プログラムを決定するとともに、この決定した制御プログラムを実行する。このことにより、仕様情報に対応して各種計器のアクチュエータを制御することになる(ステップ340)。
【0040】
次に、ECU100〜130のうちECU130を新品に交換した場合の作動について説明する。この場合、ECU130の不揮発性メモリ25には仕様情報が記憶されていなく、ECU100の不揮発性メモリ14には仕様情報が記憶されている。
【0041】
このため、ステップ200において、ECU100のマイクロコンピュータ10は、不揮発性メモリ14の格納エリア14aから呼出したデータに対し誤り検査を行うと、データが正常と判定することになる。この場合、仕様情報が記憶されているとしてYESと判定するとともに、格納エリア14aから呼出したデータに基づき、仕様情報を一定期間毎にレシーバ/ドライバ回路11から送信させる(ステップ230)。
【0042】
このように送信される仕様情報が通信ラインRを介してECU130に送られ、この仕様情報をECU130のレシーバ/ドライバ回路21を介してマイクロコンピュータ20が受信すると、このマイクロコンピュータ20が仕様情報を受信したとしてステップ300でYESと判定する。
【0043】
これに加えて、マイクロコンピュータ20は、不揮発性メモリ25の格納エリア25aから呼出したデータに対し誤り検査を行い正常か否かを判定するものの、ECU130が、新品に交換されて仕様情報が記憶されていない状態であるため、誤り検査にて異常であるとしてステップ320でYESと判定する。この場合、不揮発性メモリ25の格納エリア25aに対し、ECU100から送信される仕様情報を誤り検査符号とともに記憶させるとともに(ステップ330)、ROM23に記憶された制御プログラムA〜Dのうち、当該仕様情報に該当する制御プログラムを決定して実行する(ステップ340)。
【0044】
以上説明したように本実施形態によれば、ECU100(或いは、ECU130)を交換して不揮発性メモリ14(或いは、不揮発性メモリ25)仕様情報が記憶されていなくても、ECU130(或いは、ECU100)から送信される仕様情報を不揮発性メモリ14(或いは、不揮発性メモリ25)に記憶させてこの記憶された仕様情報に基づき動作するため、ECU100(或いは、ECU130)に対して仕様情報毎に品番を与える必要が無く、ECUの品番の数を低減できる。
【0045】
また、ECU130において、不揮発性メモリ25に仕様情報が異常な情報が記憶されている場合、ECU100から送信される仕様情報を不揮発性メモリ25に書き替え、この書き替えた仕様情報に基づいて、正常に動作することができる。
【0046】
さらに、上記実施形態では、車載通信装置として、通信の中継を行うためのECU100、計器を制御するためのECU130を適用した例について説明したが、これに限らず、各種のECUを適用してもよい。
【0047】
以下、上記実施形態と特許請求項の範囲の構成との対応関係について説明すると、CU100が第1の車載通信装置、ECU130が第2の車載通信装置に相当し、不揮発性メモリ14が第1の記憶手段、不揮発性メモリ25が第2の記憶手段に相当し、ステップ220が第1の制御手段に相当し、ステップ230が第1の動作手段に相当し、テップ320が異常判定手段に相当し、ステップ300が受信判定手段に相当し、ステップ330が第2の制御手段に相当し、ステップ340が第2の動作手段に相当する。
【図面の簡単な説明】
【図1】本発明の車載通信システムの一実施形態の概略構成を示す図である。
【図2】図1に示す各ECUの構成を示すブロック図である。
【図3】仕様情報を説明するための図である。
【図4】図1に示す各ECUの処理を示すフローチャートである。
【符号の説明】
100、130…ECU、14、25…不揮発性メモリ、
10、20…マイクロコンピュータ。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a vehicle communication system in which a plurality of vehicle communication devices communicate via a communication line.
[0002]
[Background Art and Problems to be Solved by the Invention]
2. Description of the Related Art Conventionally, an in-vehicle communication system that is mounted on a vehicle and has a plurality of electronic control devices (hereinafter referred to as ECUs) connected via a communication line so that they can communicate with each other is known.
[0003]
In such an in-vehicle communication system, when using an ECU that performs different operations for each vehicle specification, specification information including the vehicle specification is stored in advance, and the specification information is transmitted to the ECU. An ECU (hereinafter, referred to as a specific ECU) that causes the ECU to determine an operation to be performed based on the specification information is used.
[0004]
In such a specific ECU, it is necessary to store different specification information for each specification in the memory in order to cope with a situation where the specific ECU is replaced after the vehicle enters the market. Along with this, when performing production and inventory management of a specific ECU, it is necessary to give a different product number for each specification to the specific ECU. Here, if production and inventory management are performed for each specific ECU for each specific product number, production control and inventory management are required for each product number, so excessive production costs and inventory costs are required.
[0005]
In view of the above points, an object of the present invention is to provide an in-vehicle communication system and an in-vehicle communication device that can reduce the number of product numbers of the in-vehicle communication device.
[0010]
[Means for Solving the Problems]
The present invention, in order to achieve the above object, according to the invention of claim 1, the first in-vehicle communication apparatus having a first storage means for storing the specifications information of the vehicle, the first vehicle communication device And a second in-vehicle communication device that can communicate with each other via a communication line, and the first in-vehicle communication device determines whether or not the specification information is stored in the first storage means. When the information determination means determines that the specification information is not stored in the first storage means, the information determination means receives the specification information transmitted from the second in-vehicle communication device, and receives this And a first control unit that stores the specification information stored in the first storage unit, and a first operation unit that operates based on the specification information stored in the first storage unit.
[0011]
According to this invention, even if the first in-vehicle communication device is replaced and the specification information is not stored in the first storage means, the first in-vehicle communication device transmits from the second in-vehicle communication device. The stored specification information is stored in its first storage means and operates based on the stored specification information. Therefore, it is not necessary to give a part number for each specification information to the first in-vehicle communication device. The number of product numbers of communication devices can be reduced. In the first aspect of the invention, the second in-vehicle communication device includes a second storage unit that stores the specification information and whether the specification information stored in the second storage unit is abnormal. An abnormality determining means for determining whether the specification information transmitted from the first in-vehicle communication device has been received, and the specification information transmitted from the first in-vehicle communication device has been received. When the reception determination means determines that the specification information stored in the second storage means is abnormal, the abnormality determination means determines that the specification information transmitted from the first in-vehicle communication device is the first. The second control unit stores the second storage unit, and the second operation unit operates based on the specification information stored in the second storage unit. As described above, even if it is determined that the specification information stored in the second storage unit is abnormal, the second operation unit transmits the specification information transmitted from the first in-vehicle communication device. It is possible to operate normally based on the stored specification information stored in the second storage means.
[0012]
In this case , as in the second aspect of the invention, the second operating means includes a plurality of control programs that differ for each specification, and based on the specification information stored in the storage means, determining one of a, it can be made to perform the determined control program.
[0013]
Further , as in the third aspect of the invention, the first operating means can be configured to transmit the specification information stored in the first storage means to the second in-vehicle communication device . Further, as in the fourth aspect of the invention, when the power supply to the first in-vehicle communication device is started, the information determination unit determines whether or not the specification information is stored in the first storage unit. It can be configured to determine. As in the fifth aspect of the invention, it is preferable to use a nonvolatile memory as the first and second storage means. Thereby, the memory | storage of specification information can be hold | maintained even when the electric power supply to the 1st, 2nd vehicle-mounted communication apparatus is not performed.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows an in-vehicle communication system according to an embodiment of the present invention. FIG. 1 is a diagram illustrating a configuration of an in-vehicle communication system.
[0017]
As shown in FIG. 1, the in-vehicle communication system includes ECUs 100 to 130, and these ECUs 100 to 130 are configured to communicate with each other via a communication line R.
[0018]
Hereinafter, the configuration of the ECUs 100 and 130 of the in-vehicle communication system will be described with reference to FIGS. 2A is a block diagram showing a schematic electrical circuit configuration of the ECU 100, and FIG. 2B is a block diagram showing a schematic electrical circuit configuration of the ECU 130. As shown in FIG.
[0019]
The ECU 100 includes a microcomputer 10, a receiver / driver circuit (R / D circuit) 11, a RAM 12, a ROM 23, and a nonvolatile memory 14 as shown in FIG.
[0020]
The receiver / driver circuit 11 outputs data output from the ECUs 110 to 130 via the communication line R to the microcomputer 10 and outputs data output from the microcomputer 10 to the ECUs 110 to 130 via the communication line R. To do.
[0021]
The microcomputer 10 relays communication between the ECUs 110 to 130 and executes a process for outputting specification information including vehicle specifications to the ECUs 110 to 130 as described later. As shown in FIG. 3, the specification information includes, for example, destinations of vehicles such as the United States and Germany, vehicle data indicating vehicle types, vehicle grades, and the like.
[0022]
The RAM 12 stores data associated with the processing of the microcomputer 10, and the ROM 13 stores a control program for the microcomputer 10. The nonvolatile memory 14 is an EEPROM and has an area for storing specification information (hereinafter referred to as a storage area 14a). The storage area 14a stores the specification information itself together with an error check code. . As will be described later, this error check code is used to determine whether specification information is normal / abnormal and whether specification information is stored.
[0023]
Further, as shown in FIG. 2B, the ECU 130 includes a microcomputer 20, a receiver / driver circuit (R / D circuit) 21, an input / output circuit 22, a ROM 13, a RAM 24, and a nonvolatile memory 25.
[0024]
The receiver / driver circuit 21 outputs data output from the ECUs 100 to 120 via the communication line R to the microcomputer 20 and outputs data output from the microcomputer 20 to the ECUs 110 to 120 via the communication line R. To do.
[0025]
As will be described later, the microcomputer 20 selects and executes one control program based on the specification information from among the instrument control programs A to D such as speed, and also transmits the specification information including the vehicle specifications to the ECUs 110 to 110. The process for outputting to 120 is executed.
[0026]
The input / output circuit 22 outputs output signals from various sensors (for example, a vehicle speed sensor) necessary for controlling various instruments to the microcomputer 20 and receives control signals necessary for controlling various instruments from the microcomputer 20. This control signal is output to actuators (for example, stepping motors) of various instruments.
[0027]
The RAM 24 stores data associated with the processing of the microcomputer 20, and the ROM 23 stores control programs A to D for controlling various instruments. As the control programs A to D, different computer programs corresponding to a plurality of specifications are employed. The non-volatile memory 25 is an EEPROM, and has a storage area 25a for storing specification information as in the non-volatile memory 14, and the specification information itself includes an error check code in the storage area 25a. Remembered.
[0028]
Next, the operation of the present embodiment will be described with reference to FIGS. 4 (a) and 4 (b). 4A is a flowchart showing a process of the microcomputer 10 of the ECU 100, and FIG. 4B is a flowchart showing a process of the microcomputer 20 of the ECU 130.
[0029]
First, the microcomputer 10 executes a computer program according to the flowchart shown in FIG. The computer program starts to be executed after the power supply to the ECU 100 is started (that is, the power is turned on). The microcomputer 20 executes the computer program according to the flowchart shown in FIG. The computer program starts to be executed after the power supply to the ECU 130 is started.
[0030]
First, a description will be given of a normal operation in which specification information (along with an error check code) is stored in the nonvolatile memories 14 and 25 of the ECUs 100 and 130 and each of the ECUs 100 and 130 operates normally.
[0031]
First, the microcomputer 10 of the ECU 100 determines whether or not specification information is stored in the nonvolatile memory 14 (step 200). For example, the microcomputer 10 calls up data from the storage area 14a of the nonvolatile memory 14 (which is an area where specification information is to be stored), and performs error checking on the called up data. If it is determined that the data is normal by this inspection, it is determined that the specification information is stored in the nonvolatile memory 14 and YES is determined. Based on the data called from the storage area 14a, the specification information is received at regular intervals. / The driver circuit 11 is made to transmit (step 230). The specification information is transmitted until the power supply to the ECU 100 is completed (that is, the power is turned off).
[0032]
The specification information thus transmitted is sent to the ECU 130 via the communication line R, and when the microcomputer 20 receives the specification information via the receiver / driver circuit 21 of the ECU 130, the microcomputer 20 receives the specification information. As a result, YES is determined in step 300.
[0033]
Here, the microcomputer 20 determines whether or not the specification information stored in the storage area 25a of the nonvolatile memory 25 (this is the area where the specification information should be stored) is abnormal (step 320). For example, an error check is performed on the data called from the storage area 25a. If it is determined that the data is normal by this inspection, it is assumed that normal specification information is stored in the nonvolatile memory 14. In this case, it is determined that the specification information stored in the nonvolatile memory 25 is normal and NO is determined in step 320.
[0034]
Accordingly, the microcomputer 20 determines a control program corresponding to the specification information among the control programs A to D stored in the ROM 23 and executes the determined control program. As a result, the actuators of various instruments are controlled in accordance with the specification information based on the output signals from the various sensors (step 340).
[0035]
Next, an operation when the ECU 100 of the ECUs 100 to 130 is replaced with a new one will be described. In this case, although the specification information is stored in the nonvolatile memory 25 of the ECU 130, the specification information is not stored in the nonvolatile memory 14 of the ECU 100.
[0036]
For this reason, when the microcomputer 10 of the ECU 100 performs an error check on the data called from the storage area 14a of the nonvolatile memory 14 in step 200, it is determined that the data is abnormal. In this case, it is determined NO because the specification information is not stored in the nonvolatile memory 14. Accordingly, the microcomputer 10 does not transmit the specification information to the ECU 130.
[0037]
Accordingly, the microcomputer 20 of the ECU 130 cannot receive the specification information from the ECU 100, and therefore determines NO in step 300. In addition to this, the microcomputer 20 causes the receiver / driver circuit 21 to transmit the specification information based on the data called from the storage area 25a of the nonvolatile memory 25 (step 310).
[0038]
The specification information transmitted in this way is sent to the ECU 100 via the communication line R, and when the microcomputer 10 receives the specification information via the receiver / driver circuit 11 (step 210), the microcomputer 10 becomes non-volatile. The specification information is stored together with the error check code in the storage area 14a of the memory 14 (step 220), and the specification information is transmitted from the receiver / driver circuit 11 at regular intervals (step 230).
[0039]
The microcomputer 20 of the ECU 130 determines whether or not the specification information is received from the ECU 100 and whether the specification information stored in the nonvolatile memory 25 is normal in step 320. Thus, since the specification information cannot be received from the ECU 100, it is determined as NO. Along with this, the microcomputer 20 calls the specification information from the storage area 15a of the nonvolatile memory 25, determines the control program corresponding to the specification information from among the control programs A to D stored in the ROM 23, The determined control program is executed. As a result, the actuators of various instruments are controlled in accordance with the specification information (step 340).
[0040]
Next, an operation when the ECU 130 of the ECUs 100 to 130 is replaced with a new one will be described. In this case, the specification information is not stored in the nonvolatile memory 25 of the ECU 130, and the specification information is stored in the nonvolatile memory 14 of the ECU 100.
[0041]
Therefore, in step 200, when the microcomputer 10 of the ECU 100 performs an error check on the data called from the storage area 14a of the nonvolatile memory 14, the data is determined to be normal. In this case, it is determined YES because the specification information is stored, and the specification information is transmitted from the receiver / driver circuit 11 at regular intervals based on the data called from the storage area 14a (step 230).
[0042]
The specification information transmitted in this way is sent to the ECU 130 via the communication line R, and when the microcomputer 20 receives the specification information via the receiver / driver circuit 21 of the ECU 130, the microcomputer 20 receives the specification information. As a result, YES is determined in step 300.
[0043]
In addition to this, the microcomputer 20 performs error checking on the data called from the storage area 25a of the nonvolatile memory 25 to determine whether it is normal, but the ECU 130 is replaced with a new one and the specification information is stored. In step 320, it is determined that there is an abnormality in the error check. In this case, the specification information transmitted from the ECU 100 is stored together with the error check code in the storage area 25a of the nonvolatile memory 25 (step 330), and the specification information among the control programs A to D stored in the ROM 23 is stored. The control program corresponding to is determined and executed (step 340).
[0044]
As described above, according to the present embodiment, even if the ECU 100 (or ECU 130) is replaced and the nonvolatile memory 14 (or nonvolatile memory 25) specification information is not stored, the ECU 130 (or ECU 100). Is stored in the non-volatile memory 14 (or non-volatile memory 25) and operates based on the stored specification information. Therefore, the ECU 100 (or ECU 130) is assigned a product number for each specification information. There is no need to provide it, and the number of ECU part numbers can be reduced.
[0045]
Further, in the ECU 130, when information with abnormal specification information is stored in the non-volatile memory 25, the specification information transmitted from the ECU 100 is rewritten in the non-volatile memory 25, and normality is determined based on the rewritten specification information. Can work.
[0046]
Further, in the above-described embodiment, the example in which the ECU 100 for relaying communication and the ECU 130 for controlling the instrument are applied as the in-vehicle communication device has been described. However, the present invention is not limited thereto, and various ECUs may be applied. Good.
[0047]
Explaining the relationship between the structure of the appended claims and the embodiment described above, E CU 100 is first in-vehicle communication device, ECU 130 corresponds to the second in-vehicle communication device, a non-volatile memory 14 is first first storage means, nonvolatile memory 25 corresponds to a second storage unit, step 220 corresponds to the first control means, step 230 corresponds to the first operation means, step 320 is abnormality determining means Step 300 corresponds to reception determination means, step 330 corresponds to second control means, and step 340 corresponds to second operation means.
[Brief description of the drawings]
FIG. 1 is a diagram showing a schematic configuration of an embodiment of an in-vehicle communication system according to the present invention.
FIG. 2 is a block diagram showing a configuration of each ECU shown in FIG.
FIG. 3 is a diagram for explaining specification information;
4 is a flowchart showing processing of each ECU shown in FIG.
[Explanation of symbols]
100, 130 ... ECU, 14, 25 ... non-volatile memory,
10, 20 ... Microcomputer.

Claims (5)

車両の仕様情報を記憶する第1の記憶手段を有する第1の車載通信装置と、この第1の車載通信装置との間で通信ラインを介して通信できる第2の車載通信装置とを有する車載通信システムであって、
前記第1の車載通信装置は、
前記仕様情報が前記第1の記憶手段に記憶されているか否かを判定する情報判定手段と、
前記第1の記憶手段に前記仕様情報が記憶されていないことを前記情報判定手段が判定したとき、前記第2の車載通信装置から送信される仕様情報を受信するとともに、この受信された仕様情報を前記第1の記憶手段に記憶させる第1の制御手段と、
前記第1の記憶手段に記憶された仕様情報に基づき動作する第1の動作手段と、を有し、
前記第2の車載通信装置は、
前記仕様情報を記憶する第2の記憶手段と、
前記第2の記憶手段に記憶されている仕様情報が異常であるか否かを判定する異常判定手段と、
前記第1の車載通信装置から送信される仕様情報が受信されたか否かを判定する受信判定手段と、
前記第1の車載通信装置から送信される前記仕様情報が受信されたことを前記受信判定手段が判定し、かつ前記第2の記憶手段に記憶されている仕様情報が異常であることを前記異常判定手段が判定したとき、前記第1の車載通信装置から送信される仕様情報を前記第2の記憶手段に記憶させる第2の制御手段と、
前記第2の記憶手段に記憶された仕様情報に基づき動作する第2の動作手段と、を有することを特徴とする車載通信システム。
In-vehicle having a first in-vehicle communication device having first storage means for storing vehicle specification information and a second in-vehicle communication device capable of communicating with the first in-vehicle communication device via a communication line. A communication system,
The first in-vehicle communication device is:
Information determining means for determining whether or not the specification information is stored in the first storage means;
When the information determination means determines that the specification information is not stored in the first storage means, the specification information transmitted from the second in-vehicle communication device is received, and the received specification information First control means for storing the first storage means in the first storage means;
A first operation means operates based on the first specification information stored in the storage means, the possess,
The second in-vehicle communication device is
Second storage means for storing the specification information;
Abnormality determination means for determining whether or not the specification information stored in the second storage means is abnormal;
Reception determination means for determining whether or not the specification information transmitted from the first in-vehicle communication device is received;
The abnormality determining that the reception determining unit determines that the specification information transmitted from the first in-vehicle communication device has been received, and that the specification information stored in the second storage unit is abnormal. Second control means for storing specification information transmitted from the first in-vehicle communication device in the second storage means when the determination means determines;
An in-vehicle communication system comprising: second operating means that operates based on the specification information stored in the second storage means .
前記第の動作手段は、前記仕様毎に異なる複数の制御プログラムを備えており、前記記憶手段に記憶された仕様情報に基づき前記複数の制御プログラムから1つのを決定し、決定した制御プログラムを実行するものであることを特徴とする請求項に記載の車載通信システム。The second operation means includes a plurality of control programs different for each specification, determines one from the plurality of control programs based on the specification information stored in the storage means, and determines the determined control program The vehicle-mounted communication system according to claim 1 , wherein the vehicle-mounted communication system is executed. 前記第1の動作手段が、前記第1の記憶手段に記憶された仕様情報を前記第2の車載通信装置に送信することを特徴とする請求項またはに記載の車載通信システム。The in-vehicle communication system according to claim 1 or 2 , wherein the first operation unit transmits the specification information stored in the first storage unit to the second in-vehicle communication device. 前記第1の車載通信装置への電力供給が開始されたとき、前記情報判定手段が、前記仕様情報が前記第1の記憶手段に記憶されているか否かを判定することを特徴とする請求項1乃至3のいずれか1つに記載の車載通信システム The information determination unit determines whether or not the specification information is stored in the first storage unit when power supply to the first in- vehicle communication device is started. The in-vehicle communication system according to any one of 1 to 3 . 前記第1の記憶手段および前記第2の記憶手段は、不揮発性メモリであることを特徴とする請求項1乃至のいずれか1つに記載の車載通信システム The in-vehicle communication system according to any one of claims 1 to 4 , wherein the first storage unit and the second storage unit are nonvolatile memories.
JP2002197535A 2002-07-05 2002-07-05 In-vehicle communication system Expired - Fee Related JP3979202B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002197535A JP3979202B2 (en) 2002-07-05 2002-07-05 In-vehicle communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002197535A JP3979202B2 (en) 2002-07-05 2002-07-05 In-vehicle communication system

Publications (2)

Publication Number Publication Date
JP2004040649A JP2004040649A (en) 2004-02-05
JP3979202B2 true JP3979202B2 (en) 2007-09-19

Family

ID=31705284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002197535A Expired - Fee Related JP3979202B2 (en) 2002-07-05 2002-07-05 In-vehicle communication system

Country Status (1)

Country Link
JP (1) JP3979202B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175777B (en) 2005-05-13 2011-01-12 日本电气株式会社 (methyl)acrylamide derivative, polymer, chemically amplified photosensitive resin composition, and method for forming pattern
JP4914692B2 (en) * 2006-11-02 2012-04-11 日立オートモティブシステムズ株式会社 Automotive control device
JP5034866B2 (en) * 2007-10-26 2012-09-26 スズキ株式会社 In-vehicle control device
JP5136836B2 (en) * 2007-10-30 2013-02-06 スズキ株式会社 Instrument device
JP5545970B2 (en) * 2009-03-26 2014-07-09 株式会社半導体エネルギー研究所 Light emitting device and manufacturing method thereof
JP5406079B2 (en) * 2010-03-09 2014-02-05 富士重工業株式会社 In-vehicle communication system
KR101283051B1 (en) 2011-11-25 2013-07-05 엘에스산전 주식회사 Method of managing program for electric vehicle

Also Published As

Publication number Publication date
JP2004040649A (en) 2004-02-05

Similar Documents

Publication Publication Date Title
US10887128B2 (en) In-vehicle network system
JP3338634B2 (en) Distributed processing type control unit
CN108475222A (en) Vehicle-mounted updating device, more new system and update processing routine
JP4987760B2 (en) Relay device, communication system, and communication method
JP3979202B2 (en) In-vehicle communication system
JP2008254484A (en) On-vehicle communication system
JP2003172199A (en) Program rewriting system for vehicular electronic control unit
JP6895373B2 (en) Electronic control device for automobiles
JP7183884B2 (en) electronic controller
JP2004042794A (en) Control device and control system
JP2007038816A (en) Network system and managing method thereof
JPH11175331A (en) Rom rewritting method for lan system for vehicle, and on-vehicle controller
JP2004302944A (en) Control system for vehicle
JP4042790B2 (en) Electrical device and method for determining normal communication function in electrical device
JP2007329578A (en) Communication method, in-vehicle system, and in-vehicle apparatus
JP2000207194A (en) Method for writing data into nonvolatile memory inside on-vehicle electronic unit
JP2004142511A (en) Electronic control device for vehicle, electronic control unit, program, and recording medium
JP4480449B2 (en) In-vehicle electronic control unit communication device
JP2003056398A (en) Electronic control system for vehicle, electronic control unit, and vehicle information writing method
JP2701591B2 (en) Self-diagnosis method for car telephone equipment
JP7486460B2 (en) Electronic control device and method for erasing malfunction information
JP2003248513A (en) Electronic control system for vehicle and device for inspecting system operation
US20210287457A1 (en) Communication control system
JP2011231698A (en) Onboard electronic control device
JP2009005160A (en) Error generation device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041213

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061020

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061031

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061212

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: 20070605

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070618

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: 20100706

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110706

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120706

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120706

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130706

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees