JPH08251674A - Transmitter-receiver - Google Patents

Transmitter-receiver

Info

Publication number
JPH08251674A
JPH08251674A JP5025795A JP5025795A JPH08251674A JP H08251674 A JPH08251674 A JP H08251674A JP 5025795 A JP5025795 A JP 5025795A JP 5025795 A JP5025795 A JP 5025795A JP H08251674 A JPH08251674 A JP H08251674A
Authority
JP
Japan
Prior art keywords
code
variable code
transmitter
variable
receiver
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
JP5025795A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Nakade
義幸 中出
Toshihiro Nomura
敏裕 野村
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP5025795A priority Critical patent/JPH08251674A/en
Publication of JPH08251674A publication Critical patent/JPH08251674A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To improve operation while maintaining security by judging normality when a variable code to be gradually promoted by a prescribed format is included with a prescribed range from a preceding received variable code. CONSTITUTION: When a switch on a transmitter is turned on, a transmission code constituted of a 24-bit vehicle identifying ID code previously set up in a memory and a 16-bit variable code of which value is increased one by one e.g. in accordance with operation frequency is generated and an optical transmission signal obtained by modulating a 38kHz signal by the transmission code is transmitted. A receiver 4 loaded on a vehicle demodulates a signal received through a light receiving part 41 and an ID code comparator 50 collates the extracted 10 code with an ID code stored in an ID code memory 49. A variable code memory 52 stores the preceding received and processed variable code and a variable code comparator 51 judges a normal signal when the current received variable code is larger than the preceding received variable code and is included with a range of +1 to +256 and unlocks the door of the vehicle.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、自動車のドアの開錠な
どの遠隔操作などに使用される送受信装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmitting / receiving device used for remote control such as unlocking of a door of a vehicle.

【0002】[0002]

【従来の技術】従来、この種の送受信装置は、特開平4
−336185号公報に開示されており、図5に示すよ
うなブロック図で表される。図5において、送信機1に
は、IDコードメモリ13に記憶した固定コードと、操
作回数に応じて変数コード加算部14にて加算された変
数コードと、送信情報とからなる送信データを生成する
データ生成部12が設けられ、受信機2には、上記の送
信機1から送信された送信データを解読するデータ解読
部24が設けられている。データ解読部24では、上記
の固定コードの一致を判断するとともに、受信回数加算
部25により加算された加算コードと上記の変数コード
とを比較して、受信してよいデータであるか否かを判断
する。変数コードと加算コードとが相違するときには、
送信機1での所定の動作に基づいて、受信回数加算部2
5の加算コードを変数コードに合わせて飛び更新させ
る。
2. Description of the Related Art Conventionally, a transmitter / receiver of this type is disclosed in Japanese Patent Laid-Open No.
It is disclosed in Japanese Patent Publication No. 336185 and is represented by a block diagram as shown in FIG. In FIG. 5, the transmitter 1 generates transmission data including a fixed code stored in the ID code memory 13, a variable code added by the variable code addition unit 14 according to the number of operations, and transmission information. The data generation unit 12 is provided, and the receiver 2 is provided with a data decryption unit 24 that decrypts the transmission data transmitted from the transmitter 1. The data decoding unit 24 determines whether the fixed codes match and compares the addition code added by the reception number addition unit 25 with the variable code to determine whether or not the data may be received. to decide. When the variable code and the addition code are different,
Based on a predetermined operation in the transmitter 1, the reception number addition unit 2
The addition code of 5 is skipped and updated according to the variable code.

【0003】よって、例えば他人が送信機1を何回か操
作した後に受信機2に向かって送信したときには、変数
コードと受信回数が不一致であるため送信データは受付
けられない。ただし、所持者本人が誤って送信機1を何
回か操作した後に受信機2に向かって送信したときに
は、所定の操作により受信機2の受信回数を飛び更新さ
せてデータの受信受付をする。この所定の操作は、例え
ば、最初の送信データが受信機2に受付けられなかった
ときに、予め決められた回数、例えば3回連続して送信
するなどであり、この操作により受信機2か送信データ
を受付けるようにする。
Therefore, for example, when another person operates the transmitter 1 several times and then transmits to the receiver 2, the transmission data cannot be accepted because the variable code and the number of receptions do not match. However, when the owner himself mistakenly operates the transmitter 1 several times and then transmits to the receiver 2, the reception count of the receiver 2 is skipped and updated by a predetermined operation to receive data. This predetermined operation is, for example, when the first transmission data is not accepted by the receiver 2, it is transmitted a predetermined number of times, for example, three times in succession. Accept data.

【0004】また、従来の他の送受信装置として、特開
平1−212998号公報および特開平1−27867
1号公報などに記載され開示されているように、デジタ
ル信号を第1と第2の信号に別けて、送信回数に合わせ
て随時デジタル信号を変化させて盗難防止を図ることは
公知である。
Further, as other conventional transmission / reception devices, Japanese Patent Application Laid-Open Nos. 1-212998 and 1-27867.
As described and disclosed in Japanese Patent Publication No. 1 and the like, it is known that the digital signal is divided into a first signal and a second signal, and the digital signal is changed at any time according to the number of transmissions to prevent theft.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記の
ような従来の送受信装置では、必ず固定コードと変数コ
ードとが一致していないと、正規の信号とは見なさず
に、送信機1を誤って空打ちした場合などには、直ちに
機器を受信制御できず、所定の動作をしなければならな
いという問題点を有していた。
However, in the conventional transmitter / receiver as described above, if the fixed code and the variable code do not always match, the transmitter 1 is mistakenly regarded as not a legitimate signal. In the case of a blank hit, there is a problem that the device cannot be immediately subjected to reception control and must perform a predetermined operation.

【0006】本発明は、このような従来の課題を解決す
るものであり、送信機を空打ちして変数コードが変化し
たことにより、受信機内に記憶された変数コードと一致
しなくなっても、直ちに機器を受信制御できるととも
に、送信機の電池が消耗した際の電池交換時に生ずる変
数コードのイニシャライズ(例えば変数コードを0に戻
す)に対して、所定の操作を行なうことによって、受信
機内に記憶された変数コードを送信機の変数コードに強
制的に一致させることができ、セキュリティーおよび使
い勝手を向上させることができる送受信装置を提供する
ことを目的とする。
The present invention solves such a conventional problem. Even if the variable code stored in the receiver does not match due to the variable code being changed by hitting the transmitter blank, You can immediately control the reception of the device and store it in the receiver by performing a predetermined operation for the initialization of the variable code (for example, returning the variable code to 0) that occurs when the battery of the transmitter is replaced when the battery is exhausted. It is an object of the present invention to provide a transmitter / receiver capable of forcibly matching the generated variable code with the variable code of the transmitter and improving security and usability.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に本発明の送受信装置は、情報を送信する送信機と、前
記送信機からの情報を受信する受信機とで構成された送
受信装置において、前記送信機に、少なくとも、利用者
によって操作される操作部と、前記送信機を識別するた
めの固定コードと前記操作部の操作回数に対応した変数
コードとに基づく送信データを形成して、この送信デー
タを送信する送信手段とを備え、前記受信機に、前記送
信機から送信された前記送信データを受信する受信部
と、前記受信部からの出力データを解読するデータ解読
部と、前記解読部で解読された変数コードを受信毎に記
憶する変数コード記憶部と、あらかじめ固定コードを記
憶しておく固定コード記憶部と、前記固定コードおよび
変数コードをそれぞれ比較する比較器と、前記比較器に
よる比較結果が、固定コードが同じでかつ最新の変数コ
ードが前回に受信した変数コードよりある所定の範囲に
ある時のみ受信制御を行ない、固定コードは一致してい
るが変数コードが異なった時には、送信機側の所定の操
作に基づいて、受信機内の変数コードを送信機側から送
信されてきた最新の変数コードに更新する制御部とを備
えた構成とする。
In order to solve the above problems, a transmitting / receiving apparatus of the present invention is a transmitting / receiving apparatus comprising a transmitter for transmitting information and a receiver for receiving information from the transmitter. In the transmitter, at least an operation unit operated by a user, transmission data based on a fixed code for identifying the transmitter and a variable code corresponding to the number of operations of the operation unit are formed, A receiver for receiving the transmission data transmitted from the transmitter, a data decoder for decoding the output data from the receiver, and a transmitter for transmitting the transmission data. A variable code storage unit that stores the variable code decoded by the decoding unit each time it is received, a fixed code storage unit that stores a fixed code in advance, and the fixed code and the variable code respectively. Reception control is performed only when the comparator to be compared and the comparison result by the comparator have the same fixed code and the latest variable code is within a predetermined range from the previously received variable code, and the fixed code does not match. However, when the variable code is different, based on a predetermined operation on the transmitter side, the variable code in the receiver is updated to the latest variable code transmitted from the transmitter side, To do.

【0008】[0008]

【作用】上記の構成によると、送信機が、その機器固有
の識別コード(IDコード)である固定コードと、送信
機の送信回数に対応して所定の順序で変更される変数コ
ードとから構成される送信信号を送信する。
According to the above structure, the transmitter is composed of a fixed code which is an identification code (ID code) unique to the device and a variable code which is changed in a predetermined order corresponding to the number of transmissions of the transmitter. Is transmitted.

【0009】送信機から送信された信号を受信する受信
機では、受信部が受信したコードを記憶し、固定コード
が一致した時のみ、変数コードの新・旧を比較する。こ
の比較結果に基づいて、制御部は、新たに記憶された変
数コードにより、先行記憶された変数コードを、所定の
順序で累進変更するとともに、新たに記憶された変数コ
ードがある一定の範囲にある時のみ、受信動作の制御を
行なう。
In the receiver which receives the signal transmitted from the transmitter, the code received by the receiver is stored and the new and old variable codes are compared only when the fixed codes match. Based on the comparison result, the control unit progressively changes the previously stored variable code in a predetermined order with the newly stored variable code, and the newly stored variable code falls within a certain range. The reception operation is controlled only at certain times.

【0010】更に、制御部は、固定コードが一致した
が、正規の送信機で、電池の消耗などによる電池交換時
における変数コードのイニシャライズが発生した場合の
ように、変数コードの比較結果が異なった時には、送信
機での所定の操作に基づいて、受信機で記憶している比
較器内の変数コードを、送信機から送信されてきた最新
の変数コードに更新する。
Further, the control unit has the same fixed code, but the comparison result of the variable codes is different as in the case where the variable code is initialized by the regular transmitter when the battery is replaced due to exhaustion of the battery. In this case, the variable code in the comparator stored in the receiver is updated to the latest variable code transmitted from the transmitter based on a predetermined operation in the transmitter.

【0011】[0011]

【実施例】以下、本発明の一実施例の送受信装置を、図
1〜図4に基づいて説明する。図1は本実施例の送受信
装置の送信機3の回路ブロック図を示す。図1におい
て、30は、リチューム電池から成る電源で、送信機3
全体を機能させるためのものであり、31は、ロックお
よびアンロックの操作を行う操作部としてのスイッチ部
(SW部)を示し、32は、ワンタイムマイクロコンピ
ュータ(OTPマイコン)で、IDコード収納メモリ3
3と、変数コード加算部34と、制御部35と、発振変
調部36と、コード出力部37とから構成される。38
は、LED駆動用の増幅回路で、赤外光発光LEDから
なる発光部39とOTPマイコン32との間に接続され
ている。ここで、OTPマイコン32と増幅回路38と
発光部39とは送信手段を構成している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A transmitter / receiver according to an embodiment of the present invention will be described below with reference to FIGS. FIG. 1 shows a circuit block diagram of a transmitter 3 of the transmitting / receiving apparatus of this embodiment. In FIG. 1, reference numeral 30 denotes a power source composed of a lithium battery, which is a transmitter 3
In order to make the whole function, 31 indicates a switch section (SW section) as an operation section for performing lock and unlock operations, and 32 indicates a one-time microcomputer (OTP microcomputer) for storing an ID code. Memory 3
3, a variable code addition unit 34, a control unit 35, an oscillation modulation unit 36, and a code output unit 37. 38
Is an amplifier circuit for driving an LED, and is connected between the light emitting unit 39 including an infrared light emitting LED and the OTP microcomputer 32. Here, the OTP microcomputer 32, the amplifier circuit 38, and the light emitting section 39 constitute a transmitting means.

【0012】図2は受信部40およびコントローラ部4
7からなる受信機4の回路ブロック図を示す。図2にお
いて、40は、受信部で、光信号を受信する受光部41
と、Amp(増幅器)42と、BPF(バンドパスフィ
ルター)43と、検波回路44と、データ解読部として
の出力波形整形回路45とから構成される。46は、車
両パッテリーで、電圧制御部48で5[v]の定電圧電
源として受信部40とコントローラ部47の電子制御電
源としている。コントローラ部47は、固定コード記憶
部としてのIDコード収納メモリ(E2 PROM)49
と、比較器を構成するIDコード比較器50と変数コー
ド比較器51と、変数コード記憶部としての変数コード
メモリ52と、制御部としてのリレー制御部53とから
構成されている。
FIG. 2 shows the receiving section 40 and the controller section 4.
7 shows a circuit block diagram of a receiver 4 consisting of 7. In FIG. 2, reference numeral 40 denotes a receiver, which is a light receiver 41 that receives an optical signal.
, An Amp (amplifier) 42, a BPF (bandpass filter) 43, a detection circuit 44, and an output waveform shaping circuit 45 as a data decoding unit. Reference numeral 46 is a vehicle battery, and the voltage control unit 48 is an electronic control power supply for the receiving unit 40 and the controller unit 47 as a constant voltage power supply of 5 [v]. The controller unit 47 includes an ID code storage memory (E 2 PROM) 49 as a fixed code storage unit.
And an ID code comparator 50 and a variable code comparator 51 that form a comparator, a variable code memory 52 as a variable code storage unit, and a relay control unit 53 as a control unit.

【0013】以上のように構成された送受信装置につい
て、その動作を以下に説明する。図3(a)はコードの
構成を示したもので、図3(b)はコードのデータビッ
トの割り付けを示している。図3において、54,56
はパルスで、55,73は各パルスの間隔を示してい
る。
The operation of the transmitter / receiver configured as described above will be described below. FIG. 3A shows the structure of the code, and FIG. 3B shows the allocation of the data bits of the code. In FIG. 3, 54, 56
Is a pulse, and 55 and 73 are the intervals of each pulse.

【0014】図4は、受信部40で受信した光信号を整
形する出力波形整形回路45の出力に対する信号処理フ
ローを示したものである。上記の実施例において、スイ
ッチ部31を操作すると、OTPマイコン32に入力信
号が加わり、OTPマイコン32内のIDコード収納メ
モリ33からあらかじめ設定されたIDコードを呼び出
すとともに、変数コード加算部34から、スイッチ部3
1の操作回数に合わせた変数コードとが、制御部35に
入力される。
FIG. 4 shows a signal processing flow for the output of the output waveform shaping circuit 45 which shapes the optical signal received by the receiving section 40. In the above embodiment, when the switch section 31 is operated, an input signal is added to the OTP microcomputer 32, and a preset ID code is called from the ID code storage memory 33 in the OTP microcomputer 32. Switch part 3
The variable code corresponding to the number of operations of 1 is input to the control unit 35.

【0015】制御部35内においては、図3(a)に示
すように、信号コードはパルス54,56から構成さ
れ、パルス54とパルス56との間隔55により、2進
数の“0”,“1”を規定して(間隔が狭いものを
“0”と規定し、広いものを“1”と規定する)
“0”,“1”から成るコードを形成する。前記のコー
ドのデータビットの割り付けは、図3(b)に示すよう
に、例えば、全コードのビット数は40とし、1〜24
ビット目を固定コード74として、最初の1〜4ビット
は、メーカコード69とし、これは、各車両全て共通と
し、各メーカ間あるいは車の車種間での区別をするコー
ド等に使用し(実施例では最初の1〜4ビットについて
の動作は略す)、次の5〜24ビットはIDコード70
とし、これは各車両別に割り付けをする。次の25〜4
0ビットは、変数コード71とし、スイッチ部31の操
作回数に応じて例えば1つづつ数字が大きくなるように
随時変化するように制御され、制御部35で、メーカコ
ードと、IDコードと、変数コードとが合成され、全体
の送信コード72が形成される。この送信コード72内
のパルス54および56内は、発振変調部36により、
例えば38[KHZ]で周波数変調され(図示せず)、
コード出力部37から、増幅回路38を通って、発光部
39から送信される。送信機3から送信された信号は、
受信機4の受光部41にて受信され、受信された信号を
Amp42にて増幅し、BPF43で変調された周波数
成分を取り除く。
In the control unit 35, as shown in FIG. 3 (a), the signal code is composed of pulses 54 and 56, and binary "0" and "0" depending on the interval 55 between the pulses 54 and 56. Define 1 "(Define narrow intervals as" 0 "and wide intervals as" 1 ")
A code consisting of "0" and "1" is formed. As shown in FIG. 3B, the allocation of the data bits of the above code is, for example, 1 to 24 when the number of bits of all codes is 40.
The first bit is the manufacturer code 69, and the first to fourth bits are the manufacturer code 69. This is common to all vehicles and is used as a code for distinguishing between manufacturers or between vehicle types (implementation). In the example, the operation for the first 1 to 4 bits is omitted), and the next 5 to 24 bits are the ID code 70.
This is to be assigned to each vehicle. Next 25-4
The 0 bit is used as a variable code 71, and is controlled so as to change at any time such that the number increases by 1, for example, according to the number of times the switch unit 31 is operated, and the control unit 35 controls the manufacturer code, the ID code, and the variable. The code is combined with the code to form the entire transmission code 72. The pulses 54 and 56 in the transmission code 72 are generated by the oscillation modulator 36.
For example, the frequency is modulated with 38 [KHZ] (not shown),
From the code output unit 37, the signal is transmitted from the light emitting unit 39 through the amplifier circuit 38. The signal transmitted from the transmitter 3 is
The signal received by the light receiving unit 41 of the receiver 4 is amplified by the Amp 42 and the frequency component modulated by the BPF 43 is removed.

【0016】以下、図4のフローチャートに基づいて説
明する。出力波形整形回路45で、受信信号をコード化
信号に復元して解読し、コード受信する(ステップ#5
7)。次に、コード化信号は、IDコード収納メモリ4
9内にあらかじめ記憶させておいた送信機3と同じID
コードをE2 PROM49から呼び出し(ステップ#5
8)、IDコード比較器50で、IDコードが正規のI
Dコードであるか否かの照合を行なう(ステップ#5
9)。
The operation will be described below with reference to the flowchart of FIG. The output waveform shaping circuit 45 restores the received signal into a coded signal, decodes the coded signal, and receives the code (step # 5).
7). Next, the coded signal is stored in the ID code storage memory 4
Same ID as transmitter 3 stored in advance in 9
Call code from E 2 PROM 49 (step # 5
8) In the ID code comparator 50, the ID code is I
Whether or not it is a D code is verified (step # 5).
9).

【0017】ステップ#59のIDコード一致判断で、
一致していない場合はNOとなり、それから先の処理は
行なわれずに、ステップ#57のコード受信前に戻るこ
とになる。
When the ID code coincidence is determined in step # 59,
If they do not match, the determination is NO, and the process thereafter is not performed and the process returns to before the code is received in step # 57.

【0018】送信機3の変数コードが、電池の消耗など
により電池交換した際にイニシャルリセットされた時
や、必要以上に多く操作してしまい、ある範囲を越えた
時などは、IDコードが一致すれば、次の処理として、
変数コード比較を行なう。この際、変数コードメモリ5
2には、前回受信処理した変数コードが記憶されてお
り、この変数コードメモリ52から変数コードの呼び出
しを行ない(ステップ#60)、今回受信した変数コー
ドと比較して(ステップ#61)、この結果が、今回受
信した変数コードの方が大きい場合で、なおかつ、25
6以内であれば(変数コードは現在のものが+1〜+2
56以内にあれば正規信号とみなすようにプログラムさ
れている)正規の信号として、一致信号出力を行ない
(ステップ#63)、ロック又はアンロックの出力制御
をして(ステップ#64)、車のドアの施錠又は解錠を
行なう。
When the variable code of the transmitter 3 is initially reset when the battery is replaced due to exhaustion of the battery or when the number of operations exceeds a certain range, the ID codes match. Then, as the next process,
Performs variable code comparison. At this time, the variable code memory 5
2 stores the variable code received last time, and the variable code is called from this variable code memory 52 (step # 60) and compared with the variable code received this time (step # 61). If the result is that the variable code received this time is larger,
If it is within 6 (the current variable code is +1 to +2
If it is within 56, it is programmed to be regarded as a legitimate signal). As a legitimate signal, a coincidence signal is output (step # 63), and lock or unlock output control is performed (step # 64). Lock or unlock the door.

【0019】ステップ#61の変数コード比較結果がN
Oの時は、変数コードメモリ52内に、一旦、受信した
変数コードをサブ変数コードとして記憶しておく。次
に、ステップ#57のコード受信をして、IDコード7
0が一致していて、変数コード71が、前々回正規信号
として受信した変数コードよりも+1〜+256の間に
ない時には、前回一旦記憶しておいたサブ変数コードと
比較し(ステップ#66)、変数コードが前回値より+
1であれは、サブ変数コードの書きかえを行なう(ステ
ップ#67)。次に、この処理が5回連続かどうかの判
断を行ない(ステップ#68)、5回連続の時は、正規
の送信機の信号と判断し、変数コードを5回連続後の変
数コードに書きかえる(ステップ#62)。
The variable code comparison result of step # 61 is N.
When it is O, the received variable code is temporarily stored as the sub-variable code in the variable code memory 52. Next, the code of step # 57 is received, and the ID code 7
When 0 matches and the variable code 71 is not within +1 to +256 than the variable code received as the normal signal two times before, it is compared with the previously stored sub variable code (step # 66), Variable code is more than previous value +
If it is 1, the sub-variable code is rewritten (step # 67). Next, it is judged whether or not this processing is continuous 5 times (step # 68), and when it is continuous 5 times, it is judged as a signal of a legitimate transmitter, and the variable code is written in the variable code after continuous 5 times. Frog (step # 62).

【0020】このように、上記実施例によれば、車の盗
難防止などのために、送信データを変化させるものにお
いて、送信機3からの送信コードをIDコード70と変
数コード71で構成し、変数コード71は、送信回数に
応じて1つづつ数字が大きくなるようにし、受信機4
は、IDコード70が一致して、なおかつ、変数コード
71が前回受信した変数コード71よりも大きくて、こ
の数値が28 回以下、すなわち256回以下であれば、
正規の信号と判断するようにしたので、送信機3を受信
機4に向けないで空打ちした場合でも28 (256)回
迄は正規信号として受信するので、送信コードを仮にコ
ピーされたとしても、変数コード71は送信毎に変化
し、過去のコードは受け付けないので、盗難にあうこと
はなく使い勝手が良い。
As described above, according to the above embodiment, the transmission code from the transmitter 3 is composed of the ID code 70 and the variable code 71 in the case where the transmission data is changed in order to prevent the theft of the vehicle. The variable code 71 is set so that the number increases by one according to the number of transmissions, and the receiver 4
If the ID code 70 matches and the variable code 71 is larger than the previously received variable code 71 and this numerical value is 2 8 times or less, that is, 256 times or less,
Since it is judged as a legitimate signal, even if the transmitter 3 is hit without aiming at the receiver 4, it will be received as a legitimate signal up to 2 8 (256) times, so it is assumed that the transmission code is copied. However, since the variable code 71 changes every transmission and the past code is not accepted, it is easy to use because it is not stolen.

【0021】更に、送信機3は小型化のためリチューム
電池30などを用いるため、電池は寿命が短く、電池交
換の際に、送信コードの内の変数コード71は、OTP
マイコン32のRAM(Random Access Memory)に記憶
しているので、イニシャルリセットされ“0”に戻って
しまった場合には、送信機3を受信機4に向って、例え
ば連続5回以上、送信した場合は、変数コード比較(ス
テップ#61)の判断はNOとなっても、サブ変数コー
ド呼び出し(ステップ#65)と、サブ変数コード比較
(ステップ#66)を行ない、前回受信の変数コードよ
りも+1の時は、サブ変数コードを書きかえ(ステップ
#67)を行ない。これをくり返して、イニシャライズ
された変数コードに、受信機4のメイン変数コードを強
制的に合わせるようにしたので、電池交換時の変数コー
ドのイニシャライズ時の対応や、送信機3の256回以
上の空操作後の送信機3と受信機4の変数コード合わせ
は、送信機3の簡単な操作で行なうことができる。
Further, since the transmitter 3 uses the lithium battery 30 or the like for downsizing, the battery has a short life, and when the battery is replaced, the variable code 71 in the transmission code is OTP.
Since the data is stored in the RAM (Random Access Memory) of the microcomputer 32, when it is reset to “0” after the initial reset, the transmitter 3 is transmitted to the receiver 4 continuously, for example, five times or more. In this case, even if the judgment of the variable code comparison (step # 61) is NO, the sub-variable code call (step # 65) and the sub-variable code comparison (step # 66) are performed, and the variable code received last time is more than the previously received variable code. When it is +1, the sub-variable code is rewritten (step # 67). By repeating this, the main variable code of the receiver 4 is forcibly matched to the initialized variable code. Therefore, the correspondence of the variable code at the time of battery replacement and the transmitter 3 256 times or more are required. The variable code matching between the transmitter 3 and the receiver 4 after the idle operation can be performed by a simple operation of the transmitter 3.

【0022】[0022]

【発明の効果】以上のように本発明によれば、送信機
は、その機器固有の識別コードである固定コードと、送
信機の送信回数に対応して所定の順序で変更される変数
コードとから構成される送信信号を送信し、送信機から
送信された信号を受信する受信機では、受信部が受信し
たコードを記憶し、固定コードが一致した時のみ、変数
コードの新・旧を比較し、この比較結果に基づいて、制
御部は、新たに記憶された変数コードにより、先行記憶
された変数コードを、所定の順序で累進変更するととも
に、新たに記憶された変数コードがある一定の範囲にあ
る時のみ、受信動作の制御を行い、固定コードが一致し
たが、正規の送信機で、電池の消耗などによる電池交換
時における変数コードのイニシャライズが発生した場合
のように、変数コードの比較結果が異なった時には、送
信機での所定の操作に基づいて、受信機で記憶している
比較器内の変数コードを、送信機から送信されてきた最
新の変数コードに更新することができる。
As described above, according to the present invention, a transmitter has a fixed code which is an identification code unique to the device, and a variable code which is changed in a predetermined order corresponding to the number of transmissions of the transmitter. The receiver that receives the signal transmitted from the transmitter, which stores the code received by the receiver, compares the new and old variable codes only when the fixed codes match. Then, based on the comparison result, the control unit progressively changes the previously stored variable code in a predetermined order by the newly stored variable code, and the newly stored variable code has a constant value. Only when the range is within the range, the receiving operation is controlled, and the fixed code matches.However, the variable code is initialized in the regular transmitter when the battery code is replaced due to exhaustion of the battery. When the result of comparison is different, the variable code in the comparator stored in the receiver can be updated to the latest variable code sent from the transmitter based on a predetermined operation in the transmitter. it can.

【0023】そのため、送信機を空打ちして変数コード
が変化したことにより、受信機内に記憶された変数コー
ドと一致しなくなっても、直ちに機器を受信制御できる
とともに、送信機の電池が消耗した際の電池交換時に生
ずる変数コードのイニシャライズに対して、所定の操作
を行なうことによって、受信機内に記憶された変数コー
ドを送信機の変数コードに強制的に一致させることがで
き、セキュリティーおよび使い勝手を向上させることが
できる。
Therefore, even if the variable code does not match the variable code stored in the receiver due to the variable code being changed by hitting the transmitter blank, the device can be immediately controlled for reception and the battery of the transmitter is exhausted. At the time of initializing the variable code that occurs when the battery is replaced, the variable code stored in the receiver can be forcibly matched with the variable code of the transmitter by performing a predetermined operation, which improves security and usability. Can be improved.

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

【図1】本発明の一実施例における送受信装置の送信機
の回路ブロック図
FIG. 1 is a circuit block diagram of a transmitter of a transceiver according to an embodiment of the present invention.

【図2】同実施例の受信部及びコントローラ部の回路ブ
ロック図
FIG. 2 is a circuit block diagram of a receiving unit and a controller unit of the embodiment.

【図3】同実施例の送信コードの説明図FIG. 3 is an explanatory diagram of a transmission code according to the embodiment.

【図4】同実施例の信号受信からの動作フロー図FIG. 4 is an operation flow chart from signal reception in the same embodiment.

【図5】従来の送受信装置の回路ブロック図FIG. 5 is a circuit block diagram of a conventional transceiver device.

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

31 スイッチ 32 OTPマイコン 45 出力波形整形回路 49 IDコード収納メモリ 50 IDコード比較器 51 変数コード比較器 52 変数コードメモリ 53 制御部 31 switch 32 OTP microcomputer 45 output waveform shaping circuit 49 ID code storage memory 50 ID code comparator 51 variable code comparator 52 variable code memory 53 control unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 情報を送信する送信機と、前記送信機か
らの情報を受信する受信機とで構成された送受信装置に
おいて、前記送信機に、少なくとも、利用者によって操
作される操作部と、前記送信機を識別するための固定コ
ードと前記操作部の操作回数に対応した変数コードとに
基づく送信データを形成して、この送信データを送信す
る送信手段とを備え、前記受信機に、前記送信機から送
信された前記送信データを受信する受信部と、前記受信
部からの出力データを解読するデータ解読部と、前記解
読部で解読された変数コードを受信毎に記憶する変数コ
ード記憶部と、あらかじめ固定コードを記憶しておく固
定コード記憶部と、前記固定コードおよび変数コードを
それぞれ比較する比較器と、前記比較器による比較結果
が、固定コードが同じでかつ最新の変数コードが前回に
受信した変数コードよりある所定の範囲にある時のみ受
信制御を行ない、固定コードは一致しているが変数コー
ドが異なった時には、送信機側の所定の操作に基づい
て、受信機内の変数コードを送信機側から送信されてき
た最新の変数コードに更新する制御部とを備えた送受信
装置。
1. A transmission / reception device comprising a transmitter for transmitting information and a receiver for receiving information from the transmitter, wherein the transmitter includes at least an operation unit operated by a user. The receiver is provided with a transmitting unit that forms transmission data based on a fixed code for identifying the transmitter and a variable code corresponding to the number of operations of the operation unit, and transmits the transmission data. A receiving unit that receives the transmission data transmitted from the transmitter, a data decoding unit that decodes the output data from the receiving unit, and a variable code storage unit that stores the variable code decoded by the decoding unit for each reception. A fixed code storage unit that stores a fixed code in advance, a comparator that compares the fixed code and the variable code with each other, and a comparison result by the comparator that the fixed code is the same. Receive control is performed only when the same and latest variable code is within a certain range from the previously received variable code, and when the fixed code matches but the variable code is different, the specified operation on the transmitter side is performed. And a control unit for updating the variable code in the receiver to the latest variable code transmitted from the transmitter side based on the above.
JP5025795A 1995-03-10 1995-03-10 Transmitter-receiver Pending JPH08251674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5025795A JPH08251674A (en) 1995-03-10 1995-03-10 Transmitter-receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5025795A JPH08251674A (en) 1995-03-10 1995-03-10 Transmitter-receiver

Publications (1)

Publication Number Publication Date
JPH08251674A true JPH08251674A (en) 1996-09-27

Family

ID=12853935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5025795A Pending JPH08251674A (en) 1995-03-10 1995-03-10 Transmitter-receiver

Country Status (1)

Country Link
JP (1) JPH08251674A (en)

Similar Documents

Publication Publication Date Title
JP2784309B2 (en) Remote control security system
US7623663B2 (en) Rolling code security system
JP3119823B2 (en) Communication device
US5661804A (en) Trainable transceiver capable of learning variable codes
US8194856B2 (en) Rolling code security system
US7492905B2 (en) Rolling code security system
US6690796B1 (en) Rolling code security system
EP0923663B1 (en) Garage door opening system
US6225889B1 (en) Method of producing rolling code and keyless entry apparatus using the same
EP0688929B1 (en) Secure self-learning
JPH08251674A (en) Transmitter-receiver
JP3503308B2 (en) Transceiver
JP3197411B2 (en) Vehicle remote control device
JP3414575B2 (en) Signal matching method
JPH10313490A (en) Receiver
KR100190398B1 (en) Auto-convert method of remote-key id of a car
JPH0821135A (en) Wireless door lock device
JPH07107576A (en) Keyless entry system device
JPH10271574A (en) Transmitter and its control method