JPH11334534A - Key collating device - Google Patents

Key collating device

Info

Publication number
JPH11334534A
JPH11334534A JP14785698A JP14785698A JPH11334534A JP H11334534 A JPH11334534 A JP H11334534A JP 14785698 A JP14785698 A JP 14785698A JP 14785698 A JP14785698 A JP 14785698A JP H11334534 A JPH11334534 A JP H11334534A
Authority
JP
Japan
Prior art keywords
key
response code
communication
data
key response
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
JP14785698A
Other languages
Japanese (ja)
Inventor
Takayoshi Honda
隆芳 本多
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 JP14785698A priority Critical patent/JPH11334534A/en
Publication of JPH11334534A publication Critical patent/JPH11334534A/en
Pending legal-status Critical Current

Links

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

PROBLEM TO BE SOLVED: To quickly recognize whether a key is a regular key or not in a key collating device for communicating with transponders respectively provided for a plurality of keys in sequence. SOLUTION: A key collating device including an immobilizer ECU20, an amplifier circuit 21 and an antenna 22a communicates with transponders T1-T6 respectively installed on a plurality of keys K1-K6 having individual passwords in sequence and collates whether the keys are regular keys or not. The key collating device selects at first the passwords for the clock renewed keys to be used in sequence out of the passwords for the plurality of keys K1-K6 to communicate with the transponders having these passwords, so that it recognizes that the key is a regular key when correctly communicating therewith and it selects the next password to perform the same procedure when incorrectly communicating therewith. Generally, since the clock renewed keys to be used is more often used again, the key collating device accomplishes quick recognition when the key to be used is a regular key.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば盗難防止機
能を備えた車両に利用される、車両キー照合装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle key collating device used for a vehicle having an anti-theft function, for example.

【0002】[0002]

【従来の技術】従来より、盗難防止機能を備えた自動車
などの車両が知られている。このような盗難防止機能
は、例えば次のようにして実現される。即ち、車両に搭
載されたイモビライザ用電子制御ユニット(以下イモビ
ECUという)が、車両キーに組み込まれたトランスポ
ンダと通信を行い、トランスポンダから受信したデータ
が正規データかどうかを照合し、両者が一致すればその
車両キーを正規キーと判断してエンジンの始動を許可
し、両者が一致しなけばその車両キーを正規キーでない
と判断してエンジンの始動を禁止するのである。
2. Description of the Related Art Conventionally, vehicles such as automobiles having an anti-theft function are known. Such a theft prevention function is realized, for example, as follows. That is, an immobilizer electronic control unit (hereinafter, referred to as an immobilizer ECU) mounted on a vehicle communicates with a transponder incorporated in a vehicle key, and checks whether data received from the transponder is legitimate data. For example, the vehicle key is determined to be a legitimate key and the engine start is permitted. If they do not match, the vehicle key is determined to be not a legitimate key and the engine start is prohibited.

【0003】[0003]

【発明が解決しようとする課題】ところで、運転者は、
キーホルダなどにその車両キーを複数本取り付けている
場合や、その車両キーのほかに別の車両キーも取り付け
ている場合がある。このような場合には、イモビECU
がトランスポンダに向けてデータを送信すると、複数の
車両キーのトランスポンダがこれを受信して各々応答デ
ータをイモビECUに向けて送信することがあり、この
場合には混信が発生してしまい、イモビECUにおける
照合性が悪化するという問題があった。
By the way, the driver
A plurality of vehicle keys may be attached to a key holder or the like, or another vehicle key may be attached in addition to the vehicle key. In such a case, Immobili ECU
When the data is transmitted to the transponder, the transponders of a plurality of vehicle keys may receive the data and transmit each of the response data to the immobilizer ECU. In this case, interference may occur, and the immobilizer ECU may transmit the response data. However, there is a problem that the collation property is deteriorated.

【0004】この点を解決するため、トランスポンダと
イモビECUとの間の通信として、キー応答コード(例
えばパスワード)を使用した方式を採用することが考え
られる。この場合、車両キーにはそれぞれ異なるパスワ
ードが記憶されており、イモビECUから送信されてき
たパスワードと一致した車両キーのトランスポンダのみ
が応答する。
In order to solve this problem, it is conceivable to employ a method using a key response code (for example, a password) for communication between the transponder and the immobilizer ECU. In this case, a different password is stored in each vehicle key, and only the transponder of the vehicle key that matches the password transmitted from the immobilizer ECU responds.

【0005】しかしながら、イモビECUに例えば10
本の車両キーが正規キーとして登録されている場合、イ
モビECUは各車両キーに対応する10個のパスワード
を順次送信していくのであるが、実際に使用される車両
キーのパスワードが10番目に登録されている場合に
は、パスワードが一致するまでに10回のパスワード通
信が必要となる。このパスワード通信を1回行うのに要
する時間には、通常、100ms以上であるため、上記
のように10番目に登録されている車両キーを使用する
場合には、正規キーかどうかの認識に手間取り、絶えず
1秒以上エンジンが始動できないという事態が生じる。
[0005] However, for example, 10
When the vehicle keys are registered as regular keys, the immobilizer ECU sequentially transmits ten passwords corresponding to each vehicle key, but the password of the vehicle key actually used is the tenth. If registered, ten password communications are required until the passwords match. Since the time required to perform this password communication once is usually 100 ms or more, when using the vehicle key registered as the tenth as described above, it takes time to recognize whether the key is a legitimate key. In some cases, the engine cannot be started for more than one second.

【0006】また、トランスポンダは、キーシリンダ等
に設けられたアンテナから励起信号を受信することによ
りエネルギーをコンデンサに蓄えてそれを電源として動
作を行う。このようなトランスポンダとしては、R/O
(リード・オンリ)型と暗号型がある。R/O型は、励
起信号を受信した後ただちに応答信号をイモビECUに
送信するため比較的通信時間が短い。これに対して、暗
号型は、励起信号を受信した後質問データを受信し、そ
の質問データにつき例えば関数データを用いて暗号処理
を行って回答データを作成し、それを応答信号としてイ
モビECUに送信するため、比較的通信時間が長い。こ
のため、暗号型ではR/O型に比べてエンジンの始動性
の悪化が顕著になりやすい。
[0006] The transponder receives an excitation signal from an antenna provided in a key cylinder or the like, stores energy in a capacitor, and operates using the power as a power source. As such a transponder, R / O
There are (read only) type and encryption type. Since the R / O type transmits a response signal to the Immobili ECU immediately after receiving the excitation signal, the communication time is relatively short. On the other hand, the encryption type receives question data after receiving an excitation signal, performs encryption processing on the question data by using, for example, function data, creates answer data, and uses it as a response signal to the Immobili ECU. Because of the transmission, the communication time is relatively long. For this reason, the startability of the engine tends to be more remarkable in the encryption type than in the R / O type.

【0007】本発明は上記課題に鑑みなされたものであ
り、複数のキーにそれぞれ設けられたトランスポンダと
順次通信を行うキー照合装置において、正規キーかどう
かの認識を迅速化したものを提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and provides a key collating device that sequentially communicates with transponders respectively provided for a plurality of keys, wherein the key collating device promptly recognizes whether the key is a legitimate key. With the goal.

【0008】[0008]

【課題を解決するための手段及び発明の効果】上記課題
を解決するため、請求項1記載の発明は、複数のキーの
各々に設置され且つ個別のキー応答コードを有するトラ
ンスポンダと順次通信を行い、そのキーが正規キーかど
うかを照合するキー照合装置であって、複数の正規キー
のキー応答コードのうち、使用した時刻の最も新しいキ
ー応答コードを最初に選択するキー応答コード選択手段
と、前記キー応答コード選択手段によって選択されたキ
ー応答コードを有するトランスポンダとの間で通信を行
う通信手段と、前記通信が正しく行われたか否かを判断
する判断手段と、前記通信が正しく行われたとき、その
キーを正規キーと認識し、前記通信が正しく行われなか
ったとき、前記キー応答コード選択手段に次のキー応答
コードを選択させる実行手段とを備えたことを特徴とす
る。
Means for Solving the Problems and Effects of the Invention In order to solve the above-mentioned problems, the invention according to claim 1 sequentially communicates with a transponder which is installed on each of a plurality of keys and has an individual key response code. A key matching device for checking whether the key is a legitimate key, and among a plurality of key response codes of the legitimate keys, key response code selecting means for first selecting the most recent key response code at the time of use; Communication means for communicating with a transponder having a key response code selected by the key response code selection means, determination means for determining whether or not the communication has been correctly performed; and When the key is recognized as a legitimate key and the communication is not performed correctly, the key response code selecting means is caused to select the next key response code. Characterized by comprising an execution unit.

【0009】この場合、複数の正規キーのキー応答コー
ドのうち使用した時刻の最も新しいキー応答コードを最
初に選択し、そのキー応答コードを有するトランスポン
ダとの間で通信を行い、その通信が正しく行われたとき
そのキーを正規キーと認識し、その通信が正しく行われ
なかったとき次のキー応答コードを選択して同様の処理
を繰り返す。一般に、使用時刻が最新のキーは再度使用
されることが多いため、このキー照合装置によれば、使
用するキーが正規キーである場合にはその認識を迅速に
行うことができる。
In this case, the key response code with the latest time used among the key response codes of the plurality of regular keys is selected first, and communication is performed with the transponder having the key response code, and the communication is correctly performed. When performed, the key is recognized as a regular key, and when the communication is not performed correctly, the next key response code is selected and the same processing is repeated. In general, a key whose use time is the latest is often used again. Therefore, according to this key collating apparatus, when a key to be used is a regular key, it can be quickly recognized.

【0010】請求項2記載の発明は、請求項1記載のキ
ー照合装置であって、前記キー応答コード選択手段は、
複数の正規キーのキー応答コードのうち、使用した時刻
の新しいものから順番にそのキー応答コードを選択する
ことを特徴とする。この場合、1回目の通信で通信が正
しく行われなかったとしても、使用した時刻の新しいも
のから順番にキー応答コードを選択していくため、使用
するキーが正規キーであれば、比較的早く正規キーであ
ることを認識できる。
According to a second aspect of the present invention, there is provided the key collating apparatus according to the first aspect, wherein the key response code selecting means comprises:
A key response code is selected from the key response codes of a plurality of regular keys in order from the one with the latest used time. In this case, even if the communication is not performed correctly in the first communication, the key response code is selected in order from the newest used time. It can be recognized that it is a regular key.

【0011】請求項3記載の発明は、請求項1又は2記
載のキー照合装置であって、前記キー応答コードには該
キー応答コードに比べてデータ量の少ない優先順位デー
タが付されており、前記通信手段による通信が正しく行
われたとき、複数の正規キーのキー応答コードのうち使
用した時刻の新しいものが上位となるように各キー応答
コードの優先順位データを更新する順番更新手段を備
え、前記キー応答コード選択手段は、前記優先順位デー
タに基づいてキー応答コードを選択することを特徴とす
る。この場合、請求項1又は2の作用効果に加えて、デ
ータ量の少ない優先順位データを更新するため、処理負
荷が小さくて済む。
According to a third aspect of the present invention, in the key collating apparatus according to the first or second aspect, the key response code is provided with priority data having a smaller data amount than the key response code. When the communication by the communication means is performed correctly, the order updating means for updating the priority data of each key response code so that the newest used time among the key response codes of the plurality of regular keys is ranked higher. The key response code selecting means selects a key response code based on the priority data. In this case, in addition to the operation and effect of the first or second aspect, since the priority data having a small data amount is updated, the processing load can be reduced.

【0012】請求項4記載の発明は、複数のキーの各々
に設置され且つ個別のキー応答コードを有するトランス
ポンダと順次通信を行い、そのキーが正規キーかどうか
を照合するキー照合装置であって、複数の正規キーのキ
ー応答コードのうち、使用回数(使用回数とは、通信手
段による通信が正しく行われた回数をいう)の最も多い
キー応答コードを最初に選択するキー応答コード選択手
段と、前記キー応答コード選択手段によって選択された
キー応答コードを有するトランスポンダとの間で通信を
行う通信手段と、前記通信が正しく行われたか否かを判
断する判断手段と、前記通信が正しく行われたとき、そ
のキーを正規キーと認識し、前記通信が正しく行われな
かったとき、前記キー応答コード選択手段に次のキー応
答コードを選択させる実行手段とを備えたことを特徴と
する。
According to a fourth aspect of the present invention, there is provided a key collating apparatus which sequentially communicates with a transponder which is provided at each of a plurality of keys and has an individual key response code, and verifies whether or not the key is an authorized key. Key response code selecting means for first selecting a key response code having the largest number of times of use (the number of times of use means the number of times communication was correctly performed by the communication means) among key response codes of a plurality of regular keys; Communication means for communicating with a transponder having a key response code selected by the key response code selecting means, determining means for determining whether or not the communication has been correctly performed; and When the communication is not performed correctly, the next key response code is selected by the key response code selecting means. Characterized by comprising an execution means that.

【0013】この場合、複数の正規キーのキー応答コー
ドのうち使用回数の最も多いキー応答コードを最初に選
択し、そのキー応答コードを有するトランスポンダとの
間で通信を行い、その通信が正しく行われたときそのキ
ーを正規キーと認識し、その通信が正しく行われなかっ
たとき次のキー応答コードを選択して同様の処理を繰り
返す。一般に、使用回数が最多のキーは再度使用される
ことが多いため、このキー照合装置によれば、使用する
キーが正規キーである場合にはその認識を迅速に行うこ
とができる。
[0013] In this case, a key response code having the largest number of times of use among the key response codes of a plurality of regular keys is selected first, and communication is performed with the transponder having the key response code. When the key is touched, the key is recognized as a legitimate key. When the communication is not performed correctly, the next key response code is selected and the same processing is repeated. In general, a key that has been used most often is often used again. Therefore, according to this key collating apparatus, when a key to be used is a regular key, it can be quickly recognized.

【0014】請求項5記載の発明は、請求項4記載のキ
ー照合装置であって、前記キー応答コード選択手段は、
複数の正規キーのキー応答コードのうち、使用回数の多
いものから順番にそのキー応答コードを選択することを
特徴とする。この場合、1回目の通信で通信が正しく行
われなかったとしても、使用回数の多いものから順番に
キー応答コードを選択していくため、使用するキーが正
規キーであれば、比較的早く正規キーであることを認識
できる。
According to a fifth aspect of the present invention, in the key collating apparatus according to the fourth aspect, the key response code selecting means comprises:
The key response codes are selected from the key response codes of a plurality of regular keys in descending order of the number of times of use. In this case, even if the communication is not performed correctly in the first communication, the key response code is selected in order from the most frequently used one. You can recognize it as a key.

【0015】請求項6記載の発明は、請求項4又は5記
載のキー照合装置であって、前記キー応答コードには、
該キー応答コードに比べてデータ量の少ない優先順位デ
ータが付されており、前記通信手段による通信が正しく
行われたとき、複数の正規キーのキー応答コードのうち
使用回数の多いものが上位となるように各キー応答コー
ドの優先順位データを更新する順番更新手段を備え、前
記キー応答コード選択手段は、前記優先順位データに基
づいてキー応答コードを選択することを特徴とする。こ
の場合、請求項4又は5の作用効果に加えて、データ量
の少ない優先順位データを更新するため、処理負荷が小
さくて済む。
According to a sixth aspect of the present invention, in the key collating device according to the fourth or fifth aspect, the key response code includes:
Priority data having a smaller data amount than the key response code is attached, and when communication by the communication means is correctly performed, a key response code of a plurality of regular keys having a higher number of use times is ranked higher. The key response code selecting means selects a key response code based on the priority data. In this case, in addition to the operation and effect of the fourth or fifth aspect, since the priority data having a small data amount is updated, the processing load can be reduced.

【0016】請求項7記載の発明は、請求項4又は5記
載のキー照合装置であって、前記キー応答コード選択手
段は、使用回数が同じものについては使用した時刻の新
しいものを優先して選択することを特徴とし、請求項8
記載の発明は、請求項6のキー照合装置であって、順番
更新手段は、使用回数が同じものについては使用した時
刻の新しいものが上位になるように各キー応答コードの
優先順位データを更新することを特徴とする。この場
合、使用回数に加えて使用時刻も加味するので、正規キ
ーであることを迅速に認識するのに適している。
According to a seventh aspect of the present invention, in the key collating apparatus according to the fourth or fifth aspect, the key response code selecting means preferentially gives priority to a key having the same number of times of use the newest one. 9. The method of claim 8, wherein
The invention described in the above is a key collating apparatus according to claim 6, wherein the order updating means updates the priority data of each key response code such that the ones having the same number of times of use have the higher use time. It is characterized by doing. In this case, since the use time is taken into account in addition to the number of times of use, it is suitable for quickly recognizing that the key is a regular key.

【0017】請求項9記載の発明は、請求項1〜8のい
ずれかに記載のキー照合装置であって、前記キー応答コ
ード選択手段によって選択されたキー応答コードを有す
るトランスポンダとの間で通信を行う前に、当初の所定
期間は前記キー識別コードを用いることなく前記トラン
スポンダとの間で通信を行い、その通信が正しく行われ
たときそのキーは正規キーであると認識し、その通信が
正しく行われなかったとき前記キー応答コード選択手段
に最初の選択を行わせる前段階キー照合手段を備えたこ
とを特徴とする。この場合、当初の所定期間はキー識別
コードを用いることなくトランスポンダとの間で通信を
行うため複数のトランスポンダが同時に応答して混信す
るおそれがあるものの、もし混信しなかったならば正規
キーであると認識されるまでの時間を極めて短縮するこ
とができる。そして、混信した場合に、はじめてキー応
答コード選択手段、通信手段、判断手段、実行手段が作
用して正規キーであることを迅速に認識する。
According to a ninth aspect of the present invention, there is provided the key collating device according to any one of the first to eighth aspects, wherein communication is performed with a transponder having a key response code selected by the key response code selecting means. Before performing the communication, the communication with the transponder is performed without using the key identification code for an initial predetermined period, and when the communication is correctly performed, the key is recognized as a legitimate key, and the communication is performed. The apparatus is characterized in that there is provided a preceding-stage key collating means for causing the key response code selecting means to make an initial selection when the key response code is not correctly made. In this case, during the initial predetermined period, the communication with the transponder is performed without using the key identification code, so that there is a possibility that a plurality of transponders may respond at the same time and cause interference, but if no interference occurs, the key is a regular key. The time until it is recognized can be significantly reduced. Then, in the case of interference, the key response code selection means, communication means, determination means, and execution means operate for the first time to quickly recognize that the key is a legitimate key.

【0018】請求項10記載の発明は、請求項1〜9記
載のいずれかに記載のキー照合装置であって、前記トラ
ンスポンダは暗号型であることを特徴とする。この場
合、トランスポンダは暗号型であるので、キー照合装置
から質問データを受信し、それを固有の関数データによ
り変換して回答データを作成し、その回答データをキー
照合装置に送信する。このため、1回の通信時間に要す
る時間が長くなり、正規キーであると認識されるまでの
時間が長期化しやすい。したがって、本発明の効果が顕
著に現れる。
According to a tenth aspect of the present invention, in the key collating device according to any one of the first to ninth aspects, the transponder is of an encryption type. In this case, since the transponder is of an encryption type, the transponder receives the question data from the key matching device, converts it with unique function data to create answer data, and transmits the answer data to the key matching device. For this reason, the time required for one communication time becomes longer, and the time until it is recognized as a regular key is likely to be longer. Therefore, the effect of the present invention is remarkably exhibited.

【0019】請求項11記載の発明は、請求項1〜10
のいずれかに記載のキー照合装置であって、キーシリン
ダに差し込まれたキーに設置されたトランスポンダのみ
に通信を行う上で充分なエネルギーを付与するエネルギ
ー付与手段を備えたことを特徴とする。この場合、キー
シリンダに差し込まれていないキーはたとえ正規キーで
あっても通信が正しく行われない。つまり、キーシリン
ダに差し込まれている正規キーのみが、実行手段によっ
て正規キーであると認識される。このため、どのキーが
実際に使用されているのかを確実に把握できる。
The invention according to claim 11 is the invention according to claims 1 to 10
The key collating device according to any one of the above, further comprising an energy applying means for applying sufficient energy for performing communication only with the transponder installed on the key inserted into the key cylinder. In this case, even if a key that is not inserted into the key cylinder is a regular key, communication is not performed correctly. That is, only the regular key inserted into the key cylinder is recognized by the execution means as a regular key. For this reason, it is possible to reliably grasp which key is actually used.

【0020】請求項12記載の発明は、請求項1〜11
のいずれかに記載のキー照合装置であって、車両の盗難
防止用であり、前記実行手段はキーが正規キーと認識す
るとエンジンの始動を許可することを特徴とする。この
場合、使用されているキーが正規キーの場合にはその認
識を迅速に行えるため、エンジンの始動性が悪化するこ
とがない。
The invention according to claim 12 is the invention according to claims 1 to 11
The key collating device according to any one of the above, for preventing theft of the vehicle, wherein the execution means permits the start of the engine when the key is recognized as a legitimate key. In this case, if the used key is a regular key, the key can be quickly recognized, so that the startability of the engine does not deteriorate.

【0021】[0021]

【発明の実施の形態】以下に、本発明の好適な実施形態
を図面に基づいて説明する。 [第1実施形態]第1実施形態は本発明のキー照合装置
を車両盗難防止装置に適用した例であり、図1は本実施
形態の車両盗難防止装置の概略構成を表すブロック図で
ある。この車両盗難防止装置は、複数の正規キーK1〜
K6と、イモビECU20と、アンプ回路21と、アン
テナ22aを備えたキーシリンダ22等から構成されて
いる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings. [First Embodiment] The first embodiment is an example in which the key collating device of the present invention is applied to a vehicle anti-theft device. FIG. 1 is a block diagram showing a schematic configuration of the vehicle anti-theft device of the present embodiment. The vehicle anti-theft device includes a plurality of regular keys K1 to K1.
K6, an immobilizer ECU 20, an amplifier circuit 21, a key cylinder 22 having an antenna 22a, and the like.

【0022】正規キーK1〜K6は、予め登録されたマ
スターキーあるいは新規キーで登録済みの車両キーであ
り、それぞれトランスポンダT1〜T6を内蔵してい
る。トランスポンダT1〜T6は、それぞれ固有の認証
データとしての関数データが書き込まれた暗号型のトラ
ンスポンダであり、車両側からアンテナ22aを介して
励起信号(例えば、一定周波数のSIN波)を受けると
そのエネルギーを図示しないコンデンサに蓄え、それを
電源として動作を行う。なお、ここでは6本の正規キー
K1〜K6が存在するが、最大登録本数は8本とする。
The regular keys K1 to K6 are master keys registered in advance or vehicle keys registered as new keys, and have built-in transponders T1 to T6, respectively. Each of the transponders T1 to T6 is a cryptographic transponder in which function data as unique authentication data is written, and when receiving an excitation signal (for example, a SIN wave of a constant frequency) from the vehicle via the antenna 22a, its energy is reduced. Is stored in a capacitor (not shown), and operation is performed using the power as a power source. Here, there are six regular keys K1 to K6, but the maximum number of registered keys is eight.

【0023】イモビECU20は、車両側に設けられ、
各種制御を実行するCPU20a、各種制御プログラム
等が記憶されたROM20b、各種データを一時記憶す
るRAM20cのほか、入出力バッファ20d、入出力
回路20e、EEPROM20fを備えている。このE
EPROM20fには、複数のトランスポンダT1〜T
6のキー応答コードとしてのパスワードが記憶されてい
るほか、複数のトランスポンダT1〜T6に記憶された
それぞれの関数データと同じ関数データが記憶されてい
る。また、イモビECU20は、インジェクタ23の駆
動回路20gやイグナイタ24の駆動回路20hを備え
ており、これらの駆動を制御して点火・噴射のエンジン
制御を実行する。
The immobilizer ECU 20 is provided on the vehicle side,
A CPU 20a for executing various controls, a ROM 20b for storing various control programs and the like, a RAM 20c for temporarily storing various data, an input / output buffer 20d, an input / output circuit 20e, and an EEPROM 20f are provided. This E
The EPROM 20f includes a plurality of transponders T1 to T
In addition to the password stored as the key response code of No. 6, the same function data as the respective function data stored in the plurality of transponders T1 to T6 is stored. Further, the immobilizer ECU 20 includes a drive circuit 20g for the injector 23 and a drive circuit 20h for the igniter 24, and controls these drives to execute engine control of ignition and injection.

【0024】アンプ回路21は、イモビECU20から
の信号を受けてキーシリンダ22のアンテナ22aから
送信するものである。例えば、イモビECU20のCP
U20aから励起開始信号を受けると、アンテナ22a
から励起信号を送信する。キーシリンダ22は、車両キ
ーの差し込み口の近傍にループ型のアンテナ22aを備
えており、このアンテナ22aはアンプ回路21に接続
されている。なお、アンテナ22aは、キーシリンダ2
2に差し込まれた正規キーのトランスポンダのみにイモ
ビECU20と通信するうえで充分なエネルギーを与え
るように、指向性や励起信号送出時間が調整されてい
る。
The amplifier circuit 21 receives a signal from the immobilizer ECU 20 and transmits the signal from the antenna 22a of the key cylinder 22. For example, the CP of the immobilizer ECU 20
When receiving the excitation start signal from U20a, the antenna 22a
To transmit the excitation signal. The key cylinder 22 includes a loop-type antenna 22 a near an insertion port of a vehicle key, and the antenna 22 a is connected to the amplifier circuit 21. Note that the antenna 22a is
The directivity and the excitation signal transmission time are adjusted so that only the transponder of the regular key inserted in 2 has sufficient energy to communicate with the immobilizer ECU 20.

【0025】次に、本実施形態の動作について説明す
る。図2はキー照合処理を含むイモビ処理のフローチャ
ート(メインフロー)である。キーシリンダ22に車両
キーが差し込まれ、図示しないキースイッチ(IGスイ
ッチ)がオンされると、図示しない車載バッテリからの
電源供給を受けて図1に示す各部電気系が作動状態にな
る。
Next, the operation of the present embodiment will be described. FIG. 2 is a flowchart (main flow) of an immobilization process including a key collation process. When a vehicle key is inserted into the key cylinder 22 and a key switch (IG switch), not shown, is turned on, the electric system shown in FIG.

【0026】このようにキースイッチがオンされると、
イモビECU20のCPU20aは、まず、S101に
おいてMAX照合回数を照合回数Nにセットする。この
MAX照合回数は、ノイズ等によって通信が不成功にな
るケースなどを考慮して定められる値であり、例えばキ
ー登録本数が6本の場合、それら6本の正規キーK1〜
K6のトランスポンダT1〜T6の各々につき5回ずつ
通信を行うとすればMAX照合回数を30回にする。
When the key switch is turned on,
First, the CPU 20a of the immobilizer ECU 20 sets the number of times of MAX collation to the number of times of collation N in S101. This MAX collation count is a value determined in consideration of a case where communication becomes unsuccessful due to noise or the like. For example, when the number of registered keys is six, the six regular keys K1 to K1 are used.
If it is assumed that communication is performed five times for each of the transponders T1 to T6 of K6, the MAX collation number is set to 30 times.

【0027】次に、CPU20aは、S102におい
て、カウンタのカウント値CNTをリセットつまりゼロ
にする。本実施形態では、このカウンタは、複数の正規
キーK1〜K6のトランスポンダT1〜T6のうちどれ
から通信を行うかの優先順位を表すものである。このカ
ウンタは、例えばRAM20cの一領域に設けられてい
る。
Next, in S102, the CPU 20a resets the count value CNT of the counter, that is, sets it to zero. In the present embodiment, this counter indicates the priority order from which of the transponders T1 to T6 of the plurality of regular keys K1 to K6 starts communication. This counter is provided, for example, in one area of the RAM 20c.

【0028】次に、CPU20aは、S103におい
て、アンプ回路21に励起開始信号を出力し、アンテナ
22aより励起信号を送信させる。CPU20aは、一
定時間(例えば50ms)経過後、励起停止信号をアン
プ回路21に出力し、アンテナ22aからの励起信号の
送信を停止させる。この一定時間の励起信号の送出によ
り、アンテナ22aの周囲にある車両キーのトランスポ
ンダは動作可能となる。
Next, in S103, the CPU 20a outputs an excitation start signal to the amplifier circuit 21, and causes the antenna 22a to transmit the excitation signal. After a predetermined time (for example, 50 ms) has elapsed, the CPU 20a outputs an excitation stop signal to the amplifier circuit 21 to stop the transmission of the excitation signal from the antenna 22a. By transmitting the excitation signal for a certain period of time, the transponder of the vehicle key around the antenna 22a becomes operable.

【0029】次に、CPU20aは、S104におい
て、パスワード選択処理を行う。図3はこのパスワード
選択処理のフローチャートである。パスワード選択処理
が開始されると、まずS201においてカウンタのカウ
ント値CNTをインクリメントし、続くS202におい
てそのカウント値CNTがキー登録本数以下か否かを判
断し、カウント値CNTがキー登録本数を越えるならば
(S202でNO)、S203においてカウント値CN
Tを「1」に戻す。これは正規キーであるにもかかわら
ず何らかの理由で通信が不成功に終わった場合に備え
て、再度、最も優先順位の高いもの(CNT=「1」)
から通信し直すためである。一方、S202においてカ
ウント値CNTがキー登録本数以下ならば(S202で
YES)、S204に進み、アドレス番号ADRに
「1」を入れる。ここで、アドレス番号ADRは、正規
キーのパスワードデータ(例えば16ビット)、関数デ
ータ(例えば40ビット)、キー番号データ(例えば2
4ビット)、優先順位データ(例えば8ビット)を1セ
ットとするキー情報に対応して付されており、ここでは
アドレス番号「1」、「2」、…、「6」はそれぞれ正
規キーK1、K2、…、K6のキー情報Ki1、Ki
2、…、Ki6に対応している(図6参照)。そして、
続くS205において、そのアドレス番号ADRの優先
順位データがカウント値CNTと一致するかどうかを判
断し、一致しなければ(S205でNO)、S206に
おいてアドレス番号ADRをインクリメントし、再びS
205に進む。そして、S205においてアドレス番号
ADRの優先順位データがカウント値CNTと一致した
時点で(S205でYES)、S207に進み、そのア
ドレス番号ADRのパスワードデータを送信用パスワー
ドPASとし、このパスワード選択処理を終了する。こ
のパスワード選択処理により、優先順位が上位の正規キ
ーのパスワードから順に選択される。
Next, the CPU 20a performs a password selection process in S104. FIG. 3 is a flowchart of the password selection process. When the password selection process is started, first, in step S201, the count value CNT of the counter is incremented. In step S202, it is determined whether or not the count value CNT is equal to or less than the number of registered keys. If the count value CNT exceeds the number of registered keys, (NO in S202), the count value CN in S203
Return T to “1”. This is again the one with the highest priority (CNT = “1”) in case the communication is unsuccessful for some reason despite being a legitimate key
This is to communicate again from. On the other hand, if the count value CNT is equal to or smaller than the number of registered keys in S202 (YES in S202), the process proceeds to S204, and “1” is inserted into the address number ADR. Here, the address number ADR is the password data of the regular key (for example, 16 bits), the function data (for example, 40 bits), the key number data (for example, 2 bits).
., "6" are assigned to the key information in which one set of priority data (for example, 8 bits) and priority data (for example, 8 bits). , K2,..., K6 key information Ki1, Ki
.., Ki6 (see FIG. 6). And
In subsequent S205, it is determined whether or not the priority order data of the address number ADR matches the count value CNT. If not (NO in S205), the address number ADR is incremented in S206, and the process returns to S205.
Proceed to 205. Then, when the priority data of the address number ADR matches the count value CNT in S205 (YES in S205), the process proceeds to S207, the password data of the address number ADR is set as the transmission password PAS, and the password selection process ends. I do. By this password selection processing, the priority is selected in order from the password of the regular key having the higher priority.

【0030】CPU20aは、パスワード選択処理を終
了した後S105に進み、送信用パスワードPASをア
ンプ回路21に出力する。すると、アンプ回路21は、
CPU20aからの“1”、“0”の信号群データを周
波数に変換して、アンテナ22aから送信する。そし
て、周囲の車両キーのトランスポンダがこの信号を受信
すると、受信したパスワードデータと自己のパスワード
データとが一致するかどうかの照合を行い、両者が一致
したならば引き続き受信を待機し、両者が一致しなけれ
ばスリープ状態に移行する。これにより、イモビECU
20は、送信用パスワードPASを持つトランスポンダ
のみと通信することが可能となり、混信のおそれが解消
される。
After finishing the password selection processing, the CPU 20a proceeds to S105 and outputs the transmission password PAS to the amplifier circuit 21. Then, the amplifier circuit 21
The signal group data of "1" and "0" from the CPU 20a is converted into a frequency and transmitted from the antenna 22a. When the transponder of the surrounding vehicle key receives this signal, it checks whether the received password data and its own password data match. If not, it goes to sleep. With this, Immobili ECU
20 can communicate only with the transponder having the transmission password PAS, eliminating the possibility of interference.

【0031】続くS106において、CPU20aは、
質問データX(乱数により発生させるデータ群で、毎回
異なるデータ)をアンプ回路21に出力する。すると、
アンプ回路21はその質問データXを周波数に変換し
て、アンテナ22aから送信する。前述の送信用パスワ
ードPASを持つトランスポンダは、これを受信する
と、固有の関数データFt(X)を用い、質問データX
と関数データFt(X)より回答データYtを計算し、
周波数のデータ群としてアンテナ22aへ送信する。
In the following S106, the CPU 20a
The question data X (a data group generated by random numbers, which is different every time) is output to the amplifier circuit 21. Then
The amplifier circuit 21 converts the question data X into a frequency and transmits it from the antenna 22a. Upon receiving the transmission password PAS, the transponder uses the unique function data Ft (X) and sends the question data X
And the response data Yt from the function data Ft (X) and
The data is transmitted to the antenna 22a as a frequency data group.

【0032】続くS107において、CPU20aは、
EEPROM20fから送信用パスワードPASに対応
する関数データFe(X)を読み出し、質問データXと
関数データFe(X)より自己回答データYeを計算す
る。そして、CPU20aは、S108においてアンテ
ナ22aで受信した回答データYtを読み出し、S10
9において両回答データYt、Yeを照合し、S110
において両者が一致するかどうかを判断する。なお、S
108においてCPU20aは所定時間待機しても回答
データYtを受信しなかった場合にはS110において
否定判断される。
In the following S107, the CPU 20a
The function data Fe (X) corresponding to the transmission password PAS is read from the EEPROM 20f, and self-response data Ye is calculated from the question data X and the function data Fe (X). Then, the CPU 20a reads the answer data Yt received by the antenna 22a in S108, and
In step 9, both answer data Yt and Ye are compared, and S110
It is determined whether the two match. Note that S
When the CPU 20a has not received the answer data Yt even after waiting for a predetermined time in 108, a negative determination is made in S110.

【0033】S110において、両者が一致していなけ
ればつまり通信が正しく行われなければ(S110でN
O)、CPU20aはS113において照合回数Nをデ
ィクリメントし、S114において照合回数Nがゼロか
どうかを判断する。ここで、照合回数Nがゼロでなけれ
ば(S114でNO)、再びS103以降の処理を行
う。また、S114において照合回数Nがゼロならば
(S114でYES)、ノイズ等によって通信が不成功
になるケースなどを考慮して定められたMAX照合回数
だけ照合を行っても一度もS110において回答データ
Yt、Yeが一致しなかったことになるので、S115
においてエンジンの始動を禁止する。具体的には点火・
噴射のエンジン制御の禁止を確認する。そして、S11
6においてそれ以外の制御、具体的には異常をLED等
で表示する処理などを行う。
In S110, if the two do not match, that is, if the communication is not performed correctly (N in S110
O), the CPU 20a decrements the number of collations N in S113, and determines whether or not the number of collations N is zero in S114. Here, if the number of times of collation N is not zero (NO in S114), the processing after S103 is performed again. Further, if the number of times of collation N is zero in S114 (YES in S114), even if the number of times of MAX collation determined in consideration of the case where communication is unsuccessful due to noise or the like is performed, the answer data is never obtained in S110. Since Yt and Ye do not match, S115
Prohibits the start of the engine. Specifically, ignition
Check that engine control of injection is prohibited. And S11
In step 6, other control, specifically, processing for displaying an abnormality with an LED or the like is performed.

【0034】一方、S110において、両者が一致した
ならばつまり通信が正しく行われたならば(S110で
YES)、CPU20aは通信相手のトランスポンダが
正規キーに設置されたものであると認識し、S111に
おいて順番更新処理を行い、その後S112において点
火・噴射のエンジン制御を行う。ここで、順番更新処理
は、今回使用した正規キーの優先順位データがn番目だ
ったとすると、優先順位データがn番目より下位の正規
キーについては優先順位をそのままとし、優先順位デー
タがn番目より上位の正規キーについては優先順位を一
つ繰り下げ、優先順位データがn番目の正規キーについ
ては優先順位データを1番にする処理である。この処理
を実現する一例を図4のフローチャートに基づいて説明
する。
On the other hand, if they match in S110, that is, if the communication has been correctly performed (YES in S110), CPU 20a recognizes that the transponder of the communication partner is installed on the regular key, and proceeds to S111. In step S112, engine control for ignition and injection is performed. Here, assuming that the priority data of the regular key used this time is n-th, the priority update is performed for the regular keys whose priority data is lower than the n-th, and the priority data is changed to the n-th. This is a process of lowering the priority order by one for the upper regular key and setting the priority data to the first for the nth regular key. An example for realizing this processing will be described with reference to the flowchart of FIG.

【0035】図4の順番更新処理が開始されると、CP
U20aは、まずS301においてキー登録本数を更新
対象アドレス番号ADRNにセットし、続くS302に
おいて更新対象アドレス番号ADRNの優先順位データ
がカウント値CNT(=前出のn)より小さいかどうか
を判断し、小さいつまり上位の場合には(S302でY
ES)、S303においてその優先順位データを一つ繰
り下げてからS304に進み、小さくないつまり下位の
場合には(S302でNO)、そのままS304に進
む。そして、S304において更新対象アドレス番号A
DRNをディクリメントし、S305においてそのディ
クリメントした値がゼロになったかどうかを判断し、ゼ
ロでなければ(S305でNO)、更新チェックをすべ
きアドレス番号が残っているので再びS302以降の処
理を行い、ゼロならば(S305でYES)、すべての
アドレス番号について更新チェックを行ったためS30
6に進み、アドレス番号ADR(これは今回使用した正
規キーに対応している)の優先順位データを「1」に更
新する。
When the order update process shown in FIG.
The U20a first sets the number of registered keys to the update target address number ADRN in S301, and determines whether or not the priority data of the update target address number ADRN is smaller than the count value CNT (= n described above) in subsequent S302. If it is smaller, that is, higher (Y in S302)
ES), the priority order data is moved down by one in S303, and the process proceeds to S304. If the priority data is not small, that is, the order is lower (NO in S302), the process directly proceeds to S304. Then, in S304, the update target address number A
The DRN is decremented, and it is determined whether or not the decremented value has become zero in S305. If the value is not zero (NO in S305), the address number to be updated is left. If it is zero (YES in S305), the update check has been performed for all the address numbers, so that S30
In step 6, the priority data of the address number ADR (which corresponds to the regular key used this time) is updated to "1".

【0036】次に、図2〜図4のフローチャートの処理
の具体例につき、図5及び図6に基づいて説明する。図
5はアンテナからの送信信号とトランスポンダからの送
信信号を表すタイムチャート、図6は優先順位の推移を
表す説明図である。図6に示すように、初期状態(図中
「INI」)においては、正規キーK1のキー情報Ki1
の優先順位データは「1」、正規キーK2のキー情報K
i2の優先順位データは「2」、…、正規キーK6のキ
ー情報Ki6の優先順位データは「6」と設定されてい
る。その後、6つの正規キーが適宜使用され、優先順位
データが更新されて図6のの状態になったとする。そ
して、次回運転する際に、正規キーK2をキーシリンダ
22に差し込んで使用したとする。
Next, a specific example of the processing in the flowcharts of FIGS. 2 to 4 will be described with reference to FIGS. FIG. 5 is a time chart showing a transmission signal from an antenna and a transmission signal from a transponder, and FIG. 6 is an explanatory diagram showing a transition of priority. As shown in FIG. 6, in the initial state (“INI” in the figure), the key information Ki1 of the regular key K1
Is the priority data "1", and the key information K of the regular key K2.
The priority data of i2 is set to “2”,..., and the priority data of the key information Ki6 of the regular key K6 is set to “6”. After that, it is assumed that the six regular keys are used as appropriate, and the priority data is updated to reach the state shown in FIG. Then, it is assumed that the regular key K2 is inserted into the key cylinder 22 and used at the time of the next operation.

【0037】このとき、図2のイモビ処理の初回におい
て、パスワード選択処理でカウント値CNTが「1」
(つまり優先順位データが「1」)、そのアドレス番号
ADRが「3」(図6のを参照)となるので、送信用
パスワードPASは正規キーK3のパスワード即ち「パ
スワード3」となる。このため、イモビECU20は、
図5(a)に示すように、初回の送信においてアンテナ
22aから励起信号、「パスワード3」、質問データの
順に送信する。このとき、キーホルダには正規キーK2
と正規キーK5の2つしか付いていないとすると、両正
規キーK2、K5のトランスポンダT2、T5はパスワ
ードが一致しないため無応答となる。すると、イモビE
CU20はトランスポンダT2、T5より回答データを
読み出せず照合できないため、照合不一致と判断し、再
びS103〜S110の処理(第2回目の処理)を実行
する。なお、S103〜S110の処理を1回行うのに
約150ms要する。
At this time, in the first time of the immobilization processing of FIG. 2, the count value CNT is set to “1” in the password selection processing.
(That is, the priority data is “1”) and its address number ADR is “3” (see FIG. 6), so that the transmission password PAS is the password of the regular key K3, that is, “password 3”. For this reason, the immobilizer ECU 20
As shown in FIG. 5A, in the first transmission, an excitation signal, “password 3”, and question data are transmitted in this order from the antenna 22a. At this time, the regular key K2
And only the regular key K5, the transponders T2 and T5 of the regular keys K2 and K5 do not respond because their passwords do not match. Then Immobili E
Since the CU 20 cannot read the response data from the transponders T2 and T5 and cannot collate, it determines that the collation does not match and executes the processing of S103 to S110 (second processing) again. It should be noted that it takes about 150 ms to perform the processes of S103 to S110 once.

【0038】第2回目の処理において、パスワード選択
処理でカウント値CNTが「2」(つまり優先順位デー
タが「2」)、そのアドレス番号ADRが「5」(図6
のを参照)となるので、送信用パスワードPASは正
規キーK5のパスワード即ち「パスワード5」となる。
このため、イモビECU20は、図5(a)に示すよう
に、2回目の送信においてアンテナ22aから励起信
号、「パスワード5」、質問データの順に送信する。こ
のとき、トランスポンダT5はパスワードが一致するた
め、質問データに対する回答データを作成しイモビEC
U20に送信する。しかし、正規キーK5はキーシリン
ダ22に差し込まれていないため、励起信号によるエネ
ルギーが不十分であり、回答データは完全な形で送信さ
れない。このため、イモビECU20では両回答データ
を照合したとき不一致と判断し、再びS103〜S11
0の処理(第3回目の処理)を実行する。
In the second process, in the password selection process, the count value CNT is "2" (that is, the priority data is "2"), and the address number ADR is "5" (FIG. 6).
), The transmission password PAS is the password of the regular key K5, that is, “password 5”.
Therefore, as shown in FIG. 5A, the immobilizer ECU 20 transmits the excitation signal, the “password 5”, and the question data in this order from the antenna 22a in the second transmission. At this time, since the transponder T5 has the same password, the transponder T5 creates answer data for the question data and
Send to U20. However, since the regular key K5 is not inserted into the key cylinder 22, the energy by the excitation signal is insufficient, and the answer data is not transmitted in perfect form. Therefore, the immobilizer ECU 20 determines that the two answer data do not match when collated, and returns to S103 to S11 again.
0 processing (third processing) is executed.

【0039】第3回目の処理において、パスワード選択
処理でカウント値CNTが「3」(つまり優先順位デー
タが「3」)、そのアドレス番号ADRが「6」(図6
のを参照)となるので、送信用パスワードPASは正
規キーK6のパスワード即ち「パスワード6」となる。
このため、イモビECU20は、図5(a)に示すよう
に、3回目の送信においてアンテナ22aから励起信
号、「パスワード6」、質問データの順に送信するが、
初回の時と同様、両トランスポンダT2、T5は無応答
のため、イモビECU20は照合不一致と判断し、再び
S103〜S110の処理(第4回目の処理)を実行す
る。
In the third process, in the password selection process, the count value CNT is "3" (that is, the priority data is "3"), and the address number ADR is "6" (FIG. 6).
), The transmission password PAS is the password of the regular key K6, that is, “password 6”.
For this reason, as shown in FIG. 5A, the immobilizer ECU 20 transmits the excitation signal, the “password 6”, and the question data in this order from the antenna 22a in the third transmission,
As in the first time, since both transponders T2 and T5 do not respond, the immobilizer ECU 20 determines that the collation does not match, and executes the processing of S103 to S110 (the fourth processing) again.

【0040】第4回目の処理において、パスワード選択
処理でカウント値CNTが「4」(つまり優先順位デー
タが「4」)、そのアドレス番号ADRが「2」(図6
のを参照)となるので、送信用パスワードPASは正
規キーK2のパスワード即ち「パスワード2」となる。
このため、イモビECU20は、図5(a)に示すよう
に、4回目の送信においてアンテナ22aを介して励起
信号、「パスワード2」、質問データの順に送信する。
このとき、正規キーK2のトランスポンダT2はパスワ
ードが一致するため、質問データに対する回答データを
作成しイモビECU20に送信する。なお、正規キーK
2は、キーシリンダ22に差し込まれているためアンテ
ナ22aからの励起信号によって回答データを完全な形
で送信するのに充分なエネルギーが与えられる。そし
て、イモビECU20は両回答データを照合したとき一
致と判断し、順番更新処理を行った後、点火・噴射のエ
ンジン制御を行う。
In the fourth process, the count value CNT is "4" (that is, the priority data is "4") and the address number ADR is "2" (FIG. 6) in the password selection process.
), The transmission password PAS is the password of the regular key K2, that is, “password 2”.
Therefore, as shown in FIG. 5A, the immobilizer ECU 20 transmits the excitation signal, the “password 2”, and the question data in this order via the antenna 22a in the fourth transmission.
At this time, since the transponder T2 of the regular key K2 has the same password, the transponder T2 creates answer data to the question data and transmits it to the immobilizer ECU 20. Note that the regular key K
2 is inserted into the key cylinder 22 and thus has sufficient energy to transmit the answer data in perfect form by the excitation signal from the antenna 22a. Then, the immobilizer ECU 20 determines that the two pieces of answer data match when collated, performs an order updating process, and then performs ignition / injection engine control.

【0041】この順番更新処理について、図7の順番更
新時の段階的な説明図に基づいて説明する。まず、図4
において更新対象アドレス番号ADRNにキー登録本数
すなわち「6」がセットされ、その優先順位データとカ
ウント値CNT(照合が一致した際のカウント値即ち
「4」)とを比べると、前者は「3」で後者より小さい
ため、その優先順位データを1つ繰り下げて「4」にす
る。そして、更新対象アドレス番号ADRNをディクリ
メントして「5」とし、その優先順位データとカウント
値CNTとを比べると、前者は「2」で後者より小さい
ため、1つ繰り下げて「3」にする。続いて、更新対象
アドレス番号ADRNをディクリメントして「4」と
し、その優先順位データとカウント値CNTとを比べる
と、前者は「5」であり後者より大きいため、そのまま
とする。続いて、更新対象アドレス番号ADRNをディ
クリメントして「3」とし、その優先順位データとカウ
ント値CNTとを比べると、前者は「1」であり後者よ
り小さいため、1つ繰り下げて「2」にする。続いて、
更新対象アドレス番号ADRNをディクリメントして
「2」とし、その優先順位データとカウント値CNTと
を比べると、前者は「4」であり後者と等しいため、そ
のままとする。続いて、更新対象アドレス番号ADRN
をディクリメントして「1」とし、その優先順位データ
とカウント値CNTとを比べると、前者は「6」であり
後者より大きいため、そのままとする。続いて更新対象
アドレス番号ADRNをディクリメントするとゼロにな
るので、アドレス番号ADR(照合が一致した際のアド
レス番号すなわち「2」)の優先順位データを「1」と
する。
The order updating process will be described with reference to a step-by-step explanatory diagram at the time of order updating in FIG. First, FIG.
, The number of key registrations, that is, “6” is set in the update target address number ADRN, and the priority order data is compared with the count value CNT (the count value at the time of matching, ie, “4”). Therefore, the priority order data is moved down by one to “4”. Then, the update target address number ADRN is decremented to “5”, and when the priority order data is compared with the count value CNT, the former is “2” and smaller than the latter, so it is moved down by one to “3”. . Subsequently, the update target address number ADRN is decremented to “4”, and when the priority data is compared with the count value CNT, the former is “5”, which is larger than the latter, so that it is left as it is. Subsequently, the update target address number ADRN is decremented to “3”. When the priority order data is compared with the count value CNT, the former is “1” and is smaller than the latter, so it is decremented by “1” to “2”. To continue,
The update target address number ADRN is decremented to “2”, and when the priority data is compared with the count value CNT, the former is “4”, which is equal to the latter, so that it is not changed. Subsequently, the update target address number ADRN
Is decremented to “1”, and when the priority data is compared with the count value CNT, the former is “6”, which is larger than the latter, so it is left as it is. Subsequently, when the update target address number ADRN is decremented to zero, the priority data of the address number ADR (the address number at the time of matching, that is, “2”) is set to “1”.

【0042】このようにして、イモビECU20のRA
M20cに記憶された優先順位データが図6のの状態
からの状態に更新される。そして、次回トランスポン
ダと通信を行う際(次回運転する際)に正規キーK2を
使用するとすれば、図5(b)に示すように、イモビE
CU20は最初に送信用パスワードPASとして「パス
ワード2」を選択するため、1回目の通信で正規キーK
2のトランスポンダT2と通信を行い、回答データの照
合が一致する。このため、1回の通信時間(ここでは約
150ms)後、直ちに点火・噴射のエンジン制御が行
われる。
As described above, the RA of the immobilizer ECU 20 is
The priority data stored in M20c is updated from the state shown in FIG. Then, assuming that the regular key K2 is used at the next communication with the transponder (at the time of next driving), as shown in FIG.
Since the CU 20 first selects “Password 2” as the transmission password PAS, the CU 20 uses the regular key K in the first communication.
Communication with the second transponder T2 is performed, and the matching of the answer data matches. For this reason, after one communication time (here, about 150 ms), the engine control of ignition and injection is performed immediately.

【0043】本実施形態の車両盗難防止装置によれば、
以下の効果が得られる。 (1) パスワード通信を行うため、イモビECU20とト
ランスポンダT1〜T6との通信時に混信するおそれが
ない。 (2) イモビECU20は、複数の正規キーK1〜K6の
うち直前に使用したものの優先順位データを1番とし、
次の運転を開始する際には初回の送信時にその優先順位
データが1番の正規キーのパスワードを送信する。この
ため、次回使用するキーが正規キーの場合には、1回目
の通信で回答データの照合結果が一致して点火・噴射の
エンジン制御が実行される可能性が高く、迅速に正規キ
ーであることを認識でき、エンジンの始動性が良好とな
る。
According to the vehicle antitheft device of the present embodiment,
The following effects can be obtained. (1) Since password communication is performed, there is no possibility of interference at the time of communication between the immobilizer ECU 20 and the transponders T1 to T6. (2) The immobilizer ECU 20 sets the priority data of the most recently used key among the plurality of regular keys K1 to K6 as No. 1,
When starting the next operation, the password of the regular key whose priority order data is the first is transmitted at the time of the first transmission. For this reason, if the key to be used next time is a regular key, there is a high possibility that the comparison result of the answer data matches in the first communication and the ignition / injection engine control is executed, and the regular key is quickly used. And the startability of the engine is improved.

【0044】(3) 1回目の通信で回答データの照合結果
が一致しなかったとしても、複数の正規キーK1〜K6
のうち使用時刻の新しいものから順に優先順位を付け、
次の運転を開始する際には優先順位の高いものから順に
パスワードを送信していくため、使用するキーが正規キ
ーであれば、比較的短時間で回答データの照合結果が一
致して点火・噴射のエンジン制御が実行され、比較的迅
速に正規キーであることを認識でき、エンジンの始動性
が良好となる。
(3) Even if the matching result of the answer data does not match in the first communication, a plurality of regular keys K1 to K6
Priorities are assigned in descending order of usage time,
When starting the next operation, the passwords are transmitted in order from the one with the highest priority.If the key to be used is a regular key, the matching result of the answer data matches in a relatively short time and the ignition and The engine control of the injection is executed, and it can be relatively quickly recognized that the key is the regular key, and the startability of the engine is improved.

【0045】(4) キーシリンダ22に差し込まれていな
い正規キーについては正しく通信が行われない(照合不
一致)ため、キーシリンダ22に差し込まれた正規キー
つまり実際に使用している正規キーのみを確実に認識で
きる。 (5) イモビECU20は、データ量の大きなキー情報の
並べ替えたりするのではなく、データ量の小さな優先順
位データ(数ビット)を更新していくため、処理負荷が
小さくて済む。
(4) Since communication is not correctly performed with respect to a regular key that is not inserted into the key cylinder 22 (verification mismatch), only a regular key that is inserted into the key cylinder 22, that is, a legitimate key that is actually used is used. Can be reliably recognized. (5) Since the immobilizer ECU 20 updates priority data (several bits) having a small data amount instead of rearranging key information having a large data amount, the processing load can be reduced.

【0046】なお、上記実施形態におけるイモビECU
20のCPU20aが本発明のキー応答コード選択手
段、判断手段、実行手段、順番更新手段に相当し、S1
04の処理がキー応答コード選択手段の処理に、S11
0の処理が判断手段の処理に、S111〜S116の処
理が実行手段あるいは順番更新手段の処理に相当する。
また、イモビECU20、アンプ回路21及びアンテナ
22aが通信手段に相当する。
It should be noted that the immobilizer ECU in the above embodiment is
20 corresponds to the key response code selecting means, the determining means, the executing means, and the order updating means of the present invention.
04 corresponds to the processing of the key response code selecting means in S11.
The processing of 0 corresponds to the processing of the determination means, and the processing of S111 to S116 corresponds to the processing of the execution means or the order updating means.
The immobilizer ECU 20, the amplifier circuit 21, and the antenna 22a correspond to a communication unit.

【0047】[第2実施形態]第2実施形態は、パスワ
ード選択処理及び順番更新処理が第1実施形態と異なる
以外は、第1実施形態と同様であるため、ここでは異な
る点のみを説明する。なお、第2実施形態では、図11
に示すように、優先順位に対応した領域が用意されてお
り、各領域には正規キーのキー情報Ki1〜Ki6が格
納されている。
[Second Embodiment] The second embodiment is the same as the first embodiment except that the password selection process and the order update process are different from the first embodiment. Therefore, only different points will be described here. . In the second embodiment, FIG.
As shown in (1), areas corresponding to the priorities are prepared, and each area stores key information Ki1 to Ki6 of regular keys.

【0048】第2実施形態において、図8に示すパスワ
ード選択処理が開始されると、CPU20aは、まずS
401においてカウンタのカウント値CNTをインクリ
メントし、続くS402においてそのカウント値CNT
がキー登録本数以下か否かを判断し、カウント値CNT
がキー登録本数を越えるならば(S402でNO)、S
403においてカウント値CNTを「1」に戻す。これ
は正規キーであるにもかかわらず何らかの理由で通信が
不成功に終わった場合に備えて、再度、最も優先順位の
高いもの(CNT=「1」)から通信し直すためであ
る。一方、S402においてカウント値CNTがキー登
録本数以下ならば(S402でYES)、S404に進
み、カウント値CNTの領域に格納されたキー情報から
パスワードデータを読み出し、それを送信用パスワード
PASとし、このパスワード選択処理を終了する。この
パスワード選択処理により、優先順位が上位の正規キー
のパスワードから順に選択される。
In the second embodiment, when the password selection process shown in FIG. 8 is started, the CPU 20a first executes S
At 401, the count value CNT of the counter is incremented, and at S402, the count value CNT is incremented.
Is determined to be less than or equal to the number of registered keys, and the count value CNT is determined.
Exceeds the number of registered keys (NO in S402),
At 403, the count value CNT is returned to "1". This is because the communication with the highest priority (CNT = “1”) is performed again in preparation for the case where the communication is unsuccessful for some reason despite the regular key. On the other hand, if the count value CNT is equal to or smaller than the number of registered keys in S402 (YES in S402), the process proceeds to S404, where password data is read from the key information stored in the area of the count value CNT and is set as a transmission password PAS. The password selection process ends. By this password selection processing, the priority is selected in order from the password of the regular key having the higher priority.

【0049】また、第2実施形態において、順番更新処
理は、今回使用した正規キーのキー情報が優先順位n番
目の領域に格納されていたとすると、そのキー情報を優
先順位1番目の領域に、優先順位がn番目より下位の正
規キーのキー情報についてはそのままの領域に、優先順
位がn番目より上位の正規キーについては優先順位が一
つ下の領域に格納するように処理する。
In the second embodiment, if the key information of the regular key used this time is stored in the n-th priority area, the key information is stored in the first priority area. Processing is performed such that the key information of the regular key having the lower priority than the n-th is stored in the same area, and the regular key having the higher priority than the n-th is stored in the lower area of the priority.

【0050】例えば、図9(a)の順番更新処理では、
CPU20aは、まずS501において、照合結果が一
致したときのカウント値CNTが「1」かどうかを判断
し、「1」ならば(S501でYES)、順番を更新す
る必要がないのでそのまま終了する。一方、上記カウン
ト値CNTが「1」でなければ(S501でNO)、S
502に進み、そのカウント値CNTよりも1つ小さい
領域(つまり優先順位が一つ上位の領域)に格納された
キー情報とそのカウント値CNTの領域に格納されたキ
ー情報とを交換する。その後、S503においてカウン
ト値CNTをディクリメントし、再びS501以下の処
理を行う。
For example, in the order updating process of FIG.
First, in S501, the CPU 20a determines whether or not the count value CNT when the collation results match is "1". If "1" (YES in S501), there is no need to update the order, and the process ends. On the other hand, if the count value CNT is not “1” (NO in S501),
Proceeding to 502, the key information stored in the area one smaller than the count value CNT (that is, the area with the priority higher by one) and the key information stored in the area of the count value CNT are exchanged. After that, the count value CNT is decremented in S503, and the processing in S501 and subsequent steps is performed again.

【0051】この処理につき、図9(b)に基づいて説
明する。図9(b)は図11のの状態からの状態に
移行するときの説明図である。図11のの状態におい
て正規キーK2が使用されるため、照合結果が一致した
ときのカウント値CNTは「4」である。このため、こ
れより一つ上位の領域つまり3番目の領域のキー情報K
i6と4番目の領域のキー情報Ki2を交換する。次
に、カウント値CNTがディクリメントされて「3」に
なるので、2番目の領域のキー情報Ki5と3番目の領
域のキー情報Ki2を交換する。次にカウント値CNT
がディクリメントされて「2」となるので、1番目の領
域のキー情報Ki3と2番目の領域のキー情報Ki2を
交換する。その後カウント値CNTをディクリメントす
ると「1」となるのでこの処理を終える。この結果、図
11のの状態に移行する。あるいは、図9(a)の代
わりに、図10(a)の順番更新処理を実行してもよ
い。この場合、CPU20aは、まずS601において
照合結果が一致したときのカウント値CNTの領域に格
納されたキー情報を別の領域(TMP)へ移す。そし
て、S602においてそのカウント値CNTが「1」か
どうかを判断し、「1」でなければ(S602でN
O)、S603に進み、そのカウント値CNTよりも1
つ小さい領域(つまり優先順位が一つ上位の領域)に格
納されたキー情報をそのカウント値CNTの領域に格納
する。その後、S604においてカウント値CNTをデ
ィクリメントし、再びS601以下の処理を行う。そし
て、S602においてカウント値CNTが「1」になっ
たら(S602でYES)、S605に進み、別の領域
(TMP)に移しておいたキー情報を優先順位が1番の
領域に移す。
This processing will be described with reference to FIG. FIG. 9B is an explanatory diagram showing a transition from the state of FIG. 11 to the state. Since the regular key K2 is used in the state of FIG. 11, the count value CNT when the collation results match is “4”. For this reason, the key information K of the next higher area, that is, the third area
The key information Ki2 of the fourth area is exchanged with i6. Next, since the count value CNT is decremented to "3", the key information Ki5 of the second area and the key information Ki2 of the third area are exchanged. Next, the count value CNT
Is decremented to "2", so that the key information Ki3 of the first area and the key information Ki2 of the second area are exchanged. Thereafter, when the count value CNT is decremented, the count value becomes “1”, and thus this processing is terminated. As a result, the state shifts to the state of FIG. Alternatively, instead of FIG. 9A, the order update processing of FIG. 10A may be executed. In this case, the CPU 20a first moves the key information stored in the area of the count value CNT when the matching result matches in S601 to another area (TMP). Then, in S602, it is determined whether or not the count value CNT is “1”, and if not, the count value CNT is not “1” (N in S602.
O), the process proceeds to S603, and the count value CNT is 1
The key information stored in the next smaller area (that is, the area with the next highest priority) is stored in the area of the count value CNT. After that, the count value CNT is decremented in S604, and the processes in S601 and subsequent steps are performed again. Then, when the count value CNT becomes “1” in S602 (YES in S602), the process proceeds to S605, in which the key information moved to another area (TMP) is moved to the area of the first priority.

【0052】この処理につき、図10(b)に基づいて
説明する。図10(b)は図11のの状態からの状
態に移行するときの説明図である。図11のでは正規
キーK2が使用されるため、照合結果が一致したときの
カウント値CNTは「4」である。このため、4番目の
領域のキー情報Ki2を別の領域(TMP)に移し、3
番目の領域のキー情報Ki6を4番目の領域に移す。次
に、カウント値CNTがディクリメントされて「3」に
なるので、2番目の領域のキー情報Ki5を3番目の領
域に移す。次にカウント値CNTがディクリメントされ
て「2」になるので、1番目の領域のキー情報Ki3を
2番目の領域に移す。その後カウント値CNTがディク
リメントされて「1」になるので、別の領域(TMP)
に移しておいたキー情報Ki2を1番目の領域に移し、
この処理を終える。この結果、図11のの状態に移行
する。
This processing will be described with reference to FIG. FIG. 10B is an explanatory diagram showing a transition from the state of FIG. 11 to the state. In FIG. 11, since the regular key K2 is used, the count value CNT when the matching result matches is “4”. Therefore, the key information Ki2 of the fourth area is moved to another area (TMP), and
The key information Ki6 of the fourth area is moved to the fourth area. Next, since the count value CNT is decremented to "3", the key information Ki5 of the second area is moved to the third area. Next, since the count value CNT is decremented to "2", the key information Ki3 of the first area is moved to the second area. Thereafter, the count value CNT is decremented to “1”, so that another area (TMP)
Is moved to the first area,
This process ends. As a result, the state shifts to the state of FIG.

【0053】本実施形態によれば、第1実施形態の(1)
〜(4)と同様の効果が得られるうえ、キー情報を並べ替
えるため第1実施形態の優先順位データのような新たな
データを付加する必要がなく、メモリを削減できる。 [第3実施形態]第3実施形態は、順番更新処理が第1
実施形態と異なる以外は、第1実施形態と同様であるた
め、ここでは異なる点のみを説明する。なお、第3実施
形態では、図13に示すように、キー情報Ki1〜Ki
6には優先順位データのほかに使用回数データが含まれ
ている。
According to the present embodiment, (1) of the first embodiment
The same effects as (4) to (4) can be obtained, and it is not necessary to add new data such as the priority data of the first embodiment for rearranging the key information, and the memory can be reduced. [Third Embodiment] In the third embodiment, the order update processing is performed in the first order.
Since it is the same as the first embodiment except for the difference from the embodiment, only the different points will be described here. In the third embodiment, as shown in FIG. 13, the key information Ki1 to Ki
Reference numeral 6 includes usage frequency data in addition to the priority data.

【0054】図12は第3実施形態における順番更新処
理のフローチャートである。この順番更新処理は、使用
回数の多い正規キーから優先順位が高くなるように、ま
た、使用回数が同じもの同士については使用時刻の新し
いものが優先順位が高くなるように、優先順位を更新す
る処理である。
FIG. 12 is a flowchart of the order updating process in the third embodiment. In this order updating process, the priority is updated so that the priority is increased from a regular key having a large number of times of use, and so that keys having the same number of times of use are given a higher priority with a new use time. Processing.

【0055】CPU20aは、まずS701において、
照合結果が一致したときのアドレス番号ADRの使用回
数データをインクリメントし、これを便宜上αとする。
続くS702において、アドレス番号ADRの使用回数
データが一定値以上かどうかを判断し、一定値以上なら
ば(S702でYES)、メモリ容量を考慮して、S7
03においてすべての使用回数データに所定割合(<
1、例えば1/2)を乗じて使用回数データを小さくし
てS704に進む。一方、アドレス番号ADRの使用回
数データが一定値未満ならば(S702でNO)、直ち
にS704に進む。そしてこのS704において、照合
結果が一致したときのカウント値CNTが「1」かどう
かを判断する。このカウント値CNTが「1」ならば
(S704でYES)、優先順位が1番の正規キーが使
用されたため、順番を更新する必要がないのでそのまま
この順番更新処理を終了する。一方、カウント値CNT
が「1」でなければ(S704でNO)、S705にお
いてカウント値CNTをディクリメントする。そして、
S706において、アドレス番号ADRの使用回数デー
タ(即ちα)と、優先順位データがカウント値CNTと
一致するところの使用回数データ(これを便宜上βとす
る)を比較し、αがβ以上ならば(S706でYE
S)、S707に進み、優先順位データがカウント値C
NTのところの優先順位を1つ繰り下げる。そして、S
708でカウント値CNTが「1」かどうかを判断す
る。S708でカウント値CNTが「1」でなければ
(S708でNO)、S705以下の処理を繰り返す。
また、S708でカウント値CNTが「1」ならば(S
708でYES)、S710に進み、カウント値CNT
をアドレス番号ADRの優先順位データとし、この順番
更新処理を終了する。一方、S706においてαがβ以
上でなければ(S706でNO)、アドレス番号ADR
の優先順位はカウント値CNTより1つ下位にする必要
があるため、S709でカウント値CNTをインクリメ
ントして優先順位を1つ繰り下げた上で、S710に進
み、そのカウント値CNTをアドレス番号ADRの優先
順位データとし、この順番更新処理を終了する。
First, in S701, the CPU 20a executes
The number-of-uses data of the address number ADR when the matching result matches is incremented, and this is set to α for convenience.
In subsequent S702, it is determined whether or not the number-of-uses data of the address number ADR is equal to or more than a predetermined value.
03, a predetermined ratio (<
1, for example,)) to reduce the number of times of use data, and then proceeds to S704. On the other hand, if the usage count data of the address number ADR is less than the certain value (NO in S702), the process immediately proceeds to S704. Then, in this S704, it is determined whether or not the count value CNT when the collation results match is “1”. If the count value CNT is “1” (YES in S704), the order updating process is terminated without any need to update the order because the regular key having the first priority is used. On the other hand, the count value CNT
Is not "1" (NO in S704), the count value CNT is decremented in S705. And
In S706, the number-of-uses data of the address number ADR (that is, α) is compared with the number-of-uses data where the priority data matches the count value CNT (this is referred to as “β” for convenience). YE in S706
S), the process proceeds to S707, and the priority order data is counted value C
The priority at NT is moved down by one. And S
At 708, it is determined whether the count value CNT is "1". If the count value CNT is not “1” in S708 (NO in S708), the processing from S705 is repeated.
If the count value CNT is “1” in S708 (S
(YES at 708), the process proceeds to S710, and count value CNT
Is set as the priority data of the address number ADR, and the order update processing ends. On the other hand, if α is not equal to or more than β in S706 (NO in S706), the address number ADR
Since it is necessary to lower the priority by one from the count value CNT, the count value CNT is incremented in S709 to lower the priority by one, and then the process proceeds to S710, and the count value CNT is set to the address number ADR. The priority order data is set, and the order update process ends.

【0056】この処理につき、図14に基づいて説明す
る。図14は図13のの状態からの状態に移行する
ときの説明図である。ここでは、図13のの状態のと
きに正規キーK3が使用されるため、照合結果が一致し
たときのカウント値CNTは「5」、アドレス番号AD
Rは「3」である。このため、アドレス番号ADRが
「3」の使用回数データを1つ増やして「2」(=α)
にする。そして、カウント値CNTをディクリメントし
て「4」とし、優先順位データがこのカウント値CNT
つまり「4」のところ、具体的にはキー情報Ki4の使
用回数データつまり「1」(=β)とαとを比較する。
このときαはβ以上なので、キー情報Ki4の優先順位
データを一つ繰り下げて「5」とする。続いて、カウン
ト値CNTをディクリメントして「3」とし、優先順位
データがこのカウント値CNTのところ、具体的にはキ
ー情報Ki6の使用回数データつまり「1」(=β)と
比較する。このときαはβ以上なので、キー情報Ki6
の優先順位を一つ繰り下げて「4」とする。同様に、カ
ウント値CNTをディクリメントして「2」としたとき
には、キー情報Ki5の優先順位を一つ繰り下げて
「3」、更にカウント値CNTをディクリメントして
「1」としたときには、キー情報Ki2の優先順位を一
つ繰り下げて「2」とし、最後にこのカウント値CNT
つまり「1」をアドレス番号ADRが「3」の優先順位
データに入れる。この結果、図13のの状態に移行す
る。
This processing will be described with reference to FIG. FIG. 14 is an explanatory diagram at the time of transition from the state of FIG. 13 to the state. Here, since the regular key K3 is used in the state of FIG. 13, the count value CNT when the collation results match is “5” and the address number AD
R is “3”. For this reason, the number-of-uses data having the address number ADR “3” is increased by one to “2” (= α).
To Then, the count value CNT is decremented to “4”, and the priority order data is the count value CNT.
That is, at “4”, specifically, the number of times of use of the key information Ki4, that is, “1” (= β) and α are compared.
At this time, since α is equal to or larger than β, the priority data of the key information Ki4 is moved down by one to “5”. Subsequently, the count value CNT is decremented to “3”, and the priority order data is compared with the count value CNT, specifically, the usage count data of the key information Ki6, that is, “1” (= β). At this time, since α is equal to or more than β, the key information Ki6
Is lowered by one to “4”. Similarly, when the count value CNT is decremented to “2”, the priority of the key information Ki5 is reduced by one to “3”, and when the count value CNT is further decremented to “1”, the key value is decremented to “1”. The priority of the information Ki2 is reduced by one to “2”, and finally the count value CNT
That is, "1" is entered in the priority data having the address number ADR of "3". As a result, the state shifts to the state of FIG.

【0057】本実施形態の車両盗難防止装置によれば、
以下の効果が得られる。 (1) パスワード通信を行うため、イモビECU20とト
ランスポンダとの通信時に混信するおそれがない。 (2) イモビECU20は、複数の正規キーK1〜K6の
うち使用回数が最多のものを優先順位1番とし、次の運
転を開始する際には初回の送信時にその優先順位の1番
の正規キーのパスワードを送信する。このため、次回使
用するキーが正規キーの場合には、1回目の通信で回答
データの照合結果が一致して点火・噴射のエンジン制御
が実行される可能性が高く、迅速に正規キーであること
を認識でき、エンジンの始動性が良好となる。
According to the vehicle antitheft device of the present embodiment,
The following effects can be obtained. (1) Since password communication is performed, there is no possibility of interference at the time of communication between the immobilizer ECU 20 and the transponder. (2) The immobilizer ECU 20 sets the one of the plurality of regular keys K1 to K6 that has been used most frequently as the first priority, and when starting the next operation, the first regular key having the highest priority at the time of the first transmission. Send the key password. For this reason, if the key to be used next time is a regular key, there is a high possibility that the comparison result of the answer data matches in the first communication and the ignition / injection engine control is executed, and the regular key is quickly used. And the startability of the engine is improved.

【0058】(3) 1回目の通信で回答データの照合結果
が一致しなかったとしても、複数の正規キーK1〜K6
のうち使用回数の多いものから順に優先順位を付け、次
の運転を開始する際には優先順位の高いものから順にパ
スワードを送信していく。また、使用回数が同じ場合に
は使用時刻の新しい方を優先する。このため、使用する
キーが正規キーであれば、比較的短時間で回答データの
照合結果が一致して点火・噴射のエンジン制御が実行さ
れ、比較的迅速に正規キーであることを認識でき、エン
ジンの始動性が良好となる。
(3) Even if the collation result of the answer data does not match in the first communication, a plurality of normal keys K1 to K6
Among them, priorities are assigned in descending order of the number of times of use, and when starting the next operation, passwords are transmitted in descending order of priority. If the number of times of use is the same, the newer use time has priority. For this reason, if the key to be used is a regular key, the comparison result of the answer data matches in a relatively short time, the engine control of ignition and injection is executed, and it can be recognized relatively quickly that the regular key is used. The startability of the engine is improved.

【0059】(4) キーシリンダ22に差し込まれていな
い正規キーについては正しく通信が行われない(照合不
一致)ため、キーシリンダ22に差し込まれた正規キー
つまり実際に使用している正規キーのみを確実に認識で
きる。 (5) イモビECU20は、データ量の大きなキー情報の
並べ替えたりするのではなく、データ量の小さな使用回
数データや優先順位データ(いずれも数ビット)を更新
していくため、処理負荷が小さくて済む。但し、第2実
施形態のようにキー情報を並べ替えてもよい。
(4) Since communication is not performed correctly with a regular key that is not inserted into the key cylinder 22 (verification mismatch), only the regular key inserted into the key cylinder 22, that is, only the regular key actually used, is used. Can be reliably recognized. (5) The immobilizer ECU 20 does not rearrange the key information having a large data amount, but updates the data on the number of times of use and the priority data (all of which are several bits) having a small data amount. I can do it. However, the key information may be rearranged as in the second embodiment.

【0060】(6) S702、S703を行うことによ
り、過去に使用された1回より、最近使用された1回の
方を重要視するようにしてある。例えば、正規キーK1
の使用回数が最も高いとし、その使用回数がS702の
一定値に達したとすると、S703でそれまでの使用回
数は半減される。つまり、S703が実行されることに
より、それまでの使用回数は1回が0.5回として扱わ
れる。これに対して、S703が実行された後の使用回
数は1回が1回として扱われる。このため、例えば以前
は正規キーK1を使用することが多かったが、現在は正
規キーK2を使用することが多いような場合、比較的早
い段階で両正規キーK1、K2の使用回数データの大小
関係が逆転し、優先順位が入れ替わる。したがって、現
在の使用状況に適した優先順位が付くことになる。ま
た、当初から現在までの使用回数データを比較するので
はなく、現在から過去N回分(Nは所定数、例えば10
0)の使用回数データを比較して、使用回数の多いもの
から順に優先順位を付けるようにしてもよい。この場合
も、現在の使用状況に適した優先順位が付くことになる
ので好ましい。
(6) By performing S702 and S703, the most recently used one is regarded as more important than the one used in the past. For example, the regular key K1
Assuming that the number of uses is the highest and the number of uses reaches the fixed value of S702, the number of uses up to that point is halved in S703. That is, by executing S703, the number of times of use up to that time is treated as 0.5 times. On the other hand, the number of times of use after the execution of S703 is treated as one time. Therefore, for example, in the case where the regular key K1 was often used before, but now the regular key K2 is frequently used, the size of the use count data of the two regular keys K1 and K2 is relatively early. Relationships are reversed and priorities are swapped. Therefore, priorities suitable for the current use situation are assigned. Also, instead of comparing the usage count data from the beginning to the present, the past N times (N is a predetermined number, for example, 10
The use number data of 0) may be compared, and priorities may be assigned in descending order of use number. This case is also preferable because priorities suitable for the current use situation are assigned.

【0061】[第4実施形態]第4実施形態は、メイン
フローのイモビ処理が第1実施形態と異なる以外は、第
1実施形態と同様であるため、ここでは異なる点のみを
説明する。なお、パスワード選択処理や順番更新処理
は、第1〜第3実施形態のいずれかの処理を採用するも
のとする。
[Fourth Embodiment] The fourth embodiment is the same as the first embodiment except that the immobilization process of the main flow is different from that of the first embodiment. Therefore, only different points will be described here. Note that any one of the first to third embodiments is used for the password selection processing and the order update processing.

【0062】第4実施形態のイモビ処理では、イモビE
CU20のCPU20aは、スタート後所定期間(1〜
数回)については、パスワードを使わない通信つまり励
起信号と質問データを送信し、回答データの照合を行
う。そして、その所定期間中、照合が一致しなかった場
合には、その後、パスワードを使った通信つまり励起信
号とパスワードデータと質問データを送信し、回答デー
タの照合を行う。
In the immobilization process of the fourth embodiment, the immobilization E
The CPU 20a of the CU 20 performs a predetermined period (1 to
(Several times), communication without using a password, that is, an excitation signal and question data are transmitted, and the answer data is collated. If the collation does not match during the predetermined period, the communication using the password, that is, the excitation signal, the password data, and the question data are transmitted, and the answer data is collated.

【0063】図15は第4実施形態のイモビ処理のフロ
ーチャートである。図示しないキースイッチがオンされ
ると、CPU20aは、まず、S801においてMAX
照合回数を照合回数Nにセットし、S802においてカ
ウンタのカウント値CNTをゼロにし、S803におい
てアンプ回路21に励起開始信号を出力しアンテナ22
aより励起信号を送信させる。
FIG. 15 is a flowchart of the immobilization process according to the fourth embodiment. When a key switch (not shown) is turned on, the CPU 20a first sets MAX in S801.
The number of times of collation is set to the number of times of collation N, the count value CNT of the counter is set to zero in step S802, and an excitation start signal is output to the amplifier circuit 21 in step S803.
The excitation signal is transmitted from a.

【0064】次に、CPU20aは、S804におい
て、照合回数Nが予め定めた所定値以下かどうかを判断
する。この所定値は、パスワードを使わない通信を何回
実行するかを決める値であり、例えばMAX照合回数を
50回としたときパスワードを使わない通信を5回行う
とすれば前記所定値は45回に定めておく。S804に
おいて照合回数Nが所定値より大きければ(S804で
NO)、パスワードを使わない通信を行うため、直ちに
S807に進む。一方、S804において照合回数Nが
所定値以下ならば(S804でYES)、パスワードを
使わない通信を所定回数実行しても混信等によって質問
データに対する回答データの照合結果が一致しなかった
ということであり、S805においてパスワード選択処
理(第1〜第3実施形態のいずれかのパスワード選択処
理)を行い、優先順位が上位の正規キーのパスワードか
ら順に選択し、送信用パスワードPASとする。そし
て、S806において送信用パスワードPASをアンプ
回路21に出力する。これにより、イモビECU20
は、送信用パスワードPASを持つトランスポンダのみ
と通信することが可能となり、混信のおそれが解消され
る。
Next, in S804, the CPU 20a determines whether or not the number of collations N is equal to or less than a predetermined value. This predetermined value is a value that determines how many times communication without using a password is executed. For example, if the number of times of MAX collation is set to 50 and if communication without using a password is performed 5 times, the predetermined value is 45 times. It is determined in. If the number of times of collation N is larger than the predetermined value in S804 (NO in S804), the process immediately proceeds to S807 to perform communication without using a password. On the other hand, if the number of verifications N is equal to or less than the predetermined value in S804 (YES in S804), even if communication without using a password is performed a predetermined number of times, the verification result of the answer data to the question data did not match due to interference or the like. Yes, in S805, a password selection process (a password selection process of any of the first to third embodiments) is performed, and the password is selected in order from the higher-priority regular key password, and set as the transmission password PAS. Then, in S806, the transmission password PAS is output to the amplifier circuit 21. As a result, the immobilizer ECU 20
Can communicate only with the transponder having the transmission password PAS, eliminating the possibility of interference.

【0065】S807において、CPU20aは、質問
データXをアンプ回路21を介してアンテナ22aから
送信する。前述の送信用パスワードPASを持つトラン
スポンダは、これを受信すると、固有の関数データFt
(X)を用い、質問データXと関数データFt(X)よ
り回答データYtを計算し、自己のキー番号データと共
に周波数のデータ群としてアンテナ22aへ送信する。
In S807, the CPU 20a transmits the question data X from the antenna 22a via the amplifier circuit 21. Upon receiving the transmission password PAS, the transponder receives the unique function data Ft.
Using (X), answer data Yt is calculated from question data X and function data Ft (X), and transmitted to antenna 22a as a frequency data group together with its own key number data.

【0066】CPU20aは、続くS808において受
信信号からキー番号データ(キー情報の一つで、どのキ
ーが応答したのかを特定するため等に用いられるデー
タ)と回答データを読み出し、S809においてキー番
号データを読み出すことができたかどうかを判断する。
例えば混信していたりあるいは不正キーが使用されたり
することによりキー番号データを読み出せなかったなら
ば(S809でNO)、S817へ進む。一方、キー番
号データを読み出すことができたならば(S809でY
ES)、S810においてEEPROM20fからキー
番号データに対応する関数データFe(X)を読み出
し、質問データXと関数データFe(X)より自己回答
データYeを計算する。なお、パスワード選択処理(S
805)を行った場合には、S808〜S810の処理
に代えて、送信用パスワードPASに対応した関数デー
タを読み出し自己回答データYeを計算してもよい。
The CPU 20a reads key number data (one of the key information and used to specify which key has responded) and answer data from the received signal in subsequent S808, and in S809, reads the key number data. Is determined.
For example, if the key number data could not be read due to interference or an illegal key being used (NO in S809), the flow proceeds to S817. On the other hand, if the key number data could be read (Y in S809)
ES), in S810, the function data Fe (X) corresponding to the key number data is read from the EEPROM 20f, and the self-response data Ye is calculated from the question data X and the function data Fe (X). The password selection process (S
If 805) is performed, the function data corresponding to the transmission password PAS may be read and the self-response data Ye may be calculated instead of the processing of S808 to S810.

【0067】そして、S811においてアンテナ22a
で受信した回答データYtを読み出し、両回答データY
t、Yeを照合し、S812において両者が一致するか
どうかを判断し、両者が一致していなければ(S812
でNO)、S817に進み、両者が一致したならば(S
812でYES)、S813に進んで照合回数Nが所定
値(S804の所定値と同じ)以下かどうかを判断す
る。そして、照合回数Nが所定値以下ならば(S813
でYES)、S815の順番更新処理(第1〜第3実施
形態のいずれかの順番更新処理)を行い、その後、S8
16において点火・噴射のエンジン制御を行う。一方、
照合回数Nが所定値より大きければ(S813でN
O)、パスワード選択処理を行うことなく照合結果が一
致したため、S814においてCNT調整処理を行い、
その後S815の順番更新処理、S816の点火・噴射
のエンジン制御を行う。
Then, in S811, the antenna 22a
The answer data Yt received at is read out, and both answer data Yt are read.
t and Ye are collated, and it is determined in S812 whether or not both match. If the two do not match (S812)
NO), the process proceeds to S817, and if both match (S
(YES in 812), the process proceeds to S813, and it is determined whether or not the number of times of collation N is equal to or smaller than a predetermined value (same as the predetermined value in S804). If the number of times of collation N is equal to or less than the predetermined value (S813)
YES), the order update process of S815 (any of the order update processes of the first to third embodiments) is performed, and then, the process proceeds to S8.
At 16, engine control for ignition and injection is performed. on the other hand,
If the number of times of collation N is larger than a predetermined value (N in S813
O) Since the matching results match without performing the password selection processing, the CNT adjustment processing is performed in S814,
After that, the order updating process in S815 and the engine control of ignition and injection in S816 are performed.

【0068】なお、S814のCNT調整処理は、パス
ワード選択処理を行わなかった場合でもS815の順番
更新処理が正しく実行されるようにカウント値CNTを
調整する処理である。例えば第1または第3実施形態と
同様のパスワード選択処理、順番更新処理を採用する場
合には、回答データの照合が一致したときの正規キーの
優先順位データをカウント値CNTにセットし、第2実
施形態と同様のパスワード選択処理、順番更新処理を採
用する場合には、回答データの照合が一致したときの正
規キーのキー情報が格納されていた領域の番号をカウン
ト値CNTにセットする。
The CNT adjustment processing in S814 is processing for adjusting the count value CNT so that the order update processing in S815 is correctly executed even when the password selection processing is not performed. For example, when the password selection processing and the order update processing similar to those of the first or third embodiment are adopted, the priority data of the regular key when the matching of the answer data is matched is set to the count value CNT, and the second When the password selection processing and the order update processing similar to the embodiment are adopted, the number of the area storing the key information of the regular key when the matching of the answer data matches is set to the count value CNT.

【0069】さて、S809において受信信号にキー番
号データがなかった場合(S809でNO)、あるい
は、S812において照合不一致だった場合には(S8
13でNO)、S817に進むが、CPU20aは、こ
のS817において、照合回数Nをディクリメントし、
続くS818において、その照合回数Nがゼロかどうか
を判断する。ここで、照合回数Nがゼロでなければ(S
818でNO)、再びS803以降の処理を行う。一
方、S818において照合回数Nがゼロならば(S81
8でYES)、ノイズ等によって通信が不成功になるケ
ースなどを考慮して定められたMAX照合回数だけ照合
を行っても一度もS812において回答データYt、Y
eが一致しなかったことになるので、S819において
エンジンの始動を禁止する。具体的には点火・噴射のエ
ンジン制御の禁止を確認する。そして、S820におい
てそれ以外の制御、具体的には異常をLED等で表示す
る処理などを行う。
If there is no key number data in the received signal in S809 (NO in S809), or if there is no collation in S812 (S8
13) (NO in step S817), the CPU 20a decrements the number of times of collation N in step S817,
In subsequent S818, it is determined whether or not the number of times of collation N is zero. Here, if the number of times N is not zero (S
(NO at 818), the processing after S803 is performed again. On the other hand, if the number of times of collation N is zero in S818 (S81
8; YES), and the answer data Yt, Y is determined in S812 even if the matching is performed the maximum number of times determined in consideration of the case where communication is unsuccessful due to noise or the like.
Since e does not match, the start of the engine is prohibited in S819. Specifically, prohibition of engine control of ignition and injection is confirmed. Then, in S820, other control, specifically, processing for displaying an abnormality with an LED or the like is performed.

【0070】本実施形態の車両盗難防止装置によれば、
イモビ処理開始から所定回数はパスワードを使わない通
信を行い、パスワードを使わない通信でうまく照合結果
が一致しなかった場合のみ、パスワードを使った通信に
切り替える。このため、パスワードを使わない通信で回
答データの照合結果が一致すれば、非常に短期間で正規
キーであることを認識でき、またエンジンの始動性が良
好になる。この第4実施形態において、イモビECU2
0のCPU20aが前段階キー照合手段に相当し、S8
04でNOと判断された後の処理が前段階キー照合手段
の処理に相当する。
According to the vehicle antitheft device of the present embodiment,
The communication without using the password is performed a predetermined number of times from the start of the immobilization process, and the communication is switched to the communication using the password only when the verification result does not match well in the communication without using the password. For this reason, if the matching result of the answer data matches in the communication without using the password, it can be recognized that the key is the regular key in a very short time, and the startability of the engine is improved. In the fourth embodiment, the immobilizer ECU 2
0 CPU 20a corresponds to the preceding-stage key collation means,
The process after the determination of NO in 04 corresponds to the process of the preceding-stage key matching means.

【0071】尚、本発明の実施の形態は、上記実施形態
に何ら限定されるものではなく、本発明の技術的範囲に
属する限り種々の形態を採り得ることはいうまでもな
い。例えば、上記実施形態では、キーシリンダ22に差
し込まれていない正規キーからの回答データはエネルギ
ー不足になるように設定したが、キーシリンダ22に差
し込まれていない正規キーからの回答データが完全な形
でイモビECU20に受信され、照合一致により点火・
噴射のエンジン制御が実行されたとしても、その運転者
は正規キーを持っていることから泥棒であるおそれはな
く、盗難防止機能を働かせる必要はないので支障はな
い。
The embodiments of the present invention are not limited to the above-described embodiments at all, and it goes without saying that various embodiments can be adopted as long as they fall within the technical scope of the present invention. For example, in the above embodiment, the response data from the regular key not inserted into the key cylinder 22 is set to have a shortage of energy, but the response data from the regular key not inserted into the key cylinder 22 is completely formed. Is received by the immobilizer ECU 20.
Even if the injection engine control is executed, the driver does not have to worry about being a thief because he has the regular key and does not need to operate the anti-theft function, so there is no problem.

【0072】また、上記実施形態のイモビ処理では、回
答データの照合が不一致と判断されるごとにパスワード
選択処理においてカウント値CNTを「1」→「2」→
……→「6」(=キー登録本数)→「1」→「2」……
というように処理したが、カウント値CNTを「1」→
「1」→「2」→「2」→……→「6」→「6」という
ように各カウント値ごとに複数回ずつ処理を行ってもよ
い。
In the immobilization process of the above embodiment, the count value CNT is changed from “1” to “2” in the password selection process each time it is determined that the matching of the answer data does not match.
... → "6" (= number of registered keys) → "1" → "2" ...
But the count value CNT is changed from “1” to
The processing may be performed a plurality of times for each count value such as “1” → “2” → “2” →... → “6” → “6”.

【0073】更に、優先順位データは、バッテリがオフ
にならない限り保持されるRAM(SRAM)か、EE
PROMのような不揮発性メモリに書き込むことが好ま
しい。ただし、EEPROMを書き換えることができる
回数に制限があること、書き換え時間がかかることを考
慮すると、SRAMに書き込む方が好ましい。
Further, the priority data may be stored in a RAM (SRAM) which is maintained as long as the battery is not turned off, or in the EE
It is preferable to write to a non-volatile memory such as a PROM. However, considering that the number of times that the EEPROM can be rewritten is limited and that the rewriting takes a long time, it is preferable to write the data into the SRAM.

【0074】更にまた、上記実施形態では暗号型のトラ
ンスポンダについて説明したが、R/O型のトランスポ
ンダを用いてもよい。
Further, in the above embodiment, the encryption type transponder has been described, but an R / O type transponder may be used.

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

【図1】 第1実施形態の車両盗難防止装置の概略構成
を表すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of a vehicle antitheft device according to a first embodiment.

【図2】 第1実施形態のキー照合処理を含むイモビ処
理(メインフロー)のフローチャートである。
FIG. 2 is a flowchart of an immobilization process (main flow) including a key collation process of the first embodiment.

【図3】 第1実施形態のパスワード選択処理のフロー
チャートである。
FIG. 3 is a flowchart of a password selection process according to the first embodiment.

【図4】 第1実施形態の順番更新処理のフローチャー
トである。
FIG. 4 is a flowchart of an order update process according to the first embodiment.

【図5】 第1実施形態における、アンテナからの送信
信号とトランスポンダからの送信信号を表すタイムチャ
ートである。
FIG. 5 is a time chart showing a transmission signal from an antenna and a transmission signal from a transponder in the first embodiment.

【図6】 第1実施形態の優先順位の推移を表す説明図
である。
FIG. 6 is an explanatory diagram illustrating transition of a priority order according to the first embodiment.

【図7】 第1実施形態の順番更新時の段階的な説明図
である。
FIG. 7 is a step-by-step explanatory diagram at the time of order updating in the first embodiment.

【図8】 第2実施形態のパスワード選択処理のフロー
チャートである。
FIG. 8 is a flowchart of a password selection process according to the second embodiment.

【図9】 第2実施形態の順番更新処理の一例を表す説
明図で、(a)はフローチャート、(b)は順番更新時
の段階的な説明図である。
FIGS. 9A and 9B are explanatory diagrams illustrating an example of an order update process according to the second embodiment, wherein FIG. 9A is a flowchart and FIG.

【図10】 第2実施形態の順番更新処理の別の例を表
す説明図で、(a)はフローチャート、(b)は順番更
新時の段階的な説明図である。
FIGS. 10A and 10B are explanatory diagrams illustrating another example of the order update process according to the second embodiment, in which FIG. 10A is a flowchart and FIG.

【図11】 第2実施形態の優先順位の推移を表す説明
図である。
FIG. 11 is an explanatory diagram illustrating transition of a priority order according to the second embodiment.

【図12】 第3実施形態における順番更新処理のフロ
ーチャートである。
FIG. 12 is a flowchart of an order update process according to the third embodiment.

【図13】 第3実施形態の優先順位の推移を表す説明
図である。
FIG. 13 is an explanatory diagram illustrating a transition of a priority order according to the third embodiment.

【図14】 第3実施形態の順番更新時の段階的な説明
図である。
FIG. 14 is a step-by-step explanatory diagram at the time of order updating in the third embodiment.

【図15】 第4実施形態のイモビ処理のフローチャー
トである。
FIG. 15 is a flowchart of an immobilization process according to a fourth embodiment.

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

20・・・イモビECU、20a・・・CPU、20b
・・・ROM、20c・・・RAM、20d・・・入出
力バッファ、20e・・・入出力回路、20f・・・E
EPROM、20g・・・駆動回路、20h・・・駆動
回路、21・・・アンプ回路、22・・・キーシリン
ダ、22a・・・アンテナ、23・・・インジェクタ、
24・・・イグナイタ、K1〜K6・・・正規キー、K
i1〜Ki6・・・キー情報、T1〜T6・・・トラン
スポンダ。
20: Immobilizer ECU, 20a: CPU, 20b
... ROM, 20c ... RAM, 20d ... input / output buffer, 20e ... input / output circuit, 20f ... E
EPROM, 20g drive circuit, 20h drive circuit, 21 amplifier circuit, 22 key cylinder, 22a antenna, 23 injector
24: igniter, K1 to K6: regular key, K
i1 to Ki6 ... key information, T1 to T6 ... transponders.

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 複数のキーの各々に設置され且つ個別の
キー応答コードを有するトランスポンダと順次通信を行
い、そのキーが正規キーかどうかを照合するキー照合装
置であって、 複数の正規キーのキー応答コードのうち、使用した時刻
の最も新しいキー応答コードを最初に選択するキー応答
コード選択手段と、 前記キー応答コード選択手段によって選択されたキー応
答コードを有するトランスポンダとの間で通信を行う通
信手段と、 前記通信が正しく行われたか否かを判断する判断手段
と、 前記通信が正しく行われたとき、そのキーを正規キーと
認識し、前記通信が正しく行われなかったとき、前記キ
ー応答コード選択手段に次のキー応答コードを選択させ
る実行手段と を備えたことを特徴とするキー照合装置。
1. A key collating device for sequentially communicating with a transponder provided on each of a plurality of keys and having an individual key response code, and collating whether the key is a legitimate key. Communication is performed between key response code selecting means for first selecting the most recent key response code of the used time among the key response codes, and a transponder having the key response code selected by the key response code selecting means. Communication means; determining means for determining whether or not the communication has been correctly performed; and when the communication has been correctly performed, the key is recognized as a regular key, and when the communication has not been correctly performed, the key has been recognized. A key collating device, comprising: executing means for causing the response code selecting means to select the next key response code.
【請求項2】 前記キー応答コード選択手段は、複数の
正規キーのキー応答コードのうち、使用した時刻の新し
いものから順番にそのキー応答コードを選択することを
特徴とする請求項1記載のキー照合装置。
2. The key response code selection unit according to claim 1, wherein the key response code selection unit selects the key response codes of the plurality of regular keys in order from the latest one at the time of use. Key collation device.
【請求項3】 前記キー応答コードには該キー応答コー
ドに比べてデータ量の少ない優先順位データが付されて
おり、 前記通信手段による通信が正しく行われたとき、複数の
正規キーのキー応答コードのうち使用した時刻の新しい
ものが上位となるように各キー応答コードの優先順位デ
ータを更新する順番更新手段を備え、 前記キー応答コード選択手段は、前記優先順位データに
基づいてキー応答コードを選択することを特徴とする請
求項1又は2記載のキー照合装置。
3. The key response code is provided with priority data having a smaller data amount than the key response code. When communication by the communication means is correctly performed, a key response of a plurality of regular keys is performed. The key response code selecting means for updating the priority data of each key response code so that the newest one of the codes used at the time of use is ranked higher, the key response code selecting means comprising a key response code based on the priority data 3. The key collating device according to claim 1, wherein the key collating device is selected.
【請求項4】 複数のキーの各々に設置され且つ個別の
キー応答コードを有するトランスポンダと順次通信を行
い、そのキーが正規キーかどうかを照合するキー照合装
置であって、 複数の正規キーのキー応答コードのうち、使用回数の最
も多いキー応答コードを最初に選択するキー応答コード
選択手段と、 前記キー応答コード選択手段によって選択されたキー応
答コードを有するトランスポンダとの間で通信を行う通
信手段と、 前記通信が正しく行われたか否かを判断する判断手段
と、 前記通信が正しく行われたとき、そのキーを正規キーと
認識し、前記通信が正しく行われなかったとき、前記キ
ー応答コード選択手段に次のキー応答コードを選択させ
る実行手段と を備えたことを特徴とするキー照合装置。
4. A key collating device which sequentially communicates with a transponder which is provided on each of a plurality of keys and has an individual key response code, and verifies whether or not the key is a legitimate key. Communication for performing communication between a key response code selecting means for first selecting a key response code having the largest number of uses among the key response codes, and a transponder having the key response code selected by the key response code selecting means Means for determining whether or not the communication has been correctly performed; and when the communication has been correctly performed, the key is recognized as a regular key, and when the communication has not been correctly performed, the key response has been performed. An execution means for causing the code selection means to select the next key response code.
【請求項5】 前記キー応答コード選択手段は、複数の
正規キーのキー応答コードのうち、使用回数の多いもの
から順番にそのキー応答コードを選択することを特徴と
する請求項4記載のキー照合装置。
5. The key according to claim 4, wherein said key response code selecting means selects the key response codes of a plurality of regular keys in order from a key response code having a larger number of use times. Collation device.
【請求項6】 前記キー応答コードには、該キー応答コ
ードに比べてデータ量の少ない優先順位データが付され
ており、 前記通信手段による通信が正しく行われたとき、複数の
正規キーのキー応答コードのうち使用回数の多いものが
上位となるように各キー応答コードの優先順位データを
更新する順番更新手段を備え、前記キー応答コード選択
手段は、前記優先順位データに基づいてキー応答コード
を選択することを特徴とする請求項4又は5のいずれか
に記載のキー照合装置。
6. The key response code is provided with priority data having a smaller data amount than the key response code, and when communication by the communication means is correctly performed, a key of a plurality of regular keys is provided. The key response code selection means for updating the priority data of each key response code so that the most frequently used response code is higher in the response codes; and the key response code selecting means includes a key response code based on the priority data. The key collating device according to claim 4, wherein the key collating device is selected.
【請求項7】 前記キー応答コード選択手段は、使用回
数が同じものについては使用した時刻の新しいものを優
先して選択することを特徴とする請求項4又は5記載の
キー照合装置。
7. The key collating apparatus according to claim 4, wherein said key response code selecting means preferentially selects, when the number of times of use is the same, a new one with a used time.
【請求項8】 前記順番更新手段は、使用回数が同じも
のについては使用した時刻の新しいものが上位になるよ
うに各キー応答コードの優先順位データを更新すること
を特徴とする請求項6記載のキー照合装置。
8. The apparatus according to claim 6, wherein said order updating means updates the priority order data of each key response code such that, when the number of times of use is the same, the time of use is higher in time. Key collation device.
【請求項9】 前記キー応答コード選択手段によって選
択されたキー応答コードを有するトランスポンダとの間
で通信を行う前に、当初の所定期間は前記キー識別コー
ドを用いることなく前記トランスポンダとの間で通信を
行い、その通信が正しく行われたときそのキーは正規キ
ーであると認識し、その通信が正しく行われなかったと
き前記キー応答コード選択手段に最初の選択を行わせる
前段階キー照合手段を備えたことを特徴とする請求項1
〜8記載のキー照合装置。
9. Before communicating with a transponder having a key response code selected by said key response code selecting means, an initial predetermined period is set between said transponder and said transponder without using said key identification code. Pre-stage key collating means for performing communication, recognizing that the key is a legitimate key when the communication is correctly performed, and causing the key response code selecting means to perform the first selection when the communication is not correctly performed; 2. The method according to claim 1, further comprising:
9. A key collating device according to any one of claims 1 to 8.
【請求項10】 請求項1〜9記載のいずれかに記載の
キー照合装置であって、前記トランスポンダは暗号型で
あるキー照合装置。
10. The key matching device according to claim 1, wherein said transponder is of an encryption type.
【請求項11】 請求項1〜10のいずれかに記載のキ
ー照合装置であって、キーシリンダに差し込まれたキー
に設置されたトランスポンダのみに通信を行う上で充分
なエネルギーを付与するエネルギー付与手段を備えたこ
とを特徴とするキー照合装置。
11. The key collating apparatus according to claim 1, wherein energy is applied to only a transponder installed on a key inserted into a key cylinder for providing sufficient energy. A key collating device comprising:
【請求項12】 請求項1〜11のいずれかに記載のキ
ー照合装置であって、車両の盗難防止用であり、前記実
行手段はキーが正規キーと認識するとエンジンの始動を
許可することを特徴とするキー照合装置。
12. The key collating device according to claim 1, wherein the key collating device is for preventing the vehicle from being stolen, and wherein the execution means permits the engine to start when the key is recognized as a legitimate key. Key matching device that is a feature.
JP14785698A 1998-05-28 1998-05-28 Key collating device Pending JPH11334534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14785698A JPH11334534A (en) 1998-05-28 1998-05-28 Key collating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14785698A JPH11334534A (en) 1998-05-28 1998-05-28 Key collating device

Publications (1)

Publication Number Publication Date
JPH11334534A true JPH11334534A (en) 1999-12-07

Family

ID=15439813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14785698A Pending JPH11334534A (en) 1998-05-28 1998-05-28 Key collating device

Country Status (1)

Country Link
JP (1) JPH11334534A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008084120A (en) * 2006-09-28 2008-04-10 Fujitsu Ten Ltd Electronic control device
JP2010250747A (en) * 2009-04-20 2010-11-04 Tokai Rika Co Ltd Authentication system and authentication method
JP2010250746A (en) * 2009-04-20 2010-11-04 Tokai Rika Co Ltd Authentication system and authentication method
JP2010250748A (en) * 2009-04-20 2010-11-04 Tokai Rika Co Ltd Authentication system and authentication method
JP2014008820A (en) * 2012-06-28 2014-01-20 Denso Corp Onboard unit
WO2020049967A1 (en) * 2018-09-04 2020-03-12 株式会社東海理化電機製作所 Authentication device, authentication method, and authentication system
WO2024080201A1 (en) * 2022-10-13 2024-04-18 アルプスアルパイン株式会社 Distance measurement system, communication station, and distance measurement method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008084120A (en) * 2006-09-28 2008-04-10 Fujitsu Ten Ltd Electronic control device
JP2010250747A (en) * 2009-04-20 2010-11-04 Tokai Rika Co Ltd Authentication system and authentication method
JP2010250746A (en) * 2009-04-20 2010-11-04 Tokai Rika Co Ltd Authentication system and authentication method
JP2010250748A (en) * 2009-04-20 2010-11-04 Tokai Rika Co Ltd Authentication system and authentication method
JP2014008820A (en) * 2012-06-28 2014-01-20 Denso Corp Onboard unit
WO2020049967A1 (en) * 2018-09-04 2020-03-12 株式会社東海理化電機製作所 Authentication device, authentication method, and authentication system
JP2020037326A (en) * 2018-09-04 2020-03-12 株式会社東海理化電機製作所 Authentication device, authentication method and authentication system
WO2024080201A1 (en) * 2022-10-13 2024-04-18 アルプスアルパイン株式会社 Distance measurement system, communication station, and distance measurement method

Similar Documents

Publication Publication Date Title
US9580044B2 (en) Method and system for enabling an authorized vehicle driveaway
JP4402338B2 (en) Electronic key system
JP3191607B2 (en) Vehicle anti-theft device
JP5604368B2 (en) Keyless entry device for vehicles
CN103010154A (en) Remote starting system for vehicle and control method for the same
JP4760229B2 (en) Authentication device
JP5985941B2 (en) Key authentication device
WO2007020821A1 (en) Vehicle control device
JPH11314559A (en) Key code collator
JPH07303286A (en) Controller using transmitter/receiver
JP2001279972A (en) Electronic key device for motor vehicle
JP3760740B2 (en) Vehicle interior verification device
JPH11334534A (en) Key collating device
WO2017208481A1 (en) Vehicle authentication system and mobile device
US20080231416A1 (en) Latency reduction in remote signal communication system
US6335576B1 (en) Remote keyless entry receiver having correctly matched transmitters
US6549116B1 (en) Vehicle key-verifying apparatus and method with decreased verification time period feature
KR20090073587A (en) Immobilizer system and control method thereof
JP2922821B2 (en) Vehicle data processing method and device
KR20190125606A (en) Control Method for Vehicle Using Fingerprint type Smart Key
JP3973984B2 (en) Keyless entry for immobilizer authentication
WO2015098480A1 (en) In-vehicle wireless communication device
JP2002227481A (en) Smart entry system
JP2015078523A (en) Vehicle control system
JP3722922B2 (en) Automotive immobilizer system