Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3110964B2 - Signal collation method - Google Patents
[go: Go Back, main page]

JP3110964B2 - Signal collation method - Google Patents

Signal collation method

Info

Publication number
JP3110964B2
JP3110964B2 JP06335707A JP33570794A JP3110964B2 JP 3110964 B2 JP3110964 B2 JP 3110964B2 JP 06335707 A JP06335707 A JP 06335707A JP 33570794 A JP33570794 A JP 33570794A JP 3110964 B2 JP3110964 B2 JP 3110964B2
Authority
JP
Japan
Prior art keywords
code
variable code
signal
variable
time
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
JP06335707A
Other languages
Japanese (ja)
Other versions
JPH08182077A (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.)
Minebea AccessSolutions Inc
Original Assignee
Honda Lock Manufacturing 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 Honda Lock Manufacturing Co Ltd filed Critical Honda Lock Manufacturing Co Ltd
Priority to JP06335707A priority Critical patent/JP3110964B2/en
Publication of JPH08182077A publication Critical patent/JPH08182077A/en
Application granted granted Critical
Publication of JP3110964B2 publication Critical patent/JP3110964B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は信号照合方法に関し、特
に車両用ロック装置の遠隔制御装置に用いるのに適した
信号照合方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal collating method, and more particularly to a signal collating method suitable for use in a remote control device of a vehicle locking device.

【0002】[0002]

【従来の技術】車両に設けられたドアロック装置を送信
装置から送信される無線信号によって遠隔的に施錠/解
錠するようにしたものが一般に知られている。このよう
な装置に於て、無線信号が他人にコピー装置によりコピ
ーさせると、そのコピーされた信号によってドアロック
装置が容易に解錠されてしまうという不具合があった。
2. Description of the Related Art It is generally known that a door lock device provided in a vehicle is remotely locked / unlocked by a radio signal transmitted from a transmission device. In such a device, when a radio signal is copied by another person using a copy device, the door lock device is easily unlocked by the copied signal.

【0003】そこで、これを防止するために送信装置か
ら発せられる無線信号を送信の毎に変化させることによ
り、コピー信号では解錠できないようにする方法が、例
えば特開平1−278671号公報等に開示されてい
る。その構造は、無線信号(数値コード)を送信する際
に前回送信した数に所定数を加算(または減算)して送
信し、受信装置側では前回受信した無線信号(数値コー
ド)を記憶しておき、今回受信した無線信号が記憶され
ている信号より大きければ(または小さければ)解錠を
可能とするものである。
In order to prevent this, a method of changing the radio signal emitted from the transmission device every transmission so that the copy signal cannot be unlocked is disclosed in, for example, Japanese Patent Application Laid-Open No. 1-278671. It has been disclosed. The structure is such that when transmitting a wireless signal (numerical code), a predetermined number is added (or subtracted) to the previously transmitted number and transmitted, and the receiving device stores the previously received wireless signal (numeric code). If the radio signal received this time is larger (or smaller) than the stored signal, unlocking is possible.

【0004】[0004]

【発明が解決しようとする課題】上記した前回のコード
に対して加減算処理を行うためにそのコードを記憶する
ための記憶装置を送信装置に設ける必要がある。この記
憶装置として例えばE2PROMを使用すると、コスト
が高く、しかも大型化することから一般的にはRAMや
カウンタで構成するようになっている。この場合、上記
無線信号の数値コードの桁数を例えば10進数4桁とす
ると、0001〜9999の間でコードが増減すること
となるが、例えば数値が増加する場合、9999までカ
ウントされるとオーバーフローしてしまい、初期値00
00に戻り、大小比較ができなくなる。また、送信装置
を電池交換などによりリセットした場合にも同様に大小
比較ができなくなる。即ち、例えば前回コードが999
9のとき0000の可変コードを受信しても解錠でき
ず、その後のメンテナンスが面倒になる。
In order to perform the addition / subtraction process on the previous code, it is necessary to provide a storage device for storing the code in the transmission device. If an E 2 PROM is used as this storage device, for example, the cost is high and the size is increased, so that the storage device is generally constituted by a RAM or a counter. In this case, if the number of digits of the numerical code of the radio signal is, for example, 4 decimal digits, the code will increase or decrease between 0001 and 9999. And the initial value 00
Returning to 00, the magnitude comparison cannot be performed. Similarly, when the transmitting device is reset by replacing the battery or the like, the magnitude comparison cannot be performed. That is, for example, the previous code is 999
In the case of 9, even if the variable code of 0000 is received, it cannot be unlocked, and the subsequent maintenance becomes troublesome.

【0005】そこで、このような不具合を避けるため
に、従来は可変コードの桁数を大きくする必要があり、
その分の記憶容量を確保するために記憶装置の大型化に
伴う送信装置の大型化及び高コスト化を余儀なくされて
いた。その場合も送信装置のリセット時などにコードが
識別不能になる問題は解決されない。同様な問題は車両
ドアロック装置に限らず通常の建物のドアのロック装置
など、受信した信号が正規の信号であるか否かを確認す
る必要のある場合に常に生じる。
Therefore, in order to avoid such a problem, conventionally, it is necessary to increase the number of digits of the variable code.
In order to secure such a storage capacity, the size and cost of the transmission device must be increased with the increase in the size of the storage device. Also in this case, the problem that the code cannot be identified at the time of resetting the transmission device or the like is not solved. Similar problems always occur when it is necessary to confirm whether or not a received signal is a legitimate signal, such as not only a vehicle door lock device but also a normal building door lock device.

【0006】本発明は上記したような従来技術の問題点
に鑑みなされたものであり、その主な目的は、数値から
なる可変コードを識別コードとして用いる信号送受信装
置に於て、装置の大型化及びコストの高騰化を伴うこと
なく正規な送信信号のみを確実に識別でき、しかもエラ
ー発生時のメンテナンスが容易な信号照合方法を提供す
ることにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the prior art, and a main object of the present invention is to increase the size of a signal transmitting / receiving apparatus using a variable code consisting of numerical values as an identification code. Another object of the present invention is to provide a signal collation method that can reliably identify only a legitimate transmission signal without increasing the cost and that can easily perform maintenance when an error occurs.

【0007】[0007]

【課題を解決するための手段】上記した目的は本発明に
よれば、予め設定された固定コードと、送信する毎に前
回生成したコードに所定の変化を加えて変更される可変
コードとを含む信号を送信装置から送信し、これを車両
用ロック装置の遠隔制御装置に用いるべく車両側に設け
られた受信装置にて受信し、今回受信した信号に含まれ
る固定コードが予め設定された正規の固定コードと一致
し、かつ今回受信した信号に含まれる可変コードが前回
正規のコードであると識別された可変コードに対して所
定の変化をしていれば、前記合致信号を出力して前記ロ
ック装置の施錠/解錠を制御し、かつ今回受信した可変
コードを前記受信装置に次回使用する基準可変コードと
して記憶する信号照合方法に於て、前記可変コードが前
記基準可変コードに対して前記所定の変化をしていない
場合に、前記車両のイグニッションキースイッチを所定
の回数だけ0N/0FFした後、所定の時間内に前記送
信装置からの信号を受信し、該信号に含まれる前記固定
コードが前記正規の固定コードと一致すれば、前記信号
に含まれる可変コードを前記受信装置に次回使用する基
準可変コードとして記憶可能とすることを特徴とする信
号照合方法を提供することにより達成される。特に、前
所定の変化が、今回受信した信号に含まれる可変コー
ドが前記受信装置に記憶された基準可変コードに対して
所定のカウント数以内の変化であると良い。
According to the present invention, the above objects include a fixed code that is set in advance and a variable code that is changed by adding a predetermined change to a previously generated code each time it is transmitted. Transmits the signal from the transmitting device and sends it to the vehicle
Provided on the vehicle side for use in the remote control device of the lock device
The fixed code included in the signal received this time and received this time matches the preset fixed code, and the variable code included in the signal received this time is identified as the last valid code. If a predetermined change has been made to the changed variable code, the matching signal is output and the variable code is output .
In a signal collation method for controlling locking / unlocking of a locking device and storing the variable code received this time as a reference variable code to be used next time in the receiving device, the variable code is
The predetermined change has not been made to the reference variable code
If the ignition key switch of the vehicle is
After performing 0N / 0FF the number of times,
Receiving the signal from the communication device, and fixing the fixed signal included in the signal.
If the code matches the legitimate fixed code, the signal
The signal collating method is characterized in that the variable code included in the above is stored in the receiving device as a reference variable code to be used next time. In particular, before
It is preferable that the predetermined change is a change in which the variable code included in the signal received this time is within a predetermined count number with respect to the reference variable code stored in the receiving device.

【0008】[0008]

【作用】このように、車両用ロック装置の遠隔制御装置
に於ける送信装置と受信装置との間で何らかの事情によ
り可変コードの識別ができなくなっても、車両のイグニ
ッションキースイッチを所定の回数だけ0N/0FFし
た後、所定の時間内に送信装置からの信号を受信し、該
信号に含まれる前記固定コードが予め設定された正規の
固定コードと一致すれば、受信した信号に含まれる可変
コードを正規の可変コードと判断するように設定するこ
とで、送信装置の所有者が正規の所有者であることが確
認できることから、上記エラー発生後のコピーによる解
錠を確実に防止できる。更に、信号に含まれる可変コー
ドと受信装置側に記憶されている前回の可変コード(基
準可変コード)とを数値自体の大小ではなく、カウント
数の差が所定の範囲内で変化していれば、正規のコード
とみなすようにすれば、可変コードがオーバーフローし
て初期値にリセットされてもループして正常に作動する
ことから上記エラー自体の発生が低減される。
As described above, even if the variable code cannot be identified for some reason between the transmitting device and the receiving device in the remote control device of the vehicle locking device , the ignition key switch of the vehicle is operated a predetermined number of times. 0N / 0FF, after receiving a signal from the transmitting device within a predetermined time, if the fixed code included in the signal matches a predetermined regular fixed code, a variable code included in the received signal is used. Is determined to be a legitimate variable code, it is possible to confirm that the owner of the transmitting device is the legitimate owner, so that unlocking by copying after the occurrence of the error can be reliably prevented. Furthermore, if the variable code included in the signal and the previous variable code (reference variable code) stored in the receiving device are not the magnitude of the numerical value itself, but the difference in the count number changes within a predetermined range. If the variable code is regarded as a legitimate code, even if the variable code overflows and is reset to the initial value, the loop operates normally and the occurrence of the error itself is reduced.

【0009】[0009]

【実施例】以下、本発明の好適実施例を添付の図面につ
いて詳しく説明する。図1は、本発明が適用された外部
から送信装置を操作して車両ドアの施錠/解錠を行う所
謂キーレスエントリーシステムを有する車両用ドアロッ
ク装置に於ける携帯用送信装置1及び車両側受信装置2
の要部構成を示すブロック図である。送信装置1は、そ
の内部の信号生成回路3にて生成した固定コード及び可
変コードから構成される信号を送信回路4を介して赤外
線信号として外部に送信するようになっている。ここ
で、固定コードはこの送信装置1に固有のコードであ
り、ROM5に記憶されている。また、可変コードは送
信スイッチ7を押す毎に1ずつ加算される10進数4桁
の数値コードからなり、例えば前回生成した可変コード
をRAM6に記憶し、送信スイッチ7を押すとこのコー
ドに1を加算して送信回路4を介して固定コードと共に
外部に送信すると共にこの1が加算された可変コードを
RAM6に記憶するようになっている。尚、符号8は送
信装置1の電源(電池)である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a preferred embodiment of the present invention. FIG. 1 shows a portable transmission device 1 and a vehicle-side reception device in a vehicle door lock device having a so-called keyless entry system for locking / unlocking a vehicle door by operating a transmission device from the outside to which the present invention is applied. Device 2
FIG. 2 is a block diagram showing a configuration of a main part of FIG. The transmission device 1 transmits a signal composed of a fixed code and a variable code generated by the internal signal generation circuit 3 to the outside as an infrared signal via the transmission circuit 4. Here, the fixed code is a code unique to the transmission device 1 and is stored in the ROM 5. The variable code is a 4-digit decimal number code that is incremented by one each time the transmission switch 7 is pressed. For example, the previously generated variable code is stored in the RAM 6, and when the transmission switch 7 is pressed, 1 is added to this code. The sum is transmitted to the outside together with the fixed code via the transmission circuit 4, and the variable code with the 1 added is stored in the RAM 6. Note that reference numeral 8 denotes a power supply (battery) of the transmission device 1.

【0010】一方、受信装置2は、上記した赤外線信号
を受信して電気的信号に変換する受信回路11とコント
ロールユニット12とを有している。このコントロール
ユニット12は、受信した信号の固定コードを、E2
ROM13に予め記憶されている正規の固定コードと比
較照合すると共に受信した信号の可変コードをE2PR
OM13に前回記憶された基準可変コードと後記するよ
うに比較照合し、その結果に応じて、ドアロック装置1
4に駆動信号を出力すると同時に今回受信した可変コー
ドをE2PROM13に基準可変コードとして記憶させ
るようになっている。
On the other hand, the receiving device 2 has a receiving circuit 11 for receiving the above-mentioned infrared signal and converting it into an electric signal, and a control unit 12. The control unit 12 converts the fixed code of the received signal into E 2 P
E 2 PR a variable code of the received signal with comparison against the fixed code of the prestored normal to ROM13
The reference variable code previously stored in the OM 13 is compared and collated as described below, and according to the result, the door lock device 1
The variable code received this time is stored in the E 2 PROM 13 as a reference variable code at the same time that the drive signal is output to the drive signal 4.

【0011】次に本実施例に於ける信号照合手順につい
て図2を参照して説明する。まず、受信装置2にて赤外
線信号を受信すると(ステップ1)、電気的信号に変換
した後、その固定コードを、E2PROM13に予め記
憶されている正規の固定コードと比較照合する。そし
て、この固定コードが正規のコードであると判断したら
ステップ3に進み、信号中の可変コードを、前回受信し
て正規のコードであることが確認された基準可変コード
と比較照合し、今回受信した信号の固定コードが正規の
固定コードと一致し、かつ今回受信した信号の可変コー
ドと基準可変コードとのカウント数の差が後記する比較
方法により所定の関係であればステップ4にてドアロッ
ク装置14に合致信号(駆動信号)を出力すると共にス
テップ5にて今回受信した可変コードをE2PROM1
3に基準可変コードとして記憶させる。また、ステップ
3にて今回受信した信号の可変コードと基準可変コード
とのカウント数の差が所定の関係となっていなければ、
後記する更新サブルーチンのステップ31〜ステップ3
7を実行する。
Next, a signal collating procedure in this embodiment will be described with reference to FIG. First, when an infrared signal is received by the receiving apparatus 2 (step 1), the signal is converted into an electric signal, and the fixed code is compared with a regular fixed code stored in advance in the E 2 PROM 13 for comparison. If it is determined that the fixed code is a legitimate code, the process proceeds to step 3 where the variable code in the signal is compared with the reference variable code previously received and confirmed to be a legitimate code. If the fixed code of the received signal matches the regular fixed code, and the difference between the count numbers of the variable code of the signal received this time and the reference variable code is a predetermined relationship according to a comparison method described later, the door lock is performed in step 4. A match signal (drive signal) is output to the device 14 and the variable code received this time in step 5 is stored in the E 2 PROM 1
3 is stored as a reference variable code. If the difference between the count numbers of the variable code of the signal received this time and the reference variable code does not have a predetermined relationship in step 3,
Steps 31 to 3 of the update subroutine described later
Execute 7.

【0012】ここで、上記した可変コードを受信装置2
にて正規のコードと判断する条件の一例について説明す
る。まず、可変コードは、初期値を0000、上限値を
9999とする10進数4桁の数値コード、即ち000
0〜9999までの任意の数字である。この数字は99
99に1を加算すると0000にリセットされる。即ち
例えば数字9998に対して1を4回加えると0002
となる。これはRAM6が数字の下4桁しか記憶できな
いとしても良いし、カウンタが4桁のものであるとして
も良い。まず、前回受信した信号に含まれる可変コード
(基準可変コード)Bに対して今回受信した信号に含ま
れる可変コードAの方が大きいか否かを判断し、大きけ
ればその変化許容カウント数Sを例えば256として、 1≦A−B≦256 …(1) となっていれば可変コードAを正規の可変コードと判断
する。
Here, the above-mentioned variable code is transmitted to the receiving device 2
An example of a condition for determining a legitimate code will be described. First, the variable code is a 4-digit decimal number code having an initial value of 0000 and an upper limit of 9999, that is, 000.
It is an arbitrary number from 0 to 9999. This number is 99
When 1 is added to 99, it is reset to 0000. That is, for example, if 1 is added to the number 9998 four times, 0002
Becomes This may be such that the RAM 6 can store only the last four digits of the number, or the counter may be of four digits. First, it is determined whether or not the variable code A included in the signal received this time is larger than the variable code (reference variable code) B included in the signal received last time. For example, as 256, if 1 ≦ AB ≦ 256 (1), the variable code A is determined to be a normal variable code.

【0013】また、基準可変コードBに対して可変コー
ドAの方が小さければ、 −9999≦A−B≦−9999+255 即ち、 9999≧B−A≧9744 …(2) となっていれば可変コードAを正規の可変コードと判断
する。云うまでもなく、可変コードAが正規の可変コー
ドであれば基準可変コードBと等しくなることはないこ
とからその場合には可変コードAを正規の可変コードで
あると判断することはない。
If the variable code A is smaller than the reference variable code B, the variable code is obtained as follows: −9999 ≦ AB ≦ −9999 + 255, ie, 9999 ≧ BA−9744 (2) A is determined to be a normal variable code. Needless to say, if the variable code A is a normal variable code, the variable code A is not equal to the reference variable code B. In this case, the variable code A is not determined to be a normal variable code.

【0014】より具体的には、例えば基準可変コードB
が0100の場合、今回受信した信号に含まれる可変コ
ードAは0101〜0356の範囲にあるコードであれ
ば正規の可変コードと判断する。即ち、可変コードAが
0357以上であった場合(0357〜9999)、A
−Bが257〜9899の間となることから(1)式に
より可変コードAを正規の可変コードと判断することは
なく、可変コードAが0100以下であった場合(00
00〜0100)、B−Aが0〜100の間になること
から(2)式により可変コードAを正規の可変コードと
判断することはない。
More specifically, for example, the reference variable code B
Is 0100, if the variable code A included in the signal received this time is a code in the range of 0101 to 0356, it is determined to be a normal variable code. That is, when the variable code A is 0357 or more (0357 to 9999), A
Since −B is between 257 and 9899, the variable code A is not determined to be a normal variable code according to the expression (1), and the variable code A is 0100 or less (00
00 to 0100), and since B−A is between 0 and 100, the variable code A is not determined to be a normal variable code by equation (2).

【0015】また、例えば基準可変コードBが9744
〜9999の範囲にある場合、例えば基準可変コードB
が9900の場合、今回受信した信号に含まれる可変コ
ードAは9901〜9999の範囲、または0000〜
0156にあるコードであれば正規の可変コードと判断
する。即ち、可変コードAが9901〜9999の場
合、A−Bがいずれも256以下となることから(1)
式により可変コードAを正規の可変コードと判断する。
また、可変コードAが0157〜9900であった場
合、B−Aが0〜9743の間になることから(2)式
により可変コードAを正規の可変コードと判断すること
はない。
For example, the reference variable code B is 9744
If the value is in the range of ~ 9999, for example, the reference variable code B
Is 9900, the variable code A included in the signal received this time is in the range of 9901 to 9999, or 0000 to 9999.
If the code is in 0156, it is determined to be a regular variable code. That is, when the variable code A is 9901 to 9999, AB becomes 256 or less in all cases (1)
The variable code A is determined as a regular variable code by the equation.
Further, when the variable code A is 0157 to 9900, since BA is between 0 and 9743, the variable code A is not determined to be a normal variable code by the equation (2).

【0016】上記の関係を一般的に処理可能な式で表す
と、可変コードを上限値Nを超えたら初期値aに戻る数
値コードとし、今回受信した信号に含まれる可変コード
Aが基準可変コードBよりも大きい場合には、 1≦A−B≦S となっていれば、可変コードAを正規の可変コードと判
断し、可変コードAが基準可変コードBよりも小さい場
合には、 N−a≧B−A≧N−S−a+1 となっていれば可変コードAを正規の可変コードと判断
する。本実施例ではa=0、N=9999、S=256
である。この変化許容カウント数Sの設定値は任意であ
るが、小さすぎると送信スイッチが何度か誤操作された
ときや、受信が正常に行われなかったりすると条件から
外れてしまう恐れがある。また、可変コードに加算する
数は1に限定されず、任意の数で良い。更に使用する数
値コードは10進数4桁に限定されず、16進数や8進
数の任意の桁数で良い。
If the above relationship is expressed by a formula that can be generally processed, the variable code is a numerical code that returns to the initial value a when the variable code exceeds the upper limit N, and the variable code A included in the signal received this time is the reference variable code. When the variable code A is larger than B, if 1 ≦ AB ≦ S, the variable code A is determined to be a normal variable code. When the variable code A is smaller than the reference variable code B, N- If a ≧ BA ≧ N−S−a + 1, the variable code A is determined to be a normal variable code. In this embodiment, a = 0, N = 9999, S = 256
It is. The set value of the permissible change count S is arbitrary, but if it is too small, the condition may be lost if the transmission switch is erroneously operated several times or if reception is not performed normally. Further, the number to be added to the variable code is not limited to 1, but may be any number. Further, the numerical code to be used is not limited to four decimal digits, but may be any hexadecimal or octal digit.

【0017】一方、送信装置1の電池8を交換すると、
RAM6がリセットされ可変コードが0000にリセッ
トされる。また、送信装置を変化許容カウント数S(本
実施例では256回)以上空打ちした場合は正規の送信
装置1によっても可変コードを正規の可変コードと判断
しなくなる。すると図2のステップ3から更新処理を行
うべくサブルーチンのステップ31に進む。このステッ
プ31ではまず変数nが1か否か、即ちこのルーチンを
実行するのが初回か2回目以降かが判断され、初回(n
=1)であれば、ステップ34にて変数nに1を加え、
ステップ35にて今回受信した信号に含まれる可変コー
ドを比較コードとしてE2PROM13に記憶させてメ
インルーチンのステップ5の後に戻り処理を終了する。
また、ステップ31で変数nが1でなかった場合、即ち
このルーチンを実行するのが2回目以降であった場合、
ステップ32にて今回受信した信号に含まれる可変コー
ドが記憶されている比較コードに1カウント加えたもの
と等しくなっているか否かを判別し、等しくなっていれ
ばステップ33に進み、変数nが5であるか否か、即ち
このルーチンのステップ31〜ステップ35を5回行っ
たか否かを判断し、行っていればステップ36に進んで
変数nを初期値1にしてメインルーチンのステップ5に
戻り今回受信した可変コードをE2PROM13に基準
可変コードとして記憶させる。また、ステップ32にて
今回受信した信号に含まれる可変コードが記憶されてい
る比較コードに1カウント加えたものと等しくなってい
なければ、ステップ37に進んで変数nを初期値1にし
てメインルーチンの後に戻り処理を終了する。
On the other hand, when the battery 8 of the transmitting device 1 is replaced,
The RAM 6 is reset and the variable code is reset to 0000. Further, when the transmitting apparatus is idled more than the permissible change count number S (256 times in this embodiment), even the authorized transmitting apparatus 1 does not determine the variable code as the authorized variable code. Then, the process proceeds from Step 3 of FIG. 2 to Step 31 of the subroutine to perform the updating process. In this step 31, first, it is determined whether the variable n is 1 or not, that is, whether this routine is executed for the first time or for the second time or later.
= 1), 1 is added to the variable n in step 34,
A variable code contained in the currently received signal in step 35 is stored in the E 2 PROM 13 as comparison code ends the process returns after step 5 of the main routine.
If the variable n is not 1 in step 31, that is, if this routine is executed for the second time or later,
In step 32, it is determined whether or not the variable code included in the signal received this time is equal to a value obtained by adding one count to the stored comparison code. It is determined whether or not 5, that is, whether or not Steps 31 to 35 of this routine have been performed five times. If so, the process proceeds to Step 36, where the variable n is set to the initial value 1 and the process proceeds to Step 5 of the main routine. Return The variable code received this time is stored in the E 2 PROM 13 as a reference variable code. If it is determined in step 32 that the variable code included in the signal received this time is not equal to the stored comparison code obtained by adding one count, the process proceeds to step 37, where the variable n is set to an initial value of 1, and the main routine is executed. After, the return process ends.

【0018】上記した更新処理は、受信装置2は固定コ
ードが同一で、かつ5回連続して1ずつ増加する可変コ
ードを受信すると、最後に受信した可変コードを基準可
変コードとして記憶するものである。従って、このよう
な場合には、例えば送信装置1のスイッチ7を5回連続
して操作して受信装置2に信号を送信する。このように
すれば、同期が外れた場合に於ても、送信装置1を正規
の送信装置として再認識することができる。
In the above-described updating process, when the receiving device 2 receives a variable code having the same fixed code and increasing by 1 consecutively five times, the receiving device 2 stores the last received variable code as a reference variable code. is there. Therefore, in such a case, the signal is transmitted to the receiving device 2 by operating the switch 7 of the transmitting device 1 five times in succession, for example. In this way, even when the synchronization is lost, the transmitting device 1 can be recognized again as a legitimate transmitting device.

【0019】また、車両用キーレスエントリーシステム
に限定すれば、図2のステップ31〜ステップ37の処
理を、車両のイグニッションキースイッチを所定の回数
だけ0N(ACCでも良い)/0FFした後、所定の時
間内に送信装置からの信号を受信し、該信号に含まれる
固定コードが予め設定された正規の固定コードと一致す
れば、受信した信号に含まれる可変コードを正規の可変
コードと判断するように設定することもできる。この場
合、送信装置自体の真偽を確認するのではなく、正規の
メカニカルキーを所有していれば、当該車両の正規の使
用者であると判断し、その者が所有する送信装置は正規
の送信装置であると判断するようになる。尚、本実施例
では信号を赤外線信号として説明したが、電波や他の信
号伝搬媒体を用いても同様であることは云うまでもな
い。
In the case of the keyless entry system for a vehicle, if the processes of steps 31 to 37 in FIG. 2 are performed by turning the ignition key switch of the vehicle 0N (or ACC) / 0FF a predetermined number of times, a predetermined number of times can be obtained. When the signal from the transmitting device is received within the time, and the fixed code included in the signal matches a preset regular fixed code, the variable code included in the received signal is determined to be a regular variable code. Can also be set to In this case, rather than verifying the authenticity of the transmission device itself, if the vehicle has a proper mechanical key, it is determined that the vehicle is a valid user of the vehicle, and the transmission device owned by the person is authorized. It is determined that the device is a transmitting device. In this embodiment, the signal is described as an infrared signal. However, it is needless to say that the same applies to the case where a radio wave or another signal propagation medium is used.

【0020】また、本実施例では可変コードを、送信装
置1から送信が行われる度に前回生成した可変コードに
所定の数(例えば1)を加算して新しい可変コードとし
て設定し、これが上限値N(例えば9999)を超えた
ら初期値a(例えば0000)に戻る数値コードとした
が、可変コードを、送信装置から送信が行われる度に前
回生成した可変コードに所定の数(例えば1)を減算し
て新しい可変コードとして設定し、これが下限値N(例
えば0000)を下回ったら初期値a(例えば999
9)に戻る数値コードとし、今回受信した信号に含まれ
る可変コードA、受信装置にて前回受信して正規のコー
ドであることが確認され、かつ記憶された可変コードを
基準可変コードB、変化許容カウント数をSとして、今
回受信した信号に含まれる可変コードAが前記基準可変
コードBよりも小さい場合には、今回受信した信号に含
まれる固定コードが予め設定された正規の固定コードと
合致し、かつ 1≦B−A≦S となっていれば、合致信号を出力して今回受信した可変
コードAを基準可変コードBとして記憶し、可変コード
Aが基準可変コードBよりも大きい場合には、上記同様
固定コードが一致し、かつ a−N≧A−B≧a−S−N+1 となっていれば合致信号を出力して今回受信した可変コ
ードAを基準可変コードBとして記憶するようにしても
良い。
In this embodiment, each time a variable code is transmitted from the transmitting apparatus 1, a predetermined number (for example, 1) is added to the previously generated variable code and set as a new variable code. Although a numerical code that returns to the initial value a (for example, 0000) when the number exceeds N (for example, 9999) is used, a predetermined number (for example, 1) is added to the previously generated variable code every time a transmission is performed from the transmission device. Subtraction is set as a new variable code, and when this falls below a lower limit N (for example, 0000), an initial value a (for example, 999) is set.
The variable code A included in the signal received this time, the variable code A included in the signal received this time, the received code is confirmed to be the correct code received last time, and the stored variable code is the reference variable code B. Assuming that the allowable count number is S, if the variable code A included in the signal received this time is smaller than the reference variable code B, the fixed code included in the signal received this time is matched with a predetermined regular fixed code. If 1 ≦ BA ≦ S, a match signal is output and the variable code A received this time is stored as the reference variable code B. When the variable code A is larger than the reference variable code B, Outputs a match signal if the fixed codes match as above and a−N ≧ AB ≧ a−S−N + 1, and stores the variable code A received this time as the reference variable code B. You may do it.

【0021】また、本実施例では前回受信した可変コー
ド(基準可変コード)と今回受信した可変コードとのカ
ウント数の差を上記したような式で表したが、これに限
定されず、例えば4桁の加算カウンタの場合に今回受信
した可変コードA<基準可変コードBであったら仮想的
にA=10000+Aとしてカウント数の差を求めても
良い。
Further, in the present embodiment, the difference between the count number of the previously received variable code (reference variable code) and the count number of the currently received variable code is represented by the above equation. However, the present invention is not limited to this. In the case of the digit addition counter, if the variable code A received this time <the reference variable code B, the difference between the count numbers may be virtually calculated as A = 10000 + A.

【0022】[0022]

【発明の効果】このように本発明による信号照合方法に
よれば、送信装置と受信装置との間で何らかの事情によ
り可変コードの識別ができなくなっても、車両のイグニ
ッションキースイッチを所定の回数だけ0N/0FFし
た後、所定の時間内に送信装置からの信号を受信し、該
信号に含まれる前記固定コードが予め設定された正規の
固定コードと一致すれば、受信した信号に含まれる可変
コードを正規の可変コードと判断するように設定するこ
とで、送信装置の所有者が正規の所有者であることが確
認できることから、必要以上に可変コードの桁数を大き
くしなくても良く、しかもそのようなエラー発生後のメ
ンテナンスも容易になる。また、信号に含まれる可変コ
ードと受信装置側に記憶されている前回の可変コード
(基準可変コード)とを数値自体の大小ではなく、カウ
ント数の差が所定の範囲内で変化していれば、正規のコ
ードとみなすようにすれば、可変コードがオーバーフロ
ーして初期値にリセットされてもループして正常に作動
することから上記エラー自体の発生が低減される。
As described above, according to the signal collation method of the present invention, even if the variable code cannot be identified between the transmitting device and the receiving device for some reason , the ignition key switch of the vehicle is operated a predetermined number of times. 0N / 0FF, after receiving a signal from the transmitting device within a predetermined time, if the fixed code included in the signal matches a predetermined regular fixed code, a variable code included in the received signal is used. Is determined to be a legitimate variable code, it is possible to confirm that the owner of the transmission device is the legitimate owner, so that the number of digits of the variable code does not need to be increased unnecessarily, and Maintenance after occurrence of such an error is also facilitated. In addition, if the variable code included in the signal and the previous variable code (reference variable code) stored in the receiving device are not the magnitude of the numerical value itself, but the difference in the count number changes within a predetermined range. If the variable code is regarded as a legitimate code, even if the variable code overflows and is reset to the initial value, the loop operates normally and the occurrence of the error itself is reduced.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明が適用されたキーレスエントリーシステ
ムの携帯用送信装置及び車両側受信装置の要部構成を示
すブロック図。
FIG. 1 is a block diagram showing a main configuration of a portable transmitting device and a vehicle-side receiving device of a keyless entry system to which the present invention is applied.

【図2】図1のシステムに於ける信号照合手順を示すフ
ローチャート。
FIG. 2 is a flowchart showing a signal collating procedure in the system of FIG. 1;

【符号の説明】[Explanation of symbols]

1 送信装置 2 受信装置 3 信号生成回路 4 送信回路 5 ROM 6 RAM 7 送信スイッチ 8 電池 11 受信回路 12 コントロールユニット 13 E2PROM 14 ドアロック装置1 transmitter 2 receiving apparatus 3 signal generation circuit 4 sends circuit 5 ROM 6 RAM 7 transmission switch 8 battery 11 receiving circuit 12 control unit 13 E 2 PROM 14 door lock device

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 予め設定された固定コードと、送信す
る毎に前回生成したコードに所定の変化を加えて変更さ
れる可変コードとを含む信号を送信装置から送信し、こ
れを車両用ロック装置の遠隔制御装置に用いるべく車両
側に設けられた受信装置にて受信し、今回受信した信号
に含まれる固定コードが予め設定された正規の固定コー
ドと一致し、かつ今回受信した信号に含まれる可変コー
ドが前回正規のコードであると識別された可変コードに
対して所定の変化をしていれば、合致信号を出力して前
記ロック装置を施錠/解錠し、かつ今回受信した可変コ
ードを前記受信装置に次回使用する基準可変コードとし
て記憶する信号照合方法に於て、前記可変コードが前記基準可変コードに対して前記所定
の変化をしていない場合に、前記車両のイグニッション
キースイッチを所定の回数だけ0N/0FFした後、所
定の時間内に前記送信装置からの信号を受信し、該信号
に含まれる前記固定コードが前記正規の固定コードと一
致すれば、前記信号に含まれる 可変コードを前記受信装
置に次回使用する基準可変コードとして記憶可能とする
ことを特徴とする信号照合方法。
A fixed code 1. A preset, to transmit a signal including a variable code which is changed by adding a predetermined change to the code previously generated whenever transmitting from a transmitting device, which locking apparatus for a vehicle Vehicle for use in remote control equipment
The fixed code included in the signal received this time and received by the receiving device provided on the side coincides with the preset regular fixed code, and the variable code included in the signal received this time is the previous regular code. If a predetermined change has been made to the variable code identified as being present, a match signal is output and the
In a signal collation method for locking / unlocking a lock device and storing a variable code received this time as a reference variable code to be used next time in the receiving device, the variable code is a predetermined variable with respect to the reference variable code.
If the vehicle has not changed the ignition
After the key switch is turned ON / OFF for a predetermined number of times,
Receiving a signal from the transmitting device within a predetermined time,
Is the same as the regular fixed code.
A signal collation method , wherein if it is, the variable code included in the signal can be stored in the receiving device as a reference variable code to be used next time.
【請求項2】 前記所定の変化が、今回受信した信号
に含まれる可変コードが前記受信装置に記憶された基準
可変コードに対して所定のカウント数以内の変化である
ことを特徴とする請求項1に記載の信号照合方法。
2. The method according to claim 1, wherein the predetermined change is a change in a variable code included in a signal received this time within a predetermined count number with respect to a reference variable code stored in the receiving device. 2. The signal matching method according to 1.
JP06335707A 1994-12-20 1994-12-20 Signal collation method Expired - Fee Related JP3110964B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06335707A JP3110964B2 (en) 1994-12-20 1994-12-20 Signal collation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06335707A JP3110964B2 (en) 1994-12-20 1994-12-20 Signal collation method

Publications (2)

Publication Number Publication Date
JPH08182077A JPH08182077A (en) 1996-07-12
JP3110964B2 true JP3110964B2 (en) 2000-11-20

Family

ID=18291587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06335707A Expired - Fee Related JP3110964B2 (en) 1994-12-20 1994-12-20 Signal collation method

Country Status (1)

Country Link
JP (1) JP3110964B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6001803B1 (en) * 2016-06-23 2016-10-05 杉山 公一 Dental care cover body

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4594351B2 (en) * 2007-05-21 2010-12-08 株式会社ユピテル Equipment control system
JP4970221B2 (en) * 2007-11-16 2012-07-04 株式会社東芝 Power saving control apparatus and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6001803B1 (en) * 2016-06-23 2016-10-05 杉山 公一 Dental care cover body

Also Published As

Publication number Publication date
JPH08182077A (en) 1996-07-12

Similar Documents

Publication Publication Date Title
US7623663B2 (en) Rolling code security system
EP0771498B1 (en) Rolling code security system
US6690796B1 (en) Rolling code security system
US5506905A (en) Authentication method for keyless entry system
US6043753A (en) Remote-control-operated locking/unlocking system
JP3145112B2 (en) Vehicle remote lock device
JP2914211B2 (en) Keyless entry system
EP0774673B1 (en) Transmission-reception system
JP3110964B2 (en) Signal collation method
JP2007154508A (en) Equipment control system
KR100591471B1 (en) Automotive locking system with opening code and identification code
CA2443452C (en) Rolling code security system
JP3281300B2 (en) Signal matching method
JP3112921B2 (en) Keyless entry system
JPH08182076A (en) Signal collation method
JPH08182078A (en) Signal collation method
JPH0865776A (en) Remote control device
US20010011943A1 (en) Apparatus for activating and/or deactivating a security device
JP3414575B2 (en) Signal matching method
JP7493663B1 (en) Vehicle control device and code update method
EP0887497B1 (en) RF based theft deterrent system and method
JP3027791B2 (en) Remote control device
JP2025126994A (en) Control system, control device and control method
JPH0732975A (en) Lock releasing signal making device and lock releasing device
JPH08246733A (en) Remote control device for car load

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110914

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees