JPH08182077A - Signal collation method - Google Patents

Signal collation method

Info

Publication number
JPH08182077A
JPH08182077A JP33570794A JP33570794A JPH08182077A JP H08182077 A JPH08182077 A JP H08182077A JP 33570794 A JP33570794 A JP 33570794A JP 33570794 A JP33570794 A JP 33570794A JP H08182077 A JPH08182077 A JP H08182077A
Authority
JP
Japan
Prior art keywords
code
signal
variable code
received
variable
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.)
Granted
Application number
JP33570794A
Other languages
Japanese (ja)
Other versions
JP3110964B2 (en
Inventor
Munemasa Matsushita
宗正 松下
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

Abstract

PURPOSE: To eliminate the need for increasing number of digits of a variable code as required by making a variable code to be identified again with a prescribed operation even when the variable code cannot be identified due to some reason between a transmitter and a receiver. CONSTITUTION: A numeral code restoring to an initial value (a) when the code exceeds an upper limit N is adopted for a variable code and in the case of the variable code A included in a signal received this time larger than a reference code B and of the relation of 1<=A-B<=S, the variable code A is discriminated to be a regular variable code. Furthermore, in the case of the variable code A included in a signal received this time smaller than the reference code B and of the relation of N-a>=B-A>=N-S-a+1, the variable code A is discriminated to be a regular variable code. Thus, even when the variable code cannot be identified due to any case between a transmitter and a receiver, the code is made identified again by a prescribed operation to eliminate the need for increasing number of digits of the variable code as required.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

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

【0002】[0002]

【従来の技術】車両に設けられたドアロック装置を送信
装置から送信される無線信号によって遠隔的に施錠/解
錠するようにしたものが一般に知られている。このよう
な装置に於て、無線信号が他人にコピー装置によりコピ
ーさせると、そのコピーされた信号によってドアロック
装置が容易に解錠されてしまうという不具合があった。
2. Description of the Related Art It is generally known that a door lock device provided on a vehicle is remotely locked / unlocked by a radio signal transmitted from a transmitter. In such a device, when a wireless signal is copied to another person by a copying 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 transmitting device for each transmission so that the copy signal cannot be unlocked is disclosed in, for example, Japanese Patent Laid-Open No. 1-278671. It is disclosed. The structure is such that when transmitting a wireless signal (numerical code), a predetermined number is added (or subtracted) to the number transmitted last time, and the receiving device stores the previously received wireless signal (numerical code). Every other time, if the wireless 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 processing on the previous code, it is necessary to provide the transmitter with a storage device for storing the code. When an E 2 PROM, for example, is used as this storage device, the cost is high and the size is large, so that the storage device is generally composed of a RAM or a counter. In this case, if the number of digits of the numerical code of the radio signal is, for example, four decimal digits, the code will increase or decrease between 0001 and 9999. However, for example, when the numerical value increases, overflow occurs when counting up to 9999. The initial value 00
Returning to 00, it becomes impossible to compare the magnitude. Also, when the transmitter is reset by replacing the battery, the size comparison cannot be performed. That is, for example, the previous code is 999
When it is 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 the storage capacity for that, the size and cost of the transmission device have been inevitably increased as the size of the storage device has increased. Even in that case, the problem that the code cannot be identified when the transmitter is reset cannot be solved. The same problem occurs not only in the vehicle door lock device but also in a normal building door lock device, etc., when it is necessary to confirm whether or not the received signal is a proper signal.

【0006】本発明は上記したような従来技術の問題点
に鑑みなされたものであり、その主な目的は、数値から
なる可変コードを識別コードとして用いる信号送受信装
置に於て、装置の大型化及びコストの高騰化を伴うこと
なく正規な送信信号のみを確実に識別でき、しかもエラ
ー発生時のメンテナンスが容易な信号照合方法を提供す
ることにある。
The present invention has been made in view of the above-mentioned problems of the prior art, and its main purpose 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 matching method capable of surely identifying only a normal transmission signal without increasing the cost, and further facilitating maintenance when an error occurs.

【0007】[0007]

【課題を解決するための手段】上記した目的は本発明に
よれば、予め設定された固定コードと、送信する毎に前
回生成したコードに所定の変化を加えて変更される可変
コードとを含む信号を送信装置から送信し、これを受信
装置にて受信し、今回受信した信号に含まれる固定コー
ドが予め設定された正規の固定コードと一致し、かつ今
回受信した信号に含まれる可変コードが前回正規のコー
ドであると識別された可変コードに対して所定の変化を
していれば、前記合致信号を出力し、かつ今回受信した
可変コードを前記受信装置に次回使用する基準可変コー
ドとして記憶する信号照合方法に於て、前記可変コード
が前記基準可変コードに対して所定の変化をしていない
場合に、予め設定された操作を所定の条件下で行うこと
により該可変コードを前記受信装置に次回使用する基準
可変コードとして記憶可能とすることを特徴とする信号
照合方法を提供することにより達成される。特に、前記
送信装置から所定回数連続して送信された前記信号を前
記受信装置にて連続して受信し、かつ受信した各信号に
含まれる前記固定コードが予め設定された正規の固定コ
ードと全て一致し、かつ受信した信号に含まれる可変コ
ードが各々その前回に受信した可変コードに対して所定
の変化をしていれば、最後に受信した信号に含まれる可
変コードを前記受信装置に次回使用する基準可変コード
として記憶するように設定したり、前記受信装置が、車
両用ロック装置の遠隔制御装置に用いるべく車両側に設
けられると共に前記合致信号により前記ロック装置の施
錠/解錠を制御するようになっており、前記車両のイグ
ニッションキースイッチを所定の回数だけ0N/0FF
した後、所定の時間内に前記送信装置からの信号を受信
し、該信号に含まれる前記固定コードが予め設定された
正規の固定コードと一致すれば、前記信号に含まれる可
変コードを前記受信装置に次回使用する基準可変コード
として記憶するように設定すると良い。また、前記所定
の変化が、今回受信した信号に含まれる可変コードが前
記受信装置に記憶された基準可変コードに対して所定の
カウント数以内の変化であると良い。
According to the present invention, the above object includes a preset fixed code and a variable code which is changed by adding a predetermined change to the code previously generated each time it is transmitted. The signal is transmitted from the transmitting device, and is received by the receiving device, and the fixed code included in the signal received this time matches the preset regular fixed code, and the variable code included in the signal received this time is If there is a predetermined change with respect to the variable code that was identified as a regular code last time, the matching signal is output and the variable code received this time is stored in the receiving device as a reference variable code to be used next time. In the signal matching method described above, when the variable code does not change with respect to the reference variable code by a predetermined operation, the variable code is adjusted by performing a preset operation. Is achieved by providing a signal matching method characterized by enabling stored as a reference variable code used next to the receiving device. Particularly, the fixed code included in each received signal is continuously received by the receiving apparatus, and the fixed code included in each of the received signals is a preset fixed fixed code. If the variable codes included in the received signal match each other and have a predetermined change from the previously received variable code, the variable code included in the last received signal is used for the receiving device next time. Is set as a reference variable code to be stored, the receiving device is provided on the vehicle side for use as a remote control device of the vehicle locking device, and locking / unlocking of the locking device is controlled by the match signal. The ignition key switch of the vehicle is set to 0N / 0FF a predetermined number of times.
Then, the signal from the transmitter is received within a predetermined time, and if the fixed code included in the signal matches a preset regular fixed code, the variable code included in the signal is received. It may be set in the device so that it is stored as a reference variable code to be used next time. Further, it is preferable that the predetermined change is a change within a predetermined count number with respect to the reference variable code stored in the reception device, in which the variable code included in the signal received this time.

【0008】[0008]

【作用】このように、送信装置と受信装置との間で何ら
かの事情により可変コードの識別ができなくなっても所
定の操作により再度識別可能とすることで、必要以上に
可変コードの桁数を大きくしなくても良く、しかもその
メンテナンスも容易になる。また、所定回数連続して送
信装置から信号を送信し、受信装置にて連続して受信
し、受信した各信号に含まれる固定コードが予め設定さ
れた正規の固定コードと全て一致し、かつ受信した信号
に含まれる可変コードが各々その前回に受信した可変コ
ードに対して所定の変化をしていれば、最後に受信した
信号に含まれる可変コードを正規の可変コードと判断す
るように設定することで、送信装置が正規の送信装置で
あることを確認できることから、上記エラー発生後のコ
ピーによる解錠を確実に防止できる。また、受信装置
が、車両用ロック装置の遠隔制御装置に用いるべく車両
側に設けられると共に合致信号によりロック装置の施錠
/解錠を制御するようになっている場合、車両のイグニ
ッションキースイッチを所定の回数だけ0N/0FFし
た後、所定の時間内に送信装置からの信号を受信し、該
信号に含まれる前記固定コードが予め設定された正規の
固定コードと一致すれば、受信した信号に含まれる可変
コードを正規の可変コードと判断するように設定するこ
とで、送信装置の所有者が正規の所有者であることが確
認できることから、この場合も上記エラー発生後のコピ
ーによる解錠を確実に防止できる。更に、信号に含まれ
る可変コードと受信装置側に記憶されている前回の可変
コード(基準可変コード)とを数値自体の大小ではな
く、カウント数の差が所定の範囲内で変化していれば、
正規のコードとみなすようにすれば、可変コードがオー
バーフローして初期値にリセットされてもループして正
常に作動することから上記エラー自体の発生が低減され
る。
As described above, even if the variable code cannot be identified between the transmitting device and the receiving device for some reason, the variable code can be identified again by a predetermined operation, thereby increasing the number of digits of the variable code more than necessary. You don't have to do it, and the maintenance is easy. In addition, a signal is continuously transmitted a predetermined number of times and continuously received by the receiving device, and the fixed code included in each received signal is the same as the regular fixed code set in advance and received. If the variable code included in the received signal has a predetermined change with respect to the previously received variable code, the variable code included in the last received signal is set to be determined as a regular variable code. By doing so, it is possible to confirm that the transmitting device is a legitimate transmitting device, and thus it is possible to reliably prevent unlocking by copying after the error has occurred. Further, when the receiving device is provided on the vehicle side for use as a remote control device for the vehicle locking device and controls locking / unlocking of the locking device by a coincidence signal, the ignition key switch of the vehicle is set to a predetermined position. After 0N / 0FF for the number of times, the signal from the transmitter is received within a predetermined time, and if the fixed code included in the signal matches a preset regular fixed code, it is included in the received signal. It is possible to confirm that the owner of the transmitter is a legitimate owner by setting the variable code to be judged as a legitimate variable code, and in this case as well, be sure to unlock by copying after the above error occurs. Can be prevented. Further, if the variable code included in the signal and the previous variable code (reference variable code) stored in the receiving device side are not the magnitudes of the numerical values themselves, but the difference between the count numbers changes within a predetermined range. ,
If it is regarded as a legitimate code, even if the variable code overflows and is reset to the initial value, it loops and operates normally, so that 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の電源(電池)である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will now be described in detail with reference to the accompanying drawings. FIG. 1 shows a portable transmitter 1 and a vehicle-side receiver in a vehicle door lock device having a so-called keyless entry system for locking / unlocking a vehicle door by operating a transmitter from the outside to which the present invention is applied. Device 2
3 is a block diagram showing the configuration of the main part of FIG. The transmitting device 1 is configured to transmit a signal including a fixed code and a variable code generated by the signal generating circuit 3 inside thereof to the outside as an infrared signal via the transmitting circuit 4. Here, the fixed code is a code unique to the transmitting device 1 and is stored in the ROM 5. The variable code is a 4-digit decimal numeric code that is incremented by 1 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 added and transmitted to the outside together with the fixed code through the transmission circuit 4, and the variable code to which this 1 is added is stored in the RAM 6. Reference numeral 8 is a power supply (battery) of the transmitter 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 infrared signal and converting it into an electric signal, and a control unit 12. This control unit 12 uses the fixed code of the received signal as E 2 P
The variable code of the received signal is compared with the regular fixed code stored in the ROM 13 in advance, and the variable code of the received signal is E 2 PR.
The reference variable code previously stored in the OM 13 is compared and collated as described later, and the door lock device 1 is selected according to the result.
The variable code received this time is stored in the E 2 PROM 13 as a reference variable code at the same time when the drive signal is output to the No. 4 circuit.

【0011】次に本実施例に於ける信号照合手順につい
て図2を参照して説明する。まず、受信装置2にて赤外
線信号を受信すると(ステップ1)、電気的信号に変換
した後、その固定コードを、E2PROM13に予め記
憶されている正規の固定コードと比較照合する。そし
て、この固定コードが正規のコードであると判断したら
ステップ3に進み、信号中の可変コードを、前回受信し
て正規のコードであることが確認された基準可変コード
と比較照合し、今回受信した信号の固定コードが正規の
固定コードと一致し、かつ今回受信した信号の可変コー
ドと基準可変コードとのカウント数の差が後記する比較
方法により所定の関係であればステップ4にてドアロッ
ク装置14に合致信号(駆動信号)を出力すると共にス
テップ5にて今回受信した可変コードをE2PROM1
3に基準可変コードとして記憶させる。また、ステップ
3にて今回受信した信号の可変コードと基準可変コード
とのカウント数の差が所定の関係となっていなければ、
後記する更新サブルーチンのステップ31〜ステップ3
7を実行する。
Next, the signal matching procedure in this embodiment will be described with reference to FIG. First, when an infrared signal is received by the receiving device 2 (step 1), it is converted into an electrical signal, and the fixed code is compared and collated with a regular fixed code stored in advance in the E 2 PROM 13. If it is determined that this fixed code is a legitimate code, the process proceeds to step 3, where the variable code in the signal is compared and collated with the reference variable code that was previously received and confirmed to be a legitimate code, and this time received. If the fixed code of the received signal matches the regular fixed code, and the difference in the number of counts between the variable code of the signal received this time and the reference variable code has a predetermined relationship by the comparison method described later, the door is locked in step 4. A matching signal (driving signal) is output to the device 14 and the variable code received this time in step 5 is transferred to the E 2 PROM1.
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 in step 3 and the reference variable code does not have a predetermined relationship,
Step 31 to step 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 received by the receiving device 2
An example of conditions for determining a legitimate code will be described. First, the variable code is a 4-digit decimal number code with an initial value of 0000 and an upper limit value 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 four times to the number 9998, 0002
Becomes This may be because the RAM 6 can store only the last four digits of the number, or the counter may have 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 previously received signal. For example, if 256 is set and 1 ≦ A−B ≦ 256 (1), the variable code A is determined to be a regular 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, -9999≤A-B≤-9999 + 255, that is, 9999≥BA-A≥9744 (2) Judge A as a regular variable code. Needless to say, if the variable code A is a regular variable code, it will not be equal to the reference variable code B. In that case, therefore, the variable code A is not judged to be a regular 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 regular 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 judged to be a regular variable code by the equation (1), and when the variable code A is 0100 or less (00
00-0) and B-A are between 0 and 100, the variable code A is not judged to be a regular variable code by the 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を正規の可変コードと判断すること
はない。
Further, for example, the reference variable code B is 9744.
, 9999, for example, 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.
If the code is 0156, it is determined to be a regular variable code. That is, when the variable code A is 9901 to 9999, each of AB is 256 or less (1)
The variable code A is determined to be a regular variable code by the formula.
Further, when the variable code A is 0157 to 9900, B-A is in the range of 0 to 9743, and therefore the variable code A is not judged to be a regular 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進
数の任意の桁数で良い。
When the above relationship is expressed by a generally processable expression, the variable code is a numerical code that returns to the initial value a when the upper limit value N is exceeded, and the variable code A included in the signal received this time is the reference variable code. When it is larger than B, if 1 ≦ A−B ≦ S, the variable code A is judged as a regular variable code, and when the variable code A is smaller than the reference variable code B, N− If a ≧ B−A ≧ N−S−a + 1, the variable code A is determined to be a regular variable code. In this embodiment, a = 0, N = 9999, S = 256
Is. The set value of the change allowable count number S is arbitrary, but if it is too small, there is a possibility that the condition will be deviated from the condition when the transmission switch is erroneously operated several times or the reception is not normally performed. Further, the number added to the variable code is not limited to 1, and may be any number. Further, the numerical code used is not limited to 4 digits in decimal number, but may be any number of digits in hexadecimal number or octal number.

【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 transmitter 1 is replaced,
The RAM 6 is reset and the variable code is reset to 0000. Further, when the transmission device is struck for more than the allowable change count S (256 times in this embodiment), the variable code is not judged as a regular variable code even by the regular transmission device 1. Then, the process proceeds from step 3 of FIG. 2 to step 31 of the subroutine to perform the update process. In this step 31, it is first judged whether or not the variable n is 1, that is, whether this routine is executed for the first time or for the second time and thereafter, and the first time (n
= 1), 1 is added to the variable n in step 34,
In step 35, the variable code included in the signal received this time is stored in the E 2 PROM 13 as a comparison code, and after step 5 of the main routine, the return processing is ended.
When the variable n is not 1 in step 31, that is, when 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 the stored comparison code plus one count. If they are equal, the process proceeds to step 33 and the variable n is changed. 5, that is, whether or not steps 31 to 35 of this routine have been performed 5 times, and if so, proceed to step 36 to set the variable n to the initial value 1 and proceed 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 the variable code included in the signal received this time is not equal to the stored comparison code plus one count in step 32, the process proceeds to step 37 to set the variable n to the initial value 1 and to the main routine. After that, the process returns and ends.

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

【0019】また、車両用キーレスエントリーシステム
に限定すれば、図2のステップ31〜ステップ37の処
理を、車両のイグニッションキースイッチを所定の回数
だけ0N(ACCでも良い)/0FFした後、所定の時
間内に送信装置からの信号を受信し、該信号に含まれる
固定コードが予め設定された正規の固定コードと一致す
れば、受信した信号に含まれる可変コードを正規の可変
コードと判断するように設定することもできる。この場
合、送信装置自体の真偽を確認するのではなく、正規の
メカニカルキーを所有していれば、当該車両の正規の使
用者であると判断し、その者が所有する送信装置は正規
の送信装置であると判断するようになる。尚、本実施例
では信号を赤外線信号として説明したが、電波や他の信
号伝搬媒体を用いても同様であることは云うまでもな
い。
Further, if limited to the vehicle keyless entry system, the processing of steps 31 to 37 of FIG. 2 is performed after the ignition key switch of the vehicle is set to 0N (or ACC) / 0FF a predetermined number of times and then to a predetermined If the fixed code included in the signal is received within the time and the fixed code included in the signal matches the preset regular fixed code, the variable code included in the received signal is determined to be the regular variable code. It can also be set to. In this case, instead of confirming the authenticity of the transmitting device itself, if you have an authorized mechanical key, you are determined to be an authorized user of the vehicle, and the transmitting device owned by that person is authorized. It is determined that the device is the transmitting device. Although the signal is described as an infrared signal in this embodiment, it goes without saying that the same applies when an electric 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, the variable code is set as a new variable code by adding a predetermined number (eg, 1) to the previously generated variable code each time transmission is performed from the transmitter 1, and this is set as the upper limit value. The numerical code that returns to the initial value a (for example, 0000) when it exceeds N (for example, 9999) is used. It is subtracted and set as a new variable code, and when it falls below the lower limit value N (for example, 0000), the initial value a (for example, 999).
The numerical code returned to 9) is used, the variable code A included in the signal received this time, the variable code that was previously received by the receiving device and confirmed to be a proper code, and the stored variable code is the reference variable code B. When the allowable count number is S and 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 combined with the regular fixed code set in advance. If 1 ≦ B−A ≦ S, the 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, Is the same as the above, if the fixed codes match and a-N≥A-B≥a-S-N + 1, the matching signal is output and the variable code A received this time is stored as the reference variable code B. It may be done.

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

【0022】[0022]

【発明の効果】このように本発明による信号照合方法に
よれば、送信装置と受信装置との間で何らかの事情によ
り可変コードの識別ができなくなっても所定の操作によ
り再度識別可能とすることで、必要以上に可変コードの
桁数を大きくしなくても良く、しかもそのようなエラー
発生後のメンテナンスも容易になる。また、所定回数連
続して送信装置から信号を送信し、受信装置にて連続し
て受信し、受信した各信号に含まれる固定コードが予め
設定された正規の固定コードと全て一致し、かつ受信し
た信号に含まれる可変コードが各々その前回に受信した
可変コードに対して所定の変化をしていれば、最後に受
信した信号に含まれる可変コードを正規の可変コードと
判断するように設定することで、送信装置が正規の送信
装置であることを確認できることから、上記エラー発生
後のコピーによる解錠を確実に防止できる。また、受信
装置が、車両用ロック装置の遠隔制御装置に用いるべく
車両側に設けられると共に合致信号によりロック装置の
施錠/解錠を制御するようになっている場合、車両のイ
グニッションキースイッチを所定の回数だけ0N/0F
Fした後、所定の時間内に送信装置からの信号を受信
し、該信号に含まれる前記固定コードが予め設定された
正規の固定コードと一致すれば、受信した信号に含まれ
る可変コードを正規の可変コードと判断するように設定
することで、送信装置の所有者が正規の所有者であるこ
とが確認できることから、この場合も上記エラー発生後
のコピーによる解錠を確実に防止できる。更に、信号に
含まれる可変コードと受信装置側に記憶されている前回
の可変コード(基準可変コード)とを数値自体の大小で
はなく、カウント数の差が所定の範囲内で変化していれ
ば、正規のコードとみなすようにすれば、可変コードが
オーバーフローして初期値にリセットされてもループし
て正常に作動することから上記エラー自体の発生が低減
される。
As described above, according to the signal matching 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 variable code can be identified again by a predetermined operation. However, it is not necessary to increase the number of digits of the variable code more than necessary, and the maintenance after such an error occurs becomes easy. In addition, a signal is continuously transmitted a predetermined number of times and continuously received by the receiving device, and the fixed code included in each received signal is the same as the regular fixed code set in advance and received. If the variable code included in the received signal has a predetermined change with respect to the previously received variable code, the variable code included in the last received signal is set to be determined as a regular variable code. By doing so, it is possible to confirm that the transmitting device is a legitimate transmitting device, and thus it is possible to reliably prevent unlocking by copying after the error has occurred. Further, when the receiving device is provided on the vehicle side for use as a remote control device for the vehicle locking device and controls locking / unlocking of the locking device by a coincidence signal, the ignition key switch of the vehicle is set to a predetermined position. 0N / 0F for the number of times
After F, the signal from the transmitter is received within a predetermined time, and if the fixed code included in the signal matches a preset regular fixed code, the variable code included in the received signal is changed to the normal code. Since it can be confirmed that the owner of the transmission device is a legitimate owner by setting the variable code to be judged as the variable code, the unlocking by copying after the above error occurrence can be surely prevented. Further, if the variable code included in the signal and the previous variable code (reference variable code) stored in the receiving device side are not the magnitudes of the numerical values themselves, but the difference between the count numbers changes within a predetermined range. If the variable code is regarded as a regular code, even if the variable code overflows and is reset to the initial value, it loops and operates normally, so that the occurrence of the error itself is reduced.

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

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

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

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

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

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 予め設定された固定コードと、送信す
る毎に前回生成したコードに所定の変化を加えて変更さ
れる可変コードとを含む信号を送信装置から送信し、こ
れを受信装置にて受信し、今回受信した信号に含まれる
固定コードが予め設定された正規の固定コードと一致
し、かつ今回受信した信号に含まれる可変コードが前回
正規のコードであると識別された可変コードに対して所
定の変化をしていれば、前記合致信号を出力し、かつ今
回受信した可変コードを前記受信装置に次回使用する基
準可変コードとして記憶する信号照合方法に於て、 前記可変コードが前記基準可変コードに対して所定の変
化をしていない場合に、予め設定された操作を所定の条
件下で行うことにより該可変コードを前記受信装置に次
回使用する基準可変コードとして記憶可能とすることを
特徴とする信号照合方法。
1. A signal including a preset fixed code and a variable code which is changed by adding a predetermined change to a previously generated code each time it is transmitted is transmitted from a transmitting device, and the signal is transmitted to a receiving device. For the variable code received, the fixed code contained in the signal received this time matches the preset regular fixed code, and the variable code contained in the signal received this time was identified as the previous regular code. In the signal matching method for outputting the match signal and storing the variable code received this time as the reference variable code to be used next time in the receiving device, the variable code is the reference. A reference variable code to be used next time in the receiving device by performing a preset operation under predetermined conditions when the variable code has not changed to a predetermined value. Signal matching method characterized by enabling the storage and.
【請求項2】 前記送信装置から所定回数連続して送
信された前記信号を前記受信装置にて連続して受信し、
かつ受信した各信号に含まれる前記固定コードが予め設
定された正規の固定コードと全て一致し、かつ受信した
信号に含まれる可変コードが各々その前回に受信した可
変コードに対して所定の変化をしていれば、最後に受信
した信号に含まれる可変コードを前記受信装置に次回使
用する基準可変コードとして記憶可能とすることを特徴
とする請求項1に記載の信号照合方法。
2. The receiving device continuously receives the signal transmitted a predetermined number of times from the transmitting device,
And the fixed code included in each received signal all matches with a preset regular fixed code, and the variable codes included in the received signal each have a predetermined change with respect to the previously received variable code. The signal matching method according to claim 1, wherein the variable code included in the last received signal can be stored in the receiving device as a reference variable code to be used next time.
【請求項3】 前記受信装置が、車両用ロック装置の
遠隔制御装置に用いるべく車両側に設けられると共に前
記合致信号により前記ロック装置の施錠/解錠を制御す
るようになっており、 前記車両のイグニッションキースイッチを所定の回数だ
け0N/0FFした後、所定の時間内に前記送信装置か
らの信号を受信し、該信号に含まれる前記固定コードが
予め設定された正規の固定コードと一致すれば、前記信
号に含まれる可変コードを前記受信装置に次回使用する
基準可変コードとして記憶可能とすることを特徴とする
請求項1に記載の信号照合方法。
3. The receiving device is provided on the vehicle side for use as a remote control device for a vehicle locking device, and controls locking / unlocking of the locking device according to the match signal. After 0N / 0FF of the ignition key switch of a predetermined number of times, a signal from the transmitter is received within a predetermined time, and the fixed code included in the signal is matched with a preset regular fixed code. The signal matching method according to claim 1, wherein the variable code included in the signal can be stored in the receiving device as a reference variable code to be used next time.
【請求項4】 前記所定の変化が、今回受信した信号
に含まれる可変コードが前記受信装置に記憶された基準
可変コードに対して所定のカウント数以内の変化である
ことを特徴とする信号照合方法。
4. The signal matching, wherein the predetermined change is a change within a predetermined count number of a variable code included in a signal received this time with respect to a reference variable code stored in the receiving device. Method.
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 true JPH08182077A (en) 1996-07-12
JP3110964B2 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007262882A (en) * 2007-05-21 2007-10-11 Yupiteru Ind Co Ltd Apparatus control system
JP2009124592A (en) * 2007-11-16 2009-06-04 Toshiba Corp Power saving control device and method

Families Citing this family (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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007262882A (en) * 2007-05-21 2007-10-11 Yupiteru Ind Co Ltd Apparatus control system
JP2009124592A (en) * 2007-11-16 2009-06-04 Toshiba Corp Power saving control device and method

Also Published As

Publication number Publication date
JP3110964B2 (en) 2000-11-20

Similar Documents

Publication Publication Date Title
US5937065A (en) Keyless motor vehicle entry and ignition system
EP0570103B1 (en) A remote control security system
US6043753A (en) Remote-control-operated locking/unlocking system
US5191610A (en) Remote operating system having secure communication of encoded messages and automatic re-synchronization
US4825210A (en) Electronic locking system having a lock and a method for re-synchronization
US5563600A (en) Data transmission for remote-controlled security system
US7623663B2 (en) Rolling code security system
US4686529A (en) Remote-control lock system
EP0605996A1 (en) Remote controlled security system
JP4594227B2 (en) Equipment control system
JP2914211B2 (en) Keyless entry system
JPH08182077A (en) Signal collation method
EP1331329B1 (en) Method of unlocking electronic lock
JPH07226979A (en) Remote controller
JP3112921B2 (en) Keyless entry system
JPH08182076A (en) Signal collation method
KR100591471B1 (en) Motor vehicle locking system with open-ended code and identification
JPH1046885A (en) Electronic lock system
US20010011943A1 (en) Apparatus for activating and/or deactivating a security device
JP3281300B2 (en) Signal matching method
JPH08182078A (en) Signal collation method
US6756878B2 (en) Apparatus for activating and/or deactivating a security device
JP3414575B2 (en) Signal matching method
JPH0865776A (en) Remote controller
JPH04220030A (en) Data communication system

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 (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 10

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

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20100914

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

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20110914

LAPS Cancellation because of no payment of annual fees