JP6995434B2 - Keyless entry system - Google Patents

Keyless entry system Download PDF

Info

Publication number
JP6995434B2
JP6995434B2 JP2017171301A JP2017171301A JP6995434B2 JP 6995434 B2 JP6995434 B2 JP 6995434B2 JP 2017171301 A JP2017171301 A JP 2017171301A JP 2017171301 A JP2017171301 A JP 2017171301A JP 6995434 B2 JP6995434 B2 JP 6995434B2
Authority
JP
Japan
Prior art keywords
vehicle
portable device
request signal
request
signal
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
JP2017171301A
Other languages
Japanese (ja)
Other versions
JP2019044535A (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.)
Marelli Corp
Original Assignee
Marelli 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 Marelli Corp filed Critical Marelli Corp
Priority to JP2017171301A priority Critical patent/JP6995434B2/en
Publication of JP2019044535A publication Critical patent/JP2019044535A/en
Application granted granted Critical
Publication of JP6995434B2 publication Critical patent/JP6995434B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)
  • Selective Calling Equipment (AREA)

Description

本発明は、キーレスエントリーシステムに関する。 The present invention relates to a keyless entry system.

キーレスエントリーシステムは、車載機と携帯機から構成される。キーレスエントリーシステムにおいて、車載機と携帯機が通信を行い、車両のドアを施錠および開錠、またはエンジンの始動等の操作を行う。 The keyless entry system consists of an in-vehicle device and a portable device. In the keyless entry system, the in-vehicle device and the portable device communicate with each other to lock and unlock the door of the vehicle, or to start the engine.

このようなキーレスエントリーシステムにおいて、例えばドアの開錠操作を行う場合、携帯機を所持した使用者が、ドアに設置されたリクエストスイッチを操作する。リクエストスイッチが操作されると、車載機は携帯機に対して到達距離を限定したLF(低周波)のリクエスト信号を送信する。リクエスト信号を受信した携帯機は、車載機にアンサー信号を送信する。車載機は、携帯機からアンサー信号を受信すると、ドアの開錠操作を行う。 In such a keyless entry system, for example, when the door is unlocked, the user who possesses the portable device operates the request switch installed on the door. When the request switch is operated, the on-board unit transmits an LF (low frequency) request signal with a limited reach to the portable device. The portable device that has received the request signal transmits an answer signal to the in-vehicle device. When the in-vehicle device receives the answer signal from the portable device, the in-vehicle device unlocks the door.

悪意を持った第三者が、中継器を用いてドアを不正に開錠する、いわゆるリレーアタックを試みることがある。第三者は、携帯機を所持する使用者が車両の遠方に居るときに、リクエストスイッチを操作する。リクエストスイッチの操作に応じて車載機はリクエスト信号を送信する。通常であれば、携帯機は車両の遠方にあるため、LF信号であるリクエスト信号を受信しない。ところが、携帯機と車両の間に設置された複数の中継器がリクエスト信号を中継するため、携帯機は遠方にあるにも関わらずリクエスト信号を受信する。携帯機がリクエスト信号に応じて送信するアンサー信号はRF(高周波)信号であるため、車載機に到達してドアが開錠される。これによって車両の側にいる第三者によって車両が盗難されるおそれがある A malicious third party may attempt a so-called relay attack to unlock the door illegally using a repeater. The third party operates the request switch when the user who owns the portable device is far away from the vehicle. The in-vehicle device transmits a request signal in response to the operation of the request switch. Normally, since the portable device is far from the vehicle, it does not receive the request signal, which is an LF signal. However, since a plurality of repeaters installed between the portable device and the vehicle relay the request signal, the portable device receives the request signal even though it is far away. Since the answer signal transmitted by the portable device in response to the request signal is an RF (radio frequency) signal, it reaches the in-vehicle device and the door is unlocked. This can lead to theft of the vehicle by a third party on the side of the vehicle.

リレーアタックへの対策として、例えば、車載機に異なる位置に設置した複数の送信アンテナを備えることが提案されている(例えば、特許文献1参照)。携帯機には、異なる軸線方向を向いた複数の受信アンテナを備える。車載機はリクエスト信号を各送信アンテナから出力する。携帯機は、各受信アンテナで受信したリクエスト信号の強度比を比較する。車載機の複数の送信アンテナは設置位置が異なるため、携帯機が受信するリクエスト信号の強度比も異なる。一方、中継器がリクエスト信号を中継して携帯機に送信した場合は、携帯機が受信するリクエスト信号の強度比は同じになる。携帯機は、リクエスト信号の強度比が同じである場合にはリレーアタックと判定して、アンサー信号を返信しない。 As a countermeasure against a relay attack, for example, it has been proposed to equip an in-vehicle device with a plurality of transmitting antennas installed at different positions (see, for example, Patent Document 1). The portable device is provided with a plurality of receiving antennas oriented in different axial directions. The on-board unit outputs a request signal from each transmitting antenna. The portable device compares the intensity ratio of the request signal received by each receiving antenna. Since the multiple transmitting antennas of the in-vehicle device have different installation positions, the strength ratio of the request signal received by the portable device also differs. On the other hand, when the repeater relays the request signal and transmits it to the portable device, the intensity ratio of the request signal received by the portable device is the same. If the intensity ratio of the request signal is the same, the portable device determines that it is a relay attack and does not return the answer signal.

特開2006-342545号公報Japanese Unexamined Patent Publication No. 2006-342545

しかしながら、車載機の送信アンテナと携帯機の受信アンテナの位置関係によっては、中継器が中継していない場合でも、リクエスト信号の強度比が同じになってしまう可能性もある。例えば、複数の送信アンテナから送信した各リクエスト信号の磁界の向きが、携帯機の受信アンテナの位置で平行に近くなってしまう場合には、異なる送信アンテナから送信したリクエスト信号であっても、強度比が同じとなってしまう可能性がある。また、例えば、各リクエスト信号の磁界の向きが受信アンテナを中心として線対称となる場合には、各リクエスト信号の位相は互いに逆になるが、検出される強度比は同じとなってしまう。このような場合には、携帯機が誤ってリレーアタックを判定してしまう可能性がある。 However, depending on the positional relationship between the transmitting antenna of the in-vehicle device and the receiving antenna of the portable device, the strength ratio of the request signal may be the same even when the repeater is not relaying. For example, if the direction of the magnetic field of each request signal transmitted from a plurality of transmitting antennas becomes close to parallel at the position of the receiving antenna of the portable device, the strength of the request signals transmitted from different transmitting antennas may be obtained. The ratio may be the same. Further, for example, when the direction of the magnetic field of each request signal is line-symmetrical with respect to the receiving antenna, the phases of the request signals are opposite to each other, but the detected intensity ratios are the same. In such a case, the portable device may erroneously determine the relay attack.

キーレスエントリーシステムにおいて、リレーアタックの判定の精度を高め、セキュリティとユーザの利便性を向上させることが求められている。 In a keyless entry system, it is required to improve the accuracy of relay attack determination and improve security and user convenience.

本発明は、車両に設けられリクエスト信号を送信する車載機と、前記リクエスト信号に応答してアンサー信号を送信する携帯機とを有し、前記車載機が前記アンサー信号に応じて車両の動作を制御するキーレスエントリーシステムであって、
前記車載機は、
車両にそれぞれ配置された複数の送信アンテナと、
前記携帯機に対して、前記複数の送信アンテナのそれぞれから第1のリクエスト信号を送信すると共に、前記複数の送信アンテナから同時に第2のリクエスト信号を送信させる車載機送信部を備え、
前記携帯機は、
異なる軸線方向を向いた複数の受信アンテナと、
前記複数の受信アンテナによって前記車載機から送信された前記第1および第2のリクエスト信号を受信する携帯機受信部と、を備え
前記車載機送信部は、車両に配置された複数のスイッチへの操作に応じて前記第1および第2のリクエスト信号を送信し、
前記車載機は、
操作されたスイッチに応じた前記携帯機の推定位置に基づいて、前記第2のリクエスト信号を互いに同位相または逆位相で送信するかを決定する決定部を備えるものとした。
The present invention has an in-vehicle device provided in a vehicle for transmitting a request signal and a portable device for transmitting an answer signal in response to the request signal, and the in-vehicle device operates the vehicle in response to the answer signal. It is a keyless entry system that controls
The in-vehicle device is
With multiple transmitting antennas located in each vehicle,
The portable device is provided with an on-board unit transmitter that transmits a first request signal from each of the plurality of transmitting antennas and simultaneously transmits a second request signal from the plurality of transmitting antennas.
The portable device is
With multiple receiving antennas pointing in different axes,
A portable device receiving unit that receives the first and second request signals transmitted from the vehicle-mounted device by the plurality of receiving antennas .
The on-board unit transmission unit transmits the first and second request signals in response to operations on a plurality of switches arranged in the vehicle.
The in-vehicle device is
It is provided with a determination unit for determining whether to transmit the second request signal in the same phase or the opposite phase to each other based on the estimated position of the portable device according to the operated switch .

本発明によれば、キーレスエントリーシステムにおいて、リレーアタックの判定の精度を高め、セキュリティとユーザの利便性を向上させることができる。 According to the present invention, in the keyless entry system, the accuracy of the determination of the relay attack can be improved, and the security and the convenience of the user can be improved.

本発明の実施の形態に係るキーレスエントリーシステムの概要図である。It is a schematic diagram of the keyless entry system which concerns on embodiment of this invention. 車載機の構成を示すブロック図である。It is a block diagram which shows the structure of an in-vehicle device. 実施の形態のリクエスト信号の送信態様を示す図である。It is a figure which shows the transmission mode of the request signal of embodiment. リクエスト信号の構成を示す図である。It is a figure which shows the structure of the request signal. 携帯機の構成を示すブロック図である。It is a block diagram which shows the structure of a portable device. 送信アンテナから送信された各リクエスト信号Sの強度比の一例を示す図である。It is a figure which shows an example of the intensity ratio of each request signal S transmitted from a transmitting antenna. リレーアタックの仕組みを説明する図である。It is a figure explaining the mechanism of a relay attack. 車載機の処理を示すフローチャートである。It is a flowchart which shows the processing of an in-vehicle device. 携帯機の処理を示すフローチャートである。It is a flowchart which shows the processing of a portable device. 変形例1のリクエスト信号の送信態様を示す図である。It is a figure which shows the transmission mode of the request signal of the modification 1. FIG. 変形例2に係る車載機のメモリに記憶された送信方法情報の一例を示す図である。It is a figure which shows an example of the transmission method information stored in the memory of the vehicle-mounted device which concerns on modification 2. FIG. 変形例2に係る車載機の処理を示すフローチャートである。It is a flowchart which shows the processing of the in-vehicle device which concerns on modification 2. 変形例3に係る車載機の処理を示すフローチャートである。It is a flowchart which shows the processing of the in-vehicle device which concerns on modification 3. 変形例3に係る携帯機の処理を示すフローチャートである。It is a flowchart which shows the processing of the portable device which concerns on modification 3. 変形例4に係る車載機のメモリに記憶された送信方法情報の一例を示す図である。It is a figure which shows an example of the transmission method information stored in the memory of the vehicle-mounted device which concerns on modification 4. 変形例5に係る車載機の処理を示すフローチャートである。It is a flowchart which shows the processing of the in-vehicle device which concerns on modification 5. 変形例5に係る携帯機の処理を示すフローチャートである。It is a flowchart which shows the processing of the portable device which concerns on modification 5. 変形例6に係る車載機の処理を示すフローチャートである。It is a flowchart which shows the processing of the in-vehicle device which concerns on modification 6. 変形例6に係る携帯機の処理を説明するフローチャートである。It is a flowchart explaining the processing of the portable device which concerns on modification 6.

以下、本発明の実施の形態について、図面を参照して説明する。
図1は、本発明の実施の形態に係るキーレスエントリーシステムの概要図である。
図1に示すように、キーレスエントリーシステムは、車両Vに設けられた車載機1と、車両Vの使用者が所持する携帯機3とを有する。車載機1と携帯機3は、無線通信を行って、車両Vと携帯機3の対応関係の認証を行う。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a schematic diagram of a keyless entry system according to an embodiment of the present invention.
As shown in FIG. 1, the keyless entry system includes an in-vehicle device 1 provided in the vehicle V and a portable device 3 owned by a user of the vehicle V. The vehicle-mounted device 1 and the portable device 3 perform wireless communication to authenticate the correspondence between the vehicle V and the portable device 3.

車載機1は携帯機3にリクエスト信号Sを送信し、携帯機3はリクエスト信号Sに応答するアンサー信号を送信する。車載機1は、アンサー信号を用いて車両Vと携帯機3の対応関係の認証を行い、ドアロックの施錠または開錠の制御を行う。車載機1は、リクエスト信号Sを、例えば125-135KHzのLF信号として送信する。携帯機3は、例えばUHF帯のRF信号をアンサー信号として送信する。なお、キーレスエントリーシステムの制御対象としては、ドアロックのほかにエンジン始動やステアリングロック等もあるが、詳細な説明は省略する。実施の形態ではドアロックの制御について、特に開錠の制御について説明する。 The vehicle-mounted device 1 transmits a request signal S to the portable device 3, and the portable device 3 transmits an answer signal in response to the request signal S. The on-board unit 1 authenticates the correspondence between the vehicle V and the portable device 3 using the answer signal, and controls the locking or unlocking of the door lock. The vehicle-mounted device 1 transmits the request signal S as, for example, an LF signal of 125-135 KHz. The portable device 3 transmits, for example, an RF signal in the UHF band as an answer signal. In addition to the door lock, the control target of the keyless entry system includes engine start and steering lock, but detailed description thereof will be omitted. In the embodiment, the control of the door lock, particularly the control of the unlocking, will be described.

図2は車載機1の構成を示すブロック図である。
図2に示すように、車載機1は、リクエストスイッチ5、キーレスコントローラ10、送信アンテナ7、受信アンテナ8およびドアロックアクチュエータ9を備える。
FIG. 2 is a block diagram showing the configuration of the vehicle-mounted device 1.
As shown in FIG. 2, the vehicle-mounted device 1 includes a request switch 5, a keyless controller 10, a transmitting antenna 7, a receiving antenna 8, and a door lock actuator 9.

リクエストスイッチ5は車体のドアに設置され、使用者のドアの開錠要求を受け付ける。リクエストスイッチ5は、車体の複数のドアのそれぞれに設置し、各ドアに対する開錠要求を受け付けるようにしても良い。例えば、図1に示すように、リクエストスイッチ5は、DRドアリクエストスイッチ(DRSW)5a、ASドアリクエストスイッチ(ASSW)5b、およびBKドアリクエストスイッチ(BKSW)5cを備える。DRSW5aは運転席ドアに設置する。ASSW5bは助手席ドアに設置する。BKSW5cはバックドアに設置する。リクエストスイッチ5は、例えばスイッチボタンとすることができる。スイッチボタンは、使用者がプッシュするまたは触れる等の操作を行うことによって、開錠要求を受け付ける。 The request switch 5 is installed on the door of the vehicle body and receives a user's door unlock request. The request switch 5 may be installed on each of a plurality of doors of the vehicle body to receive an unlocking request for each door. For example, as shown in FIG. 1, the request switch 5 includes a DR door request switch (DRSW) 5a, an AS door request switch (ASSW) 5b, and a BK door request switch (BKSW) 5c. The DRSW5a is installed on the driver's door. ASSW5b is installed on the passenger seat door. BKSW5c is installed on the back door. The request switch 5 can be, for example, a switch button. The switch button accepts an unlock request by an operation such as pushing or touching by the user.

送信アンテナ7はリクエストスイッチ5が操作されると、リクエスト信号SをLF信号として送信する。車載機1は、例えば、送信アンテナ7として、異なる位置に設置された送信アンテナ7aと送信アンテナ7bを備える。送信アンテナ7aは、例えば、車両V後方のバックドアの近傍に設置し、送信アンテナ7bは、例えば、車両V前方の助手席ドアの近傍に設置する。なお、送信アンテナ7の設置位置および設置数はこの例に限られない。送信アンテナ7は他にも、運転席ドアの近傍や、後部座席付近、ラゲッジルーム内等に設置しても良い。また、ここでは送信アンテナ7a、7bを車両の異なる位置に設置する例を説明しているが、複数の送信アンテナ7を、同じ位置に配置方向(アンテナの向き)が異なるように配置しても良い。 When the request switch 5 is operated, the transmitting antenna 7 transmits the request signal S as an LF signal. The vehicle-mounted device 1 includes, for example, a transmitting antenna 7a and a transmitting antenna 7b installed at different positions as the transmitting antenna 7. The transmitting antenna 7a is installed, for example, in the vicinity of the back door behind the vehicle V, and the transmitting antenna 7b is installed, for example, in the vicinity of the passenger seat door in front of the vehicle V. The installation position and number of transmission antennas 7 are not limited to this example. The transmitting antenna 7 may also be installed near the driver's door, near the rear seat, in the luggage room, or the like. Further, although an example in which the transmitting antennas 7a and 7b are installed at different positions of the vehicle is described here, even if a plurality of transmitting antennas 7 are arranged at the same position so that the arrangement directions (antenna directions) are different. good.

受信アンテナ8は、携帯機3からアンサー信号を受信する。アンサー信号は、携帯機3がリクエスト信号Sへの返信として送信するものである。ドアロックアクチュエータ9は、運転席ドア、助手席ドアおよびバックドアを開錠および施錠する。 The receiving antenna 8 receives the answer signal from the portable device 3. The answer signal is transmitted by the portable device 3 as a reply to the request signal S. The door lock actuator 9 unlocks and locks the driver's door, the passenger's door, and the back door.

キーレスコントローラ10は、リクエストスイッチ5、送信アンテナ7、受信アンテナ8およびドアロックアクチュエータ9のそれぞれに接続する。キーレスコントローラ10は、リクエストスイッチ5の操作に応じてリクエスト信号Sを生成し、送信アンテナ7から携帯機3に送信させる。キーレスコントローラ10は、受信アンテナ8を介して、リクエスト信号Sに対するアンサー信号を受信して認証を行う。キーレスコントローラ10は、アンサー信号の認証結果に応じて、ドアロックアクチュエータ9の駆動を制御して、ドアの開錠を行う。 The keyless controller 10 is connected to each of the request switch 5, the transmitting antenna 7, the receiving antenna 8, and the door lock actuator 9. The keyless controller 10 generates a request signal S in response to the operation of the request switch 5, and causes the transmission antenna 7 to transmit the request signal S to the portable device 3. The keyless controller 10 receives an answer signal for the request signal S via the receiving antenna 8 and performs authentication. The keyless controller 10 controls the drive of the door lock actuator 9 according to the authentication result of the answer signal to unlock the door.

キーレスコントローラ10は、CPU11、LF送信部13、RF受信部14、メモリ12およびアクチュエータ駆動回路15を備える。LF送信部13は送信回路等から構成され、送信アンテナ7に接続し、CPU11で生成したリクエスト信号SをLF電波として送信アンテナ7から送信させる。RF受信部14は受信回路等から構成され、受信アンテナ8に接続し、アンサー信号を受信させる。アクチュエータ駆動回路15は、CPU11の入力に従って、ドアロックアクチュエータ9を駆動させる回路である。 The keyless controller 10 includes a CPU 11, an LF transmission unit 13, an RF reception unit 14, a memory 12, and an actuator drive circuit 15. The LF transmission unit 13 is composed of a transmission circuit or the like, is connected to the transmission antenna 7, and causes the request signal S generated by the CPU 11 to be transmitted from the transmission antenna 7 as an LF radio wave. The RF receiving unit 14 is composed of a receiving circuit or the like, is connected to a receiving antenna 8, and receives an answer signal. The actuator drive circuit 15 is a circuit that drives the door lock actuator 9 according to the input of the CPU 11.

メモリ12は、キーレスコントローラ10の制御プログラムや、キーレスコントローラ10の処理に必要な情報を格納する。メモリ12はまた、CPU11の処理において生成される諸データを一時的に記憶する。メモリ12は、一例として、携帯機3のID51を格納する。 The memory 12 stores the control program of the keyless controller 10 and the information necessary for the processing of the keyless controller 10. The memory 12 also temporarily stores various data generated in the processing of the CPU 11. The memory 12 stores the ID 51 of the portable device 3 as an example.

図2に示すように、CPU11は、制御部20、スイッチ判別部21、信号生成部22、および暗号処理部23を備える。制御部20は、不図示のタイマを備える。
特に記載しないが、CPU11の各部は、処理結果を一時的にメモリ12に記憶させ、必要なデータや処理対象をメモリ12から読み出し、処理終了後に一時的に記憶させたデータをリセットする。
As shown in FIG. 2, the CPU 11 includes a control unit 20, a switch discrimination unit 21, a signal generation unit 22, and an encryption processing unit 23. The control unit 20 includes a timer (not shown).
Although not particularly described, each part of the CPU 11 temporarily stores the processing result in the memory 12, reads necessary data and the processing target from the memory 12, and resets the temporarily stored data after the processing is completed.

スイッチ判別部21はリクエストスイッチ5a、5b、5cのいずれが操作されたかを判別し、判別結果を制御部20に入力する。
制御部20はCPU11全体の制御を行う。制御部20は、リクエスト信号Sの送信に関して、乱数などの暗号Cを生成する。制御部20は、生成した暗号Cを処理指令と共に暗号処理部23に入力する。制御部20は、また、生成した暗号Cを信号生成指令と共に信号生成部22に入力する。
The switch discrimination unit 21 determines which of the request switches 5a, 5b, and 5c has been operated, and inputs the discrimination result to the control unit 20.
The control unit 20 controls the entire CPU 11. The control unit 20 generates an encryption C such as a random number with respect to the transmission of the request signal S. The control unit 20 inputs the generated encryption C together with the processing command to the encryption processing unit 23. The control unit 20 also inputs the generated cipher C to the signal generation unit 22 together with the signal generation command.

暗号処理部23は、制御部20の処理指令に従って、制御部20が生成した暗号Cを、所定の計算プロセスで計算処理する。所定の計算プロセスは、メモリ12に記憶させた携帯機3のID51を組み込んでいる。暗号処理部23は、処理結果を車載機側処理結果としてメモリ12に記憶させる。この車載機側処理結果は、携帯機3からアンサー信号を受信したときに使用する。 The encryption processing unit 23 calculates and processes the encryption C generated by the control unit 20 in a predetermined calculation process according to the processing command of the control unit 20. The predetermined calculation process incorporates the ID 51 of the portable device 3 stored in the memory 12. The encryption processing unit 23 stores the processing result in the memory 12 as the processing result on the vehicle-mounted device side. This in-vehicle device side processing result is used when the answer signal is received from the portable device 3.

信号生成部22は、制御部20の信号生成指令に従って、リクエスト信号Sを生成し、LF送信部13に出力する。信号生成部22は、LF送信部13を制御して、送信アンテナ7aおよび7bからリクエスト信号Sを出力させる。 The signal generation unit 22 generates the request signal S according to the signal generation command of the control unit 20, and outputs the request signal S to the LF transmission unit 13. The signal generation unit 22 controls the LF transmission unit 13 to output the request signal S from the transmission antennas 7a and 7b.

図3は、実施の形態のリクエスト信号の送信態様の一例を示す図である。図4は、リクエスト信号の構成を示す図である。
図3に示すように、信号生成部22は、送信アンテナ7aおよび7bから、それぞれリクエスト信号Sを2回送信させるように、LF送信部13を制御する。LF送信部13は、リクエスト信号Sを電磁波であるLF送信波に変換して送信アンテナ7aおよび7bに出力する。送信アンテナ7aおよび7bがそれぞれの周囲に磁界を形成し、携帯機3が形成された磁界を検出することで、車載機1から携帯機3にリクエスト信号Sが送信される。図3では、送信アンテナ7aおよび7bが形成する磁界のうち携帯機3によって検出される磁界を、各リクエスト信号Sのイメージとして示している。
FIG. 3 is a diagram showing an example of a mode of transmitting a request signal according to the embodiment. FIG. 4 is a diagram showing a configuration of a request signal.
As shown in FIG. 3, the signal generation unit 22 controls the LF transmission unit 13 so that the request signal S is transmitted twice from the transmission antennas 7a and 7b, respectively. The LF transmission unit 13 converts the request signal S into an LF transmission wave which is an electromagnetic wave and outputs the request signal S to the transmission antennas 7a and 7b. The transmission antennas 7a and 7b form a magnetic field around each of them, and the portable device 3 detects the formed magnetic field, so that the request signal S is transmitted from the vehicle-mounted device 1 to the portable device 3. In FIG. 3, among the magnetic fields formed by the transmitting antennas 7a and 7b, the magnetic field detected by the portable device 3 is shown as an image of each request signal S.

送信アンテナ7aおよび7bから1回目に送信するリクエスト信号を「第1のリクエスト信号S1a、S1b」とする。送信アンテナ7aおよび7bから2回目に送信するリクエスト信号を「第2のリクエスト信号S2a、S2b」とする。LF送信部13は、第1のリクエスト信号S1a、S1bは、それぞれの送信アンテナ7aおよび7bから順番に送信する。図3では、送信アンテナ7aが先に送信する例を図示しているが、送信アンテナ7bが先に送信しても良い。また、送信アンテナ7aからの送信と送信アンテナ7bからの送信の間に、時間間隔を設けても良く、あるいは一方の送信が完了した後に、時間間隔を設けず直ぐに他方の送信を行うようにしても良い。 The request signal transmitted for the first time from the transmission antennas 7a and 7b is referred to as "first request signal S1a, S1b". The request signal transmitted from the transmitting antennas 7a and 7b for the second time is referred to as "second request signal S2a, S2b". The LF transmission unit 13 transmits the first request signals S1a and S1b in order from the respective transmission antennas 7a and 7b. Although FIG. 3 illustrates an example in which the transmitting antenna 7a transmits first, the transmitting antenna 7b may transmit first. Further, a time interval may be provided between the transmission from the transmission antenna 7a and the transmission from the transmission antenna 7b, or after the transmission of one is completed, the transmission of the other may be performed immediately without the time interval. Is also good.

LF送信部13は、第1のリクエスト信号S1a、S1bを送信した後に、第2のリクエスト信号S2a、S2bを、送信アンテナ7aおよび7bから同時に送信する。LF送信部13は、また、送信アンテナ7aから送信するリクエスト信号S2aと、送信アンテナ7bから送信するリクエスト信号S2bとが逆位相になるように送信を行う。 After transmitting the first request signals S1a and S1b, the LF transmission unit 13 simultaneously transmits the second request signals S2a and S2b from the transmission antennas 7a and 7b. The LF transmission unit 13 also transmits so that the request signal S2a transmitted from the transmission antenna 7a and the request signal S2b transmitted from the transmission antenna 7b are in opposite phase.

図4に示すように、始めに送信する送信アンテナ7aからの第1のリクエスト信号S1aは、ウエイクアップ信号、データ信号およびバースト信号を含む。データ信号は、たとえば、第1のリクエスト信号S1a、S1bおよび第2のリクエスト信号S2a、S2b全ての送信が完了する時間(送信完了時間)T1と暗号Cとを含む。バースト信号は、携帯機3で受信強度を測定するための信号である。2番目以降に送信される、送信アンテナ7bからの第1のリクエスト信号S1bと、送信アンテナ7a、7bが同時に送信する第2のリクエスト信号S2a、S2bとは、バースト信号のみを含む。 As shown in FIG. 4, the first request signal S1a from the transmission antenna 7a transmitted first includes a wake-up signal, a data signal, and a burst signal. The data signal includes, for example, a time (transmission completion time) T1 and encryption C in which transmission of all the first request signals S1a and S1b and the second request signals S2a and S2b are completed. The burst signal is a signal for measuring the reception strength with the portable device 3. The first request signal S1b transmitted from the second and subsequent transmission antennas 7b and the second request signals S2a and S2b simultaneously transmitted by the transmission antennas 7a and 7b include only burst signals.

制御部20は、携帯機3からのアンサー信号の受信に関して、アンサー信号の認証を行う。詳細は後述するが、アンサー信号は、リクエスト信号Sが含む暗号Cの、携帯機3での処理結果(以降、「携帯機側処理結果」という)を含む。制御部20は、携帯機側処理結果を、メモリ12に記憶させた車載機側処理結果と照合する。携帯機3は車載機1の暗号処理部23と同じ計算プロセスで計算処理を行っているため、アンサー信号が対応する携帯機3から送信されたものであれば、処理結果は同一となる。携帯機側処理結果と車載機側処理結果が同一であれば、制御部20はアンサー信号が対応する携帯機3からのものである旨を認証する。制御部20はアンサー信号を認証すると、駆動指令をアクチュエータ駆動回路15に出力する。アクチュエータ駆動回路15はドアロックアクチュエータ9を駆動させてドアを開錠する。 The control unit 20 authenticates the answer signal with respect to the reception of the answer signal from the portable device 3. Although the details will be described later, the answer signal includes the processing result of the encryption C included in the request signal S in the portable device 3 (hereinafter referred to as “portable device side processing result”). The control unit 20 collates the processing result on the portable device side with the processing result on the vehicle-mounted device side stored in the memory 12. Since the portable device 3 performs the calculation process by the same calculation process as the encryption processing unit 23 of the vehicle-mounted device 1, if the answer signal is transmitted from the corresponding portable device 3, the processing result will be the same. If the processing result on the portable device side and the processing result on the vehicle-mounted device side are the same, the control unit 20 authenticates that the answer signal is from the corresponding portable device 3. When the control unit 20 authenticates the answer signal, the control unit 20 outputs a drive command to the actuator drive circuit 15. The actuator drive circuit 15 drives the door lock actuator 9 to unlock the door.

図5は携帯機3の構成を示すブロック図である。
携帯機3は、リモートコントローラ30、受信アンテナ32および送信アンテナ33を備えている。
FIG. 5 is a block diagram showing the configuration of the portable device 3.
The portable device 3 includes a remote controller 30, a receiving antenna 32, and a transmitting antenna 33.

受信アンテナ32は、車載機1が送信するリクエスト信号Sを受信し、送信アンテナ33は、アンサー信号をRF信号として送信する。受信アンテナ32は、いわゆる3軸アンテナであり、3つの受信アンテナ32a、32b、32cを備える。受信アンテナ32a、32b、32cは、それぞれ、x軸、y軸およびz軸と、異なる軸線方向(図1参照)を向くように配置する。受信アンテナ32a、32b、32cは、LF送信波であるリクエスト信号Sの磁界を検出することで、リクエスト信号Sを受信する。受信アンテナ32a、32b、32cはそれぞれ異なる軸線方向を向くように配置されているため、それぞれが検出する磁界成分は異なったものとなる。 The receiving antenna 32 receives the request signal S transmitted by the vehicle-mounted device 1, and the transmitting antenna 33 transmits the answer signal as an RF signal. The receiving antenna 32 is a so-called 3-axis antenna, and includes three receiving antennas 32a, 32b, and 32c. The receiving antennas 32a, 32b, and 32c are arranged so as to face different axis directions (see FIG. 1) from the x-axis, y-axis, and z-axis, respectively. The receiving antennas 32a, 32b, 32c receive the request signal S by detecting the magnetic field of the request signal S which is the LF transmission wave. Since the receiving antennas 32a, 32b, and 32c are arranged so as to face different axial directions, the magnetic field components detected by each are different.

前記したように、第1のリクエスト信号S1a、S1bは、それぞれ順番に送信されるため、受信アンテナ32もそれぞれの信号を順番に受信する。受信アンテナ32a、32b、32cは、第1のリクエスト信号S1a、S1bの磁界の各軸の成分を検出する(図3参照)。一方、第2のリクエスト信号S2a、S2bは同時に送信されるため、受信アンテナ32も同時に受信する。そのため、受信アンテナ32a、32b、32cは、第2のリクエスト信号S2a、S2bの合成磁界の各軸の成分を検出する(図3参照)。 As described above, since the first request signals S1a and S1b are transmitted in order, the receiving antenna 32 also receives the respective signals in order. The receiving antennas 32a, 32b, 32c detect the components of each axis of the magnetic field of the first request signals S1a, S1b (see FIG. 3). On the other hand, since the second request signals S2a and S2b are transmitted at the same time, the receiving antenna 32 also receives them at the same time. Therefore, the receiving antennas 32a, 32b, and 32c detect the components of each axis of the combined magnetic field of the second request signals S2a and S2b (see FIG. 3).

リモートコントローラ30は、受信アンテナ32を介して受信したリクエスト信号Sに対して後述する処理を行い、アンサー信号を生成する。リモートコントローラ30は、生成したアンサー信号を送信アンテナ33から車載機1に送信させる。 The remote controller 30 performs the processing described later with respect to the request signal S received via the receiving antenna 32, and generates an answer signal. The remote controller 30 causes the vehicle-mounted device 1 to transmit the generated answer signal from the transmission antenna 33.

リモートコントローラ30は、CPU35、LF受信部37、強度検出部38、RF送信部39、およびメモリ36を備える。 The remote controller 30 includes a CPU 35, an LF receiving unit 37, an intensity detection unit 38, an RF transmitting unit 39, and a memory 36.

LF受信部37は、受信回路等から構成され、受信アンテナ32に接続して、車載機1が送信するリクエスト信号Sを順次受信する。 The LF receiving unit 37 is composed of a receiving circuit or the like, is connected to the receiving antenna 32, and sequentially receives the request signal S transmitted by the vehicle-mounted device 1.

強度検出部38は、LF受信部37が受信したリクエスト信号Sについて、それぞれが含むバースト信号の受信強度を検出する。受信強度とは、受信アンテナ32a、32b、32cが検出するリクエスト信号Sの磁界成分の各軸の強度である。強度検出部38は、順番に第1のリクエスト信号S1a、S1bについては、それぞれの磁界の受信強度を検出する。強度検出部38は、同時に受信する第2のリクエスト信号S2a、S2bについては、2つの信号の合成磁界の受信強度を検出する。強度検出部38は、検出した各信号の受信強度をメモリ36に格納する。 The intensity detection unit 38 detects the reception intensity of the burst signal included in each of the request signals S received by the LF reception unit 37. The reception strength is the strength of each axis of the magnetic field component of the request signal S detected by the reception antennas 32a, 32b, and 32c. The intensity detection unit 38 sequentially detects the reception intensity of each magnetic field for the first request signals S1a and S1b. The intensity detection unit 38 detects the reception intensity of the combined magnetic field of the two signals for the second request signals S2a and S2b that are simultaneously received. The intensity detection unit 38 stores the reception intensity of each detected signal in the memory 36.

RF送信部39は、アンサー信号をRF信号として送信アンテナ33から出力させる。メモリ36は、リモートコントローラ30の制御プログラムや、リモートコントローラ30の処理に必要な情報を格納する。メモリ36は、一例として、携帯機3のID51を格納する。 The RF transmission unit 39 outputs the answer signal as an RF signal from the transmission antenna 33. The memory 36 stores the control program of the remote controller 30 and the information necessary for the processing of the remote controller 30. The memory 36 stores the ID 51 of the portable device 3 as an example.

CPU35は、制御部40、暗号処理部41、および信号生成部42を備える。制御部40は、不図示のタイマを備える。 The CPU 35 includes a control unit 40, an encryption processing unit 41, and a signal generation unit 42. The control unit 40 includes a timer (not shown).

車載機1と同様に、CPU35の各部は、処理結果を一時的にメモリ36に記憶させ、必要なデータや処理対象をメモリ36から読み出し、処理終了後に一時的に記憶させたデータをリセットする。例えば、前記したようにメモリ36には強度検出部38が検出した受信強度が格納されるが、受信したリクエスト信号Sに応答するアンサー信号の送信が完了すると、CPU35は受信強度をメモリ36から消去する。 Similar to the in-vehicle device 1, each part of the CPU 35 temporarily stores the processing result in the memory 36, reads necessary data and the processing target from the memory 36, and resets the temporarily stored data after the processing is completed. For example, as described above, the reception strength detected by the strength detection unit 38 is stored in the memory 36, but when the transmission of the answer signal in response to the received request signal S is completed, the CPU 35 erases the reception strength from the memory 36. do.

なお、詳細な説明は省略するが、携帯機3はコントロールスイッチを備えるようにしても良い。使用者がコントロールスイッチを操作することで、遠隔から車両のドアを施錠または開錠させたり、エンジンを始動させたりすることができる。 Although detailed description is omitted, the portable device 3 may be provided with a control switch. By operating the control switch, the user can remotely lock or unlock the vehicle door or start the engine.

制御部40は、CPU35全体の制御を行う。制御部40は、リクエスト信号Sの受信に関して、判定部としてリレーアタックの判定を行う。制御部40は、具体的には、強度検出部38が検出した第1のリクエスト信号S1a、S1bのそれぞれの磁界の受信強度と、第2のリクエスト信号S2a、S2bの合成磁界の受信強度を用いて、各軸の受信強度比(以下、単に「強度比」ともいう)を算出する。制御部40は、算出した強度比を比較して、リレーアタックの判定を行う。 The control unit 40 controls the entire CPU 35. The control unit 40 determines the relay attack as a determination unit regarding the reception of the request signal S. Specifically, the control unit 40 uses the reception strength of the magnetic fields of the first request signals S1a and S1b detected by the strength detection unit 38 and the reception strength of the combined magnetic fields of the second request signals S2a and S2b. Then, the reception intensity ratio of each axis (hereinafter, also simply referred to as “intensity ratio”) is calculated. The control unit 40 compares the calculated intensity ratios to determine the relay attack.

図6は、送信アンテナ7a、7bから送信されたそれぞれ送信されたリクエスト信号Sの強度比の一例を示す図である。
前記したように、リクエスト信号Sの送信元である送信アンテナ7a、7bは、車両の異なる位置に設置され、それぞれの携帯機3との距離と方向が異なる。そのため、図6に示すように、送信アンテナ7a、7bからのそれぞれのリクエスト信号Sについて、携帯機3の受信アンテナ32a、32b、32cが検出する各軸の磁界成分は異なり、結果としてそれぞれの強度比も、異なったものとなる。
FIG. 6 is a diagram showing an example of the intensity ratio of the request signals S transmitted from the transmission antennas 7a and 7b, respectively.
As described above, the transmitting antennas 7a and 7b, which are the sources of the request signal S, are installed at different positions of the vehicle, and the distances and directions to the respective portable devices 3 are different. Therefore, as shown in FIG. 6, the magnetic field components of the respective axes detected by the receiving antennas 32a, 32b, 32c of the portable device 3 are different for each request signal S from the transmitting antennas 7a and 7b, and as a result, the respective intensities are obtained. The ratio will also be different.

一方、リクエスト信号Sがリレーアタックを行う中継器により中継された場合には、全てのリクエスト信号Sの強度比は同じとなる可能性が高い。
図7は、リレーアタックの仕組みを説明する図である。
図7に示すように、車両Vのドアの不正開錠を試みる第三者は、携帯機3を所持する使用者が車両Vの遠方に居るときに、DRSW5aを操作する。DRSW5aの操作に応じて車載機1はリクエスト信号Sを送信する。携帯機3と車両Vの間に設置され、それぞれにアンテナを備えた複数の中継器が、このリクエスト信号Sを中継して、遠方にある携帯機3に受信させる。
On the other hand, when the request signal S is relayed by a repeater that performs a relay attack, there is a high possibility that the intensity ratios of all the request signals S will be the same.
FIG. 7 is a diagram illustrating the mechanism of the relay attack.
As shown in FIG. 7, a third party who attempts to unlock the door of the vehicle V illegally operates the DRSW 5a when the user who possesses the portable device 3 is far away from the vehicle V. The vehicle-mounted device 1 transmits the request signal S in response to the operation of the DRSW 5a. A plurality of repeaters installed between the portable device 3 and the vehicle V, each equipped with an antenna, relay the request signal S and cause the portable device 3 at a distance to receive the request signal S.

このような中継器によって送信されたリクエスト信号Sに携帯機3がアンサー信号を返信すれば、ドアが不正開錠されてしまう。それを防止するために、車載機1は異なる位置に設置された送信アンテナ7a、7bからリクエスト信号Sを送信し、携帯機3は各リクエスト信号Sの強度比を比較する処理を行う。車載機1の異なる位置に設置された送信アンテナ7a、7bが送信したリクエスト信号Sを、携帯機3が中継器を介することなく適切に受信した場合は、各リクエスト信号Sの強度が異なる。一方、各リクエスト信号Sを中継器が中継した場合、携帯機3は中継の単一の送信アンテナから各リクエスト信号Sを受信する。そのため、送信元が異なる送信アンテナ7a、7bであっても、携帯機3が受信するリクエスト信号Sの強度比は同じとなる。強度比が同じであった場合には、携帯機3は車載機1にアンサー信号を返信しないようにすることで、リレーアタックを受けることを防止する。 If the portable device 3 returns an answer signal to the request signal S transmitted by such a repeater, the door will be unlocked illegally. In order to prevent this, the vehicle-mounted device 1 transmits the request signal S from the transmitting antennas 7a and 7b installed at different positions, and the portable device 3 performs a process of comparing the intensity ratio of each request signal S. When the portable device 3 appropriately receives the request signals S transmitted by the transmission antennas 7a and 7b installed at different positions of the vehicle-mounted device 1 without passing through the repeater, the strength of each request signal S is different. On the other hand, when the repeater relays each request signal S, the portable device 3 receives each request signal S from a single transmitting antenna of the relay. Therefore, even if the transmitting antennas 7a and 7b have different transmission sources, the intensity ratio of the request signal S received by the portable device 3 is the same. When the intensity ratios are the same, the portable device 3 prevents the vehicle-mounted device 3 from receiving a relay attack by not returning the answer signal to the vehicle-mounted device 1.

なお、中継器の同じ送信アンテナが各リクエスト信号Sを送信したとしても、条件によって携帯機3での強度比に微差が生じることがある。そのため、強度比が完全に一致する場合のみを「同じ」と判定するのではなく、微差と判断できる一定の範囲内の場合は「同じ」と判定するようにしても良い。 Even if the same transmitting antenna of the repeater transmits each request signal S, there may be a slight difference in the intensity ratio in the portable device 3 depending on the conditions. Therefore, instead of determining "same" only when the intensity ratios completely match, it may be determined that they are "same" when they are within a certain range that can be determined to be a slight difference.

ただし、車載機1の各送信アンテナ7a、7bと携帯機3の受信アンテナ32a、32b、32cの位置関係によっては、中継器によって中継されていなくても、リクエスト信号Sの強度比が同じになってしまうケースがある。
図3に、そのケースの一例を示している。送信アンテナ7a、7bそれぞれが送信した第1のリクエスト信号S1a、S1bの磁界が、携帯機3の受信アンテナ32a、32b、32cにおいてほぼ平行になっている。第1のリクエスト信号S1a、S1bの磁界がほぼ平行になると、それぞれの強度比もほぼ同じになってしまう。このような場合には、第1のリクエスト信号S1a、S1bの強度比のみを比較した場合には、信号が適正なものであるにも関わらず、リレーアタックと判定されてしまう可能性がある。
However, depending on the positional relationship between the transmitting antennas 7a and 7b of the vehicle-mounted device 1 and the receiving antennas 32a, 32b and 32c of the portable device 3, the intensity ratio of the request signal S becomes the same even if it is not relayed by the repeater. There are cases where it ends up.
FIG. 3 shows an example of the case. The magnetic fields of the first request signals S1a and S1b transmitted by the transmitting antennas 7a and 7b are substantially parallel to the receiving antennas 32a, 32b and 32c of the portable device 3. When the magnetic fields of the first request signals S1a and S1b are substantially parallel, the intensity ratios of the first request signals are also substantially the same. In such a case, when only the intensity ratios of the first request signals S1a and S1b are compared, it may be determined as a relay attack even though the signals are appropriate.

実施の形態では、前記したように、車載機1は、第1のリクエスト信号S1a、S1bを送信した後に、送信アンテナ7a、7bから第2のリクエスト信号S2a、S2bを、互いに逆位相で同時に送信する。そのため、携帯機3の受信アンテナ32a、32b、32cにおいては、同時に受信した第2のリクエスト信号S2a、S2bの合成磁界の各軸の成分が検出される。第2のリクエスト信号S2a、S2bの磁界が合成されることによって、その磁界成分は第1のリクエスト信号S1a、S1bの磁界成分と異なったものとなる。また、第2のリクエスト信号S2a、S2bは互いに逆位相であるため、それらの合成磁界の成分と、第1のリクエスト信号S1a、S1bの個々の磁界成分の差がより明確になる。結果として、第2のリクエスト信号S2a、S2bの合成磁界の各軸の強度比は、第1のリクエスト信号S1a、S1bの個々の磁界の強度比と異なったものとなる。 In the embodiment, as described above, the vehicle-mounted device 1 simultaneously transmits the second request signals S2a and S2b from the transmission antennas 7a and 7b after transmitting the first request signals S1a and S1b. do. Therefore, in the receiving antennas 32a, 32b, 32c of the portable device 3, the components of each axis of the combined magnetic field of the second request signals S2a, S2b received at the same time are detected. By synthesizing the magnetic fields of the second request signals S2a and S2b, the magnetic field components thereof are different from the magnetic field components of the first request signals S1a and S1b. Further, since the second request signals S2a and S2b are in opposite phases to each other, the difference between the component of their combined magnetic field and the individual magnetic field components of the first request signals S1a and S1b becomes clearer. As a result, the intensity ratio of each axis of the combined magnetic fields of the second request signals S2a and S2b is different from the intensity ratio of the individual magnetic fields of the first request signals S1a and S1b.

一方、第2のリクエスト信号S2a、S2bを中継器が中継した場合には、同じ中継器の送信アンテナから携帯機3に送信されるため、合成磁界の強度比は、第1のリクエスト信号S1a、S1bの個々の磁界の強度比と同じになる。したがって、第2のリクエスト信号S2a、S2bの合成磁界の強度比を比較の対象に加えることで、リクエスト信号Sの磁界が携帯機3においてほぼ平行になるようなケースでも、制御部40が誤ってリレーアタックと判定するのを回避することができる。 On the other hand, when the repeater relays the second request signals S2a and S2b, the repeater transmits the second request signals S2a and S2b to the portable device 3, so that the intensity ratio of the combined magnetic field is the first request signal S1a. It becomes the same as the intensity ratio of each magnetic field of S1b. Therefore, by adding the intensity ratio of the combined magnetic fields of the second request signals S2a and S2b to the comparison target, the control unit 40 erroneously performs even in a case where the magnetic fields of the request signals S are substantially parallel in the portable device 3. It is possible to avoid determining that it is a relay attack.

携帯機3の制御部40は、第1のリクエスト信号S1aの磁界、第1のリクエスト信号S1bの磁界、および第2のリクエスト信号S2a、S2bの合成磁界の3つの強度比を比較する。制御部40は、全ての強度比が同じであればリレーアタックの可能性があると判定して、アンサー信号の返信を行わない。 The control unit 40 of the portable device 3 compares the three intensity ratios of the magnetic field of the first request signal S1a, the magnetic field of the first request signal S1b, and the combined magnetic field of the second request signals S2a and S2b. The control unit 40 determines that there is a possibility of a relay attack if all the intensity ratios are the same, and does not return the answer signal.

制御部40は、3つの強度比のなかで、他の強度比と異なるものがあれば、リレーアタックではないと判定して、アンサー信号を返信するための処理を行う。制御部40は第1のリクエスト信号S1aのデータ信号が含む暗号Cを取得する。制御部40は、取得した暗号Cを処理指令と共に暗号処理部41に入力する。 If any of the three intensity ratios is different from the other intensity ratios, the control unit 40 determines that it is not a relay attack and performs a process for returning an answer signal. The control unit 40 acquires the encryption C included in the data signal of the first request signal S1a. The control unit 40 inputs the acquired encryption C together with the processing command to the encryption processing unit 41.

暗号処理部41は制御部40が入力した暗号Cを、所定の計算プロセスで計算処理する。所定の計算プロセスは、携帯機3のID51を組み込んだものであり、車載機1の暗号処理部23と同じ計算プロセスである。暗号処理部41は、処理結果を携帯機側処理結果として制御部40に入力する。制御部40は、携帯機側処理結果を、信号生成指令と共に信号生成部42に入力する。 The encryption processing unit 41 calculates and processes the encryption C input by the control unit 40 in a predetermined calculation process. The predetermined calculation process incorporates the ID 51 of the portable device 3 and is the same calculation process as the encryption processing unit 23 of the vehicle-mounted device 1. The encryption processing unit 41 inputs the processing result to the control unit 40 as the processing result on the portable device side. The control unit 40 inputs the processing result on the portable device side to the signal generation unit 42 together with the signal generation command.

信号生成部42は、携帯機側処理結果を含むアンサー信号を生成して、RF送信部39に送る。RF送信部39は、アンサー信号をRF信号として送信アンテナ33から出力する。 The signal generation unit 42 generates an answer signal including the processing result on the portable device side and sends it to the RF transmission unit 39. The RF transmission unit 39 outputs the answer signal as an RF signal from the transmission antenna 33.

以下、キーレスエントリーシステムの処理を説明する。
図8は、車載機1の処理を示すフローチャートである。
図8に示すように、使用者によりリクエストスイッチ5が操作されると(ステップS11)、スイッチ判別部21が、DRSW5a、ASSW5b、およびBKSW5cのうちのどれが操作されたのかを判別して、メモリ12に記憶させる。
The processing of the keyless entry system will be described below.
FIG. 8 is a flowchart showing the processing of the vehicle-mounted device 1.
As shown in FIG. 8, when the request switch 5 is operated by the user (step S11), the switch determination unit 21 determines which of the DRSW5a, ASSW5b, and BKSW5c is operated, and the memory. Make it memorize in 12.

制御部20は、リクエスト信号Sに含ませる暗号Cを生成する(ステップS12)。制御部20は、生成した暗号Cと共に処理指令を暗号生成部に入力する。制御部20は、暗号Cと共に、信号生成指令を信号生成部22に入力する。 The control unit 20 generates the encryption C to be included in the request signal S (step S12). The control unit 20 inputs a processing command to the cipher generation unit together with the generated cipher C. The control unit 20 inputs a signal generation command to the signal generation unit 22 together with the encryption C.

暗号処理部23は、処理指令に従い、暗号Cを所定の計算プロセスで計算処理し、車載機側処理結果をメモリ12に記憶させる(ステップS13)。 The encryption processing unit 23 calculates and processes the encryption C in a predetermined calculation process according to the processing command, and stores the processing result on the vehicle-mounted device side in the memory 12 (step S13).

信号生成部22は、信号生成指令に従ってリクエスト信号Sを生成し、LF送信部13を制御して、送信アンテナ7a、7bのそれぞれから、第1のリクエスト信号S1a、S1bを、それぞれ順番に送信させる(ステップS14)。 The signal generation unit 22 generates a request signal S according to a signal generation command, controls the LF transmission unit 13, and causes the first request signals S1a and S1b to be transmitted in order from each of the transmission antennas 7a and 7b. (Step S14).

信号生成部22は、続いて、LF送信部13を制御して、送信アンテナ7a、7bのそれぞれから、第2のリクエスト信号S2a、S2bを、互いに逆位相で同時に送信させる(ステップS15)。 Subsequently, the signal generation unit 22 controls the LF transmission unit 13 to simultaneously transmit the second request signals S2a and S2b from the transmission antennas 7a and 7b in opposite phases to each other (step S15).

制御部20は、すべてのリクエスト信号Sの送信が完了すると、携帯機3からのアンサー信号を待ち受ける(ステップS16)。なお、制御部20は、タイマを参照して、予め設定した応答待ち時間が経過してもアンサー信号を受信しなかった場合は、処理を終了する。 When the transmission of all the request signals S is completed, the control unit 20 waits for the answer signal from the portable device 3 (step S16). The control unit 20 refers to the timer, and if the answer signal is not received even after the preset response waiting time has elapsed, the control unit 20 ends the process.

制御部20は、アンサー信号を受信すると(ステップS16:Yes)、アンサー信号が含む携帯機側処理結果をメモリ12に記憶させておいた車載機側処理結果と照合する(ステップS17)。制御部20は、携帯機側処理結果と車載機側処理結果が一致しなかった場合は(ステップS17:No)、処理を終了する。制御部20は、携帯機側処理結果と車載機側処理結果が一致した場合(ステップS17:Yes)、アクチュエータ駆動回路15に駆動指令を出力する。アクチュエータ駆動回路15はドアロックアクチュエータ9を駆動させ(ステップS18)、ドアロックを開錠する。 When the control unit 20 receives the answer signal (step S16: Yes), the control unit 20 collates the processing result on the portable device side including the answer signal with the processing result on the vehicle-mounted device side stored in the memory 12 (step S17). If the processing result on the portable device side and the processing result on the vehicle-mounted device side do not match (step S17: No), the control unit 20 ends the processing. When the processing result on the portable device side and the processing result on the vehicle-mounted device side match (step S17: Yes), the control unit 20 outputs a drive command to the actuator drive circuit 15. The actuator drive circuit 15 drives the door lock actuator 9 (step S18) and unlocks the door lock.

図9は、携帯機3の処理を示すフローチャートである。
携帯機3のリモートコントローラ30は、コントロールスイッチが操作されたときを除き、リクエスト信号Sを受信するまではスリープモードにある。図9に示すように、リモートコントローラ30は、リクエスト信号Sを受信すると(ステップS21:Yes)、スリープモードを解除する。具体的には、携帯機3が最初に受信するリクエスト信号S1aは、ウエイクアップ信号を含む。リモートコントローラ30は、このウエイクアップ信号に応答してスリープモードを解除する。
FIG. 9 is a flowchart showing the processing of the portable device 3.
The remote controller 30 of the portable device 3 is in the sleep mode until the request signal S is received, except when the control switch is operated. As shown in FIG. 9, when the remote controller 30 receives the request signal S (step S21: Yes), the remote controller 30 cancels the sleep mode. Specifically, the request signal S1a first received by the portable device 3 includes a wake-up signal. The remote controller 30 releases the sleep mode in response to this wakeup signal.

リモートコントローラ30の制御部40は、最初のリクエスト信号S1aのデータ信号が含む送信完了時間T1を取得して、タイマのカウントを開始する(ステップS22)。携帯機3は、送信完了時間T1内に送信される2番目以降の信号、すなわち、第1のリクエスト信号S1bおよび第2のリクエスト信号S2a、S2bを順次受信する。 The control unit 40 of the remote controller 30 acquires the transmission completion time T1 included in the data signal of the first request signal S1a, and starts counting the timer (step S22). The portable device 3 sequentially receives the second and subsequent signals transmitted within the transmission completion time T1, that is, the first request signal S1b and the second request signals S2a and S2b.

強度検出部38は、受信したリクエスト信号Sの磁界の各軸の強度を順次検出して(ステップS23)、メモリ36に記憶させる。強度検出部38は、それぞれ順番に受信した第1のリクエスト信号S1a、S1bは、それぞれの磁界の強度を検出するが、同時に受信した第2のリクエスト信号S2a、S2bについては合成磁界の強度を検出する。 The intensity detection unit 38 sequentially detects the intensity of each axis of the magnetic field of the received request signal S (step S23) and stores it in the memory 36. The intensity detection unit 38 detects the intensities of the respective magnetic fields of the first request signals S1a and S1b received in order, respectively, but detects the intensities of the synthetic magnetic field for the second request signals S2a and S2b received at the same time. do.

制御部40は、送信完了時間T1が経過すると(ステップS24:Yes)、メモリ36に記憶された第1のリクエスト信号S1a、S1bの磁界の強度と、第2のリクエスト信号S2a、S2bの合成磁界の強度から、x軸、y軸およびz軸の強度比を算出する(ステップS25)。 When the transmission completion time T1 elapses (step S24: Yes), the control unit 40 combines the strength of the magnetic fields of the first request signals S1a and S1b stored in the memory 36 and the combined magnetic field of the second request signals S2a and S2b. The intensity ratios of the x-axis, y-axis, and z-axis are calculated from the intensities of (step S25).

制御部40は、算出した3つの強度比を比較し、全て同じであれば(ステップS26:Yes)は、リレーアタックを受けている可能性があると判定し、アンサー信号の生成を行わずに処理を終了する。 The control unit 40 compares the calculated three intensity ratios, and if they are all the same (step S26: Yes), it is determined that a relay attack may have been received, and the answer signal is not generated. End the process.

制御部40は、3つの強度比の中で、他の強度比と異なるものがあれば(ステップS26:No)、最初のリクエスト信号S1aのデータ信号が含む暗号Cを、処理指令と共に暗号処理部41に入力する。 If the control unit 40 has a strength ratio different from the other strength ratios among the three strength ratios (step S26: No), the control unit 40 performs the encryption C included in the data signal of the first request signal S1a together with the processing command in the encryption processing unit. Enter in 41.

暗号処理部41は、処理指令に従い、暗号Cを所定の計算プロセスで計算処理し(ステップS27)、算出した携帯機側処理結果を制御部40に入力する。制御部40は、携帯機側処理結果を、信号生成指令と共に信号生成部42に入力する。信号生成部42は、携帯機側処理結果を含むアンサー信号を生成する。信号生成部42は、RF送信部39を制御して、アンサー信号を送信アンテナ33から送信させる(ステップS28)。 The encryption processing unit 41 calculates and processes the encryption C in a predetermined calculation process according to the processing command (step S27), and inputs the calculated processing result on the portable device side to the control unit 40. The control unit 40 inputs the processing result on the portable device side to the signal generation unit 42 together with the signal generation command. The signal generation unit 42 generates an answer signal including the processing result on the portable device side. The signal generation unit 42 controls the RF transmission unit 39 to transmit the answer signal from the transmission antenna 33 (step S28).

リモートコントローラ30は、アンサー信号の返信後、通常動作状態からスリープ状態に戻り、処理を終了する。 After returning the answer signal, the remote controller 30 returns from the normal operating state to the sleep state and ends the process.

以上の通り、実施の形態のキーレスエントリーシステムは、
(1)車両に設けられリクエスト信号Sを送信する車載機1と、リクエスト信号Sに応答してアンサー信号を送信する携帯機3とを有し、車載機1がアンサー信号に応じて車両の動作を制御するキーレスエントリーシステムであって、
車載機1は、
車両にそれぞれ配置された複数の送信アンテナ7a、7bと、
携帯機3に対して、複数の送信アンテナ7a、7bのそれぞれから順番に第1のリクエスト信号S1a、S1bを送信すると共に、複数の送信アンテナ7a、7bから同時に第2のリクエスト信号S2a、S2bを送信させるLF送信部13(車載機送信部)を備え、
携帯機3は、
異なる軸線方向を向いた複数の受信アンテナ32a、32b、32cと、
複数の受信アンテナ32a、32b、32cによって車載機1から送信された第1のリクエスト信号S1a、S1bおよび第2のリクエスト信号S2a、S2bを受信するLF受信部37(携帯機受信部)と、を備える。
また、携帯機3は、
複数の受信アンテナ32a、32b、32cで順番に受信した第1のリクエスト信号S1a、S1bのそれぞれの磁界の各軸の強度比と、複数の受信アンテナ32a、32b、32cで同時に受信した第2のリクエスト信号S2a、S2bの合成磁界の各軸の強度比に基づいて、車両に対するリレーアタックを判定する制御部40(判定部)を備える。
As described above, the keyless entry system of the embodiment is
(1) The vehicle-mounted device 1 provided in the vehicle and transmits the request signal S and the portable device 3 that transmits the answer signal in response to the request signal S are provided, and the vehicle-mounted device 1 operates the vehicle in response to the answer signal. It is a keyless entry system that controls
The in-vehicle device 1 is
Multiple transmitting antennas 7a and 7b arranged in the vehicle, respectively,
The first request signals S1a and S1b are sequentially transmitted from the plurality of transmitting antennas 7a and 7b to the portable device 3, and the second request signals S2a and S2b are simultaneously transmitted from the plurality of transmitting antennas 7a and 7b. Equipped with an LF transmitter 13 (on-board unit transmitter) to transmit
The portable device 3 is
Multiple receiving antennas 32a, 32b, 32c oriented in different axial directions, and
The LF receiving unit 37 (portable device receiving unit) that receives the first request signals S1a, S1b and the second request signals S2a, S2b transmitted from the vehicle-mounted device 1 by the plurality of receiving antennas 32a, 32b, 32c. Be prepared.
In addition, the portable device 3 is
The intensity ratio of each axis of the magnetic fields of the first request signals S1a and S1b received in order by the plurality of receiving antennas 32a, 32b and 32c, and the second one received simultaneously by the plurality of receiving antennas 32a, 32b and 32c. A control unit 40 (determination unit) for determining a relay attack on a vehicle is provided based on the intensity ratio of each axis of the combined magnetic fields of the request signals S2a and S2b.

リレーアタックを判定するために、異なる位置に設置した送信アンテナ7a、7bからそれぞれリクエスト信号Sを送信し、それらの強度比を比較する。しかしながら、送信アンテナ7a、7bが異なる位置に設置されていても、携帯機3に対する位置関係によって、携帯機3で受信した各リクエスト信号Sの磁界の強度比が同じになってしまうケースがある。 In order to determine the relay attack, the request signals S are transmitted from the transmitting antennas 7a and 7b installed at different positions, respectively, and their intensity ratios are compared. However, even if the transmitting antennas 7a and 7b are installed at different positions, the strength ratio of the magnetic field of each request signal S received by the portable device 3 may be the same depending on the positional relationship with the portable device 3.

実施の形態のキーレスエントリーシステムでは、送信アンテナ7a、7bから第1のリクエスト信号S1a、S1bを個別に送信した後に、送信アンテナ7a、7bから第2のリクエスト信号S2a、S2bを逆位相で同時に送信する。同時に送信された第2のリクエスト信号S2a、S2bの合成磁界の強度比は、個々に送信された第1のリクエスト信号S1a、S1bの強度比とは異なるものとなる。同時に送信したリクエスト信号Sの合成磁界の強度比も用いて比較処理を行うことで、位置関係によって個々の信号の磁界の強度比がたまたま同じになったようなケースでも、リレーアタックの誤判定を防止することができる。これによって、リレーアタックの判定の精度を高め、セキュリティと利便性を向上させることができる。 In the keyless entry system of the embodiment, after the first request signals S1a and S1b are individually transmitted from the transmitting antennas 7a and 7b, the second request signals S2a and S2b are simultaneously transmitted from the transmitting antennas 7a and 7b in opposite phases. do. The intensity ratio of the combined magnetic fields of the second request signals S2a and S2b transmitted at the same time is different from the intensity ratio of the first request signals S1a and S1b transmitted individually. By performing comparison processing using the strength ratio of the combined magnetic field of the request signal S transmitted at the same time, even in the case where the strength ratio of the magnetic field of each signal happens to be the same due to the positional relationship, the relay attack can be erroneously determined. Can be prevented. As a result, the accuracy of the relay attack determination can be improved, and security and convenience can be improved.

(2)車載機1のLF送信部13(車載機送信部)は、複数の送信アンテナ7a、7bから同時に、互いに逆位相となる第2のリクエスト信号S2a、S2bを送信させる。図3に示したようなリクエスト信号Sの磁界が携帯機3においてほぼ平行となるケースでは、リクエスト信号を互いに逆位相で同時送信することで、強度比の差が大きくなりやすく、リレーアタックの判定の精度を高めることができる。 (2) The LF transmission unit 13 (vehicle-mounted device transmission unit) of the vehicle-mounted device 1 simultaneously transmits the second request signals S2a and S2b having opposite phases to each other from the plurality of transmission antennas 7a and 7b. In the case where the magnetic fields of the request signal S are almost parallel in the portable device 3 as shown in FIG. 3, the difference in the intensity ratio tends to be large by simultaneously transmitting the request signals in opposite phases, and the relay attack is determined. The accuracy of can be improved.

[変形例1]
実施の形態では、車載機1は、送信アンテナ7a、7bからそれぞれリクエスト信号Sを個別に送信すると共に、リクエスト信号Sの逆位相での同時送信を行った。変形例1では、車載機1は、逆位相での同時送信と共に、同位相での同時送信も行う。すなわち、変形例1では、車載機1は送信アンテナ7a、7bのそれぞれから、リクエスト信号Sの送信を3回行う。
[Modification 1]
In the embodiment, the vehicle-mounted device 1 individually transmits the request signal S from the transmission antennas 7a and 7b, and simultaneously transmits the request signal S in the opposite phase. In the first modification, the vehicle-mounted device 1 performs simultaneous transmission in the same phase as well as simultaneous transmission in the opposite phase. That is, in the modification 1, the vehicle-mounted device 1 transmits the request signal S three times from each of the transmitting antennas 7a and 7b.

図10は、変形例1のリクエスト信号の送信態様を示す図である。
図10に示すように、車載機1の信号生成部22は、実施の形態と同様に、1回目は、送信アンテナ7a、7bから、それぞれ順番に第1のリクエスト信号S1a、S1bを送信するようにLF送信部13を制御する。図示は省略しているが、車載機1は、2回目も実施の形態と同様に、送信アンテナ7a、7bから逆位相で第2のリクエスト信号S2a、S2bを同時に送信する。なお、送信アンテナ7aが先に送信する例を図示しているが、送信アンテナ7bが先に送信しても良い。車載機1は、3回目は、第3のリクエスト信号S3a、S3bを、送信アンテナ7a、7bから同位相で同時に送信する。
FIG. 10 is a diagram showing a transmission mode of the request signal of the first modification.
As shown in FIG. 10, the signal generation unit 22 of the vehicle-mounted device 1 transmits the first request signals S1a and S1b in order from the transmission antennas 7a and 7b for the first time, as in the embodiment. Controls the LF transmission unit 13. Although not shown, the on-board unit 1 simultaneously transmits the second request signals S2a and S2b from the transmission antennas 7a and 7b in the opposite phase in the second time as in the embodiment. Although the example in which the transmitting antenna 7a transmits first is shown in the figure, the transmitting antenna 7b may transmit first. The vehicle-mounted device 1 simultaneously transmits the third request signals S3a and S3b from the transmission antennas 7a and 7b in the same phase for the third time.

携帯機3は、同時に送信された同位相の第3のリクエスト信号S3a、S3bについて、第2のリクエスト信号S2a、S2bと同様の処理を行う。すなわち、携帯機3の受信アンテナ32a、32b、32cにおいて、第3のリクエスト信号S3aおよびS3bの合成磁界の各軸の成分を検出し、強度検出部38が合成磁界の各軸の受信強度を検出する。携帯機3の制御部40は第3のリクエスト信号S3a、S3bの合成磁界の各軸の強度比を算出する。そして、制御部40は、第1のリクエスト信号S1a、S1b、第2のリクエスト信号S2a、S2bの合成磁界と共に、第3のリクエスト信号S3a、S3bの合成磁界についても、強度比の比較の対象とする。制御部40は、4つの磁界の強度比が全て同じであればリレーアタックと判定してアンサー信号の生成は行わず、他の強度比と異なる強度比があれば、アンサー信号の返信を行う。 The portable device 3 performs the same processing as the second request signals S2a and S2b for the third request signals S3a and S3b having the same phase transmitted at the same time. That is, in the receiving antennas 32a, 32b, 32c of the portable device 3, the components of each axis of the combined magnetic field of the third request signals S3a and S3b are detected, and the intensity detecting unit 38 detects the receiving intensity of each axis of the combined magnetic field. do. The control unit 40 of the portable device 3 calculates the intensity ratio of each axis of the combined magnetic field of the third request signals S3a and S3b. Then, the control unit 40 compares the intensity ratios of the combined magnetic fields of the first request signals S1a and S1b, the second request signals S2a and S2b, and the combined magnetic fields of the third request signals S3a and S3b. do. If the intensity ratios of the four magnetic fields are all the same, the control unit 40 determines that the attack is a relay attack and does not generate an answer signal. If the intensity ratios are different from the other intensity ratios, the control unit 40 returns the answer signal.

前記したように、強度比の比較はリレーアタックの判定のために行う。実施の形態では、異なる送信アンテナ7a、7bから送信されたリクエスト信号Sの磁界が携帯機3においてほぼ平行になることによって、強度比が同じになってしまうケースを説明した(図3参照)。そのようなケースにおいて、誤ってリレーアタックと判定しないように、逆位相で送信したリクエスト信号Sの合成磁界の強度比を比較の対象に加えた。
変形例1では、リクエスト信号Sの強度比が同じになってしまう別のケースにおいて、リレーアタックと誤って判定されないように、同位相でも同時送信したリクエスト信号Sの強度比を比較の対象に加える。
図10に示した例では、送信アンテナ7a、7bから送信された第1のリクエスト信号S1a、S1bの磁界は、携帯機3において平行にはなっていないが、携帯機3の受信アンテナ32を中心として、線対称となっている。この場合、リクエスト信号S1a、S1bの磁界の方向は異なっているが、算出した強度比は同じになってしまう。なお、図10では簡略化のため、x軸、y軸の強度比のみを示し、z軸の強度比は省略している。
As described above, the comparison of strength ratios is performed to determine the relay attack. In the embodiment, the case where the magnetic fields of the request signals S transmitted from the different transmitting antennas 7a and 7b are substantially parallel in the portable device 3 and the intensity ratio becomes the same has been described (see FIG. 3). In such a case, the intensity ratio of the combined magnetic field of the request signal S transmitted in the opposite phase was added to the comparison target so as not to be erroneously determined as a relay attack.
In the first modification, in another case where the intensity ratios of the request signals S are the same, the intensity ratios of the request signals S simultaneously transmitted even in the same phase are added to the comparison target so as not to be erroneously determined as a relay attack. ..
In the example shown in FIG. 10, the magnetic fields of the first request signals S1a and S1b transmitted from the transmitting antennas 7a and 7b are not parallel to each other in the portable device 3, but are centered on the receiving antenna 32 of the portable device 3. As it is line symmetric. In this case, the directions of the magnetic fields of the request signals S1a and S1b are different, but the calculated intensity ratios are the same. In FIG. 10, for simplification, only the strength ratio of the x-axis and the y-axis is shown, and the strength ratio of the z-axis is omitted.

図10のケースの場合、逆位相で同時に送信したリクエスト信号Sの合成磁界の強度比でも、第1のリクエスト信号S1a、S1bの磁界の強度比とは異なったものとなるが、逆位相の信号を合成すると打ち消しあって強度比の差が出にくい場合がある。同位相で同時に送信された第3のリクエスト信号S3a、S3bの合成磁界であれば、打ち消しあうことがなく、合成磁界の強度比は、個別の信号の強度比との違いが明確になりやすい。よって、図10に示した磁界が携帯機3において線対称となるケースでも、少なくとも第3のリクエスト信号S3a、S3bの合成磁界の強度比が他の強度比と異なったものとなる。これによってリレーアタックの誤判定が防止され、セキュリティを向上させることができる。なお、ここでは逆位相の第2のリクエスト信号S2a、S2bの後に同位相の第3のリクエスト信号S3a、S3bを送信する例を説明したが、第3のリクエスト信号S3a、S3bを先に送信しても良い。 In the case of FIG. 10, the intensity ratio of the combined magnetic field of the request signals S simultaneously transmitted in the opposite phase is also different from the intensity ratio of the magnetic fields of the first request signals S1a and S1b, but the signals of the opposite phases. When they are combined, they cancel each other out and it may be difficult to make a difference in strength ratio. If the combined magnetic fields of the third request signals S3a and S3b are simultaneously transmitted in the same phase, they do not cancel each other out, and the difference in the intensity ratio of the combined magnetic fields from the intensity ratios of the individual signals tends to be clear. Therefore, even in the case where the magnetic field shown in FIG. 10 is line-symmetrical in the portable device 3, the intensity ratio of the combined magnetic field of at least the third request signals S3a and S3b is different from the other intensity ratios. This prevents erroneous determination of relay attack and improves security. Although an example of transmitting the third request signals S3a and S3b of the same phase after the second request signals S2a and S2b of the opposite phase has been described here, the third request signals S3a and S3b are transmitted first. May be.

以上のように、変形例1において、
(3)送信部は、複数の送信アンテナ7a、7bから同時に、互いに逆位相となる第2のリクエスト信号S2a、S2bを送信させると共に、複数のアンテナから同時に、互いに同位相となる第3のリクエスト信号S3a、S3bを送信させる。
As described above, in the modified example 1,
(3) The transmitting unit simultaneously transmits the second request signals S2a and S2b having opposite phases from the plurality of transmitting antennas 7a and 7b, and the third request having the same phase with each other from the plurality of antennas at the same time. The signals S3a and S3b are transmitted.

個別に送信したリクエスト信号Sの磁界が携帯機3を中心として線対称となり、強度比が同じとなってしまうケースでも、同位相で同時に送信したリクエスト信号Sの合成磁界の強度比を比較の対象に加えることで、リレーアタックの誤判定を防ぎやすくなる。さらに、逆位相と同位相の同時送信の両方を行うことで、磁界が携帯機3において平行となるケース(図3参照)と線対称となるケースのどちらにおいても、リレーアタックの誤判定を防止しやすくなる。 Even in cases where the magnetic fields of the individually transmitted request signals S are line-symmetrical with respect to the portable device 3 and the intensity ratios are the same, the intensity ratios of the combined magnetic fields of the request signals S transmitted simultaneously in the same phase are compared. By adding to, it becomes easy to prevent erroneous judgment of relay attack. Furthermore, by performing both anti-phase and in-phase simultaneous transmission, it is possible to prevent erroneous determination of relay attack in both cases where the magnetic fields are parallel (see FIG. 3) and line-symmetrical in the portable device 3. It will be easier to do.

なお、変形例1では、同位相と逆位相の両方の同時送信の例を説明したが、合成磁界が平行になるケースが少ないような場合には、例えば、同位相の同時送信のみを第2のリクエスト信号S2a、S2bとして行うようにしても良い。 In the first modification, an example of simultaneous transmission of both in-phase and anti-phase has been described, but when there are few cases where the combined magnetic fields are parallel, for example, only simultaneous transmission of in-phase is second. It may be performed as the request signals S2a and S2b of.

[変形例2]
変形例2では、携帯機3の推定位置に基づいて第2のリクエスト信号S2a、S2bを同位相で送るか、または逆位相で送るかを決定する例を説明する。変形例2において、車載機1のキーレスコントローラ10のメモリ12には送信方法情報が記憶されている。送信方法情報は、リクエストスイッチ5ごとに、第2のリクエスト信号S2a、S2bを同位相または逆位相で送信するかを予め決定した。
[Modification 2]
In the second modification, an example of determining whether to send the second request signals S2a and S2b in the same phase or in the opposite phase based on the estimated position of the portable device 3 will be described. In the second modification, the transmission method information is stored in the memory 12 of the keyless controller 10 of the vehicle-mounted device 1. The transmission method information determines in advance whether to transmit the second request signals S2a and S2b in the same phase or the opposite phase for each request switch 5.

図11は、変形例2に係る車載機1のメモリ12に記憶された送信方法情報の一例を示す図である。
送信方法情報は、携帯機3を所持する使用者が操作されたリクエストスイッチ5の近傍に居ることを前提として決定されている。すなわち、送信方法情報は、操作されたリクエストスイッチ5の近傍のエリアを携帯機3の推定位置とし、携帯機3と各送信アンテナ7a、7bとの位置関係に基づいて予め決定されたものである。送信方法情報は、送信アンテナ7a、7bから送信されたリクエスト信号の磁界が、携帯機3の推定位置において平行となる可能性が高ければ、第2のリクエスト信号S2a、S2bは逆位相で送信するように決定する。送信アンテナ7a、7bから送信されたリクエスト信号の磁界が、携帯機3の推定位置を中心として線対称となる可能性が高ければ、第2のリクエスト信号S2a、S2bは同位相で送信するように決定する。図11は、あくまで一例であるが、送信方法情報は、DRSW5aとBKSW5cは逆位相、ASSW5bは同位相で送信するように決定されている。
FIG. 11 is a diagram showing an example of transmission method information stored in the memory 12 of the vehicle-mounted device 1 according to the modified example 2.
The transmission method information is determined on the premise that the user who owns the portable device 3 is in the vicinity of the operated request switch 5. That is, the transmission method information is determined in advance based on the positional relationship between the portable device 3 and the transmission antennas 7a and 7b, with the area near the operated request switch 5 as the estimated position of the portable device 3. .. As for the transmission method information, if the magnetic fields of the request signals transmitted from the transmission antennas 7a and 7b are likely to be parallel at the estimated position of the portable device 3, the second request signals S2a and S2b are transmitted in opposite phases. To decide. If the magnetic field of the request signal transmitted from the transmission antennas 7a and 7b is likely to be line-symmetrical with respect to the estimated position of the portable device 3, the second request signals S2a and S2b should be transmitted in the same phase. decide. Although FIG. 11 is just an example, the transmission method information is determined so that the DRSW5a and BKSW5c are transmitted in opposite phase and the ASSW5b is transmitted in the same phase.

以下、変形例2の車載機1の処理を説明する。なお、車載機1の処理で、実施の形態と同様の部分は、詳細な説明は省略する。
図12は、変形例2に係る車載機1の処理を示すフローチャートである。
図12に示すように、使用者によりリクエストスイッチ5が操作されると(ステップS31)、スイッチ判別部21が、DRSW5a、ASSW5b、およびBKSW5cのどれが操作されたのかを判別して、メモリ12に記憶させる。
Hereinafter, the processing of the vehicle-mounted device 1 of the modification 2 will be described. In addition, in the process of the vehicle-mounted device 1, the same part as that of the embodiment will be omitted in detail.
FIG. 12 is a flowchart showing the processing of the vehicle-mounted device 1 according to the modification 2.
As shown in FIG. 12, when the request switch 5 is operated by the user (step S31), the switch determination unit 21 determines which of the DRSW5a, ASSW5b, and BKSW5c has been operated, and stores the memory 12. Remember.

制御部20は、リクエスト信号Sに含ませる暗号Cを生成するとともに、メモリ12に記憶された送信方法情報を参照して、操作されたリクエストスイッチ5に応じた、第2のリクエスト信号S2a、S2bの送信方法を取得する(ステップS32)。 The control unit 20 generates the encryption C to be included in the request signal S, and also refers to the transmission method information stored in the memory 12, and the second request signals S2a and S2b corresponding to the operated request switch 5 are used. (Step S32).

暗号処理部23は、制御部20の処理指令に従って暗号Cを計算処理し(ステップS33)、信号生成部22は、信号生成指令に従ってリクエスト信号Sを生成する。信号生成部22はLF送信部13を制御して、送信アンテナ7a、7bのそれぞれから、第1のリクエスト信号S1a、S1bを、順番に送信させる(ステップS34)。 The encryption processing unit 23 calculates and processes the encryption C according to the processing command of the control unit 20 (step S33), and the signal generation unit 22 generates the request signal S according to the signal generation command. The signal generation unit 22 controls the LF transmission unit 13 to sequentially transmit the first request signals S1a and S1b from the transmission antennas 7a and 7b (step S34).

信号生成部22は、続いて、LF送信部13を制御して、送信アンテナ7a、7bのそれぞれから、第2のリクエスト信号S2a、S2bを同時に送信させる(ステップS35)が、その際、送信方法情報の送信方法に従って、逆位相または同位相で送信する。ステップS36以降の処理は、図8のステップS36以降の処理と同じなので、説明は省略する。携帯機3での処理も、実施の形態と同じであるため、説明は省略する。 The signal generation unit 22 subsequently controls the LF transmission unit 13 to simultaneously transmit the second request signals S2a and S2b from the transmission antennas 7a and 7b (step S35). It is transmitted in anti-phase or in-phase according to the method of transmitting information. Since the processing after step S36 is the same as the processing after step S36 in FIG. 8, the description thereof will be omitted. Since the processing in the portable device 3 is the same as that in the embodiment, the description thereof will be omitted.

以上のように、変形例2において、
(4)車載機1は、携帯機3の推定位置に基づいて、第2のリクエスト信号S2a、S2bを互いに同位相または逆位相で送信するかを決定する制御部20(決定部)を備える。
具体的には、車載機1のLF送信部13は、車両に配置された複数のリクエストスイッチ5(スイッチ)への操作に応じて第1のリクエスト信号S1a、S1bおよび第2のリクエスト信号S2a、S2bを送信し、
車載機1は、操作されたリクエストスイッチ5に応じて、第2のリクエスト信号S2a、S2bを互いに同位相または逆位相で送信するかを決定する制御部20(決定部)を備える。
さらに具体的には、車載機1は、
リクエストスイッチ5ごとに、第2のリクエスト信号S2a、S2bを同位相または逆位相で送信するかを予め決定した送信方法情報を記憶するメモリ12(記憶部)を備える。制御部20は、送信方法情報を参照して、操作されたスイッチに応じて第2のリクエスト信号S2a、S2bを同位相または逆位相で送信するかを決定する。
As described above, in the modified example 2,
(4) The vehicle-mounted device 1 includes a control unit 20 (determination unit) that determines whether to transmit the second request signals S2a and S2b in the same phase or the opposite phase to each other based on the estimated position of the portable device 3.
Specifically, the LF transmission unit 13 of the vehicle-mounted device 1 receives the first request signals S1a, S1b and the second request signals S2a in response to the operation of the plurality of request switches 5 (switches) arranged in the vehicle. Send S2b and
The vehicle-mounted device 1 includes a control unit 20 (determination unit) that determines whether to transmit the second request signals S2a and S2b in the same phase or the opposite phase to each other according to the operated request switch 5.
More specifically, the in-vehicle device 1 is
Each request switch 5 is provided with a memory 12 (storage unit) for storing transmission method information in which it is determined in advance whether to transmit the second request signals S2a and S2b in the same phase or the opposite phase. The control unit 20 determines whether to transmit the second request signals S2a and S2b in the same phase or the opposite phase according to the operated switch with reference to the transmission method information.

変形例2では、操作されたリクエストスイッチ5に応じて、リクエスト信号Sの同時送信を、同位相または逆位相でのいずれか一方のみで行うため、リレーアタックの誤判定を防ぎつつ迅速な処理が可能となり、利便性を向上させることができる。 In the second modification, the request signal S is simultaneously transmitted in either the same phase or the opposite phase according to the operated request switch 5, so that rapid processing can be performed while preventing erroneous determination of the relay attack. It becomes possible and convenience can be improved.

[変形例3]
変形例3でも、変形例2と同様に、携帯機3の推定位置に基づいて第2のリクエスト信号S2a、S2bを同位相で送るか、逆位相で送るかを決定する例を説明する。ただし、変形例3では、車載機1は、携帯機3が検出する第1のリクエスト信号S1a、S1bの受信強度から携帯機3の推定位置を決定する。車載機1は、決定した推定位置に基づいて第2のリクエスト信号S2a、S2bを逆位相または同位相のいずれかで同時送信するかを決定する。変形例3では、車載機1のキーレスコントローラ10のメモリ12は、携帯機3の推定位置に応じて、第2のリクエスト信号S2a、S2bを同位相または逆位相で送信するかを予め決定した送信方法情報を記憶している。なお、携帯機3の推定位置は、ピンポイントでなくても良く、一定のエリアごとに同位相または逆位相で送信するかを決定しても良い。
[Modification 3]
In the third modification, similarly to the second modification, an example of determining whether to send the second request signals S2a and S2b in the same phase or in the opposite phase based on the estimated position of the portable device 3 will be described. However, in the modification 3, the vehicle-mounted device 1 determines the estimated position of the portable device 3 from the reception intensities of the first request signals S1a and S1b detected by the portable device 3. The vehicle-mounted device 1 determines whether to simultaneously transmit the second request signals S2a and S2b in either the opposite phase or the same phase based on the determined estimated position. In the third modification, the memory 12 of the keyless controller 10 of the vehicle-mounted device 1 determines in advance whether to transmit the second request signals S2a and S2b in the same phase or the opposite phase according to the estimated position of the portable device 3. I remember the method information. The estimated position of the portable device 3 does not have to be pinpoint, and it may be determined whether to transmit in the same phase or in the opposite phase for each fixed area.

以下、変形例3に係る車載機1および携帯機3の処理を説明する。
図13は、変形例3に係る車載機1の処理を示すフローチャートである。
図14は、変形例3に係る携帯機3の処理を示すフローチャートである。
Hereinafter, the processing of the vehicle-mounted device 1 and the portable device 3 according to the modification 3 will be described.
FIG. 13 is a flowchart showing the processing of the vehicle-mounted device 1 according to the modification 3.
FIG. 14 is a flowchart showing the processing of the portable device 3 according to the modification 3.

図13に示すように、車載機1の制御部20は、リクエストスイッチ5の操作に応じて暗号を生成し、暗号処理部23が暗号処理を行う(ステップS51~S52)。
信号生成部22は、LF送信部13を制御して、第1のリクエスト信号S1a、S1bを、順番に送信する(ステップS53)。その後、車載機1は、携帯機3からの第2のリクエスト信号S2a、S2bの送信要求(以下、単に「送信要求」という)を待ち受ける(ステップS54)。制御部20は、タイマを参照して、予め設定した応答待ち時間が経過しても送信要求を受信しなかった場合は、処理を終了する。なお、変形例3において、第1のリクエスト信号S1aのデータ信号(図4参照)が含む送信完了時間T1は、第1のリクエスト信号S1a、S1bのみの送信時間を示す。
As shown in FIG. 13, the control unit 20 of the vehicle-mounted device 1 generates encryption in response to the operation of the request switch 5, and the encryption processing unit 23 performs encryption processing (steps S51 to S52).
The signal generation unit 22 controls the LF transmission unit 13 to transmit the first request signals S1a and S1b in order (step S53). After that, the vehicle-mounted device 1 waits for a transmission request (hereinafter, simply referred to as “transmission request”) for the second request signals S2a and S2b from the portable device 3 (step S54). The control unit 20 refers to the timer, and if the transmission request is not received even after the preset response waiting time has elapsed, the control unit 20 ends the process. In the third modification, the transmission completion time T1 included in the data signal (see FIG. 4) of the first request signal S1a indicates the transmission time of only the first request signals S1a and S1b.

図14に示すように、携帯機3の制御部40は、最初のリクエスト信号S1aのデータ信号が含む送信完了時間T1を取得してタイマのカウントを開始し、第1のリクエスト信号S1a、S1bの受信強度を順次検出して、メモリ36に記憶させる(ステップS61~S63)。 As shown in FIG. 14, the control unit 40 of the portable device 3 acquires the transmission completion time T1 included in the data signal of the first request signal S1a, starts counting the timer, and receives the first request signals S1a and S1b. The reception strength is sequentially detected and stored in the memory 36 (steps S61 to S63).

第1のリクエスト信号S1a、S1bの送信完了時間T1が経過すると(ステップS64)、携帯機3の制御部40は、メモリ36に記憶された第1のリクエスト信号S1a、S1bの各軸の受信強度を取得して、信号生成指令と共に信号生成部42に入力する。 When the transmission completion time T1 of the first request signals S1a and S1b elapses (step S64), the control unit 40 of the portable device 3 receives the reception strength of each axis of the first request signals S1a and S1b stored in the memory 36. Is acquired and input to the signal generation unit 42 together with the signal generation command.

信号生成部42は、信号生成指令に従って送信要求を生成する。送信要求は、第1のリクエスト信号S1a、S1bの受信強度の情報を含む。信号生成部42は、RF送信部を制御して送信要求を送信アンテナ33から送信させ(ステップS65)、車載機1からの第2のリクエスト信号S2a、S2bの送信を待ち受ける。なお、制御部40は、タイマを参照して、予め設定した応答待ち時間が経過しても第2のリクエスト信号S2a、S2bを受信しなかった場合は、処理を終了する。 The signal generation unit 42 generates a transmission request according to the signal generation command. The transmission request includes information on the reception strength of the first request signals S1a and S1b. The signal generation unit 42 controls the RF transmission unit to transmit a transmission request from the transmission antenna 33 (step S65), and waits for transmission of the second request signals S2a and S2b from the vehicle-mounted device 1. If the control unit 40 does not receive the second request signals S2a and S2b even after the preset response waiting time has elapsed with reference to the timer, the control unit 40 ends the process.

図13に示すように、車載機1が携帯機3からの送信要求を受信すると(ステップS54;Yes)、キーレスコントローラ10の制御部20は、送信要求が含む第1のリクエスト信号S1a、S1bの受信強度を取得する。制御部20は、第1のリクエスト信号S1a、S1bの受信強度から携帯機3の位置を推定する。制御部20は、例えば、公知の方法を用いて、第1のリクエスト信号S1a、S1bの各軸の受信強度の差に基づいて位置を推定する。制御部20は、メモリ12の送信方法情報を参照し、推定した携帯機3の位置に対応する送信方法を取得する(ステップS55)。 As shown in FIG. 13, when the vehicle-mounted device 1 receives the transmission request from the portable device 3 (step S54; Yes), the control unit 20 of the keyless controller 10 receives the first request signals S1a and S1b included in the transmission request. Get the reception strength. The control unit 20 estimates the position of the portable device 3 from the reception strength of the first request signals S1a and S1b. The control unit 20 estimates the position based on the difference in the reception intensity of each axis of the first request signals S1a and S1b, for example, by using a known method. The control unit 20 refers to the transmission method information of the memory 12 and acquires a transmission method corresponding to the estimated position of the portable device 3 (step S55).

制御部20は、送信方法を含む第2のリクエスト信号S2a、S2bの信号生成指令を信号生成部22に入力する。信号生成部22は、LF送信部13を制御し、信号生成指令が示す送信方法に従って、送信アンテナ7a、7bから、第2のリクエスト信号S2a、S2bを逆位相または同位相で同時に送信する(ステップS56)。
車載機1のアンサー信号を受信してからの処理(ステップS57~S59)の処理は、実施の形態と同様であるため、説明は省略する。
The control unit 20 inputs the signal generation commands of the second request signals S2a and S2b including the transmission method to the signal generation unit 22. The signal generation unit 22 controls the LF transmission unit 13 and simultaneously transmits the second request signals S2a and S2b from the transmission antennas 7a and 7b in opposite phase or in phase according to the transmission method indicated by the signal generation command (step). S56).
Since the processing after receiving the answer signal of the vehicle-mounted device 1 (steps S57 to S59) is the same as that of the embodiment, the description thereof will be omitted.

図14に示すように、携帯機3は車載機1からの第2のリクエスト信号S2a、S2bを受信すると(ステップS66)、第2のリクエスト信号S2a、S2bの合成磁界の強度を検出する(ステップS67)。制御部40は、既にメモリ36に記憶されている第1のリクエスト信号S1a、S1bの個別の磁界の強度と、第2のリクエスト信号S2a、S2bの合成磁界の強度から、各軸の強度比を算出する。制御部40は、実施の形態と同様に、3つの強度比の比較を行う(ステップS68)。
ステップS68~ステップS70の処理は、実施の形態と同様であるため、説明は省略する。
As shown in FIG. 14, when the portable device 3 receives the second request signals S2a and S2b from the vehicle-mounted device 1 (step S66), the portable device 3 detects the strength of the combined magnetic field of the second request signals S2a and S2b (step). S67). The control unit 40 determines the strength ratio of each axis from the strength of the individual magnetic fields of the first request signals S1a and S1b already stored in the memory 36 and the strength of the combined magnetic field of the second request signals S2a and S2b. calculate. The control unit 40 compares the three intensity ratios as in the embodiment (step S68).
Since the processes of steps S68 to S70 are the same as those of the embodiment, the description thereof will be omitted.

以上のように、変形例3において、
(5)車載機1は、携帯機3の推定位置に基づいて、第2のリクエスト信号S2a、S2bを互いに同位相または逆位相で送信するかを決定する制御部20(決定部)を備える。
具体的には、携帯機3は、
車載機1の複数の送信アンテナ7a、7bから順番に受信した第1のリクエスト信号S1a、S1bのそれぞれの磁界の各軸の受信強度を検出する強度検出部38と、
強度部の検出結果に基づいて、第1のリクエスト信号S1a、S1bの受信強度に関する情報を含む第2のリクエスト信号S2a、S2bの送信要求を車載機1に送信するRF送信部(携帯機送信部)と、を備え、
車載機1の制御部20(決定部)は、第1のリクエスト信号S1a、S1bの受信強度に関する情報に基づいて携帯機3の推定位置を決定し、携帯機3の推定位置に基づいて第2のリクエスト信号S2a、S2bを互いに同位相または逆位相で送信するかを決定する。
As described above, in the modified example 3,
(5) The vehicle-mounted device 1 includes a control unit 20 (determination unit) that determines whether to transmit the second request signals S2a and S2b in the same phase or the opposite phase to each other based on the estimated position of the portable device 3.
Specifically, the portable device 3 is
An intensity detection unit 38 that detects the reception intensity of each axis of the magnetic fields of the first request signals S1a and S1b sequentially received from the plurality of transmission antennas 7a and 7b of the vehicle-mounted device 1.
An RF transmitter (portable device transmitter) that transmits a transmission request of the second request signals S2a and S2b including information on the reception strength of the first request signals S1a and S1b to the vehicle-mounted device 1 based on the detection result of the strength unit. ) And, with
The control unit 20 (decision unit) of the vehicle-mounted device 1 determines the estimated position of the portable device 3 based on the information regarding the reception strength of the first request signals S1a and S1b, and determines the estimated position of the portable device 3 based on the estimated position of the portable device 3. It is determined whether the request signals S2a and S2b of the above are transmitted in the same phase or the opposite phase to each other.

携帯機3での第1のリクエスト信号S1a、S1bの受信強度から携帯機3の位置を推定し、推定位置に基づいて第2のリクエスト信号S2a、S2bを同位相または逆位相で送信するかを決定する。第2のリクエスト信号S2a、S2bの送信方法を、実際の携帯機3の位置に基づいて選択することができるため、リレーアタックの誤判定を防止しやすい。
なお、変形例3では、第1のリクエスト信号S1a、S1bの受信強度に関する情報として、第1のリクエスト信号S1a、S1bの受信強度自体を送信要求に含める例を説明したが、これに限られない。例えば、携帯機3の制御部40において第1のリクエスト信号S1a、S1bの受信強度から携帯機3の位置を推定して、推定位置を送信要求に含めても良い。
The position of the portable device 3 is estimated from the reception strength of the first request signals S1a and S1b in the portable device 3, and whether the second request signals S2a and S2b are transmitted in the same phase or in the opposite phase based on the estimated position. decide. Since the transmission method of the second request signals S2a and S2b can be selected based on the actual position of the portable device 3, it is easy to prevent erroneous determination of the relay attack.
In the third modification, as information on the reception strength of the first request signals S1a and S1b, an example in which the reception strength itself of the first request signals S1a and S1b is included in the transmission request has been described, but the present invention is not limited to this. .. For example, the control unit 40 of the portable device 3 may estimate the position of the portable device 3 from the reception strength of the first request signals S1a and S1b, and include the estimated position in the transmission request.

[変形例4]
変形例2では、携帯機3の推定位置に基づいて、第2のリクエスト信号S2a、S2bを同位相または逆位相で送るかを決定する例を説明した。変形例4では、変形例2に追加して、携帯機3の推定位置に基づいて、第2のリクエスト信号S2a、S2bの出力強度も決定する例を説明する。
[Modification 4]
In the second modification, an example of determining whether to send the second request signals S2a and S2b in the same phase or the opposite phase based on the estimated position of the portable device 3 has been described. In the fourth modification, in addition to the second modification, an example in which the output intensities of the second request signals S2a and S2b are also determined based on the estimated position of the portable device 3 will be described.

図15は、変形例4に係る車載機1のメモリ12に記憶された送信方法情報の一例を示す図である。
変形例2と同様に、変形例4において、車載機1のキーレスコントローラ10のメモリ12は、送信方法情報を記憶する。図15に示すように、変形例4では、送信方法情報は、第2のリクエスト信号S2a、S2bを同位相または逆位相で送信するかの情報に加えて、各送信アンテナ7a、7bの出力強度も記載されている。これらの情報は、リクエストスイッチ5ごとの携帯機3の推定位置に基づいて予め決定されている。
FIG. 15 is a diagram showing an example of transmission method information stored in the memory 12 of the vehicle-mounted device 1 according to the modified example 4.
Similar to the second modification, in the fourth modification, the memory 12 of the keyless controller 10 of the vehicle-mounted device 1 stores transmission method information. As shown in FIG. 15, in the modified example 4, the transmission method information includes the information on whether the second request signals S2a and S2b are transmitted in the same phase or the opposite phase, and the output strength of each transmission antenna 7a and 7b. Is also described. This information is predetermined based on the estimated position of the portable device 3 for each request switch 5.

各送信アンテナ7a、7bの出力強度は、操作されたリクエストスイッチ5の近傍を携帯機3の推定位置として、各送信アンテナ7a、7bと携帯機3の推定位置との距離に基づいて予め決定したものである。 The output intensity of each of the transmitting antennas 7a and 7b was determined in advance based on the distance between each transmitting antenna 7a and 7b and the estimated position of the portable device 3 with the vicinity of the operated request switch 5 as the estimated position of the portable device 3. It is a thing.

同じ出力強度でリクエスト信号Sを送信した場合、送信アンテナ7a、7bと携帯機3との距離は異なるため、当然携帯機3での受信強度に差が生じる。携帯機3との距離が大きい送信アンテナからのリクエスト信号Sは、携帯機3での受信強度が弱くなる。 When the request signal S is transmitted with the same output intensity, the distances between the transmitting antennas 7a and 7b and the portable device 3 are different, so that the reception intensity of the portable device 3 is naturally different. The request signal S from the transmitting antenna, which has a large distance from the portable device 3, has a weak reception strength in the portable device 3.

前記したように、第2のリクエスト信号S2a、S2bは、送信アンテナ7a、7bから同時に送信することで、携帯機3の強度検出部38において合成磁界の受信強度を検出させるものである。ところが、一方の送信アンテナから送信した第2のリクエスト信号S2a、S2bの受信強度が弱すぎると、磁界を合成しても、他方の送信アンテナから送信した第2のリクエスト信号S2a、S2bの受信強度とほとんど変わらない可能性がある。その場合は、制御部40が算出する第2のリクエスト信号S2a、S2bの合成磁界の強度比が、第1のリクエスト信号S1a、S1bのそれぞれの磁界の強度比との差がほとんど変わらなくなってしまう可能性がある。したがって、第2のリクエスト信号S2a、S2bは、携帯機3における受信強度の差をできるだけ小さくして、合成磁界の強度比とそれぞれの磁界の強度比の差ができるだけ大きくなるようにすることが望ましい。 As described above, the second request signals S2a and S2b are simultaneously transmitted from the transmission antennas 7a and 7b so that the strength detection unit 38 of the portable device 3 detects the reception strength of the synthetic magnetic field. However, if the reception strength of the second request signals S2a and S2b transmitted from one transmitting antenna is too weak, the reception strength of the second request signals S2a and S2b transmitted from the other transmitting antenna even if the magnetic fields are combined. It may be almost the same as. In that case, the difference between the intensity ratio of the combined magnetic fields of the second request signals S2a and S2b calculated by the control unit 40 and the intensity ratio of the magnetic fields of the first request signals S1a and S1b is almost the same. there is a possibility. Therefore, it is desirable that the second request signals S2a and S2b make the difference in reception strength in the portable device 3 as small as possible so that the difference between the strength ratio of the synthetic magnetic field and the strength ratio of each magnetic field becomes as large as possible. ..

送信方法情報の各送信アンテナ7a、7bの出力強度は、各送信アンテナと推定位置の携帯機3の距離に基づいて、各送信アンテナから送信する信号の携帯機3での受信強度の想定値の差が所定値未満になるように予め決定したものである。所定値は、制御部40の比較処理において、第2のリクエスト信号S2a、S2bの合成磁界の強度比と第1のリクエスト信号S1a、S1bのそれぞれの磁界の強度比の差が異なると判断される値とすると良い。 The output intensity of each of the transmitting antennas 7a and 7b of the transmission method information is an assumed value of the receiving intensity of the signal transmitted from each transmitting antenna in the portable device 3 based on the distance between each transmitting antenna and the portable device 3 at the estimated position. It is determined in advance so that the difference is less than a predetermined value. It is determined that the predetermined value is different in the difference between the intensity ratio of the combined magnetic fields of the second request signals S2a and S2b and the intensity ratio of the respective magnetic fields of the first request signals S1a and S1b in the comparison process of the control unit 40. Good value.

変形例4において、車載機1の制御部20は、操作されたDRSW5a、ASSW5b、およびBKSW5cのいずれかに応じた送信方法を、送信方法情報から取得する。第1のリクエスト信号S1a、S1bについては、実施の形態と同様に送信する。第2のリクエスト信号S2a、S2bについては、送信方法に従った出力強度で、送信アンテナ7a、7bのそれぞれから逆位相または同位相で送信させる。 In the modification 4, the control unit 20 of the vehicle-mounted device 1 acquires the transmission method corresponding to any of the operated DRSW5a, ASSW5b, and BKSW5c from the transmission method information. The first request signals S1a and S1b are transmitted in the same manner as in the embodiment. The second request signals S2a and S2b are transmitted from the transmission antennas 7a and 7b in opposite phase or in phase with the output strength according to the transmission method.

以上のように、変形例4において、
(6)車載機1は、
携帯機3の推定位置に応じて、複数の送信アンテナ7a、7bから同時に送信する第2のリクエスト信号S2a、S2bの携帯機3での受信強度の想定値の差が所定値未満になるように、第2のリクエスト信号S2a、S2bの出力強度を決定する制御部20(決定部)を備える。
具体的には、車載機1のLF送信部13は、車両に配置された複数のリクエストスイッチ5への操作に応じて第1のリクエスト信号S1a、S1bおよび第2のリクエスト信号S2a、S2bを送信し、
車載機1は、
操作されたスイッチに応じた携帯機3の推定位置に基づいて、複数の送信アンテナ7a、7bから同時に送信する第2のリクエスト信号S2a、S2bの携帯機3での受信強度の想定値の差が所定値未満になるように、第2のリクエスト信号S2a、S2bの出力強度を決定する制御部20(決定部)を備える。
携帯機3で合成磁界を検出させる第2のリクエスト信号S2a、S2bの出力強度の差を所定値未満とすることで、第1のリクエスト信号S1a、S1bのそれぞれの磁界の強度比と第2のリクエスト信号S2a、S2bの合成磁界の強度比の差を大きくすることができ、リレーアタックの誤判定を防止することができる。
As described above, in the modified example 4,
(6) The in-vehicle device 1 is
The difference between the assumed values of the reception strengths of the second request signals S2a and S2b transmitted simultaneously from the plurality of transmitting antennas 7a and 7b in the portable device 3 according to the estimated position of the portable device 3 is less than a predetermined value. , A control unit 20 (determination unit) for determining the output intensity of the second request signals S2a and S2b is provided.
Specifically, the LF transmission unit 13 of the vehicle-mounted device 1 transmits the first request signals S1a and S1b and the second request signals S2a and S2b in response to the operation of the plurality of request switches 5 arranged in the vehicle. death,
The in-vehicle device 1 is
Based on the estimated position of the portable device 3 according to the operated switch, the difference between the assumed values of the reception strengths of the second request signals S2a and S2b simultaneously transmitted from the plurality of transmitting antennas 7a and 7b in the portable device 3 A control unit 20 (determination unit) for determining the output intensity of the second request signals S2a and S2b is provided so as to be less than a predetermined value.
By setting the difference in the output intensities of the second request signals S2a and S2b for detecting the synthetic magnetic field in the portable device 3 to less than a predetermined value, the intensity ratio of the magnetic fields of the first request signals S1a and S1b and the second The difference in the intensity ratio of the combined magnetic fields of the request signals S2a and S2b can be increased, and erroneous determination of the relay attack can be prevented.

なお、ここでは、変形例2に変形例4を追加した例を説明したが、これに限られず、実施の形態や変形例1に適用しても良い。例えば、第2のリクエスト信号S2a、S2bは、同位相または逆位相のいずれか一方のみで送信するように予め決定しておき、操作されたリクエストスイッチ5に応じて出力強度のみを決定しても良い。また、変形例1に適用する場合には、同位相で送信する第3のリクエスト信号S3a、S3bについても、第2のリクエスト信号S2a、S2bと同様の出力強度で送信しても良い。 Although the example in which the modification 4 is added to the modification 2 has been described here, the present invention is not limited to this, and the present invention may be applied to the embodiment or the modification 1. For example, the second request signals S2a and S2b may be determined in advance to be transmitted in either the same phase or the opposite phase, and only the output intensity may be determined according to the operated request switch 5. good. Further, when applied to the first modification, the third request signals S3a and S3b to be transmitted in the same phase may be transmitted with the same output strength as the second request signals S2a and S2b.

[変形例5]
変形例5において、車載機1は、携帯機3が検出する第1のリクエスト信号S1a、S1bの受信強度に基づいて第2のリクエスト信号S2a、S2bの出力強度を決定する。ここでは、第2のリクエスト信号S2a、S2bを逆位相で送信する実施の形態に、変形例5を適用する例を説明する。
[Modification 5]
In the modification 5, the vehicle-mounted device 1 determines the output strength of the second request signals S2a and S2b based on the reception strength of the first request signals S1a and S1b detected by the portable device 3. Here, an example in which the modification 5 is applied to the embodiment in which the second request signals S2a and S2b are transmitted in opposite phases will be described.

以下、変形例5に係る車載機1および携帯機3の処理を説明する。
図16は、変形例5に係る車載機1の処理を示すフローチャートである。
図17は、変形例5に係る携帯機3の処理を示すフローチャートである。
Hereinafter, the processing of the vehicle-mounted device 1 and the portable device 3 according to the modification 5 will be described.
FIG. 16 is a flowchart showing the processing of the vehicle-mounted device 1 according to the modified example 5.
FIG. 17 is a flowchart showing the processing of the portable device 3 according to the modified example 5.

図16に示すように、車載機1の制御部20は、リクエストスイッチ5の操作に応じて暗号を生成し、暗号処理部23が暗号処理を行う(ステップS71~S72)。
信号生成部22は、LF送信部13を制御して、第1のリクエスト信号S1a、S1bを、順番に送信する(ステップS73)。その後、車載機1は、携帯機3からの第2のリクエスト信号S2a、S2bの送信要求(以下、単に「送信要求」という)を待ち受ける(ステップS74)。なお、制御部20は、タイマを参照して、予め設定した応答待ち時間が経過しても送信要求を受信しなかった場合は、処理を終了する。また、変形例3において、第1のリクエスト信号S1a、S1bのデータ信号(図4参照)が含む送信完了時間T1は、第1のリクエスト信号S1a、S1bのみの送信時間を示す。また、第1のリクエスト信号S1a、S1bについては、予め決定した同じ出力強度で送信する。
As shown in FIG. 16, the control unit 20 of the vehicle-mounted device 1 generates encryption in response to the operation of the request switch 5, and the encryption processing unit 23 performs encryption processing (steps S71 to S72).
The signal generation unit 22 controls the LF transmission unit 13 to transmit the first request signals S1a and S1b in order (step S73). After that, the vehicle-mounted device 1 waits for a transmission request (hereinafter, simply referred to as “transmission request”) of the second request signals S2a and S2b from the portable device 3 (step S74). The control unit 20 refers to the timer, and if the transmission request is not received even after the preset response waiting time has elapsed, the control unit 20 ends the process. Further, in the modification 3, the transmission completion time T1 included in the data signals (see FIG. 4) of the first request signals S1a and S1b indicates the transmission time of only the first request signals S1a and S1b. Further, the first request signals S1a and S1b are transmitted with the same output strength determined in advance.

図17に示すように、携帯機3の制御部40は、最初のリクエスト信号S1aのデータ信号が含む送信完了時間T1を取得してタイマのカウントを開始し、第1のリクエスト信号S1a、S1bの受信強度を順次検出してメモリ36に記憶させる(ステップS81~S83)。 As shown in FIG. 17, the control unit 40 of the portable device 3 acquires the transmission completion time T1 included in the data signal of the first request signal S1a, starts counting the timer, and receives the first request signals S1a and S1b. The reception strength is sequentially detected and stored in the memory 36 (steps S81 to S83).

第1のリクエスト信号S1a、S1bの送信完了時間T1が経過すると(ステップS84)、携帯機3の制御部40は、メモリ36に記憶された第1のリクエスト信号S1a、S1bの各軸の受信強度を取得して、信号生成指令と共に信号生成部22に入力する。 When the transmission completion time T1 of the first request signals S1a and S1b elapses (step S84), the control unit 40 of the portable device 3 receives the reception strength of each axis of the first request signals S1a and S1b stored in the memory 36. Is acquired and input to the signal generation unit 22 together with the signal generation command.

信号生成部22は、信号生成指令に従って送信要求を生成する。送信要求は、第1のリクエスト信号S1a、S1bの受信強度の情報を含む。信号生成部22は、RF送信部を制御して送信要求を送信アンテナ33から送信させ(ステップS85)、車載機1からの第2のリクエスト信号S2a、S2bの送信を待ち受ける。なお、制御部40は、タイマを参照して、予め設定した応答待ち時間が経過しても第2のリクエスト信号を受信しなかった場合は、処理を終了する。 The signal generation unit 22 generates a transmission request according to the signal generation command. The transmission request includes information on the reception strength of the first request signals S1a and S1b. The signal generation unit 22 controls the RF transmission unit to transmit a transmission request from the transmission antenna 33 (step S85), and waits for transmission of the second request signals S2a and S2b from the vehicle-mounted device 1. The control unit 40 refers to the timer, and if the second request signal is not received even after the preset response waiting time has elapsed, the control unit 40 ends the process.

図16に示すように、車載機1が携帯機3からの送信要求を受信すると(ステップS74;Yes)、キーレスコントローラ10の制御部20は、送信要求が含む第1のリクエスト信号S1a、S1bの受信強度を取得する。制御部20は、第1のリクエスト信号S1a、S1bの受信強度に基づいて、第2のリクエスト信号S2a、S2bの出力強度を決定する(ステップS75)。 As shown in FIG. 16, when the vehicle-mounted device 1 receives the transmission request from the portable device 3 (step S74; Yes), the control unit 20 of the keyless controller 10 receives the first request signals S1a and S1b included in the transmission request. Get the reception strength. The control unit 20 determines the output strength of the second request signals S2a and S2b based on the reception strength of the first request signals S1a and S1b (step S75).

具体的には、制御部20は、たとえば、第1のリクエスト信号S1a、S1bの受信強度の差を算出する。第1のリクエスト信号S1a、S1bの受信強度は、第2のリクエスト信号S2a、S2bの携帯機3での受信強度の想定値となる。制御部20は、第2のリクエスト信号S2a、S2bの受信強度の想定値の差が所定値未満となるように、各送信アンテナ7a、7bの出力強度を、予め決定した出力強度から変更する。所定値は、携帯機3の制御部40の比較処理において、第2のリクエスト信号S2a、S2bの合成磁界の強度比と第1のリクエスト信号S1a、S1bのそれぞれの磁界の強度比の差が異なると判断される値とすると良い。出力強度の変更方法は特定のものに限られないが、例えば、受信強度が弱かった方のリクエスト信号を送信した送信アンテナからの出力強度を増加させても良い。 Specifically, the control unit 20 calculates, for example, the difference in reception strength of the first request signals S1a and S1b. The reception strength of the first request signals S1a and S1b is an assumed value of the reception strength of the second request signals S2a and S2b in the portable device 3. The control unit 20 changes the output intensities of the transmission antennas 7a and 7b from the predetermined output intensities so that the difference between the assumed values of the reception intensities of the second request signals S2a and S2b is less than a predetermined value. The predetermined value is different from the difference in the intensity ratio of the combined magnetic fields of the second request signals S2a and S2b and the intensity ratio of the respective magnetic fields of the first request signals S1a and S1b in the comparison process of the control unit 40 of the portable device 3. It is good to use a value that is judged to be. The method of changing the output strength is not limited to a specific method, but for example, the output strength from the transmitting antenna that transmitted the request signal having the weaker reception strength may be increased.

制御部20は、決定した出力強度を含む第2のリクエスト信号S2a、S2bの信号生成指令を信号生成部22に入力する。信号生成部22は、LF送信部13を制御し、信号生成指令が示す出力強度で、送信アンテナ7a、7bから、第2のリクエスト信号S2a、S2bを逆位相で同時に送信する(ステップS76)。
車載機1のアンサー信号を受信してからの処理(ステップS77~S79)の処理は、実施の形態と同様であるため、説明は省略する。
The control unit 20 inputs the signal generation command of the second request signals S2a and S2b including the determined output intensity to the signal generation unit 22. The signal generation unit 22 controls the LF transmission unit 13 and simultaneously transmits the second request signals S2a and S2b from the transmission antennas 7a and 7b in opposite phases with the output strength indicated by the signal generation command (step S76).
Since the processing after receiving the answer signal of the vehicle-mounted device 1 (steps S77 to S79) is the same as that of the embodiment, the description thereof will be omitted.

図17に示すように、携帯機3は車載機1からの第2のリクエスト信号S2a、S2bを受信すると(ステップS86)、第2のリクエスト信号S2a、S2bの合成磁界の強度を検出する(ステップS87)。制御部40は、既にメモリ36に記憶されている第1のリクエスト信号S1a、S1bの個別の磁界の強度と、第2のリクエスト信号S2a、S2bの合成磁界の強度から、各軸の強度比を算出する。制御部40は、実施の形態と同様に、3つの強度比の比較を行う(ステップS88)。
ステップS88~ステップS90の処理は、実施の形態と同様であるため、説明は省略する。
As shown in FIG. 17, when the portable device 3 receives the second request signals S2a and S2b from the vehicle-mounted device 1 (step S86), the portable device 3 detects the strength of the combined magnetic field of the second request signals S2a and S2b (step S86). S87). The control unit 40 determines the strength ratio of each axis from the strength of the individual magnetic fields of the first request signals S1a and S1b already stored in the memory 36 and the strength of the combined magnetic field of the second request signals S2a and S2b. calculate. The control unit 40 compares the three intensity ratios as in the embodiment (step S88).
Since the processes of steps S88 to S90 are the same as those of the embodiment, the description thereof will be omitted.

以上のように、変形例5において、
(7)携帯機3は、
車載機1の複数の送信アンテナ7a、7bから順番に受信した第1のリクエスト信号S1a、S1bのそれぞれの磁界の受信強度を検出する強度検出部38と、
強度検出部38の検出結果に基づいて、第1のリクエスト信号S1a、S1bの受信強度に関する情報を含む第2のリクエスト信号S2a、S2bの送信要求を車載機1に送信するRF送信部(携帯機送信部)と、を備え、
車載機1は、
第1のリクエスト信号S1a、S1bの受信強度に関する情報に基づいて、携帯機3での複数の送信アンテナ7a、7bからの第2のリクエスト信号S2a、S2bの受信強度の想定値の差が所定値未満になるように、各送信アンテナ7a、7bの第2のリクエスト信号S2a、S2bの出力強度を決定する制御部20(決定部)を備える。
As described above, in the modified example 5,
(7) The portable device 3 is
An intensity detecting unit 38 for detecting the reception intensity of each magnetic field of the first request signals S1a and S1b sequentially received from the plurality of transmitting antennas 7a and 7b of the vehicle-mounted device 1.
An RF transmission unit (portable device) that transmits a transmission request of the second request signals S2a and S2b including information on the reception strength of the first request signals S1a and S1b to the vehicle-mounted device 1 based on the detection result of the intensity detection unit 38. Transmitter), and equipped with
The in-vehicle device 1 is
Based on the information regarding the reception strength of the first request signals S1a and S1b, the difference between the assumed values of the reception strengths of the second request signals S2a and S2b from the plurality of transmission antennas 7a and 7b in the portable device 3 is a predetermined value. A control unit 20 (determination unit) for determining the output intensity of the second request signals S2a and S2b of each transmission antenna 7a and 7b is provided so as to be less than.

携帯機3での実際の受信強度の値に基づいて第2のリクエスト信号S2a、S2bの出力強度を決定することによって、第2のリクエスト信号S2a、S2bの受信強度の差を小さくすることができる。結果として、第1のリクエスト信号S1a、S1bのそれぞれの磁界の強度比と第2のリクエスト信号S2a、S2bの合成磁界の強度比の差を大きくすることができ、リレーアタックの誤判定を防止することができる。
なお、ここでは、変形例5を実施の形態に適用した例を説明したが、これに限られず、例えば他の変形例と組み合わせても良い。例えば、変形例2に適用して、第1のリクエスト信号S1a、S1bの受信強度に関する情報に基づいて、第2のリクエスト信号S2a、S2bを逆位相または同位相で送信するか決定すると共に、その出力強度を決定しても良い。
By determining the output strength of the second request signals S2a and S2b based on the value of the actual reception strength of the portable device 3, the difference in the reception strength of the second request signals S2a and S2b can be reduced. .. As a result, the difference between the strength ratio of the magnetic fields of the first request signals S1a and S1b and the strength ratio of the combined magnetic fields of the second request signals S2a and S2b can be increased, and erroneous determination of the relay attack can be prevented. be able to.
Although the example in which the modified example 5 is applied to the embodiment has been described here, the present invention is not limited to this, and for example, it may be combined with other modified examples. For example, by applying to the second modification, it is determined whether to transmit the second request signals S2a and S2b in the opposite phase or the same phase based on the information regarding the reception strength of the first request signals S1a and S1b, and the present invention thereof is determined. The output intensity may be determined.

[変形例6]
変形例6では、まず第1のリクエスト信号S1a、S1b同士の強度比の比較を行い、強度比が同じとなってリレーアタックと判定された場合のみ、第2のリクエスト信号S2a、S2bを送信する例を説明する。ここでは、第2のリクエスト信号S2a、S2bを逆位相で送信する実施の形態に、変形例5を適用する例を説明する。
[Modification 6]
In the modification 6, first, the intensity ratios of the first request signals S1a and S1b are compared, and the second request signals S2a and S2b are transmitted only when the intensity ratios are the same and it is determined to be a relay attack. An example will be described. Here, an example in which the modification 5 is applied to the embodiment in which the second request signals S2a and S2b are transmitted in opposite phases will be described.

図18は、変形例6に係る車載機1の処理を示すフローチャートである。
図19は、変形例6に係る携帯機3の処理を説明するフローチャートである。
図18に示すように、車載機1の制御部20は、リクエストスイッチ5の操作に応じて暗号を生成し、暗号処理部23が暗号処理を行う(ステップS101~S102)。
信号生成部22は、LF送信部13を制御して、第1のリクエスト信号S1a、S1bを、それぞれ順番に送信する(ステップS103)。その後、車載機1は、携帯機3からの返信を待ち受ける(ステップS104)。なお、ステップS104において、制御部20はタイマを参照し、予め設定した応答待ち時間が経過しても携帯機3からの返信がなかった場合は、処理を終了する。また、変形例6において、第1のリクエスト信号S1aのデータ信号(図4参照)が含む送信完了時間T1は、第1のリクエスト信号S1a、S1bのみの送信時間を示す。
FIG. 18 is a flowchart showing the processing of the vehicle-mounted device 1 according to the modification 6.
FIG. 19 is a flowchart illustrating the processing of the portable device 3 according to the modification 6.
As shown in FIG. 18, the control unit 20 of the vehicle-mounted device 1 generates encryption in response to the operation of the request switch 5, and the encryption processing unit 23 performs encryption processing (steps S101 to S102).
The signal generation unit 22 controls the LF transmission unit 13 to transmit the first request signals S1a and S1b in order (step S103). After that, the vehicle-mounted device 1 waits for a reply from the portable device 3 (step S104). In step S104, the control unit 20 refers to the timer, and if there is no reply from the portable device 3 even after the preset response waiting time has elapsed, the process ends. Further, in the modification 6, the transmission completion time T1 included in the data signal (see FIG. 4) of the first request signal S1a indicates the transmission time of only the first request signals S1a and S1b.

図19に示すように、携帯機3の制御部40は、始めに送信する第1のリクエスト信号S1aのデータ信号が含む送信完了時間T1を取得してタイマのカウントを開始する。制御部40は、第1のリクエスト信号S1a、S1bの受信強度を順次検出して、メモリ36に記憶させる(ステップS121~S123)。 As shown in FIG. 19, the control unit 40 of the portable device 3 acquires the transmission completion time T1 included in the data signal of the first request signal S1a to be transmitted first, and starts counting the timer. The control unit 40 sequentially detects the reception intensities of the first request signals S1a and S1b and stores them in the memory 36 (steps S121 to S123).

第1のリクエスト信号S1a、S1bの送信完了時間T1が経過すると(ステップS124)、携帯機3の制御部40は、メモリ36に記憶された第1のリクエスト信号S1a、S1bそれぞれの磁界の強度から、各軸の強度比を算出し、メモリ36に記憶させる。制御部40は、算出した強度比同士を比較する(ステップS125)。 When the transmission completion time T1 of the first request signals S1a and S1b elapses (step S124), the control unit 40 of the portable device 3 determines from the strength of the magnetic fields of the first request signals S1a and S1b stored in the memory 36. , The strength ratio of each axis is calculated and stored in the memory 36. The control unit 40 compares the calculated intensity ratios with each other (step S125).

制御部40は、強度比が異なれば(ステップS125:No)、最初のリクエスト信号S1aのデータ信号が含む暗号Cを、処理指令と共に暗号処理部41に入力して、計算処理させる(ステップS126)。制御部40は、暗号処理部41の携帯機側処理結果を信号生成指令と共に信号生成部42に入力する。信号生成部42は、携帯機側処理結果を含むアンサー信号を生成し、RF送信部39を制御して、アンサー信号を送信アンテナ33から送信させる(ステップS127)。 If the strength ratios are different (step S125: No), the control unit 40 inputs the encryption C included in the data signal of the first request signal S1a to the encryption processing unit 41 together with the processing command, and causes the calculation processing (step S126). .. The control unit 40 inputs the processing result on the portable device side of the encryption processing unit 41 to the signal generation unit 42 together with the signal generation command. The signal generation unit 42 generates an answer signal including the processing result on the portable device side, controls the RF transmission unit 39, and causes the answer signal to be transmitted from the transmission antenna 33 (step S127).

ステップS125において、第1のリクエスト信号S1a、S1bの強度比が同じになった場合(ステップS125:Yes)、制御部40は、第2のリクエスト信号S2a、S2bの送信要求の信号生成指令を信号生成部22に入力する。 In step S125, when the intensity ratios of the first request signals S1a and S1b are the same (step S125: Yes), the control unit 40 signals a signal generation command for transmission requests of the second request signals S2a and S2b. Input to the generation unit 22.

信号生成部22は、信号生成指令に従って送信要求を生成し、RF送信部を制御して送信アンテナ33から送信させ(ステップS128)、車載機1からの第2のリクエスト信号S2a、S2bの送信を待ち受ける。 The signal generation unit 22 generates a transmission request according to the signal generation command, controls the RF transmission unit to transmit from the transmission antenna 33 (step S128), and transmits the second request signals S2a and S2b from the vehicle-mounted device 1. Wait for you.

図18に示すように、車載機1が携帯機3からアンサー信号を受信した場合は(ステップS104:Yes)、制御部20はアンサー信号が含む携帯機側処理結果と車載機側処理結果と照合する(ステップS105)。処理結果が一致すれば(ステップS105:Yes)アクチュエータ駆動回路15がドアロックアクチュエータ9を駆動させてドアロックを開錠する(ステップS106)。 As shown in FIG. 18, when the vehicle-mounted device 1 receives the answer signal from the portable device 3 (step S104: Yes), the control unit 20 collates the portable device side processing result included in the answer signal with the vehicle-mounted device side processing result. (Step S105). If the processing results match (step S105: Yes), the actuator drive circuit 15 drives the door lock actuator 9 to unlock the door lock (step S106).

車載機1が携帯機3から第2のリクエスト信号S2a、S2bの送信要求を受信した場合は(ステップS104:No、ステップS107:Yes)、制御部20は、第2のリクエスト信号S2a、S2bの信号生成指令を信号生成部22に入力する。信号生成部22は、LF送信部13を制御し、送信アンテナ7a、7bから、第2のリクエスト信号S2a、S2bを逆位相で同時に送信し(ステップS108)、携帯機3からのアンサー信号の送信を待ち受ける。 When the vehicle-mounted device 1 receives the transmission request of the second request signals S2a and S2b from the portable device 3 (step S104: No, step S107: Yes), the control unit 20 receives the second request signals S2a and S2b. A signal generation command is input to the signal generation unit 22. The signal generation unit 22 controls the LF transmission unit 13, simultaneously transmits the second request signals S2a and S2b from the transmission antennas 7a and 7b in opposite phases (step S108), and transmits the answer signal from the portable device 3. Wait for.

図19に示すように、携帯機3は車載機1からの第2のリクエスト信号S2a、S2bを受信すると(ステップS129)、第2のリクエスト信号S2a、S2bの合成磁界の強度を検出する(ステップS130)。制御部40は第2のリクエスト信号S2a、S2bの合成磁界の強度から、各軸の強度比を算出する。制御部40は、ステップS125で算出した第1のリクエスト信号S1a、S1bの強度比をメモリ36から取得し、第2のリクエスト信号S2a、S2bの合成磁界の強度比と比較する。制御部40は、3つの強度比を比較し、全て同じであれば(ステップS131:Yes)は、リレーアタックを受けている可能性があると判定し、アンサー信号の生成を行わずに処理を終了する。 As shown in FIG. 19, when the portable device 3 receives the second request signals S2a and S2b from the vehicle-mounted device 1 (step S129), the portable device 3 detects the strength of the combined magnetic field of the second request signals S2a and S2b (step). S130). The control unit 40 calculates the intensity ratio of each axis from the intensity of the combined magnetic field of the second request signals S2a and S2b. The control unit 40 acquires the intensity ratio of the first request signals S1a and S1b calculated in step S125 from the memory 36 and compares it with the intensity ratio of the combined magnetic fields of the second request signals S2a and S2b. The control unit 40 compares the three intensity ratios, and if they are all the same (step S131: Yes), determines that there is a possibility of a relay attack, and performs processing without generating an answer signal. finish.

制御部40は、3つの強度比の中で、他の強度比と異なるものがあれば(ステップS131:No)、ステップS126に進み、車載機1にアンサー信号を送信する処理を行う。 If any of the three intensity ratios is different from the other intensity ratios (step S131: No), the control unit 40 proceeds to step S126 and performs a process of transmitting an answer signal to the vehicle-mounted device 1.

以上のように、変形例6において、
(8)携帯機3は、
車載機1の複数の送信アンテナ7a、7bから、順番に受信した第1のリクエスト信号S1a、S1bのそれぞれの磁界の各軸の受信強度を検出する強度検出部38と、
強度検出部38の検出結果に基づいて算出した、第1のリクエスト信号S1a、S1bのそれぞれの磁界の強度比を比較して、車両に対するリレーアタックを判定する制御部40(判定部)と、
判定部によりリレーアタックが判定された場合に、強度検出部38の検出結果に基づいて、第1のリクエスト信号S1a、S1bの受信強度に関する情報を含む第2のリクエスト信号S2a、S2bの送信要求を車載機1に送信するRF送信部(携帯機送信部)と、を備え、
車載機1のLF送信部13(車載機送信部)は、第2のリクエスト信号S2a、S2bの送信要求に応じて携帯機3に対して、複数の送信アンテナ7a、7bから同時に第2のリクエスト信号S2a、S2bを送信させ、
強度検出部38は、車載機1の複数の送信アンテナ7a、7bから同時に受信した第2のリクエスト信号S2a、S2bの合成磁界の各軸の受信強度を検出し、
制御部40(判定部)は、第1のリクエスト信号S1a、S1bのそれぞれの磁界の強度比と、第2のリクエスト信号S2a、S2bの合成磁界の強度比とを比較して、車両に対するリレーアタックを判定する。
As described above, in the modified example 6,
(8) The portable device 3 is
An intensity detection unit 38 that detects the reception intensity of each axis of the magnetic fields of the first request signals S1a and S1b sequentially received from the plurality of transmission antennas 7a and 7b of the vehicle-mounted device 1.
The control unit 40 (determination unit) that determines the relay attack on the vehicle by comparing the intensity ratios of the magnetic fields of the first request signals S1a and S1b calculated based on the detection result of the intensity detection unit 38.
When the relay attack is determined by the determination unit, the transmission request of the second request signals S2a and S2b including the information regarding the reception intensity of the first request signals S1a and S1b is transmitted based on the detection result of the intensity detection unit 38. It is equipped with an RF transmitter (portable device transmitter) that transmits to the in-vehicle device 1.
The LF transmission unit 13 (vehicle-mounted device transmission unit) of the vehicle-mounted device 1 simultaneously makes a second request from a plurality of transmission antennas 7a and 7b to the portable device 3 in response to a transmission request of the second request signals S2a and S2b. The signals S2a and S2b are transmitted, and the signals are transmitted.
The intensity detection unit 38 detects the reception intensity of each axis of the combined magnetic field of the second request signals S2a and S2b simultaneously received from the plurality of transmission antennas 7a and 7b of the vehicle-mounted device 1.
The control unit 40 (determination unit) compares the intensity ratio of the magnetic fields of the first request signals S1a and S1b with the intensity ratio of the combined magnetic fields of the second request signals S2a and S2b, and relays the attack on the vehicle. To judge.

変形例6では、第1のリクエスト信号S1a、S1bの強度比のみの比較をまず行い、強度比が同じになった場合のみ、第2のリクエスト信号S2a、S2bを送信させる。これによって、携帯機3と車載機1の通信量を低減し、速やかに処理を行うことができる。 In the modification 6, only the intensity ratios of the first request signals S1a and S1b are compared first, and the second request signals S2a and S2b are transmitted only when the intensity ratios are the same. As a result, the amount of communication between the portable device 3 and the in-vehicle device 1 can be reduced, and processing can be performed promptly.

[変形例7]
実施の形態では、携帯機3のリモートコントローラ30の制御部40において、リクエスト信号Sの強度比を比較してリレーアタックを判定する例を説明したが、これに限られない。車載機1の制御部20が、判定部として、強度比の比較処理を行っても良い。
[Modification 7]
In the embodiment, an example in which the control unit 40 of the remote controller 30 of the portable device 3 compares the intensity ratios of the request signals S to determine the relay attack has been described, but the present invention is not limited to this. The control unit 20 of the vehicle-mounted device 1 may perform strength ratio comparison processing as a determination unit.

携帯機3は、受信した第1のリクエスト信号S1a、S1bそれぞれの磁界の受信強度と第2のリクエスト信号S2a、S2bの合成磁界の受信強度を検出し、それぞれの強度比を算出する(図9のステップS21~25)。その後、ステップS26の強度比の比較処理は行わずに、ステップS27およびS28の処理を行ってアンサー信号を車載機1に送信する。車載機1に送信するアンサー信号には、算出した3つの強度比を含める。 The portable device 3 detects the reception strength of the received magnetic fields of the first request signals S1a and S1b and the reception strength of the combined magnetic fields of the second request signals S2a and S2b, and calculates the respective strength ratios (FIG. 9). Steps S21 to 25). After that, the answer signal is transmitted to the vehicle-mounted device 1 by performing the processes of steps S27 and S28 without performing the intensity ratio comparison process of step S26. The answer signal transmitted to the vehicle-mounted device 1 includes the calculated three intensity ratios.

車載機1の制御部20は、アンサー信号を受信し、アンサー信号が含む携帯機側処理結果とメモリ12に記憶させた車載機側処理結果が一致すると判定した場合に(図8のステップS16~S17)、アンサー信号に含まれる3つの強度比の比較処理を行う。比較処理は、携帯機3で説明した処理と同様に行う。制御部20は、3つの強度比が同じであれば、リレーアタックを判定してドアロックを駆動せずに処理を終了し、他の強度比と異なる強度比があればドアロックを開錠する。 When the control unit 20 of the vehicle-mounted device 1 receives the answer signal and determines that the processing result on the portable device side included in the answer signal and the processing result on the vehicle-mounted device side stored in the memory 12 match (steps S16 to FIG. 8). S17), the comparison processing of the three intensity ratios included in the answer signal is performed. The comparison process is performed in the same manner as the process described in the portable device 3. If the three strength ratios are the same, the control unit 20 determines the relay attack, ends the process without driving the door lock, and unlocks the door lock if the strength ratio is different from the other strength ratios. ..

以上の通り、変形例7において、
(9)携帯機3は、
複数の受信アンテナ32a、32b、32cで順番に受信した第1のリクエスト信号S1a、S1bのそれぞれの磁界の各軸の強度比と、複数の受信アンテナ32a、32b、32cで同時に受信した第2のリクエスト信号S2a、S2bの合成磁界の各軸の強度比との情報を含むアンサー信号を車載機1に送信するRF送信部(携帯機送信部)を備え、
車載機1は、
携帯機3から、アンサー信号を受信するRF受信部14(携帯機受信部)と、
アンサー信号を参照して、第1のリクエスト信号S1a、S1bのそれぞれの磁界の各軸の強度比と、第2のリクエスト信号S2a、S2bの合成磁界の強度比の情報に基づいて、車両に対するリレーアタックを判定する判定部と、を備える。
As described above, in the modified example 7,
(9) The portable device 3 is
The intensity ratio of each axis of the magnetic fields of the first request signals S1a and S1b received in order by the plurality of receiving antennas 32a, 32b and 32c, and the second one received simultaneously by the plurality of receiving antennas 32a, 32b and 32c. It is provided with an RF transmitter (portable device transmitter) that transmits an answer signal including information with the intensity ratio of each axis of the combined magnetic field of the request signals S2a and S2b to the vehicle-mounted device 1.
The in-vehicle device 1 is
The RF receiving unit 14 (portable device receiving unit) that receives the answer signal from the portable device 3 and
A relay to the vehicle based on the information of the intensity ratio of each axis of the magnetic fields of the first request signals S1a and S1b and the intensity ratio of the combined magnetic fields of the second request signals S2a and S2b with reference to the answer signal. A determination unit for determining an attack is provided.

変形例7においては、実施の形態と同様に、リレーアタックと誤判定されることを防止してリレーアタックの判定の精度を高め、セキュリティと利便性を向上させることができる。さらに、車載機1で強度比の比較処理を行うため、携帯機3での処理負荷を低減することができる。 In the modified example 7, similarly to the embodiment, it is possible to prevent erroneous determination as a relay attack, improve the accuracy of the determination of the relay attack, and improve security and convenience. Further, since the strength ratio comparison processing is performed by the on-board device 1, the processing load on the portable device 3 can be reduced.

なお、ここでは、強度比の算出まで携帯機3で行う例を説明したが、携帯機3は受信強度の検出のみを行い、検出した受信強度の情報を車載機1に送るようにしても良い。車載機1の制御部20が、受信強度の情報から強度比を算出して、比較処理を行っても良い。なお、変形例7は、他の変形例に適用することも可能である。 Although the example in which the calculation of the intensity ratio is performed by the portable device 3 has been described here, the portable device 3 may only detect the reception intensity and send the detected reception intensity information to the in-vehicle device 1. .. The control unit 20 of the vehicle-mounted device 1 may calculate the intensity ratio from the information on the reception intensity and perform the comparison process. The modified example 7 can also be applied to other modified examples.

[変形例8]
前記の実施の形態および変形例1~7において、携帯機3の制御部40は、第1のリクエスト信号S1a、S1bおよび第2のリクエスト信号S2a、S2bの各軸の強度比を比較してリレーアタックの判定を行ったが、比較の対象はこれに限られない。たとえば、第1のリクエスト信号S1a、S1bおよび第2のリクエスト信号S2a、S2bの各軸の受信強度から、それぞれの信号の角度を算出し、角度の比較を行っても良い。あるいは、強度比と角度の両方の比較を行っても良い。
[Modification 8]
In the above-described embodiments and modifications 1 to 7, the control unit 40 of the portable device 3 compares the strength ratios of the axes of the first request signals S1a and S1b and the second request signals S2a and S2b and relays them. The attack was determined, but the comparison target is not limited to this. For example, the angles of the respective signals may be calculated from the reception intensities of the axes of the first request signals S1a and S1b and the second request signals S2a and S2b, and the angles may be compared. Alternatively, both the intensity ratio and the angle may be compared.

[変形例9]
前記の実施の形態では、リクエストスイッチ5の操作に応じて車載機1がリクエスト信号Sを送信する例を説明したが、車載機1がリクエスト信号Sを送信するケースは、リクエストスイッチ5の操作に応じたものに限られない。例えば、車載機1は、携帯機3の位置検出を行った後に、リクエスト信号Sの送信を行うことがある。携帯機3の位置検出は、例えば、携帯機3を用いて車両の移動等のリモートコントロールを行っている間、携帯機3が車両の近傍に所在しているかを確認するために行われる。
[Modification 9]
In the above-described embodiment, the example in which the vehicle-mounted device 1 transmits the request signal S in response to the operation of the request switch 5 has been described, but in the case where the vehicle-mounted device 1 transmits the request signal S, the operation of the request switch 5 is performed. It is not limited to the one that responds. For example, the vehicle-mounted device 1 may transmit the request signal S after detecting the position of the portable device 3. The position detection of the portable device 3 is performed, for example, to confirm whether the portable device 3 is located in the vicinity of the vehicle while performing remote control such as movement of the vehicle using the portable device 3.

携帯機3の位置検出は、車載機1と携帯機3の通信によって行う。車載機1の信号生成部22は応答要求信号を生成して、LF送信部13を制御し、送信アンテナ7a~7eのそれぞれから応答要求信号を出力する。携帯機3が、いずれかの送信アンテナの出力範囲内に位置していれば、携帯機3はその送信アンテナからの応答要求信号を受信する。携帯機3の信号生成部42は、応答要求信号に対する応答信号を生成して、RF送信部39を制御し、送信アンテナ33から応答信号を送信する。 The position of the portable device 3 is detected by communication between the vehicle-mounted device 1 and the portable device 3. The signal generation unit 22 of the vehicle-mounted device 1 generates a response request signal, controls the LF transmission unit 13, and outputs a response request signal from each of the transmission antennas 7a to 7e. If the portable device 3 is located within the output range of any of the transmitting antennas, the portable device 3 receives the response request signal from the transmitting antenna. The signal generation unit 42 of the portable device 3 generates a response signal to the response request signal, controls the RF transmission unit 39, and transmits the response signal from the transmission antenna 33.

車載機1の制御部20は、応答信号を受信すると、推定部として携帯機3の位置を推定する。そして、携帯機3の推定位置に基づいて、変形例3と同様の処理を行い、第2のリクエスト信号S2a、S2bを同位相または逆位相で送るかを決定しても良い。あるいは、携帯機3の推定位置に基づいて、変形例5と同様の処理を行い、第2のリクエスト信号S2a、S2bの出力強度を決定しても良い。 Upon receiving the response signal, the control unit 20 of the vehicle-mounted device 1 estimates the position of the portable device 3 as an estimation unit. Then, based on the estimated position of the portable device 3, the same processing as in the modification 3 may be performed to determine whether to send the second request signals S2a and S2b in the same phase or the opposite phase. Alternatively, the output strength of the second request signals S2a and S2b may be determined by performing the same processing as in the modification 5 based on the estimated position of the portable device 3.

また、前記の実施の形態では、リクエストスイッチ5の操作に応じて車載機1が送信するリクエスト信号Sの構成を図4に示しているが、あくまで一例であり、リクエスト信号Sの構成は特定のものに限られず、通信の目的に応じて適宜変更可能である。例えば、車載機1と携帯機3で既に暗号処理結果の照合を完了した後の通信等では、最初のリクエスト信号S1aにウエイクアップ信号およびデータ信号を含めず、全てのリクエスト信号Sをバースト信号のみで構成しても良い。 Further, in the above-described embodiment, the configuration of the request signal S transmitted by the vehicle-mounted device 1 in response to the operation of the request switch 5 is shown in FIG. 4, but this is just an example, and the configuration of the request signal S is specific. It is not limited to the one, and can be changed as appropriate according to the purpose of communication. For example, in communication after the in-vehicle device 1 and the portable device 3 have already completed collation of the encryption processing result, the wake-up signal and the data signal are not included in the first request signal S1a, and all the request signals S are only burst signals. It may be composed of.

1 車載機
3 携帯機
5 リクエストスイッチ
5a DRドアリクエストスイッチ(DRSW)
5b ASドアリクエストスイッチ(ASSW)
5c BKドアリクエストスイッチ(BKSW)
7、7a、7b 送信アンテナ(アンテナ)
8 受信アンテナ
9 ドアロックアクチュエータ
10 キーレスコントローラ
11 CPU
12 メモリ
13 LF送信部13(車載機送信部)
14 RF受信部14(車載機受信部)
15 アクチュエータ駆動回路
20 制御部(決定部、判定部)
21 スイッチ判別部
22 信号生成部
23 暗号処理部
30 リモートコントローラ
32(32a、32b、32c) 受信アンテナ
33 送信アンテナ
35 CPU
36 メモリ
37 LF受信部(携帯機受信部)
38 強度検出部
39 RF送信部
40 制御部(判定部、送信順序変更部)
41 暗号処理部
42 信号生成部
51 ID
V 車両
S リクエスト信号
S1a、S1b 第1のリクエスト信号
S2a、S2b 第2のリクエスト信号
S3a、S3b 第3のリクエスト信号
1 On-board unit 3 Portable device 5 Request switch 5a DR door request switch (DRSW)
5b AS Door Request Switch (ASSW)
5c BK Door Request Switch (BKSW)
7,7a, 7b Transmitting antenna (antenna)
8 Receive antenna 9 Door lock actuator 10 Keyless controller 11 CPU
12 Memory 13 LF transmitter 13 (on-board unit transmitter)
14 RF receiver 14 (on-board unit receiver)
15 Actuator drive circuit 20 Control unit (decision unit, judgment unit)
21 Switch discrimination unit 22 Signal generation unit 23 Cryptography processing unit 30 Remote controller 32 (32a, 32b, 32c) Receive antenna 33 Transmit antenna 35 CPU
36 Memory 37 LF receiver (portable device receiver)
38 Intensity detection unit 39 RF transmission unit 40 Control unit (judgment unit, transmission order change unit)
41 Cryptographic processing unit 42 Signal generation unit 51 ID
V Vehicle S Request signal S1a, S1b First request signal S2a, S2b Second request signal S3a, S3b Third request signal

Claims (7)

車両に設けられリクエスト信号を送信する車載機と、前記リクエスト信号に応答してアンサー信号を送信する携帯機とを有し、前記車載機が前記アンサー信号に応じて車両の動作を制御するキーレスエントリーシステムであって、
前記車載機は、
車両にそれぞれ配置された複数の送信アンテナと、
前記携帯機に対して、前記複数の送信アンテナのそれぞれから第1のリクエスト信号を送信すると共に、前記複数の送信アンテナから同時に第2のリクエスト信号を送信させる車載機送信部を備え、
前記携帯機は、
異なる軸線方向を向いた複数の受信アンテナと、
前記複数の受信アンテナによって前記車載機から前記第1および第2のリクエスト信号を受信する携帯機受信部と、を備え
前記車載機送信部は、車両に配置された複数のスイッチへの操作に応じて前記第1および第2のリクエスト信号を送信し、
前記車載機は、
操作されたスイッチに応じた前記携帯機の推定位置に基づいて、前記第2のリクエスト信号を互いに同位相または逆位相で送信するかを決定する決定部を備えることを特徴とするキーレスエントリーシステム。
A keyless entry provided in a vehicle having an in-vehicle device for transmitting a request signal and a portable device for transmitting an answer signal in response to the request signal, and the in-vehicle device controls the operation of the vehicle in response to the answer signal. It ’s a system,
The in-vehicle device is
With multiple transmitting antennas located in each vehicle,
The portable device is provided with an on-board unit transmitter that transmits a first request signal from each of the plurality of transmitting antennas and simultaneously transmits a second request signal from the plurality of transmitting antennas.
The portable device is
With multiple receiving antennas pointing in different axes,
A portable device receiving unit that receives the first and second request signals from the vehicle-mounted device by the plurality of receiving antennas is provided .
The on-board unit transmission unit transmits the first and second request signals in response to operations on a plurality of switches arranged in the vehicle.
The in-vehicle device is
A keyless entry system comprising a determinant that determines whether the second request signal is transmitted in phase or out of phase with each other based on the estimated position of the portable device according to the operated switch .
車両に設けられリクエスト信号を送信する車載機と、前記リクエスト信号に応答してアンサー信号を送信する携帯機とを有し、前記車載機が前記アンサー信号に応じて車両の動作を制御するキーレスエントリーシステムであって、
前記車載機は、
車両にそれぞれ配置された複数の送信アンテナと、
前記携帯機に対して、前記複数の送信アンテナのそれぞれから第1のリクエスト信号を送信すると共に、前記複数の送信アンテナから同時に第2のリクエスト信号を送信させる車載機送信部と、
前記携帯機の推定位置に基づいて、前記第2のリクエスト信号を互いに同位相または逆位相で送信するかを決定する決定部と、を備え、
前記携帯機は、
異なる軸線方向を向いた複数の受信アンテナと、
前記複数の受信アンテナによって前記車載機から前記第1および第2のリクエスト信号を受信する携帯機受信部と、を備え、
前記携帯機は、
前記車載機の複数の送信アンテナからそれぞれ受信した前記第1のリクエスト信号の各磁界の各軸の受信強度を検出する強度検出部と、
前記強度検出部の検出結果に基づいて、前記第1のリクエスト信号の受信強度に関する情報を含む前記第2のリクエスト信号の送信要求を前記車載機に送信する携帯機送信部と、を備え、
前記車載機の前記決定部は、前記第1のリクエスト信号の受信強度に関する情報に基づいて前記携帯機の推定位置を決定し、前記携帯機の推定位置に基づいて前記第2のリクエスト信号を互いに逆位相または同位相で送信するかを決定することを特徴とするキーレスエントリーシステム。
A keyless entry provided in a vehicle having an in-vehicle device for transmitting a request signal and a portable device for transmitting an answer signal in response to the request signal, and the in-vehicle device controls the operation of the vehicle in response to the answer signal. It ’s a system,
The in-vehicle device is
With multiple transmitting antennas located in each vehicle,
An on-board unit transmitter that transmits a first request signal from each of the plurality of transmitting antennas to the portable device and simultaneously transmits a second request signal from the plurality of transmitting antennas.
A determination unit for determining whether to transmit the second request signal in the same phase or the opposite phase to each other based on the estimated position of the portable device is provided.
The portable device is
With multiple receiving antennas pointing in different axes,
A portable device receiving unit that receives the first and second request signals from the vehicle-mounted device by the plurality of receiving antennas is provided.
The portable device is
An intensity detection unit that detects the reception intensity of each axis of each magnetic field of the first request signal received from the plurality of transmission antennas of the vehicle-mounted device, and
A portable device transmission unit that transmits a transmission request of the second request signal including information on the reception intensity of the first request signal to the vehicle-mounted device based on the detection result of the intensity detection unit is provided.
The determination unit of the vehicle-mounted device determines the estimated position of the portable device based on the information regarding the reception strength of the first request signal, and makes the second request signal to each other based on the estimated position of the portable device. A keyless entry system characterized in determining whether to transmit in anti-phase or in-phase.
前記車載機の前記決定部は、
前記携帯機の推定位置に基づいて、前記複数の送信アンテナから同時に送信する前記第2のリクエスト信号の前記携帯機側での受信強度の想定値の差が所定値未満になるように、前記第2のリクエスト信号の出力強度を決定することを特徴とする請求項1記載のキーレスエントリーシステム。
The determination unit of the in-vehicle device is
Based on the estimated position of the portable device, the difference between the assumed values of the reception strength of the second request signal transmitted simultaneously from the plurality of transmitting antennas on the portable device side is less than a predetermined value. 2. The keyless entry system according to claim 1, wherein the output strength of the request signal is determined .
車両に設けられリクエスト信号を送信する車載機と、前記リクエスト信号に応答してアンサー信号を送信する携帯機とを有し、前記車載機が前記アンサー信号に応じて車両の動作を制御するキーレスエントリーシステムであって、
前記車載機は、
車両にそれぞれ配置された複数の送信アンテナと、
前記携帯機に対して、前記複数の送信アンテナのそれぞれから第1のリクエスト信号を送信すると共に、前記複数の送信アンテナから同時に第2のリクエスト信号を送信させる車載機送信部を備え、
前記携帯機は、
異なる軸線方向を向いた複数の受信アンテナと、
前記複数の受信アンテナによって前記車載機から前記第1および第2のリクエスト信号を受信する携帯機受信部と、
前記車載機の複数の送信アンテナからそれぞれ受信した前記第1のリクエスト信号の各磁界の受信強度を検出する強度検出部と、
前記強度検出部の検出結果に基づいて、前記第1のリクエスト信号の受信強度に関する情報を含む前記第2のリクエスト信号の送信要求を前記車載機に送信する携帯機送信部と、を備え、
前記車載機は、
前記第1のリクエスト信号の受信強度に関する情報に基づいて、前記携帯機側での前記複数の送信アンテナからの前記第2のリクエスト信号の受信強度の想定値の差が所定値未満になるように、各送信アンテナの前記第2のリクエスト信号の出力強度を決定する決定部を備えることを特徴とするキーレスエントリーシステム。
A keyless entry provided in a vehicle having an in-vehicle device for transmitting a request signal and a portable device for transmitting an answer signal in response to the request signal, and the in-vehicle device controls the operation of the vehicle in response to the answer signal. It ’s a system,
The in-vehicle device is
With multiple transmitting antennas located in each vehicle,
The portable device is provided with an on-board unit transmitter that transmits a first request signal from each of the plurality of transmitting antennas and simultaneously transmits a second request signal from the plurality of transmitting antennas.
The portable device is
With multiple receiving antennas pointing in different axes,
A portable device receiving unit that receives the first and second request signals from the vehicle-mounted device by the plurality of receiving antennas.
An intensity detection unit that detects the reception intensity of each magnetic field of the first request signal received from each of the plurality of transmission antennas of the vehicle-mounted device.
A portable device transmission unit that transmits a transmission request of the second request signal including information on the reception intensity of the first request signal to the vehicle-mounted device based on the detection result of the intensity detection unit is provided.
The in-vehicle device is
Based on the information regarding the reception strength of the first request signal, the difference between the assumed values of the reception strength of the second request signal from the plurality of transmitting antennas on the portable device side is less than a predetermined value. , A keyless entry system comprising a determination unit for determining the output strength of the second request signal of each transmitting antenna.
前記携帯機は、
前記車載機の複数の送信アンテナからそれぞれ受信した前記第1のリクエスト信号の各磁界と、同時に受信した前記第2のリクエスト信号の合成磁界の、各軸の受信強度を検出する強度検出部と、
前記強度検出部の検出結果に基づいて算出した、前記第1のリクエスト信号のそれぞれの磁界の強度比または角度と、前記複数の受信アンテナで同時に受信した前記第2のリクエスト信号の合成磁界の強度比または角度とを比較して、前記車両に対するリレーアタックを判定する判定部を備えることを特徴とする請求項1記載のキーレスエントリーシステム。
The portable device is
An intensity detector for detecting the reception intensity of each axis of each magnetic field of the first request signal received from each of the plurality of transmission antennas of the vehicle-mounted device and the combined magnetic field of the second request signal received at the same time.
The intensity ratio or angle of each magnetic field of the first request signal calculated based on the detection result of the intensity detection unit, and the intensity of the combined magnetic field of the second request signal simultaneously received by the plurality of receiving antennas. The keyless entry system according to claim 1, further comprising a determination unit for determining a relay attack on the vehicle by comparing with a ratio or an angle.
車両に設けられリクエスト信号を送信する車載機と、前記リクエスト信号に応答してアンサー信号を送信する携帯機とを有し、前記車載機が前記アンサー信号に応じて車両の動作を制御するキーレスエントリーシステムであって、
前記車載機は、
車両にそれぞれ配置された複数の送信アンテナと、
前記携帯機に対して、前記複数の送信アンテナのそれぞれから第1のリクエスト信号を送信すると共に、前記複数の送信アンテナから同時に第2のリクエスト信号を送信させる車載機送信部を備え、
前記携帯機は、
異なる軸線方向を向いた複数の受信アンテナと、
前記複数の受信アンテナによって前記車載機から前記第1および第2のリクエスト信号を受信する携帯機受信部と、を備え、
前記携帯機は、
前記車載機の複数の送信アンテナからそれぞれ受信した前記第1のリクエスト信号の各磁界の各軸の受信強度を検出する強度検出部と、
前記強度検出部の検出結果に基づいて算出した、前記第1のリクエスト信号のそれぞれの磁界の強度比または角度を比較して、前記車両に対するリレーアタックを判定する判定部と、
前記判定部によりリレーアタックが判定された場合に、前記第2のリクエスト信号の送信要求を前記車載機に送信する携帯機送信部と、を備え、
前記車載機送信部は、前記第2のリクエスト信号の送信要求に応じて前記携帯機に対して、前記複数の送信アンテナから同時に第2のリクエスト信号を送信させ、
前記強度検出部は、前記車載機の複数の送信アンテナから同時に受信した前記第2のリクエスト信号の合成磁界の各軸の受信強度を検出し、
前記判定部は、前記第1のリクエスト信号のそれぞれの磁界の強度比または角度と、前
記第2のリクエスト信号の合成磁界の強度比または角度とを比較して、前記車両に対するリレーアタックを判定することを特徴とするキーレスエントリーシステム。
A keyless entry provided in a vehicle having an in-vehicle device for transmitting a request signal and a portable device for transmitting an answer signal in response to the request signal, and the in-vehicle device controls the operation of the vehicle in response to the answer signal. It ’s a system,
The in-vehicle device is
With multiple transmitting antennas located in each vehicle,
The portable device is provided with an on-board unit transmitter that transmits a first request signal from each of the plurality of transmitting antennas and simultaneously transmits a second request signal from the plurality of transmitting antennas.
The portable device is
With multiple receiving antennas pointing in different axes,
A portable device receiving unit that receives the first and second request signals from the vehicle-mounted device by the plurality of receiving antennas is provided.
The portable device is
An intensity detection unit that detects the reception intensity of each axis of each magnetic field of the first request signal received from the plurality of transmission antennas of the vehicle-mounted device, and
A determination unit for determining a relay attack on the vehicle by comparing the intensity ratio or angle of each magnetic field of the first request signal calculated based on the detection result of the intensity detection unit.
A portable device transmission unit that transmits a transmission request for the second request signal to the vehicle-mounted device when a relay attack is determined by the determination unit is provided.
The on-board unit transmitting unit causes the portable device to simultaneously transmit the second request signal from the plurality of transmitting antennas in response to the transmission request of the second request signal.
The intensity detection unit detects the reception intensity of each axis of the combined magnetic field of the second request signal simultaneously received from the plurality of transmission antennas of the vehicle-mounted device.
The determination unit determines the relay attack on the vehicle by comparing the intensity ratio or angle of each magnetic field of the first request signal with the intensity ratio or angle of the combined magnetic field of the second request signal. A keyless entry system featuring that .
前記携帯機は、
前記複数の受信アンテナでそれぞれ受信した前記第1のリクエスト信号の各磁界の各軸の強度比または角度と、前記複数の受信アンテナで同時に受信した前記第2のリクエスト信号の合成磁界の各軸の強度比または角度の情報を含むアンサー信号を前記車載機に送信する携帯機送信部を備え、
前記車載機は、
前記携帯機から、前記アンサー信号を受信する携帯機受信部と、
前記アンサー信号が含む前記第1のリクエスト信号のそれぞれの磁界の各軸の強度比または角度と、前記第2のリクエスト信号の合成磁界の強度比または角度の情報に基づいて、前記車両に対するリレーアタックを判定する判定部と、を備えることを特徴とする請求項1記載のキーレスエントリーシステム。
The portable device is
The intensity ratio or angle of each axis of each magnetic field of the first request signal received by the plurality of receiving antennas and each axis of the combined magnetic field of the second request signal simultaneously received by the plurality of receiving antennas. A portable device transmitter that transmits an answer signal including intensity ratio or angle information to the vehicle-mounted device is provided.
The in-vehicle device is
A portable device receiver that receives the answer signal from the portable device,
Relay attack on the vehicle based on information of the intensity ratio or angle of each axis of each magnetic field of the first request signal included in the answer signal and the intensity ratio or angle of the combined magnetic field of the second request signal. The keyless entry system according to claim 1, further comprising a determination unit for determining.
JP2017171301A 2017-09-06 2017-09-06 Keyless entry system Active JP6995434B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017171301A JP6995434B2 (en) 2017-09-06 2017-09-06 Keyless entry system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017171301A JP6995434B2 (en) 2017-09-06 2017-09-06 Keyless entry system

Publications (2)

Publication Number Publication Date
JP2019044535A JP2019044535A (en) 2019-03-22
JP6995434B2 true JP6995434B2 (en) 2022-01-14

Family

ID=65812539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017171301A Active JP6995434B2 (en) 2017-09-06 2017-09-06 Keyless entry system

Country Status (1)

Country Link
JP (1) JP6995434B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020205369A1 (en) * 2019-03-29 2020-10-08 Denso International America, Inc. Passive entry/passive start systems implementing carrier phase based ranging with music style eigenvalue decomposition for distance determinations
JP2020172744A (en) * 2019-04-08 2020-10-22 株式会社デンソー Portable machine and electronic key system for vehicle
KR102302090B1 (en) * 2019-07-01 2021-09-14 나규철 System of strengthening vehicle security for defending relay station attack and method thereof
JP6653985B1 (en) * 2019-12-06 2020-02-26 マレリ株式会社 Relay attack judgment device
CN111246423A (en) * 2020-01-09 2020-06-05 联合汽车电子有限公司 Method for preventing broadcast relay attack in keyless entry and start system
CN114291031B (en) * 2021-12-30 2022-12-13 上海洛轲智能科技有限公司 Control method and device for unlocking and locking vehicle and control terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006342545A (en) 2005-06-08 2006-12-21 Alps Electric Co Ltd Keyless entry unit
JP2011127368A (en) 2009-12-18 2011-06-30 Tokai Rika Co Ltd Communication area forming device of electronic key system
WO2017078040A1 (en) 2015-11-06 2017-05-11 株式会社オートネットワーク技術研究所 In-vehicle device and vehicle communication system
JP2017108318A (en) 2015-12-10 2017-06-15 パナソニックIpマネジメント株式会社 On-vehicle device, portable device and radio communication system for vehicle
JP2017501321A5 (en) 2014-12-02 2018-01-18

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002046541A (en) * 2000-08-04 2002-02-12 Omron Corp Controller
JP6083354B2 (en) * 2013-08-21 2017-02-22 株式会社日本自動車部品総合研究所 Vehicle system, portable device, and in-vehicle device
CN105899413B (en) 2013-12-03 2018-04-10 胡夫北美汽车零件制造股份有限公司 Prevent the vehicle control system of relay attack
JP2017025599A (en) * 2015-07-23 2017-02-02 オムロンオートモーティブエレクトロニクス株式会社 On-vehicle equipment control system, on-vehicle control device, portable device
JP6549640B2 (en) * 2016-11-10 2019-07-24 株式会社Soken Vehicle system, portable device, and in-vehicle device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006342545A (en) 2005-06-08 2006-12-21 Alps Electric Co Ltd Keyless entry unit
JP2011127368A (en) 2009-12-18 2011-06-30 Tokai Rika Co Ltd Communication area forming device of electronic key system
JP2017501321A5 (en) 2014-12-02 2018-01-18
WO2017078040A1 (en) 2015-11-06 2017-05-11 株式会社オートネットワーク技術研究所 In-vehicle device and vehicle communication system
JP2017108318A (en) 2015-12-10 2017-06-15 パナソニックIpマネジメント株式会社 On-vehicle device, portable device and radio communication system for vehicle

Also Published As

Publication number Publication date
JP2019044535A (en) 2019-03-22

Similar Documents

Publication Publication Date Title
JP6995434B2 (en) Keyless entry system
US10513244B2 (en) Vehicle control system and vehicle control device
US9599984B2 (en) Vehicle system, portable device, and vehicle-mounted device
JP6292719B2 (en) Vehicle wireless communication system, vehicle control device, portable device
EP3309755B1 (en) Biometric-electronic key system
KR20160110100A (en) Vehicle wireless communication system, vehicle control device, and portable machine
CN108292931B (en) In-vehicle device, portable device, and wireless communication system for vehicle
US9556663B2 (en) Door lock system
JP6971156B2 (en) Communications system
JP2017014839A (en) On-vehicle apparatus control system and on-vehicle control device
KR20160149500A (en) Vehicle door lock control system and method thereof
JP2019041348A (en) Relay attack detector and relay attack detection method
JP5135921B2 (en) Smart keyless entry system
JP7031208B2 (en) Vehicle collation system, vehicle electronic key system
TWI741901B (en) Intelligent key storage box for vehicles
US20210204136A1 (en) Relay station attack prevention
JP6471034B2 (en) Door operation control system
WO2021111741A1 (en) Relay attack determination device
JP2010222810A (en) Keyless entry device for vehicle
JP6277847B2 (en) In-vehicle device
JP6887334B2 (en) Keyless entry system and vehicle side equipment
JP6995431B2 (en) On-board unit and keyless entry system
JP2008106548A (en) Smart key system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200828

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210616

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210713

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210903

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211214

R150 Certificate of patent or registration of utility model

Ref document number: 6995434

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S343 Written request for registration of root pledge or change of root pledge

Free format text: JAPANESE INTERMEDIATE CODE: R316354

SZ02 Written request for trust registration

Free format text: JAPANESE INTERMEDIATE CODE: R316Z02

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S803 Written request for registration of cancellation of provisional registration

Free format text: JAPANESE INTERMEDIATE CODE: R316803

SZ02 Written request for trust registration

Free format text: JAPANESE INTERMEDIATE CODE: R316Z02

SZ03 Written request for cancellation of trust registration

Free format text: JAPANESE INTERMEDIATE CODE: R316Z03

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350