JP6253003B1 - Electronic key system, security unit used in the system, and electronic key - Google Patents

Electronic key system, security unit used in the system, and electronic key Download PDF

Info

Publication number
JP6253003B1
JP6253003B1 JP2016200990A JP2016200990A JP6253003B1 JP 6253003 B1 JP6253003 B1 JP 6253003B1 JP 2016200990 A JP2016200990 A JP 2016200990A JP 2016200990 A JP2016200990 A JP 2016200990A JP 6253003 B1 JP6253003 B1 JP 6253003B1
Authority
JP
Japan
Prior art keywords
electronic key
wireless communication
predetermined
security unit
vehicle device
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.)
Active
Application number
JP2016200990A
Other languages
Japanese (ja)
Other versions
JP2018062766A (en
Inventor
康弘 大井
康弘 大井
吉孝 木村
吉孝 木村
翔太郎 廣末
翔太郎 廣末
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mazda Motor Corp
Original Assignee
Mazda Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP2016200990A priority Critical patent/JP6253003B1/en
Application granted granted Critical
Publication of JP6253003B1 publication Critical patent/JP6253003B1/en
Publication of JP2018062766A publication Critical patent/JP2018062766A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

【課題】リレーアタック対策をより簡単に実行することが可能な電子キーシステム、セキュリティユニット、及び電子キーを提供する。【解決手段】車載機10と電子キー30とを備え、車載機10と電子キー30との間で所定の無線通信処理が成立した場合に、車載機10により所定の処理が実行される電子キーシステム1であって、近距離無線通信用の非接触タグ60aを有するセキュリティユニット60を更に備え、電子キー30は、セキュリティユニット60の非接触タグ60aと無線通信するためのタグ通信部36を備えると共に、このタグ通信部36とセキュリティユニット60の非接触タグ60aとの間の近距離無線通信が可能な状況でない場合、車載機10との間で所定の無線通信処理を実行するが、近距離無線通信が可能な状況である場合、車載機10との間で所定の無線通信処理を実行しないように構成されている。【選択図】図1An electronic key system, a security unit, and an electronic key that can more easily execute countermeasures against relay attacks. An electronic key includes an in-vehicle device and an electronic key, and executes predetermined processing by the in-vehicle device when a predetermined wireless communication process is established between the in-vehicle device and the electronic key. The system 1 further includes a security unit 60 having a contactless tag 60a for short-range wireless communication, and the electronic key 30 includes a tag communication unit 36 for wirelessly communicating with the contactless tag 60a of the security unit 60. At the same time, when the short-range wireless communication between the tag communication unit 36 and the non-contact tag 60a of the security unit 60 is not possible, a predetermined wireless communication process is executed with the in-vehicle device 10. When wireless communication is possible, a predetermined wireless communication process is not performed with the in-vehicle device 10. [Selection] Figure 1

Description

本発明は、電子キーシステム、セキュリティユニット、及び電子キーに係り、特に電子キーを携帯するユーザの動作により所定の車両操作が実行される電子キーシステム、及び該システムに用いられるセキュリティユニット、電子キーに関する。   The present invention relates to an electronic key system, a security unit, and an electronic key, and more particularly, an electronic key system in which a predetermined vehicle operation is executed by an operation of a user carrying the electronic key, and a security unit and an electronic key used in the system About.

従来、スマートキーレス機能を備えた車両が知られている。このような車両では、電子キーを携帯したユーザが所定の操作を行うだけで、車両において必要な処理が実行されるようになっている。スマートキーレス機能を利用することにより、例えば、ドアノブに設けられたセンサに手を触れるだけで(又はドアに設けられたスイッチを押下するだけで)ドアが自動的に解錠され、ドアを閉めるときに車両に設けられた操作部を操作するだけでドアが自動的に施錠され、エンジンスイッチを押下しただけでエンジンが始動される。   Conventionally, a vehicle having a smart keyless function is known. In such a vehicle, a user carrying an electronic key performs a predetermined operation only by performing a predetermined operation. By using the smart keyless function, for example, when the door is automatically unlocked and the door is closed simply by touching a sensor provided on the door knob (or simply pressing a switch provided on the door). The door is automatically locked only by operating the operation unit provided in the vehicle, and the engine is started only by pressing the engine switch.

このようなスマートキーレス機能を実行するため、上記のような操作に起因して車両に搭載された車載機とユーザが携帯する電子キーは、両者間で所定の通信処理を実行する。そして、この通信処理が成立(即ち、認証成立)することにより、車載機を介して、車両内で所定の処理が実行される。   In order to execute such a smart keyless function, the in-vehicle device mounted on the vehicle due to the above operation and the electronic key carried by the user execute a predetermined communication process between them. Then, when this communication process is established (that is, authentication is established), a predetermined process is executed in the vehicle via the in-vehicle device.

上記通信処理において、通常、電子キーから車載機への通信可能距離は比較的長い(例えば、数十m以上)が、車載機から電子キーへの通信可能距離は短く(例えば、1m程度)設定されている。このため、電子キーを携帯するユーザは、車両の近傍又は車内にいるとき、スマートキーレス機能を有効に作動させることができる。即ち、ユーザ(即ち、電子キー)が車両から1m程度の通信可能距離よりも離れた位置にいる場合には、例えば、ドアノブのセンサに第三者が触れても、ドアは解錠されない。   In the above communication processing, normally, the communicable distance from the electronic key to the in-vehicle device is relatively long (for example, several tens of meters or more), but the communicable distance from the in-vehicle device to the electronic key is set short (for example, about 1 m) Has been. For this reason, the user carrying the electronic key can effectively operate the smart keyless function when in the vicinity of the vehicle or in the vehicle. That is, when the user (that is, the electronic key) is located at a position away from the communication distance of about 1 m from the vehicle, for example, even if a third person touches the door knob sensor, the door is not unlocked.

しかしながら、近年、リレーアタックという盗難の手口があることが明らかになってきた。この手口は、通信電波を中継器で増幅させて、互いに遠く離れた電子キーと車載機との間で上記通信処理を成立させることにより、スマートキーレス機能を作動させるものである。このようなリレーアタックによる盗難を防ぐため、リレーアタック対策として、スマートキーレス機能をユーザの意思により停止させる技術が提案されている(例えば、特許文献1参照)。特許文献1に記載の技術では、例えば、ユーザが電子キーを用いて特定の停止操作を行うことにより、スマートキーレス機能を一時的に停止させることができる。   However, in recent years, it has become clear that there is a theft technique called relay attack. This technique activates the smart keyless function by amplifying communication radio waves with a repeater and establishing the communication process between the electronic key and the vehicle-mounted device far away from each other. In order to prevent theft by such a relay attack, as a relay attack countermeasure, a technique for stopping the smart keyless function by the user's intention has been proposed (for example, see Patent Document 1). With the technique described in Patent Document 1, for example, the user can temporarily stop the smart keyless function by performing a specific stop operation using an electronic key.

特開2016−79600号公報JP-A-2016-79600

しかしながら、特許文献1に記載の技術では、リレーアタック対策のためにスマートキーレス機能を停止させるには、ユーザが特定の停止操作を行う必要がある。このため、この停止操作が実行されなかった場合には、リレーアタックの遂行が可能となってしまうという問題があった。   However, in the technique described in Patent Document 1, in order to stop the smart keyless function as a countermeasure against relay attacks, the user needs to perform a specific stop operation. For this reason, there has been a problem that if this stop operation is not executed, it is possible to perform a relay attack.

本発明は、このような課題を解決するためになされたものであり、リレーアタック対策をより簡単に実行することが可能な電子キーシステム、セキュリティユニット、及び電子キーを提供することを目的としている。   The present invention has been made to solve such a problem, and an object thereof is to provide an electronic key system, a security unit, and an electronic key that can more easily execute a countermeasure against a relay attack. .

上記の目的を達成するために、本発明は、車両に搭載される車載機と、この車載機と無線通信可能である電子キーと、を備え、車載機と電子キーとの間で所定の無線通信処理が成立した場合に、車載機により所定の処理が実行される電子キーシステムであって、近距離無線通信用の非接触タグを有するセキュリティユニットを更に備え、電子キーは、セキュリティユニットの非接触タグと無線通信するためのタグ通信部を備えると共に、このタグ通信部とセキュリティユニットの非接触タグとの間の近距離無線通信が可能な状況でない場合、車載機との間で所定の無線通信処理を実行するが、近距離無線通信が可能な状況である場合、車載機との間で所定の無線通信処理を実行しないように構成されている、ことを特徴としている。   In order to achieve the above object, the present invention includes an in-vehicle device mounted on a vehicle and an electronic key capable of wireless communication with the in-vehicle device, and a predetermined wireless communication is performed between the in-vehicle device and the electronic key. An electronic key system in which predetermined processing is executed by an in-vehicle device when communication processing is established, further comprising a security unit having a non-contact tag for near field communication, and the electronic key A tag communication unit for wirelessly communicating with the contact tag is provided, and when the short-range wireless communication between the tag communication unit and the non-contact tag of the security unit is not possible, a predetermined wireless communication with the in-vehicle device is performed. The communication process is executed, but when short-distance wireless communication is possible, a predetermined wireless communication process is not executed with the vehicle-mounted device.

このように構成された本発明によれば、電子キーがセキュリティユニットと近距離通信可能な通信範囲内に位置する場合は、電子キーとセキュリティユニットとの間の近距離無線通信が可能な状況であるので、電子キーと車載機との間で所定の無線通信処理が実行されず、この無線通信処理が成立しない。これにより、本発明では、例えば車両を運転後に駐車場に駐車した後、ユーザが電子キーをセキュリティユニットの近傍に置いておくだけで、ユーザは特別な操作をすることなしにスマートキーレス機能を無効化し、リレーアタック対策を簡単に実行することができる。また、本発明では、ユーザが車両を使用する場合には、例えば、セキュリティユニットの近傍から電子キーを取り上げて車両へ向かう間に、電子キーとセキュリティユニットとの間の近距離無線通信が不可能な状況になるので、ユーザは特別な操作をすることなしにスマートキーレス機能を有効化し、リレーアタック対策を解除することができる。   According to the present invention configured as described above, when the electronic key is located within a communication range capable of short-range communication with the security unit, the short-distance wireless communication between the electronic key and the security unit is possible. Therefore, the predetermined wireless communication process is not executed between the electronic key and the in-vehicle device, and this wireless communication process is not established. Accordingly, in the present invention, for example, after the vehicle is driven and parked in the parking lot, the user simply puts the electronic key in the vicinity of the security unit, and the user disables the smart keyless function without performing a special operation. And relay countermeasures can be easily implemented. In the present invention, when a user uses a vehicle, for example, short distance wireless communication between the electronic key and the security unit is impossible while the electronic key is picked up from the vicinity of the security unit and headed to the vehicle. Therefore, the user can activate the smart keyless function and cancel the relay attack countermeasure without performing any special operation.

また、本発明において好ましくは、電子キーは、車載機との間の所定の無線通信処理の実行中に、セキュリティユニットの非接触タグとの間の近距離無線通信を試み、この近距離無線通信が実行可能であった場合、所定の無線通信処理の実行を中止する。
このように構成された本発明によれば、スマートキーレス機能の実行のため、電子キーと車載機との間の所定の無線通信処理が始まると、電子キーがセキュリティユニットに対して近距離無線通信を試み、この近距離無線通信が成立した場合に、電子キーと車載機との間の所定の無線通信処理の実行が中止される。このように、本発明では、電子キーと車載機との無線通信処理を契機として、電子キーとセキュリティユニットとの間の近距離無線通信が可能な状況であるか否かを判定することができる。
In the present invention, it is preferable that the electronic key attempts near field communication with the non-contact tag of the security unit during execution of predetermined wireless communication processing with the in-vehicle device, and the near field communication is performed. Is executable, the execution of the predetermined wireless communication process is stopped.
According to the present invention configured as described above, when a predetermined wireless communication process between the electronic key and the vehicle-mounted device is started to execute the smart keyless function, the electronic key communicates with the security unit in a short-range wireless communication. When this short-range wireless communication is established, execution of predetermined wireless communication processing between the electronic key and the in-vehicle device is stopped. As described above, according to the present invention, it is possible to determine whether or not the short-range wireless communication between the electronic key and the security unit is possible with the wireless communication processing between the electronic key and the vehicle-mounted device. .

また、本発明において好ましくは、セキュリティユニットは、非接触タグを用いて連続的又は断続的に所定の情報を含む無線信号を送信し、電子キーは、セキュリティユニットから所定の情報を含む無線信号を受信したことに応答して、所定期間だけ所定の無線通信処理を実行しない。
このように構成された本発明によれば、セキュリティユニットは所定の情報を含む無線信号を自発的に送信し、この無線信号を受信することにより、電子キーはセキュリティユニットが近傍に位置することを認識可能である。本発明では、電子キーは、近傍に位置するセキュリティユニットから無線信号を受信すると、所定期間だけ車載機との間の所定の無線通信処理を実行しないので、この所定の無線通信処理が成立しなくなる。このように、本発明では、セキュリティユニットの自発的な無線信号の送信により、電子キーとセキュリティユニットとの間の近距離無線通信が可能な状況であるか否かを判定することができる。
Preferably, in the present invention, the security unit transmits a wireless signal including predetermined information continuously or intermittently using a non-contact tag, and the electronic key transmits a wireless signal including predetermined information from the security unit. In response to reception, predetermined wireless communication processing is not executed for a predetermined period.
According to the present invention configured as described above, the security unit voluntarily transmits a radio signal including predetermined information, and by receiving the radio signal, the electronic key indicates that the security unit is located in the vicinity. Recognizable. In the present invention, when the electronic key receives a wireless signal from a security unit located in the vicinity, the predetermined wireless communication process is not established because the electronic key does not execute the predetermined wireless communication process with the in-vehicle device for a predetermined period. . As described above, according to the present invention, it is possible to determine whether or not short-range wireless communication between the electronic key and the security unit is possible by spontaneous transmission of the wireless signal from the security unit.

また、上記の目的を達成するために、本発明は、車両に搭載される車載機とこの車載機と無線通信可能である電子キーとの間で所定の無線通信処理が成立した場合に、車載機により所定の処理が実行される電子キーシステムで用いられる、セキュリティユニットであって、電子キーは、セキュリティユニットとの間の近距離無線通信が可能な状況でない場合、車載機との間で所定の無線通信処理を実行するが、近距離無線通信が可能な状況である場合、所定の無線通信処理を実行しないように構成されており、セキュリティユニットは、電子キーと近距離無線通信するための非接触タグを備え、この非接触タグは、電子キーとの間の近距離無線通信のために所定の情報を含む無線信号を送信する、ことを特徴としている。   Further, in order to achieve the above object, the present invention provides an in-vehicle device when a predetermined wireless communication process is established between an in-vehicle device mounted on a vehicle and an electronic key capable of wireless communication with the in-vehicle device. A security unit used in an electronic key system in which predetermined processing is executed by a machine, and the electronic key is predetermined with an in-vehicle device when short-range wireless communication with the security unit is not possible However, when the short-range wireless communication is possible, the security unit is configured not to execute the predetermined wireless communication processing, and the security unit is configured to perform short-range wireless communication with the electronic key. A non-contact tag is provided, and the non-contact tag is characterized by transmitting a radio signal including predetermined information for short-range wireless communication with the electronic key.

また、本発明において好ましくは、非接触タグは、電子キーが送信する所定の信号の受信に応答して、所定の情報を含む無線信号を送信する。
また、本発明において好ましくは、非接触タグは、所定の情報を含む無線信号を連続的又は断続的に送信する
In the present invention, it is preferable that the contactless tag transmits a radio signal including predetermined information in response to reception of the predetermined signal transmitted by the electronic key.
In the present invention, it is preferable that the contactless tag continuously or intermittently transmits a radio signal including predetermined information.

また、上記の目的を達成するために、本発明は、車両に搭載される車載機とこの車載機と無線通信可能である電子キーとの間で所定の無線通信処理が成立した場合に、車載機により所定の処理が実行される電子キーシステムで用いられる、電子キーであって、電子キーは、車載機とは異なるセキュリティユニットと近距離無線通信するためのタグ通信部を備えると共に、このタグ通信部とセキュリティユニットとの間の近距離無線通信が可能な状況でない場合、車載機との間で所定の無線通信処理を実行するが、近距離無線通信が可能な状況である場合、車載機との間で所定の無線通信処理を実行しないように構成されている、ことを特徴としている。   Further, in order to achieve the above object, the present invention provides an in-vehicle device when a predetermined wireless communication process is established between an in-vehicle device mounted on a vehicle and an electronic key capable of wireless communication with the in-vehicle device. An electronic key used in an electronic key system in which predetermined processing is executed by a machine, and the electronic key includes a tag communication unit for short-range wireless communication with a security unit different from the in-vehicle device. When the short-distance wireless communication between the communication unit and the security unit is not possible, the predetermined wireless communication processing is executed with the in-vehicle device, but when the short-distance wireless communication is possible, the in-vehicle device It is characterized by not performing a predetermined | prescribed radio | wireless communication process between.

また、本発明において好ましくは、電子キーは、車載機との間の所定の無線通信処理の実行中に、セキュリティユニットの非接触タグとの間の近距離無線通信を試み、この近距離無線通信が実行可能であった場合、所定の無線通信処理の実行を中止する。
また、本発明において好ましくは、電子キーは、セキュリティユニットから所定の情報を含む無線信号を受信したことに応答して、所定期間だけ前記所定の無線通信処理を実行しない。
In the present invention, it is preferable that the electronic key attempts near field communication with the non-contact tag of the security unit during execution of predetermined wireless communication processing with the in-vehicle device, and the near field communication is performed. Is executable, the execution of the predetermined wireless communication process is stopped.
In the present invention, it is preferable that the electronic key does not execute the predetermined wireless communication process for a predetermined period in response to receiving a wireless signal including predetermined information from the security unit.

本発明の電子キーシステム、セキュリティユニット、及び電子キーによれば、リレーアタック対策をより簡単に実行することが可能となる。   According to the electronic key system, the security unit, and the electronic key of the present invention, it is possible to more easily execute countermeasures against relay attacks.

本発明の実施形態の電子キーシステムの構成図である。It is a block diagram of the electronic key system of embodiment of this invention. 本発明の実施形態の電子キーシステムにおいてスマートキーレス機能が有効となる場合(図2(A))及び無効となる場合(図2(B))の説明図である。It is explanatory drawing when the smart keyless function becomes effective (FIG. 2 (A)) and becomes invalid (FIG. 2 (B)) in the electronic key system of the embodiment of the present invention. 本発明の実施形態の電子キーシステムにおけるスマートキーレス機能の基本的な処理の流れの説明図である。It is explanatory drawing of the flow of a basic process of the smart keyless function in the electronic key system of embodiment of this invention. 本発明の第2の実施形態の電子キーシステムにおけるスマートキーレス機能の停止処理の流れの説明図である。It is explanatory drawing of the flow of a stop process of the smart keyless function in the electronic key system of the 2nd Embodiment of this invention. 本発明の第2の実施形態の電子キーシステムにおけるスマートキーレス機能の処理の流れの説明図である。It is explanatory drawing of the flow of a process of the smart keyless function in the electronic key system of the 2nd Embodiment of this invention.

以下、添付図面を参照して本発明の実施形態について説明する。
まず、図1を参照して、本発明の電子キーシステムの構成を説明する。図1は電子キーシステムの構成図である。
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
First, the configuration of the electronic key system of the present invention will be described with reference to FIG. FIG. 1 is a block diagram of an electronic key system.

図1に示すように、本実施形態の電子キーシステム1は、車両2に搭載された車載機10と、ユーザが携帯可能な電子キー30と、所定の場所に配置されたセキュリティユニット60とを備えている。電子キーシステム1では、スマートキーレス機能により、電子キー30を携帯したユーザが所定の操作を行うだけで、車両2において所定の処理が実行される。具体的には、ユーザが車両2のドアを開けるためにドアノブに手を掛けるだけで、ドアロック機構が自動的にアンロックされ、ドアを閉めるときに車両2に設けられたドアスイッチを押下するだけでドアロック機構が自動的にロックされ、エンジンスイッチを押下しただけでエンジンが始動される。   As shown in FIG. 1, an electronic key system 1 according to the present embodiment includes an in-vehicle device 10 mounted on a vehicle 2, an electronic key 30 that can be carried by a user, and a security unit 60 arranged at a predetermined location. I have. In the electronic key system 1, a predetermined process is executed in the vehicle 2 only by a user carrying the electronic key 30 performing a predetermined operation by the smart keyless function. Specifically, the door lock mechanism is automatically unlocked when the user simply touches the door knob to open the door of the vehicle 2, and the door switch provided on the vehicle 2 is pressed when the door is closed. Only the door lock mechanism is automatically locked, and the engine is started only by pressing the engine switch.

電子キーシステム1は、リレーアタック対策のためにスマートキーレス機能を一時的に無効化することができる(停止モード)。具体的には、本実施形態では、ユーザが電子キー30をセキュリティユニット60の近傍に置いている間は停止モードとなり、リレーアタックから車両2を保護することができる。   The electronic key system 1 can temporarily disable the smart keyless function as a countermeasure against relay attack (stop mode). Specifically, in this embodiment, while the user places the electronic key 30 in the vicinity of the security unit 60, the stop mode is set, and the vehicle 2 can be protected from the relay attack.

車載機10は、制御部11と、LF送信部13と、RF受信部15と、メモリ17と、操作部19とを備えている。
制御部11は、CPU等からなり、電子キー30との通信処理に基づいて、車両2のドアロック機構50,エンジン制御システム52へ制御信号(ロック指令信号,アンロック指令信号,エンジン始動指令信号)を出力するように構成されている。
The in-vehicle device 10 includes a control unit 11, an LF transmission unit 13, an RF reception unit 15, a memory 17, and an operation unit 19.
The control unit 11 includes a CPU and the like, and controls signals (lock command signal, unlock command signal, engine start command signal) to the door lock mechanism 50 and the engine control system 52 of the vehicle 2 based on communication processing with the electronic key 30. ) Is output.

LF送信部13は、送信機と送信アンテナを備え、制御部11の指令に基づいてLF信号を電子キー30に対して送信する。LF信号による通信の通信可能距離は、ユーザが車両2の近傍又は車内にいるときに通信可能となるように短く設定されており、例えば1m程度である。
RF受信部15は、受信器と受信アンテナを備え、電子キー30から受信したRF信号を制御部11へ出力する。RF信号による通信の通信可能距離は、LF信号に比べて長く設定されており、例えば数十m〜100m程度である。
The LF transmission unit 13 includes a transmitter and a transmission antenna, and transmits an LF signal to the electronic key 30 based on a command from the control unit 11. The communicable distance of communication using the LF signal is set to be short so that communication is possible when the user is in the vicinity of the vehicle 2 or in the vehicle, and is, for example, about 1 m.
The RF receiving unit 15 includes a receiver and a receiving antenna, and outputs an RF signal received from the electronic key 30 to the control unit 11. The communicable distance of communication using the RF signal is set longer than that of the LF signal, and is, for example, about several tens of meters to 100 m.

メモリ17は、制御部11のためのアプリケーションや必要なデータを記憶する。メモリ17には、データとして、キーID20と、車両ID22が含まれる。キーID20は、車両2(即ち、車載機10)に専用の電子キー30の固有ID情報である。車両ID22は、車両2の固有ID情報である。   The memory 17 stores an application for the control unit 11 and necessary data. The memory 17 includes a key ID 20 and a vehicle ID 22 as data. The key ID 20 is unique ID information of the electronic key 30 dedicated to the vehicle 2 (that is, the in-vehicle device 10). The vehicle ID 22 is unique ID information of the vehicle 2.

操作部19は、タッチセンサ19a,ドアスイッチ19b,エンジンスイッチ19cを含む。タッチセンサ19aは、車両2のドアノブに設けられており、ユーザがドアを開けようとしてドアノブに手を掛けると、ユーザの手が触れるように配置されている。タッチセンサ19aは、ユーザの手の接触又は接近により、検知信号(操作信号)を出力する。ドアスイッチ19bは、車両2に設けられており、ドアを閉めるときにユーザが押下可能となっている。ドアスイッチ19bは、押下されることにより操作信号を出力する。エンジンスイッチ19cは、車室内に設けられており、エンジンを始動させる際にユーザが押下可能となっている。エンジンスイッチ19cは、押下されることにより操作信号を出力する。   The operation unit 19 includes a touch sensor 19a, a door switch 19b, and an engine switch 19c. The touch sensor 19a is provided on the door knob of the vehicle 2, and is arranged so that the user's hand touches when the user puts his hand on the door knob to open the door. The touch sensor 19a outputs a detection signal (operation signal) when the user's hand touches or approaches. The door switch 19b is provided in the vehicle 2 and can be pressed by the user when closing the door. The door switch 19b outputs an operation signal when pressed. The engine switch 19c is provided in the passenger compartment and can be pressed by the user when starting the engine. The engine switch 19c outputs an operation signal when pressed.

ドアロック機構50は、車両2の各ドアに設けられており、車載機10からロック指令信号,アンロック指令信号を受け取ると、それぞれドアの施錠(ロック)及び解錠(アンロック)を行うようになっている。
エンジン制御システム52は、車両2のエンジンを制御する制御部を含み、車載機10からエンジン始動指令信号を受け取ると、エンジンを始動させるようになっている。
The door lock mechanism 50 is provided at each door of the vehicle 2, and when receiving a lock command signal and an unlock command signal from the vehicle-mounted device 10, the door lock mechanism 50 locks (unlocks) and unlocks the door, respectively. It has become.
The engine control system 52 includes a control unit that controls the engine of the vehicle 2, and starts the engine when an engine start command signal is received from the in-vehicle device 10.

電子キー30は、制御部31と、LF受信部33と、RF送信部35と、タグ通信部36と、メモリ37と、操作部39とを備えている。なお、車載機10及び電子キー30は、電子キーシステムに加えて、リモートエントリシステムとしても機能する。このため、電子キー30は、リモートエントリ機能のためのリモートコントローラとしても使用される。   The electronic key 30 includes a control unit 31, an LF reception unit 33, an RF transmission unit 35, a tag communication unit 36, a memory 37, and an operation unit 39. The in-vehicle device 10 and the electronic key 30 also function as a remote entry system in addition to the electronic key system. For this reason, the electronic key 30 is also used as a remote controller for the remote entry function.

制御部31は、CPU等からなり、車載機10やセキュリティユニット60との通信処理等を実行するように構成されている。   The control unit 31 includes a CPU and the like, and is configured to execute communication processing with the in-vehicle device 10 and the security unit 60.

LF受信部33は、受信機と受信アンテナを備え、車載機10から受信したLF信号を制御部31へ出力する。
RF送信部35は、送信器と送信アンテナを備え、制御部31の指令に基づいてRF信号を車載機10に対して送信する。
タグ通信部36は、送受信器と送受信アンテナを備え、制御部31の指令に基づいてセキュリティユニット60との間で近距離無線通信を行う。即ち、電子キー30は、セキュリティユニット60が有する非接触タグ60aに対応するタグリーダとして機能する。この近距離無線通信は、通信可能距離が1m程度に設定されている。なお、本明細書において、近距離無線通信は、通信可能距離が数cmから数m程度の近距離で無線通信可能な通信方式を意味する。
The LF reception unit 33 includes a receiver and a reception antenna, and outputs the LF signal received from the in-vehicle device 10 to the control unit 31.
The RF transmission unit 35 includes a transmitter and a transmission antenna, and transmits an RF signal to the in-vehicle device 10 based on a command from the control unit 31.
The tag communication unit 36 includes a transmitter / receiver and a transmission / reception antenna, and performs short-range wireless communication with the security unit 60 based on a command from the control unit 31. That is, the electronic key 30 functions as a tag reader corresponding to the non-contact tag 60a included in the security unit 60. In this short-range wireless communication, the communicable distance is set to about 1 m. Note that in this specification, short-range wireless communication refers to a communication method that enables wireless communication at a short distance of about several centimeters to several meters.

メモリ37は、制御部31のためのアプリケーションや必要なデータを記憶する。メモリ37には、データとして、キーID40と、車両ID42と、タグID46と、停止モードフラグ44が含まれる。キーID40は、電子キー30の固有ID情報である。車両ID42は、車両2の固有ID情報である。タグID46は、電子キー30に対応するセキュリティユニット60の固有ID情報である。停止モードフラグ44は、スマートキーレス機能の実行が一時的に停止されている状態(停止モード)のときにオンとなる。   The memory 37 stores an application for the control unit 31 and necessary data. The memory 37 includes a key ID 40, a vehicle ID 42, a tag ID 46, and a stop mode flag 44 as data. The key ID 40 is unique ID information of the electronic key 30. The vehicle ID 42 is unique ID information of the vehicle 2. The tag ID 46 is unique ID information of the security unit 60 corresponding to the electronic key 30. The stop mode flag 44 is turned on when the execution of the smart keyless function is temporarily stopped (stop mode).

操作部39は、ロックスイッチ39aと、アンロックスイッチ39bを含む。リモートエントリシステムとして電子キーシステム1が機能するとき、ユーザは、電子キー30の操作部39を操作することにより、車両2のドアを解錠及び施錠することができる。即ち、ユーザがロックスイッチ39a,アンロックスイッチ39bを押下することにより、電子キー30からRF信号(ロック信号、アンロック信号)が出力され、これらRF信号を受信した車載機10がドアロック機構50をロック又はアンロックする。   The operation unit 39 includes a lock switch 39a and an unlock switch 39b. When the electronic key system 1 functions as a remote entry system, the user can unlock and lock the door of the vehicle 2 by operating the operation unit 39 of the electronic key 30. That is, when the user presses the lock switch 39a and the unlock switch 39b, RF signals (lock signal and unlock signal) are output from the electronic key 30, and the vehicle-mounted device 10 that has received these RF signals causes the door lock mechanism 50 to receive the RF signal. Lock or unlock

セキュリティユニット60は、例えば、車両2のユーザが車両2の不使用時に電子キー30を保管又は保持する場所に配置される。例えば、セキュリティユニット60はユーザの自宅内に配置され、電子キー30の載置台や保管箱とすることができる。   For example, the security unit 60 is disposed at a place where the user of the vehicle 2 stores or holds the electronic key 30 when the vehicle 2 is not used. For example, the security unit 60 is disposed in the user's home and can be a mounting table or a storage box for the electronic key 30.

セキュリティユニット60は、近距離無線通信用のICチップ構造の非接触タグ60aを備える。この非接触タグ60aは、制御部61と、送受信部63と、メモリ67と、バッテリ65とを備えている。   The security unit 60 includes a non-contact tag 60a having an IC chip structure for short-range wireless communication. The non-contact tag 60a includes a control unit 61, a transmission / reception unit 63, a memory 67, and a battery 65.

制御部61は、CPU等からなり、電子キー30のタグ通信部36との近距離無線通信処理を実行するように構成されている。
送受信部63は、送受信機と送受信アンテナを備え、電子キー30から受信した無線信号(タグ要求信号)を制御部61へ出力し、また、制御部61の指令に基づいて無線信号(タグ応答信号)を送信する。
The control unit 61 includes a CPU and the like, and is configured to execute short-range wireless communication processing with the tag communication unit 36 of the electronic key 30.
The transmission / reception unit 63 includes a transmission / reception unit and a transmission / reception antenna, outputs a radio signal (tag request signal) received from the electronic key 30 to the control unit 61, and receives a radio signal (tag response signal) based on a command from the control unit 61. ).

メモリ67は、制御部61のためのアプリケーションや必要なデータを記憶する。メモリ67には、データとして、キーID70と、タグID76が含まれる。キーID70は、電子キー30の固有ID情報である。タグID76は、セキュリティユニット60の固有ID情報である。   The memory 67 stores an application for the control unit 61 and necessary data. The memory 67 includes a key ID 70 and a tag ID 76 as data. The key ID 70 is unique ID information of the electronic key 30. The tag ID 76 is unique ID information of the security unit 60.

バッテリ65は、制御部61等に作動電力を供給する。バッテリ65は、充電用ケーブルの電源プラグ66を電源コンセント(図示せず)に接続することにより充電可能となっている。本実施形態では、非接触タグ60aはアクティブタイプであり、バッテリ65による電力供給により送受信部63を介して無線信号を送信可能である。しかしながら、非接触タグ60aはパッシブタイプであってもよく、この場合は、電子キー30からの無線信号(電波)を電源として作動するため、バッテリ65は不要である。   The battery 65 supplies operating power to the control unit 61 and the like. The battery 65 can be charged by connecting a power plug 66 of a charging cable to a power outlet (not shown). In the present embodiment, the non-contact tag 60 a is an active type, and can transmit a radio signal via the transmission / reception unit 63 by supplying power from the battery 65. However, the non-contact tag 60a may be of a passive type. In this case, the battery 65 is unnecessary because the wireless signal (radio wave) from the electronic key 30 operates as a power source.

次に、図2を参照して、本実施形態の電子キーシステムにおいてスマートキーレス機能が有効化及び無効化について説明する。図2は、スマートキーレス機能が有効となる場合(図2(A))及び無効となる場合(図2(B))の説明図である。
本実施形態の電子キーシステム1において、セキュリティユニット60は、スマートキーレス機能を無効化する手段として利用される。
Next, enabling and disabling of the smart keyless function in the electronic key system of this embodiment will be described with reference to FIG. FIG. 2 is an explanatory diagram when the smart keyless function is enabled (FIG. 2A) and disabled (FIG. 2B).
In the electronic key system 1 of the present embodiment, the security unit 60 is used as a means for invalidating the smart keyless function.

図2(A)は、スマートキーレス機能が有効に作動する状況を示している。図2(A)では、電子キー30は、ユーザによって携行され、車両2(車載機10)から所定の通信可能距離(例えば、1m)以内に位置するが、セキュリティユニット60との近距離無線通信可能距離(例えば、1m)以内には位置しない。本実施形態では、電子キー30とセキュリティユニット60との間の近距離無線通信が実行不可な状況では、スマートキーレス機能が有効となる。   FIG. 2A shows a situation where the smart keyless function operates effectively. In FIG. 2A, the electronic key 30 is carried by the user and is located within a predetermined communicable distance (for example, 1 m) from the vehicle 2 (onboard device 10), but short-range wireless communication with the security unit 60. It is not located within a possible distance (for example, 1 m). In the present embodiment, the smart keyless function is effective in a situation where short-range wireless communication between the electronic key 30 and the security unit 60 cannot be performed.

一方、図2(B)は、リレーアタック対策のためスマートキーレス機能が一時的に無効化された状況を示している。図2(B)では、電子キー30がセキュリティユニット60の近傍に配置されている(セキュリティユニット60との近距離無線通信可能距離以内に位置する)。本実施形態では、電子キー30とセキュリティユニット60との間の近距離無線通信が実行可能な状況では、スマートキーレス機能が無効となる。したがって、ユーザは、車両2を使用しない間、電子キー30をセキュリティユニット60の近傍に配置すれば、リレーアタックから車両2を保護することができる。なお、この場合、電子キー30が車両2(車載機10)から所定の通信可能距離以内に位置しているか否かに関係なく、スマートキーレス機能は無効となる。   On the other hand, FIG. 2B shows a situation in which the smart keyless function is temporarily disabled as a countermeasure against relay attacks. In FIG. 2B, the electronic key 30 is disposed in the vicinity of the security unit 60 (located within a short-range wireless communication possible distance with the security unit 60). In the present embodiment, the smart keyless function is disabled in a situation where short-range wireless communication between the electronic key 30 and the security unit 60 can be performed. Therefore, the user can protect the vehicle 2 from the relay attack by arranging the electronic key 30 in the vicinity of the security unit 60 while not using the vehicle 2. In this case, the smart keyless function is disabled regardless of whether or not the electronic key 30 is located within a predetermined communicable distance from the vehicle 2 (onboard device 10).

次に、図3を参照して、本実施形態の電子キーシステムにおけるスマートキーレス機能の概略を説明する。図3は、スマートキーレス機能の基本的な処理の流れの説明図である。   Next, an outline of the smart keyless function in the electronic key system of the present embodiment will be described with reference to FIG. FIG. 3 is an explanatory diagram of a basic processing flow of the smart keyless function.

先ず、電子キー30を携帯するユーザが、車両2に設けられた操作部19のうちいずれかを操作すると(S10)、車載機10の制御部11は、操作部19から操作したセンサ又はスイッチに応じた操作信号を受信する(S11)。制御部11は、この操作信号に基づいて、LF信号を送信する(S12)。このLF信号は、認証要求信号であり、車両ID22が含まれる。   First, when the user carrying the electronic key 30 operates any one of the operation units 19 provided in the vehicle 2 (S10), the control unit 11 of the in-vehicle device 10 applies a sensor or a switch operated from the operation unit 19 to the sensor or switch. A corresponding operation signal is received (S11). The control unit 11 transmits an LF signal based on the operation signal (S12). This LF signal is an authentication request signal and includes a vehicle ID 22.

電子キー30では、制御部31がLF受信部33を介して、LF信号を受信する(S21)。LF信号を受信すると、制御部31は、タグ通信部36を介してセキュリティユニット60に向けて無線信号を送信する(S22)。この無線信号は、タグ要求信号であり、電子キー30のキーID40が含まれる。   In the electronic key 30, the control unit 31 receives the LF signal via the LF receiving unit 33 (S21). When receiving the LF signal, the control unit 31 transmits a wireless signal to the security unit 60 via the tag communication unit 36 (S22). This wireless signal is a tag request signal and includes the key ID 40 of the electronic key 30.

セキュリティユニット60は、電子キー30から近距離無線通信可能距離以内に位置している場合(図2(B)の場合)、電子キー30から無線信号(タグ要求信号)を受信し(S31)、この無線信号の受信に応答して無線信号(タグ応答信号)を送信する(S32)。即ち、セキュリティユニット60では、制御部61は、送受信部63を介して無線信号を受信すると、これに応答して、セキュリティユニット60のタグID76を含む無線信号を返信する。   When the security unit 60 is located within the short-range wireless communication possible distance from the electronic key 30 (in the case of FIG. 2B), the security unit 60 receives a wireless signal (tag request signal) from the electronic key 30 (S31), In response to reception of this radio signal, a radio signal (tag response signal) is transmitted (S32). That is, in the security unit 60, when the control unit 61 receives a wireless signal via the transmission / reception unit 63, in response thereto, the control unit 61 returns a wireless signal including the tag ID 76 of the security unit 60.

なお、セキュリティユニット60が無線信号を受信したときに、この無線信号の認証処理を制御部61が実行するように構成してもよい。この認証処理では、無線信号に含まれるキーID40とメモリ67に記憶されたキーID70との照合を行うことができる。そして、制御部61は、これらが一致する場合、上記処理(S32)を実行し、これらが一致しない場合、受信した無線信号を無視して処理を終了する。   Note that, when the security unit 60 receives a wireless signal, the control unit 61 may execute this wireless signal authentication process. In this authentication process, the key ID 40 included in the radio signal and the key ID 70 stored in the memory 67 can be verified. Then, if they match, the control unit 61 executes the above process (S32). If they do not match, the control unit 61 ignores the received radio signal and ends the process.

電子キー30では、制御部31は、タグ通信部36を介してセキュリティユニット60が返信した無線信号(タグ応答信号)を無線信号(タグ要求信号)の送信から所定時間以内に受信するか否かを判定する(S23)。即ち、制御部31は、所定時間だけタグ応答信号を受信する受信窓を設定し、この受信窓でタグ応答信号を受信するか否かを判定する。   In the electronic key 30, the control unit 31 determines whether or not the wireless signal (tag response signal) returned from the security unit 60 via the tag communication unit 36 is received within a predetermined time from the transmission of the wireless signal (tag request signal). Is determined (S23). That is, the control unit 31 sets a reception window for receiving the tag response signal for a predetermined time, and determines whether or not to receive the tag response signal through this reception window.

電子キー30において、タグ応答信号を所定時間以内に受信した場合(S23;Yes、図2(B)の場合)、リレーアタック対策としてスマートキーレス機能を無効にするため、制御部31は、停止モードフラグ44をオンにして(停止モードに移行)、処理を終了する。この場合、図2(B)に示すように、電子キー30がセキュリティユニット60の近傍に位置しており、両者間で近距離無線通信が可能である。   When the electronic key 30 receives the tag response signal within a predetermined time (S23; Yes, in the case of FIG. 2B), the control unit 31 is set to the stop mode in order to invalidate the smart keyless function as a countermeasure against the relay attack. The flag 44 is turned on (transition to the stop mode), and the process ends. In this case, as shown in FIG. 2B, the electronic key 30 is located in the vicinity of the security unit 60, and short-distance wireless communication is possible between them.

一方、セキュリティユニット60は、電子キー30から近距離無線通信可能距離よりも遠方に位置している場合(図2(A)の場合)、電子キー30から無線信号(タグ要求信号)を受信できない。したがって、セキュリティユニット60は、無線信号(タグ応答信号)を返信しない。   On the other hand, the security unit 60 cannot receive a radio signal (tag request signal) from the electronic key 30 when it is located farther from the electronic key 30 than the short-range wireless communication possible distance (in the case of FIG. 2A). . Therefore, the security unit 60 does not return a radio signal (tag response signal).

電子キー30において、タグ応答信号を所定時間以内に受信しない場合(S23;No、図2(A)の場合)、リレーアタック対策は不要であり、スマートキーレス機能を有効にするため、制御部31は、RF信号をRF送信部35を介して送信して(S24)、処理を終了する。このRF信号は、認証応答信号であり、車両ID42,電子キー30のキーID40が含まれる。   When the electronic key 30 does not receive the tag response signal within a predetermined time (S23; No, in the case of FIG. 2A), the relay attack countermeasure is unnecessary and the control unit 31 is effective in order to enable the smart keyless function. Transmits an RF signal via the RF transmitter 35 (S24), and ends the process. This RF signal is an authentication response signal and includes a vehicle ID 42 and a key ID 40 of the electronic key 30.

なお、電子キー30が無線信号(タグ応答信号)を受信したときに、この無線信号の認証処理を制御部31が実行するように構成してもよい。この認証処理では、無線信号に含まれるタグID76とメモリ37に記憶されたタグID46との照合を行うことができる。そして、制御部31は、これらが一致する場合、上記処理(S24)を実行し、これらが一致しない場合、受信した無線信号を無視して処理を終了する。   Note that when the electronic key 30 receives a radio signal (tag response signal), the control unit 31 may execute the authentication process of the radio signal. In this authentication process, the tag ID 76 included in the wireless signal can be compared with the tag ID 46 stored in the memory 37. And when these correspond, the said process (S24) is performed, and when these do not correspond, the received radio signal is disregarded and a process is complete | finished.

車載機10では、制御部11は、RF受信部15を介して電子キー30が返信したRF信号をLF信号の送信から所定時間以内に受信した場合(S13)、このRF信号の認証処理を行う(S14)。具体的には、制御部11は、RF信号に含まれる車両ID42,キーID40とメモリ17に記憶された車両ID22,キーID20との照合を行う。なお、LF信号の送信から所定時間以内にRF信号を受信しない場合、制御部11は、処理を終了する。   In the in-vehicle device 10, when the control unit 11 receives the RF signal returned from the electronic key 30 via the RF receiving unit 15 within a predetermined time from the transmission of the LF signal (S 13), the control unit 11 performs an authentication process of the RF signal. (S14). Specifically, the control unit 11 collates the vehicle ID 42 and key ID 40 included in the RF signal with the vehicle ID 22 and key ID 20 stored in the memory 17. If the RF signal is not received within a predetermined time from the transmission of the LF signal, the control unit 11 ends the process.

この認証処理において、車両ID42,キーID40と、車両ID22,キーID20とがそれぞれ一致する場合(認証成立)、車載機10は対応する電子キー30からRF信号を受け取っているので、制御部11は、所定の制御信号を送信して(S15)、処理を終了する。一方、これらのIDが一致しない場合(認証不成立)、車載機10が受信したRF信号は対応する電子キー30以外から送信されたものであるため、制御部11は、受信したRF信号を無視して、処理を終了する。   In this authentication process, when the vehicle ID 42 and the key ID 40 are matched with the vehicle ID 22 and the key ID 20 (authentication is established), the in-vehicle device 10 receives the RF signal from the corresponding electronic key 30, so the control unit 11 Then, a predetermined control signal is transmitted (S15), and the process is terminated. On the other hand, when these IDs do not match (authentication is not established), the RF signal received by the in-vehicle device 10 is transmitted from other than the corresponding electronic key 30, and therefore the control unit 11 ignores the received RF signal. To end the process.

所定の制御信号として、タッチセンサ19aが操作された場合は、アンロック指令信号がドアロック機構50へ出力され、ドアスイッチ19bが操作された場合は、ロック指令信号がドアロック機構50へ出力され、エンジンスイッチ19cが操作された場合は、エンジン始動指令信号がエンジン制御システム52へ出力される。   As the predetermined control signal, when the touch sensor 19a is operated, an unlock command signal is output to the door lock mechanism 50, and when the door switch 19b is operated, a lock command signal is output to the door lock mechanism 50. When the engine switch 19c is operated, an engine start command signal is output to the engine control system 52.

このように、電子キーシステム1において、電子キー30がセキュリティユニット60から離れた位置にある場合は、スマートキーレス機能が有効になり、電子キー30を携帯するユーザが所定の操作を行うことにより、車両2において所定の処理が実行される。即ち、車載機10と電子キー30との間で認証要求信号の送信及び認証応答信号の返信を含む所定の無線通信処理(S12−S14、S21−S24)が実行され、この無線通信が成立すれば、所定の処理が自動的に実行される。   As described above, in the electronic key system 1, when the electronic key 30 is located away from the security unit 60, the smart keyless function is enabled, and a user carrying the electronic key 30 performs a predetermined operation. A predetermined process is executed in the vehicle 2. That is, predetermined wireless communication processing (S12-S14, S21-S24) including transmission of an authentication request signal and return of an authentication response signal is executed between the in-vehicle device 10 and the electronic key 30, and this wireless communication is established. In this case, a predetermined process is automatically executed.

一方、電子キーシステム1において、電子キー30がセキュリティユニット60の近傍に位置する場合は、スマートキーレス機能が無効になる。即ち、本実施形態では、電子キー30は、LF信号を受信してもRF信号を送信しない。このため、車載機10は、ステップS13−S15の処理を実行することができないので、所定の処理は実行されない。したがって、ユーザは、電子キー30をセキュリティユニット60の近傍に配置することにより、リレーアタックによって車両2のドアが開扉されることを防止することができる。   On the other hand, in the electronic key system 1, when the electronic key 30 is located in the vicinity of the security unit 60, the smart keyless function is disabled. That is, in the present embodiment, the electronic key 30 does not transmit an RF signal even if it receives an LF signal. For this reason, since the vehicle equipment 10 cannot perform the process of step S13-S15, a predetermined process is not performed. Therefore, the user can prevent the door of the vehicle 2 from being opened by the relay attack by arranging the electronic key 30 in the vicinity of the security unit 60.

次に、図4及び図5を参照して、第2の実施形態の電子キーシステムにおけるスマートキーレス機能の概略を説明する。図4は、スマートキーレス機能の停止処理の流れの説明図、図5は、スマートキーレス機能の処理の流れの説明図である。なお、図5において、図3と同様の処理は同じ処理番号を付し、重複する説明は省略する。   Next, an outline of the smart keyless function in the electronic key system according to the second embodiment will be described with reference to FIGS. 4 and 5. FIG. 4 is an explanatory diagram of the flow of the smart keyless function stop process, and FIG. 5 is an explanatory diagram of the process flow of the smart keyless function. In FIG. 5, the same processes as those in FIG. 3 are denoted by the same process numbers, and redundant description is omitted.

第2の実施形態では、セキュリティユニット60は、所定時に無線信号(タグ識別信号)を送信し、この無線信号を受信すると電子キー30は停止モードに移行する。したがって、電子キー30がセキュリティユニット60の近傍に配置されている間、電子キー30は自動的に停止モードへ移行し、これによりスマートキーレス機能が無効化される。   In the second embodiment, the security unit 60 transmits a radio signal (tag identification signal) at a predetermined time, and when receiving this radio signal, the electronic key 30 shifts to the stop mode. Therefore, while the electronic key 30 is disposed in the vicinity of the security unit 60, the electronic key 30 automatically shifts to the stop mode, thereby disabling the smart keyless function.

図4において、セキュリティユニット60では、制御部61は、連続的(時間的に途切れることなく)又は断続的(例えば、1分間隔)に無線信号を送信する(S41)。この無線信号は、タグ識別信号であり、セキュリティユニット60のタグID76が含まれる。   4, in the security unit 60, the control unit 61 transmits a radio signal continuously (without interruption in time) or intermittently (for example, at intervals of 1 minute) (S41). This wireless signal is a tag identification signal and includes the tag ID 76 of the security unit 60.

電子キー30は、セキュリティユニット60の近傍に位置する場合、セキュリティユニット60が送信した無線信号を受信する(S44)。電子キー30では、制御部31は、タグ通信部36を介して、この無線信号を受信すると、無線信号に含まれるタグID76とメモリ37に記憶されたタグID46とを照合する。そして、これらが一致する場合(認証成立)、制御部31は、セキュリティユニット60が近傍に位置し、近距離無線通信が可能な状況であると認識する。一方、これらが一致しない場合(認証不成立)、受信した無線信号は電子キー30に関連付けられたセキュリティユニット60が送信したものではないので、この無線信号を無視して処理を終了する。   When the electronic key 30 is located in the vicinity of the security unit 60, the electronic key 30 receives the radio signal transmitted by the security unit 60 (S44). In the electronic key 30, when receiving the wireless signal via the tag communication unit 36, the control unit 31 collates the tag ID 76 included in the wireless signal with the tag ID 46 stored in the memory 37. If they match (authentication is established), the control unit 31 recognizes that the security unit 60 is located in the vicinity and short-range wireless communication is possible. On the other hand, if they do not match (authentication is not established), the received radio signal is not transmitted by the security unit 60 associated with the electronic key 30, so the process is terminated ignoring this radio signal.

そして、電子キー30では、制御部31は、無線信号の認証が成立した場合、停止モードフラグ44をオンにして(停止モードへ移行して)、処理を終了する。本実施形態では、電子キー30は、セキュリティユニット60の送信した無線信号を受信してから所定時間(例えば、2分)だけ停止モードに留まり、停止モードフラグ44をオンにし続ける。なお、停止モードフラグ44がオンになる継続時間は、電子キー30が無線信号を送信する間隔よりも長いことが好ましい。しかしながら、所定時間が経過すると、電子キー30は、停止モードフラグ44をオフにして、停止モードから通常のスマートキーレス機能を実行する通常モードへ復帰する。   In the electronic key 30, when the wireless signal authentication is established, the control unit 31 turns on the stop mode flag 44 (shifts to the stop mode) and ends the process. In the present embodiment, the electronic key 30 remains in the stop mode for a predetermined time (for example, 2 minutes) after receiving the wireless signal transmitted from the security unit 60, and keeps the stop mode flag 44 turned on. Note that the duration for which the stop mode flag 44 is turned on is preferably longer than the interval at which the electronic key 30 transmits a radio signal. However, when the predetermined time has elapsed, the electronic key 30 turns off the stop mode flag 44 and returns from the stop mode to the normal mode in which the normal smart keyless function is executed.

次に、図5を参照すると、ステップS10〜S15,S21及びS24は、図3と同様である。即ち、ユーザが操作部19を操作すると(S10)、車載機10は、操作信号を受け取る(S11)。操作信号を受け取ると、車載機10は、図2のステップS12と同様にLF信号(認証要求信号)を送信する(S12)。   Next, referring to FIG. 5, steps S10 to S15, S21 and S24 are the same as those in FIG. That is, when the user operates the operation unit 19 (S10), the in-vehicle device 10 receives an operation signal (S11). When receiving the operation signal, the in-vehicle device 10 transmits an LF signal (authentication request signal) as in step S12 of FIG. 2 (S12).

電子キー30は、図3のステップS21と同様に、このLF信号を受信する(S21)。また、このとき上述と同様に認証処理を実行してもよい。LF信号を受信すると、制御部31は、電子キー30が停止モード中であるか否か(停止モードフラグ44がオンかオフか)を判定する(S23a)。停止モード中である場合(S23a;Yes)、処理は終了される。一方、停止モード中でない場合(S23a;No)、制御部31は、RF信号(認証応答信号)をRF送信部35を介して送信して、処理を終了する。また、車載機10が電子キー30からRF信号を受信すると(S13)、車載機10は、図2のステップS13〜S15と同様の処理を実行する。   The electronic key 30 receives this LF signal as in step S21 of FIG. 3 (S21). At this time, authentication processing may be executed in the same manner as described above. When receiving the LF signal, the control unit 31 determines whether or not the electronic key 30 is in the stop mode (whether the stop mode flag 44 is on or off) (S23a). If it is in the stop mode (S23a; Yes), the process is terminated. On the other hand, when not in the stop mode (S23a; No), the control unit 31 transmits an RF signal (authentication response signal) via the RF transmission unit 35 and ends the process. Further, when the in-vehicle device 10 receives the RF signal from the electronic key 30 (S13), the in-vehicle device 10 performs the same processing as steps S13 to S15 in FIG.

このように本実施形態では、セキュリティユニット60が所定時に近距離無線信号(タグ識別信号)を送信し、電子キー30がこれを受信することにより、電子キー30が停止モード(リレーアタック対策モード)に移行する。そして、電子キー30がセキュリティユニット60の近傍に位置する限り、したがって、近距離無線通信が可能な状況である限り、電子キー30は停止モードに留まる。   As described above, in this embodiment, the security unit 60 transmits a short-range wireless signal (tag identification signal) at a predetermined time, and the electronic key 30 receives the signal, whereby the electronic key 30 is in the stop mode (relay attack countermeasure mode). Migrate to And as long as the electronic key 30 is located in the vicinity of the security unit 60, and as long as short-distance wireless communication is possible, the electronic key 30 remains in the stop mode.

停止モードでは、ユーザ(又は第三者)が車載機10の操作部19を操作したことに起因して車載機10がLF信号を送信し、電子キー30がこのLF信号を受信しても、電子キー30はRF信号を返信しない。よって、停止モード中は、電子キー30と車載機10との間の所定の無線通信処理(S11〜S14、S21、S24)が成立しないため、車載機10によるスマートキーレス機能に関する所定の処理(ドアロック、ドアアンロック、エンジン始動)は実行されない。   In the stop mode, even if the user (or a third party) operates the operation unit 19 of the vehicle-mounted device 10, the vehicle-mounted device 10 transmits an LF signal, and the electronic key 30 receives this LF signal. The electronic key 30 does not return an RF signal. Therefore, during the stop mode, the predetermined wireless communication process (S11 to S14, S21, S24) between the electronic key 30 and the vehicle-mounted device 10 is not established, so the predetermined process (door) related to the smart keyless function by the vehicle-mounted device 10 is not established. Lock, door unlock, engine start) are not executed.

次に、本実施形態の電子キーシステム1の作用について説明する。
本実施形態は、車両2に搭載される車載機10と、この車載機10と無線通信可能である電子キー30とを備え、車載機10と電子キー30との間で所定の無線通信処理(図3のS11〜S15、S21〜S24、及び、図5のS11〜S15、S21〜S24)が成立した場合に、車載機10により所定の処理(S15)が実行される電子キーシステム1である。本実施形態の電子キーシステム1は、近距離無線通信用の非接触タグ60aを有するセキュリティユニット60を更に備え、電子キー30は、セキュリティユニット60の非接触タグ60aと無線通信するためのタグ通信部36を備えると共に、このタグ通信部36とセキュリティユニット60の非接触タグ60aとの間の近距離無線通信が可能な状況でない場合(S23;No、S23a;No)、車載機10との間で所定の無線通信処理を実行するが、近距離無線通信が可能な状況である場合(S23;Yes、S23a;Yes)、車載機10との間で所定の無線通信処理を実行しないように構成されている。
Next, the operation of the electronic key system 1 of the present embodiment will be described.
The present embodiment includes an in-vehicle device 10 mounted on the vehicle 2 and an electronic key 30 that can wirelessly communicate with the in-vehicle device 10, and a predetermined wireless communication process between the in-vehicle device 10 and the electronic key 30 ( 3 is an electronic key system 1 in which a predetermined process (S15) is executed by the vehicle-mounted device 10 when S11 to S15, S21 to S24 in FIG. 3 and S11 to S15 and S21 to S24 in FIG. 5 are established. . The electronic key system 1 of the present embodiment further includes a security unit 60 having a non-contact tag 60a for short-range wireless communication, and the electronic key 30 performs tag communication for wireless communication with the non-contact tag 60a of the security unit 60. When the short-range wireless communication between the tag communication unit 36 and the non-contact tag 60a of the security unit 60 is not possible (S23; No, S23a; No), The predetermined wireless communication processing is executed in the above, but when the short-range wireless communication is possible (S23; Yes, S23a; Yes), the predetermined wireless communication processing is not executed with the in-vehicle device 10. Has been.

これにより、本実施形態では、電子キー30がセキュリティユニット60と近距離通信可能な通信範囲内に位置する場合は、電子キー30とセキュリティユニット60との間の近距離無線通信が可能な状況であるので、電子キー30と車載機10との間で所定の無線通信処理が実行されず、この無線通信処理が成立しない。これにより、本実施形態では、例えば車両2を運転後に駐車場に駐車した後、ユーザが電子キー30をセキュリティユニット60の近傍に置いておくだけで、スマートキーレス機能が無効化されるので、リレーアタック対策を簡単に実行することが可能である。また、本実施形態では、ユーザが車両2を使用する場合には、例えば、セキュリティユニット60の近傍から電子キー30を取り上げて車両2へ向かう間に、電子キー30とセキュリティユニット60との間の近距離無線通信が不可能な状況になるので、自動的にリレーアタック対策が解除され、スマートキーレス機能を有効化することができる。   As a result, in the present embodiment, when the electronic key 30 is located within a communication range in which near field communication with the security unit 60 is possible, short distance wireless communication between the electronic key 30 and the security unit 60 is possible. Therefore, a predetermined wireless communication process is not executed between the electronic key 30 and the in-vehicle device 10, and this wireless communication process is not established. Accordingly, in this embodiment, for example, after the vehicle 2 is driven and parked in the parking lot, the smart keyless function is invalidated simply by the user placing the electronic key 30 in the vicinity of the security unit 60. It is possible to easily execute countermeasures against attacks. In the present embodiment, when the user uses the vehicle 2, for example, while the electronic key 30 is picked up from the vicinity of the security unit 60 toward the vehicle 2, between the electronic key 30 and the security unit 60. Since short-range wireless communication becomes impossible, the relay attack countermeasure is automatically canceled and the smart keyless function can be activated.

また、本実施形態では、電子キー30は、車載機10との間の所定の無線通信処理の実行中に、セキュリティユニット60の非接触タグ60aとの間の近距離無線通信を試み、この近距離無線通信が実行可能であった場合(S23;Yes)、所定の無線通信処理の実行を中止する。これにより、本実施形態では、スマートキーレス機能の実行のため、電子キー30と車載機10との間の所定の無線通信処理が始まると、電子キー30がセキュリティユニット60に対して近距離無線通信を試み、この通信が成立した場合に、電子キー30と車載機10との間の所定の無線通信処理の実行が中止される。このように、本実施形態では、電子キー30と車載機10との無線通信処理を契機として、電子キー30とセキュリティユニット60との間の近距離無線通信が可能な状況であるか否かを判定することができる。   In the present embodiment, the electronic key 30 attempts short-range wireless communication with the non-contact tag 60a of the security unit 60 during execution of predetermined wireless communication processing with the in-vehicle device 10, and this When the distance wireless communication is executable (S23; Yes), the execution of the predetermined wireless communication process is stopped. Thereby, in this embodiment, when the predetermined | prescribed wireless communication process between the electronic key 30 and the vehicle equipment 10 starts for execution of a smart keyless function, the electronic key 30 is short-distance wireless communication with respect to the security unit 60. When this communication is established, execution of a predetermined wireless communication process between the electronic key 30 and the in-vehicle device 10 is stopped. As described above, in the present embodiment, it is determined whether or not short-range wireless communication between the electronic key 30 and the security unit 60 is possible, triggered by wireless communication processing between the electronic key 30 and the vehicle-mounted device 10. Can be determined.

また、本実施形態では、セキュリティユニット60は、非接触タグ60aを用いて連続的又は断続的に所定の情報(タグID76)を含む無線信号(タグ識別信号)を送信し、電子キー30は、セキュリティユニット60から所定の情報を含む無線信号の受信に応答して、所定期間だけ所定の無線通信処理を実行しない。これにより、本実施形態では、セキュリティユニット60は所定の情報を含む無線信号を自発的に送信し、この無線信号を受信することにより、電子キー30はセキュリティユニット60が近傍に位置することを認識可能である。そして、本実施形態では、セキュリティユニット60が電子キー30の近傍に位置すると電子キー30は所定期間だけ、電子キー30と車載機10との間の所定の無線通信処理を実行しないので、この所定の無線通信処理が成立しなくなる。このように、本実施形態では、セキュリティユニット60の自発的な無線信号の送信により、電子キー30とセキュリティユニット60との間の近距離無線通信が可能な状況であるか否かを判定することができる。   In the present embodiment, the security unit 60 transmits a wireless signal (tag identification signal) including predetermined information (tag ID 76) continuously or intermittently using the non-contact tag 60a. In response to receiving a wireless signal including predetermined information from the security unit 60, the predetermined wireless communication process is not executed for a predetermined period. Thereby, in this embodiment, the security unit 60 spontaneously transmits a radio signal including predetermined information, and by receiving this radio signal, the electronic key 30 recognizes that the security unit 60 is located in the vicinity. Is possible. In this embodiment, when the security unit 60 is located in the vicinity of the electronic key 30, the electronic key 30 does not execute a predetermined wireless communication process between the electronic key 30 and the vehicle-mounted device 10 for a predetermined period. Wireless communication processing is not established. As described above, in the present embodiment, it is determined whether or not the short-range wireless communication between the electronic key 30 and the security unit 60 is possible by the spontaneous transmission of the wireless signal of the security unit 60. Can do.

1 電子キーシステム
2 車両
10 車載機
30 電子キー
50 ドアロック機構
52 エンジン制御システム
60 セキュリティユニット
60a 非接触タグ
DESCRIPTION OF SYMBOLS 1 Electronic key system 2 Vehicle 10 Car equipment 30 Electronic key 50 Door lock mechanism 52 Engine control system 60 Security unit 60a Non-contact tag

Claims (9)

車両に搭載される車載機と、この車載機と無線通信可能である電子キーと、を備え、前記車載機と前記電子キーとの間で所定の無線通信処理が成立した場合に、前記車載機により所定の処理が実行される電子キーシステムであって、
近距離無線通信用の非接触タグを有するセキュリティユニットを更に備え、
前記電子キーは、前記セキュリティユニットの前記非接触タグと無線通信するためのタグ通信部を備えると共に、このタグ通信部と前記セキュリティユニットの非接触タグとの間の近距離無線通信が可能な状況でない場合、前記車載機との間で前記所定の無線通信処理を実行するが、前記近距離無線通信が可能な状況である場合、前記車載機との間で前記所定の無線通信処理を実行しないように構成されている、電子キーシステム。
An in-vehicle device mounted on a vehicle, and an electronic key capable of wireless communication with the in-vehicle device, and when the predetermined wireless communication processing is established between the in-vehicle device and the electronic key, the in-vehicle device An electronic key system in which a predetermined process is executed by
A security unit having a contactless tag for near field communication;
The electronic key includes a tag communication unit for wirelessly communicating with the contactless tag of the security unit, and is capable of short-range wireless communication between the tag communication unit and the contactless tag of the security unit. If not, execute the predetermined wireless communication process with the in-vehicle device, but do not execute the predetermined wireless communication process with the in-vehicle device when the short-range wireless communication is possible An electronic key system that is configured as follows.
前記電子キーは、前記車載機との間の前記所定の無線通信処理の実行中に、前記セキュリティユニットの非接触タグとの間の近距離無線通信を試み、この近距離無線通信が実行可能であった場合、前記所定の無線通信処理の実行を中止する、請求項1に記載の電子キーシステム。   The electronic key is capable of performing short-range wireless communication with the non-contact tag of the security unit during execution of the predetermined wireless communication process with the in-vehicle device. The electronic key system according to claim 1, wherein if there is, the execution of the predetermined wireless communication process is stopped. 前記セキュリティユニットは、前記非接触タグを用いて連続的又は断続的に所定の情報を含む無線信号を送信し、
前記電子キーは、前記セキュリティユニットから前記所定の情報を含む無線信号を受信したことに応答して、所定期間だけ前記所定の無線通信処理を実行しない、請求項1に記載の電子キーシステム。
The security unit transmits a wireless signal including predetermined information continuously or intermittently using the contactless tag,
The electronic key system according to claim 1, wherein the electronic key does not execute the predetermined wireless communication process for a predetermined period in response to receiving a wireless signal including the predetermined information from the security unit.
車両に搭載される車載機とこの車載機と無線通信可能である電子キーとの間で所定の無線通信処理が成立した場合に、前記車載機により所定の処理が実行される電子キーシステムで用いられる、セキュリティユニットであって、
前記電子キーは、前記セキュリティユニットとの間の近距離無線通信が可能な状況でない場合、前記車載機との間で前記所定の無線通信処理を実行するが、前記近距離無線通信が可能な状況である場合、前記所定の無線通信処理を実行しないように構成されており、
前記セキュリティユニットは、前記電子キーと近距離無線通信するための非接触タグを備え、この非接触タグは、前記電子キーとの間の近距離無線通信のために所定の情報を含む無線信号を送信する、セキュリティユニット。
Used in an electronic key system in which predetermined processing is executed by the in-vehicle device when a predetermined wireless communication processing is established between the in-vehicle device mounted on the vehicle and the electronic key capable of wireless communication with the in-vehicle device. Security unit,
When the electronic key is not in a state where short-range wireless communication with the security unit is not possible, the electronic key executes the predetermined wireless communication processing with the in-vehicle device, but the short-range wireless communication is possible. Is configured not to execute the predetermined wireless communication process,
The security unit includes a contactless tag for short-range wireless communication with the electronic key, and the contactless tag receives a wireless signal including predetermined information for short-range wireless communication with the electronic key. The security unit to send.
前記非接触タグは、前記電子キーが送信する所定の信号の受信に応答して、前記所定の情報を含む無線信号を送信する、請求項4に記載のセキュリティユニット。   The security unit according to claim 4, wherein the non-contact tag transmits a radio signal including the predetermined information in response to reception of the predetermined signal transmitted by the electronic key. 前記非接触タグは、前記所定の情報を含む無線信号を連続的又は断続的に送信する、請求項4に記載のセキュリティユニット。   The security unit according to claim 4, wherein the contactless tag continuously or intermittently transmits a wireless signal including the predetermined information. 車両に搭載される車載機とこの車載機と無線通信可能である電子キーとの間で所定の無線通信処理が成立した場合に、前記車載機により所定の処理が実行される電子キーシステムで用いられる、電子キーであって、
前記電子キーは、前記車載機とは異なるセキュリティユニットと近距離無線通信するためのタグ通信部を備えると共に、このタグ通信部と前記セキュリティユニットとの間の近距離無線通信が可能な状況でない場合、前記車載機との間で前記所定の無線通信処理を実行するが、前記近距離無線通信が可能な状況である場合、前記車載機との間で前記所定の無線通信処理を実行しないように構成されている、電子キー。
Used in an electronic key system in which predetermined processing is executed by the in-vehicle device when a predetermined wireless communication processing is established between the in-vehicle device mounted on the vehicle and the electronic key capable of wireless communication with the in-vehicle device. An electronic key,
The electronic key includes a tag communication unit for short-range wireless communication with a security unit different from the vehicle-mounted device, and the short-range wireless communication between the tag communication unit and the security unit is not possible. The predetermined wireless communication processing is executed with the in-vehicle device, but when the short-range wireless communication is possible, the predetermined wireless communication processing is not executed with the in-vehicle device. Configured electronic key.
前記電子キーは、前記車載機との間の前記所定の無線通信処理の実行中に、前記セキュリティユニットとの間の近距離無線通信を試み、この近距離無線通信が実行可能であった場合、前記所定の無線通信処理の実行を中止する、請求項7に記載の電子キー。   The electronic key, when executing the short-range wireless communication with the security unit during the execution of the predetermined wireless communication processing with the in-vehicle device, if this short-range wireless communication is executable, The electronic key according to claim 7, wherein execution of the predetermined wireless communication process is stopped. 前記電子キーは、前記セキュリティユニットから所定の情報を含む無線信号を受信したことに応答して、所定期間だけ前記所定の無線通信処理を実行しない、請求項7に記載の電子キー。   The electronic key according to claim 7, wherein the electronic key does not execute the predetermined wireless communication process for a predetermined period in response to receiving a wireless signal including predetermined information from the security unit.
JP2016200990A 2016-10-12 2016-10-12 Electronic key system, security unit used in the system, and electronic key Active JP6253003B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016200990A JP6253003B1 (en) 2016-10-12 2016-10-12 Electronic key system, security unit used in the system, and electronic key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016200990A JP6253003B1 (en) 2016-10-12 2016-10-12 Electronic key system, security unit used in the system, and electronic key

Publications (2)

Publication Number Publication Date
JP6253003B1 true JP6253003B1 (en) 2017-12-27
JP2018062766A JP2018062766A (en) 2018-04-19

Family

ID=60860068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016200990A Active JP6253003B1 (en) 2016-10-12 2016-10-12 Electronic key system, security unit used in the system, and electronic key

Country Status (1)

Country Link
JP (1) JP6253003B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020172820A (en) * 2019-04-12 2020-10-22 株式会社東海理化電機製作所 Illicit communication prevention system and illicit communication prevention method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012082653A (en) * 2010-10-14 2012-04-26 Tokai Rika Co Ltd Electronic key system
JP2014163105A (en) * 2013-02-25 2014-09-08 Tokai Rika Co Ltd Communication system
JP2015031072A (en) * 2013-08-02 2015-02-16 株式会社東海理化電機製作所 Key use propriety switching system
JP2016155526A (en) * 2015-02-26 2016-09-01 株式会社日本自動車部品総合研究所 Vehicle anti-theft device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012082653A (en) * 2010-10-14 2012-04-26 Tokai Rika Co Ltd Electronic key system
JP2014163105A (en) * 2013-02-25 2014-09-08 Tokai Rika Co Ltd Communication system
JP2015031072A (en) * 2013-08-02 2015-02-16 株式会社東海理化電機製作所 Key use propriety switching system
JP2016155526A (en) * 2015-02-26 2016-09-01 株式会社日本自動車部品総合研究所 Vehicle anti-theft device

Also Published As

Publication number Publication date
JP2018062766A (en) 2018-04-19

Similar Documents

Publication Publication Date Title
US10137859B2 (en) Automotive security apparatus and associated methods
US10513244B2 (en) Vehicle control system and vehicle control device
JP5508239B2 (en) Electronic key system
JP6308181B2 (en) Vehicle control system
JP5508220B2 (en) Electronic key system
KR101667990B1 (en) Method and system for controlling a car using smart phone
JP2019012337A (en) Car sharing system and car sharing program
JP2016079600A (en) Vehicle verification system
JP2011231567A (en) Electronic key system
US20230137301A1 (en) An electronic key
WO2018070402A1 (en) Electronic key system
KR20130118008A (en) Security system for passive keyless entry smart key and method thereof
JP6253003B1 (en) Electronic key system, security unit used in the system, and electronic key
JP6347419B2 (en) Electronic key system
JP2014151846A (en) Power consumption reduction device for vehicle
JP4406189B2 (en) Engine start control system
JP2018071047A (en) Electronic key system and security unit and electronic key used in the system
JP2020100994A (en) On-vehicle device
JP6253004B1 (en) Electronic key system
JP6341471B2 (en) Electronic key system
JP2011256606A (en) Electronic key system
JP2009287275A (en) Electronic key and electronic key system
JP6341470B2 (en) Electronic key system
JP6284503B2 (en) In-vehicle device control system
JP2008273520A (en) Engine start controlling system

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20171106

R150 Certificate of patent or registration of utility model

Ref document number: 6253003

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171119