JP5319436B2 - Electronic key system for vehicle and setting method thereof - Google Patents

Electronic key system for vehicle and setting method thereof Download PDF

Info

Publication number
JP5319436B2
JP5319436B2 JP2009173296A JP2009173296A JP5319436B2 JP 5319436 B2 JP5319436 B2 JP 5319436B2 JP 2009173296 A JP2009173296 A JP 2009173296A JP 2009173296 A JP2009173296 A JP 2009173296A JP 5319436 B2 JP5319436 B2 JP 5319436B2
Authority
JP
Japan
Prior art keywords
vehicle
portable device
code
electronic key
key system
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.)
Expired - Fee Related
Application number
JP2009173296A
Other languages
Japanese (ja)
Other versions
JP2010280368A (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.)
Tokai Rika Co Ltd
Original Assignee
Tokai Rika Co Ltd
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 Tokai Rika Co Ltd filed Critical Tokai Rika Co Ltd
Priority to JP2009173296A priority Critical patent/JP5319436B2/en
Publication of JP2010280368A publication Critical patent/JP2010280368A/en
Application granted granted Critical
Publication of JP5319436B2 publication Critical patent/JP5319436B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a vehicular electronic key system capable of ensuring a good radio communication between an on-vehicle device and a portable machine while avoiding any increase in the manufacturing man-hour of a vehicle even when employing the communication system based on the spectrum diffuse modulation. <P>SOLUTION: The vehicular electronic key system collates the authentication code registered in an on-vehicle device 10 with the authentication code registered in a portable machine 20 by transmitting/receiving the request signals Sre1, Sre2 and the response signal San between the on-vehicle device 10 and the portable machine 20, and controls various kinds of vehicles through the collation. Further, the on-vehicle device 10 and the portable machine 20 transmit/receive the signals subjected to the spectrum diffuse modulation by executing the processing of the spectrum diffuse modulation of the response signal San by the diffusion signal when transmitting/receiving the temperature signal San. Here, the on-vehicle device 10 and the portable machine 20 selects the diffusion signal, respectively, based on the vehicle identification code as the authentication code. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、車載装置と携帯機との間の無線通信を通じて車両の各種制御を実行する車両の電子キーシステムにかかり、特に無線通信の方式としてスペクトラム拡散変調に基づく通信方式を採用した車両の電子キーシステム及びその設定方法に関する。   The present invention relates to an electronic key system for a vehicle that executes various types of vehicle control through wireless communication between an in-vehicle device and a portable device. In particular, the electronic device for a vehicle adopting a communication method based on spread spectrum modulation as a wireless communication method. The present invention relates to a key system and a setting method thereof.

携帯機(電子キー)を所持したユーザが車両ドアに接近することにより車両ドアのアンロックが実行されるとともに、ユーザが車室内に入ることによりエンジンの始動許可などが実行される、いわゆる車両の電子キーシステムが周知である。そして従来、このような電子キーシステムとしては、例えば特許文献1に記載のシステムが知られている。図10に、この特許文献1に記載のシステムも含めて、従来一般に採用されている電子キーシステムの概要を示す。   When a user holding a portable device (electronic key) approaches the vehicle door, the vehicle door is unlocked, and when the user enters the vehicle compartment, engine start permission is executed. Electronic key systems are well known. Conventionally, as such an electronic key system, for example, a system described in Patent Document 1 is known. FIG. 10 shows an outline of an electronic key system that is generally employed in the past, including the system described in Patent Document 1.

同図10に示されるように、この電子キーシステムでは、携帯機20を所持したユーザが図中の二点鎖線で示すエリア、すなわち車室外に設定された通信エリアR1、あるいは車室内に設定された通信エリアR2に進入したときに、車両に搭載された車載装置10と携帯機20との間で無線通信が行われる。そして、この無線通信を通じて、車載装置10及び携帯機20にそれぞれ登録されている認証コードの照合を行い、この照合を通じて互いの認証コードが一致している旨が判断されることを条件として、車両ドアのロック/アンロック制御やエンジン始動許可などの各種車両制御が実行される。なお、認証コードとしては、複数の車両を互いに識別するために車両毎に各別に設定される車両識別コード(車両IDコード)や、複数の携帯機を識別するために携帯機毎に各別に設定される携帯機識別コード(携帯機IDコード)などが用いられる。このような電子キーシステムによれば、ユーザの直接的な手動操作によることなく車両の各種操作が自動的に行われるようになるため、車両の操作にかかる利便性が大きく向上するようになる。   As shown in FIG. 10, in this electronic key system, the user who has the portable device 20 is set in an area indicated by a two-dot chain line in the drawing, that is, a communication area R1 set outside the vehicle compartment, or in the vehicle interior. When the vehicle enters the communication area R2, wireless communication is performed between the in-vehicle device 10 mounted on the vehicle and the portable device 20. Then, through this wireless communication, the authentication codes registered in the in-vehicle device 10 and the portable device 20 are collated, and on the condition that it is determined that the mutual authentication codes match through this collation. Various vehicle controls such as door lock / unlock control and engine start permission are executed. As an authentication code, a vehicle identification code (vehicle ID code) set for each vehicle to identify a plurality of vehicles from each other, or set for each portable device to identify a plurality of portable devices A portable device identification code (portable device ID code) or the like is used. According to such an electronic key system, various operations of the vehicle are automatically performed without direct manual operation by the user, so that the convenience of the operation of the vehicle is greatly improved.

一方、こうした車両の電子キーシステムに関しては、近年、例えば特許文献2に記載のように、ノイズの影響を受けやすい環境下での車載装置と携帯機との間の良好な無線通信を確保すべく、それらの無線通信の方式としてスペクトラム拡散変調に基づく通信方式を採用することが提案されている。ちなみに、スペクトラム拡散変調に基づく通信方式とは、送信側では、送信したい情報信号を所定の拡散符号により拡散した信号(拡散信号)を受信側に送信し、受信側では、受信した拡散信号を受信側の拡散符号と同一の拡散符号を用いて逆拡散することにより元の情報信号に復元する通信方式である。車両の電子キーシステムとしてこうしたスペクトラム拡散変調に基づく通信方式を採用すれば、仮に送信側から送信される拡散信号にノイズが混入したとしても、受信側で拡散信号から元の情報信号に復元する際にノイズが拡散されるようになる。したがって、ノイズの影響を軽減することができるようになるため、車載装置と携帯機との間の良好な無線通信を確保することができるようになる。   On the other hand, with regard to such an electronic key system for vehicles, in recent years, as described in Patent Document 2, for example, in order to ensure good wireless communication between an in-vehicle device and a portable device in an environment that is susceptible to noise. Therefore, it has been proposed to employ a communication system based on spread spectrum modulation as a wireless communication system. By the way, the communication method based on spread spectrum modulation is that the transmitting side transmits a signal (spread signal) obtained by spreading the information signal to be transmitted with a predetermined spreading code to the receiving side, and the receiving side receives the received spread signal. This is a communication method for restoring the original information signal by despreading using the same spreading code as the spreading code on the side. If a communication system based on such spread spectrum modulation is adopted as an electronic key system for a vehicle, even if noise is mixed in the spread signal transmitted from the transmission side, the original information signal is restored from the spread signal on the reception side. Noise is diffused to the surface. Therefore, since it becomes possible to reduce the influence of noise, it is possible to ensure good wireless communication between the in-vehicle device and the portable device.

特開2001−311333号公報JP 2001-31333 A 特開2000−261366号公報JP 2000-261366 A

ところで、上記車両の電子キーシステムにあっては、例えば同一の電子キーシステムを搭載した2つの車両が互いに接近しているような状況下で各車両に搭載された車載装置と携帯機との間で無線通信がそれぞれ行われたような場合に、各車両の電子キーシステムの無線通信が互いに干渉し、無線通信を適切に実行することができなくなるおそれがある。このため、上記スペクトラム拡散変調に基づく通信方式を利用した車両の電子キーシステムでは、こうした無線通信の干渉を回避するために、各車両の電子キーシステムに互いに異なる複数種の拡散符号を割り当てることが望ましい。ちなみに、各車両の電子キーシステムに互いに異なる複数種の拡散符号を割り当てる方法としては、例えば複数種の拡散符号を予め用意するとともに、車両製造時に複数種の拡散符号を各車両にそれぞれ割り当て、この割り当てた拡散符号を車載装置及び携帯機に登録するといった方法が考えられる。   By the way, in the electronic key system of the above-mentioned vehicle, for example, in a situation where two vehicles equipped with the same electronic key system are close to each other, between the in-vehicle device mounted on each vehicle and the portable device When wireless communication is performed in each case, wireless communication of the electronic key system of each vehicle may interfere with each other, and wireless communication may not be performed properly. For this reason, in the vehicle electronic key system using the communication system based on the spread spectrum modulation, a plurality of different types of spreading codes can be assigned to the electronic key system of each vehicle in order to avoid such radio communication interference. desirable. Incidentally, as a method of assigning different types of spreading codes to the electronic key system of each vehicle, for example, a plurality of types of spreading codes are prepared in advance, and at the time of vehicle manufacture, a plurality of types of spreading codes are assigned to each vehicle. A method of registering the assigned spreading code in the in-vehicle device and the portable device is conceivable.

ただし、こうした方法を採用したとすると、車両製造時に、車載装置に登録された拡散符号と同一の拡散符号を携帯機に登録させる工程、すなわち車載装置及び携帯機のそれぞれの拡散符号を同期させる工程などが新たに必要になる。このため、車両を製造する上での工数の増加を招き、ひいては生産コストの増大を招くおそれがある。   However, assuming that such a method is adopted, at the time of vehicle manufacture, a step of registering the same spreading code as the spreading code registered in the in-vehicle device, that is, a step of synchronizing the respective spreading codes of the in-vehicle device and the portable device Etc. are newly required. For this reason, the man-hour in manufacturing a vehicle is caused, and there is a possibility that the production cost may be increased.

このように、スペクトラム拡散変調に基づく通信方式を利用した車両の電子キーシステムにあっては、車載装置と携帯機との間の良好な無線通信を確保しようとすると車両の製造工数の増加や生産コストの増大を招いてしまうといった点で、なお改良の余地を残すものとなっている。   As described above, in an electronic key system for a vehicle using a communication method based on spread spectrum modulation, an attempt to secure good wireless communication between the in-vehicle device and the portable device increases the manufacturing man-hours and production of the vehicle. There is still room for improvement in terms of increasing costs.

本発明は、こうした実情に鑑みてなされたものであり、その目的は、スペクトラム拡散変調に基づく通信方式を採用した場合であれ、車両の製造工数の増加を回避しつつ、車載装置と携帯機との間の良好な無線通信を確保することのできる車両の電子キーシステム及びその設定方法を提供することにある。   The present invention has been made in view of such circumstances, and the purpose thereof is to avoid an increase in the number of manufacturing steps of the vehicle while avoiding an increase in the number of manufacturing steps of the vehicle, even when a communication method based on spread spectrum modulation is adopted. It is an object to provide an electronic key system for a vehicle capable of ensuring good wireless communication between the two and a setting method thereof.

上記課題を解決するために、請求項1に記載の発明は、車両に搭載された車載装置と携帯機との間で無線信号を送受信することにより前記車載装置に登録されている認証コードと前記携帯機に登録されている認証コードとの照合を行い、該照合を通じて互いの認証コードが一致している旨が判断されることを条件として前記車載装置による各種車両制御の実行が許可されるとともに、前記車載装置と前記携帯機との間で無線信号を送受信するにあたり、送信側では、該送信側に設定されている拡散符号により前記無線信号をスペクトラム拡散変調する処理を行い、受信側では、該受信側に設定されている拡散符号により前記スペクトラム拡散変調された信号を復調する処理を行う車両の電子キーシステムにおいて、前記車載装置及び前記携帯機は、前記登録されている前記認証コードに基づいて前記拡散符号をそれぞれ決定することを要旨としている。   In order to solve the above-mentioned problem, the invention according to claim 1 is characterized in that an authentication code registered in the in-vehicle device by transmitting and receiving a radio signal between the in-vehicle device mounted on the vehicle and the portable device, and the The verification with the authentication code registered in the portable device is performed, and execution of various vehicle controls by the in-vehicle device is permitted on condition that it is determined through the verification that the mutual authentication codes match. In transmitting and receiving a radio signal between the in-vehicle device and the portable device, the transmitting side performs a process of performing spread spectrum modulation on the wireless signal with a spread code set on the transmitting side, and on the receiving side, In an electronic key system for a vehicle that performs a process of demodulating the spread spectrum modulated signal using a spreading code set on the receiving side, the in-vehicle device and the portable device It is directed to subject matter determining respectively the spread code on the basis of the authentication code being the registration.

同構成によれば、車載装置に登録されている認証コードと携帯機に登録されている認証コードとが互いに一致することから、車載装置で決定される拡散符号と携帯機で決定される拡散符号とを互いに一致させることができるようになる。すなわち、車載装置及び携帯機のそれぞれの拡散符号の同期を自ずと図ることができるようになる。これにより、車載装置及び携帯機のそれぞれの拡散符号を同期させる工程を車両の製造工程に新たに設ける必要がなくなるため、車両の製造工数の低減を図ることができるようになる。しかも、認証コードは通常、車両毎に互いに異なるため、例えば複数の車両に搭載された車載装置が拡散符号をそれぞれ決定するときに、各車載装置が互いに異なる複数種の拡散符号をそれぞれ決定するようにすることも可能である。そして、このように各車載装置が互いに異なる複数種の拡散符号をそれぞれ決定するようになれば、上述した2つの車両が互いに接近しているような状況下でも、各車両の電子キーシステムにより実行される無線通信の干渉の可能性を低減することができるようになる。このため、車載装置と携帯機との間の良好な無線通信を確保することができるようにもなる。   According to this configuration, since the authentication code registered in the in-vehicle device and the authentication code registered in the portable device match each other, the spreading code determined by the in-vehicle device and the spreading code determined by the portable device Can be matched with each other. That is, the spread codes of the in-vehicle device and the portable device can be automatically synchronized. This eliminates the need to newly provide a process for synchronizing the spreading codes of the in-vehicle device and the portable device in the vehicle manufacturing process, thereby reducing the number of manufacturing steps for the vehicle. In addition, since the authentication codes are usually different for each vehicle, for example, when in-vehicle devices mounted on a plurality of vehicles each determine a spreading code, each in-vehicle device determines a plurality of different types of spreading codes. It is also possible to make it. If each in-vehicle device determines a plurality of different types of spreading codes, the electronic key system of each vehicle executes the situation even when the above-mentioned two vehicles are close to each other. It is possible to reduce the possibility of radio communication interference. For this reason, it becomes possible to ensure good wireless communication between the in-vehicle device and the portable device.

請求項2に記載の発明は、前記車載装置及び前記携帯機は、前記認証コードに所定の演算処理を施すことにより得られる変数値と該変数値により指定される複数種の拡散符号との関係を示す同一のマップをそれぞれ有し、前記認証コードに基づく前記拡散符号の決定が、前記認証コードに所定の演算処理を施して前記変数値を求めた後に、この求めた変数値に基づいて前記マップを用いたマップ演算により前記拡散符号を選定することにより行われることを要旨としている。   According to a second aspect of the present invention, the in-vehicle device and the portable device have a relationship between a variable value obtained by performing predetermined arithmetic processing on the authentication code and a plurality of types of spreading codes specified by the variable value. And determining the spread code based on the authentication code, after performing a predetermined arithmetic process on the authentication code to obtain the variable value, and then based on the obtained variable value The gist is that it is performed by selecting the spreading code by map calculation using a map.

同構成によれば、仮に認証コード及び拡散符号が互いに類似するものでなかったとしても、車載装置及び携帯機は、それぞれに登録されている認証コードに基づいて所定の演算処理及びマップ演算を行うだけで拡散符号を決定することができるため、認証コードに基づく拡散符号の決定を極めて容易に行うことができるようになる。   According to this configuration, even if the authentication code and the spread code are not similar to each other, the in-vehicle device and the portable device perform predetermined calculation processing and map calculation based on the authentication code registered in each of them. Since the spreading code can be determined only by this, the spreading code based on the authentication code can be determined very easily.

そして、請求項1又は2に記載の車両の電子キーシステムに関しては、請求項3に記載の発明によるように、複数の車両を互いに識別するために車両毎に各別に設定される車両識別コードを認証コードに含む場合、認証コードに基づく拡散符号の決定を、車両識別コードに基づく拡散符号の決定として行うといった構成を採用することが有効である。こうした構成を採用すれば、上述した各車載装置で互いに異なる複数種の拡散符号をそれぞれ決定するといった構成を容易に実現することができるようになる。   According to the electronic key system for a vehicle according to claim 1 or 2, as in the invention according to claim 3, a vehicle identification code set separately for each vehicle in order to identify a plurality of vehicles from each other. When included in the authentication code, it is effective to adopt a configuration in which the determination of the spreading code based on the authentication code is performed as the determination of the spreading code based on the vehicle identification code. By adopting such a configuration, it is possible to easily realize a configuration in which each of the on-vehicle devices described above determines a plurality of different types of spreading codes.

請求項4に記載の発明は、請求項1〜3のいずれか一項に記載の車両の電子キーシステムにおいて、前記車載装置と前記携帯機との間で前記スペクトラム拡散変調に基づく無線通信を行ったときに該無線通信が失敗に終わった旨が検知されることに基づいて、前記車載装置及び前記携帯機で決定されたそれぞれの拡散符号が互いに一致していない旨の報知を行う報知手段を更に備えることを要旨としている。   According to a fourth aspect of the present invention, in the electronic key system for a vehicle according to any one of the first to third aspects, wireless communication based on the spread spectrum modulation is performed between the in-vehicle device and the portable device. Notification means for notifying that the respective spread codes determined by the in-vehicle device and the portable device do not match each other based on the fact that the wireless communication has failed The gist is to further provide.

ところで、拡散符号を決定する際に、車載装置、あるいは携帯機に何らかの異常が生じてそれらが誤った拡散符号を決定してしまうと、車載装置及び携帯機で決定されるそれぞれの拡散符号が互いに一致しなくなってしまう。そしてこのような異常事態が生じると、車載装置と携帯機との間の無線通信に不具合が生じるおそれがある。この点、上記構成によれば、車載装置及び携帯機でそれぞれ決定される拡散符号が互いに不一致となるような異常事態が生じた場合には、それらの間でスペクトラム拡散変調に基づく無線通信が失敗に終わった旨が検知されて、報知手段による報知が行われるようになる。これにより、車両の製造工程の作業員はこの報知によって異常事態に気付くことができるため、例えば拡散符号を決定する処理を車載装置及び携帯機に再度行わせるなど、所要の対策を施すことができるようになる。したがって、車載装置及び携帯機で決定されるそれぞれの拡散符号が互いに不一致となるような異常事態を好適に回避することができるようになるため、車載装置及び携帯機の間の正常な無線通信を的確に確保することができるようになる。   By the way, when determining the spreading code, if some abnormality occurs in the in-vehicle device or the portable device and they determine the wrong spreading code, the respective spreading codes determined by the in-vehicle device and the portable device are mutually It will not match. And when such an abnormal situation arises, there exists a possibility that a malfunction may arise in the radio | wireless communication between a vehicle-mounted apparatus and a portable device. In this regard, according to the above configuration, when an abnormal situation occurs in which the spread codes determined by the in-vehicle device and the portable device do not match each other, wireless communication based on spread spectrum modulation fails between them. It is detected that the process has ended, and notification by the notification means is performed. As a result, an operator in the vehicle manufacturing process can be aware of an abnormal situation by this notification, and thus can take necessary measures such as causing the in-vehicle device and the portable device to perform the process of determining the spreading code again. It becomes like this. Therefore, an abnormal situation in which the respective spreading codes determined by the in-vehicle device and the portable device are inconsistent with each other can be suitably avoided, so that normal wireless communication between the in-vehicle device and the portable device can be performed. It will be possible to secure accurately.

請求項5に記載の発明は、請求項4に記載の車両の電子キーシステムにおいて、前記車載装置、もしくは前記携帯機に前記認証コードを登録する際に使用される登録装置を更に備え、前記報知手段が、前記登録装置に設けられてなることを要旨としている。   According to a fifth aspect of the present invention, in the electronic key system for a vehicle according to the fourth aspect of the present invention, the electronic key system further includes a registration device used when registering the authentication code in the in-vehicle device or the portable device, and the notification The gist is that the means is provided in the registration device.

同構成によれば、車載装置や携帯機に新たに報知手段を設ける必要がないため、車載装置や携帯機の構造の簡素化を図ることができるようになる。
請求項6に記載の発明は、車両に搭載された車載装置と携帯機との間で無線信号を送受信することにより前記車載装置に登録されている認証コードと前記携帯機に登録されている認証コードとの照合を行い、該照合を通じて互いの認証コードが一致している旨が判断されることを条件として前記車載装置による各種車両制御の実行が許可されるとともに、前記車載装置と前記携帯機との間で無線信号を送受信するにあたり、送信側では該送信側に設定されている拡散符号により前記無線信号をスペクトラム拡散変調する処理を行い、受信側では該受信側に設定されている拡散符号により前記スペクトラム拡散変調された信号を復調する処理を行う車両の電子キーシステムにおいて、前記認証コード及び前記拡散符号を前記車載装置及び前記携帯機にそれぞれ登録する方法であって、前記車載装置及び前記携帯機に前記認証コードをそれぞれ登録する認証コード登録工程と、前記車載装置及び前記携帯機にそれぞれ登録された認証コードに基づいて前記車載装置及び前記携帯機が前記拡散符号をそれぞれ決定する拡散符号決定工程とを備えることを要旨としている。
According to this configuration, since it is not necessary to newly provide an in-vehicle device or a portable device, the structure of the on-vehicle device or the portable device can be simplified.
According to the sixth aspect of the present invention, an authentication code registered in the in-vehicle device and an authentication registered in the mobile device by transmitting and receiving a radio signal between the in-vehicle device mounted on the vehicle and the portable device. The vehicle-mounted device is allowed to execute various vehicle controls on the condition that the verification codes are matched and it is determined that the authentication codes match each other through the verification, and the vehicle-mounted device and the portable device When transmitting and receiving radio signals to and from the transmitting side, the transmitting side performs spread spectrum modulation processing on the radio signal using the spreading code set on the transmitting side, and the receiving side sets the spreading code set on the receiving side. In an electronic key system for a vehicle that performs a process of demodulating the spread spectrum modulated signal, the authentication code and the spread code are transmitted to the in-vehicle device and the portable device. A registration method for registering the authentication code in the in-vehicle device and the portable device, and the in-vehicle device based on the authentication code registered in the in-vehicle device and the portable device, respectively. The gist of the invention is that the apparatus and the portable device include a spreading code determining step for determining the spreading code.

同車両の電子キーシステムの設定方法によれば、車載装置及び携帯機に認証コードをそれぞれ登録する認証コード登録工程を経た後、それぞれに登録された認証コードに基づいて車載装置及び携帯機が拡散符号をそれぞれ決定するだけで、請求項1に記載の発明の車両の電子キーシステムを容易に実現することができるようになる。   According to the setting method of the electronic key system of the vehicle, after passing through the authentication code registration step of registering the authentication code in the in-vehicle device and the portable device, the in-vehicle device and the portable device are diffused based on the registered authentication code. The vehicle electronic key system according to the first aspect of the present invention can be easily realized simply by determining the respective codes.

請求項7に記載の発明は、請求項6に記載の車両の電子キーシステムの設定方法において、前記拡散符号決定工程の後に前記車載装置と前記携帯機との間で前記スペクトラム拡散変調に基づく無線通信を行うとともに該無線通信が失敗に終わった旨が検知されることに基づいて前記車載装置及び前記携帯機で決定されたそれぞれの拡散符号が互いに一致しない旨の報知を報知手段を通じて行う通信確認工程を更に備えることを要旨としている。   According to a seventh aspect of the present invention, in the method for setting the electronic key system for a vehicle according to the sixth aspect, the wireless communication based on the spread spectrum modulation between the in-vehicle device and the portable device after the spreading code determination step. Communication confirmation is performed by notifying means that the spread codes determined by the in-vehicle device and the portable device do not match each other based on the fact that the wireless communication has been failed and detected that the wireless communication has failed The gist is to further include a process.

同車両の電子キーシステムの設定方法によれば、通信確認工程で報知手段による報知が行われなければ、拡散符号決定工程に異常がなかったことを確認することができる。このため、仮に事後的に車載装置と携帯機との間の無線通信に不具合が生じたとしても、拡散符号の決定には問題がなかったことが予めわかっていれば、その不具合の原因を究明し易くなる。また、車載装置及び携帯機に認証コードをそれぞれ登録する工程においてスペクトラム拡散変調に基づく無線通信を正常に行うことができるか否かを確認することができるため、こうした通信確認工程を車両の製造工程の後工程として別途行う場合と比較すると、車両の製造工数の低減を図ることができるようになる。   According to the setting method of the electronic key system of the vehicle, it is possible to confirm that there is no abnormality in the spreading code determination process if the notification means does not notify in the communication confirmation process. For this reason, if it is known in advance that there is no problem in determining the spreading code even if a problem occurs in the wireless communication between the in-vehicle device and the portable device, the cause of the problem is investigated. It becomes easy to do. In addition, since it is possible to confirm whether or not wireless communication based on spread spectrum modulation can be normally performed in the process of registering the authentication code in the in-vehicle device and the portable device, such communication confirmation process is performed in the vehicle manufacturing process. Compared with the case where it is separately performed as a subsequent process, the number of manufacturing steps of the vehicle can be reduced.

本発明にかかる車両の電子キーシステム及びその設定方法によれば、スペクトラム拡散変調に基づく通信方式を採用した場合であれ、車両の製造工数の増加を回避しつつ、車載装置と携帯機との間の良好な無線通信を確保することができるようになる。   According to the vehicle electronic key system and the setting method thereof according to the present invention, even when a communication method based on spread spectrum modulation is employed, an increase in the number of manufacturing steps of the vehicle can be avoided while the vehicle-mounted device and the portable device are connected. It is possible to ensure good wireless communication.

本発明にかかる車両の電子キーシステムの第1実施形態についてそのシステム構成を示すブロック図。The block diagram which shows the system configuration | structure about 1st Embodiment of the electronic key system of the vehicle concerning this invention. (a),(b)は、同第1実施形態の携帯機の送信装置、及び車載装置の受信装置についてそれらのシステム構成をそれぞれ示すブロック図。(A), (b) is a block diagram which respectively shows those system structures about the transmitter of the portable device of 1st Embodiment, and the receiver of a vehicle-mounted apparatus. 同第1実施形態の車両制御装置のメモリ及び携帯機制御装置のメモリにそれぞれ記憶されている変数値xと拡散符号との関係を示すマップ。The map which shows the relationship between the variable value x each stored in the memory of the vehicle control apparatus of the said 1st Embodiment, and the memory of a portable device control apparatus, and a spreading code. 車両識別コードに基づく拡散符号の選定方法の一例を模式的に示す図。The figure which shows typically an example of the selection method of the spreading code based on a vehicle identification code. 同第1実施形態の車両制御装置及び携帯機制御装置による拡散符号選定処理についてその処理手順を示すフローチャート。The flowchart which shows the process sequence about the spreading | diffusion code selection process by the vehicle control apparatus of 1st Embodiment, and a portable device control apparatus. 同第1実施形態の車両の電子キーシステムについて車両識別コード及び携帯機識別コードを車載装置及び携帯機にそれぞれ登録する工程を示すシーケンスチャート。The sequence chart which shows the process of registering a vehicle identification code and a portable device identification code to an in-vehicle device and a portable device, respectively, for the electronic key system for a vehicle of the first embodiment. 本発明にかかる車両の電子キーシステムの第2実施形態について車両識別コード及び携帯機識別コードを車載装置及び携帯機にそれぞれ登録する工程を示すシーケンスチャート。The sequence chart which shows the process of registering a vehicle identification code and a portable device identification code with an in-vehicle device and a portable device, respectively, for a second embodiment of the electronic key system for a vehicle according to the present invention. 同第2実施形態の車両制御装置による通信確認処理についてその処理手順を示すフローチャート。The flowchart which shows the process sequence about the communication confirmation process by the vehicle control apparatus of the said 2nd Embodiment. 車両識別コードに基づく拡散符号の選定方法の他の例を模式的に示す図。The figure which shows typically the other example of the selection method of the spreading code based on a vehicle identification code. 電子キーシステムの概要を模式的に示す平面図。The top view which shows the outline | summary of an electronic key system typically.

[第1実施形態]
以下、本発明にかかる車両の電子キーシステム、及びその設定方法の第1実施形態について図1〜図6を参照して説明する。なお、本実施形態が適用対象とする電子キーシステムの基本構成は先の図10に例示した電子キーシステムと同様である。図1は、こうした電子キーシステムのシステム構成をブロック図として示したものであり、はじめに、同図1を参照して、この電子キーシステムの構成、動作を説明する。
[First Embodiment]
Hereinafter, a first embodiment of a vehicle electronic key system and a setting method thereof according to the present invention will be described with reference to FIGS. The basic configuration of the electronic key system to which this embodiment is applied is the same as that of the electronic key system illustrated in FIG. FIG. 1 is a block diagram showing the system configuration of such an electronic key system. First, the configuration and operation of this electronic key system will be described with reference to FIG.

同図1に示されるように、この電子キーシステムでは、車両に搭載された車載装置10とユーザが携帯所持する携帯機20との間で無線通信による各種通信制御が実行される。
ここで、車載装置10には、上記車室外通信エリアR1にリクエスト信号Sre1を送信する第1送信装置11、上記車室内通信エリアR2にリクエスト信号Sre2を送信する第2送信装置12、及び携帯機20から送信される応答信号Sanを受信する受信装置13がそれぞれ設けられている。また、この車載装置10には、車両エンジンを始動する際にユーザがプッシュ操作する部分となるスイッチ操作部14aが設けられたエンジンスタートスイッチ14、及び車両エンジンの始動にかかる制御を統括的に司るエンジン始動装置15がそれぞれ設けられている。これらのうち、エンジンスタートスイッチ14は、携帯機20に駆動電波Sivを所定時間送信するイモビアンプ14cとコイルアンテナ14bとを有し、車室内のステアリング装置付近に配設されている。ちなみに、イモビアンプ14cは、携帯機20から送信されるトランスポンダ信号Strを受信する部分でもある。さらに、この車載装置10には、車両ドアのロック/アンロックにかかる制御を統括的に司るドアロック制御装置17が設けられるとともに、車両ドアの開閉操作を検知するドアカーテシスイッチ18も設けられている。そして、上記第1送信装置11及び第2送信装置12を通じたリクエスト信号Sre1,Sre2の送信制御、受信装置13を通じて受信される応答信号Sanの処理、イモビアンプ14cによる駆動電波Sivの送信制御、並びにイモビアンプ14cにより受信されるトランスポンダ信号Strの処理が、同じく車載装置10に設けられている車両制御装置16を通じて行われる。また、この車両制御装置16は、ドアカーテシスイッチ18を通じた車両ドアの開閉操作の検知処理や、スイッチ操作部14aに対する押圧操作の検知処理を行うとともに、エンジン始動装置15やドアロック制御装置17を制御する部分でもある。ちなみに、この車両制御装置16には不揮発性のメモリ16aが内蔵されており、このメモリ16aに、当該車両固有の車両識別コードIDc、及び携帯機20固有の携帯機識別コードIDkがそれぞれ記憶されている。
As shown in FIG. 1, in this electronic key system, various types of communication control by wireless communication are executed between an in-vehicle device 10 mounted on a vehicle and a portable device 20 carried by the user.
Here, the in-vehicle device 10 includes a first transmission device 11 that transmits a request signal Sre1 to the communication area R1 outside the vehicle, a second transmission device 12 that transmits the request signal Sre2 to the communication area R2 in the vehicle, and a portable device. Receiving devices 13 for receiving the response signal San transmitted from 20 are provided. The in-vehicle device 10 is generally responsible for an engine start switch 14 provided with a switch operation unit 14a that is a part to be pushed by the user when starting the vehicle engine, and for controlling the start of the vehicle engine. An engine starting device 15 is provided. Among these, the engine start switch 14 has an immobilizer amplifier 14c that transmits a drive radio wave Siv to the portable device 20 for a predetermined time and a coil antenna 14b, and is disposed near the steering device in the vehicle interior. Incidentally, the immobilizer amplifier 14 c is also a part that receives the transponder signal Str transmitted from the portable device 20. In addition, the in-vehicle device 10 is provided with a door lock control device 17 that comprehensively controls the locking / unlocking of the vehicle door, and a door courtesy switch 18 that detects an opening / closing operation of the vehicle door. . The transmission control of the request signals Sre1 and Sre2 through the first transmission device 11 and the second transmission device 12, the processing of the response signal San received through the reception device 13, the transmission control of the driving radio wave Siv by the immobilizer amplifier 14c, and the immobilizer amplifier The processing of the transponder signal Str received by 14c is performed through the vehicle control device 16 that is also provided in the in-vehicle device 10. Further, the vehicle control device 16 performs detection processing of opening / closing operation of the vehicle door through the door courtesy switch 18 and detection processing of pressing operation to the switch operation unit 14a, and controls the engine start device 15 and the door lock control device 17. It is also a part to do. Incidentally, the vehicle control device 16 includes a non-volatile memory 16a, and a vehicle identification code IDc unique to the vehicle and a portable device identification code IDk unique to the portable device 20 are stored in the memory 16a. Yes.

一方、携帯機20には、車載装置10から送信されるリクエスト信号Sre1,Sre2を受信する受信装置21とともに、リクエスト信号Sre1,Sre2の受信に基づき車載装置10に対して上記応答信号Sanを送信する送信装置22が設けられている。そして、受信装置21を通じて受信されるリクエスト信号Sre1,Sre2に基づく応答信号Sanの生成、並びにこの生成した応答信号Sanの上記送信装置22を通じての送信制御が、同じく携帯機20に設けられている携帯機制御装置23を通じて行われる。ちなみに、この携帯機制御装置23にも不揮発性のメモリ23aが内蔵されており、このメモリ23aに、前述した車両制御装置16のメモリ16aに記憶されている識別コードと同一の識別コード、すなわち車両識別コードIDc及び携帯機識別コードIDkがそれぞれ記憶されている。また、この携帯機20には、上記車載装置10から送信される駆動電波Sivを受信することによって駆動電源を得て起動するトランスポンダ24が内蔵されている。このトランスポンダ24は、駆動電波Sivを受信することによって駆動電源を得て起動したときに、車載装置10に対して上記トランスポンダ信号Strを送信する部分である。ちなみに、トランスポンダ24にも不揮発性のメモリ24aが内蔵されており、このメモリ24aにも携帯機識別コードIDkが記憶されている。   On the other hand, the portable device 20 transmits the response signal San to the in-vehicle device 10 based on the reception of the request signals Sre1 and Sre2 together with the receiving device 21 that receives the request signals Sre1 and Sre2 transmitted from the in-vehicle device 10. A transmission device 22 is provided. The portable device 20 is also provided with the portable device 20 for generating the response signal San based on the request signals Sre1 and Sre2 received through the reception device 21 and controlling the transmission of the generated response signal San through the transmission device 22. This is done through the machine controller 23. Incidentally, the portable device control device 23 also includes a non-volatile memory 23a, and the same identification code as that stored in the memory 16a of the vehicle control device 16 described above, that is, the vehicle, is stored in the memory 23a. An identification code IDc and a portable device identification code IDk are stored. Further, the portable device 20 has a built-in transponder 24 that starts by obtaining a driving power source by receiving the driving radio wave Siv transmitted from the in-vehicle device 10. The transponder 24 is a part that transmits the transponder signal Str to the in-vehicle device 10 when the drive power supply Siv is received and activated by receiving the drive radio wave Siv. Incidentally, the transponder 24 also includes a non-volatile memory 24a, and the portable device identification code IDk is also stored in the memory 24a.

ちなみに、車載装置10及び携帯機20にはそれぞれ専用の登録装置31,32を接続することができ、これらの登録装置31,32を車載装置10及び携帯機20にそれぞれ接続して所定の操作を行うことで、車載装置10及び携帯機20に識別コードを登録することが可能となる。具体的には、上記車両制御装置16のメモリ16aに携帯機識別コードIDkを記憶させたり、あるいは上記携帯機制御装置23のメモリ23aに車両識別コードIDcを記憶させることが可能となる。   Incidentally, dedicated registration devices 31 and 32 can be connected to the in-vehicle device 10 and the portable device 20, respectively, and these registration devices 31 and 32 are connected to the in-vehicle device 10 and the portable device 20 respectively to perform a predetermined operation. By doing so, the identification code can be registered in the in-vehicle device 10 and the portable device 20. Specifically, the portable device identification code IDk can be stored in the memory 16a of the vehicle control device 16, or the vehicle identification code IDc can be stored in the memory 23a of the portable device control device 23.

そして、こうした構成からなる車両の電子キーシステムにあって、車両制御装置16が、メモリ16aに記憶されている車両識別コードIDcなどの情報を含むリクエスト信号Sre1を生成してこれを上記第1送信装置11を介して上記車室外通信エリアR1に送信しているとする。このとき、ユーザが所持する携帯機20が車室外通信エリアR1に進入したとすると、次のような態様にて車載装置10と携帯機20との間で信号の授受が実行される。   In the vehicle electronic key system configured as described above, the vehicle control device 16 generates a request signal Sre1 including information such as the vehicle identification code IDc stored in the memory 16a and transmits the request signal Sre1 to the first transmission. It is assumed that the data is transmitted to the outside communication area R1 via the device 11. At this time, if the portable device 20 possessed by the user enters the vehicle exterior communication area R1, the exchange of signals is executed between the in-vehicle device 10 and the portable device 20 in the following manner.

まず、このシステムでは、リクエスト信号Sre1が携帯機20の受信装置21によって受信されるとともに、このリクエスト信号Sre1が上記携帯機制御装置23に入力される。携帯機制御装置23では、このリクエスト信号Sre1に含まれる車両識別コードIDcと上記メモリ23aに記憶されている車両識別コードIDcとの照合を行い、この照合を通じて互いの車両識別コードが一致しているか否かを判断する。そして、携帯機制御装置23は、互いの車両識別コードが一致している旨を判断すると、リクエスト信号Sre1を送信している車両が正規の車両であると判断して、上記応答信号Sanの送信を行う。すなわち、携帯機制御装置23は、メモリ23aに記憶されている携帯機識別コードIDkなどの情報を含む応答信号Sanを生成してこれを上記送信装置22に出力することにより、この応答信号Sanを上記車載装置10に送信する。このようにして応答信号Sanが送信されることにより、上記車載装置10の受信装置13ではこれを受信するとともに、受信した応答信号Sanを上記車両制御装置16に出力する。これにより、車両制御装置16では、入力された応答信号Sanに含まれる携帯機識別コードIDkと上記メモリ16aに記憶されている携帯機識別コードIDkとの照合を行い、この照合を通じて互いの携帯機識別コードが一致しているか否かを判断する。そして車両制御装置16は、互いの携帯機識別コードが一致している旨を判断すると、携帯機20が正規の携帯機であると判断して、ドアロック制御装置17を駆動させて車両ドアのアンロックを行う。   First, in this system, the request signal Sre1 is received by the receiving device 21 of the portable device 20, and the request signal Sre1 is input to the portable device control device 23. In the portable device control device 23, the vehicle identification code IDc included in the request signal Sre1 is compared with the vehicle identification code IDc stored in the memory 23a. Judge whether or not. When the portable device control device 23 determines that the mutual vehicle identification codes match, the portable device control device 23 determines that the vehicle transmitting the request signal Sre1 is a legitimate vehicle, and transmits the response signal San. I do. That is, the portable device control device 23 generates a response signal San including information such as the portable device identification code IDk stored in the memory 23a, and outputs the response signal San to the transmission device 22, thereby generating the response signal San. It transmits to the said vehicle equipment 10. By transmitting the response signal San in this manner, the receiving device 13 of the in-vehicle device 10 receives the response signal San and outputs the received response signal San to the vehicle control device 16. As a result, the vehicle control device 16 collates the portable device identification code IDk included in the input response signal San with the portable device identification code IDk stored in the memory 16a. It is determined whether or not the identification codes match. When the vehicle control device 16 determines that the portable device identification codes match each other, the vehicle control device 16 determines that the portable device 20 is a regular portable device, and drives the door lock control device 17 to detect the vehicle door. Unlock.

次に、ユーザが車室内に乗り込もうとして車両ドアを開けたとすると、車両制御装置16は、ドアカーテシスイッチ18の動作状態からドアの開操作を検知し、リクエスト信号Sre1の送信を中止するとともに、リクエスト信号Sre2を生成してこれを上記第2送信装置12を介して上記車室内通信エリアR2に送信する。ちなみに、このリクエスト信号Sre2にも、上記リクエスト信号Sre1と同様、車両識別コードIDcなどの情報が含まれている。そして、リクエスト信号Sre2が車室内通信エリアR2に送信されているときに、ユーザが所持する携帯機20が車室内通信エリアR2に進入したとすると、上記車室外通信エリアR1で行われた信号授受と同様の信号授受が車載装置10と携帯機20との間で実行される。そして、車両制御装置16は、互いの携帯機識別コードが一致している旨を判断すると、携帯機20が正規の携帯機であると判断してエンジンの始動を許可する。その後、車両制御装置16は、エンジンの始動を許可している状態でユーザによる上記スイッチ操作部14aの押圧操作を検知すると、エンジン始動装置15を通じてエンジンの始動を行う。   Next, if the user opens the vehicle door in order to get into the vehicle interior, the vehicle control device 16 detects the door opening operation from the operating state of the door courtesy switch 18, stops transmission of the request signal Sre1, and requests A signal Sre2 is generated and transmitted to the vehicle interior communication area R2 via the second transmitter 12. Incidentally, the request signal Sre2 also includes information such as the vehicle identification code IDc as in the request signal Sre1. When the request signal Sre2 is transmitted to the vehicle interior communication area R2, and the portable device 20 possessed by the user enters the vehicle interior communication area R2, the signal transmission / reception performed in the vehicle exterior communication area R1 is performed. The same signal exchange is performed between the in-vehicle device 10 and the portable device 20. When the vehicle control device 16 determines that the portable device identification codes match each other, the vehicle control device 16 determines that the portable device 20 is a regular portable device and permits the start of the engine. Thereafter, the vehicle control device 16 starts the engine through the engine start device 15 when detecting the pressing operation of the switch operation unit 14a by the user in a state where the start of the engine is permitted.

一方、この電子キーシステムにあっては、仮に携帯機20が電池切れ状態になったとすると、リクエスト信号Sre1,Sre2及び応答信号Sanの授受を行うことができなくなり、車両ドアのアンロックやエンジン始動許可を行うことができなくなってしまう。しかしながら、こうした携帯機20の電池切れの際には、ユーザは、携帯機20に付属の機械鍵(図示略)を使用することにより、車両ドアをロック/アンロックすることが可能である。また、ユーザは、車室内において携帯機20をエンジンスタートスイッチ14にかざすことにより、車載装置10と携帯機20との間で無線通信を行うことが可能であり、車載装置10は、この無線通信を通じてエンジン始動許可を行う。ここで、ユーザが携帯機20をエンジンスタートスイッチ14にかざしたとすると、次のような態様にて車載装置10と携帯機20との間で信号の授受が実行される。   On the other hand, in this electronic key system, if the portable device 20 is out of battery, the request signals Sre1 and Sre2 and the response signal San cannot be exchanged, and the vehicle door is unlocked and the engine is started. You will not be able to grant permission. However, when the battery of the portable device 20 runs out, the user can lock / unlock the vehicle door by using a mechanical key (not shown) attached to the portable device 20. The user can perform wireless communication between the in-vehicle device 10 and the portable device 20 by holding the portable device 20 over the engine start switch 14 in the vehicle interior. Allow the engine to start through. Here, if the user holds the portable device 20 over the engine start switch 14, signals are exchanged between the in-vehicle device 10 and the portable device 20 in the following manner.

まず、このシステムでは、ユーザが機械鍵を使用して車両ドアをアンロックさせた後に車室内に乗り込もうとして車両ドアを開けたとすると、車両制御装置16は、ドアカーテシスイッチ18の動作状態からドアの開操作を検知して、リクエスト信号Sre2を車室内通信エリアR2に送信するとともに、イモビアンプ14cから駆動電波Sivを所定時間発信する。ちなみに、車両制御装置16は、リクエスト信号Sre2の送信と駆動電波Sivの送信とを交互に行うため、リクエスト信号Sre2と駆動電波Sivとが混信することはない。そして、携帯機20では、駆動電波Sivをトランスポンダ24によって受信すると同トランスポンダ24が起動し、トランスポンダ24は、メモリ24aに記憶されている携帯機識別コードIDkを含むトランスポンダ信号Strを生成してこれを上記車載装置10に送信する。そして、車載装置10では、トランスポンダ信号Strをイモビアンプ14cにより受信するとともに、この受信したトランスポンダ信号Strを車両制御装置16に出力する。その後、車両制御装置16では、入力されたトランスポンダ信号Strに含まれる携帯機識別コードIDkと上記メモリ16aに記憶されている携帯機識別コードIDkとの照合を行い、互いの携帯機識別コードが一致していることに基づいてエンジンの始動を許可する。そしてこのときにも、車両制御装置16は、ユーザによる上記スイッチ操作部14aの押圧操作を検知すると、エンジン始動装置15を通じてエンジンの始動を行う。   First, in this system, if the user unlocks the vehicle door using a mechanical key and then opens the vehicle door in order to get into the vehicle interior, the vehicle control device 16 changes the door state from the operating state of the door courtesy switch 18. Upon detecting the opening operation, the request signal Sre2 is transmitted to the vehicle interior communication area R2, and the driving radio wave Siv is transmitted from the immobilizer amplifier 14c for a predetermined time. Incidentally, since the vehicle control device 16 alternately transmits the request signal Sre2 and the drive radio wave Siv, the request signal Sre2 and the drive radio wave Siv do not interfere with each other. Then, in the portable device 20, when the driving radio wave Siv is received by the transponder 24, the transponder 24 is activated, and the transponder 24 generates a transponder signal Str including the portable device identification code IDk stored in the memory 24a. It transmits to the said vehicle equipment 10. The in-vehicle device 10 receives the transponder signal Str by the immobilizer amplifier 14 c and outputs the received transponder signal Str to the vehicle control device 16. Thereafter, the vehicle control device 16 collates the portable device identification code IDk included in the input transponder signal Str with the portable device identification code IDk stored in the memory 16a, so that the portable device identification codes are identical. Allow the engine to start based on what you are doing. Also at this time, the vehicle control device 16 starts the engine through the engine start device 15 when detecting the pressing operation of the switch operation unit 14a by the user.

ところで、このような無線通信を通じて信号の授受を行うシステムにあっては、上記通信エリアR1,R2内に車載装置10の受信装置13によって受信可能なノイズ(有害電波)が存在するような場合、上記携帯機から送信される応答信号Sanと共に受信されるノイズの影響が無視できなくなる。すなわち、応答信号Sanに含まれる情報を車載装置10で適切に認識することができなくなるなど、電子キーシステムとして要求される機能に支障をきたすおそれがある。   By the way, in such a system that transmits and receives signals through wireless communication, when there is noise (harmful radio waves) that can be received by the receiving device 13 of the in-vehicle device 10 in the communication areas R1 and R2, The influence of noise received together with the response signal San transmitted from the portable device cannot be ignored. That is, there is a possibility that the function required for the electronic key system may be hindered, such as the information included in the response signal San cannot be properly recognized by the in-vehicle device 10.

そこで、本実施形態にかかる電子キーシステムでは、携帯機20の送信装置22と車載装置10の受信装置13との間の無線通信の方式としてスペクトラム拡散変調に基づく通信方式を採用している。   Therefore, in the electronic key system according to the present embodiment, a communication system based on spread spectrum modulation is employed as a wireless communication system between the transmission device 22 of the portable device 20 and the reception device 13 of the in-vehicle device 10.

図2(a),(b)は、携帯機20の送信装置22及び車載装置10の受信装置13についてそれらの基本構成をそれぞれ示したものであり、次に、この図2(a),(b)を参照して、送信装置22の構成、並びに動作を詳述する。   2 (a) and 2 (b) show the basic configurations of the transmitter 22 of the portable device 20 and the receiver 13 of the in-vehicle device 10, respectively. Next, FIGS. With reference to b), the configuration and operation of the transmitter 22 will be described in detail.

同図2(a)に示されるように、携帯機20の送信装置22には、携帯機制御装置23から出力される応答信号Sanを取り込んで周波数変位変調(FSK変調)を行う変調器22aが設けられており、この変調器22aでは、FSK変調された応答信号Sanを拡散変調器22bに出力する。また、この送信装置22には、PN(Pseudorandom Noise)符号などの拡散符号を上記拡散変調器22bに与える拡散符号発生器22cも設けられている。そして、拡散変調器22bは、拡散符号発生器22cにより与えられる拡散符号を上記FSK変調された応答信号Sanに乗算することによってその周波数帯域を広帯域の周波数帯域に変換する、いわゆる直接拡散方式のスペクトラム拡散を行う部分である。そして、この送信装置22では、拡散変調器22bを通じてスペクトラム拡散された応答信号Sanをアンテナ22dを介して上記車載装置10に送信する構造となっている。   As shown in FIG. 2A, the transmitter 22 of the portable device 20 includes a modulator 22a that takes in the response signal San output from the portable device control device 23 and performs frequency displacement modulation (FSK modulation). The modulator 22a outputs an FSK-modulated response signal San to the spread modulator 22b. The transmission device 22 is also provided with a spread code generator 22c that applies a spread code such as a PN (Pseudorandom Noise) code to the spread modulator 22b. Then, the spread modulator 22b multiplies the FSK modulated response signal San by the spread code given by the spread code generator 22c to convert the frequency band into a wide frequency band, a so-called direct spread spectrum. This is the part that performs diffusion. The transmission device 22 has a structure in which the response signal San that has been subjected to spectrum spread through the spread modulator 22b is transmitted to the in-vehicle device 10 through the antenna 22d.

一方、図2(b)に示されるように、車載装置10の受信装置13は、基本的には、アンテナ13aを介して受信される上記スペクトラム拡散された応答信号Sanに対して上記送信装置22で施された処理と逆の処理を施す部分である。すなわち、この受信装置13には、拡散符号発生器13dにより与えられる拡散符号を上記スペクトラム拡散された応答信号Sanに乗算することにより上記FSK変調された応答信号Sanに復調する逆拡散復調器13bとともに、このFSK変調された応答信号Sanを取り込んでFSK復調を行う復調器13cがそれぞれ設けられている。そして、受信装置13では、こうして復調された応答信号Sanを上記車両制御装置16に出力する構造となっている。   On the other hand, as shown in FIG. 2B, the receiving device 13 of the in-vehicle device 10 basically has the transmitting device 22 in response to the spread spectrum response signal San received via the antenna 13a. This is the part that performs the process opposite to the process performed in. That is, the receiving device 13 includes a despreading demodulator 13b that demodulates the response signal San that has been subjected to FSK modulation by multiplying the spread signal provided by the spread code generator 13d by the spread spectrum response signal San. A demodulator 13c that takes in the FSK modulated response signal San and performs FSK demodulation is provided. The receiving device 13 is configured to output the response signal San demodulated in this way to the vehicle control device 16.

ところで、このように携帯機20の送信装置22と車載装置10の受信装置13との間の無線通信の方式としてスペクトラム拡散変調に基づく通信方式を採用した場合には、送信装置22で使用する拡散符号と、受信装置13で使用する拡散符号とを一致させる、いわゆる拡散符号の同期を図る必要がある。   By the way, when the communication method based on the spread spectrum modulation is adopted as the wireless communication method between the transmission device 22 of the portable device 20 and the reception device 13 of the in-vehicle device 10 as described above, the spreading used in the transmission device 22 is performed. It is necessary to synchronize the so-called spreading code that matches the code and the spreading code used in the receiving device 13.

そこで、本実施形態にかかる車両の電子キーシステムでは、車両制御装置16のメモリ16aに記憶されている車両識別コードIDcと、携帯機制御装置23のメモリ23aに記憶されている車両識別コードIDcとが互いに一致していることに着目して、車両識別コードIDcを利用して拡散符号の同期を図るようにしている。   Therefore, in the vehicle electronic key system according to the present embodiment, the vehicle identification code IDc stored in the memory 16a of the vehicle control device 16 and the vehicle identification code IDc stored in the memory 23a of the portable device control device 23 are used. Paying attention to the fact that the two coincide with each other, the vehicle identification code IDc is used to synchronize the spread codes.

次に、車両識別コードIDcを利用して拡散符号の同期を図る方法についてその一例を先の図2(a),(b)と共に、図3及び図4を併せ参照して説明する。
まずは、図2(a)に示されるように、本実施形態では、拡散符号発生器22cが、互いに異なる16種類の拡散符号A〜Pを拡散変調器22bに与えることが可能なように構成されるとともに、上記車両制御装置16により指定される1種類の拡散符号を上記拡散変調器22bに与えるように構成されている。一方、図2(b)に示されるように、拡散符号発生器13dも、同様に、互いに異なる16種類の拡散符号A〜Pを逆拡散復調器13bに与えることが可能なように構成されるとともに、これら16種類の拡散符号A〜Pのうち、車両制御装置16により指定される1種類の拡散符号を逆拡散復調器13bに与えるように構成されている。
Next, an example of a method of synchronizing the spreading code using the vehicle identification code IDc will be described with reference to FIGS. 3 and 4 together with FIGS. 2 (a) and 2 (b).
First, as shown in FIG. 2 (a), in this embodiment, the spread code generator 22c is configured to be able to give 16 different spread codes A to P to the spread modulator 22b. In addition, one type of spreading code designated by the vehicle control device 16 is provided to the spreading modulator 22b. On the other hand, as shown in FIG. 2 (b), the spread code generator 13d is similarly configured to be able to give different 16 types of spread codes AP to the despread demodulator 13b. At the same time, among the 16 types of spreading codes A to P, one type of spreading code designated by the vehicle control device 16 is provided to the despreading demodulator 13b.

一方、図3に示すように、車両制御装置16のメモリ16a及び携帯機制御装置23のメモリ23aには、「0〜15」の範囲の整数値で示される変数値xと、上記16種類の拡散符号A〜Pとの関係を示す同一のマップがそれぞれ記憶されている。そして、車両制御装置16及び携帯機制御装置23は、このマップ、及びそれぞれのメモリ16a,23aに記憶されている車両識別コードIDcに基づいて以下の(a1),(a2)で示す処理を順次行うことにより拡散符号を選定する。   On the other hand, as shown in FIG. 3, in the memory 16a of the vehicle control device 16 and the memory 23a of the portable device control device 23, the variable value x indicated by an integer value in the range of “0 to 15” and the above 16 types of The same map indicating the relationship with the spreading codes A to P is stored. Then, the vehicle control device 16 and the portable device control device 23 sequentially perform the processing indicated by the following (a1) and (a2) based on this map and the vehicle identification code IDc stored in the respective memories 16a and 23a. A spreading code is selected by performing.

(a1)車両識別コードIDcの下位の4ビットを抜き出してこれを10進数に変換することにより上記変数値xを求める演算処理を行う。
(a2)変数値xを求めた後、同変数値xに基づいて図3に例示したマップを用いたマップ演算を行うことにより拡散符号を選定する。
(A1) The lower 4 bits of the vehicle identification code IDc are extracted and converted to a decimal number to perform the calculation process for obtaining the variable value x.
(A2) After obtaining the variable value x, a spreading code is selected by performing a map operation using the map illustrated in FIG. 3 based on the variable value x.

具体的には、図4に示すように、例えば車両識別コードIDcが16ビットの2進数のコード「0001 0010 0011 0100」として構成されているとする。このとき、車両制御装置16は、メモリ16aに記憶されている車両識別コードIDcの下位の4ビット「0100」を10進数に変換する処理を行うことにより「4」という数値を求めた後、この求めた数値に基づいて先の図3に示したマップを用いてマップ演算を行うことにより拡散符号Eを選定する。一方、携帯機制御装置23のメモリ23aにも、同図に例示するコードと同様の車両識別コードIDcが記憶されているため、携帯機制御装置23は、メモリ23aに記憶されている車両識別コードIDcに対して同様の演算処理及びマップ演算を行うことにより、同様の拡散符号Eを選定する。このように、車両制御装置16及び携帯機制御装置23がそれぞれのメモリ16a,23aに記憶されている車両識別コードIDcに対して図4に例示する演算処理を行えば、車載装置10及び携帯機20のそれぞれの拡散符号の同期を自ずと図ることができるようになる。   Specifically, as shown in FIG. 4, for example, the vehicle identification code IDc is configured as a 16-bit binary code “0001 0010 0011 0100”. At this time, the vehicle control device 16 obtains a numerical value “4” by performing a process of converting the lower 4 bits “0100” of the vehicle identification code IDc stored in the memory 16 a into a decimal number, A spread code E is selected by performing a map operation using the map shown in FIG. 3 based on the obtained numerical value. On the other hand, since the vehicle identification code IDc similar to the code illustrated in the figure is also stored in the memory 23a of the portable device control device 23, the portable device control device 23 stores the vehicle identification code stored in the memory 23a. A similar spreading code E is selected by performing similar arithmetic processing and map arithmetic on IDc. As described above, when the vehicle control device 16 and the portable device control device 23 perform the arithmetic processing illustrated in FIG. 4 on the vehicle identification code IDc stored in the respective memories 16a and 23a, the on-vehicle device 10 and the portable device. Thus, the synchronization of each of the 20 spread codes can be naturally achieved.

また、車両識別コードIDcは通常、車両毎に異なるため、例えば複数の車両に搭載された車載装置が同図4に例示する演算処理をそれぞれ行ったとすると、各車載装置で演算される変数値xが互いに異なった値となる。このため、複数の車両に搭載される各車載装置では、互いに異なる16種類の拡散符号が各別に使用されるようになるため、上述した2つの車両が互いに接近しているような状況下でも、各車両の電子キーシステムにより実行される無線通信の干渉の可能性を低減することができるようになる。このため、車載装置10と携帯機20との間の良好な無線通信を確保することができるようになる。   In addition, since the vehicle identification code IDc is usually different for each vehicle, for example, if an in-vehicle device mounted on a plurality of vehicles performs the arithmetic processing illustrated in FIG. 4, a variable value x calculated by each in-vehicle device. Are different from each other. For this reason, in each in-vehicle device mounted on a plurality of vehicles, since 16 types of different spreading codes are used separately, even under the situation where the two vehicles mentioned above are close to each other, It becomes possible to reduce the possibility of interference of wireless communication executed by the electronic key system of each vehicle. For this reason, the favorable radio | wireless communication between the vehicle equipment 10 and the portable device 20 can be ensured now.

図5は、車両制御装置16及び携帯機制御装置23を通じてそれぞれ実行される、車両識別コードIDcに基づいて拡散符号を選定する処理についてその処理手順を示したものであり、次に、同図5に基づいてこの処理の具体的手順を総括する。   FIG. 5 shows the processing procedure for the process of selecting a spread code based on the vehicle identification code IDc, which is executed through the vehicle control device 16 and the portable device control device 23, respectively. Based on the above, the specific procedure of this process will be summarized.

同図5に示されるように、この処理では、はじめに、上記車両制御装置16のメモリ16a、あるいは携帯機制御装置23のメモリ23aに記憶されている車両識別コードIDcを読み込んだ後(ステップS1)、先の図4に例示した演算処理が実行される。すなわち、車両識別コードIDcに基づいて変数値xを求めた後(ステップS2)、求めた変数値xに基づいて先の図3に例示したマップを用いたマップ演算により拡散符号が選定される(ステップS3)。そして、この選定された拡散符号の情報が車両制御装置16のメモリ16a、あるいは携帯機制御装置23のメモリ23aに記憶された後(ステップS4)、この一連の処理が終了される。   As shown in FIG. 5, in this process, first, after reading the vehicle identification code IDc stored in the memory 16a of the vehicle control device 16 or the memory 23a of the portable device control device 23 (step S1). The arithmetic processing illustrated in FIG. 4 is executed. That is, after obtaining the variable value x based on the vehicle identification code IDc (step S2), a spreading code is selected by map calculation using the map illustrated in FIG. Step S3). Then, after the information on the selected spreading code is stored in the memory 16a of the vehicle control device 16 or the memory 23a of the portable device control device 23 (step S4), this series of processing is terminated.

次に、車両識別コードIDc及び携帯機識別コードIDkを車載装置10及び携帯機20にそれぞれ登録する工程において図5に例示した拡散符号選定処理を実行したときの車載装置10及び携帯機20のそれぞれの拡散符号の同期が図られる様子について図6のシーケンスチャートを参照して説明する。なお、この登録工程を実行する前の時点では、車両制御装置16のメモリ16aには車両識別コードIDcのみが、また、携帯機制御装置23のメモリ23aには携帯機識別コードIDkのみがそれぞれ記憶されている。   Next, each of the in-vehicle device 10 and the portable device 20 when the spreading code selection process illustrated in FIG. 5 is executed in the step of registering the vehicle identification code IDc and the portable device identification code IDk in the in-vehicle device 10 and the portable device 20, respectively. The manner in which the spreading codes are synchronized will be described with reference to the sequence chart of FIG. It should be noted that at the time before this registration process is executed, only the vehicle identification code IDc is stored in the memory 16a of the vehicle control device 16, and only the portable device identification code IDk is stored in the memory 23a of the portable device control device 23. Has been.

同図6に示されるように、この登録工程では、はじめに、作業員によって上記登録装置31,32が車載装置10及び携帯機20に接続されるとともに、接続された登録装置31,32を所要に操作することによって車載装置10及び携帯機20が登録処理モードにそれぞれ設定される。すなわち、車両制御装置16が携帯機識別コードIDkの登録を受け付ける状態に設定されるとともに、携帯機制御装置23が車両識別コードIDcの登録を受け付ける状態に設定される。なお、車載装置10及び携帯機20は、登録処理モードに設定されたとき、互いの無線通信を可能にすべく、上記16種類の拡散符号のうちのいずれか1種類の同一の拡散符号、例えば拡散符号Aを用いるようにそれぞれ設定されて、それぞれの拡散符号の同期が図られる。   As shown in FIG. 6, in this registration process, first, the registration devices 31 and 32 are connected to the in-vehicle device 10 and the portable device 20 by an operator, and the connected registration devices 31 and 32 are required. By operating, the in-vehicle device 10 and the portable device 20 are respectively set to the registration processing mode. That is, the vehicle control device 16 is set in a state of accepting registration of the portable device identification code IDk, and the portable device control device 23 is set in a state of accepting registration of the vehicle identification code IDc. Note that when the in-vehicle device 10 and the portable device 20 are set to the registration processing mode, any one of the above 16 types of spreading codes, for example, the same spreading code, for example, to enable wireless communication with each other, for example, Each spreading code A is set to be used, and each spreading code is synchronized.

そして、車載装置10及び携帯機20が登録処理モードにそれぞれ設定された後、車両側に接続された登録装置31を作業員が再度操作することによって同登録装置31から車載装置10に登録処理開始コマンドが入力されると、一連の登録工程が開始される。この登録工程は、大きくは、車載装置10及び携帯機20に車両識別コードIDc及び携帯機識別コードIDkをそれぞれ登録する認証コード登録工程と、登録された車両識別コードIDcに基づいて車載装置10及び携帯機20が拡散符号を決定する拡散符号決定工程とから構成されている。   Then, after each of the in-vehicle device 10 and the portable device 20 is set to the registration processing mode, when the operator operates the registration device 31 connected to the vehicle side again, the registration processing starts from the registration device 31 to the in-vehicle device 10. When a command is input, a series of registration processes is started. This registration process mainly includes an authentication code registration step of registering the vehicle identification code IDc and the portable device identification code IDk in the vehicle-mounted device 10 and the portable device 20, respectively, and the vehicle-mounted device 10 and the portable device identification code IDc based on the registered vehicle identification code IDc. The portable device 20 includes a spreading code determining step for determining a spreading code.

ここで、この登録工程では、まず、車両制御装置16が登録処理開始コマンドの入力を検知すると、イモビアンプ14cから駆動電波Sivを所定時間送信する。このとき、作業員が携帯機20をエンジンスタートスイッチ14にかざすと、携帯機20では、駆動電波Sivがトランスポンダ24によって受信されて同トランスポンダ24が起動し、トランスポンダ24は、メモリ24aに記憶されている携帯機識別コードIDkを含むトランスポンダ信号Strを生成してこれを上記車載装置10に送信する。そして、車載装置10では、このトランスポンダ信号Strをイモビアンプ14cによって受信するとともに、車両制御装置16は、受信したトランスポンダ信号Strに含まれる携帯機識別コードIDkをメモリ16aに記憶させる。   Here, in this registration step, first, when the vehicle control device 16 detects the input of the registration process start command, the driving radio wave Siv is transmitted from the immobilizer amplifier 14c for a predetermined time. At this time, when the worker holds the portable device 20 over the engine start switch 14, the portable device 20 receives the driving radio wave Siv by the transponder 24, and the transponder 24 is activated, and the transponder 24 is stored in the memory 24a. A transponder signal Str including the portable device identification code IDk is generated and transmitted to the in-vehicle device 10. In the in-vehicle device 10, the transponder signal Str is received by the immobilizer amplifier 14c, and the vehicle control device 16 stores the portable device identification code IDk included in the received transponder signal Str in the memory 16a.

次に、車両制御装置16は、内蔵するメモリ16aに記憶される車両識別コードIDcを含むリクエスト信号Sre2を生成するとともに、生成したリクエスト信号Sre2を上記車室内通信エリアR2に送信する。そうすると、携帯機20では、このリクエスト信号Sre2を受信装置21によって受信するとともに、携帯機制御装置23は、このリクエスト信号Sre2に含まれる車両識別コードIDcをメモリ23aに記憶させる。そして、ここまでの一連の登録工程を通じて、車載装置10及び携帯機20に同一の車両識別コードIDc及び同一の携帯機識別コードIDkがそれぞれ登録された状態になる。その後、携帯機制御装置23は、車両識別コードIDcを正常に登録することができた旨の情報を含む応答信号Sanを生成してこれを車載装置10に送信する。   Next, the vehicle control device 16 generates a request signal Sre2 including the vehicle identification code IDc stored in the built-in memory 16a, and transmits the generated request signal Sre2 to the vehicle interior communication area R2. Then, in the portable device 20, the request signal Sre2 is received by the receiving device 21, and the portable device control device 23 stores the vehicle identification code IDc included in the request signal Sre2 in the memory 23a. Then, through the series of registration steps so far, the same vehicle identification code IDc and the same portable device identification code IDk are registered in the in-vehicle device 10 and the portable device 20, respectively. Thereafter, the portable device control device 23 generates a response signal San including information indicating that the vehicle identification code IDc has been successfully registered, and transmits this to the in-vehicle device 10.

その後、携帯機制御装置23は、車両識別コードIDcを正常に登録することができた旨の情報を含む応答信号Sanを生成してこれを車載装置10に送信するとともに、先の図5に例示した処理を実行する。一方、車載装置10は、この応答信号Sanを受信装置13によって受信すると、同応答信号Sanに含まれる情報に基づいて携帯機20が車両識別コードIDcを正常に登録することができた旨を検知し、先の図5に例示した処理を実行する。このとき、車両制御装置16のメモリ16aに記憶されている車両識別コードIDcと、携帯機制御装置23のメモリ23aに記憶されている車両識別コードIDcとが互いに一致しているため、車載装置10及び携帯機20は同一の拡散符号をそれぞれ選定する。すなわち、車載装置10及び携帯機20のそれぞれの拡散符号の同期を自ずと図ることができるようになる。これにより、車両の製造工程において車載装置10及び携帯機20のそれぞれの拡散符号を同期させる工程を新たに設ける必要がなくなるため、車両の製造工数の低減を図ることができるようになる。   Thereafter, the portable device control device 23 generates a response signal San including information indicating that the vehicle identification code IDc has been successfully registered and transmits the response signal San to the in-vehicle device 10, as illustrated in FIG. 5 above. Execute the process. On the other hand, when the in-vehicle device 10 receives this response signal San by the receiving device 13, it detects that the portable device 20 has successfully registered the vehicle identification code IDc based on the information included in the response signal San. Then, the process illustrated in FIG. 5 is executed. At this time, the vehicle identification code IDc stored in the memory 16a of the vehicle control device 16 and the vehicle identification code IDc stored in the memory 23a of the portable device control device 23 coincide with each other. And the portable device 20 selects the same spreading code. That is, the spread codes of the in-vehicle device 10 and the portable device 20 can be automatically synchronized. As a result, it is not necessary to newly provide a step of synchronizing the respective spread codes of the in-vehicle device 10 and the portable device 20 in the vehicle manufacturing process, so that the number of vehicle manufacturing steps can be reduced.

ところで、本実施形態にかかる電子キーシステムも含めて、従来のシステムでは、例えば車載装置10や携帯機20に何らかの故障が生じた場合に車両識別コードIDcや拡散符号などの登録情報が消えてしまうことも考えられるため、例えばディーラが車載装置10や携帯機20に拡散符号を再度設定することができるようにしておくことが望ましい。ここで、前述のように、複数種の拡散符号を予め用意するとともに、車両製造時に複数種の拡散符号を各車両にそれぞれ割り当てるようにしたとすると、ディーラは、各車両に割り当てた拡散符号を事後的に特定することができるように、例えば各車両に割り当てた拡散符号を所定のデータベースなどに記憶させて管理する必要がある。ただしこの場合には、車両の数に比例して拡散符号の数も増加することから、データベースの管理が煩雑になるおそれがある。また、ディーラは、拡散符号を車載装置10や携帯機20に再度設定する際に、各車両に対応した拡散符号をデータベースから読み込む作業や、読み込んだ拡散符号を車載装置10及び携帯機20にそれぞれ登録させる作業などを行う必要があり、拡散符号を再度設定する手続きが煩雑になるおそれがある。   By the way, in the conventional system including the electronic key system according to the present embodiment, the registration information such as the vehicle identification code IDc and the spread code disappears when some trouble occurs in the in-vehicle device 10 or the portable device 20, for example. For this reason, for example, it is desirable that the dealer can set the spreading code in the in-vehicle device 10 or the portable device 20 again. Here, as described above, when a plurality of types of spreading codes are prepared in advance and a plurality of types of spreading codes are assigned to each vehicle at the time of vehicle manufacture, the dealer assigns the spreading code assigned to each vehicle. For example, the spreading code assigned to each vehicle needs to be stored and managed in a predetermined database so that it can be identified later. However, in this case, since the number of spreading codes increases in proportion to the number of vehicles, the database management may become complicated. In addition, when the dealer sets the spreading code in the in-vehicle device 10 or the portable device 20 again, the dealer reads the spreading code corresponding to each vehicle from the database, or reads the read spreading code into the in-vehicle device 10 and the portable device 20, respectively. There is a need to perform registration and the like, and the procedure for setting the spreading code again may be complicated.

この点、本実施形態にかかる車両の電子キーシステムでは、車載装置10及び携帯機20に車両識別コードIDc及び携帯機識別コードIDkをそれぞれ登録すれば拡散符号を自ずと設定することができるため、拡散符号をデータベースに記憶させて管理しておく必要がなくなり、ひいてはディーラの管理作業を削減することができるようになる。また、ディーラは、車載装置10や携帯機20に拡散符号を再度設定する際に、車両識別コードIDc及び携帯機識別コードIDkを車載装置10及び携帯機20にそれぞれ登録する作業、すなわち従来の登録作業を行うだけで拡散符号を車載装置10や携帯機20に再度登録させることができるようになる。このため、拡散符号を再度設定する手続きの複雑化を回避することができるようにもなる。   In this regard, in the vehicle electronic key system according to the present embodiment, since the vehicle identification code IDc and the portable device identification code IDk are respectively registered in the in-vehicle device 10 and the portable device 20, the spreading code can be set naturally. It is not necessary to store the codes in the database and manage them, so that the management work of the dealer can be reduced. The dealer also registers the vehicle identification code IDc and the portable device identification code IDk in the vehicle-mounted device 10 and the portable device 20 respectively when the spreading code is set again in the vehicle-mounted device 10 and the portable device 20, that is, conventional registration. The spreading code can be registered again in the in-vehicle device 10 or the portable device 20 simply by performing the work. For this reason, it becomes possible to avoid the complexity of the procedure for setting the spreading code again.

以上説明したように、本実施形態にかかる車両の電子キーシステム、及びその設定方法によれば、以下のような効果が得られるようになる。
(1)車載装置10及び携帯機20が互いに異なる16種類の拡散符号のうちのいずれか1種類の拡散符号を選定して使用する構成とした上で、車両制御装置16及び携帯機制御装置23にそれぞれ登録されている車両識別コードIDcに基づいて拡散符号の選定を行うようにした。これにより、車両の製造工程において車載装置10及び携帯機20のそれぞれの拡散符号の同期を自ずと図ることができるようになるため、車両の製造工数の低減を図ることができるようになる。また、複数の車両に搭載される各車載装置では互いに異なる16種類の拡散符号が各別に使用されるようになるため、2つの車両が互いに接近しているような状況下でも、各車両の電子キーシステムにより実行される無線通信の干渉の可能性を低減することができるようになる。したがって、車載装置10と携帯機20との間の良好な無線通信を確保することができるようになる。さらに、ディーラは、車載装置10や携帯機20に拡散符号を再度設定する状況に備えて拡散符号を所定のデータベースなどに記憶させて管理しておく必要がないため、ディーラの管理作業の削減を図ることができるようにもなる。また、ディーラは、車載装置10や携帯機20に拡散符号を再度設定する際に、各車両に対応した拡散符号をデータベースから読み込む作業などを行う必要がないため、拡散符号を再度設定する手続の複雑化を回避することができるようにもなる。
As described above, according to the vehicle electronic key system and the setting method thereof according to the present embodiment, the following effects can be obtained.
(1) The vehicle control device 16 and the portable device control device 23 are configured so that the in-vehicle device 10 and the portable device 20 select and use any one of the 16 different spread codes. The spreading code is selected based on the vehicle identification code IDc registered in each. Thereby, since it becomes possible to naturally synchronize the spread codes of the in-vehicle device 10 and the portable device 20 in the vehicle manufacturing process, it is possible to reduce the number of manufacturing steps of the vehicle. In addition, since each of the in-vehicle devices mounted on a plurality of vehicles uses 16 different types of spreading codes, the electronic devices of each vehicle can be used even when two vehicles are close to each other. It becomes possible to reduce the possibility of interference of wireless communication performed by the key system. Therefore, good wireless communication between the in-vehicle device 10 and the portable device 20 can be ensured. Furthermore, since the dealer does not need to store and manage the spreading code in a predetermined database or the like in preparation for the situation where the spreading code is set again in the in-vehicle device 10 or the portable device 20, the management work of the dealer can be reduced. It will be possible to plan. In addition, the dealer does not need to read the spreading code corresponding to each vehicle from the database when setting the spreading code in the in-vehicle device 10 or the portable device 20 again. It becomes possible to avoid complication.

(2)互いに異なる16種類の拡散符号と変数値xの関係を示す同一のマップを車両制御装置16及び携帯機制御装置23に記憶させた上で、車両識別コードIDcに演算処理を施すことにより変数値xを取得した後に、取得した変数値xに基づいたマップ演算を行うことにより拡散符号を選定するようにした。これにより、仮に車両識別コードIDc及び拡散符号が互いに類似するものでなかったとしても、車両制御装置16及び携帯機制御装置23は、それぞれに登録されている車両識別コードIDcに基づいて上述した演算処理及びマップ演算を行うだけで拡散符号を決定することができる。このため、車両識別コードIDcに基づく拡散符号の決定を容易に行うことができるようになる。
[第2実施形態]
続いて、本発明にかかる車両の電子キーシステム、及びその設定方法の第2実施形態について、図7及び図8を参照して説明する。なお、この第2実施形態も電子キーシステムとしての基本構成は先の図1や図2に示した構成に準ずるものであり、ここでは先の図6に対応する図として、登録工程を図7に示している。なお、以下では、図1や図2に示した要素と同一の要素にはそれぞれ同一の符号を付すことにより重複する説明を割愛し、以下では両者の相違点を中心に説明する。
(2) By storing the same map showing the relationship between 16 different spreading codes and variable value x in the vehicle control device 16 and the portable device control device 23, the vehicle identification code IDc is subjected to arithmetic processing. After obtaining the variable value x, a spreading code is selected by performing a map operation based on the obtained variable value x. Thus, even if the vehicle identification code IDc and the spreading code are not similar to each other, the vehicle control device 16 and the portable device control device 23 perform the above-described calculation based on the vehicle identification code IDc registered in each. A spreading code can be determined simply by performing processing and map calculation. For this reason, it becomes possible to easily determine the spread code based on the vehicle identification code IDc.
[Second Embodiment]
Next, a second embodiment of the vehicle electronic key system and its setting method according to the present invention will be described with reference to FIGS. In the second embodiment, the basic configuration of the electronic key system is similar to the configuration shown in FIGS. 1 and 2, and the registration process is shown in FIG. 7 as a diagram corresponding to FIG. It shows. In the following description, the same elements as those shown in FIGS. 1 and 2 are denoted by the same reference numerals, and redundant description is omitted, and the differences between the two will be mainly described below.

上述のように、車両識別コードIDcに基づいて拡散符号を決定すれば、基本的には、車載装置10及び携帯機20でそれぞれ決定される拡散符号が互いに一致するようになる。ただし、車載装置10及び携帯機20が先の図6に例示した拡散符号選定処理を実行する際に、何らかの異常が生じてそれらが誤った拡散符号を決定してしまうと、車載装置10及び携帯機20で決定されるそれぞれの拡散符号が互いに一致しなくなってしまう。そしてこのような異常事態が生じると、車載装置10と携帯機20との間の無線通信に不具合が生じるおそれがある。   As described above, if the spreading code is determined based on the vehicle identification code IDc, basically, the spreading codes respectively determined by the in-vehicle device 10 and the portable device 20 coincide with each other. However, when the in-vehicle device 10 and the portable device 20 execute the spreading code selection process illustrated in FIG. 6 above, if any abnormality occurs and they determine an incorrect spreading code, the in-vehicle device 10 and the portable device 20 The spreading codes determined by the machine 20 do not match each other. And when such an abnormal situation arises, there exists a possibility that a malfunction may arise in the radio | wireless communication between the vehicle-mounted apparatus 10 and the portable device 20. FIG.

そこで本実施形態では、車載装置10及び携帯機20で上記拡散符号選定処理を行った後に、車載装置10と携帯機20との間でスペクトラム拡散変調に基づく無線通信を実際に行って、それらの間で無線通信を正常に行うことができるか否かを確認する通信確認工程を設けるようにしている。また、先の図1に示されるように、車載装置10に接続される登録装置31に発行ダイオード(LED)31aを設けた上で、スペクトラム拡散変調に基づく無線通信が失敗に終わった旨が通信確認工程で検知された場合には、LED31aを点灯させてその旨を作業員に報知するようにしている。ちなみに、報知手段であるLED31aを登録装置31に設けることにより、例えば車載装置10や携帯機20に新たに報知手段を設ける必要がなくなるため、車載装置10や携帯機20の構造の簡素化を図ることができるようになる。   So, in this embodiment, after performing the said spreading code selection process with the vehicle equipment 10 and the portable device 20, the wireless communication based on spread spectrum modulation is actually performed between the vehicle equipment 10 and the portable device 20, A communication confirmation step for confirming whether or not wireless communication can be normally performed is provided. In addition, as shown in FIG. 1 above, after providing the issuance diode (LED) 31a in the registration device 31 connected to the in-vehicle device 10, the communication that the wireless communication based on the spread spectrum modulation has failed is communicated. When it is detected in the confirmation process, the LED 31a is turned on to notify the operator of that fact. Incidentally, by providing the registration device 31 with the LED 31a that is a notification means, for example, it is not necessary to newly provide a notification means in the in-vehicle device 10 or the portable device 20, so the structure of the in-vehicle device 10 or the portable device 20 is simplified. Will be able to.

図7は、上述のように、登録工程をシーケンスチャートとして示したものである。
同図7に示されるように、この通信確認工程では、上記車載装置10によって上記拡散符号選定処理が実行された後、車両制御装置16が、通信確認要求信号Scdを生成してこれを上記車室内通信エリアR2に送信する。
FIG. 7 shows the registration process as a sequence chart as described above.
As shown in FIG. 7, in this communication confirmation step, after the spread code selection process is executed by the in-vehicle device 10, the vehicle control device 16 generates a communication confirmation request signal Scd and outputs it to the vehicle. It transmits to indoor communication area R2.

そうすると、携帯機20では、この通信確認要求信号Scdを上記受信装置21によって受信するとともに、この通信確認要求信号Scdが携帯機制御装置23に入力される。携帯機制御装置23では、こうして通信確認要求信号Scdが入力されると、通信確認応答信号Scaを生成してこれを送信装置22を出力する。このとき、送信装置22では、携帯機20で決定された拡散符号に基づいて通信確認応答信号Scaをスペクトラム拡散変調する処理が行われて、スペクトラム拡散変調された通信確認応答信号Scaを車載装置10に送信する。   Then, in the portable device 20, the communication confirmation request signal Scd is received by the receiving device 21, and the communication confirmation request signal Scd is input to the portable device control device 23. When the communication confirmation request signal Scd is input in this way, the portable device control device 23 generates a communication confirmation response signal Sca and outputs it to the transmission device 22. At this time, the transmission device 22 performs a process for performing spread spectrum modulation on the communication confirmation response signal Sca based on the spread code determined by the portable device 20, and transmits the spread spectrum modulated communication confirmation response signal Sca to the in-vehicle device 10. Send to.

続いて、車載装置10では、このスペクトラム拡散変調された通信確認応答信号Scaを受信装置13によって受信するとともに、受信装置13では、車載装置10で決定された拡散符号に基づいて通信確認応答信号Scaを復調する処理が行われて、復調された通信確認応答信号Scaを車両制御装置16に出力する。車両制御装置16では、こうして通信確認応答信号Scaが入力されると、携帯機20と正常な無線通信を行うことができた旨を判断して、その旨を示す正常受信通知信号Snrを上記車室内通信エリアR2に送信し、一連の登録処理を終了する。   Subsequently, the in-vehicle device 10 receives the spread spectrum modulated communication confirmation response signal Sca by the receiving device 13, and the receiving device 13 receives the communication confirmation response signal Sca based on the spread code determined by the in-vehicle device 10. Is demodulated, and the demodulated communication confirmation response signal Sca is output to the vehicle control device 16. When the communication confirmation response signal Sca is input in this manner, the vehicle control device 16 determines that normal wireless communication with the portable device 20 has been performed, and sends a normal reception notification signal Snr indicating that to the vehicle control device 16. It transmits to indoor communication area R2, and a series of registration processes are complete | finished.

一方、携帯機20では、正常受信通知信号Snrを受信装置21によって受信して、この受信した正常受信通知信号Snrが携帯機制御装置23に入力されると、携帯機制御装置23では、車載装置10と正常な無線通信を行うことができた旨を判断して、一連の登録処理を終了する。   On the other hand, in the portable device 20, when the normal reception notification signal Snr is received by the reception device 21 and the received normal reception notification signal Snr is input to the portable device control device 23, the portable device control device 23 receives the in-vehicle device. 10, it is determined that normal wireless communication has been performed, and the series of registration processing is terminated.

ところで、上述のように、仮に車載装置10及び携帯機20でそれぞれ決定された拡散符号が互いに不一致となるような異常事態が生じたとすると、携帯機20から送信される通信確認応答信号Scaを車載装置10が受信することができなくなる。そこで、本実施形態では、車載装置10が通信確認要求信号Scdを送信した後に所定時間経過しても通信確認応答信号Scaを受信することができなかった場合には、異常事態が生じた旨を報知するようにしている。具体的には、車両制御装置16から上記登録装置31にLED点灯指令を発信してLED31aを点灯させることで異常事態を報知するようにしている。これにより、車載装置10及び携帯機20で決定されたそれぞれの拡散符号が互いに一致していない旨を作業員に対して報知することができるようになる。   By the way, as described above, if an abnormal situation occurs in which the spread codes determined by the in-vehicle device 10 and the portable device 20 are inconsistent with each other, the communication confirmation response signal Sca transmitted from the portable device 20 is transmitted to the in-vehicle device. The device 10 cannot receive. Thus, in the present embodiment, if the communication confirmation response signal Sca cannot be received even after a predetermined time has elapsed after the in-vehicle device 10 transmits the communication confirmation request signal Scd, it indicates that an abnormal situation has occurred. I am trying to inform you. Specifically, the vehicle control device 16 sends an LED lighting command to the registration device 31 to turn on the LED 31a so as to notify the abnormal situation. As a result, it is possible to notify the worker that the respective spreading codes determined by the in-vehicle device 10 and the portable device 20 do not match each other.

図8は、車両制御装置16を通じて実行される、通信確認要求信号Scd及び通信確認応答信号Scaの送受信に基づいて携帯機20との通信確認を行う処理についてその処理手順を示したものであり、次に、同図8に基づいて同処理の具体的手順を総括する。   FIG. 8 shows a processing procedure for processing for confirming communication with the portable device 20 based on transmission / reception of the communication confirmation request signal Scd and the communication confirmation response signal Sca, which is executed through the vehicle control device 16. Next, the specific procedure of the process will be summarized based on FIG.

同図8に示されるように、この処理では、はじめに、上記通信確認要求信号Scdを車室内通信エリアR2に送信し(ステップS10)、その後、通信確認要求信号Scdを送信してから所定時間が経過したか否かが判断される(ステップS11)。具体的には、車両制御装置16の内部タイマを通じて通信確認要求信号Scdを送信した時点からの経過時間が計測されるとともに、この経過時間が所定時間以上となったことに基づいて、通信確認要求信号Scdを送信してから所定時間が経過した旨が判断される。またこのとき、ステップS12において通信確認応答信号Scaを受信することができたか否かも併せて監視される。そして、通信確認要求信号Scdを送信してから所定時間が経過しておらず(ステップS11:NO)、且つその期間に通信確認応答信号Scaを受信することができた場合には(ステップS12:YES)、すなわち携帯機20と正常な無線通信を行うことができた旨が検知された場合には、上記正常受信通知信号Snrを車室内通信エリアR2に送信して(ステップS13)、車両制御装置16はこの一連の処理を終了する。   As shown in FIG. 8, in this process, first, the communication confirmation request signal Scd is transmitted to the vehicle interior communication area R2 (step S10), and then a predetermined time has elapsed since the communication confirmation request signal Scd was transmitted. It is determined whether or not it has elapsed (step S11). Specifically, the elapsed time from the time when the communication confirmation request signal Scd is transmitted through the internal timer of the vehicle control device 16 is measured, and the communication confirmation request is made based on the fact that this elapsed time has reached a predetermined time or more. It is determined that a predetermined time has elapsed since the signal Scd was transmitted. At this time, whether or not the communication confirmation response signal Sca has been received in step S12 is also monitored. If the predetermined time has not elapsed since the transmission of the communication confirmation request signal Scd (step S11: NO), and the communication confirmation response signal Sca can be received during that period (step S12: YES), that is, when it is detected that normal wireless communication with the portable device 20 has been performed, the normal reception notification signal Snr is transmitted to the vehicle interior communication area R2 (step S13), and vehicle control is performed. The device 16 ends this series of processing.

一方、通信確認応答信号Scaを受信することができずに(ステップS12:NO)、通信確認要求信号Scdを送信してから所定時間が経過した場合には(ステップS11:YES)、すなわち携帯機20との無線通信が失敗に終わった旨が検知された場合には、LED点灯指令を上記登録装置31に発信して(ステップS14)、車両制御装置16はこの一連の処理を終了する。   On the other hand, when the communication confirmation response signal Sca cannot be received (step S12: NO) and a predetermined time has elapsed since the communication confirmation request signal Scd was transmitted (step S11: YES), that is, the portable device When it is detected that the wireless communication with 20 has failed, an LED lighting command is transmitted to the registration device 31 (step S14), and the vehicle control device 16 ends this series of processing.

車両の電子キーシステムとしてのこうした構成によれば、車載装置10及び携帯機20でそれぞれ決定される拡散符号が互いに不一致となるような異常事態が生じた場合には、登録装置31のLED31aが点灯することにより異常事態の報知が行われる。これにより、車両の製造工程の作業員はこの報知によって異常事態に気付くことができるため、例えば先の図7に例示した登録工程を再度行うなど、所要の対策を施すことができるようになる。したがって、車載装置10及び携帯機20で決定されるそれぞれの拡散符号が互いに不一致となるような異常事態を好適に回避することができるようになるため、車載装置10及び携帯機20の間の正常な無線通信を的確に確保することができるようになる。   According to such a configuration as the electronic key system of the vehicle, the LED 31a of the registration device 31 is lit when an abnormal situation occurs in which the spreading codes determined by the in-vehicle device 10 and the portable device 20 are not consistent with each other. By doing so, the abnormal situation is notified. As a result, the worker in the vehicle manufacturing process can be aware of the abnormal situation by this notification, so that the necessary measures can be taken, for example, the registration process illustrated in FIG. 7 is performed again. Therefore, an abnormal situation in which the respective spreading codes determined by the in-vehicle device 10 and the portable device 20 are inconsistent with each other can be preferably avoided. Wireless communication can be ensured accurately.

また、車両の製造工程においては、LED31aが点灯しなければ上述した拡散符号決定工程に異常がなかったことを確認することができる。このため、仮に事後的に車載装置10と携帯機20との間の無線通信に不具合が生じたとしても、拡散符号の決定には問題がなかったことが予めわかっていれば、その不具合の原因を究明し易くなる。また、一連の登録工程においてスペクトラム拡散変調に基づく無線通信を正常に行うことができるか否かを確認することができるため、通信確認工程を車両の製造工程の後工程として別途行う場合と比較すると、車両の製造工数の低減を図ることができるようになる。   In the vehicle manufacturing process, if the LED 31a is not turned on, it can be confirmed that there is no abnormality in the above-described spreading code determination process. For this reason, even if there is a problem in the wireless communication between the in-vehicle device 10 and the portable device 20 afterwards, if it is known in advance that there is no problem in determining the spreading code, the cause of the problem It becomes easy to investigate. In addition, since it is possible to confirm whether or not wireless communication based on spread spectrum modulation can be normally performed in a series of registration processes, compared with a case where the communication confirmation process is separately performed as a subsequent process of the vehicle manufacturing process. Thus, it becomes possible to reduce the number of manufacturing steps of the vehicle.

以上説明したように、本実施形態にかかる電子キーシステム、及びその設定方法によっても、先の第1の実施形態による上記(1)及び(2)の効果と同等、もしくはそれらに準じた効果が得られるとともに、更に以下の効果が得られるようになる。   As described above, the electronic key system according to the present embodiment and the setting method thereof also have effects equivalent to or equivalent to the effects (1) and (2) of the first embodiment. In addition, the following effects can be obtained.

(3)車載装置10と携帯機20との間でスペクトラム拡散変調に基づく無線通信を行うとともに、該無線通信が失敗に終わった旨が検知されることに基づいて、登録装置31のLED31aを点灯させるようにした。これにより、車載装置10及び携帯機20でそれぞれ決定される拡散符号が互いに不一致となるような異常事態に作業員が気付いて所要の対策を施すことができるようになるため、車載装置10及び携帯機20の間の正常な無線通信を的確に確保することができるようになる。   (3) The wireless communication based on the spread spectrum modulation is performed between the in-vehicle device 10 and the portable device 20, and the LED 31a of the registration device 31 is turned on when it is detected that the wireless communication has failed. I tried to make it. As a result, an operator can be aware of an abnormal situation in which the spreading codes determined by the in-vehicle device 10 and the portable device 20 are inconsistent with each other, and can take necessary measures. It is possible to accurately ensure normal wireless communication between the devices 20.

(4)車載装置10及び携帯機20でそれぞれ決定される拡散符号が互いに一致していない旨を報知する報知手段を、登録装置31に設けたLED31aによって実現するようにした。これにより、車載装置10や携帯機20に新たに報知手段を設ける必要がなくなるため、車載装置10や携帯機20の構造の簡素化を図ることができるようになる。   (4) The notification means for notifying that the spreading codes determined by the in-vehicle device 10 and the portable device 20 do not match each other is realized by the LED 31a provided in the registration device 31. Thereby, since it becomes unnecessary to provide a notification means in the vehicle-mounted apparatus 10 or the portable device 20, the structure of the vehicle-mounted device 10 or the portable device 20 can be simplified.

(5)電子キーシステムの登録工程において、拡散符号決定工程の後に通信確認工程を行うようにした。これにより、拡散符号決定工程に異常がなかったことを確認することができるようになるため、仮に事後的に車載装置10と携帯機20との間の無線通信に不具合が生じたとしても、拡散符号の決定に問題がなかったことが予めわかっていれば、その不具合の原因を究明し易くなる。また、一連の登録工程において通信確認を行うことができるため、通信確認工程を車両の製造工程の後工程として別途行う場合と比較すると、車両の製造工数の低減を図ることができるようになる。
[他の実施形態]
なお、上記各実施形態は、これを適宜変更した以下の形態にて実施することもできる。
(5) In the electronic key system registration process, the communication confirmation process is performed after the spreading code determination process. As a result, it is possible to confirm that there is no abnormality in the spreading code determination process. Therefore, even if a problem occurs in the wireless communication between the in-vehicle device 10 and the portable device 20 later, the spreading code If it is known in advance that there is no problem in the determination of the code, it becomes easy to investigate the cause of the malfunction. In addition, since communication confirmation can be performed in a series of registration processes, compared with a case where the communication confirmation process is separately performed as a subsequent process of the vehicle manufacturing process, the number of manufacturing steps of the vehicle can be reduced.
[Other Embodiments]
In addition, each said embodiment can also be implemented with the following forms which changed this suitably.

・上記第2実施形態では、スペクトラム拡散変調に基づく無線通信が失敗に終わった旨の報知を、登録装置31のLED31aを点灯させることで行うようにした。これに代えて、例えば車両に搭載されたブザーやホーンを鳴動させたり、あるいはインストルメントパネルに警告灯を点灯させるなどして報知を行うようにしてもよい。また、例えば携帯機20に実装された表示装置、具体的には液晶ディスプレイやLEDなどを利用して報知を行うようにしてもよい。要は、車載装置10及び携帯機20で決定されたそれぞれの拡散符号が互いに一致していない旨を報知することができるものであればよい。   In the second embodiment, the notification that the wireless communication based on the spread spectrum modulation has failed is performed by turning on the LED 31a of the registration device 31. Instead of this, for example, a buzzer or a horn mounted on the vehicle may be sounded or a warning light may be turned on on the instrument panel. Further, for example, the notification may be performed using a display device mounted on the portable device 20, specifically, a liquid crystal display, an LED, or the like. In short, what is necessary is just to be able to notify that the spreading codes determined by the in-vehicle device 10 and the portable device 20 do not match each other.

・車両識別コードIDcに所定の演算処理を施すことにより変数値xを求めた後、この求めた変数値xに基づいてマップ演算を行うことにより1種類の拡散符号を選定する方法として、以下の(b1),(b2)で示す方法を採用してもよい。   As a method of selecting one type of spreading code by obtaining a variable value x by performing a predetermined computation process on the vehicle identification code IDc and then performing a map computation based on the obtained variable value x, You may employ | adopt the method shown by (b1) and (b2).

(b1)車両識別コードIDcのビット列全体を10進数の数値に変換した後、その変換した数値を所定のハッシュ関数により「0〜15」の範囲の変数値xに変換する演算処理を行う。   (B1) After the entire bit string of the vehicle identification code IDc is converted into a decimal value, an arithmetic process is performed to convert the converted value into a variable value x in the range of “0 to 15” using a predetermined hash function.

(b2)変数値xを求めた後、同変数値xに基づいて先の図3に例示したマップを用いたマップ演算を行うことにより拡散符号を選定する。
具体的には、図9に示すように、例えば車両識別コードIDcが16ビットの2進数のコード「0001 0010 0011 0100」として構成されているとする。このとき、車両制御装置16及び携帯機制御装置23は、内蔵されるメモリ16a,23aに記憶されている車両識別コードIDcを10進数の数値に変換する演算処理を行うことにより「4660」という整数値をそれぞれ求める。また、車両制御装置16及び携帯機制御装置23は、こうして求めた整数値「4660」をハッシュ関数により変換することにより「4」という数値を求めた後、この求めた数値に基づいて先の図3に例示したマップを用いてマップ演算を行うことにより拡散符号Eをそれぞれ選定する。こうした方法であっても拡散符号を選定することは可能である。要は、車両識別コードIDcに所定の演算処理を施して変数値xを求めた後に、この求めた変数値xに基づいて先の図3に例示したマップを用いたマップ演算により拡散符号を選定するものであればよい。
(B2) After obtaining the variable value x, a spread code is selected by performing a map operation using the map illustrated in FIG. 3 based on the variable value x.
Specifically, as shown in FIG. 9, for example, it is assumed that the vehicle identification code IDc is configured as a 16-bit binary code “0001 0010 0011 0100”. At this time, the vehicle control device 16 and the portable device control device 23 perform an arithmetic process of converting the vehicle identification code IDc stored in the built-in memories 16a and 23a into a decimal number, thereby adjusting the number “4660”. Find each number. Further, the vehicle control device 16 and the portable device control device 23 obtain a numerical value “4” by converting the integer value “4660” thus obtained by a hash function, and then based on the obtained numerical value, The spread code E is selected by performing map calculation using the map illustrated in FIG. Even with this method, it is possible to select a spreading code. In short, after a predetermined calculation process is performed on the vehicle identification code IDc to obtain a variable value x, a spread code is selected by a map calculation using the map illustrated in FIG. 3 based on the obtained variable value x. Anything to do.

・上記各実施形態では、携帯機20の送信装置22において応答信号SanをFSK変調するようにしたが、これに代えて、例えば携帯機20の送信装置22において応答信号Sanを振幅偏移変調(ASK変調)したり、あるいは位相偏移変調(PSK変調)してもよい。また、これに併せて、車載装置10の受信装置13において応答信号SanをASK復調したり、あるいはPSK復調してもよい。   In each of the above embodiments, the response signal San is FSK modulated in the transmission device 22 of the portable device 20, but instead, for example, the response signal San is amplitude-shift-modulated (in the transmission device 22 of the portable device 20). ASK modulation) or phase shift keying (PSK modulation) may be performed. In addition to this, the response signal San may be ASK demodulated or PSK demodulated in the receiving device 13 of the in-vehicle device 10.

・上記各実施形態では、車載装置10及び携帯機20は、登録処理モードに設定されたとき、16種類の拡散符号のうちのいずれか一種類の同一の拡散符号をそれぞれ用いるようにした。これに代えて、例えば車載装置10及び携帯機20が登録処理モードに設定されている期間、携帯機20の拡散変調器22bによる拡散変調の機能、及び車載装置10の逆拡散復調器13bによる逆拡散復調の機能を一時的に停止するようにしてもよい。   In each of the above embodiments, the in-vehicle device 10 and the portable device 20 each use any one of the 16 types of spreading codes when set to the registration processing mode. Instead, for example, during the period when the in-vehicle device 10 and the portable device 20 are set to the registration processing mode, the function of the spread modulation by the spread modulator 22b of the portable device 20 and the inverse by the despreading demodulator 13b of the in-vehicle device 10 are used. The function of spread demodulation may be temporarily stopped.

・上記各実施形態では、車載装置10の受信装置13及び携帯機20の送信装置22が、互いに異なる16種類の拡散符号A〜Pを設定することができるようにそれぞれ構成されていたが、これに代えて、例えば17種類以上、あるいは2種類〜15種類の拡散符号を設定することができるようにそれぞれ構成されていてもよい。   In each of the above embodiments, the receiving device 13 of the in-vehicle device 10 and the transmitting device 22 of the portable device 20 are each configured to be able to set 16 different types of spreading codes AP, but this Instead, for example, 17 or more types, or 2 to 15 types of spreading codes may be set.

・上記各実施形態では、携帯機20の送信装置22と車載装置10の受信装置13との間の無線通信の方式にスペクトラム拡散変調に基づく通信方式を採用した。これに加え、例えば携帯機20の受信装置21によって受信可能なノイズの影響も懸念される場合には、車載装置10の第1及び第2送信装置11,12と携帯機20の受信装置21との間の無線通信の方式にもスペクトラム拡散変調に基づく通信方式を採用してもよい。あるいは、それらの間の無線通信の方式にのみスペクトラム拡散変調に基づく通信方式を採用してもよい。なお、それらの間の無線通信の方式としてスペクトラム拡散変調に基づく通信方式を採用した場合には、例えば先の図7に例示した登録工程を行った際に、携帯機20が通信確認要求信号Scdを受信することができないときに所定の報知を行うことが有効である。こうした報知を行うことにより、それらの間でスペクトラム拡散変調に基づく無線通信を正常に行うことができるか否かを確認することができるようにもなる。   In each of the above embodiments, a communication method based on spread spectrum modulation is adopted as a wireless communication method between the transmission device 22 of the portable device 20 and the reception device 13 of the in-vehicle device 10. In addition to this, for example, when the influence of noise that can be received by the receiving device 21 of the portable device 20 is also concerned, the first and second transmitting devices 11 and 12 of the in-vehicle device 10 and the receiving device 21 of the portable device 20 A communication system based on spread spectrum modulation may be adopted as a wireless communication system between the two. Alternatively, a communication system based on spread spectrum modulation may be adopted only for a wireless communication system between them. When a communication system based on spread spectrum modulation is adopted as a wireless communication system between them, for example, when the registration process illustrated in FIG. 7 is performed, the portable device 20 transmits a communication confirmation request signal Scd. It is effective to perform a predetermined notification when it is not possible to receive the message. By performing such notification, it becomes possible to confirm whether or not radio communication based on spread spectrum modulation can be normally performed between them.

・上記各実施形態では、車両識別コードIDcから拡散符号を決定する方法として、車両識別コードIDcに演算処理を施して変数値xを求めた後に、この求めた変数値xに基づいて図3に例示したマップを用いたマップ演算により拡散符号を選定する方法を採用した。こうした車両識別コードIDcから拡散符号を決定する方法については、1つの車両識別コードIDcから1つの拡散符号を一義的に決定する方法であればよい。ただし、拡散符号から車両識別コードIDcを特定可能にする必要はない。   In each of the above embodiments, as a method for determining the spreading code from the vehicle identification code IDc, after calculating the variable value x by performing arithmetic processing on the vehicle identification code IDc, FIG. 3 shows the variable value x based on the obtained variable value x. A method of selecting a spreading code by map calculation using the illustrated map was adopted. The method for determining the spread code from the vehicle identification code IDc may be any method that uniquely determines one spread code from one vehicle identification code IDc. However, it is not necessary to be able to specify the vehicle identification code IDc from the spread code.

・上記各実施形態では、認証コードとして使用される車両識別コードIDc及び携帯機識別コードIDkのうち、車両識別コードIDcに基づいて拡散符号の選定を行うようにした。これに代えて、携帯機識別コードIDkに基づいて拡散符号の選定を行うようにしてもよい。要は、車載装置10及び携帯機20がそれぞれ有している共通の認証コードに基づいて拡散符号の選定を行う構成であればよい。
(付記)
次に、上記実施形態及びその変形例から把握できる技術的思想について追記する。
In each of the above embodiments, the spread code is selected based on the vehicle identification code IDc among the vehicle identification code IDc and the portable device identification code IDk used as the authentication code. Instead of this, the spread code may be selected based on the portable device identification code IDk. In short, any configuration may be used as long as the spread code is selected based on a common authentication code that each of the in-vehicle device 10 and the portable device 20 has.
(Appendix)
Next, a technical idea that can be grasped from the above embodiment and its modifications will be additionally described.

(イ)請求項2に記載の車両の電子キーシステムにおいて、前記所定の演算処理が、前記車両識別コードを構成するビット列の一部を抜き出した後に、その抜き出したビット列の一部を10進数の数値に変換することにより前記複数種の拡散符号を指定する変数値を求める演算処理であることを特徴とする車両の電子キーシステム。同構成によれば、上記車両識別コードと上記複数種の拡散符号を指定するための変数値とが互いに一致していない場合であっても、車両識別コードから上記複数種の拡散符号を指定するための変数値を極めて容易に求めることができるようになるため、上述したマップ演算を極めて容易に行うことができるようになる。   (A) In the electronic key system for a vehicle according to claim 2, after the predetermined calculation process extracts a part of the bit string constituting the vehicle identification code, the part of the extracted bit string is converted to a decimal number. An electronic key system for a vehicle, which is a calculation process for obtaining a variable value for designating the plurality of types of spreading codes by converting to a numerical value. According to this configuration, even if the vehicle identification code and the variable values for designating the plurality of types of spreading codes do not match each other, the plurality of types of spreading codes are designated from the vehicle identification code. Therefore, the map operation described above can be performed very easily.

(ロ)請求項2に記載の車両の電子キーシステムにおいて、前記所定の演算処理が、前記車両識別コードを構成するビット列全体を10進数の数値に変換した後に、その変換した数値をハッシュ関数により前記複数種の拡散符号を指定する変数値に変換する演算処理であることを特徴とする車両の電子キーシステム。同構成によれば、上記車両識別コードと上記複数種の拡散符号を指定するための変数値とが互いに一致していない場合であっても、車両識別コードから上記複数種の拡散符号を指定するための変数値を極めて容易に求めることができるようになり、ひいては上述したマップ演算を極めて容易に行うことができるようになる。   (B) In the vehicle electronic key system according to claim 2, after the predetermined calculation process converts the entire bit string constituting the vehicle identification code into a decimal number, the converted value is converted into a hash function. An electronic key system for a vehicle, wherein the electronic key system is a calculation process for converting the plurality of types of spreading codes into variable values that designate the spread codes. According to this configuration, even if the vehicle identification code and the variable values for designating the plurality of types of spreading codes do not match each other, the plurality of types of spreading codes are designated from the vehicle identification code. Therefore, it is possible to determine the variable value for the above-mentioned reasonably easily, and as a result, the above-described map calculation can be performed very easily.

San…応答信号、Sca…通信確認応答信号、Scd…通信確認要求信号、Snr…正常受信通知信号、Siv…駆動電波、Str…トランスポンダ信号、Sre1,Sre2…リクエスト信号、10…車載装置、11,12,22…送信装置、13,21…受信装置、13a,22d…アンテナ、13b…逆拡散復調器、13c…復調器、13d,22c…拡散符号発生器、14…エンジンスタートスイッチ、14a…スイッチ操作部、14b…コイルアンテナ、14c…イモビアンプ、15…エンジン始動装置、16…車両制御装置、16a,23a,24a…メモリ、17…ドアロック制御装置、18…ドアカーテシスイッチ、20…携帯機、22a…変調器、22b…拡散変調器、23…携帯機制御装置、24…トランスポンダ、31,32…登録装置、31a…発行ダイオード(LED)。   San ... Response signal, Sca ... Communication confirmation response signal, Scd ... Communication confirmation request signal, Snr ... Normal reception notification signal, Siv ... Drive radio wave, Str ... Transponder signal, Sre1, Sre2 ... Request signal, 10 ... In-vehicle device, 11, DESCRIPTION OF SYMBOLS 12, 22 ... Transmitter, 13, 21 ... Receiver, 13a, 22d ... Antenna, 13b ... Despreading demodulator, 13c ... Demodulator, 13d, 22c ... Spreading code generator, 14 ... Engine start switch, 14a ... Switch Operation part, 14b ... Coil antenna, 14c ... Immobilizer amplifier, 15 ... Engine starting device, 16 ... Vehicle control device, 16a, 23a, 24a ... Memory, 17 ... Door lock control device, 18 ... Door courtesy switch, 20 ... Portable machine, 22a ... modulator, 22b ... diffusion modulator, 23 ... portable device control device, 24 ... transponder, 1,32 ... registration device, 31a ... emitting diode (LED).

Claims (7)

車両に搭載された車載装置と携帯機との間で無線信号を送受信することにより前記車載装置に登録されている認証コードと前記携帯機に登録されている認証コードとの照合を行い、該照合を通じて互いの認証コードが一致している旨が判断されることを条件として前記車載装置による各種車両制御の実行が許可されるとともに、前記車載装置と前記携帯機との間で無線信号を送受信するにあたり、送信側では、該送信側に設定されている拡散符号により前記無線信号をスペクトラム拡散変調する処理を行い、受信側では、該受信側に設定されている拡散符号により前記スペクトラム拡散変調された信号を復調する処理を行う車両の電子キーシステムにおいて、
前記車載装置及び前記携帯機は、前記登録されている前記認証コードに基づいて前記拡散符号をそれぞれ決定する
ことを特徴とする車両の電子キーシステム。
An authentication code registered in the in-vehicle device and an authentication code registered in the mobile device are verified by transmitting and receiving a radio signal between the in-vehicle device mounted on the vehicle and the portable device, and the verification Execution of various vehicle controls by the in-vehicle device is permitted on the condition that it is determined that the authentication codes of each other match, and wireless signals are transmitted and received between the in-vehicle device and the portable device At the transmission side, the wireless signal is subjected to spread spectrum modulation processing using a spread code set on the transmission side, and on the reception side, the spread spectrum modulation is performed using the spread code set on the reception side. In an electronic key system for a vehicle that performs processing for demodulating a signal,
The vehicle-mounted device and the portable device each determine the spreading code based on the registered authentication code.
前記車載装置及び前記携帯機は、前記認証コードに所定の演算処理を施すことにより得られる変数値と該変数値により指定される複数種の拡散符号との関係を示す同一のマップをそれぞれ有し、前記認証コードに基づく前記拡散符号の決定が、前記認証コードに所定の演算処理を施して前記変数値を求めた後に、この求めた変数値に基づいて前記マップを用いたマップ演算により前記拡散符号を選定することにより行われる
請求項1に記載の車両の電子キーシステム。
The in-vehicle device and the portable device each have the same map indicating the relationship between a variable value obtained by performing a predetermined calculation process on the authentication code and a plurality of types of spreading codes specified by the variable value. The determination of the spreading code based on the authentication code is performed by performing a predetermined calculation process on the authentication code to obtain the variable value, and then performing the spreading by map operation using the map based on the obtained variable value. The vehicle electronic key system according to claim 1, wherein the electronic key system is performed by selecting a code.
前記認証コードは、複数の車両を互いに識別するために車両毎に各別に設定される車両識別コードを含み、前記認証コードに基づく前記拡散符号の決定が、前記車両識別コードに基づく前記拡散符号の決定として行われる
請求項1又は2に記載の車両の電子キーシステム。
The authentication code includes a vehicle identification code set for each vehicle in order to identify a plurality of vehicles from each other, and the determination of the spreading code based on the authentication code is based on the spreading code based on the vehicle identification code. The vehicle electronic key system according to claim 1, wherein the electronic key system is performed as a decision.
請求項1〜3のいずれか一項に記載の車両の電子キーシステムにおいて、
前記車載装置と前記携帯機との間で前記スペクトラム拡散変調に基づく無線通信を行ったときに該無線通信が失敗に終わった旨が検知されることに基づいて、前記車載装置及び前記携帯機で決定されたそれぞれの拡散符号が互いに一致していない旨の報知を行う報知手段を更に備える
ことを特徴とする車両の電子キーシステム。
The vehicle electronic key system according to any one of claims 1 to 3,
When the wireless communication based on the spread spectrum modulation is performed between the in-vehicle device and the portable device, it is detected that the wireless communication has failed, and the in-vehicle device and the portable device An electronic key system for a vehicle, further comprising notification means for notifying that the determined spreading codes do not match each other.
請求項4に記載の車両の電子キーシステムにおいて、
前記車載装置、もしくは前記携帯機に前記認証コードを登録する際に使用される登録装置を更に備え、前記報知手段が、前記登録装置に設けられてなる
ことを特徴とする車両の電子キーシステム。
The electronic key system for a vehicle according to claim 4,
An electronic key system for a vehicle, further comprising a registration device used when registering the authentication code in the in-vehicle device or the portable device, wherein the notification means is provided in the registration device.
車両に搭載された車載装置と携帯機との間で無線信号を送受信することにより前記車載装置に登録されている認証コードと前記携帯機に登録されている認証コードとの照合を行い、該照合を通じて互いの認証コードが一致している旨が判断されることを条件として前記車載装置による各種車両制御の実行が許可されるとともに、前記車載装置と前記携帯機との間で無線信号を送受信するにあたり、送信側では、該送信側に設定されている拡散符号により前記無線信号をスペクトラム拡散変調する処理を行い、受信側では、該受信側に設定されている拡散符号により前記スペクトラム拡散変調された信号を復調する処理を行う車両の電子キーシステムにおいて、前記認証コード及び前記拡散符号を前記車載装置及び前記携帯機にそれぞれ登録する方法であって、
前記車載装置及び前記携帯機に前記認証コードをそれぞれ登録する認証コード登録工程と、
前記車載装置及び前記携帯機にそれぞれ登録された認証コードに基づいて前記車載装置及び前記携帯機が前記拡散符号をそれぞれ決定する拡散符号決定工程と、
を備える車両の電子キーシステムの設定方法。
An authentication code registered in the in-vehicle device and an authentication code registered in the mobile device are verified by transmitting and receiving a radio signal between the in-vehicle device mounted on the vehicle and the portable device, and the verification Execution of various vehicle controls by the in-vehicle device is permitted on the condition that it is determined that the authentication codes of each other match, and wireless signals are transmitted and received between the in-vehicle device and the portable device At the transmission side, the wireless signal is subjected to spread spectrum modulation processing using a spread code set on the transmission side, and on the reception side, the spread spectrum modulation is performed using the spread code set on the reception side. In an electronic key system for a vehicle that performs a process of demodulating a signal, the authentication code and the spread code are registered in the in-vehicle device and the portable device, respectively. There is provided a method,
An authentication code registration step of registering the authentication code in the in-vehicle device and the portable device,
A spreading code determining step in which the in-vehicle device and the portable device respectively determine the spreading code based on authentication codes registered in the in-vehicle device and the portable device;
A method for setting an electronic key system for a vehicle comprising:
請求項6に記載の車両の電子キーシステムの設定方法において、
前記拡散符号決定工程の後に前記車載装置と前記携帯機との間で前記スペクトラム拡散変調に基づく無線通信を行うとともに、該無線通信が失敗に終わった旨が検知されることに基づいて前記車載装置及び前記携帯機で決定されたそれぞれの拡散符号が互いに一致しない旨の報知を報知手段を通じて行う通信確認工程を更に備える
車両の電子キーシステムの設定方法。
In the setting method of the electronic key system of vehicles according to claim 6,
The in-vehicle device is configured to perform wireless communication based on the spread spectrum modulation between the in-vehicle device and the portable device after the spreading code determination step and detect that the wireless communication has failed. And a communication confirmation step of notifying through the notification means that the respective spreading codes determined by the portable device do not match each other.
JP2009173296A 2009-05-01 2009-07-24 Electronic key system for vehicle and setting method thereof Expired - Fee Related JP5319436B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009173296A JP5319436B2 (en) 2009-05-01 2009-07-24 Electronic key system for vehicle and setting method thereof

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2009111883 2009-05-01
JP2009111883 2009-05-01
JP2009173296A JP5319436B2 (en) 2009-05-01 2009-07-24 Electronic key system for vehicle and setting method thereof

Publications (2)

Publication Number Publication Date
JP2010280368A JP2010280368A (en) 2010-12-16
JP5319436B2 true JP5319436B2 (en) 2013-10-16

Family

ID=43537532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009173296A Expired - Fee Related JP5319436B2 (en) 2009-05-01 2009-07-24 Electronic key system for vehicle and setting method thereof

Country Status (1)

Country Link
JP (1) JP5319436B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106515660A (en) * 2016-08-31 2017-03-22 安徽通宇电子股份有限公司 Automobile remote control

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5922419B2 (en) 2012-01-31 2016-05-24 株式会社東海理化電機製作所 Wireless communication system
JP5866216B2 (en) * 2012-01-31 2016-02-17 株式会社東海理化電機製作所 Electronic key registration system
JP6194801B2 (en) * 2014-01-20 2017-09-13 株式会社デンソー Portable communication device, vehicle control device, and vehicle control system
JP6840374B2 (en) * 2016-07-20 2021-03-10 株式会社ユピテル Systems, equipment and programs
JP6960652B2 (en) * 2016-07-20 2021-11-05 株式会社ユピテル Systems, equipment and programs
JP6932287B2 (en) * 2019-03-15 2021-09-08 三菱電機株式会社 Radio equipment, radio equipment aggregation station, multi-hop radio communication system, radio parameter determination method, control circuit and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4117520B2 (en) * 2000-09-04 2008-07-16 横河電機株式会社 Electronic lock control system
JP4470978B2 (en) * 2007-08-30 2010-06-02 トヨタ自動車株式会社 Receiving apparatus and wireless communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106515660A (en) * 2016-08-31 2017-03-22 安徽通宇电子股份有限公司 Automobile remote control

Also Published As

Publication number Publication date
JP2010280368A (en) 2010-12-16

Similar Documents

Publication Publication Date Title
JP5319436B2 (en) Electronic key system for vehicle and setting method thereof
CN106553616B (en) Intelligent key system
JP4356748B2 (en) Vehicle control system, in-vehicle device, and portable device
US8638202B2 (en) Keyfob proximity theft notification
US7388466B2 (en) Integrated passive entry and remote keyless entry system
US8860550B2 (en) In-vehicle device controller
US8164417B2 (en) In-vehicle apparatus remote control system and in-vehicle apparatus remote control method
JP2018062306A (en) Biometric authentication combined electronic key system
JP4690218B2 (en) Portable device having wireless communication function
JP2013147849A (en) Electronic key device and master unit to be used for the same
JP2008084120A (en) Electronic control device
JP4181177B2 (en) In-vehicle device remote control device
JP2008092267A (en) Vehicle-mounted device remote control system and method
JP2011021369A (en) Electronic key system for vehicle
JP2005320708A (en) Electronic key system, electronic key and transmitter
JP2007142886A (en) Wireless communication control system
JP4474683B2 (en) Smart keyless system
JP2017112533A (en) Vehicle communication system, on-vehicle device, and portable device
JP5375782B2 (en) Portable device, in-vehicle device, and vehicle system
JP4953164B2 (en) Vehicle radio wave alarm system
JP5502769B2 (en) Electronic key system
JP4534566B2 (en) Vehicle remote control device
JP5629590B2 (en) Electronic key registration system
JP2009089240A (en) Communication control system
JP2008202305A (en) Security control device, portable machine and security control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130305

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130711

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees