[go: up one dir, main page]

JP2001301572A - Method for imparting identification code of on-vehicle ecu and on-vehicle ecu - Google Patents

Method for imparting identification code of on-vehicle ecu and on-vehicle ecu

Info

Publication number
JP2001301572A
JP2001301572A JP2000118284A JP2000118284A JP2001301572A JP 2001301572 A JP2001301572 A JP 2001301572A JP 2000118284 A JP2000118284 A JP 2000118284A JP 2000118284 A JP2000118284 A JP 2000118284A JP 2001301572 A JP2001301572 A JP 2001301572A
Authority
JP
Japan
Prior art keywords
ecu
vehicle
identification code
engine
security
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.)
Pending
Application number
JP2000118284A
Other languages
Japanese (ja)
Inventor
Kazuo Taniguchi
和夫 谷口
Zabatsuki Andre
ザバツキ アンドレ
Archer Keir
アーチャー キア
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
Original Assignee
Denso 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 filed Critical Denso Corp
Priority to JP2000118284A priority Critical patent/JP2001301572A/en
Publication of JP2001301572A publication Critical patent/JP2001301572A/en
Pending legal-status Critical Current

Links

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method for imparting an identification code of an on- vehicle ECU enabling the simplification of working processes and cost reduction. SOLUTION: An engine ECU 10 and a security ECU 20 are interconnected in such a manner as to enable serial communications therebetween. A vehicle ID (vehicle identification code) and an ECU-ID (ECU identification code) are stored in the flash ROM 12 of the engine ECU 10, and the flash ROM 22 of the security ECU 20 also stores the ECU-ID as does the flash ROM of the engine ECU 10. If there is an ID write request from an external tool 40 during assembly of the ECU in the engine or replacement of the ECU, the vehicle ID transmitted from the external tool 40 is written in the flash ROM 12 in the engine ECU 10. Subsequently, the vehicle ID is processed to originate an ECU-ID, which is then written in the flash ROM 12.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、車両に搭載される
ECUを個々に識別するためのECU識別コードの付与
方法と、このECU識別コードを用いて車両盗難防止の
ためのセキュリティ処理を実施する車載用ECU装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of assigning an ECU identification code for individually identifying ECUs mounted on a vehicle, and to executing security processing for preventing vehicle theft using the ECU identification code. The present invention relates to a vehicle-mounted ECU device.

【0002】[0002]

【従来の技術】従来より、個々の車両には、車両固有の
車両識別コード(車両ID)が付与されており、この車
両IDを用いてディーラ等で所定の修理作業等が行われ
る。また、車両IDを車載用ECUのメモリ(フラッシ
ュROM等)に書き込んでおき、外部ツールによりメモ
リ内の車両IDを適宜読み出して用いる技術が知られて
いる。
2. Description of the Related Art Conventionally, a vehicle identification code (vehicle ID) unique to a vehicle is assigned to each vehicle, and a predetermined repair work or the like is performed by a dealer or the like using the vehicle ID. There is also known a technique in which a vehicle ID is written in a memory (flash ROM or the like) of an in-vehicle ECU, and the vehicle ID in the memory is appropriately read out and used by an external tool.

【0003】また近年では、車両の盗難防止機能(セキ
ュリティ機能)を持たせた車載用ECU装置が種々提案
されている。例えば、車載エンジンを制御するエンジン
制御用ECUと、エンジンの始動操作時にそれが正規手
順であったかどうかを判定するセキュリティECUとを
備える車載用ECU装置において、セキュリティECU
は、「ドアロックが正常に開錠されたこと」や「イグニ
ッションキーがONされたこと」などを判断し、エンジ
ン制御用ECUに対して始動許可の旨を表す始動許可信
号を送信する。エンジン制御用ECUは、この始動許可
信号を受けて燃料噴射や点火の制御を開始する。
In recent years, various in-vehicle ECU devices having a vehicle anti-theft function (security function) have been proposed. For example, in an in-vehicle ECU device including an engine control ECU that controls an in-vehicle engine and a security ECU that determines whether or not the engine was operated in a regular procedure when starting the engine, a security ECU is provided.
Determines that the door lock has been unlocked normally and that the ignition key has been turned on, and sends a start permission signal to the engine control ECU indicating that the start is permitted. The engine control ECU receives the start permission signal and starts control of fuel injection and ignition.

【0004】また、セキュリティECUからエンジン制
御用ECUへ送信される始動許可信号が外部(第3者)
に漏れ知れることのないよう、同信号を暗号化すること
が考えられる。この場合、前述の車両IDを用いて始動
許可信号を暗号化しても良いが、車両IDは車両ボディ
に記載(刻印)されることがあるため、暗号を解析され
る危険性がある。そのため、車両IDとは別の識別コー
ドをECU内部で生成し、ECU内部の識別コードで始
動許可信号を暗号化することが検討されている。すなわ
ち、この識別コードは、個々のエンジン制御用ECUに
対して固有の識別コード(ECU−ID)として付与さ
れ、同コードが外部に漏れ知れる可能性が低いために、
セキュリティ機能の信頼性が向上する。なおこのECU
−IDは、車両の盗難防止機能に用いられる他、ECU
の不正改造防止にも用いられる。
A start permission signal transmitted from the security ECU to the engine control ECU is transmitted to an external (third party).
It is conceivable to encrypt the signal so that the signal is not leaked. In this case, the start permission signal may be encrypted using the above-described vehicle ID. However, since the vehicle ID may be described (engraved) on the vehicle body, there is a risk that the encryption may be analyzed. Therefore, it has been considered to generate an identification code different from the vehicle ID inside the ECU and encrypt the start permission signal with the identification code inside the ECU. That is, this identification code is given as a unique identification code (ECU-ID) to each engine control ECU, and the code is less likely to be leaked to the outside.
The reliability of the security function is improved. This ECU
-The ID is used for the vehicle anti-theft function,
It is also used to prevent unauthorized alteration of

【0005】[0005]

【発明が解決しようとする課題】ところが、上記の従来
技術では通常、ECU−IDは、ECUメーカでの製造
工程内で生成され、ECU内蔵メモリ(フラッシュRO
M等)に書き込まれるのに対し、車両IDは、車両メー
カで車載用ECU装置を車両に組み込む際に生成され、
同じくECU内蔵メモリに書き込まれる。そのため、各
々のコード情報を書き込むための工程が増え、それに起
因してコストが高くなってしまうという問題が生じる。
However, in the above-mentioned prior art, the ECU-ID is usually generated in the manufacturing process of the ECU maker, and the ECU built-in memory (flash RO) is used.
M), the vehicle ID is generated when the vehicle manufacturer incorporates the vehicle-mounted ECU device into the vehicle,
Similarly, it is written into the ECU built-in memory. Therefore, there is a problem that the number of steps for writing each piece of code information increases, and the cost increases accordingly.

【0006】本発明は、上記問題に着目してなされたも
のであって、その目的とするところは、作業工程の簡素
化並びに低コスト化を図ることができる車載用ECUの
識別コード付与方法を提供することである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an object of the present invention is to provide a method for assigning an identification code for an in-vehicle ECU which can simplify a working process and reduce costs. To provide.

【0007】[0007]

【課題を解決するための手段】請求項1に記載の発明に
よれば、車両識別コード(車両ID)を付与する際、そ
れと同時にECU識別コード(ECU−ID)を生成し
付与するので、各識別コードを付与するための別々の工
程を要することはなく、作業工程の簡素化並びに低コス
ト化を図ることができる。
According to the first aspect of the present invention, when the vehicle identification code (vehicle ID) is assigned, the ECU identification code (ECU-ID) is generated and assigned at the same time. There is no need for a separate step for assigning the identification code, and the working steps can be simplified and the cost can be reduced.

【0008】この場合、車両識別コードは車両固有のも
のであって、複数の車両で当該コードが重複しないた
め、請求項2や請求項3に記載したように、車両識別コ
ードを基に、ECU識別コードを生成することにより、
ECU識別コードが重複することも避けられる。それ
故、適正なECU識別コードが付与できるようになる。
特に、車両識別コードの書き込み処理に引き続き、同車
両識別コードを加工したECU識別コードの書き込み処
理を行うことにより(請求項1+2)、作業が簡易化さ
れ、実用上の効果が向上する。
[0008] In this case, the vehicle identification code is unique to the vehicle and does not overlap in a plurality of vehicles. Therefore, as described in the second and third aspects, the ECU identifies the vehicle based on the vehicle identification code. By generating an identification code,
Duplicate ECU identification codes can be avoided. Therefore, an appropriate ECU identification code can be assigned.
In particular, by performing the writing process of the ECU identification code obtained by processing the vehicle identification code following the writing process of the vehicle identification code (claim 1 + 2), the operation is simplified and the practical effect is improved.

【0009】また、請求項4に記載の発明は、車載エン
ジン制御用のECUと、セキュリティECUとを備える
車載用ECU装置に関するものであり、エンジン制御用
ECUには、請求項1〜3の何れかに記載の方法を用い
てECU識別コードが付与されている。そして、このE
CU識別コードがセキュリティECUに対して送信され
記憶されている。セキュリティECUは、ECU識別コ
ードを用い、始動操作が正規手順であったかどうかを表
す暗号を生成すると共に、その暗号を前記のエンジン制
御用ECUに送信し、エンジン制御用ECUは、セキュ
リティECUより受信した暗号に応じてエンジンの始動
を許可するか又は禁止するかを判断する。かかる場合、
ECU識別コードを用いた所望のセキュリティ処理が可
能となる。
The invention according to claim 4 relates to an in-vehicle ECU device including an in-vehicle engine control ECU and a security ECU, wherein the engine control ECU includes any one of claims 1 to 3. The ECU identification code is assigned using the method described in (1) or (2). And this E
The CU identification code is transmitted to and stored in the security ECU. The security ECU uses the ECU identification code to generate a code indicating whether the starting operation was a normal procedure and transmits the code to the engine control ECU, and the engine control ECU receives the code from the security ECU. It is determined whether the start of the engine is permitted or prohibited according to the code. In such cases,
Desired security processing using the ECU identification code becomes possible.

【0010】[0010]

【発明の実施の形態】以下、この発明を具体化した一実
施の形態を図面に従って説明する。図1は、本発明が適
用された車両用盗難防止装置の概略を示す全体回路構成
図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is an overall circuit configuration diagram schematically showing a vehicle anti-theft device to which the present invention is applied.

【0011】本装置は主要な構成として、エンジンEC
U10とセキュリティECU20とを備え、それら両E
CU10,20は相互にシリアル通信可能に接続されて
いる。エンジンECU10は、CPU11、フラッシュ
ROM12、RAM13等からなる周知の論理演算回路
にて構成されている。また同様に、セキュリティECU
20は、CPU21、フラッシュROM22、RAM2
3等からなる。
This device has an engine EC as a main configuration.
U10 and a security ECU 20.
The CUs 10 and 20 are connected to each other so that serial communication is possible. The engine ECU 10 includes a well-known logical operation circuit including a CPU 11, a flash ROM 12, a RAM 13, and the like. Similarly, security ECU
20 is a CPU 21, a flash ROM 22, a RAM 2
Consists of 3 mag.

【0012】エンジンECU10は、図示しないセンサ
群から検出結果を取り込んでエンジン運転状態を検知
し、それに基づいて燃料噴射や点火時期を制御する。す
なわち、同ECU10は、エンジン始動後においてイン
ジェクタ31及びイグナイタ(点火装置)32に対して
制御信号を出力し、それによりエンジンの運転状態を制
御する。
The engine ECU 10 fetches detection results from a sensor group (not shown) to detect an engine operating state, and controls fuel injection and ignition timing based on the detected operation state. That is, the ECU 10 outputs a control signal to the injector 31 and the igniter (ignition device) 32 after the engine is started, thereby controlling the operating state of the engine.

【0013】エンジンECU10のフラッシュROM1
2には、車両ID(車両識別コード)とECU−ID
(ECU識別コード)とが記憶されており、車両IDに
より車両各自が識別できる。また、ECU−IDによ
り、エンジンECU各自が識別できる。特に、メモリデ
ータとしてのみ記憶されているECU−IDは、外部に
漏れ知れる可能性は低く、車両の盗難防止やメモリデー
タの不正改造防止を図るために用いられる。
The flash ROM 1 of the engine ECU 10
2 includes a vehicle ID (vehicle identification code) and an ECU-ID
(ECU identification code) is stored, and each vehicle can be identified by the vehicle ID. Further, each engine ECU can be identified by the ECU-ID. In particular, the ECU-ID stored only as memory data has a low possibility of being leaked to the outside, and is used for preventing theft of a vehicle and preventing unauthorized modification of memory data.

【0014】一方、セキュリティECU20において、
フラッシュROM22内にはセキュリティプログラムが
予め記憶されており、CPU21は、このセキュリティ
プログラムに従い、車両ドアが正規の手順で開錠され、
且つ車両運転者により操作されるイグニッションキー
(以下、IGキーという)33が正規キーであるかどう
かを判定する。つまり、セキュリティECU20にはド
アキースイッチ35が接続されており、このドアキース
イッチ35は、正規のドアキーにより車両ドアのロック
が解除された時にオンする。
On the other hand, in the security ECU 20,
A security program is stored in the flash ROM 22 in advance, and the CPU 21 unlocks the vehicle door in a regular procedure according to the security program.
Further, it is determined whether an ignition key (hereinafter, referred to as an IG key) 33 operated by the vehicle driver is a regular key. That is, the door key switch 35 is connected to the security ECU 20, and the door key switch 35 is turned on when the lock of the vehicle door is released by a proper door key.

【0015】また、IGキー33は、車両各自に設定さ
れた所定の暗証コードを格納するメモリ33aを内蔵し
ており、キーシリンダ34は、IGキー内蔵の暗証コー
ドを読み取り、その暗証コードをセキュリティECU2
0に転送する。これに対し、セキュリティECU20の
フラッシュROM22内には、正規キーと同じ暗証コー
ドが格納されており、セキュリティECU20は、キー
シリンダ34で読み取られたIGキー内蔵の暗証コード
とフラッシュROM22内の暗証コードとを照合して正
規キーの判定を行う。
The IG key 33 has a built-in memory 33a for storing a predetermined security code set for each vehicle, and the key cylinder 34 reads the security code built in the IG key and secures the security code. ECU2
Transfer to 0. On the other hand, the security code stored in the flash ROM 22 of the security ECU 20 is the same as the security code stored in the flash ROM 22, and the security ECU 20 stores the security code stored in the IG key read by the key cylinder 34 and the security code stored in the flash ROM 22. To determine the regular key.

【0016】また、セキュリティECU20のフラッシ
ュROM22には、エンジンECU10側と同様にEC
U−IDが記憶されており、CPU21は、エンジン始
動許可を与えるための暗号をECU−IDにより生成
し、エンジンECU10に送信する。
The flash ROM 22 of the security ECU 20 has the same EC number as the engine ECU 10.
The U-ID is stored, and the CPU 21 generates a code for giving permission to start the engine using the ECU-ID, and transmits the code to the engine ECU 10.

【0017】スタータ36は、セキュリティECU20
からのスタータ許可信号により駆動され、図示しないバ
ッテリから+B電圧を受けて回転しエンジンをクランキ
ングさせる。なお、IGキー33がオン操作された時、
図示しないIGキースイッチがオンして車載バッテリか
らの電源電圧(+B電圧)が各ECU10,20及びス
タータ36に供給されるようになっている。
The starter 36 is connected to the security ECU 20
The engine is driven by a starter permission signal from the controller and receives a + B voltage from a battery (not shown) to rotate and crank the engine. When the IG key 33 is turned on,
When an IG key switch (not shown) is turned on, the power supply voltage (+ B voltage) from the vehicle battery is supplied to each of the ECUs 10 and 20 and the starter 36.

【0018】また、外部ツール40は、車両メーカやデ
ィーラ等で使用される外部装置であり、エンジンECU
10の接続ポートに接続して使用される。一機能とし
て、外部ツール40は、車両各自に与えられる車両ID
をエンジンECU10に対して送信する。
The external tool 40 is an external device used by vehicle manufacturers, dealers, and the like.
Used by connecting to 10 connection ports. As one function, the external tool 40 includes a vehicle ID assigned to each vehicle.
Is transmitted to the engine ECU 10.

【0019】上記構成を持つシステムにおいて、その作
用を以下に説明する。図2は、ECU−IDを生成する
手順を示すフローチャートであり、この処理はエンジン
ECU10によりその起動時に実施される。つまり、図
2は、エンジンへのECU組み付け時やECU交換時に
おいて車両IDからECU−IDを生成する処理工程を
示す。因みにECU−ID書き込み前は、ECU−ID
を初期値の「H’0000 0000 0000 0000 」にしておく。
The operation of the system having the above configuration will be described below. FIG. 2 is a flowchart showing a procedure for generating the ECU-ID, and this process is executed by the engine ECU 10 at the time of startup. That is, FIG. 2 shows a process of generating the ECU-ID from the vehicle ID when the ECU is assembled into the engine or when the ECU is replaced. By the way, before writing the ECU-ID, the ECU-ID
Is set to the initial value "H'0000 0000 0000 0000".

【0020】詳細には図2において、先ずステップ10
1では、外部ツール40から車両IDの書き込み要求が
有るかどうかを判別し、ID書き込み要求有りの場合、
ステップ102に進み、外部ツール40から送信されて
くる車両IDをエンジンECU10内のフラッシュRO
M12に書き込む。
More specifically, referring to FIG.
In step 1, it is determined whether there is a request to write a vehicle ID from the external tool 40.
Proceeding to step 102, the vehicle ID transmitted from the external tool 40 is stored in the flash RO in the engine ECU 10.
Write to M12.

【0021】また、続くステップ103では、フラッシ
ュROM12内のECU−IDが初期値(H’0000 000
0 0000 0000 )であるか否かを判別する。この判別は、
ECU−IDが上書きされるのを防ぐために実施され
る。そして、ステップ103がYESであればステップ
104に進み、ECU−IDを作成してフラッシュRO
M12に書き込む。ここで、ECU−IDは車両IDを
加工して作成されるようになっており、一例として、以
下の式に従い作成される。ECU−ID=(車両ID*
H’1000 0000 )+年+月+日+時間+分+秒すなわ
ち、車両IDとID作成時の日時分秒とによりECU−
IDが作成され、これにより各エンジンECU10で全
て異なるECU−IDが付与できる。但し、ECU−I
Dは、エンジンECU10毎に固有の識別コードであれ
ば良く、上式以外の手法にて作成することも可能であ
る。
In the following step 103, the ECU-ID in the flash ROM 12 is set to the initial value (H'0000 000).
0 0000 0000). This determination is
This is performed to prevent the ECU-ID from being overwritten. If step 103 is YES, the process proceeds to step 104, where ECU-ID is created and flash RO
Write to M12. Here, the ECU-ID is created by processing the vehicle ID, and is created according to the following equation as an example. ECU-ID = (Vehicle ID *
H'1000 0000) + year + month + day + hour + minute + second, that is, ECU-
An ID is created, so that each engine ECU 10 can assign a different ECU-ID. However, ECU-I
D need only be an identification code unique to each engine ECU 10 and can be created by a method other than the above equation.

【0022】一方、車両盗難防止の機能としては、上記
の如くエンジンECU10側で作成されたECU−ID
をセキュリティECU20側でも記憶させておき、セキ
ュリティECU20は、このECU−IDを用いてエン
ジン始動を許可又は禁止する旨の暗号を生成し出力す
る。以下には、セキュリティECU20でECU−ID
を記憶保持する手順(図3のフローチャート)、ECU
−IDを用いてエンジンの始動許可判定を行う手順(図
4、図5のフローチャート)を順次説明する。
On the other hand, the function of preventing vehicle theft includes the ECU-ID created by the engine ECU 10 as described above.
Is also stored on the security ECU 20 side, and the security ECU 20 generates and outputs a code for permitting or prohibiting the engine start using the ECU-ID. In the following, the security ECU 20 uses the ECU-ID
For storing and storing the information (the flowchart of FIG. 3), the ECU
The procedure for determining whether to permit the start of the engine using the ID (the flowcharts in FIGS. 4 and 5) will be sequentially described.

【0023】はじめに、セキュリティECU20にEC
U−IDを記憶させる手順を説明する。ここで、図3
(a)はセキュリティECU20側の処理を示し、図3
(b)はエンジンECU10側の処理を示す。
First, the security ECU 20 has an EC
A procedure for storing the U-ID will be described. Here, FIG.
FIG. 3A shows processing on the security ECU 20 side, and FIG.
(B) shows the processing on the engine ECU 10 side.

【0024】セキュリティECU20への電源投入に伴
い図3(a)の処理が起動され、先ずステップ201で
は、セキュリティECU20内のフラッシュROM22
にECU−IDが既に記憶されているかどうかを判別す
る。例えば、ECU組み付け時にエンジンECU10で
ECU−IDが作成された時点では、セキュリティEC
U20にECU−IDが記憶されておらず、ステップ2
01がNOとなりステップ202に進む。ステップ20
2では、エンジンECU10に対してECU−IDの送
信を要求する。
3A is started when the power to the security ECU 20 is turned on. First, at step 201, the flash ROM 22 in the security ECU 20 is started.
It is determined whether or not the ECU-ID has already been stored. For example, when the ECU-ID is created by the engine ECU 10 when the ECU is assembled, the security EC
If the ECU-ID is not stored in U20, step 2
01 is NO and the routine proceeds to step 202. Step 20
In 2, the ECU requests the engine ECU 10 to transmit the ECU-ID.

【0025】このとき、エンジンECU10側では、図
3(b)に示すように、セキュリティECU20からE
CU−IDの送信要求が有ったかどうかを判別し(ステ
ップ301)、送信要求有りの場合、フラッシュROM
12内のECU−IDをセキュリティECU20に対し
て送信する(ステップ302)。
At this time, on the engine ECU 10 side, as shown in FIG.
It is determined whether a CU-ID transmission request has been made (step 301).
The ECU-ID in the control unit 12 is transmitted to the security ECU 20 (step 302).

【0026】また、セキュリティECU20では、前記
ステップ202の送信要求後、ステップ203でエンジ
ンECU10からECU−IDを受信したかどうかを判
別する。そして、YESであればステップ204に進
み、受信したECU−IDをフラッシュROM22に記
憶する。なお、ECU−IDが記憶された後は、ステッ
プ201がYESとなり、ステップ202〜204の処
理がパスされる。
After the transmission request in step 202, the security ECU 20 determines in step 203 whether the ECU-ID has been received from the engine ECU 10. If YES, the process proceeds to step 204, where the received ECU-ID is stored in the flash ROM 22. After the ECU-ID is stored, step 201 becomes YES, and the processing of steps 202 to 204 is passed.

【0027】次に、ECU−IDを用いてエンジンの始
動許可判定を行う手順について説明する。図4は、セキ
ュリティECU20側で実施されるセキュリティプログ
ラムを示すフローチャートであり、図5は、エンジンE
CU10側で実施される始動許可判定プログラムを示す
フローチャートである。
Next, a procedure for determining whether to permit the start of the engine using the ECU-ID will be described. FIG. 4 is a flowchart showing a security program executed on the security ECU 20 side, and FIG.
5 is a flowchart illustrating a start permission determination program executed on the CU 10 side.

【0028】図4の処理はセキュリティECU20のリ
セット時に起動され、先ずステップ401〜403で
は、車両ドアが正規の手順で開錠されたかどうかを判定
するための前提条件を確認する。すなわち、 ・ステップ401では、フラッシュROM22内のEC
U−IDが初期値でないか否かを判別する。 ・ステップ402では、ドアキースイッチ(図示略)が
オンしているか否かを判別する。なお、このドアキース
イッチは、車両のドアロックが同車両の所有者の正規ド
アキーにより解除された時にオンするスイッチである。 ・ステップ403では、IGキー内の暗証コードとフラ
ッシュROM22内の暗証コードとを照合し、両者が一
致するか否かを判別する。
The process of FIG. 4 is started when the security ECU 20 is reset. First, in steps 401 to 403, preconditions for determining whether or not the vehicle door has been unlocked in a regular procedure are confirmed. In step 401, the EC in the flash ROM 22
It is determined whether the U-ID is not the initial value. In step 402, it is determined whether or not a door key switch (not shown) is turned on. The door key switch is a switch that is turned on when the door lock of the vehicle is released by a regular door key of the owner of the vehicle. In step 403, the personal identification code in the IG key is compared with the personal identification code in the flash ROM 22 to determine whether or not both match.

【0029】上記ステップ401〜403によれば、E
CU−IDが初期値のままでなく、且つ車両ドアが正規
の手順で開錠された場合にのみ、全ての判別結果がYE
Sとなる。
According to steps 401 to 403, E
Only when the CU-ID is not kept at the initial value and the vehicle door is unlocked in a regular procedure, all the determination results are YE.
It becomes S.

【0030】ステップ401〜403が全てYESの場
合、ステップ404に進み、車両ドアが正規の手順で開
錠されたことを表す暗号として、ECU−IDを用いて
暗号βを生成する。また、ステップ401〜403の何
れかがNOの場合、ステップ406に進み、車両ドアが
正規の手順で開錠されたのではないことを表す暗号とし
て、ECU−IDを用いて暗号γを生成する。一例とし
て、以下の数式により暗号β,γを生成する。 暗号β=(ECU−ID)−定数B 暗号γ=(ECU−ID)+定数C (但し、B≠
C) また、ステップ404での暗号βの生成に引き続き、ス
テップ405では、スタータ起動を許可する旨の信号を
スタータ36に対して送信する。そしてその後、ステッ
プ407では、エンジンECU10に対して暗号(β又
はγ)を送信する。
If all of the steps 401 to 403 are YES, the process proceeds to a step 404, where a code β is generated using the ECU-ID as a code indicating that the vehicle door has been unlocked in a regular procedure. If any of Steps 401 to 403 is NO, the process proceeds to Step 406, and a code γ is generated using the ECU-ID as a code indicating that the vehicle door has not been unlocked in a regular procedure. . As an example, the encryptions β and γ are generated by the following equations. Encryption β = (ECU-ID) −constant B Encryption γ = (ECU-ID) + constant C (where B ≠
C) Further, following the generation of the encryption β in step 404, in step 405, a signal to permit the starter to start is transmitted to the starter 36. Then, in step 407, the encryption (β or γ) is transmitted to the engine ECU 10.

【0031】一方、図5の処理は、IGキーのオン操作
後にエンジンECU10により起動され、先ずステップ
501では、燃料噴射及び点火が既に許可されているか
否か(始動許可されているか否か)を判別する。IGキ
ーのオン操作直後であれば、ステップ501がNOとな
り、ステップ502に進む。
On the other hand, the process of FIG. 5 is started by the engine ECU 10 after the ON operation of the IG key. First, at step 501, it is determined whether fuel injection and ignition have already been permitted (whether or not the start has been permitted). Determine. If it is immediately after the IG key is turned on, step 501 becomes NO and the process proceeds to step 502.

【0032】ステップ502では、セキュリティECU
20から送信されてくる暗号がβであるか否かを判別す
る。暗号がβであれば、ステップ503で暗号βを解析
した後、ステップ504でその解析結果が正しいか否か
を判別する。つまり、暗号βを解析することでセキュリ
ティECU20側で記憶保持されているECU−IDを
解読し、このECU−IDが正しいかどうかを判別す
る。
In step 502, the security ECU
It is determined whether or not the cipher transmitted from 20 is β. If the cipher is β, after analyzing the cipher β in step 503, it is determined in step 504 whether or not the analysis result is correct. That is, the security ECU 20 decrypts the ECU-ID stored and held by analyzing the encryption β, and determines whether or not the ECU-ID is correct.

【0033】ステップ504がYESの場合、ステップ
505に進み、燃料噴射及び点火を許可する。すなわ
ち、始動許可を下す。また、ステップ502又は504
の何れかがNOの場合、ステップ506に進み、燃料噴
射及び点火を禁止する。始動許可後はステップ501が
YESとなり、その始動許可状態が継続される。
If step 504 is YES, the process proceeds to step 505, where fuel injection and ignition are permitted. That is, the starting permission is given. Step 502 or 504
If any of the above is NO, the routine proceeds to step 506, where fuel injection and ignition are prohibited. After the start is permitted, step 501 becomes YES, and the start permitted state is continued.

【0034】以上詳述した本実施の形態によれば、以下
に示す効果が得られる。車両ID(車両識別コード)を
エンジンECU10のフラッシュROM12に書き込む
際、それに引き続く処理にてECU−ID(ECU識別
コード)を生成し、同フラッシュROM12に書き込む
ので、各IDを付与するための別々の工程を要すること
はなく、作業工程の簡素化並びに低コスト化を図ること
ができる。
According to the embodiment described above, the following effects can be obtained. When the vehicle ID (vehicle identification code) is written into the flash ROM 12 of the engine ECU 10, an ECU-ID (ECU identification code) is generated and written into the flash ROM 12 in the subsequent processing. There is no need for a step, and the working steps can be simplified and the cost can be reduced.

【0035】この場合、車両IDは車両固有のものであ
るため、車両IDを基にECU−IDを生成することで
ECU−IDが重複することが避けられる。また特に、
車両IDとID作成時の日時分秒とによりECU−ID
が作成されるので、各エンジンECU10で全て異なる
ECU−IDが付与できる。
In this case, since the vehicle ID is unique to the vehicle, the generation of the ECU-ID based on the vehicle ID prevents the ECU-ID from being duplicated. Also, in particular,
ECU-ID based on vehicle ID and date / time / minute / second when ID was created
Therefore, different ECU-IDs can be assigned to all engine ECUs 10.

【0036】また、エンジンECU10及びセキュリテ
ィECU20において、上記ECU−IDを用い上述の
セキュリティ処理(図4,図5の処理)を行うので、信
頼性の高いセキュリティ処理が可能となる。
Further, since the engine ECU 10 and the security ECU 20 perform the above-described security processing (the processing of FIGS. 4 and 5) using the ECU-ID, highly reliable security processing can be performed.

【0037】なお本発明は、上記以外に次の形態にて具
体化できる。上記実施の形態では、「要旨1」として、
車両IDをエンジンECU10内のフラッシュROM1
2に書き込む処理に引き続き、ECU−IDを作成して
同フラッシュROM12に書き込むこととし、「要旨
2」として、更にその際、車両IDを基にECU−ID
を作成することとしたが、この要旨1,2のうち一方の
みを要件として具体化しても良い。すなわち、 (1)車両IDをエンジンECU10内のフラッシュR
OM12に書き込む処理に引き続き、ECU−IDを作
成して同フラッシュROM12に書き込む車載用ECU
装置。 (2)車両IDを基にECU−IDを生成する車載用E
CU装置。 として、これらを各々単独で具体化し実施しても良い。
The present invention can be embodied in the following forms other than the above. In the above embodiment, as “Summary 1”,
The vehicle ID is stored in the flash ROM 1 in the engine ECU 10.
After the process of writing to the ECU 2, the ECU-ID is created and written to the flash ROM 12, and the "Summary 2" is further referred to as ECU-ID based on the vehicle ID.
However, only one of the abstracts 1 and 2 may be embodied as a requirement. That is, (1) the vehicle ID is stored in the flash R in the engine ECU 10;
In-vehicle ECU that creates an ECU-ID and writes it to the flash ROM 12 following the process of writing to the OM 12
apparatus. (2) In-vehicle E that generates ECU-ID based on vehicle ID
CU device. Alternatively, each of these may be embodied and implemented independently.

【0038】上記実施の形態の如く作成したECU−I
Dは、車両の盗難防止以外に、不正改造防止にも適用で
きる。この場合にも、外部に漏れ知れる可能性が少ない
ECU−IDを用いることにより、ECUデータの不正
改造が適正に防止できる。
The ECU-I created as in the above embodiment
D can be applied not only to the prevention of vehicle theft, but also to the prevention of unauthorized alteration. Also in this case, by using the ECU-ID that is less likely to be leaked to the outside, it is possible to appropriately prevent unauthorized modification of ECU data.

【図面の簡単な説明】[Brief description of the drawings]

【図1】発明の実施の形態における車両用盗難防止装置
の概要を示す構成図。
FIG. 1 is a configuration diagram showing an outline of a vehicle antitheft device according to an embodiment of the invention.

【図2】エンジンECUによるECU−IDの作成手順
を示すフローチャート。
FIG. 2 is a flowchart showing a procedure for creating an ECU-ID by an engine ECU.

【図3】セキュリティECUにECU−IDを記憶させ
る手順を示すフローチャート。
FIG. 3 is a flowchart showing a procedure for storing an ECU-ID in a security ECU.

【図4】セキュリティECUによるセキュリティプログ
ラムを示すフローチャート。
FIG. 4 is a flowchart showing a security program by a security ECU.

【図5】エンジンECUによる始動許可判定プログラム
を示すフローチャート。
FIG. 5 is a flowchart showing a start permission determination program by an engine ECU.

【符号の説明】[Explanation of symbols]

10…エンジンECU、12…フラッシュROM、20
…セキュリティECU、22…フラッシュROM、40
…外部ツール。
10: Engine ECU, 12: Flash ROM, 20
... Security ECU, 22 ... Flash ROM, 40
... external tools.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 キア アーチャー ユナイテッドキングダム ハーツ ハット ヒィールド ビショップ スクエア1 デ ンソーセールスユナイテッドキングダムリ ミテッド内 Fターム(参考) 2E250 AA21 BB08 BB66 DD06 FF27 FF35 HH01 JJ05 LL00 PP15 SS01 SS04 TT04  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Kia Archer United Kingdom Hearts Hat Fields Bishop Square 1 Denso Sales United Kingdom Limited F-term (reference) 2E250 AA21 BB08 BB66 DD06 FF27 FF35 HH01 JJ05 LL00 PP15 SS01 SS04 TT04

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】車両毎に付与される車両識別コードを不揮
発性メモリに書き込む手順と、 それに引き続き、ECUを個々に識別するためのECU
識別コードを生成し、不揮発性メモリに書き込む手順
と、を有する車載用ECUの識別コード付与方法。
1. A procedure for writing a vehicle identification code assigned to each vehicle to a nonvolatile memory, followed by an ECU for individually identifying the ECUs.
A method of generating an identification code and writing the identification code in a nonvolatile memory.
【請求項2】車両識別コードを基に、ECU識別コード
を生成する請求項1に記載の車載用ECUの識別コード
付与方法。
2. The method according to claim 1, wherein the ECU identification code is generated based on the vehicle identification code.
【請求項3】車両識別コードを基に、ECUを個々に識
別するためのECU識別コードを生成することを特徴と
する車載用ECUの識別コード付与方法。
3. An on-vehicle ECU identification code assigning method, wherein an ECU identification code for individually identifying an ECU is generated based on a vehicle identification code.
【請求項4】請求項1〜3の何れかに記載の方法を用い
車載エンジン制御用のECUを識別するためのECU識
別コードが付与され、このECU識別コードが、エンジ
ンの始動操作時にそれが正規手順であったかどうかを判
定するセキュリティECUに対して送信され記憶される
車載用ECU装置において、 セキュリティECUは、前記のECU識別コードを用
い、始動操作が正規手順であったかどうかを表す暗号を
生成すると共に、その暗号を前記のエンジン制御用EC
Uに送信し、エンジン制御用ECUは、セキュリティE
CUより受信した暗号に応じてエンジンの始動を許可す
るか又は禁止するかを判断することを特徴とする車載用
ECU装置。
4. An ECU identification code for identifying an ECU for controlling an in-vehicle engine using the method according to any one of claims 1 to 3, wherein the ECU identification code is used when starting the engine. An in-vehicle ECU that is transmitted to and stored in a security ECU that determines whether or not the start procedure is a normal procedure. The security ECU generates a code that indicates whether or not the start operation is a normal procedure using the ECU identification code. With the engine control EC
U, and the engine control ECU sends the security E
An in-vehicle ECU device that determines whether to allow or prohibit starting of an engine according to a code received from a CU.
JP2000118284A 2000-04-19 2000-04-19 Method for imparting identification code of on-vehicle ecu and on-vehicle ecu Pending JP2001301572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000118284A JP2001301572A (en) 2000-04-19 2000-04-19 Method for imparting identification code of on-vehicle ecu and on-vehicle ecu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000118284A JP2001301572A (en) 2000-04-19 2000-04-19 Method for imparting identification code of on-vehicle ecu and on-vehicle ecu

Publications (1)

Publication Number Publication Date
JP2001301572A true JP2001301572A (en) 2001-10-31

Family

ID=18629452

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000118284A Pending JP2001301572A (en) 2000-04-19 2000-04-19 Method for imparting identification code of on-vehicle ecu and on-vehicle ecu

Country Status (1)

Country Link
JP (1) JP2001301572A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1480145A1 (en) * 2003-05-22 2004-11-24 Toyota Jidosha Kabushiki Kaisha Vehicle identification code storing device and method for storing vehicle identification code
JP2009262679A (en) * 2008-04-23 2009-11-12 Denso Corp Electronic control unit and vehicle control system
JP2009262676A (en) * 2008-04-23 2009-11-12 Denso Corp Electronic control device
CN100595798C (en) * 2006-07-07 2010-03-24 雅马哈发动机株式会社 Anti-theft system for vehicle and vehicle with anti-theft system
US8078352B2 (en) 2008-04-25 2011-12-13 Denso Corporation Electronic control unit for vehicle
US8209078B2 (en) 2009-05-20 2012-06-26 Denso Corporation Electronic control unit and vehicle control system
WO2013114970A1 (en) * 2012-01-31 2013-08-08 株式会社東海理化電機製作所 Electronic key registration method and electronic key registration system
KR20150084403A (en) * 2014-01-14 2015-07-22 볼보 컨스트럭션 이큅먼트 에이비 Control system for antitheft of construction equipment
CN112131554A (en) * 2020-08-14 2020-12-25 广州亚美智造科技有限公司 Installation identification method and device of vehicle-mounted terminal and vehicle-mounted terminal

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7145485B2 (en) 2003-05-22 2006-12-05 Toyota Jidosha Kabushiki Kaisha Vehicle identification code storing device and method for storing vehicle identification code
EP1480145A1 (en) * 2003-05-22 2004-11-24 Toyota Jidosha Kabushiki Kaisha Vehicle identification code storing device and method for storing vehicle identification code
CN100595798C (en) * 2006-07-07 2010-03-24 雅马哈发动机株式会社 Anti-theft system for vehicle and vehicle with anti-theft system
DE102009018264B4 (en) 2008-04-23 2018-08-09 Denso Corporation Electronic control device
JP2009262679A (en) * 2008-04-23 2009-11-12 Denso Corp Electronic control unit and vehicle control system
JP2009262676A (en) * 2008-04-23 2009-11-12 Denso Corp Electronic control device
DE102009018264A1 (en) 2008-04-23 2009-12-17 DENSO CORPORATION, Kariya-shi Electronic control device
US8095263B2 (en) 2008-04-23 2012-01-10 Denso Corporation Electronic control unit and vehicle control system
US8223002B2 (en) 2008-04-23 2012-07-17 Denso Corporation Electronic control apparatus with automatic information update when transferred between vehicles
US8078352B2 (en) 2008-04-25 2011-12-13 Denso Corporation Electronic control unit for vehicle
US8209078B2 (en) 2009-05-20 2012-06-26 Denso Corporation Electronic control unit and vehicle control system
JP2013155555A (en) * 2012-01-31 2013-08-15 Tokai Rika Co Ltd Electronic key registration system
US9509499B2 (en) 2012-01-31 2016-11-29 Kabushiki Kaisha Tokai Rika Denki Seisakusho Electronic key registration method and electronic key registration system
WO2013114970A1 (en) * 2012-01-31 2013-08-08 株式会社東海理化電機製作所 Electronic key registration method and electronic key registration system
KR20150084403A (en) * 2014-01-14 2015-07-22 볼보 컨스트럭션 이큅먼트 에이비 Control system for antitheft of construction equipment
KR102040811B1 (en) 2014-01-14 2019-11-06 볼보 컨스트럭션 이큅먼트 에이비 Control system for antitheft of construction equipment
CN112131554A (en) * 2020-08-14 2020-12-25 广州亚美智造科技有限公司 Installation identification method and device of vehicle-mounted terminal and vehicle-mounted terminal

Similar Documents

Publication Publication Date Title
US6401207B1 (en) Security device for vehicle
JP4340297B2 (en) Memory rewriting system for vehicle control device
JP3191607B2 (en) Vehicle anti-theft device
JPH1081201A (en) Engine start control device
JP2006240566A (en) Vehicle anti-theft system
JP3893758B2 (en) Engine control device and vehicle antitheft device
JP2001301572A (en) Method for imparting identification code of on-vehicle ecu and on-vehicle ecu
JP2915299B2 (en) Vehicle anti-theft device
CN101855111B (en) How to unlock the engine control computer
US6144112A (en) Fuel pump immobilization
JPH10175512A (en) Theft-proofing device using code type transponder
JP2000108848A (en) Immobilizer device
JP2000027502A (en) Key collation device
US7068144B2 (en) Method and system for re-learning a key
JP2003196755A (en) System for monitoring theft of on-vehicle component and on-vehicle component
JP2008084120A (en) Electronic control device
EP1860617A2 (en) Security systems
JP3496547B2 (en) Vehicle anti-theft device
JP3525521B2 (en) Anti-theft devices for vehicles
JP2004359036A (en) Anti-theft system for vehicle
JP3722922B2 (en) Automotive immobilizer system
JP3309676B2 (en) Vehicle anti-theft device
JP3555676B2 (en) Vehicle anti-theft device
JP4161886B2 (en) Vehicle anti-theft device
JP3511700B2 (en) Anti-theft devices for vehicles