JP2005145247A - Program writing system and method - Google Patents

Program writing system and method Download PDF

Info

Publication number
JP2005145247A
JP2005145247A JP2003385658A JP2003385658A JP2005145247A JP 2005145247 A JP2005145247 A JP 2005145247A JP 2003385658 A JP2003385658 A JP 2003385658A JP 2003385658 A JP2003385658 A JP 2003385658A JP 2005145247 A JP2005145247 A JP 2005145247A
Authority
JP
Japan
Prior art keywords
program
vehicle
writing
individual
written
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2003385658A
Other languages
Japanese (ja)
Inventor
Toshitatsu Suzuki
敏立 鈴木
Taketomo Yamanouchi
勇智 山ノ内
Goro Kobayashi
五郎 小林
Toshiyuki Kamauchi
俊行 鎌内
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.)
Toyota Motor Corp
Original Assignee
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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2003385658A priority Critical patent/JP2005145247A/en
Publication of JP2005145247A publication Critical patent/JP2005145247A/en
Withdrawn legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem in a conventional program writing system wherein it is difficult to identify the cause of a fault when the fault occurs in an ECU after the ECU is incorporated in a vehicle and a software is written. <P>SOLUTION: The program writing system writes in the ECU 1 a program constituted of a basic program common to all specifications and different individual programs for respective specifications, and has a program writing device 15 for prewriting the basic program and the various individual programs corresponding to the respective specifications in a process prior to a process in a vehicle plant where the ECU 1 is incorporated in the vehicle, and a selection information writing device 16 for writing selection information for determining which individual program is selected and used among the various individual programs prewritten, in the process in the vehicle plant. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、全仕様に共通の基本プログラムと、仕様毎に異なる個別プログラムとで構成されるプログラムを、車載電子制御装置に書き込むプログラム書き込みシステムおよび方法に関する。   The present invention relates to a program writing system and method for writing a program composed of a basic program common to all specifications and a different individual program for each specification into an in-vehicle electronic control device.

近年、車載電子制御装置(以下、ECUともいう)のコスト低減等を目的として、複数種類の車両に対して共通のハードウエアを備えたECUを適用可能とし、その全種類共通のECUを車両に組み付けた後に、組み付けられた車両の種類に適合した制御プログラムを、当該ECUに書き込むことが行われている。
この場合、車両工場で制御プログラムをECUに書き込むためのプログラム書き込み装置には、各種類の車両に適合可能な制御プログラムを構成するためのオブジェクトを、複数記憶しているオブジェクトライブラリが備えられている。そして、該プログラム書き込み装置は、ECUが組み付けられた車両の種類を識別して、識別した車種に適合する制御プログラムを構成するためのオブジェクトをオブジェクトライブラリから選択し、その選択したオブジェクトをリンクして作成した制御プログラムをECUに書き込むように構成されている。
In recent years, for the purpose of reducing the cost of an in-vehicle electronic control device (hereinafter also referred to as ECU), an ECU having common hardware can be applied to a plurality of types of vehicles. After the assembly, a control program suitable for the type of the assembled vehicle is written in the ECU.
In this case, a program writing apparatus for writing a control program into the ECU at a vehicle factory is provided with an object library that stores a plurality of objects for configuring a control program that can be adapted to each type of vehicle. . Then, the program writing device identifies the type of vehicle to which the ECU is assembled, selects an object for constructing a control program suitable for the identified vehicle type from the object library, and links the selected object. The created control program is configured to be written in the ECU.

特開2003−131885号公報JP 2003-131895 A

従来技術では、部品メーカから納入された時点でのECUが、制御プログラムが書き込まれていないハードウエアのみから成るものであったため、部品メーカにおけるECUの保証がハードウエアにかかる部分のみとなり、ソフトウエアをも含めた完成した状態でのECUの保証はされていなかった。
従って、車両に組み込まれてソフトウエアが書き込まれた後にECUに不具合が発生した場合には、ECUのハードウエア側に不具合の原因があるのか、車両工場で書き込んだソフトウエア側に不具合の原因があるのかを特定することが困難となる。
In the prior art, the ECU at the time of delivery from the parts manufacturer consists only of hardware to which no control program is written. Therefore, the warranty of the ECU in the parts manufacturer is limited only to the hardware, and the software There was no guarantee of the ECU in the completed state including.
Therefore, if a malfunction occurs in the ECU after the software has been written after being installed in the vehicle, there is a cause for the malfunction on the hardware side of the ECU or the cause on the software side written at the vehicle factory. It becomes difficult to specify whether there is.

また、車両に組み込まれるECUは、エンジン用のECUのほか、駆動系用、シャーシ用、ボディ用、マルチメディア用などといったように多くの種類があり、書き込むべき制御プログラムの容量も多いため、車両工場での限られたラインタクトのなかでECUに必要な全ての制御プログラムの書き込みを行うためには、プログラム書き込み装置とECUとの間の通信速度や、プログラム書き込み装置への制御プログラムの書き込み速度の高速化を図る必要がある。
このような、通信速度や書き込み速度の高速化は、車両生産費のコストアップに繋がるとともに、今後予想されるECUの数および制御プログラムの容量アップへの対応が困難となる。
In addition to ECUs for engines, there are many types of ECUs incorporated in vehicles, such as for drive trains, chassis, bodies, multimedia, etc. In order to write all the control programs necessary for the ECU within the limited line tact in the factory, the communication speed between the program writing device and the ECU, and the writing speed of the control program to the program writing device It is necessary to increase the speed.
Such an increase in communication speed and writing speed leads to an increase in vehicle production costs, and it becomes difficult to cope with the expected increase in the number of ECUs and the capacity of the control program in the future.

上記課題を解決するプログラム書き込みシステム及び方法は、以下の特徴を有する。
即ち、請求項1記載の如く、全仕様に共通の基本プログラムと、仕様毎に異なる個別プログラムとで構成されるプログラムを、車載電子制御装置に書き込むプログラム書き込みシステムであって、基本プログラムおよび各仕様に対応した複数種類の個別プログラムを、車載電子制御装置が車両に組み込まれる車両工場での工程よりも前の工程にて書き込むプログラム書き込み手段と、すでに書き込まれた複数種類の個別プログラムのうち、どの個別プログラムを選択して使用するかを決定する選択情報を、車両工場での工程で書き込む選択情報書き込み手段とを備える。
これにより、部品工場側にて、書き込まれたプログラムが正常であるかの検証を、全ての制御プログラムについて行うことができ、ECUのハードウエアおよび書き込んだ制御プログラムについて、部品工場側が全体的に保証することが可能となる。従って、ECUについて発生した不具合責任を、部品工場側と車両工場側との間で切り離して明確にすることができる。
また、車両工場側で、書き込むソフトウエアの容量が少なくて済み、車両工場での限られたラインタクトの範囲内でも、十分に余裕を持って書き込むことができる。
The program writing system and method for solving the above problems have the following features.
That is, a program writing system for writing a program composed of a basic program common to all specifications and an individual program different for each specification to the on-vehicle electronic control device as claimed in claim 1, wherein the basic program and each specification Program writing means for writing multiple types of individual programs corresponding to the above in the process before the vehicle factory where the in-vehicle electronic control device is incorporated in the vehicle, and any of the multiple types of individual programs already written Selection information writing means for writing selection information for determining whether to use an individual program to be used in a process at a vehicle factory.
This allows the parts factory to verify whether the written program is normal for all control programs, and the parts factory guarantees the ECU hardware and the written control program as a whole. It becomes possible to do. Therefore, the fault responsibility that has occurred in the ECU can be separated and clarified between the parts factory side and the vehicle factory side.
Further, the capacity of the software to be written on the vehicle factory side is small, and even within the limited line tact range in the vehicle factory, it is possible to write with a sufficient margin.

また、請求項2記載の如く、前記プログラム書き込みシステムにおいては、基本プログラムおよび個別プログラムを、書き換え不能なROMに書き込み、選択情報を、書き換え可能なROMに書き込む。
これにより、基本プログラムおよび複数の個別プログラムの容量が大きくなった場合でも、これらのプログラムは、書き換え可能なROMに比べて安価である書き換え不能なROMに書き込まれるので、低コストでECUを構成することができる。
In the program writing system, the basic program and the individual program are written in a non-rewritable ROM, and selection information is written in the rewritable ROM.
As a result, even when the capacities of the basic program and the plurality of individual programs are increased, these programs are written in a non-rewritable ROM, which is cheaper than a rewritable ROM, so that the ECU is configured at a low cost. be able to.

また、請求項3記載の如く、全仕様に共通の基本プログラムと、仕様毎に異なる個別プログラムとで構成されるプログラムを、車載電子制御装置に書き込むプログラム書き込みシステムであって、基本プログラムを、車載電子制御装置が車両に組み込まれる車両工場での工程よりも前の工程にて予め書き込む基本プログラム書き込み手段と、各仕様に対応した複数種類の個別プログラムの中から、車載電子制御装置が装着される車両の仕様に適合した個別プログラムを選択して、車両工場での工程で書き込む個別プログラム書き込み手段とを備える。
これにより、部品工場側にて、書き込まれた基本プログラムが正常であるかの検証を行うことができ、ECUハードウエアおよび書き込んだ基本プログラムについて、部品工場側が保証することが可能となる。従って、ECUについて発生した不具合責任を、部品工場側と車両工場側との間で切り離して明確にすることができる。
また、車両工場側で、個別プログラム書き込み手段により書き込むのは、1種類の個別プログラムのみであるので、全ての制御プログラムを書き込む場合に比べると、書き込むソフトウエアの容量が少なくて済み、車両工場での限られたラインタクトの範囲内でも、十分に余裕を持って書き込むことができる。
According to a third aspect of the present invention, there is provided a program writing system for writing a program composed of a basic program common to all specifications and an individual program different for each specification to the on-vehicle electronic control device, wherein the basic program is The in-vehicle electronic control device is mounted from the basic program writing means that is written in advance in the process prior to the process at the vehicle factory where the electronic control device is incorporated in the vehicle, and from a plurality of types of individual programs corresponding to each specification. And an individual program writing means for selecting an individual program suitable for the vehicle specification and writing it in a process at the vehicle factory.
As a result, the parts factory can verify whether the written basic program is normal, and the parts factory can guarantee the ECU hardware and the written basic program. Therefore, the fault responsibility that has occurred in the ECU can be separated and clarified between the parts factory side and the vehicle factory side.
In addition, since only one type of individual program is written by the individual program writing means on the vehicle factory side, the amount of software to be written is smaller than when writing all control programs. Even within the limited line tact range, it is possible to write with a sufficient margin.

また、請求項4記載の如く、前記プログラム書き込みシステムにおいては、基本プログラムを、書き換え不能なROMに書き込み、個別プログラムを、書き換え可能なROMに書き込む。
これにより、基本プログラムの容量が大きくなった場合でも、基本プログラムは、書き換え可能なROMに比べて安価である書き換え不能なROMに書き込まれるので、低コストでECUを構成することができる。
In the program writing system, the basic program is written in a non-rewritable ROM, and the individual program is written in a rewritable ROM.
As a result, even when the capacity of the basic program is increased, the basic program is written in a non-rewritable ROM that is cheaper than a rewritable ROM, so that the ECU can be configured at a low cost.

また、請求項5記載の如く、全仕様に共通の基本プログラムと、仕様毎に異なる個別プログラムとで構成されるプログラムを、車載電子制御装置に書き込むプログラム書き込み方法であって、基本プログラムおよび各仕様に対応した複数種類の個別プログラムを、車載電子制御装置が車両に組み込まれる車両工場での工程よりも前の工程にて書き込んでおき、その後、すでに書き込まれた複数種類の個別プログラムのうち、どの個別プログラムを選択して実行可能とするかを決定する選択情報を、車両工場での工程で書き込む。
これにより、部品工場側にて、書き込まれたプログラムが正常であるかの検証を、全ての制御プログラムについて行うことができ、ECUのハードウエアおよび書き込んだ制御プログラムについて、部品工場側が全体的に保証することが可能となる。従って、ECUについて発生した不具合責任を、部品工場側と車両工場側との間で切り離して明確にすることができる。
また、車両工場側で、書き込むソフトウエアの容量が少なくて済み、車両工場での限られたラインタクトの範囲内でも、十分に余裕を持って書き込むことができる。
According to a fifth aspect of the present invention, there is provided a program writing method for writing a program composed of a basic program common to all specifications and an individual program different for each specification into the in-vehicle electronic control device, the basic program and each specification. Multiple types of individual programs corresponding to the above are written in the process before the process at the vehicle factory where the in-vehicle electronic control device is incorporated in the vehicle, and then, among the already written multiple types of individual programs, Selection information for determining whether to execute an individual program can be written in the process at the vehicle factory.
This allows the parts factory to verify whether the written program is normal for all control programs, and the parts factory guarantees the ECU hardware and the written control program as a whole. It becomes possible to do. Therefore, the fault responsibility that has occurred in the ECU can be separated and clarified between the parts factory side and the vehicle factory side.
Further, the capacity of the software to be written on the vehicle factory side is small, and even within the limited line tact range in the vehicle factory, it is possible to write with a sufficient margin.

また、請求項6記載の如く、全仕様に共通の基本プログラムと、仕様毎に異なる個別プログラムとで構成されるプログラムを、車載電子制御装置に書き込むプログラム書き込み方法であって、基本プログラムを、車載電子制御装置が車両に組み込まれる車両工場での工程よりも前の工程にて書き込み、その後、各仕様に対応した複数種類の個別プログラムの中から、車載電子制御装置が装着される車両の仕様に適合した個別プログラムを選択して、車両工場での工程で書き込む。
これにより、部品工場側にて、書き込まれた基本プログラムが正常であるかの検証を行うことができ、ECUハードウエアおよび書き込んだ基本プログラムについて、部品工場側が保証することが可能となる。従って、ECUについて発生した不具合責任を、部品工場側と車両工場側との間で切り離して明確にすることができる。
また、車両工場側で、個別プログラム書き込み手段により書き込むのは、1種類の個別プログラムのみであるので、全ての制御プログラムを書き込む場合に比べると、書き込むソフトウエアの容量が少なくて済み、車両工場での限られたラインタクトの範囲内でも、十分に余裕を持って書き込むことができる。
According to a sixth aspect of the present invention, there is provided a program writing method for writing a program composed of a basic program common to all specifications and an individual program different for each specification to an on-vehicle electronic control device, wherein the basic program is Write in the process before the process at the vehicle factory where the electronic control unit is incorporated in the vehicle, and then select the specification of the vehicle to which the on-vehicle electronic control unit is installed from among multiple types of individual programs corresponding to each specification. Select a suitable individual program and write it in the vehicle factory process.
As a result, the parts factory can verify whether the written basic program is normal, and the parts factory can guarantee the ECU hardware and the written basic program. Therefore, the fault responsibility that has occurred in the ECU can be separated and clarified between the parts factory side and the vehicle factory side.
In addition, since only one type of individual program is written by the individual program writing means on the vehicle factory side, the amount of software to be written is smaller than when writing all control programs. Even within the limited line tact range, it is possible to write with a sufficient margin.

本発明によれば、ECUについて発生した不具合責任を、部品工場側と車両工場側との間で切り離して明確にすることができる。
また、車両工場での限られたラインタクトの範囲内でも、ECUの制御プログラムを、十分に余裕を持って書き込むことができる。
According to the present invention, it is possible to clarify the responsibility for defects occurring in the ECU between the parts factory side and the vehicle factory side.
Also, the ECU control program can be written with a sufficient margin even within a limited line tact range in the vehicle factory.

次に、本発明を実施するための形態を、添付の図面を用いて説明する。
図1に示すように、本プログラム書き込みシステムは、車載電子制御装置(ECU)1を製造する部品工場に設置されるプログラム書き込み装置15と、ECU1を車両に組み込む車両工場に設置される選択情報書き込み装置16とを備えている。
Next, modes for carrying out the present invention will be described with reference to the accompanying drawings.
As shown in FIG. 1, this program writing system includes a program writing device 15 installed in a parts factory that manufactures an on-vehicle electronic control unit (ECU) 1, and selection information writing installed in a vehicle factory that incorporates the ECU 1 in the vehicle. Device 16.

ECU1は、その制御プログラムを格納するためのメモリ11を備えている。ECU1の制御プログラムは、エンジン種類や排気量等の車両の仕様にかかわらず全ての仕様の車両に共通する基本プログラムと、車両の仕様に応じて内容が異なる個別プログラムとで構成されている。
そして、メモリ11は、基本プログラムを格納する部分である基本部11a、および個別プログラムを格納する部分である個別部11bとを備えている。
また、メモリ11は、本例においては、フラッシュメモリやEEPRONやEPROMといったような、書き込んだ情報を書き換えることが可能なROMを用いている。
The ECU 1 includes a memory 11 for storing the control program. The control program of the ECU 1 is composed of a basic program common to all specification vehicles regardless of vehicle specifications such as engine type and displacement, and individual programs having different contents depending on the vehicle specifications.
The memory 11 includes a basic unit 11a that is a part that stores a basic program, and an individual unit 11b that is a part that stores an individual program.
In this example, the memory 11 uses a ROM that can rewrite written information, such as a flash memory, EEPROM, or EPROM.

プログラム書き込み装置15は、部品工場にて前記基本プログラム、および車両の仕様に応じて複数種類用意される個別プログラムを、ECU1のメモリ11に書き込む装置である。
選択情報書き込み装置16は、車両工場にてメモリ11に書き込まれた複数種類の個別プログラムのうち、ECU1が組み込まれた車両の仕様に応じた個別プログラムを選択し、選択した個別プログラムのみの実行を可能とする選択情報を書き込む装置である。
The program writing device 15 is a device for writing the basic program and a plurality of types of individual programs prepared in accordance with vehicle specifications into the memory 11 of the ECU 1 at the parts factory.
The selection information writing device 16 selects an individual program according to the specification of the vehicle in which the ECU 1 is installed among a plurality of types of individual programs written in the memory 11 at the vehicle factory, and executes only the selected individual program. It is a device for writing selection information that can be made.

このような、制御プログラムを書き込むプログラム書き込み装置15と、選択情報を書き込む選択情報書き込み装置16とを備えるシステムは、以下のフローにて制御プログラムのECU1への書き込みを行う。   Such a system including the program writing device 15 for writing the control program and the selection information writing device 16 for writing the selection information writes the control program to the ECU 1 in the following flow.

図2に示すように、まず、部品工場にてECU1のハードウエア部分が製造される(S01)。部品工場では、ハードウエア部分がECU1に制御プログラムの書き込みが行われる(S02)。制御プログラムの書き込みはプログラム書き込み装置15により行われ、基本プログラムがメモリ11の基本部11aに、個別プログラムが個別部11bに書き込まれる。
基本プログラムは、全ての仕様の車両において共通のプログラムであるため、1種類のプログラムのみ(図1の場合は基本プログラムAのみ)が書き込まれる。
車両の仕様によって異なる個別プログラムは、全ての仕様の車両に対応可能とするため、用意された全ての種類の個別プログラム(図1では個別プログラムa・b・c・d)が書き込まれる。
As shown in FIG. 2, first, the hardware part of the ECU 1 is manufactured at a parts factory (S01). In the parts factory, the hardware part writes a control program to the ECU 1 (S02). The control program is written by the program writing device 15, and the basic program is written in the basic part 11a of the memory 11 and the individual program is written in the individual part 11b.
Since the basic program is a program common to all specification vehicles, only one type of program (only the basic program A in the case of FIG. 1) is written.
Individual programs that differ depending on the vehicle specifications can be applied to vehicles of all specifications, so that all types of prepared individual programs (individual programs a, b, c, and d in FIG. 1) are written.

基本プログラム及び個別プログラムの書き込みが終了すると、書き込まれたプログラムが正常に書き込まれているかの検査が、検査装置より行われる(S03)。
検査を終えたECU1は部品工場から出荷される(S04)。
When the writing of the basic program and the individual program is completed, the inspection device checks whether the written program is normally written (S03).
The ECU 1 that has finished the inspection is shipped from the parts factory (S04).

部品工場から出荷されたECU1は車両工場に入荷され(S05)、入荷したECU1は車両に組み込まれる(S06)。
次に、車両に組み込まれたECU1のメモリ11に対して、選択情報書き込み装置16により、選択情報の書き込みが行われる。
選択情報は、メモリ1の個別部11bに書き込まれた複数の個別プログラムのうち、いずれかのプログラム選択して、選択したプログラムのみを実行可能とする(図1では選択情報により個別プログラムaが選択されており、個別プログラムaのみが実行可能となっている)。
なお、選択情報は、複数の個別プログラムの何れかを選択して実行可能な状態とさせるための情報があれば足りるので、各個別プログラムや基本プログラムの容量に比べて、僅かな容量となっている。
The ECU 1 shipped from the parts factory is received at the vehicle factory (S05), and the received ECU 1 is incorporated into the vehicle (S06).
Next, selection information is written into the memory 11 of the ECU 1 incorporated in the vehicle by the selection information writing device 16.
As the selection information, one of the plurality of individual programs written in the individual unit 11b of the memory 1 is selected, and only the selected program can be executed (in FIG. 1, the individual program a is selected by the selection information). Only the individual program a is executable).
Note that the selection information only needs to have information for selecting any of the plurality of individual programs so that they can be executed, so that the selection information has a small capacity compared to the capacity of each individual program or basic program. Yes.

選択情報書き込み装置16により選択情報を書き込む際には、車両工場におけるALC(Assembly Line Control)等の生産指示端末17が、選択情報書き込み装置16に対して、どのような選択情報を書き込むべきかの指示を与える。つまり、生産指示端末17は選択情報が書き込まれる車両の仕様等を識別しており、その車両の仕様に応じた選択情報を書き込むように、選択情報書き込み装置16に対して指示を行う。
選択情報が書き込まれたECU1においては、基本プログラムと選択情報により選択された個別プログラムとで、一つの制御プログラムが構成されることとなる。
When the selection information writing device 16 writes the selection information, what kind of selection information should be written to the selection information writing device 16 by the production instruction terminal 17 such as an ALC (Assembly Line Control) in the vehicle factory. Give instructions. That is, the production instruction terminal 17 identifies the specification of the vehicle in which the selection information is written, and instructs the selection information writing device 16 to write the selection information according to the specification of the vehicle.
In the ECU 1 in which the selection information is written, one control program is constituted by the basic program and the individual program selected by the selection information.

このように、プログラム書き込みシステムが備えるプログラム書き込み手段(プログラム書き込み装置15)により、部品工場にて、基本プログラムおよび個別プログラムの両方を書き込むことにより、部品工場側にて、書き込まれたプログラムが正常であるかの検証を、全ての制御プログラムについて行うことができ、ECU1のハードウエアおよび書き込んだ制御プログラムについて、部品工場側が全体的に保証することが可能となる。これにより、ECU1について発生した不具合責任を、部品工場側と車両工場側との間で切り離して明確にすることができる。
また、車両工場側で、選択情報書き込み手段(選択情報書き込み装置16)により書き込むのは、選択情報のみであるので、書き込むソフトウエアの容量が少なくて済み、車両工場での限られたラインタクトの範囲内でも、十分に余裕を持って書き込むことができる。
Thus, by writing both the basic program and the individual program at the parts factory by the program writing means (program writing device 15) provided in the program writing system, the written program is normal at the parts factory. It is possible to verify whether there is any control program, and the parts factory can assure the hardware of the ECU 1 and the written control program as a whole. Thereby, the fault responsibility which generate | occur | produced about ECU1 can be separated and clarified between the parts factory side and the vehicle factory side.
Further, since only the selection information is written by the selection information writing means (selection information writing device 16) on the vehicle factory side, the capacity of the software to be written is small, and the limited line tact in the vehicle factory is required. Even within the range, writing can be performed with sufficient margin.

なお、本例では、メモリ11は、基本部11a、個別部11b、および選択情報を書き込む部分が書き換え可能なROMで構成されているが、基本部11aおよび個別部11bをマスクROMなどの書き換え不能なROMにて構成し、選択情報を書き込む部分のみを書き換え可能なROMで構成することもできる。
このように、基本プログラムおよび複数の個別プログラムが書き込まれる、基本部11aおよび個別部11bを書き換え不能なROMにて構成することで、基本プログラムおよび複数の個別プログラムの容量が大きくなって、大容量の基本部11aおよび個別部11bが必要となった場合でも、マスクROMなどの書き換え不能なROMは書き換え可能なROMに比べて安価であるので、低コストでECU1を構成することができる。
In this example, the memory 11 is composed of a basic part 11a, an individual part 11b, and a ROM that can rewrite selection information, but the basic part 11a and the individual part 11b cannot be rewritten such as a mask ROM. It is also possible to use a ROM that is rewritable and that can be rewritten only in the portion where selection information is written.
In this way, by configuring the basic unit 11a and the individual unit 11b, in which the basic program and the plurality of individual programs are written, with a non-rewritable ROM, the capacities of the basic program and the plurality of individual programs are increased, resulting in a large capacity. Even when the basic unit 11a and the individual unit 11b are required, a non-rewritable ROM such as a mask ROM is less expensive than a rewritable ROM, and thus the ECU 1 can be configured at a low cost.

次に、本プログラム書き込みシステムの第二実施形態について説明する。
車載電子制御装置(ECU)3を製造する部品工場に設置される基本プログラム書き込み装置35と、ECU3を車両に組み込む車両工場に設置される個別プログラム書き込み装置36とを備えている。
Next, a second embodiment of the program writing system will be described.
A basic program writing device 35 installed in a parts factory that manufactures an on-vehicle electronic control unit (ECU) 3 and an individual program writing device 36 installed in a vehicle factory that incorporates the ECU 3 in a vehicle are provided.

ECU3は、その制御プログラムを格納するためのメモリ31を備えている。ECU3の制御プログラムは、エンジン種類や排気量等の車両の仕様にかかわらず全ての仕様の車両に共通する基本プログラムと、車両の仕様に応じて内容が異なる個別プログラムとで構成されている。
そして、メモリ31は、基本プログラムを格納する部分である基本部31a、および個別プログラムを格納する部分である個別部31bとを備えている。
また、メモリ31は、本例においては、フラッシュメモリやEEPRONやEPROMといったような、書き込んだ情報を書き換えることが可能なROMを用いている。
The ECU 3 includes a memory 31 for storing the control program. The control program of the ECU 3 is composed of a basic program common to vehicles of all specifications regardless of vehicle specifications such as engine type and displacement, and individual programs having different contents depending on the vehicle specifications.
The memory 31 includes a basic part 31a that is a part that stores a basic program, and an individual part 31b that is a part that stores an individual program.
In this example, the memory 31 uses a ROM that can rewrite written information, such as a flash memory, EEPROM, or EPROM.

基本プログラム書き込み装置35は、部品工場にて前記基本プログラムを、ECU3のメモリ31に書き込む装置である。
個別プログラム書き込み装置36は、車両の仕様に応じて複数種類用意される個別プログラムのうち、ECU3が組み込まれた車両の仕様に応じた個別プログラムを選択し、選択した個別プログラムのみを書き込む装置である。
The basic program writing device 35 is a device that writes the basic program into the memory 31 of the ECU 3 at a parts factory.
The individual program writing device 36 is a device that selects an individual program according to the specification of the vehicle in which the ECU 3 is installed among a plurality of types of individual programs prepared according to the specification of the vehicle, and writes only the selected individual program. .

このような、制御プログラムを書き込む基本プログラム書き込み装置35および個別プログラム書き込み装置36とを備えるシステムは、以下のフローにて制御プログラムのECU3への書き込みを行う。   Such a system including the basic program writing device 35 and the individual program writing device 36 for writing the control program writes the control program to the ECU 3 in the following flow.

図4に示すように、まず、部品工場にてECU3のハードウエア部分が製造される(S11)。部品工場では、ハードウエア部分がECU3に制御プログラムの書き込みが行われる(S12)。制御プログラムの書き込みはプログラム書き込み装置35により行われ、部品工場では基本プログラムおよび個別プログラムのうち、基本プログラムのみがメモリ31の基本部31aに書き込まれる。
基本プログラムは、全ての仕様の車両において共通のプログラムであるため、書き込まれるプログラムは1種類(図3の場合は基本プログラムA)だけである。
As shown in FIG. 4, first, the hardware part of the ECU 3 is manufactured at a parts factory (S11). In the parts factory, the hardware part writes a control program to the ECU 3 (S12). The control program is written by the program writing device 35, and only the basic program of the basic program and the individual program is written in the basic part 31a of the memory 31 in the parts factory.
Since the basic program is a common program for all specification vehicles, only one type of program is written (basic program A in the case of FIG. 3).

基本プログラムの書き込みが終了すると、書き込まれたプログラムが正常に書き込まれているかの検査が、検査装置により行われる(S13)。
検査を終えたECU3は部品工場から出荷される(S14)。
When the writing of the basic program is completed, the inspection device checks whether the written program is normally written (S13).
The ECU 3 that has finished the inspection is shipped from the parts factory (S14).

部品工場から出荷されたECU3は車両工場に入荷され(S15)、入荷したECU3は車両に組み込まれる(S16)。
次に、車両に組み込まれたECU3のメモリ31に対して、個別プログラム書き込み装置36により、個別プログラムの書き込みが行われる。
個別プログラム書き込み装置36内には、全ての仕様の車両に対応できるように、複数の個別プログラムが記憶されており(図3の場合には、個別プログラムa・b・c・dが記憶されている)、該個別プログラム書き込み装置36は、記憶している複数の個別プログラムの中から、書き込みを行うECU1に適した個別プログラムを選択して書き込みを行う。
The ECU 3 shipped from the parts factory is received at the vehicle factory (S15), and the received ECU 3 is incorporated into the vehicle (S16).
Next, the individual program is written into the memory 31 of the ECU 3 incorporated in the vehicle by the individual program writing device 36.
In the individual program writing device 36, a plurality of individual programs are stored so as to be compatible with vehicles of all specifications (in the case of FIG. 3, individual programs a, b, c, and d are stored). The individual program writing device 36 selects and writes an individual program suitable for the ECU 1 that performs writing from among a plurality of stored individual programs.

個別プログラム書き込み装置36により個別プログラムを書き込む際には、車両工場におけるALC(Assembly Line Control)等の生産指示端末37が、個別プログラム書き込み装置36に対して、どの個別プログラムを書き込むべきかの指示を与える。つまり、生産指示端末37は選択情報が書き込まれる車両の仕様等を識別しており、その車両の仕様に応じた個別プログラムを書き込むように、個別プログラム書き込み装置36に対して指示を行う。
車両工場にて個別プログラムが書き込まれたECU3においては、部品工場で書き込まれた基本プログラムと合わせて、一つの制御プログラムが構成されることとなる。
When an individual program is written by the individual program writing device 36, a production instruction terminal 37 such as an ALC (Assembly Line Control) in the vehicle factory instructs the individual program writing device 36 which individual program should be written. give. That is, the production instruction terminal 37 identifies the specification of the vehicle in which the selection information is written, and instructs the individual program writing device 36 to write the individual program according to the specification of the vehicle.
In the ECU 3 in which the individual program is written in the vehicle factory, one control program is configured together with the basic program written in the parts factory.

このように、プログラム書き込みシステムが備える基本プログラム書き込み手段(基本プログラム書き込み装置35)により、部品工場にて、基本プログラムを書き込むことにより、部品工場側にて、書き込まれた基本プログラム(制御プログラムのうち個別プログラムを含まない部分)が正常であるかの検証を行うことができ、ECU3のハードウエアおよび書き込んだ基本プログラムについて、部品工場側が保証することが可能となる。これにより、ECU3について発生した不具合責任を、部品工場側と車両工場側との間で切り離して明確にすることができる。
また、車両工場側で、個別プログラム書き込み手段(個別プログラム書き込み装置36)により書き込むのは、1種類の個別プログラムのみであるので、全ての制御プログラムを書き込む場合に比べると、書き込むソフトウエアの容量が少なくて済み、車両工場での限られたラインタクトの範囲内でも、十分に余裕を持って書き込むことができる。
In this way, the basic program written by the component factory is written by the component factory by the basic program writing means (basic program writing device 35) provided in the program writing system. It is possible to verify whether or not the part that does not include the individual program is normal, and the parts factory side can guarantee the hardware of the ECU 3 and the written basic program. Thereby, the fault responsibility which generate | occur | produced about ECU3 can be separated and clarified between the parts factory side and the vehicle factory side.
Further, since only one type of individual program is written by the individual program writing means (individual program writing device 36) on the vehicle factory side, the capacity of software to be written is smaller than when all control programs are written. Less writing is possible, and even within the limited line tact range in the vehicle factory, writing can be performed with sufficient margin.

なお、本例では、メモリ31は、基本部31a、および個別部31bが書き換え可能なROMで構成されているが、基本部31aをマスクROMなどの書き換え不能なROMにて構成し、個別プログラムを書き込む個別部31bのみを書き換え可能なROMで構成することもできる。
このように、基本プログラムが書き込まれる、基本部31aを書き換え不能なROMにて構成することで、基本プログラムの容量が大きくなって、大容量の基本部31aが必要となった場合でも、マスクROMなどの書き換え不能なROMは書き換え可能なROMに比べて安価であるので、低コストでECU3を構成することができる。
In this example, the memory 31 is configured by a rewritable ROM in which the basic unit 31a and the individual unit 31b are configured. However, the basic unit 31a is configured by a non-rewritable ROM such as a mask ROM, and individual programs are stored. Only the individual unit 31b to be written can be constituted by a rewritable ROM.
As described above, the basic unit 31a in which the basic program is written is configured by a non-rewritable ROM, so that even if the basic program 31 has a large capacity and a large-capacity basic unit 31a is required, the mask ROM Since a non-rewritable ROM such as is less expensive than a rewritable ROM, the ECU 3 can be configured at a low cost.

本発明のプログラム書き込みシステムを示すブロック図である。It is a block diagram which shows the program writing system of this invention. プログラム書き込みシステムにより実行されるプログラム書き込み方法のフローを示す図である。It is a figure which shows the flow of the program writing method performed by the program writing system. プログラム書き込みシステムの第二の実施形態を示すブロック図である。It is a block diagram which shows 2nd embodiment of a program writing system. 第二の実施形態に示すプログラム書き込みシステムにより実行されるプログラム書き込み方法のフローを示す図である。It is a figure which shows the flow of the program writing method performed by the program writing system shown in 2nd embodiment.

符号の説明Explanation of symbols

1 車載電子制御装置(ECU)
11 メモリ
11a 基本部
11b 個別部
15 プログラム書き込み装置
16 選択情報書き込み装置
1 In-vehicle electronic control unit (ECU)
11 Memory 11a Basic Unit 11b Individual Unit 15 Program Writing Device 16 Selection Information Writing Device

Claims (6)

全仕様に共通の基本プログラムと、仕様毎に異なる個別プログラムとで構成されるプログラムを、車載電子制御装置に書き込むプログラム書き込みシステムであって、
基本プログラムおよび各仕様に対応した複数種類の個別プログラムを、車載電子制御装置が車両に組み込まれる車両工場での工程よりも前の工程にて書き込むプログラム書き込み手段と、
すでに書き込まれた複数種類の個別プログラムのうち、どの個別プログラムを選択して使用するかを決定する選択情報を、車両工場での工程で書き込む選択情報書き込み手段とを備えることを特徴とするプログラム書き込みシステム。
A program writing system that writes a program composed of a basic program common to all specifications and a different individual program for each specification to an in-vehicle electronic control device,
Program writing means for writing a plurality of types of individual programs corresponding to the basic program and each specification in a process prior to a process in a vehicle factory in which the in-vehicle electronic control device is incorporated in the vehicle,
Program writing comprising: selection information writing means for writing selection information for determining which individual program to select and use from among a plurality of types of individual programs already written in a process at a vehicle factory system.
前記プログラム書き込みシステムにおいては、基本プログラムおよび個別プログラムを、書き換え不能なROMに書き込み、選択情報を、書き換え可能なROMに書き込むことを特徴とする請求項1に記載のプログラム書き込みシステム。   2. The program writing system according to claim 1, wherein in the program writing system, the basic program and the individual program are written in a non-rewritable ROM, and selection information is written in the rewritable ROM. 全仕様に共通の基本プログラムと、仕様毎に異なる個別プログラムとで構成されるプログラムを、車載電子制御装置に書き込むプログラム書き込みシステムであって、
基本プログラムを、車載電子制御装置が車両に組み込まれる車両工場での工程よりも前の工程にて予め書き込む基本プログラム書き込み手段と、
各仕様に対応した複数種類の個別プログラムの中から、車載電子制御装置が装着される車両の仕様に適合した個別プログラムを選択して、車両工場での工程で書き込む個別プログラム書き込み手段とを備えることを特徴とするプログラム書き込みシステム。
A program writing system that writes a program composed of a basic program common to all specifications and a different individual program for each specification to an in-vehicle electronic control device,
Basic program writing means for writing the basic program in advance in a process prior to a process in a vehicle factory where the in-vehicle electronic control device is incorporated in the vehicle,
Provided with individual program writing means for selecting an individual program suitable for the specification of the vehicle to which the on-vehicle electronic control device is mounted from among a plurality of types of individual programs corresponding to each specification, and writing in a process at the vehicle factory A program writing system characterized by the above.
前記プログラム書き込みシステムにおいては、基本プログラムを、書き換え不能なROMに書き込み、個別プログラムを、書き換え可能なROMに書き込むことを特徴とする請求項3に記載のプログラム書き込みシステム。   4. The program writing system according to claim 3, wherein in the program writing system, a basic program is written in a non-rewritable ROM, and an individual program is written in a rewritable ROM. 全仕様に共通の基本プログラムと、仕様毎に異なる個別プログラムとで構成されるプログラムを、車載電子制御装置に書き込むプログラム書き込み方法であって、
基本プログラムおよび各仕様に対応した複数種類の個別プログラムを、車載電子制御装置が車両に組み込まれる車両工場での工程よりも前の工程にて書き込んでおき、
その後、すでに書き込まれた複数種類の個別プログラムのうち、どの個別プログラムを選択して実行可能とするかを決定する選択情報を、車両工場での工程で書き込むことを特徴とするプログラム書き込み方法。
A program writing method for writing a program composed of a basic program common to all specifications and a different individual program for each specification to an in-vehicle electronic control device,
Write the basic program and multiple types of individual programs corresponding to each specification in the process before the process at the vehicle factory where the in-vehicle electronic control device is incorporated in the vehicle,
Thereafter, selection information for determining which individual program among a plurality of types of already written individual programs is selected and executed is written in a process at the vehicle factory.
全仕様に共通の基本プログラムと、仕様毎に異なる個別プログラムとで構成されるプログラムを、車載電子制御装置に書き込むプログラム書き込み方法であって、
基本プログラムを、車載電子制御装置が車両に組み込まれる車両工場での工程よりも前の工程にて書き込み、
その後、各仕様に対応した複数種類の個別プログラムの中から、車載電子制御装置が装着される車両の仕様に適合した個別プログラムを選択して、車両工場での工程で書き込むことを特徴とするプログラム書き込み方法。
A program writing method for writing a program composed of a basic program common to all specifications and a different individual program for each specification to an in-vehicle electronic control device,
Write the basic program in the process before the process at the vehicle factory where the in-vehicle electronic control unit is built into the vehicle.
After that, a program that selects an individual program that conforms to the specification of the vehicle on which the in-vehicle electronic control device is mounted from among a plurality of types of individual programs that correspond to each specification, and that is written in the process at the vehicle factory Writing method.
JP2003385658A 2003-11-14 2003-11-14 Program writing system and method Withdrawn JP2005145247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003385658A JP2005145247A (en) 2003-11-14 2003-11-14 Program writing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003385658A JP2005145247A (en) 2003-11-14 2003-11-14 Program writing system and method

Publications (1)

Publication Number Publication Date
JP2005145247A true JP2005145247A (en) 2005-06-09

Family

ID=34693646

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003385658A Withdrawn JP2005145247A (en) 2003-11-14 2003-11-14 Program writing system and method

Country Status (1)

Country Link
JP (1) JP2005145247A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007253684A (en) * 2006-03-22 2007-10-04 Yazaki Corp Vehicular instrument drive controller, vehicular instrumentation unit, and vehicular instrument drive controlling method
JP2010027001A (en) * 2008-07-24 2010-02-04 Dainippon Printing Co Ltd Ic card and program thereof, and method for issuing ic card
JP2011131963A (en) * 2009-12-22 2011-07-07 Mitsubishi Electric Corp Elevator control device
JP2012076706A (en) * 2010-10-05 2012-04-19 Ngk Spark Plug Co Ltd Control device of electric equipment for vehicle and control method therefor
JP2013145575A (en) * 2013-03-07 2013-07-25 Dainippon Printing Co Ltd Ic card and program thereof, and method for issuing ic card

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007253684A (en) * 2006-03-22 2007-10-04 Yazaki Corp Vehicular instrument drive controller, vehicular instrumentation unit, and vehicular instrument drive controlling method
JP2010027001A (en) * 2008-07-24 2010-02-04 Dainippon Printing Co Ltd Ic card and program thereof, and method for issuing ic card
JP2011131963A (en) * 2009-12-22 2011-07-07 Mitsubishi Electric Corp Elevator control device
JP2012076706A (en) * 2010-10-05 2012-04-19 Ngk Spark Plug Co Ltd Control device of electric equipment for vehicle and control method therefor
JP2013145575A (en) * 2013-03-07 2013-07-25 Dainippon Printing Co Ltd Ic card and program thereof, and method for issuing ic card

Similar Documents

Publication Publication Date Title
US11868760B2 (en) Vehicle controller, program updating method, and non-transitory storage medium that stores program for updating program
US7774382B2 (en) Method and apparatus for configuring a control device, and corresponding control device
JP4803168B2 (en) Vehicle information storage device
US10802814B2 (en) Vehicle control device, update confirmation method of program, and non-transitory computer readable medium storing update confirmation program
JP2006298260A (en) Control system for automobile
EP2704369B1 (en) Communication system in motor vehicle
JP5045584B2 (en) Program rewriting device
JP2005145247A (en) Program writing system and method
US20140074316A1 (en) Electronic control unit of vehicle
US20070239332A1 (en) Vehicular electronic control device
WO2019221058A1 (en) Vehicle-mounted relay device, communication system, bus determination method, and computer program
JP6563086B1 (en) In-vehicle electronic control unit
US20230153097A1 (en) Devices and method for managing electronic control units of a motor vehicle
JP5034866B2 (en) In-vehicle control device
JP5111486B2 (en) Update apparatus and update method for control program
JPH0793006A (en) Electronic control unit for vehicle
WO2022259348A1 (en) Vehicle control device
WO2023233611A1 (en) Electronic control device
JP2011025781A (en) Controller for vehicle
JP3750692B2 (en) Electronic control device for vehicle
WO2023175752A1 (en) Onboard program update system and onboard program update method
US20230256983A1 (en) Vehicle controller, vehicle control method and recording medium
JP2006291720A (en) Control device
JP6317653B2 (en) Electronic control device for automobile and data storage method
US20050257038A1 (en) Automotive electronic control unit and a method for storing configuration data in the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060407

A761 Written withdrawal of application

Effective date: 20081224

Free format text: JAPANESE INTERMEDIATE CODE: A761