TW201315883A - Electronic key - Google Patents

Electronic key Download PDF

Info

Publication number
TW201315883A
TW201315883A TW101137380A TW101137380A TW201315883A TW 201315883 A TW201315883 A TW 201315883A TW 101137380 A TW101137380 A TW 101137380A TW 101137380 A TW101137380 A TW 101137380A TW 201315883 A TW201315883 A TW 201315883A
Authority
TW
Taiwan
Prior art keywords
electronic key
information
counter
storage area
wireless signal
Prior art date
Application number
TW101137380A
Other languages
Chinese (zh)
Other versions
TWI550171B (en
Inventor
Yuki Kunieda
Masayuki Kawamura
Tetsuya Kawamura
Takashi Okumura
Takahiro Kobayashi
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
Publication of TW201315883A publication Critical patent/TW201315883A/en
Application granted granted Critical
Publication of TWI550171B publication Critical patent/TWI550171B/en

Links

Abstract

Disclosed is an electronic key that enables a communication object to authenticate the key in the event of a power short interruption. The key is provided with a counter, which consumes the power of a battery and will be incremented each time the switch is operated. When the switch is operated, the electronic key transmits wireless signals including the first information used as the value of the counter and the inherent key information of the electronic key. A communication host, upon receiving wireless signals, determines whether the first information and the key information correspond to the communication host, and if the first information and the key information correspond to the communicating host, equipment of the communication host is activated, wherein the communication host stores, upon receiving the wireless signals that correspond to the communicating host, the first information contained in the received wireless signals as the second information, and when the first information contained in the wireless signals received subsequently is greater than the stored second information, it is determined that the received wireless signals correspond to the electronic key and the high bit followed by the low bit will be rewritten when the counter is subjected to the carry process.

Description

電子鑰匙 Electronic key

本發明涉及一種電子鑰匙。 The invention relates to an electronic key.

以往,如專利文獻1所示,使用者通過操作設置在電子鑰匙上的開關來實行車門的上鎖和/或解鎖等的電子鑰匙系統是眾所周知的。該系統的電子鑰匙具備:記憶體,儲存有固有的ID代碼;以及操作計數器,對開關的操作次數進行計數。在開關被操作時,電子鑰匙發送包括ID代碼、操作計數器的操作次數、以及與開關相對應的控制資訊在內的無線信號。 Conventionally, as disclosed in Patent Document 1, it is known that a user performs an electronic key system such as locking and/or unlocking of a door by operating a switch provided on an electronic key. The system's electronic key has: a memory that stores an inherent ID code; and an operating counter that counts the number of operations of the switch. When the switch is operated, the electronic key transmits a wireless signal including an ID code, an operation count of the operation counter, and control information corresponding to the switch.

車輛具備:記憶體,儲存有與之前的ID代碼相同的ID代碼;以及接收計數器,對無線信號的接收次數進行計數。車輛一接收到來自於電子鑰匙的無線信號,就對該無線信號中所含的ID代碼與儲存在車輛的記憶體中的ID代碼是否一致、以及操作次數與儲存在接收計數器中的接收次數是否一致進行判斷。當該無線信號中所含的ID代碼與儲存在車輛的記憶體中的ID代碼一致、並且操作次數與儲存在接收計數器中的接收次數一致時,車輛判斷為接收到的無線信號來自與該車輛對應的電子鑰匙。然後,根據無線信號中所含的控制資訊,實行車門的上鎖和/或解鎖等。 The vehicle includes: a memory that stores an ID code identical to the previous ID code; and a reception counter that counts the number of receptions of the wireless signal. As soon as the vehicle receives the wireless signal from the electronic key, does the ID code contained in the wireless signal match the ID code stored in the memory of the vehicle, and the number of operations and the number of receptions stored in the receiving counter are Make judgments consistently. When the ID code included in the wireless signal coincides with the ID code stored in the memory of the vehicle, and the number of operations coincides with the number of receptions stored in the reception counter, the vehicle determines that the received wireless signal is from the vehicle Corresponding electronic key. Then, according to the control information contained in the wireless signal, the locking and/or unlocking of the door is performed.

專利文獻1:日本特開平8-303078號公報 Patent Document 1: Japanese Patent Laid-Open No. Hei 8-303078

在這種電子鑰匙系統中,例如,在電子鑰匙和車輛兩者相距較遠,或者在電子鑰匙和車輛之間有障礙物等的情況下,有時從電子鑰匙發送出的無線信號無法被車輛接收。在這種情況下,由於使用者對電子鑰匙的開關進行了操作,所以通過操作計數器計數的操作次數增加。因此,之後在電 子鑰匙與車輛可適宜地進行無線通訊時,無線信號中所含的操作次數與接收計數器的接收次數不一致。準確地說,無線信號中所含的操作次數大於接收計數器的接收次數。於是,許多車輛在判斷接收到的無線信號是否來自與該車輛對應的電子鑰匙時,根據操作次數是否大於等於接收計數器的接收次數來進行判斷。也就是說,當操作次數大於等於接收次數時判斷為接收到的無線信號與電子鑰匙對應,當操作次數少於接收次數時判斷為接收到的無線信號不與電子鑰匙對應。 In such an electronic key system, for example, in the case where the electronic key and the vehicle are far apart, or there is an obstacle between the electronic key and the vehicle, sometimes the wireless signal transmitted from the electronic key cannot be used by the vehicle. receive. In this case, since the user operates the switch of the electronic key, the number of operations counted by operating the counter increases. Therefore, after the electricity When the sub-key and the vehicle can be appropriately wirelessly communicated, the number of operations included in the wireless signal does not match the number of receptions of the reception counter. To be precise, the number of operations contained in the wireless signal is greater than the number of receptions of the receive counter. Therefore, when many vehicles judge whether or not the received wireless signal is from an electronic key corresponding to the vehicle, the determination is made based on whether the number of operations is equal to or greater than the number of receptions of the reception counter. That is to say, when the number of operations is greater than or equal to the number of receptions, it is determined that the received wireless signal corresponds to the electronic key, and when the number of operations is less than the number of receptions, it is determined that the received wireless signal does not correspond to the electronic key.

另一方面,許多電子鑰匙由電池提供發送無線信號所需的電力。短期來看,電池在向電子鑰匙各部供電時,該電池的電壓暫時下降,之後會恢復到與供給前接近的值為止。由於電池的供電被長期反復進行,使得電池的電壓逐漸下降。在電池耗盡時,會出現電池的電壓值暫時低於電子鑰匙進行各種動作所需的電壓值的問題。在這種情況下,會發生從電池向電子鑰匙各部的供電瞬間被切斷的瞬斷。在發生了瞬斷的情況下,各種動作停止。 On the other hand, many electronic keys are powered by batteries to provide the power needed to transmit wireless signals. In the short term, when the battery is supplied to each part of the electronic key, the voltage of the battery temporarily drops, and then returns to a value close to that before the supply. Since the power supply of the battery is repeatedly repeated for a long time, the voltage of the battery gradually decreases. When the battery is exhausted, there is a problem that the voltage value of the battery is temporarily lower than the voltage value required for the electronic key to perform various operations. In this case, a momentary interruption of the power supply from the battery to each part of the electronic key occurs. In the event of a momentary break, various actions stop.

在電子鑰匙的開關每次被操作時,操作計數器對資料進行改寫。例如,對操作計數器採用十進位的情況進行說明。操作計數器在一位為9的狀態下,一操作開關,就將一位元改寫成0且將十位改寫成增加了1的值。 The operation counter rewrites the data each time the switch of the electronic key is operated. For example, the case where the operation counter is decimal is explained. When the operation counter is in a state of one bit, when a switch is operated, one bit is rewritten to 0 and the ten bits are rewritten to a value increased by one.

瞬斷有時會在操作計數器對資料進行改寫時發生。特別是,在一位為9的狀態下開關被操作,所述一位剛被重置為0之後就發生了瞬斷時,十位不會被改寫(沒有被增量)。因此,操作計數器的值小於接收計數器的值。當開關再次被操作時,電子鑰匙發送包含操作次數(即,十位沒有被增量的值)的無線信號。然而,由於無線信號中所含的操作次數比接收計 數器的值要小,所以車輛不會識別作為無線信號發送方的電子鑰匙為與該車輛對應的正規的電子鑰匙。 A momentary break sometimes occurs when the operating counter overwrites the data. In particular, the switch is operated in a state where the bit is 9, and the ten bits are not overwritten (not incremented) when a moment occurs after the bit is reset to zero. Therefore, the value of the operation counter is less than the value of the reception counter. When the switch is operated again, the electronic key transmits a wireless signal containing the number of operations (i.e., ten digits that have not been incremented). However, since the number of operations included in the wireless signal is greater than the receiver The value of the counter is small, so the vehicle does not recognize that the electronic key as the sender of the wireless signal is a regular electronic key corresponding to the vehicle.

本發明正是針對上述情況而提出的,其目的在於提供一種電子鑰匙,該電子鑰匙能夠在發生了瞬斷的情況下,使通信物件對該電子鑰匙進行認證。 The present invention has been made in view of the above circumstances, and an object thereof is to provide an electronic key capable of causing a communication object to authenticate an electronic key in the event of a momentary break.

為了解決上述課題,本發明的第1形態提供一種電子鑰匙,其具備計數器,該計數器消耗電池的電力,並且在可從外部操作的開關每次被操作時增量,在所述開關被操作時,所述電子鑰匙發送包括作為所述計數器的值的第1資訊、和所述電子鑰匙固有的鑰匙資訊在內的無線信號,接收到所述無線信號的通信主機判斷所述第1資訊以及所述鑰匙資訊是否與所述通信主機對應,當所述第1資訊以及所述鑰匙資訊與所述通信主機對應時,使所述通信主機的設備動作,其中,所述通信主機在其接收到的無線信號與所述通信主機對應時,將所述接收到的無線信號中所含的第1資訊作為第2資訊儲存,當之後接收的無線信號中所含的第1資訊比被儲存的第2資訊大時,判斷為所述接收到的無線信號與所述電子鑰匙對應,所述計數器在進位時,在改寫高位之後再改寫低位。 In order to solve the above problems, a first aspect of the present invention provides an electronic key including a counter that consumes power of a battery and that is incremented each time a switch that can be operated from the outside is operated, when the switch is operated The electronic key transmits a wireless signal including first information as a value of the counter and key information unique to the electronic key, and the communication host that receives the wireless signal determines the first information and the Whether the key information corresponds to the communication host, and when the first information and the key information correspond to the communication host, causing the device of the communication host to operate, wherein the communication host receives the When the wireless signal corresponds to the communication host, the first information included in the received wireless signal is stored as the second information, and the first information included in the received wireless signal is stored in the second information ratio. When the information is large, it is determined that the received wireless signal corresponds to the electronic key, and when the counter is in the carry position, the lower bit is rewritten after the high bit is overwritten.

計數器的值中的高位的值越大、並且低位的值越大時,則表示越大的值。基於該構成,計數器在進位時,在改寫高位之後再改寫低位。所以,在從改寫高位開始至改寫低位為止的期間內發生了電池向計數器供電暫時停止的瞬斷的情況下,計數器在只改寫高位而沒有改寫低位的狀態下停 止。在這種情況下,計數器的值比操作開關之前要大。其結果,電子鑰匙發送的無線信號中所含的第1資訊大於之前的信號中所含的資訊(即,第2信息)。通信主機在第1資訊比儲存在該通信主機中的第2資訊大時,判斷為所述電子鑰匙與通信主機對應。由於無線信號中所含的第1資訊即使在發生了瞬斷的情況下也不會減少,所以電子鑰匙能夠使對應的通信主機識別該電子鑰匙與該通信主機對應。 The larger the value of the higher bit in the value of the counter and the larger the value of the lower bit, the larger the value. Based on this configuration, the counter rewrites the low bit after rewriting the high bit while the carry is being carried. Therefore, when a short-circuit of the battery to temporarily stop the power supply to the counter occurs during the period from the rewriting of the high bit to the rewriting of the low bit, the counter stops when only the high bit is rewritten and the low bit is not rewritten. stop. In this case, the value of the counter is larger than before the operation of the switch. As a result, the first information included in the wireless signal transmitted by the electronic key is larger than the information contained in the previous signal (that is, the second information). When the first information is larger than the second information stored in the communication host, the communication host determines that the electronic key corresponds to the communication host. Since the first information included in the wireless signal does not decrease even when a momentary break occurs, the electronic key can cause the corresponding communication host to recognize that the electronic key corresponds to the communication host.

在一個例子中,在所述電子鑰匙中,具有判斷部,在發生了電池的電力供給暫時停止的瞬斷的情況下,該判斷部判斷所述瞬斷是否發生在從改寫所述高位開始至改寫所述低位為止的期間內,在通過所述判斷部判斷出所述瞬斷發生在從改寫所述高位開始至改寫所述低位為止的期間內時,所述計數器改寫所述低位。 In one example, the electronic key includes a determination unit that determines whether the momentary interruption occurs from rewriting the high position when a moment when the power supply of the battery is temporarily stopped is generated. In the period until the lower bit is rewritten, the counter rewrites the lower bit when the determination unit determines that the momentary break occurs from the time of rewriting the upper bit to the time of rewriting the lower bit.

在只改寫高位而沒有改寫低位的狀態下,開關被進行了操作時,高位會被再次改寫。在這種情況下,對於操作次數,高位會提前達到上限值。於是,基於該構成,在從改寫高位開始至改寫低位為止的期間內發生了瞬斷的情況下,對低位進行改寫。也就是說,計數器的值被改寫成與實際的開關的操作次數相對應的正確的值。由此,能夠抑制高位被連續改寫。 In the state where only the high bit is rewritten without rewriting the low bit, when the switch is operated, the high bit is rewritten again. In this case, for the number of operations, the high position will reach the upper limit in advance. Then, based on this configuration, when a momentary break occurs in the period from the rewriting of the upper bit to the rewriting of the lower bit, the lower bit is rewritten. That is, the value of the counter is rewritten to the correct value corresponding to the number of operations of the actual switch. Thereby, it is possible to suppress the high bit from being continuously rewritten.

在一個例子中,在所述電子鑰匙中,所述低位由第2儲存區域以及第3儲存區域組成,在作為所述高位的第1儲存區域為偶數狀態下每次操作所述開關時所述第2儲存區域被改寫,在所述高位為奇數狀態下每次操作所述開關時所述第3儲存區域被改寫。 In one example, in the electronic key, the lower bit is composed of a second storage area and a third storage area, and the operation is performed each time the switch is operated in an even state in which the first storage area of the upper position is an even number The second storage area is rewritten, and the third storage area is rewritten each time the switch is operated in the odd state of the upper position.

基於該構成,在第2儲存區域成為上限值的狀態下開關被操作時,第1儲存區域被改寫成奇數,在第3儲存區域成為上限值的狀態下開關被操作 時,第1儲存區域被改寫成偶數。例如,在第3儲存區域成為上限值的狀態下開關被操作,並且在從改寫高位開始至改寫第3儲存區域為止的期間內發生了瞬斷時,高位為偶數、第3儲存區域成為上限值的狀態。通常,由於在高位為奇數時第3儲存區域被改寫,所以高位為偶數、第3儲存區域成為上限值的狀態只有在因瞬斷而使計數器停止時發生。另外,在第2儲存區域成為上限值的狀態下,發生了與上述相同的瞬斷時,計數器在高位為奇數、且第2儲存區域成為上限值的狀態下停止。該狀態也只有在因瞬斷而使計數器停止時發生。這樣,能夠容易地判斷在從改寫高位開始至改寫低位為止的期間內發生了瞬斷。 According to this configuration, when the switch is operated in a state where the second storage area is at the upper limit value, the first storage area is rewritten to an odd number, and the switch is operated in a state where the third storage area is at the upper limit value. At the time, the first storage area is rewritten to an even number. For example, when the third storage area is in the upper limit value, the switch is operated, and when a transient occurs in the period from the rewriting of the upper bit to the rewriting of the third storage area, the upper bit is an even number and the third storage area is upper. The status of the limit. Normally, since the third storage area is rewritten when the upper bit is an odd number, the state in which the upper bit is an even number and the third storage area becomes an upper limit value occurs only when the counter is stopped by a momentary interruption. In the state in which the second storage area is in the upper limit value, when the same transient as described above occurs, the counter is stopped in a state where the upper bit is an odd number and the second storage area is an upper limit value. This state also occurs only when the counter is stopped due to a momentary interruption. In this way, it can be easily determined that a break has occurred during the period from the rewriting of the upper bit to the rewriting of the lower bit.

在一個例子中,在所述電子鑰匙中,所述計數器具備儲存有所述高位的值以及所述低位的值的多個區塊,當一個區塊的所述高位的值被改寫,並且該被改寫的值達到了作為是否對區塊進行變更的判斷基準的區塊變更值時,所述計數器對與所述一個區塊不同的、其他區塊中的值進行改寫。 In one example, in the electronic key, the counter has a plurality of blocks storing a value of the upper bit and a value of the lower bit, when a value of the upper bit of a block is rewritten, and When the rewritten value reaches the block change value as a criterion for determining whether or not to change the block, the counter rewrites the value in the other block different from the one block.

基於該構成,例如與只有1個區塊的情況相比,通過多個區塊,能夠增加對開關的操作次數進行計數的次數。 Based on this configuration, for example, the number of times the number of operations of the switch is counted can be increased by a plurality of blocks as compared with the case of having only one block.

本發明的第2形態,提供一種電子鑰匙,其具備第1計數器,該第1計數器消耗電池的電力,並且在可從外部操作的開關每次被操作時增量,在所述開關被操作時,所述電子鑰匙發送包括作為所述第1計數器的值的第1資訊、和所述電子鑰匙固有的鑰匙資訊在內的無線信號,接收到所述無線信號的通信主機判斷所述第1資訊以及所述鑰匙資訊是否與所述通信主機對應,當所述第1資訊以及所述鑰匙資訊與所述通信主機對應時,使所述通信主機的設備動作,其中,所述通信主機具備對無線信號的接收次數進 行計數的第2計數器,當接收到的無線信號中所含的第1資訊比作為所述第2計數器的值的第2資訊大時,判斷為所述接收到的無線信號與所述電子鑰匙對應,所述第1計數器在進位時,在改寫高位之後再改寫低位。 According to a second aspect of the present invention, there is provided an electronic key including a first counter that consumes electric power of a battery and that is incremented each time a switch that can be operated from the outside is operated, when the switch is operated The electronic key transmits a wireless signal including first information as a value of the first counter and key information unique to the electronic key, and a communication host that receives the wireless signal determines the first information And determining whether the key information corresponds to the communication host, and when the first information and the key information correspond to the communication host, causing a device of the communication host to operate, wherein the communication host is provided with wireless The number of times the signal is received The second counter of the line count determines that the received wireless signal and the electronic key are greater when the first information included in the received wireless signal is greater than the second information that is the value of the second counter. Correspondingly, when the first counter is in the carry position, the lower bit is rewritten after the high bit is overwritten.

基於該構成,可以獲得與第1形態記載的效果相同的效果。 According to this configuration, the same effects as those described in the first aspect can be obtained.

本發明提供一種電子鑰匙,該電子鑰匙能夠在發生了瞬斷的情況下使通信物件對該電子鑰匙進行認證。 The present invention provides an electronic key that enables a communication object to authenticate an electronic key in the event of a momentary break.

以下,參照圖1~圖3,對本發明的電子鑰匙的一個實施方式進行說明。 Hereinafter, an embodiment of an electronic key of the present invention will be described with reference to Figs. 1 to 3 .

如圖1所示,在車輛10上搭載有電子鑰匙系統1,該電子鑰匙系統1通過無線信號與電子鑰匙20之間進行通信來實行ID校驗。 As shown in FIG. 1, an electronic key system 1 is mounted on a vehicle 10, and the electronic key system 1 performs ID verification by communicating with an electronic key 20 by a wireless signal.

<電子鑰匙> <electronic key>

電子鑰匙20具備:由用CPU等組成的電腦單元而構成的電子鑰匙控制部21;以及UHF發送部23,被電氣連接在所述電子鑰匙控制部21上。UHF發送部23將由電子鑰匙控制部21生成的信號調製成UHF(Ultra High Frequency)帶並發送該信號。 The electronic key 20 includes an electronic key control unit 21 configured by a computer unit composed of a CPU or the like, and a UHF transmitting unit 23 electrically connected to the electronic key control unit 21. The UHF transmitting unit 23 modulates the signal generated by the electronic key control unit 21 into a UHF (Ultra High Frequency) band and transmits the signal.

另外,電子鑰匙20具備可從外部操作的鎖閉開關24和解鎖開關25。這些開關24、25被電氣連接在電子鑰匙控制部21上。 Further, the electronic key 20 is provided with a lock switch 24 and an unlock switch 25 that can be operated from the outside. These switches 24, 25 are electrically connected to the electronic key control unit 21.

電子鑰匙控制部21具備非易失性的記憶體21a、和計數器22。在記憶體21a中,儲存有與車輛10之間共有的固有ID代碼。計數器22對開關24、25的操作次數進行計數。另外,該計數器22的具體構成以及該計數器22的動作詳細說明如後。 The electronic key control unit 21 includes a nonvolatile memory 21a and a counter 22. In the memory 21a, a unique ID code shared with the vehicle 10 is stored. The counter 22 counts the number of operations of the switches 24, 25. In addition, the specific configuration of the counter 22 and the operation of the counter 22 will be described in detail later.

進一步,電子鑰匙20具備電池26,該電池26將電力供給至電子鑰匙控制部21等電子鑰匙20的各部。電池26為可更換的一次電池。電子鑰匙控制部21消耗從電池26供給來的電力來進行驅動。 Further, the electronic key 20 includes a battery 26 that supplies electric power to each unit of the electronic key 20 such as the electronic key control unit 21. Battery 26 is a replaceable primary battery. The electronic key control unit 21 consumes electric power supplied from the battery 26 and drives it.

在鎖閉開關24或者解鎖開關25被操作,並且表示該資訊的電氣信號被輸入至電子鑰匙控制部21時,使計數器22增量。然後,電子鑰匙控制部21生成對儲存在記憶體21a中的ID代碼進行了加密的第1加密代碼、和對計數器22的值(計數資料)進行了加密的第2加密代碼。然後,電子鑰匙控制部21生成包含這些第1加密代碼以及第2加密代碼、和表示進行與被操作的開關關聯的車門的上鎖或者解鎖的動作內容在內的無線信號,並且將該信號向UHF發送部23輸出。UHF發送部23對無線信號進行調製,並且將該調製了的無線信號作為UHF帶的無線信號發送。 When the lock switch 24 or the unlock switch 25 is operated, and an electric signal indicating the information is input to the electronic key control unit 21, the counter 22 is incremented. Then, the electronic key control unit 21 generates a first encryption code that encrypts the ID code stored in the memory 21a, and a second encryption code that encrypts the value (count data) of the counter 22. Then, the electronic key control unit 21 generates a wireless signal including the first encryption code and the second encryption code, and the operation content indicating the locking or unlocking of the door associated with the operated switch, and the signal is directed to The UHF transmitting unit 23 outputs. The UHF transmitting unit 23 modulates the wireless signal, and transmits the modulated wireless signal as a wireless signal of the UHF band.

<車輛> <vehicle>

車輛10具備:車載控制部11,控制各種車載設備;以及UHF接收部13,被電氣連接在該車載控制部11上,並接收UHF帶的無線信號(wireless signal)。UHF接收部13對接收到的無線信號進行解調,並且將該解調了的信號向車載控制部11輸出。另外,車輛10具備車門鎖閉裝置14,該車門鎖閉裝置14也被電氣連接在車載控制部11上。車門鎖閉裝置14對未予圖示的車門的上鎖和解鎖進行切換。 The vehicle 10 includes an in-vehicle control unit 11 that controls various in-vehicle devices, and a UHF receiving unit 13 that is electrically connected to the in-vehicle control unit 11 and receives a wireless signal of a UHF band. The UHF receiving unit 13 demodulates the received wireless signal, and outputs the demodulated signal to the in-vehicle control unit 11. Further, the vehicle 10 is provided with a door lock device 14, and the door lock device 14 is also electrically connected to the in-vehicle control unit 11. The door lock device 14 switches the locking and unlocking of the door (not shown).

在車載控制部11上設置有非易失(揮發)性的記憶體11a。在該記憶體11a中,儲存有與電子鑰匙20之間共有的固有ID代碼。另外,在記憶體11a中,還儲存有接收到的無線信號中所含的資料(計數資料)。 A nonvolatile (volatile) memory 11a is provided in the in-vehicle control unit 11. In the memory 11a, a unique ID code shared between the electronic key 20 and the electronic key 20 is stored. Further, in the memory 11a, data (count data) included in the received wireless signal is also stored.

車載控制部11通過UHF接收部13來接收來自於電子鑰匙20的無線信 號。車載控制部11對無線信號中所含的第1加密代碼以及第2加密代碼進行解密而得到ID代碼以及計數資料。然後,車載控制部11判斷這些解密了的ID代碼以及計數資料是否為從與車輛10對應的電子鑰匙20發送出的資訊。也就是說,對接收到的ID代碼是否與儲存在車載控制部11的記憶體11a中的ID代碼一致進行判斷。另外,對接收到的計數資料是否大於儲存在車載控制部11的記憶體11a中的上次的計數資料進行判斷。車載控制部11在ID代碼一致、並且計數資料比儲存在車載控制11的記憶體11a中的計數資料大時,判斷為該無線信號是從與車輛10對應的電子鑰匙20發送出的。然後,在判斷為接收到的無線信號來自與車輛10對應的電子鑰匙20時,根據無線信號中所含的動作內容使車門鎖閉裝置14動作。另外,此時,車載控制部11將儲存在記憶體11a中的計數資料(上次接收到的資料)改寫成此次接收到的計數資料。 The in-vehicle control unit 11 receives the wireless mail from the electronic key 20 via the UHF receiving unit 13. number. The in-vehicle control unit 11 decrypts the first encryption code and the second encryption code included in the wireless signal to obtain an ID code and count data. Then, the in-vehicle control unit 11 determines whether or not the decrypted ID code and the count data are information transmitted from the electronic key 20 corresponding to the vehicle 10. That is, it is determined whether or not the received ID code coincides with the ID code stored in the memory 11a of the in-vehicle control unit 11. Further, it is judged whether or not the received count data is larger than the previous count data stored in the memory 11a of the in-vehicle control unit 11. When the ID code matches and the count data is larger than the count data stored in the memory 11a of the in-vehicle control 11, the in-vehicle control unit 11 determines that the wireless signal is transmitted from the electronic key 20 corresponding to the vehicle 10. Then, when it is determined that the received wireless signal is from the electronic key 20 corresponding to the vehicle 10, the door lock device 14 is operated in accordance with the content of the operation included in the wireless signal. Further, at this time, the in-vehicle control unit 11 rewrites the count data (the data received last time) stored in the memory 11a into the count data received this time.

<計數器> <counter>

如圖1所示,計數器22具備第1區塊22a~第6區塊22f,這些區塊為對操作次數進行儲存的區域。由於第1區塊22a~第6區塊22f被設為相同的結構,所以在此,只對第1區塊22a的結構進行說明。 As shown in FIG. 1, the counter 22 is provided with the first block 22a to the sixth block 22f, and these blocks are areas for storing the number of operations. Since the first block 22a to the sixth block 22f have the same configuration, only the configuration of the first block 22a will be described here.

如圖2所示,第1區塊22a具備第1儲存區域31~第3儲存區域33。第1儲存區域31為進位區域,第2儲存區域以及第3儲存區域為計數區域。第1儲存區域31比第2儲存區域32或者第3儲存區域33高一位。第2儲存區域32以及第3儲存區域33為同位。計數器22採用百進制,百進制使用00~99的100種符號(數值),並將比第2儲存區域32和第3儲存區域33的上限值(即,99)大1的符號與比第2儲存區域32和第3儲存區域33高一位的第1儲存區域 的符號組合表示。在開關24、25被操作時,計數器22在第1儲存區域31為偶數(包括00)的情況下改寫第2儲存區域32,而在第1儲存區域31為奇數的情況下改寫第3儲存區域33。在第2儲存區域32或者第3儲存區域33的值達到上限值(即,99)的狀態下,開關24、25被操作時,計數器22改寫第1儲存區域31的值(增量)。 As shown in FIG. 2, the first block 22a includes the first storage area 31 to the third storage area 33. The first storage area 31 is a carry area, and the second storage area and the third storage area are count areas. The first storage area 31 is one bit higher than the second storage area 32 or the third storage area 33. The second storage area 32 and the third storage area 33 are in the same position. The counter 22 is in hexadecimal, and hexadecimal uses 100 symbols (values) of 00 to 99, and a symbol larger than the upper limit value of the second storage area 32 and the third storage area 33 (i.e., 99) is one. a first storage area one bit higher than the second storage area 32 and the third storage area 33 The symbol combination is represented. When the switches 24 and 25 are operated, the counter 22 rewrites the second storage area 32 when the first storage area 31 is an even number (including 00), and rewrites the third storage area when the first storage area 31 is an odd number. 33. When the switches 24 and 25 are operated in a state where the values of the second storage area 32 or the third storage area 33 have reached the upper limit value (i.e., 99), the counter 22 rewrites the value (increment) of the first storage area 31.

<計數器的動作> <Action of the counter>

接著,對計數器22的動作進行說明。在此,第1區塊22a~第6區塊22f處於圖2所示的狀態A。狀態A為第1儲存區域31~第3儲存區域33的值設為00的狀態。 Next, the operation of the counter 22 will be described. Here, the first block 22a to the sixth block 22f are in the state A shown in FIG. 2. State A is a state in which the values of the first storage area 31 to the third storage area 33 are 00.

電子鑰匙控制部21從開關24、25輸入了電氣信號時,對第1區塊22a的第1儲存區域31的數值進行確認。在此,由於第1儲存區域31的數值為00(偶數),所以電子鑰匙控制部21對第2儲存區域32的數值進行增量(數值加1)。於是,計數器22成為狀態B(通常計數)。如果反復進行該增量的話,計數器22就會成為第1儲存區域31以及第3儲存區域33為00、第2儲存區域32為上限值(即,99)的狀態C。 When the electronic key control unit 21 receives an electric signal from the switches 24 and 25, the electronic key control unit 21 confirms the numerical value of the first storage area 31 of the first block 22a. Here, since the numerical value of the first storage area 31 is 00 (even number), the electronic key control unit 21 increments the numerical value of the second storage area 32 (the value is incremented by one). Thus, the counter 22 becomes the state B (normally counted). When the increment is repeated, the counter 22 becomes the state C in which the first storage area 31 and the third storage area 33 are 00 and the second storage area 32 is the upper limit (that is, 99).

在狀態C下,開關24、25被操作時,電子鑰匙控制部21在對第1儲存區域31的數值進行增量(數值加1)並使計數器22過渡到狀態D之後,將第2儲存區域32的數值重置為00並使計數器22過渡到狀態E(進位數目)。 In the state C, when the switches 24, 25 are operated, the electronic key control unit 21 increments the value of the first storage area 31 (the value is incremented by one) and causes the counter 22 to transition to the state D, and then the second storage area The value of 32 is reset to 00 and the counter 22 transitions to state E (the number of carrys).

在狀態E下,開關24、25被操作時,由於第1儲存區域31的數值為01(奇數),所以電子鑰匙控制部21對第3儲存區域33的數值進行增量(數值加1)。於是,計數器22成為狀態F(通常計數)。如果反復進行該增量的話,計數器22就會成為第1儲存區域31為01、第2儲存區域32為00、第3儲 存區域33為99的狀態G。 In the state E, when the switches 24 and 25 are operated, since the value of the first storage area 31 is 01 (odd number), the electronic key control unit 21 increments the numerical value of the third storage area 33 (the value is incremented by one). Thus, the counter 22 becomes the state F (normally counted). When the increment is repeated, the counter 22 has the first storage area 31 being 01, the second storage area 32 being 00, and the third storage. The storage area 33 is in the state G of 99.

在狀態G下,開關24、25被操作時,電子鑰匙控制部21在對第1儲存區域31的數值進行增量(數值加1)並使計數器22過渡到狀態H之後,將第3儲存區域33的數值重置為00並使計數器22過渡到狀態I(進位數目)。另外,狀態I為第1儲存區域31的數值比狀態A的大2的狀態。 In the state G, when the switches 24, 25 are operated, the electronic key control unit 21 increments the value of the first storage area 31 (the value is incremented by one) and causes the counter 22 to transition to the state H, and then the third storage area The value of 33 is reset to 00 and the counter 22 transitions to state I (the number of carrys). Further, the state I is a state in which the value of the first storage area 31 is larger than the state A by two.

在第1區塊22a處於狀態I下,開關24、25被操作操作時,電子鑰匙控制部21開始第2區塊22b的計數。也就是說,對第2區塊22b的第2儲存區域32的數值進行增量(數值加1)。之後,在開關24、25每次被操作時,電子鑰匙控制部21以與第1區塊22a相同的方式進行對第2區塊22b的計數。按照第3區塊22c、第4區塊22d、第5區塊22e、第6區塊22f的順序反復進行這些一系列的動作,當第1區塊22a~第6區塊22f全都處於狀態I時,電子鑰匙控制部21再次開始第1區塊22a的計數。換句話說,在第1儲存區域31的數值被增量(數值加2)時,電子鑰匙控制部21將改寫物件過渡到下一個區塊。另外,計數資料為第1區塊22a~第6區塊22f所有值的組合。 When the first block 22a is in the state I and the switches 24 and 25 are operated, the electronic key control unit 21 starts counting of the second block 22b. That is, the value of the second storage area 32 of the second block 22b is incremented (value added by 1). Thereafter, each time the switches 24 and 25 are operated, the electronic key control unit 21 counts the second block 22b in the same manner as the first block 22a. These series of operations are repeated in the order of the third block 22c, the fourth block 22d, the fifth block 22e, and the sixth block 22f, and the first block 22a to the sixth block 22f are all in the state I. At this time, the electronic key control unit 21 restarts the counting of the first block 22a. In other words, when the value of the first storage area 31 is incremented (the value is incremented by 2), the electronic key control section 21 transitions the rewritten object to the next block. Further, the count data is a combination of all values of the first block 22a to the sixth block 22f.

在此,電子鑰匙20的各部消耗電池26的電力來進行動作。所以,在電池26耗盡等、電池26的電壓下降的狀態下使電子鑰匙20的各部驅動時,有時會發生瞬斷。有時該瞬斷會發生在計數器22正在對值進行改寫時。也就是說,有時會在從第1儲存區域31被增量起至第2儲存區域32或者第3儲存區域33被重置為止的期間內(進位數目過程中)發生瞬斷。於是,在發生了瞬斷的情況下,電子鑰匙控制部21判斷該瞬斷是否發生在計數器22正在對值進行改寫時,特別是是否發生在進位數目過程中,在判斷出該瞬斷發生在進位數目過程中時,判斷第2儲存區域32或者第3儲存區域33是否被正 確地改寫。然後,在第2儲存區域32或者第3儲存區域33沒有被正確地改寫時,對這些儲存區域進行修正。參照圖3所示的流程圖,通過電子鑰匙控制部21來實行這些一系列的判斷、以及修正等各種處理。 Here, each part of the electronic key 20 consumes the electric power of the battery 26 and operates. Therefore, when the battery 26 is depleted or the like, and the voltage of the battery 26 is lowered, the respective portions of the electronic key 20 are driven, and a momentary break may occur. Sometimes this short break occurs when the counter 22 is overwriting the value. In other words, there is a case where a short-circuit occurs in a period from the increment of the first storage area 31 to the time when the second storage area 32 or the third storage area 33 is reset (during the number of carryes). Then, in the case where a momentary break has occurred, the electronic key control unit 21 determines whether or not the momentary occurrence occurs when the counter 22 is rewriting the value, in particular, whether or not the number of carry occurs, and it is judged that the momentary occurrence occurs. When the number of carryes is in progress, it is judged whether or not the second storage area 32 or the third storage area 33 is positive. Correctly rewritten. Then, when the second storage area 32 or the third storage area 33 is not correctly rewritten, these storage areas are corrected. Referring to the flowchart shown in FIG. 3, various processes such as these series of determinations and corrections are executed by the electronic key control unit 21.

首先,從瞬斷恢復後的電子鑰匙控制部21判斷第1儲存區域31是否為偶數(步驟S1)。在步驟S1中為YES、即第1儲存區域31為偶數的情況下,判斷第3儲存區域33是否為99(上限值)(步驟S2)。在通常計數的情況下,在第1儲存區域31為偶數時,第2儲存區域32被改寫,第3儲存區域33為00。除此之外,只有在第1儲存區域31為奇數、且第3儲存區域33為上限值(即,99)的狀態(狀態G)下開關24、25被操作,第1儲存區域31的數值被增量而被改寫成偶數的瞬間、即進位數目過程中,第1儲存區域31才被改寫成偶數。於是,在步驟S2中為YES、即第3儲存區域33為99的情況下,因瞬斷而沒有實行第3儲存區域33的改寫(重置)時,將第3儲存區域33重置為00(步驟S3),並結束處理。 First, it is determined from the electronic key control unit 21 after the momentary recovery that the first storage area 31 is an even number (step S1). When YES in step S1, that is, when the first storage area 31 is an even number, it is determined whether or not the third storage area 33 is 99 (upper limit value) (step S2). In the case of normal counting, when the first storage area 31 is an even number, the second storage area 32 is rewritten, and the third storage area 33 is 00. In addition, the switches 24 and 25 are operated only in the state (state G) in which the first storage area 31 is an odd number and the third storage area 33 is an upper limit value (ie, 99), and the first storage area 31 is operated. When the value is incremented and rewritten to an even number of instants, that is, the number of carryes, the first storage area 31 is rewritten to an even number. Then, when YES in step S2, that is, when the third storage area 33 is 99, when the rewriting (reset) of the third storage area 33 is not performed by the momentary interruption, the third storage area 33 is reset to 00. (Step S3), and the processing is ended.

另外,在步驟S2中為NO、即第3儲存區域33不是99的情況下,由於不在進位數目過程中,所以計數器22的值被正確地改寫,電子鑰匙控制部21結束處理。 Further, when NO in step S2, that is, when the third storage area 33 is not 99, since the value of the counter 22 is correctly rewritten in the process of the number of carry-in, the electronic key control unit 21 ends the processing.

另外,在步驟S1中為NO、即第1儲存區域31為奇數的情況下,判斷第2儲存區域32是否為99(步驟S4)。在通常計數的情況下,在第1儲存區域31為奇數時,第3儲存區域33被改寫,第2儲存區域32為00。除此之外,只有在第1儲存區域31為偶數、且第2儲存區域32為上限值(即,99)的狀態(狀態D)下開關24、25被操作、第1儲存區域31的數值被增量而被改寫成奇數的瞬間、即進位數目過程中,第1儲存區域31才被改寫成奇數。於 是,在步驟S4中為YES、即第2儲存區域32為99的情況下,因瞬斷而沒有實行第2儲存區域32的改寫(重置)時,將第2儲存區域32重置為00(步驟S5),並結束處理。 In the case where NO in step S1, that is, when the first storage area 31 is an odd number, it is determined whether or not the second storage area 32 is 99 (step S4). In the case of normal counting, when the first storage area 31 is an odd number, the third storage area 33 is rewritten, and the second storage area 32 is 00. In addition, the switches 24 and 25 are operated and the first storage area 31 is operated only in a state (state D) in which the first storage area 31 is an even number and the second storage area 32 is an upper limit value (ie, 99). When the value is incremented and rewritten into an odd number of instants, that is, the number of carryes, the first storage area 31 is rewritten to an odd number. to If YES in step S4, that is, when the second storage area 32 is 99, when the second storage area 32 is not rewritten (reset) due to a momentary interruption, the second storage area 32 is reset to 00. (Step S5), and the processing is ended.

另外,在步驟S4中為NO、即第2儲存區域32不是99的情況下,由於不在進位數目過程中,所以計數器22的值被正確地改寫,電子鑰匙控制部21結束處理。 In the case where NO in step S4, that is, when the second storage area 32 is not 99, since the value of the counter 22 is correctly rewritten in the process of the number of carry-in, the electronic key control unit 21 ends the processing.

如上所述,基於本實施方式,可以獲得以下的效果。 As described above, according to the present embodiment, the following effects can be obtained.

(1)在電子鑰匙20上設置了對開關24、25的操作次數進行計數的計數器22。計數器22由在開關24、25每次被操作時增量的第2儲存區域32以及第3儲存區域33、以及在第2儲存區域32或者第3儲存區域33為上限值的狀態下開關24、25被操作時增量的第1儲存區域31組成。然後,在第1儲存區域31被增量之後,第2儲存區域32以及第3儲存區域33被重置。由此,在瞬斷發生在從第1儲存區域31被增量起至第2儲存區域32被重置為止的期間內的情況下,計數器22在不對第2儲存區域32以及第3儲存區域33進行重置而只對第1儲存區域31進行了增量狀態下停止。也就是說,計數器22的值比操作開關24、25之前要大。其結果,電子鑰匙20發送的無線信號中所含的計數資料大於之前的信號中所含的計數資料。車輛10在接收到的無線信號中所含的計數資料比儲存在車輛10的記憶體11a中的計數資料要大時,以ID校驗成立作為條件,判斷為該電子鑰匙為與車輛10對應的正規的電子鑰匙20。由於正規的電子鑰匙20發送的無線信號中所含的計數資料即使在發生了瞬斷的情況下也不會減少,所以該電子鑰匙20能夠使對應的車輛10識別該電子鑰匙20與該車輛10對應。 (1) A counter 22 that counts the number of operations of the switches 24, 25 is provided on the electronic key 20. The counter 22 is provided with the second storage area 32 and the third storage area 33 which are incremented each time the switches 24 and 25 are operated, and the switch 24 in the state where the second storage area 32 or the third storage area 33 is the upper limit value. And 25 are composed of the first storage area 31 which is incremented by the operation. Then, after the first storage area 31 is incremented, the second storage area 32 and the third storage area 33 are reset. Accordingly, when the momentary interruption occurs in the period from the increment of the first storage area 31 to the time when the second storage area 32 is reset, the counter 22 does not operate the second storage area 32 and the third storage area 33. The reset is performed and only the first storage area 31 is stopped in an incremental state. That is, the value of the counter 22 is larger than before the operation of the switches 24, 25. As a result, the count data contained in the wireless signal transmitted by the electronic key 20 is larger than the count data contained in the previous signal. When the count data included in the received wireless signal is larger than the count data stored in the memory 11a of the vehicle 10, the vehicle 10 determines that the electronic key is corresponding to the vehicle 10 on the condition that the ID verification is established. Formal electronic key 20. Since the count data contained in the wireless signal transmitted by the regular electronic key 20 does not decrease even if a momentary break occurs, the electronic key 20 can cause the corresponding vehicle 10 to recognize the electronic key 20 and the vehicle 10 correspond.

(2)在發生了瞬斷的情況下,電子鑰匙控制部21判斷該瞬斷是否發生在從第1儲存區域31被增量起至第2儲存區域32或者第3儲存區域33被重置為止的期間內,在判斷出該瞬斷發生在從第1儲存區域31被增量起至第2儲存區域32或者第3儲存區域33被重置為止的期間內時,將第2儲存區域32或者第3儲存區域33重置。由此,電子鑰匙20能夠將與開關24、25的操作次數相對應的計數資料包含在無線信號中。 (2) When a momentary break occurs, the electronic key control unit 21 determines whether or not the momentary occurrence has occurred from the increment of the first storage area 31 to the second storage area 32 or the third storage area 33 is reset. In the period of time, it is determined that the momentary occurrence occurs during the period from when the first storage area 31 is incremented until the second storage area 32 or the third storage area 33 is reset, and the second storage area 32 is either The third storage area 33 is reset. Thereby, the electronic key 20 can include the count data corresponding to the number of operations of the switches 24, 25 in the wireless signal.

另外,上述實施方式也可以更改為以下的形式。 Further, the above embodiment may be changed to the following form.

‧雖然在上述實施方式中,計數器22具備第1區塊22a~第6區塊22f,然而,區塊的個數並不僅限於6個。例如,區塊也可以為1個,或者也可以為2個以上的多個。即使在以這種形式構成的情況下,也可以獲得與上述實施方式相同的效果。另外,例如與只有1個區塊的情況相比,具有多個區塊能夠增加對開關的操作次數進行計數的次數。 ‧ In the above embodiment, the counter 22 includes the first block 22a to the sixth block 22f. However, the number of blocks is not limited to six. For example, the number of blocks may be one, or two or more blocks may be used. Even in the case of being configured in this manner, the same effects as those of the above embodiment can be obtained. In addition, for example, compared with the case of having only one block, having a plurality of blocks can increase the number of times of counting the number of operations of the switch.

‧在上述實施方式中,也可以省略第3儲存區域33。在這種情況下,可以省略由電子鑰匙控制部21對計數器22的修正。例如,在第2儲存區域32為99(上限值)的狀態下,開關24、25被操作,對第1儲存區域31進行了增量時發生了瞬斷的情況下,不重置第2儲存區域32。也就是說,在下一次開關24、25被操作時,再次對第1儲存區域31進行增量。即使以這種形式構成的情況下,電子鑰匙20也能夠發送比以前在開關24、25被操作時發送的計數資料要大的計數資料。由於車載控制部11只要當此次接收到的計數資料大於以前接收到的計數資料時,就判斷為此次接收到的計數資料與該車載控制部11對應,所以即使在這種情況下,也能夠使車輛10的車門鎖閉裝置14動作。 ‧ In the above embodiment, the third storage area 33 may be omitted. In this case, the correction of the counter 22 by the electronic key control unit 21 can be omitted. For example, when the second storage area 32 is 99 (upper limit value), the switches 24 and 25 are operated, and when the first storage area 31 is incremented, the second switch is not reset. Storage area 32. That is, when the next switch 24, 25 is operated, the first storage area 31 is incremented again. Even in the case of such a configuration, the electronic key 20 can transmit count data larger than the count data previously transmitted when the switches 24, 25 are operated. The in-vehicle control unit 11 determines that the count data received this time corresponds to the in-vehicle control unit 11 as long as the count data received this time is larger than the previously received count data, so even in this case, The door lock device 14 of the vehicle 10 can be operated.

‧雖然在上述實施方式中,採用了百進制,百進制使用00~99的100種符號(數值),並將比第2、第3儲存區域32,33的上限值(即,99)大1的符號(數值)與比第2儲存區域32、第3儲存區域33高一位的第1儲存區域的符號組合表示,然而,也可以使用二進位、十進位、十二進位、十六進位等、其他按位記數制。即使在以這種形式來構成的情況下,也可以獲得與上述實施方式相同的效果。 ‧In the above embodiment, the hexadecimal number is used, and 100 symbols (values) of 00 to 99 are used, and the upper limit value of the second and third storage areas 32, 33 (ie, 99) is used. The symbol (value) of the large 1 is represented by a combination of the symbols of the first storage area one bit higher than the second storage area 32 and the third storage area 33. However, binary, decimal, twelve-digit, ten may also be used. Six-digit, etc., other bit-by-digit system. Even in the case of being configured in this form, the same effects as those of the above embodiment can be obtained.

‧雖然上述實施方式中,車載控制部11對以前接收到的計數資料和此次接收到的計數資料進行比較來判斷作為無線信號發送方的電子鑰匙20是否與該車載控制部11對應,然而也可以通過其他的方法來判斷。例如,也可以在車輛10上設置對無線信號的接收次數進行計數的接收計數器,並且通過車載控制部11對接收計數器的計數資料和接收到的計數資料進行比較,來判斷作為無線信號發送方的電子鑰匙20是否與該車載控制部11對應。即使在以這種形式來構成的情況下,也可以獲得與上述實施方式相同的效果。 In the above embodiment, the in-vehicle control unit 11 compares the previously received count data with the count data received this time to determine whether or not the electronic key 20 as the wireless signal sender corresponds to the in-vehicle control unit 11, but It can be judged by other methods. For example, a reception counter that counts the number of receptions of the wireless signal may be provided on the vehicle 10, and the on-board control unit 11 compares the count data of the reception counter with the received count data to determine the sender of the wireless signal. Whether or not the electronic key 20 corresponds to the in-vehicle control unit 11. Even in the case of being configured in this form, the same effects as those of the above embodiment can be obtained.

‧雖然在上述實施方式中,在電子鑰匙系統1中,車輛10與電子鑰匙20之間只實行單向通信,然而除了實行該單向通信之外,也可以實行雙向通信。即使在以這種形式來構成的情況下,也可以獲得與上述實施方式相同的效果。 ‧ In the above embodiment, in the electronic key system 1, only one-way communication is performed between the vehicle 10 and the electronic key 20, but in addition to the one-way communication, two-way communication can be performed. Even in the case of being configured in this form, the same effects as those of the above embodiment can be obtained.

‧雖然在上述實施方式中,電池26為一次電池,然而,也可以為可充電的二次電池等蓄電池。即使在以這種形式來構成的情況下,也可以獲得與上述實施方式相同的效果。 ‧ In the above embodiment, the battery 26 is a primary battery, but may be a secondary battery such as a rechargeable secondary battery. Even in the case of being configured in this form, the same effects as those of the above embodiment can be obtained.

‧雖然在上述實施方式中,將本發明適用於車輛10的電子鑰匙系統 中,然而也可以將本發明適用於住宅等建築物的電子鑰匙系統中。 ‧Although in the above embodiment, the present invention is applied to an electronic key system of the vehicle 10 However, the present invention can also be applied to an electronic key system of a building such as a house.

1‧‧‧電子鑰匙系統 1‧‧‧Electronic key system

10‧‧‧車輛 10‧‧‧ Vehicles

11‧‧‧車載控制部 11‧‧‧Car Control Department

11a,21a‧‧‧記憶體 11a, 21a‧‧‧ memory

13‧‧‧UHF接收部 13‧‧‧UHF Receiving Department

14‧‧‧車門鎖閉裝置 14‧‧‧Door locking device

20‧‧‧電子鑰匙 20‧‧‧Electronic Key

21‧‧‧電子鑰匙控制部 21‧‧‧Electronic Key Control Department

22‧‧‧計數器 22‧‧‧ counter

22a~22f‧‧‧第1區塊~第6區塊 22a~22f‧‧‧1st block~6th block

23‧‧‧UHF發送部 23‧‧‧UHF transmission department

24‧‧‧鎖閉開關 24‧‧‧Lock switch

25‧‧‧解鎖開關 25‧‧‧Unlock switch

26‧‧‧電池 26‧‧‧Battery

31~33‧‧‧第1儲存區域~第3儲存區域 31~33‧‧‧1st storage area~3rd storage area

S1-S5‧‧‧步驟 S1-S5‧‧‧ steps

圖1是表示本實施方式的電子鑰匙系統的概略構成的方塊圖。 FIG. 1 is a block diagram showing a schematic configuration of an electronic key system according to the present embodiment.

圖2是表示計數器的計數形態的圖。 Fig. 2 is a view showing a count form of a counter.

圖3是從瞬斷恢復後實行的流程圖。 Figure 3 is a flow chart executed after recovery from a momentary break.

22a~22f‧‧‧第1區塊~第6區塊 22a~22f‧‧‧1st block~6th block

31~33‧‧‧第1儲存區域~第3儲存區域 31~33‧‧‧1st storage area~3rd storage area

Claims (5)

一種電子鑰匙,其具備計數器,該計數器消耗電池的電力,並且在可從外部操作的開關每次被操作時增量,在所述開關被操作時,所述電子鑰匙發送包括作為所述計數器的值的第1資訊、和所述電子鑰匙固有的鑰匙資訊在內的無線信號,接收到所述無線信號的通信主機判斷所述第1資訊以及所述鑰匙資訊是否與所述通信主機對應,當所述第1資訊以及所述鑰匙資訊與所述通信主機對應時,使所述通信主機的設備動作,其中,所述通信主機在其接收到的無線信號與所述通信主機對應時,將所述接收到的無線信號中所含的第1資訊作為第2資訊儲存,當之後接收的無線信號中所含的第1資訊比被儲存的第2資訊大時,判斷為所述接收到的無線信號與所述電子鑰匙對應,所述計數器在進位時,在改寫高位之後再改寫低位。 An electronic key provided with a counter that consumes power of a battery and is incremented each time a switch operable from the outside is operated, and when the switch is operated, the electronic key transmission includes as the counter a wireless signal including the first information of the value and the key information unique to the electronic key, and the communication host that receives the wireless signal determines whether the first information and the key information correspond to the communication host. When the first information and the key information correspond to the communication host, the device of the communication host is operated, wherein the communication host, when the wireless signal received by the communication host corresponds to the communication host, The first information included in the received wireless signal is stored as the second information, and when the first information included in the received wireless signal is larger than the stored second information, the received wireless is determined to be the received wireless The signal corresponds to the electronic key, and the counter rewrites the low bit after overwriting the high bit. 根據請求項1所述的電子鑰匙,其中,具有判斷部,在發生了電池的電力供給暫時停止的瞬斷的情況下,該判斷部判斷所述瞬斷是否發生在從改寫所述高位開始至改寫所述低位為止的期間內,在通過所述判斷部判斷出所述瞬斷發生在從改寫所述高位開始至改寫所述低位為止的期間內時,所述計數器改寫所述低位。 The electronic key according to claim 1, wherein the determination unit is configured to determine whether the momentary interruption occurs when the high level is rewritten from when the power supply of the battery is temporarily stopped. In the period until the lower bit is rewritten, the counter rewrites the lower bit when the determination unit determines that the momentary break occurs from the time of rewriting the upper bit to the time of rewriting the lower bit. 根據請求項2所述的電子鑰匙,其中,所述低位由第2儲存區域以及第3儲存區域組成,在作為所述高位的第1儲存區域為偶數狀態下每次操作所述開關時所述第2儲存區域被改寫,在所述高位為奇數狀態下每次操作所述開關時所述第3儲存區域被改寫。 The electronic key according to claim 2, wherein the lower bit is composed of the second storage area and the third storage area, and the operation is performed each time the switch is operated in an even state in which the first storage area of the upper position is an even number The second storage area is rewritten, and the third storage area is rewritten each time the switch is operated in the odd state of the upper position. 根據請求項1~3中任意一項所述的電子鑰匙,其中,所述計數器具備儲存有所述高位的值以及所述低位的值的多個區塊,當一個區塊的所述高位的值被改寫,並且該被改寫的值達到了作為是否對區塊進行變更的判斷基準的區塊變更值時,所述計數器對與所述一個區塊不同的、其他區塊中的值進行改寫。 The electronic key according to any one of claims 1 to 3, wherein the counter has a plurality of blocks storing a value of the upper bit and a value of the lower bit, when the high bit of a block When the value is rewritten, and the rewritten value reaches the block change value as a criterion for determining whether to change the block, the counter rewrites the value in the other block different from the one block. . 一種電子鑰匙,其具備第1計數器,該第1計數器消耗電池的電力,並且在可從外部操作的開關每次被操作時增量,在所述開關被操作時,所述電子鑰匙發送包括作為所述第1計數器的值的第1資訊、和所述電子鑰匙固有的鑰匙資訊在內的無線信號,接收到所述無線信號的通信主機判斷所述第1資訊以及所述鑰匙資訊是否與所述通信主機對應,當所述第1資訊以及所述鑰匙資訊與所述通信主機對應時,使所述通信主機的設備動作,其中,所述通信主機具備對無線信號的接收次數進行計數的第2計數器,當接收到的無線信號中所含的第1資訊比作為所述第2計數器的值的第2資訊大時,判斷為所述接收到的無線信號與所述電子鑰匙對應,所述第1計數器在進位時,在改寫高位之後再改寫低位。 An electronic key provided with a first counter that consumes power of a battery and is incremented each time a switch operable from the outside is operated, and when the switch is operated, the electronic key transmission includes The first information of the value of the first counter and the wireless signal including the key information specific to the electronic key, and the communication host that has received the wireless signal determines whether the first information and the key information are Corresponding to the communication host, when the first information and the key information correspond to the communication host, the device of the communication host is operated, wherein the communication host has a count of the number of times the wireless signal is received a counter that determines that the received wireless signal corresponds to the electronic key when the first information included in the received wireless signal is greater than the second information that is the value of the second counter When the first counter is in the carry position, the lower bit is rewritten after the high bit is overwritten.
TW101137380A 2011-10-14 2012-10-11 Electronic key TWI550171B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011227021A JP5643171B2 (en) 2011-10-14 2011-10-14 Electronic key

Publications (2)

Publication Number Publication Date
TW201315883A true TW201315883A (en) 2013-04-16
TWI550171B TWI550171B (en) 2016-09-21

Family

ID=48062572

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101137380A TWI550171B (en) 2011-10-14 2012-10-11 Electronic key

Country Status (3)

Country Link
JP (1) JP5643171B2 (en)
CN (1) CN103049947B (en)
TW (1) TWI550171B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6342718B2 (en) * 2014-06-02 2018-06-13 株式会社東海理化電機製作所 Vehicle communication system
FR3078042B1 (en) * 2018-02-21 2020-01-24 Psa Automobiles Sa VEHICLE COMPRISING AN ACCESS MANAGEMENT SYSTEM AND METHOD FOR AUTHORIZING ACCESS TO A VEHICLE

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2807100B2 (en) * 1991-05-13 1998-09-30 アルプス電気株式会社 Transceiver
JP2641996B2 (en) * 1991-03-20 1997-08-20 富士通株式会社 Data retention method
JP4592280B2 (en) * 2003-12-08 2010-12-01 富士通テン株式会社 Data storage
JP2006118205A (en) * 2004-10-21 2006-05-11 Sanyo Electric Co Ltd Keyless entry system, transmitter and receiver
JP4716428B2 (en) * 2006-03-31 2011-07-06 本田技研工業株式会社 Vehicle antitheft device
CN100507953C (en) * 2007-06-13 2009-07-01 刘伟 Intelligent safety lock and key system
JP5173927B2 (en) * 2009-05-13 2013-04-03 株式会社東海理化電機製作所 Electronic key communication enable / disable setting system and communication enable / disable setting method

Also Published As

Publication number Publication date
CN103049947B (en) 2015-06-03
CN103049947A (en) 2013-04-17
TWI550171B (en) 2016-09-21
JP2013087450A (en) 2013-05-13
JP5643171B2 (en) 2014-12-17

Similar Documents

Publication Publication Date Title
CN101840625B (en) Intelligent remote control key entry method and device of automobile
US9512659B2 (en) Code hopping based system with increased security
US9628278B2 (en) Method for the secure unindirectional transmission of signals
JP4390437B2 (en) Remote control device
JP2012169829A (en) Communication system and communication method
TWI550171B (en) Electronic key
US20060087403A1 (en) Keyless entry system, transmitter, and receiver
US20080098218A1 (en) Secure communication protocol and method therefor
JP5669009B2 (en) Low battery level notification system for portable mobile devices
EP2756486B1 (en) Code hopping based system with increased security
JP5758757B2 (en) Electronic key system
JP5462146B2 (en) Electronic key system
US20080095142A1 (en) Method and apparatus for updating a count value
JP2011149169A (en) Method for detecting remaining battery level
JP2010157794A (en) Remote control apparatus for vehicle
EP3772863A1 (en) Electronic key and method for wireless flashing of an electronic key
JP2001027063A (en) Transmitter for controlling automobile door lock
US7020502B2 (en) Transmitter for remote control system
JP4232288B2 (en) Keyless entry control system
JP5689865B2 (en) Control device
US20050268088A1 (en) Vehicle control system, and in-vehicle control apparatus and mobile device used therefor
JP2009264010A (en) Remote control device
JP2012191306A (en) Radio communication system
JP4013993B2 (en) Error control apparatus, error control method, and program
JP2007195156A (en) Error controller and program