JP4056685B2 - Wireless device - Google Patents
Wireless device Download PDFInfo
- Publication number
- JP4056685B2 JP4056685B2 JP2000236110A JP2000236110A JP4056685B2 JP 4056685 B2 JP4056685 B2 JP 4056685B2 JP 2000236110 A JP2000236110 A JP 2000236110A JP 2000236110 A JP2000236110 A JP 2000236110A JP 4056685 B2 JP4056685 B2 JP 4056685B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- counter value
- receiver
- transmission
- transmitter
- 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
Links
Images
Landscapes
- Lock And Its Accessories (AREA)
- Selective Calling Equipment (AREA)
Description
【0001】
【発明の属する技術分野】
この発明は、送信機から所定の送信コードを送信して、例えば施錠装置をロック,アンロックなどの応答動作を行わせるようにした無線装置に関するものである。
【0002】
【従来の技術】
この種の無線装置としては、例えば特開平8―120987号に示されているようなものがあるので、それを以下に説明する。
送信スイッチの操作に伴って、送信機(不図示)から、図6に示すようなカスタムコード、固定コード(IDコード)、暗証コード(以下、ローリングコードという)、機能コード、終了コードからなる送信コードを受信機が受信すると、受信機は、まず受信した固定コードが登録された正規コードの固定コードに一致しているか否かを判定し、一致しないと判断した場合には、受信した次のローリングコードと正規ローリングコード(前回の照合に用いられたローリングコードに基づき所定の計算式を利用して求められた正規コードのローリングコード)を比較する。そして、受信したローリングコードが正規ローリングコードに一致すればアクチュエータを駆動して、機能コードに基づく所定の応答動作を行う。
【0003】
一方、送信機の正規所有者が送信スイッチを空押ししてしまったような場合には、送信コードのローリングコードが変化してしまうので、正規コードとの間にずれが発生して、ローリングコードが一致しなかった場合には、今回使用されたローリングコードを一旦受信機のメモリに記録すると共に、前回入力された送信コードのローリングコードに基づいて送信コードと正規コードの間のずれを修正するようにしている。そしてその結果、次回、送信機からの送信コードは正規コードに一致するようになる。
【0004】
【発明が解決しようとする課題】
このような装置においては、送信機の送信コードのうちIDコードを固定し、ローリングコードのみを変化させて防盗性を高めるようにしているので、ローリングコードの発生パターンが盗まれ、送信コードが読み取られないという保証はない。
【0005】
この発明は、このような問題点に着目してなされたもので、さらに防盗性を高めることを目的としてなされたものである。
【0009】
【課題を解決するための手段】
第1の発明に係る無線装置は、スイッチ操作に伴って異なる送信コードを発信する送信機と、この送信機における送信コードの変更に対応して所定の順序で正規コードを切り替える受信機を備え、送信コードと正規コードを対照して両者が一致した時に受信機側で所定の出力を行う無線装置において、前記受信機は、送信コードとして、少なくともIDコード、ローリングコード、スイッチ操作に係わるカウンタ値を含み、前記ローリングコードは、IDコード、スイッチ操作に係わるカウンタ値に基づいて算出されるものであって、前記送信機からのスイッチ操作に係わるカウンタ値が、前記受信機での前記送信コードの受信回数より所定の範囲を超えて多いと判断したとき、その受信回数を送信回数に一致せしめたことを特徴とするものである。
【0010】
第2の発明に係る無線装置は、第1の発明における受信機は、受信回数を送信回数に一致せしめた後、前記暗証コード部分の照合を行うことを特徴とするものである。
【0011】
【発明の実施の形態】
次に、この発明による実施の形態について説明する。
【0012】
実施の形態1.
図1はキーレスエントリー装置の回路ブロック説明図、図2は送信コードの構成説明図、図3は図1に示すCPU11の作動を示すフローチャートである。
図1において、1は携帯用送信機(無線装置)、2は自動車側に取り付けられた受信機(無線装置)、3は自動車ドアのロック、アンロック装置を駆動するアクチュエータで、受信機2のインターフェイス(I/F)16に接続されている。前記送信機1には、電池4、送信用操作スイッチ(アンロック用スイッチ5aとロック用スイッチ5bとからなる)5、ROM6、EEPROM7、RAM8、CPU9等が設けられており、また前記受信機2には受信機11、ROM12、EEPROM13、RAM14、CPU15、インターフェイス16等が設けられている。
【0013】
まず、送信機1の構成及びその作動を説明する。
前記ROM6は、不揮発性メモリであって、送信コード(図2に示すようにカスタムコード、IDコード(固定)、カウンタ値n、ローリングコード、機能コード及び終了コードから構成される)の通信フォーマットを記憶しているが、このROM6に記憶されている前記項目のうちローリングコードにあっては、ローリングコード自身のみではなく、該ローリングコード算出用の計算式そのものが含まれている。すなわち、計算式とはこの発明におけるカウンタ値n(=n1とn2とを結合した値)を意味し、それは上位ビットn1と下位ビットn2から表現されている。例えば、上位ビットn1及び下位ビットn2がそれぞれ4ビットで、それらが1つになって8ビットで表現されている。
【0014】
EEPROM7は、後述のCPU9が、前記ROM6に記憶された前記ローリングコード算出用の計算式に基づいて算出すると共に、CPU9によって予め算出された次回の操作スイッチ5のオン時に送出されるローリングコードを記憶する。さらにEEPROM7は、前記操作スイッチ5の過去におけるオン操作回数、すなわちカウンタ値nを記憶している。
【0015】
CPU9は、送信スイッチ5からオン信号を受けると、前記ROM6に記憶された前記通信フォーマットを読み取ると共に、EEPROM7から今回使用する前回までの前記スイッチ5のオン操作回数、すなわちカウンタ値nを読み取って、そのカウンタ値nに1を加えた今回送信するカウンタ値nを算出すると共に、その読み取った計算式に基づいて今回の送信時に使用するローリングコードを算出する。なお、前記ローリングコードは、前記カスタムコード、IDコード、カウンタ値n、機能コード等をもとにして前記計算式に基づいて算出される。
【0016】
また、前記CPU9は、前記算出したローリングコード及びカウンタ値n並びに前記ROM6から読み取ったカスタムコード、IDコード、機能コード及び終了コードを所定の通信フォーマットに整えて送信出力器10から送信コードとして発信する。
【0017】
上記構成によって、CPU9は、カウンタ値n、ローリングコードに前記通信フォーマットを当てはめて、図2に示すようなデータ形態にして送信出力器10から受信機2に向けて送信する。その後、カウンタ値nは1加えられてEEPROM7に記憶される。
例えば、本発明に係わるカウンタ値nの下位ビットn1については、図4に示すように1回目の操作スイッチ5、例えばアンロック用スイッチ5aのオン操作直前のカウンタ値n1が“00000100”の場合には、1回目のオン操作時にはカウンタ値n1が“00000101”になり、2回目は“00000110”、‥‥‥‥‥‥‥、13回目は“00010001”、14回目は“00010010”となる。
【0018】
次に、受信機2について説明する。
すなわち、11は受信機で、前記送信機1の送信出力器10から送信される送信コードを受信すると、CPU15は後述のROM12に記憶されている通信フォーマットに基づいてその送信コードの中からIDコード、カウンタ値n、ローリングコード、機能コードを抽出する。
【0019】
12はROMで、前記ROM6に対応するもので、前記送信フォーマットを受信フォーマットとして記憶し、また13はEEPROMで、登録された正規コード、すなわちIDコード、カウンタ値n及び機能コードを記憶し、CPU15からの読み取り要求に応答してこれらの各種コードを供給する。また前記ROM12は、ローリングコード計算用の計算式を記憶し、CPU15からの読み取り要求に応答してこれらの各種コードを供給する。
【0020】
13はEEPROMで、カウンタ値n,S(初期設定時にはn1に等しい)を異なる記憶エリア、例えばエリア1にnを、またエリア2にSを記憶し、CPU15からの読み取り要求に対してカウンタ値n,Sのうちカウンタ値nの下位ビットn1を供給する。
【0021】
15はCPUで、前記受信機11からIDコード、カウンタ値n1、ローリングコード及び機能コードを含む送信コードが供給されてくると、前記ROM12からローリングコード計算式を読み取り、また前記EEPROM13からカウンタ値n,Sの下位ビットn1,S1を読み取って、図3に示すフローチャートに従ってコード照合を行い、その照合結果がOKであれば、インターフェイス16を介してアクチュエータ3を駆動して、前記機能コードに応じてドアロック、又はアンロックを制御し、照合が成り立たずにNGであれば制御しない。またCPU15は、読み取ったカウンタ値n1を前記EEPROM13に記憶せしめる。
【0022】
次に、CPU15の動作を、図3に示すフローチャートに基づいて以下に説明する。
送信機1から送信コードが受信機11に送信されてくると、CPU15はステップST1において、受信した送信コードの通信フォーマットからIDコードを抽出し、ステップST2で、そのIDコードとEEPROM13に記憶されたIDコードとの照合を行う。ステップST2における照合が成立せず、NGとなり失敗した場合には、不正規の異なる送信コードを受信したと判断してステップST10に進み、照合動作を終了する。
【0023】
また、ステップST2において、IDコードが一致して照合OKとなった場合には、ステップST3に進み、前回使用されたカウンタ値n1、例えば図4に示されるカウンタ値n1が“00000100”、カウンタ値S1が“00000100”のコードをEEPROM15から読み取り、ステップST4に進む。
【0024】
ステップST4では、受信機11が受信したローリングコード、IDコード、機能コード及びカウンタ値nの下位ビットn1からカウンタ値nの上位ビットn2を算出する。
なお、このカウンタ値nの上位8ビットn2の算出に当たっては、受信した、例えば24ビットのIDコードを受信した下位ビット分を左にシフトさせる(また、カウンタ値が24ビット以上の場合には、24で割った余り分をシフトさせる)ことによって得られたビット列と、受信したカウンタ値nの下位ビットn1とローリングコードを並べて、ビット列を得て、それらのイクスクルースブオアをとることによって得る。
【0025】
ステップST5は、(ステップST4で算出したカウンタ値n2)から(ステップST3で読み取ったカウンタ値nのうちのカウンタ値n1)を差し引いて、その差を求め、その差が0〜128の範囲にあれば、送信機1を所有する人の誤った“空押し”の範囲であると考えられ、次のステップST6に進むが、この範囲を超えている場合には、他の送信機からの送信コードを受信している可能性があると判断してステップST11に進む。
【0026】
ステップST6に進んできた場合には、ステップST4で算出したカウンタ値n2をもとに、IDコード、機能コード、カスタムコードからローリングコードを算出する。
また、次のステップST7において、今回ステップST4で読み取られたローリングコードとステップST6にて算出したローリングコードと照合して一致しない場合にはステップST10に進み、照合動作を禁止する。一方、照合が一致して成立した場合にはステップST8に進む。
【0027】
ステップST8においては、次回の照合のためにステップST4で算出したカウンタ値n2,S2とステップST2で読み取ったカウンタ値n1,S1に結合して、カウンタ値n,Sを作成して、EEPROM13に記憶している前回使用したカウンタ値n,Sを書き換える。
その後、ステップST9に進み、ステップST1で読み取られた機能コードに対応する動作を行って、例えば機能コードがドアアンロックを示すものであるならばドアロックを示す信号をインターフェイス16を介してアクチュエータ3に供給し、その後、ステップST10に進み、プログラム作動を終了する。
【0028】
ステップST5においてカウンタ値nが所定値、例えば128以上であると判断されて、ステップST11に進んできた場合には、前回の送信コード受信時にステップST8で書き換え記憶されているカウンタ値SからステップST3で読み取ったカウンタ値n128,Sのうちのカウンタ値Sを差し引いて、その差を求め、その差が0〜128の範囲にあれば、送信機1を所有する人の誤った“空押し”の範囲であると考えられ、ステップST6に進み、通常の処理へ進むが、この範囲を超えている場合には、“空押し”を行って、例えば遊んだと判断してステップST12,ST13に進む。
【0029】
ステップST12,ST13では、ステップST6,ST7における動作と同一の動作を行う。
また、次のステップST13において、今回ステップST4で読み取られたローリングコードとステップST12にて算出したローリングコードと照合して一致しない場合にはステップST10に進み、照合動作を禁止する。一方、照合が一致して成立した場合にはステップST14に進み、
【0030】
ステップST14では、ステップST8と同様に、次回の照合のためにステップST4で算出したカウンタ値n2,S2とステップST2で読み取ったカウンタ値n1,S1に結合して、カウンタ値n,Sを作成して、EEPROM13に記憶する。
【0031】
次に、上記構成におけるカウンタ値の下位ビット部分の詳細説明を図4を参照して行う。なお、上位ビット部分については、通常のスイッチ操作においては桁数が大きく、変化することはほとんどないので説明は省略する。
(1回目)
まず、送信機1の送信コードのカウンタ値n1が “00000100”の場合に、アンロック用スイッチ5aを1回オン操作すると、カウンタ値n1が“00000101”になり、このカウンタ値n1が受信機2に送信され、EEPROM13に記憶されていたカウンタ値n1(“00000100”:S1も同一)との比較で差が127以内のため、ステップST8でカウンタ値n1、S1が“00000101”と更新される。
【0032】
(2回目)
次に、もう1回、操作スイッチ5を1回オン操作すると、カウンタ値n1が“00000110”になり、このカウンタ値n1が受信機2に送信され、EEPROM13に前回記憶したカウンタ値n1(“00000101”:S1も同一)と一致するので、ステップST8でカウンタ値n1、S1が“00000110”と更新される。
【0033】
(途中)
ここで、操作スイッチ5を130回空押しすると、送信機1のカウンタ値n1は、“10000111”に更新される。
【0034】
(3回目)
アンロック用スイッチ5aを1回オン操作すると、カウンタ値n1が“10001000”になり、このカウンタ値n1が受信機2に送信され、EEPROM13に2回目の時に記憶したカウンタ値n1(“00000110”:S1も同一)と異なり、その差が0〜127の範囲を超えるので、ステップST14でカウンタ値n1のみが“10001000”と、今回のカウンタ値に更新される。
【0035】
(4回目)
もう1度アンロック用スイッチ5aを1回オン操作すると、カウンタ値n1が“10001001”になり、このカウンタ値n1が受信機2に送信され、EEPROM13に2回目の時に記憶していたカウンタ値n1(“10001000”)との比較で差が127以内のため、ステップST11から、通常動作時のステップであるステップST6に進み、カウンタ値n1,S1が“10001001”と更新される。
【0036】
次に、カウンタ値nの算出方法とローリングコードの算出方法について図5を参照しながら再述する。
携帯用送信機1から受信機2に図5(A)に示す送信コード、すなわちカスタムコード、機能コード、IDコード、ローリングコード、カウンタ値nの下位ビットn1(K8,K9,・・・K2,K1)が送信されると、その中からIDコードが抽出され、このIDコード(A24,A23,・・・A2,A1)を、今回受信したカウンタ値nの下位ビットn1分を左にシフトさせる。例えば図5(B)に示すようにカウンタ値nの下位が27(十進数で表わした場合)で、送信コードが24ビットの場合、余りが3になるので3回IDコードを左にシフトさせ新IDコードを得る(図5(B))。
【0037】
次に新IDコード(a24,a23,・・・a2,a1)と今回受信したローリングコード(R24,R23,・・・R2,R1)との間でエクスクルーシングオア(EXOR)の論理を演算し、カウンタ値nの上位ビットn2(K16,K15,・・・K9)を抽出する(図5(C))。
【0038】
次に新IDコード(a24,a23,・・・a2,a1)と、カスタムコード、機能コード及びカウンタ値n(上位ビットn2と下位ビットn1とを結合したもの)との間のエクスクルーシングオア(EXOR)の論理を演算し、ローリングコード(R24,R23,・・・R2,R1)を算出する(図5(D))。
その後、この算出したローリングコード(R24,R23,・・・R2,R1)と受信したローリングコード(R24,R23,・・・R2,R1)とを比較して照合する(図5(E))。
【0039】
なお、上記実施の形態では、操作スイッチ5としてアンロック用スイッチ5aを挿圧操作した場合について説明したが、ロック用スイッチ5bを挿圧操作した場合も同様に考えればよい。また操作スイッチ5としてトランクオープン用スイッチを追加してもよく、この場合も前記アンロック用スイッチ5aの場合と同様に考えればよい。さらに複数のスイッチを同時に挿圧操作して、新たな機能を発生させる場合、この同時挿圧を1つのスイッチ操作と考え、これに対応する機能コードを発生させるようにすればよい。
【0040】
【発明の効果】
以上の説明から明らかなように、この発明によれば、送信機からのスイッチ操作に係わるカウンタ値が、受信機での前記送信コードの受信回路より所定の範囲を超えて多いと判断したとき、その受信回数を送信回数に一致せしめ、IDコード、スイッチ操作に係わるカウンタ値に基づいてローリングコードを算出して送信機から受信したローリングコードと照合し、一致した場合、機能コードに対応する動作を行うような構成とすることで、当初の目的とした防盗性の向上を実現できるという効果がある。
【図面の簡単な説明】
【図1】この発明による実施の形態の回路ブロック図である。
【図2】図1で使用される送信コードの構成を説明する送信コード構成図である。
【図3】図1における受信機2のCPU15の制御手順を示すフローチャートである。
【図4】図1の作動を説明するための説明図である。
【図5】カウンタ値nの上位ビットn2とローリングコードを算出する方法の説明図である。
【図6】従来の送信コードの構成を説明する送信コード構成図である。
【符号の説明】
1 携帯用送信機(無線装置)
2 受信機(無線装置)
3 アクチュエータ
4 電池
5 送信用操作スイッチ
6,12 ROM
7,13 EEPROM
8,14 RAM
9,15 CPU
10 送信出力器
11 受信機
16 インターフェイス[0001]
BACKGROUND OF THE INVENTION
The present invention, from the transmitter transmits a predetermined transmission code, for example, lock the locking device, in which relates to wireless equipment which is adapted to perform a responsive action such as unlocking.
[0002]
[Prior art]
As this type of wireless device, for example, there is one as disclosed in Japanese Patent Application Laid-Open No. 8-120987, which will be described below.
A transmission comprising a custom code, a fixed code (ID code), a code (hereinafter referred to as a rolling code), a function code, and an end code as shown in FIG. 6 from a transmitter (not shown) in accordance with the operation of the transmission switch. When the receiver receives the code, the receiver first determines whether or not the received fixed code matches the fixed code of the registered regular code. The rolling code and the normal rolling code (the rolling code of the normal code obtained using a predetermined calculation formula based on the rolling code used in the previous collation) are compared. If the received rolling code matches the normal rolling code, the actuator is driven to perform a predetermined response operation based on the function code.
[0003]
On the other hand, when the authorized owner of the transmitter presses the transmission switch, the rolling code of the transmission code changes, so there is a gap between the normal code and the rolling code. If they do not match, the rolling code used this time is temporarily recorded in the memory of the receiver, and the deviation between the transmission code and the regular code is corrected based on the rolling code of the transmission code input last time. I am doing so. As a result, the transmission code from the transmitter next time matches the regular code.
[0004]
[Problems to be solved by the invention]
In such a device, the ID code is fixed among the transmission codes of the transmitter, and only the rolling code is changed so as to improve the anti-theft performance. Therefore, the occurrence pattern of the rolling code is stolen and the transmission code is read. There is no guarantee that it will not.
[0005]
The present invention has been made paying attention to such problems, and has been made for the purpose of further improving the anti-theft property.
[0009]
[Means for Solving the Problems]
A wireless device according to a first aspect of the present invention includes a transmitter that transmits a different transmission code in accordance with a switch operation, and a receiver that switches a normal code in a predetermined order in response to a change of the transmission code in the transmitter. In a wireless device that performs a predetermined output on the receiver side when the transmission code and the regular code are matched, the receiver has at least an ID code, a rolling code, and a counter value related to a switch operation as the transmission code. wherein the rolling code, ID code, be those that are calculated based on the counter value related to the switch operation, the counter value related to the switching operation from the transmitter, receiving the transmitted code in the receiver When it is determined that the number of times exceeds the specified range, the number of receptions is matched with the number of transmissions. A.
[0010]
According to a second aspect of the present invention, there is provided a wireless device according to the first aspect , wherein the receiver in the first aspect collates the code part after matching the number of receptions with the number of transmissions.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Next, an embodiment according to the present invention will be described.
[0012]
FIG. 1 is a circuit block diagram of the keyless entry device, FIG. 2 is a configuration diagram of a transmission code, and FIG. 3 is a flowchart showing the operation of the CPU 11 shown in FIG.
In FIG. 1, 1 is a portable transmitter (wireless device), 2 is a receiver (wireless device) attached to the automobile side, 3 is an actuator for driving a vehicle door lock / unlock device, It is connected to an interface (I / F) 16. The
[0013]
First, the configuration and operation of the
The
[0014]
The EEPROM 7 is calculated based on the calculation formula for calculating the rolling code stored in the
[0015]
When the
[0016]
Further, the
[0017]
With the above configuration, the
For example, for the lower bit n1 of the counter value n according to the present invention, as shown in FIG. 4, when the counter value n1 immediately before the ON operation of the first operation switch 5, for example, the
[0018]
Next, the
That is, 11 is a receiver. When a transmission code transmitted from the
[0019]
A
[0020]
An
[0021]
[0022]
Next, the operation of the
When the transmission code is transmitted from the
[0023]
In step ST2, if the ID codes match and the collation is OK, the process proceeds to step ST3, where the previously used counter value n1, for example, the counter value n1 shown in FIG. The code having S1 of “00000100” is read from the
[0024]
In step ST4, the upper bit n2 of the counter value n is calculated from the rolling code, ID code, function code received by the receiver 11, and the lower bit n1 of the counter value n.
For the calculation of the upper 8 bits n2 of the counter value n, the received lower bits, for example, the received lower bit for example, a 24-bit ID code are shifted to the left (if the counter value is 24 bits or more, The bit string obtained by shifting the remainder divided by 24), the lower bit n1 of the received counter value n, and the rolling code are arranged to obtain a bit string, and obtained by taking the exclusive bore of them.
[0025]
In step ST5, (the counter value n1 of the counter value n read in step ST3) is subtracted from (the counter value n2 calculated in step ST4) to obtain the difference, and the difference is in the range of 0 to 128. For example, it is considered that it is in the range of erroneous “empty press” of the person who owns the
[0026]
When the process proceeds to step ST6, the rolling code is calculated from the ID code, the function code, and the custom code based on the counter value n2 calculated in step ST4.
In the next step ST7, if the rolling code read in step ST4 is not matched with the rolling code calculated in step ST6, the process proceeds to step ST10 and the collating operation is prohibited. On the other hand, if the matching is established, the process proceeds to step ST8.
[0027]
In step ST8, the counter values n2 and S2 calculated in step ST4 for the next collation and the counter values n1 and S1 read in step ST2 are combined to create counter values n and S, which are stored in the
Thereafter, the process proceeds to step ST9, and an operation corresponding to the function code read in step ST1 is performed. For example, if the function code indicates door unlock, a signal indicating door lock is sent via the
[0028]
If it is determined in step ST5 that the counter value n is a predetermined value, for example, 128 or more, and the process proceeds to step ST11, the counter value S that has been rewritten and stored in step ST8 when the previous transmission code is received is step ST3. The counter value S of the counter values n128, S read in step S is subtracted to obtain the difference. If the difference is in the range of 0 to 128, the person who owns the
[0029]
In steps ST12 and ST13, the same operations as in steps ST6 and ST7 are performed.
In the next step ST13, if the rolling code read in step ST4 is not matched with the rolling code calculated in step ST12, the process proceeds to step ST10 and the collating operation is prohibited. On the other hand, if the matching is established, the process proceeds to step ST14.
[0030]
In step ST14, as in step ST8, the counter values n2 and S2 calculated in step ST4 for the next collation are combined with the counter values n1 and S1 read in step ST2 to create counter values n and S. And stored in the
[0031]
Next, a detailed description of the lower bit portion of the counter value in the above configuration will be given with reference to FIG. The upper bit portion has a large number of digits in a normal switch operation and hardly changes.
(First time)
First, when the counter value n1 of the transmission code of the
[0032]
(Second time)
Next, when the operation switch 5 is turned on once again, the counter value n1 becomes “00000110”. This counter value n1 is transmitted to the
[0033]
(On the way)
Here, when the operation switch 5 is pressed 130 times, the counter value n1 of the
[0034]
(3rd)
When the unlocking
[0035]
(4th)
When the unlocking
[0036]
Next, the calculation method of the counter value n and the calculation method of the rolling code will be described again with reference to FIG.
A transmission code shown in FIG. 5A from the
[0037]
Next, an exclusive OR (EXOR) logic is calculated between the new ID code (a24, a23,... A2, a1) and the currently received rolling code (R24, R23,... R2, R1). Then, the upper bits n2 (K16, K15,... K9) of the counter value n are extracted (FIG. 5C).
[0038]
Next, an exclusion OR between the new ID code (a24, a23,..., A2, a1) and the custom code, function code, and counter value n (combined upper bit n2 and lower bit n1) The logic of (EXOR) is calculated to calculate rolling codes (R24, R23,... R2, R1) (FIG. 5D).
Thereafter, the calculated rolling code (R24, R23,... R2, R1) and the received rolling code (R24, R23,... R2, R1) are compared and collated (FIG. 5 (E)). .
[0039]
In the above-described embodiment, the case where the unlocking
[0040]
【The invention's effect】
As is clear from the above description, according to the present invention, when it is determined that the counter value related to the switch operation from the transmitter exceeds the predetermined range than the reception circuit of the transmission code at the receiver, Match the number of receptions with the number of transmissions, calculate the rolling code based on the ID code and the counter value related to the switch operation, and compare it with the rolling code received from the transmitter. By adopting such a configuration, there is an effect that improvement of the anti-theft property intended for the original purpose can be realized.
[Brief description of the drawings]
FIG. 1 is a circuit block diagram of an embodiment according to the present invention.
FIG. 2 is a transmission code configuration diagram illustrating the configuration of a transmission code used in FIG. 1;
3 is a flowchart showing a control procedure of a
4 is an explanatory diagram for explaining the operation of FIG. 1; FIG.
FIG. 5 is an explanatory diagram of a method for calculating an upper bit n2 of a counter value n and a rolling code.
FIG. 6 is a transmission code configuration diagram illustrating a configuration of a conventional transmission code.
[Explanation of symbols]
1 Portable transmitter (wireless device)
2 Receiver (wireless device)
3 Actuator 4 Battery 5 Operation switch for
7,13 EEPROM
8,14 RAM
9,15 CPU
10 Transmitter output 11
Claims (2)
前記受信機は、送信コードとして、少なくともIDコード、ローリングコード、スイッチ操作に係わるカウンタ値を含み、
前記ローリングコードは、IDコード、スイッチ操作に係わるカウンタ値に基づいて算出されるものであって、
前記送信機からのスイッチ操作に係わるカウンタ値が、前記受信機での前記送信コードの受信回数より所定の範囲を超えて多いと判断したとき、その受信回数を送信回数に一致せしめたことを特徴とする無線装置。Equipped with a transmitter that transmits different transmission codes in response to switch operations, and a receiver that switches the normal codes in a predetermined order in response to changes in the transmission codes in this transmitter. In a wireless device that performs a predetermined output on the receiver side when
The receiver includes at least an ID code, a rolling code, and a counter value related to switch operation as a transmission code,
The rolling code is calculated based on an ID code and a counter value related to a switch operation,
Wherein the counter value according to the switch operation from the transmitter, when it is determined that often exceeds the predetermined range from the number of times of reception of the transmitted code in the receiver, which allowed matching the received number to the number of transmissions A wireless device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000236110A JP4056685B2 (en) | 2000-08-03 | 2000-08-03 | Wireless device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000236110A JP4056685B2 (en) | 2000-08-03 | 2000-08-03 | Wireless device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002047838A JP2002047838A (en) | 2002-02-15 |
JP4056685B2 true JP4056685B2 (en) | 2008-03-05 |
Family
ID=18728219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000236110A Expired - Fee Related JP4056685B2 (en) | 2000-08-03 | 2000-08-03 | Wireless device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4056685B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9306743B2 (en) * | 2012-08-30 | 2016-04-05 | Texas Instruments Incorporated | One-way key fob and vehicle pairing verification, retention, and revocation |
-
2000
- 2000-08-03 JP JP2000236110A patent/JP4056685B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2002047838A (en) | 2002-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5506905A (en) | Authentication method for keyless entry system | |
JP4617326B2 (en) | Vehicle anti-theft system | |
US5767784A (en) | Initialization method for keyless entry system | |
US5905445A (en) | Keyless entry system with fast program mode | |
JP4390437B2 (en) | Remote control device | |
JP4190152B2 (en) | User-independent automatic resynchronization of keyless entry system | |
JP4594227B2 (en) | Equipment control system | |
EP0733759B1 (en) | Security system and method therefor | |
US5844990A (en) | Transmission-reception system | |
JP4056685B2 (en) | Wireless device | |
JP7300690B2 (en) | Wireless communication system for vehicles, in-vehicle device for wireless communication system for vehicle, portable device for wireless communication system for vehicle | |
JP3864300B2 (en) | Unlocking method | |
JP5249180B2 (en) | Electronic key system | |
JP2003064920A (en) | Vehicle key system, vehicle side key device and electronic key | |
JP5462146B2 (en) | Electronic key system | |
JP3858621B2 (en) | Electronic key device for vehicle | |
JP7493663B1 (en) | Vehicle control device and code update method | |
JP6697688B2 (en) | Portable and in-vehicle devices | |
WO1998026534A1 (en) | Authentication system and method for a remote keyless entry system | |
JP5758757B2 (en) | Electronic key system | |
JP2004042716A (en) | Keyless entry executing immobilizer authentication | |
JP7145449B2 (en) | Vehicle wireless communication system, identification information registration method, vehicle-mounted device and portable device | |
JP7155865B2 (en) | Activation determination device | |
JP5313754B2 (en) | Authentication system and authentication method | |
EP0887497B1 (en) | RF based theft deterrent system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050325 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070731 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070807 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071005 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20071011 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20071011 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20071011 |
|
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: 20071113 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071212 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101221 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101221 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111221 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131221 Year of fee payment: 6 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |