JPH08182078A - Signal collation method - Google Patents

Signal collation method

Info

Publication number
JPH08182078A
JPH08182078A JP33597094A JP33597094A JPH08182078A JP H08182078 A JPH08182078 A JP H08182078A JP 33597094 A JP33597094 A JP 33597094A JP 33597094 A JP33597094 A JP 33597094A JP H08182078 A JPH08182078 A JP H08182078A
Authority
JP
Japan
Prior art keywords
code
signal
variable code
received
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.)
Pending
Application number
JP33597094A
Other languages
Japanese (ja)
Inventor
Masami Tanaka
正美 田中
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 JP33597094A priority Critical patent/JPH08182078A/en
Publication of JPH08182078A publication Critical patent/JPH08182078A/en
Pending legal-status Critical Current

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

PURPOSE: To identify a regular transmission signal by providing the output of a coincidence signal when a fixed code included in a received signal is coincident with a regular fixed code and the included variable code is of an additive type and over a reference variable code and using a code being the sum of 1 and the received variable code for a succeeding reference code. CONSTITUTION: Upon the receipt of an infrared ray signal, a receiver 2 converts it into an electric signal and collates its fixed code with a regular fixed code stored in advance in an E<2> PROM 13. When the code is discriminated to be a regular code, a variable code in the signal is collated with a reference variable code obtained by applying addition processing to the regular code received precedingly. When the fixed code of the signal received this time is coincident with the regular fixed code and the variable code is of an additive type and more than the reference variable code and the difference has a prescribed relation, a coincident signal is outputted to a door lock device 14 and the variable code is stored in the E<2> PROM 13 as the reference variable code. Thus illegal transmission is surely excluded.

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に戻り、大小比較ができなくなる。即ち、例えば前
回コードが9999のとき0000の可変コードを受信
しても解錠できず、その後のメンテナンスが面倒にな
る。また、オーバーフロー前の9999に近いコードを
コピーされるとコードが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. That is, for example, when the previous code is 9999, even if the variable code of 0000 is received, the lock cannot be unlocked, and the subsequent maintenance becomes troublesome. Further, if a code close to 9999 before the overflow is copied, the code returns to 0000 and then unlocked by this copy signal.

【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. 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 excluding illegal transmission due to copying a signal without increasing the cost and surely identifying a proper transmission signal.

【0007】[0007]

【課題を解決するための手段】上記した目的は本発明に
よれば、予め設定された固定コードと送信する毎に変更
される可変コードとを含む信号を送信装置から送信し、
これを受信装置にて受信し、受信した前記信号から前記
固定コード及び可変コードの比較照合を行い、その照合
結果により前記送信装置が正規の送信装置であることを
識別して合致信号を出力するための信号照合方法であっ
て、前記可変コードが、前記送信装置から送信が行われ
る度に前回生成した可変コードに所定の数が加算されて
新しい可変コードとして設定されると共に上限値を超え
たら初期値に戻る加算カウンタにより生成された数値コ
ードからなり、前記受信装置にて前回受信して識別され
た可変コードに前記加算カウンタと同じ方法で前記所定
の数からなる1カウント数を加えたコードを基準可変コ
ードとして記憶し、今回受信した信号に含まれる固定コ
ードが予め設定された正規の固定コードと一致し、かつ
今回受信した信号に含まれる可変コードが前記受信装置
に記憶された基準可変コード以上であれば、前記合致信
号を出力し、かつ今回受信した可変コードに1カウント
数を加えたコードをを前記受信装置に次回使用する基準
可変コードとして記憶することを特徴とする信号照合方
法、または予め設定された固定コードと送信する毎に変
更される可変コードとを含む信号を送信装置から送信
し、これを受信装置にて受信し、受信した前記信号から
前記固定コード及び可変コードの比較照合を行い、その
照合結果により前記送信装置が正規の送信装置であるこ
とを識別して合致信号を出力するための信号照合方法で
あって、前記可変コードが、前記送信装置から送信が行
われる度に前回生成した可変コードに所定の数が減算さ
れて新しい可変コードとして設定されると共に下限値を
下回ったら初期値に戻る減算カウンタにより生成された
数値コードからなり、前記受信装置にて前回受信して識
別された可変コードから前記減算カウンタと同じ方法で
前記所定の数からなる1カウント数を減じたコードを基
準可変コードとして記憶し、今回受信した信号に含まれ
る固定コードが予め設定された正規の固定コードと一致
し、かつ今回受信した信号に含まれる可変コードが前記
受信装置に記憶された基準可変コード以下であれば、前
記合致信号を出力し、かつ今回受信した可変コードから
1カウント数を減じたコードをを前記受信装置に次回使
用する基準可変コードとして記憶することを特徴とする
信号照合方法を提供することにより達成される。
According to the present invention, the above-mentioned object is to transmit a signal including a preset fixed code and a variable code which is changed every transmission from a transmitting device,
This is received by the receiving device, the fixed code and the variable code are compared and collated from the received signal, and the coincidence signal is output by identifying that the transmitting device is a legitimate transmitting device based on the collation result. When the variable code is set as a new variable code by adding a predetermined number to the previously generated variable code each time transmission is performed from the transmission device and exceeds the upper limit value. A code consisting of a numerical code generated by an addition counter that returns to an initial value, and a code obtained by adding one count number consisting of the predetermined number in the same manner as the addition counter to the variable code previously received and identified by the receiving device. Is stored as a reference variable code, the fixed code included in the signal received this time matches the preset regular fixed code, and the signal received this time If the included variable code is greater than or equal to the reference variable code stored in the receiving device, the matching signal is output, and a code obtained by adding 1 count to the variable code received this time is used next time in the receiving device. A signal matching method characterized by storing as a reference variable code, or a signal including a preset fixed code and a variable code that is changed every time it is transmitted, is transmitted from a transmitting device, and is received by a receiving device. Then, the fixed code and the variable code are compared and collated from the received signal, and it is a signal collating method for identifying the transmitting device as a legitimate transmitting device based on the collation result and outputting a match signal. The variable code is set as a new variable code by subtracting a predetermined number from the previously generated variable code each time transmission is performed from the transmitter. And a variable code generated by a subtraction counter that returns to an initial value when it falls below a lower limit value, and the predetermined number is obtained in the same manner as the subtraction counter from the variable code previously received and identified by the receiving device. A code obtained by subtracting the number of counts is stored as a reference variable code, the fixed code included in the currently received signal matches a preset regular fixed code, and the variable code included in the currently received signal is the receiving device. If it is equal to or smaller than the reference variable code stored in the above, the match signal is output, and a code obtained by subtracting 1 count from the variable code received this time is stored in the receiving device as the reference variable code to be used next time. This is accomplished by providing a featured signal matching method.

【0008】[0008]

【作用】このようにすれば、通常は送信装置側の可変コ
ードと受信装置側の参照可変コードとが常に一致する。
また、送信装置からの空送信を行った場合にもこの空送
信中にオーバーフローしなければ、カウンタがオーバー
フローして可変コードがリセットされるのと同時に受信
装置側の参照可変コードもリセットされることから、送
信される可変コードの方が参照可変コードよりも大きく
なる。更に、送信装置と受信装置との間で何らかの事情
により可変コードの識別ができなくなっても所定の操作
により再度識別可能とすることで、そのメンテナンスも
容易になる。
In this way, normally, the variable code on the transmitter side and the reference variable code on the receiver side always match.
Also, even if the transmitter performs idle transmission, if the overflow does not occur during this idle transmission, the counter overflows and the variable code is reset, and at the same time, the reference variable code on the receiver side is reset. Therefore, the transmitted variable code is larger than the reference variable code. Further, even if the variable code cannot be discriminated between the transmitting device and the receiving device for some reason, the variable code can be discriminated again by a predetermined operation, which facilitates maintenance.

【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 that the drive signal is output to the No. 4 drive circuit.

【0011】次に本実施例に於ける信号照合手順につい
て図2を参照して説明する。まず、受信装置2にて赤外
線信号を受信すると(ステップ1)、電気的信号に変換
した後、その固定コードを、E2PROM13に予め記
憶されている正規の固定コードと比較照合する。そし
て、この固定コードが正規のコードであると判断したら
ステップ3に進み、信号中の可変コードを、前回受信し
て正規のコードであることが確認された可変コードに後
記する加算処理を施した基準可変コードと比較照合し、
今回受信した信号の固定コードが正規の固定コードと一
致し、かつ今回受信した信号の可変コードと基準可変コ
ードとの差が後記する比較方法により所定の関係であれ
ばステップ4にてドアロック装置14に合致信号(駆動
信号)を出力すると共にステップ5にて今回受信した可
変コードに後記する加算処理を施してE2PROM13
に基準可変コードとして記憶する。
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. When it is determined that this fixed code is a legitimate code, the process proceeds to step 3, and the variable code in the signal is subjected to the addition processing described later on the variable code which was previously received and confirmed to be a legitimate code. Compare and collate with standard variable code,
If the fixed code of the signal received this time matches the regular fixed code, and if the difference between the variable code of the signal received this time and the reference variable code has a predetermined relationship by the comparison method described below, the door lock device is determined in step 4. A matching signal (driving signal) is output to 14 and the variable code received this time in step 5 is subjected to the addition processing to be described later to obtain the E 2 PROM 13
The reference variable code is stored in.

【0012】ここで、可変コードは、初期値を000
0、上限値を9999とする10進数4桁の数値コー
ド、即ち0000〜9999までの任意の数字である。
この数字は9999に1を加算すると0000にリセッ
トされる。即ち例えば数字9998に対して1を4回加
えると0002となる。これはRAM6やE2PROM
13が数字の下4桁しか記憶できないものとしても良い
し、カウンタが4桁のものであるとしても良い。上記し
た加算処理とは、受信装置側で前回受信して正規のコー
ドであることが確認された可変コードに1カウント加え
る処理である。即ち、例えば受信した可変コードが00
48であれば0049とし、9999であれば0000
とする。
Here, the variable code has an initial value of 000.
It is a numeric code of four decimal digits with 0 and an upper limit value of 9999, that is, an arbitrary number from 0000 to 9999.
This number is reset to 0000 by adding 1 to 9999. That is, for example, when 1 is added four times to the number 9998, the result is 0002. This is RAM6 or E 2 PROM
13 may store only the last 4 digits of the number, or the counter may have 4 digits. The above-mentioned addition process is a process of adding one count to the variable code which was previously received by the receiving device and confirmed to be a legitimate code. That is, for example, when the received variable code is 00
If it is 48, it is set to 0049, and if it is 9999, it is set to 0000
And

【0013】次に、上記した可変コードを受信装置2に
て正規のコードと判断する条件の一例について説明す
る。まず、今回受信した信号に含まれる可変コードAが
前回受信した信号に含まれる可変コードを加算処理した
基準可変コードB以上であるか否かを判断し、基準可変
コードB以上であればその増加許容カウント数Sを例え
ば256として、 0≦A−B≦256 …(1) となっていれば可変コードAを正規の可変コードと判断
する。
Next, an example of conditions for the receiving device 2 to judge that the above variable code is a legitimate code will be described. First, it is determined whether or not the variable code A included in the signal received this time is equal to or greater than the reference variable code B obtained by adding the variable code included in the previously received signal. For example, if the allowable count number S is 256 and 0 ≦ A−B ≦ 256 (1), the variable code A is determined to be a regular variable code.

【0014】より具体的には、例えば基準可変コードB
が0100の場合、今回受信した信号に含まれる可変コ
ードAは0100〜0356の範囲にあるコードであれ
ば正規の可変コードと判断する。即ち、可変コードAが
0357以上であった場合(0357〜9999)、A
−Bが257〜9899の間となることから(1)式に
より可変コードAを正規の可変コードと判断することは
なく、可変コードAが0100未満であった場合(00
00〜0099)、A−Bが−1以下になることから同
じく(1)式により可変コード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 0100 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 less than 0100 (00
00-0099), and AB becomes -1 or less, the variable code A is not judged to be a regular variable code by the same equation (1).

【0015】また、例えば前回受信した信号に含まれる
可変コードが9999であった場合、今回受信した信号
に含まれる可変コードAは0000以上となるが、基準
可変コードBも0000となっており、可変コードAが
0000〜0255の範囲にあれば正規の可変コードと
判断する。
Further, for example, when the variable code included in the previously received signal is 9999, the variable code A included in the signal received this time is 0000 or more, but the reference variable code B is also 0000. If the variable code A is in the range of 0000 to 0255, it is determined as a regular variable code.

【0016】上記の関係を一般的に表すと、可変コード
を上限値Nを超えたら初期値aに戻る数値コードとし、
増加許容カウント数をS(Sは任意の正の数)として、 1≦A−B≦S となっていれば、可変コードAを正規の可変コードと判
断する。この変化許容カウント数Sの設定値は任意であ
るが、小さすぎると送信スイッチが何度か誤操作された
ときや、受信が正常に行われなかったりすると条件から
外れてしまう恐れがある。また、可変コードに加算する
数(カウント数)は1に限定されず、任意の数で良い。
更に使用する数値コードは10進数4桁に限定されず、
16進数や8進数の任意の桁数で良い。
Generally speaking, the variable code is a numerical code that returns to the initial value a when the upper limit value N is exceeded.
If 1 ≦ A−B ≦ S, where S is the increase allowable count number (S is an arbitrary positive number), the variable code A is determined to be a regular variable code. 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 (count number) added to the variable code is not limited to 1, and may be any number.
Furthermore, the numerical code used is not limited to 4 decimal digits,
Any number of hexadecimal or octal digits may be used.

【0017】一方、送信装置1の電池8を交換すると、
RAM6がリセットされ可変コードが0000にリセッ
トされる。また、前回の可変コードが例えば9998で
送信装置から2回以上空送信した場合や増加許容カウン
ト数S(本実施例では256回)以上空送信した場合は
正規の送信装置1によっても可変コードを正規の可変コ
ードと判断しなくなるが、例えば受信装置2は固定コー
ドが同一で、かつ5回連続して1ずつ増加する可変コー
ドを受信すると、前述と同様に合致信号を出力すると共
に最後に受信した可変コードを基準可変コードとして記
憶するように設定されている。従って、このような場合
には、例えば送信装置1のスイッチ7を5回連続して操
作して受信装置2に信号を送信する。このようにすれ
ば、同期が外れた場合に於ても、送信装置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 last variable code is, for example, 9998, the transmitter transmits an idle transmission more than twice, or when the increase allowable count number S (256 times in this embodiment) or more idle transmission is performed, the regular transmission apparatus 1 also transmits the variable code. For example, if the receiving device 2 receives a variable code that has the same fixed code and increases by 1 for five consecutive times, it does not judge that it is a legitimate variable code. The set variable code is set to be stored as a reference variable code. 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. 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.

【0018】また、本実施例では可変コードを、送信装
置1から送信が行われる度に前回生成した可変コードに
所定の数(例えば1)を加算して新しい可変コードとし
て設定し、これが上限値(例えば9999)を超えたら
初期値(例えば0000)に戻る数値コードとしたが、
可変コードを、送信装置から送信が行われる度に前回生
成した可変コードに所定の数(例えば1)を減算して新
しい可変コードとして設定し、これが下限値(例えば0
000)を下回ったら初期値(例えば9999)に戻る
数値コードとし、今回受信した信号に含まれる可変コー
ドA、受信装置にて前回受信して正規のコードであるこ
とが確認された可変コードから1カウント減じたコード
を基準可変コードB(例えば受信した可変コードが00
48であれば0046、0000であれば9999)、
減少許容カウント数をSとして、今回受信した信号に含
まれる固定コードが予め設定された正規の固定コードと
一致し、かつ今回受信した信号に含まれる可変コードA
が基準可変コードBとの関係が、 1≦B−A≦S となっていれば、合致信号を出力して今回受信した可変
コードAから1カウント減じたコードを基準可変コード
Bとして記憶するようにしても良い。
In the present embodiment, the variable code is set as a new variable code by adding a predetermined number (for example, 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. When it exceeds (for example, 9999), it is a numerical code that returns to the initial value (for example, 0000).
The variable code is set as a new variable code by subtracting a predetermined number (for example, 1) from the previously generated variable code each time transmission is performed from the transmitting device, and this is set as a lower limit value (for example, 0).
1) from the variable code A included in the signal received this time and the variable code which was received last time by the receiving device and confirmed to be a normal code. The code obtained by subtracting the count is used as a reference variable code B (for example, the received variable code is 00
48 is 0046, 0000 is 9999),
When the reduction allowable count number is S, the fixed code contained in the signal received this time matches the preset regular fixed code, and the variable code A contained in the signal received this time
If the relation with the reference variable code B is 1 ≦ B−A ≦ S, a match signal is output and the code obtained by subtracting 1 count from the variable code A received this time is stored as the reference variable code B. You can

【0019】[0019]

【発明の効果】このように本発明による信号照合方法に
よれば、送信装置から、固有の固定コードと、送信が行
われる度に前回生成した可変コードに1カウント数加算
または減算して新しい可変コードとして設定すると共に
上限値または下限値を超えたら初期値に戻るカウンタに
より生成された数値コードからなる可変コードとを有す
る信号を送信し、前回受信して識別された可変コードに
1カウント数加算または減算したコードを基準可変コー
ドとして記憶する受信装置にて上記信号を受信し、今回
受信した信号に含まれる固定コードが予め設定された正
規の固定コードと一致し、かつ今回受信した信号に含ま
れる可変コードが、加算型であれば上記基準可変コード
以上であれば、合致信号を出力し、かつ今回受信した可
変コードに1カウント数を加えたコードを受信装置に次
回使用する基準可変コードとして記憶し、減算型であれ
ば上記基準可変コード以下であれば、合致信号を出力
し、かつ今回受信した可変コードから1カウント数を減
じたコードを受信装置に次回使用する基準可変コードと
して記憶する構成とすることで、装置の大型化及びコス
トの高騰化を伴うことなく信号をコピーすることによる
不正な送信を確実に排除できると共に正規な送信信号を
確実に識別できるようになる。また、送信装置と受信装
置との間で何らかの事情により可変コードの識別ができ
なくなっても所定の操作により再度識別可能とすること
で、エラー発生時のメンテナンスも容易になる。
As described above, according to the signal matching method of the present invention, a new fixed variable code is added from the transmitting device by adding or subtracting one count number to the unique fixed code and the previously generated variable code each time transmission is performed. A signal having a variable code consisting of a numerical code generated by a counter that is set as a code and returns to the initial value when the upper limit value or the lower limit value is exceeded is transmitted, and one count number is added to the variable code previously received and identified. Or, the receiving device that stores the subtracted code as the reference variable code receives the signal, and the fixed code included in the signal received this time matches the preset regular fixed code and is included in the signal received this time. If the variable code to be added is the addition type, if the variable code is equal to or more than the reference variable code, a match signal is output, and the variable code received this time is 1 Code is added to the receiving device as a reference variable code to be used next time, and if it is a subtraction type, if it is less than or equal to the reference variable code, a match signal is output, and a count number from the variable code received this time is one. By storing the code with the reduced number as a reference variable code to be used next time in the receiving device, it is possible to reliably eliminate the illegal transmission due to copying the signal without increasing the size of the device and increasing the cost. With this, it becomes possible to reliably identify a normal transmission signal. Further, 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, which facilitates maintenance when an error occurs.

【図面の簡単な説明】[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

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成8年2月15日[Submission date] February 15, 1996

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0016[Correction target item name] 0016

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0016】上記の関係を一般的に表すと、可変コード
を上限値Nを超えたら初期値aに戻る数値コードとし、
増加許容カウント数をS(Sは任意の正の数)として、 ≦A−B≦S となっていれば、可変コードAを正規の可変コードと判
断する。この変化許容カウント数Sの設定値は任意であ
るが、小さすぎると送信スイッチが何度か誤操作された
ときや、受信が正常に行われなかったりすると条件から
外れてしまう恐れがある。また、可変コードに加算する
数(カウント数)は1に限定されず、任意の数で良い。
更に使用する数値コードは10進数4桁に限定されず、
16進数や8進数の任意の桁数で良い。
Generally speaking, the variable code is a numerical code that returns to the initial value a when the upper limit value N is exceeded.
If 0 ≦ A−B ≦ S, where S is the increase allowable count number (S is an arbitrary positive number), the variable code A is determined to be a regular variable code. 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 (count number) added to the variable code is not limited to 1, and may be any number.
Furthermore, the numerical code used is not limited to 4 decimal digits,
Any number of hexadecimal or octal digits may be used.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0017[Correction target item name] 0017

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0017】一方、送信装置1の電池8を交換すると、
RAM6がリセットされ可変コードが0000にリセッ
トされる。また、増加許容カウント数S(本実施例では
256回)以上空送信した場合は正規の送信装置1によ
っても可変コードを正規の可変コードと判断しなくなる
が、例えば受信装置2は固定コードが同一で、かつ5回
連続して1ずつ増加する可変コードを受信すると、前述
と同様に合致信号を出力すると共に最後に受信した可変
コードを基準可変コードとして記憶するように設定され
ている。従って、このような場合には、例えば送信装置
1のスイッチ7を5回連続して操作して受信装置2に信
号を送信する。このようにすれば、同期が外れた場合に
於ても、送信装置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. Although no longer determined variable code with variable code regular by transmitter 1 legitimate if you empty transmit more (256 times in this embodiment) increase the allowable number of counts S, for example, the receiving device 2 is fixed code When the same variable code that is incremented by 1 is received five times in a row, a match signal is output as described above and the last received variable code is set as a reference variable code. 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.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0018[Correction target item name] 0018

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0018】また、本実施例では可変コードを、送信装
置1から送信が行われる度に前回生成した可変コードに
所定の数(例えば1)を加算して新しい可変コードとし
て設定し、これが上限値(例えば9999)を超えたら
初期値(例えば0000)に戻る数値コードとしたが、
可変コードを、送信装置から送信が行われる度に前回生
成した可変コードに所定の数(例えば1)を減算して新
しい可変コードとして設定し、これが下限値(例えば0
000)を下回ったら初期値(例えば9999)に戻る
数値コードとし、今回受信した信号に含まれる可変コー
ドA)受信装置にて前回受信して正規のコードであるこ
とが確認された可変コードから1カウント減じたコード
を基準可変コードB(例えば受信した可変コードが00
48であれば0046、0000であれば9999)、
減少許容カウント数をSとして、今回受信した信号に含
まれる固定コードが予め設定された正規の固定コードと
一致し、かつ今回受信した信号に含まれる可変コードA
が基準可変コードBとの関係が、 ≦B−A≦S となっていれば、合致信号を出力して今回受信した可変
コードAから1カウント減じたコードを基準可変コード
Bとして記憶するようにしても良い。
In the present embodiment, the variable code is set as a new variable code by adding a predetermined number (for example, 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. When it exceeds (for example, 9999), it is a numerical code that returns to the initial value (for example, 0000).
The variable code is set as a new variable code by subtracting a predetermined number (for example, 1) from the previously generated variable code each time transmission is performed from the transmitting device, and this is set as a lower limit value (for example, 0).
Value code that returns to the initial value (eg, 9999) when it falls below 000), and the variable code included in the signal received this time is A) from the variable code that was previously received by the receiving device and confirmed to be a normal code. The code obtained by subtracting the count is used as a reference variable code B (for example, the received variable code is 00
48 is 0046, 0000 is 9999),
When the reduction allowable count number is S, the fixed code contained in the signal received this time matches the preset regular fixed code, and the variable code A contained in the signal received this time
If the relation with the reference variable code B is 0 ≦ BA−S ≦ S, a match signal is output and the code obtained by subtracting 1 count from the variable code A received this time is stored as the reference variable code B. You can

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 予め設定された固定コードと送信する
毎に変更される可変コードとを含む信号を送信装置から
送信し、これを受信装置にて受信し、受信した前記信号
から前記固定コード及び可変コードの比較照合を行い、
その照合結果により前記送信装置が正規の送信装置であ
ることを識別して合致信号を出力するための信号照合方
法であって、 前記可変コードが、前記送信装置から送信が行われる度
に前回生成した可変コードに所定の数が加算されて新し
い可変コードとして設定されると共に上限値を超えたら
初期値に戻る加算カウンタにより生成された数値コード
からなり、 前記受信装置にて前回受信して識別された可変コードに
前記加算カウンタと同じ方法で前記所定の数からなる1
カウント数を加えたコードを基準可変コードとして記憶
し、 今回受信した信号に含まれる固定コードが予め設定され
た正規の固定コードと一致し、かつ今回受信した信号に
含まれる可変コードが前記受信装置に記憶された基準可
変コード以上であれば、前記合致信号を出力し、かつ今
回受信した可変コードに1カウント数を加えたコードを
を前記受信装置に次回使用する基準可変コードとして記
憶することを特徴とする信号照合方法。
1. A signal including a preset fixed code and a variable code that is changed each time it is transmitted is transmitted from a transmitting device, and the receiving device receives the signal, and the fixed code and the fixed code are received from the received signal. Performs variable code comparison and verification,
A signal collating method for identifying that the transmitting device is a legitimate transmitting device on the basis of the collation result and outputting a match signal, wherein the variable code is generated last time every time the transmitting device transmits. A predetermined number is added to the variable code that is set as a new variable code, and it returns to the initial value when the upper limit value is exceeded.It consists of a numerical code generated by an addition counter, which was previously received and identified by the receiving device. A variable code consisting of the predetermined number in the same manner as the addition counter
The code added with the number of counts is stored as a reference variable code, the fixed code contained in the signal received this time matches a preset regular fixed code, and the variable code contained in the signal received this time is stored in the receiving device. If it is equal to or larger than the reference variable code stored in the above, the match signal is output, and a code obtained by adding 1 count to the variable code received this time is stored in the receiving device as the reference variable code to be used next time. A characteristic signal matching method.
【請求項2】 予め設定された固定コードと送信する
毎に変更される可変コードとを含む信号を送信装置から
送信し、これを受信装置にて受信し、受信した前記信号
から前記固定コード及び可変コードの比較照合を行い、
その照合結果により前記送信装置が正規の送信装置であ
ることを識別して合致信号を出力するための信号照合方
法であって、 前記可変コードが、前記送信装置から送信が行われる度
に前回生成した可変コードに所定の数が減算されて新し
い可変コードとして設定されると共に下限値を下回った
ら初期値に戻る減算カウンタにより生成された数値コー
ドからなり、 前記受信装置にて前回受信して識別された可変コードか
ら前記減算カウンタと同じ方法で前記所定の数からなる
1カウント数を減じたコードを基準可変コードとして記
憶し、 今回受信した信号に含まれる固定コードが予め設定され
た正規の固定コードと一致し、かつ今回受信した信号に
含まれる可変コードが前記受信装置に記憶された基準可
変コード以下であれば、前記合致信号を出力し、かつ今
回受信した可変コードから1カウント数を減じたコード
をを前記受信装置に次回使用する基準可変コードとして
記憶することを特徴とする信号照合方法。
2. A signal including a preset fixed code and a variable code that is changed every time it is transmitted is transmitted from a transmitting device, and the receiving device receives the signal, and from the received signal, the fixed code and Performs variable code comparison and verification,
A signal collating method for identifying that the transmitting device is a legitimate transmitting device on the basis of the collation result and outputting a match signal, wherein the variable code is generated last time every time the transmitting device transmits. The variable code consists of a numerical code generated by a subtraction counter that is set as a new variable code by subtracting a predetermined number and returns to the initial value when it falls below the lower limit value. The fixed code included in the signal received this time is stored as a reference variable code in the same manner as the subtraction counter by subtracting one count number from the predetermined number, and the fixed code included in the signal received this time is a regular fixed code. If the variable code included in the signal received this time is equal to or less than the reference variable code stored in the receiving device, the match signal Signal matching method characterized by storing outputs, and a code obtained by subtracting 1 count from variable code received this time as a reference variable code used next to the receiving device.
【請求項3】 前記可変コードが前記受信装置に記憶
された基準可変コードに対して所定のカウント数以内の
変化をしていない場合に、予め設定された操作を所定の
条件下で行うことにより該可変コードを前記受信装置に
次回使用する基準可変コードとして記憶可能とすること
を特徴とする請求項1若しくは請求項2に記載の信号照
合方法。
3. When the variable code has not changed within a predetermined count number with respect to the reference variable code stored in the receiving device, a preset operation is performed under a predetermined condition. 3. The signal matching method according to claim 1, wherein the variable code can be stored in the receiving device as a reference variable code to be used next time.
JP33597094A 1994-12-23 1994-12-23 Signal collation method Pending JPH08182078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33597094A JPH08182078A (en) 1994-12-23 1994-12-23 Signal collation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33597094A JPH08182078A (en) 1994-12-23 1994-12-23 Signal collation method

Publications (1)

Publication Number Publication Date
JPH08182078A true JPH08182078A (en) 1996-07-12

Family

ID=18294359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33597094A Pending JPH08182078A (en) 1994-12-23 1994-12-23 Signal collation method

Country Status (1)

Country Link
JP (1) JPH08182078A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6181252B1 (en) 1996-08-23 2001-01-30 Denso Corporation Remote control system and method having a system-specific code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6181252B1 (en) 1996-08-23 2001-01-30 Denso Corporation Remote control system and method having a system-specific code

Similar Documents

Publication Publication Date Title
EP0923663B1 (en) Garage door opening system
US6690796B1 (en) Rolling code security system
CN1132128C (en) Method for recognizing carried certificate by remote terminal, correspondent carried certificate and terminal
US8633797B2 (en) Rolling code security system
JP3491994B2 (en) Communication control device and method
US4825210A (en) Electronic locking system having a lock and a method for re-synchronization
US7623663B2 (en) Rolling code security system
EP0605996B1 (en) Remote controlled security system
US5686904A (en) Secure self learning system
US5923758A (en) Variable key press resynchronization for remote keyless entry systems
US6225889B1 (en) Method of producing rolling code and keyless entry apparatus using the same
JP2007154508A (en) Equipment control system
US5781121A (en) Security system and method therefor
JPH08182078A (en) Signal collation method
JP3110964B2 (en) Signal collation method
JPH08182076A (en) Signal collation method
JP3281300B2 (en) Signal matching method
US6982628B1 (en) Mechanism for assigning an actuator to a device
JP3414575B2 (en) Signal matching method
US20010011943A1 (en) Apparatus for activating and/or deactivating a security device
US6850146B2 (en) Device for controlling a security device
US20170270727A1 (en) Communication system, control device, and authentication information determination method
KR100312565B1 (en) Method for key-less entry into automobile
JPH1030367A (en) Identification signal checking device and identification signal checking method
JPH09125769A (en) Receiving device and remote control system