JP2768975B2 - Remote control device - Google Patents

Remote control device

Info

Publication number
JP2768975B2
JP2768975B2 JP1107778A JP10777889A JP2768975B2 JP 2768975 B2 JP2768975 B2 JP 2768975B2 JP 1107778 A JP1107778 A JP 1107778A JP 10777889 A JP10777889 A JP 10777889A JP 2768975 B2 JP2768975 B2 JP 2768975B2
Authority
JP
Japan
Prior art keywords
code
timer
timer code
unique
unique code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP1107778A
Other languages
Japanese (ja)
Other versions
JPH02288593A (en
Inventor
俊策 堤
悟 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alpha Corp
Original Assignee
Alpha Corp
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 Alpha Corp filed Critical Alpha Corp
Priority to JP1107778A priority Critical patent/JP2768975B2/en
Publication of JPH02288593A publication Critical patent/JPH02288593A/en
Application granted granted Critical
Publication of JP2768975B2 publication Critical patent/JP2768975B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 産業上の利用分野 この発明は、遠隔操作装置、特に経時変化するタイマ
コードを含む赤外線等の電磁波を使用して被制御装置を
確実に操作できる遠隔操作装置に関連する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a remote control device, and more particularly to a remote control device capable of reliably operating a controlled device using electromagnetic waves such as infrared rays including a time-varying timer code. .

従来の技術 例えば、特公昭63−11509号公報に示されるように、
所定のコード番号を含む赤外線を使用してロック装置を
解錠する遠隔操作装置は公知である。この遠隔操作装置
は、手動操作されるスイッチを含む発信装置と、スイッ
チを押圧したときに発信装置から発射される赤外線を受
信して赤外線中に含まれる所定のコード番号を検出した
ときにロック装置に動作信号を供給する受信装置とを有
する。赤外線を使用する遠隔操作装置では、発信装置か
ら発信された所定のコード番号を含む赤外線が受信装置
で受信され、受信装置内に記憶されたコード番号と一致
したときに、ロック装置を解錠する解錠信号が発生す
る。この遠隔操作装置は受光装置のセンサ部に対し約1m
以上離れた位置から赤外線を発射してロック装置を解錠
することができるため、発信装置のスイッチ押圧による
解錠操作の簡易化と迅速化を図れる利点がある。
2. Description of the Related Art For example, as shown in JP-B-63-11509,
Remote control devices for unlocking a lock device using infrared light containing a predetermined code number are known. The remote control device includes a transmitting device including a switch that is manually operated, and a locking device that receives an infrared ray emitted from the transmitting device when the switch is pressed and detects a predetermined code number included in the infrared ray. And a receiving device that supplies an operation signal to the receiving device. In a remote control device that uses infrared rays, when a receiving device receives infrared rays including a predetermined code number transmitted from a transmitting device and matches the code number stored in the receiving device, the locking device is unlocked. An unlock signal is generated. This remote control device is about 1 m from the sensor of the light receiving device.
Since the locking device can be unlocked by emitting infrared rays from the remote position, there is an advantage that the unlocking operation by pressing the switch of the transmitting device can be simplified and speeded up.

特定のコードを含む赤外線を使用して電子機器の操作
を制御する遠隔操作技術は種々の分野で使用されてい
る。例えば、テレビジョンのチャンネル変更にはチャン
ネル毎に異なるコードを含む赤外線が発信装置から発射
されるが、これらのコードは固定された不変のコード信
号である。
2. Description of the Related Art Remote control technology for controlling operation of electronic devices using infrared rays including a specific code has been used in various fields. For example, when a television channel is changed, infrared rays including a code different for each channel are emitted from the transmitting device, and these codes are fixed invariable code signals.

発明が解決しようとする課題 また、発信した赤外線信号を記憶して同一のコードを
含む赤外線信号を発生するプログラマブルリモートコト
ローラが市販されている。このプログラマブルリモート
コントローラの受信装置と赤外線発信器の発光装置とを
接近させて配置し、両者の電源スイッチを同時に一定時
間オンにすると、赤外線発信器から送信された赤外線コ
ード信号はプログラマブルリモートコントローラ内のメ
モリに記憶される。次に、プログラマブルリモートコン
トローラのスイッチを操作して、メモリの内容を所望の
スイッチで読出されるメモリ位置に切り換えることがで
きる。その後、所望のスイッチを操作すると、プログラ
マブルリモートコントローラの発信装置から赤外線発信
器から送信された赤外線コード信号と同一の信号を発生
させることができる。
Problems to be Solved by the Invention In addition, a programmable remote controller that stores an emitted infrared signal and generates an infrared signal including the same code is commercially available. When the receiving device of this programmable remote controller and the light emitting device of the infrared transmitter are arranged close to each other and the power switches of both are turned on simultaneously for a certain period of time, the infrared code signal transmitted from the infrared transmitter will be Stored in memory. Next, by operating a switch of the programmable remote controller, the contents of the memory can be switched to a memory position to be read by a desired switch. Thereafter, when a desired switch is operated, the same signal as the infrared code signal transmitted from the infrared transmitter from the transmitter of the programmable remote controller can be generated.

従って、従来の遠隔操作装置では、発信装置から受信
装置に向かって一方向に送信された赤外線に含まれるコ
ード番号が受信装置内に記憶されたコード番号と一致し
たときにロック装置を解錠する解錠信号が発生する。発
信装置から送信される赤外線信号をプログラマブルリモ
ートコントローラのメモリに記憶させることができ、そ
の後、プログラマブルリモートコントローラのスイッチ
を操作すると、同一の赤外線信号が発生するため、適宜
ロック装置を解錠することができる。このため、プログ
ラマブルリモートコントローラが存在する限り、赤外線
信号で解錠するロック装置の不正解錠防止効果又は盗難
防止効果は減殺される。
Therefore, in the conventional remote control device, the lock device is unlocked when the code number included in the infrared light transmitted in one direction from the transmission device to the reception device matches the code number stored in the reception device. An unlock signal is generated. The infrared signal transmitted from the transmitting device can be stored in the memory of the programmable remote controller. After that, when the switch of the programmable remote controller is operated, the same infrared signal is generated. it can. For this reason, as long as the programmable remote controller exists, the unauthorized unlocking or theft prevention effect of the lock device unlocked by the infrared signal is reduced.

そこで、この発明は、上記の欠点を解消して変化する
コード符号を含む電磁波を使用する遠隔操作装置を提供
することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a remote control device using an electromagnetic wave including a changing code code while solving the above-mentioned drawbacks.

課題を解決するための手段 この発明による遠隔操作装置は、第一の固有コード及
び時間の経過と共に変化する第一のタイマコードを含む
電磁波を発生する送信装置(1)と、送信装置(1)か
ら発生する電磁波を受信する受信器(50)を有しかつ被
制御装置(80)に接続された受信装置(43)とを備えて
いる。受信装置(43)は第二の固有コードを記憶する固
有コード記憶手段(68、105)と、時間の経過と共に変
化する第二のタイマコードを発生するタイマコード発生
手段(99、111)と、受信器(50)で受信した第一の固
有コードと固有コード記憶手段(68、105)内に記憶さ
れた第二の固有コードとを比較すると共に、受信器(5
0)で受信した第一のタイマコードとタイマコード発生
手段(99、111)で発生する第二のタイマコードとを比
較し、第一の固有コードと第二の固有コードとが一致し
かつ第一のタイマコードと第二のタイマコードとが同期
しているときに被制御装置(80)に操作信号を出力する
比較手段(92、94、104、110)とを有する。受信装置
(43)は、第一の固有コードと第二の固有コードとが一
致しかつ第一のタイマコードと第二のタイマコードとを
比較して一致しないときに、第一のタイマコードによっ
て表わされる値にリセットされかつその後時間の経過と
共に計数値を変化するカウンタ(109)と、カウンタ(1
09)の計数値として表示される次の第二のタイマコード
と次の第一のタイマコードとを比較して、これらが同期
しているときに被制御装置(80)に操作信号を出力する
タイマコード比較手段(110、112)を備えている。
Means for Solving the Problems A remote control device according to the present invention includes a transmitting device (1) for generating an electromagnetic wave including a first unique code and a first timer code that changes with time, and a transmitting device (1). And a receiving device (43) connected to the controlled device (80). A receiving device (43) for storing a unique code storing means (68, 105) for storing a second unique code; a timer code generating means (99, 111) for generating a second timer code that changes with time; The first unique code received by the receiver (50) is compared with the second unique code stored in the unique code storage means (68, 105), and the receiver (5)
0) and the second timer code generated by the timer code generation means (99, 111) are compared, and if the first unique code matches the second unique code and A comparison means (92, 94, 104, 110) for outputting an operation signal to the controlled device (80) when the one timer code and the second timer code are synchronized. When the first unique code and the second unique code match and the first timer code and the second timer code do not match, the receiving device (43) A counter (109) that is reset to the value represented and thereafter changes the count value over time;
The next second timer code displayed as the count value of 09) is compared with the next first timer code, and an operation signal is output to the controlled device (80) when they are synchronized. Timer code comparing means (110, 112) is provided.

この発明の多の実施例では、受信装置(43)は、第一
の固有コードと第二の固有コードとが一致しかつ第一の
タイマコードと第二のタイマコードとを比較して一致し
ないときに、第一のタイマコード及び第一のタイマコー
ドを受信した時点の第二のタイマコードを記憶するタイ
マコード記憶手段(103)と、最初の第一のタイマコー
ドと次の第一のタイマコードとを比較して第一のタイマ
コード差を演算すると共に、最初の第一のタイマコード
を受信した時点の第二のタイマコードと次の第一のタイ
マコードを受信した時点の第二のタイマコードとを比較
して第二のタイマコード差を演算し、第一のタイマコー
ド差と第二のタイマコード差が同期するときに、被制御
装置(80)に操作信号を出力するタイマコード比較手段
(94)を備えている。
In many embodiments of the present invention, the receiving device (43) compares the first unique code with the second unique code and does not match the first timer code with the second timer code. A timer code storage means (103) for storing a first timer code and a second timer code at the time when the first timer code is received; a first first timer code and a next first timer The first timer code difference is calculated by comparing the first timer code with the second timer code at the time when the first first timer code is received and the second timer code at the time when the next first timer code is received. A timer code for calculating a second timer code difference by comparing the timer code with the timer code and outputting an operation signal to the controlled device (80) when the first timer code difference and the second timer code difference are synchronized. A comparison means (94) is provided.

タイマコード比較手段(110、112)は2つのタイマコ
ードを減算する減算手段(110)と、減算手段(110)で
減算された値が所定の誤差範囲内か否か判断し、所定の
誤差範囲内のとき被制御装置(80)に操作信号を出力す
る誤差比較手段(112)とを有する。
Timer code comparing means (110, 112) subtracts two timer codes from each other, and determines whether the value subtracted by the subtracting means (110) is within a predetermined error range. And an error comparing means (112) for outputting an operation signal to the controlled device (80) when it is within the range.

本明細書で使用する用語「タイマコード」は経時的に
変化する電気的な符号として表わされる全てのコード信
号をいう。例えば、「タイマコード」として年度、月、
日、時間、秒等を表わす電気的な符号コードを使用する
ことができる。また、これらの絶対的な日時には無関係
に、第一のタイマコードと第二のタイマコードとを同期
して累進させるクロック信号を使用することができる。
As used herein, the term “timer code” refers to all code signals represented as electrical codes that change over time. For example, the year, month,
Electrical code codes representing days, hours, seconds, etc. can be used. Further, regardless of these absolute dates and times, it is possible to use a clock signal for synchronizing and progressing the first timer code and the second timer code.

作用 送信装置(1)が第一の固有コード及び時間の経過と
共に変化する第一のタイマコードを含む電磁波を発生す
ると、受信装置(43)の受信器(50)は送信装置(1)
から発生する電磁波を受信する。受信装置(43)の比較
手段(92、94、104、110)は、受信器(50)で受信した
第一の固有コードと固有コード記憶手段(68、105)内
に記憶された第二の固有コードとを比較すると共に、受
信器(50)で受信した第一のタイマコードとタイマコー
ド発生手段(99、111)で発生する第二のタイマコード
とを比較する。比較手段(92、94、104、110)は、第一
の固有コードと第二の固有コードとが一致しかつ第一の
タイマコードと第二のタイマコードとが同期していると
きに被制御装置(80)に操作信号を出力する。
When the transmitting device (1) generates an electromagnetic wave including the first unique code and the first timer code that changes over time, the receiver (50) of the receiving device (43) causes the transmitting device (1) to generate an electromagnetic wave.
Receives electromagnetic waves generated from. The comparing means (92, 94, 104, 110) of the receiving device (43) stores the first unique code received by the receiver (50) and the second unique code stored in the unique code storing means (68, 105). The first timer code received by the receiver (50) and the second timer code generated by the timer code generation means (99, 111) are compared with the unique code. The comparing means (92, 94, 104, 110) are controlled when the first unique code and the second unique code match and the first timer code and the second timer code are synchronized. An operation signal is output to the device (80).

第一の固有コードと第二の固有コードとが一致しかつ
第一のタイマコードと第二のタイマコードとを比較して
一致しないときに、カウンタ(109)は、第一のタイマ
コードによって表わされる値にリセットされかつその後
時間の経過と共に計数値を変化させ、タイマコード比較
手段(110、112)はカウンタ(109)の計数値として表
示される次の第二のタイマコードと次の第一のタイマコ
ードとを比較して、これらが同期しているときに被制御
装置(80)に操作信号を出力する。
When the first unique code and the second unique code match and the first timer code does not match the second timer code, the counter (109) is represented by the first timer code. The timer code comparison means (110, 112) resets the count value with the passage of time and the next second timer code displayed as the count value of the counter (109) and the next first timer code. And outputs an operation signal to the controlled device (80) when they are synchronized.

この発明の他の実施例では、第一の固有コードと第二
の固有コードとが一致しかつ第一のタイマコードと第二
のタイマコードとを比較して一致しないときに、タイマ
コード記憶手段(103)は、第一のタイマコード及び第
一のタイマコードを受信した時点の第二のタイマコード
を記憶する。タイマコード比較手段(94)は、最初の第
一のタイマコードと次の第一のタイマコードとを比較し
て第一のタイマコード差を演算すると共に、最初の第一
のタイマコードを受信した時点の第二のタイマコードと
次の第一のタイマコードを受信した時点の第二のタイマ
コードとを比較して第二のタイマコード差を演算し、第
一のタイマコード差と第二のタイマコード差が同期する
ときに、被制御装置(80)に操作信号を出力する。
In another embodiment of the present invention, when the first unique code and the second unique code match and the first timer code and the second timer code are compared and do not match, the timer code storage means (103) stores the first timer code and the second timer code when the first timer code is received. The timer code comparing means (94) calculates the first timer code difference by comparing the first first timer code with the next first timer code, and receives the first first timer code. Comparing the second timer code at the time and the second timer code at the time of receiving the next first timer code to calculate a second timer code difference, the first timer code difference and the second When the timer code difference is synchronized, an operation signal is output to the controlled device (80).

前記の構成において、タイマコード比較手段(110、1
12)の減算手段(110)は2つのタイマコードを減算
し、誤差比較手段(112)は、減算手段(110)で減算さ
れた値が所定の誤差範囲内か否か判断し、所定の誤差範
囲内のとき被制御装置(80)に操作信号を出力する。
In the above configuration, the timer code comparing means (110, 1
The subtraction means (110) of 12) subtracts the two timer codes, and the error comparison means (112) determines whether the value subtracted by the subtraction means (110) is within a predetermined error range, and An operation signal is output to the controlled device (80) when it is within the range.

実 施 例 以下、この発明による遠隔操作装置の実施例を第1図
〜第6図について説明する。
Embodiment Hereinafter, an embodiment of a remote control device according to the present invention will be described with reference to FIGS.

第1図は送信装置1の電気回路図を示す。送信装置1
は、ワンチップマイクロコンピュータ(CPU)からなる
送信手段としての送信制御回路10と、送信制御回路10に
接続されかつ第一の固有コードを記憶する固有コード記
憶手段としてのROM(Read Only Memory)26と、コンデ
ンサ11を介して送信制御回路10の入力ポートI1に接続さ
れた一端を有するスイッチング素子としてのスイッチ12
と、スイッチ12の他端とグランドとの間に並列に接続さ
れた電源13及び平滑用コンデンサ14と、スイッチ12の一
端とグランドとの間に接続されたチャタリング防止用コ
ンデンサ15と、コンデンサ11の一端とグランドとの間に
並列に接続されたパルス成形用抵抗16及びダイオード17
と、抵抗18を介して送信制御回路10の出力ポートO1に接
続されたベース及びROM26に接続されたエミッタを有す
るトランジスタ19と、トランジスタ19のコレクタとグラ
ンドとの間に直列に接続された送信器としての赤外線発
光用ダイオード20及び抵抗21と、送信制御回路10の出力
ポートO2とROM26との間に直列に接続された抵抗22及び
発光ダイオード23と、コンデンサ11の他端とグランドと
の間に接続された抵抗24と、送信制御回路10の入力ポー
トI2及びI3に接続された発振用抵抗25とを有する。コン
デンサ11と抵抗16は送信制御回路10にトリガ信号を付与
するトリガ回路を構成する。送信制御回路10、トランジ
スタ19及び赤外線発光ダイオード20は送信器を構成す
る。コンデンサ11はROM26に接続され、スイッチ12の他
端は送信制御回路10の出力ポートO3に接続される。ま
た、送信制御回路10の入力ポートI7にはクロックパルス
を発生するパルス発生手段としてのパルス発生回路27が
接続される。パルス発生回路27は水晶等の圧電振動子又
は他の高周波発振回路から発生したクロックパルスを分
周し又は分周せずに送信制御回路10にクロックパルスを
付与する。
FIG. 1 shows an electric circuit diagram of the transmission device 1. Transmission device 1
Is a transmission control circuit 10 as a transmission means composed of a one-chip microcomputer (CPU), and a ROM (Read Only Memory) 26 connected to the transmission control circuit 10 and serving as a unique code storage means for storing a first unique code. When the switch 12 as a switching element having one end connected to the input port I 1 of the transmission control circuit 10 via the capacitor 11
A power supply 13 and a smoothing capacitor 14 connected in parallel between the other end of the switch 12 and the ground; a chattering preventing capacitor 15 connected between one end of the switch 12 and the ground; Pulse shaping resistor 16 and diode 17 connected in parallel between one end and ground
When a transistor 19 having a base and emitter connected to ROM26 connected to the output port O 1 of the transmission control circuit 10 via a resistor 18, connected in series between the collector of the transistor 19 and the ground transmission an infrared light emitting diode 20 and the resistor 21 as a vessel, a resistor 22 and light emitting diode 23 connected in series between the output port O 2 and ROM26 transmission control circuit 10, the other end and the ground of the capacitor 11 with the connected resistors 24, and an input port I 2 and an oscillation resistor 25 connected to the I 3 of the transmission control circuit 10 during. The capacitor 11 and the resistor 16 constitute a trigger circuit that applies a trigger signal to the transmission control circuit 10. The transmission control circuit 10, the transistor 19 and the infrared light emitting diode 20 constitute a transmitter. Capacitor 11 is connected to the ROM 26, the other end of the switch 12 is connected to the output port O 3 of the transmission control circuit 10. The pulse generating circuit 27 as a pulse generating means for generating a clock pulse is connected to the input port I 7 of the transmission control circuit 10. The pulse generation circuit 27 divides a clock pulse generated from a piezoelectric vibrator such as a crystal or another high-frequency oscillation circuit or applies a clock pulse to the transmission control circuit 10 without dividing the frequency.

第2図に示すように、送信制御回路10は入力ポートI1
に接続されたR/Sフリップフロップ30と、R/Sフリップフ
ロップ30のQ端子及びパルス発生器32に接続されたアン
ドゲート31と、アンドゲート31の出力端子に接続された
アドレスカウンタ33と、ROM26内に記憶された第一の固
有コードを読出してアドレスカウンタ33のアドレス信号
を受信したときに、各アドレス信号に対応する高レベル
又は低レベルの出力を出力ポートO1に生ずるRAM(Rando
m Access Memory)34と、パルス発生回路27に接続され
たパルス発生器32の出力を受信して第一のタイマコード
としての時刻信号を発生する第一のタイマコード発生手
段としての分周器35と、アドレスカウンタ33の最終のア
ドレス信号によりRAM34がリセット信号を発生したとき
にパルスを生ずるワンショットマルチバイブレータ37
と、ワンショットマルチバイブレータ37と出力ポートO2
との間に設けられたインバータ39と、ワンショットマル
チバイブレータ37の出力を受けたときに、分周器35の第
一のタイマコードを記憶するラッチ36とラッチ36で記憶
されたBCD信号による第一のタイマコードを出力ポートO
1に送出するパルス化回路38とを有する。RAM34は第一の
固有コードを読み出して出力を発生する固有コード読出
手段である。
As shown in FIG. 2, the transmission control circuit 10 has an input port I 1
An R / S flip-flop 30 connected to the AND gate 31, an AND gate 31 connected to the Q terminal of the R / S flip-flop 30 and the pulse generator 32, and an address counter 33 connected to the output terminal of the AND gate 31, a first unique code stored in the ROM26 reads when receiving the address signal of the address counter 33, a high-level or low-level RAM occurring at the output port O 1 the output corresponding to each address signal (Rando
m Access Memory) 34 and a frequency divider 35 as first timer code generation means for receiving an output of the pulse generator 32 connected to the pulse generation circuit 27 and generating a time signal as a first timer code. And a one-shot multivibrator 37 that generates a pulse when the RAM 34 generates a reset signal by the last address signal of the address counter 33.
And one-shot multivibrator 37 and output port O 2
And an inverter 39 provided between the first and second ones, and upon receiving an output of the one-shot multivibrator 37, a latch 36 for storing a first timer code of the frequency divider 35 and a second BCD signal stored in the latch 36. One timer code output port O
And a pulsing circuit 38 for sending the signal to the pulsating circuit 38. The RAM 34 is a unique code reading means for reading the first unique code and generating an output.

上記の構成において、スイッチ12を手動によりオンす
ると、コンデンサ11と抵抗16を介してトリガ信号が入力
ポートI1に印加される。このため、送信制御回路10のR/
Sフリップフロップ30はセットされ、アンドゲート31は
パルス発生器32のパルスをアドレスカウンタ33に送出す
る。アドレスカウンタ33のアドレス信号によってRAM34
はROM26に記憶された第一の固有コードを読出して、パ
ルス発生回路27から発生するパルスに同期して高レベル
又は低レベルの出力を出力ポートO1に生ずる。従って、
トランジスタ19がオンとオフを反復してダイオード20か
ら所定のコードを含む赤外線信号である電磁波が送信さ
れる。即ち、送信装置1はトリガ信号を受信した時点か
ら受信するクロックパルスをアドレス信号として計数
し、各アドレス信号に対応するタイミングで高レベル又
は低レベルの出力を決定して固有コード符号を形成して
電磁波により送信する。また、送信装置1は時間を表示
するタイマコードと固有コード符号と複合化(ミキシン
グ)して送信する。
In the above configuration, when turning on the switch 12 manually, the trigger signal is applied to the input port I 1 via a capacitor 11 and a resistor 16. For this reason, R /
The S flip-flop 30 is set, and the AND gate 31 sends the pulse of the pulse generator 32 to the address counter 33. RAM 34 is controlled by the address signal of address counter 33.
The reads the first unique code stored in the ROM 26, resulting in synchronization with a pulse generated from the pulse generating circuit 27 outputs a high level or low level to the output port O 1. Therefore,
When the transistor 19 is repeatedly turned on and off, the diode 20 transmits an electromagnetic wave that is an infrared signal including a predetermined code. That is, the transmitting device 1 counts clock pulses received from the time of receiving the trigger signal as address signals, determines a high-level or low-level output at a timing corresponding to each address signal, and forms a unique code code. Transmit by electromagnetic waves. Further, the transmission device 1 combines (mixes) the timer code indicating the time with the unique code code and transmits the result.

アドレスカウンタ33が最後のアドレス信号を発生する
と、RAM34はR/Sフリップフロップ30にリセット信号を与
えると共に、アドレスカウンタ33にクリア信号を与え
る。また、ワンショットマルチバイブレータ37の出力に
よりラッチ36は分周器35の第一のタイマコードを記憶
し、ラッチ36で記憶されたBCD信号による第一のタイマ
コードは第一の固有コードに続いてパルス化回路38を通
じて出力ポートO1に送出される。従って、トランジスタ
がオンとオフを反復してダイオード20からタイマコード
を含む赤外線信号が送信される。ダイオード20からの赤
外線は1回又は複数回反復して出力される。同時に、ワ
ンショットマルチバイブレータ37の出力により発光ダイ
オード23が短時間点灯する。
When the address counter 33 generates the last address signal, the RAM 34 provides a reset signal to the R / S flip-flop 30 and a clear signal to the address counter 33. In addition, the latch 36 stores the first timer code of the frequency divider 35 by the output of the one-shot multivibrator 37, and the first timer code based on the BCD signal stored in the latch 36 follows the first unique code. It is sent to the output port O 1 through pulsing circuit 38. Therefore, an infrared signal including a timer code is transmitted from the diode 20 by repeatedly turning on and off the transistor. The infrared light from the diode 20 is output once or repeatedly. At the same time, the output of the one-shot multivibrator 37 turns on the light-emitting diode 23 for a short time.

第一の固有コードは送信装置1から照射された信号が
赤外線信号を受信する受信装置43が対応した第二の固有
コードを有するか否かを判断するために使用される。ま
た、この種の固有コードは各送信装置固有の番号が使用
される。例えば、コード番号は1,000,000〜2,000,000の
桁の信号を表示し、固有コードとタイムコードのパルス
コード化は種々の方法がある。例えば、赤外線のオンと
オフの最初にタイムコード固定番号を表示してもよい。
別法として、固有コードの各桁間毎にタイムコードを挿
入して、赤外線信号として表示することも可能である。
The first unique code is used to determine whether the signal emitted from the transmitting device 1 has a corresponding second unique code for the receiving device 43 that receives the infrared signal. Further, as this kind of unique code, a number unique to each transmitting device is used. For example, the code number indicates a signal of 1,000,000 to 2,000,000 digits, and there are various methods of pulse coding the unique code and the time code. For example, a fixed time code number may be displayed at the beginning of turning on and off infrared rays.
Alternatively, a time code can be inserted between each digit of the unique code and displayed as an infrared signal.

第3図は受信装置43の回路図を示す。受信装置43は、
センサ回路40と、センサ回路40からの信号を受信する受
信制御回路41と、受信制御回路41の出力により作動され
るロック制御回路42とを有する。センサ回路40は受信器
としての赤外線受光回路50と、赤外線受光回路50で受信
した信号を増幅して受信制御回路41に供給する増幅回路
51を有する。赤外線受光回路50はワンチップで構成され
る。増幅回路51は2つのトランジスタ52と53とを有す
る。センサ回路40の正側ライン54は受信制御回路41の出
力ポートO1に接続され、センサ回路40の負側ライン55は
接地される。正側ライン54と負側ライン55には平滑用の
コンデンサ56と57が並列に接続される。また、正側ライ
ン54は表示用発光ダイオード58及び抵抗59を介して受信
制御回路41の出力ポートO2に接続される。
FIG. 3 is a circuit diagram of the receiving device 43. The receiving device 43
It has a sensor circuit 40, a reception control circuit 41 for receiving a signal from the sensor circuit 40, and a lock control circuit 42 activated by an output of the reception control circuit 41. The sensor circuit 40 includes an infrared light receiving circuit 50 as a receiver, and an amplification circuit that amplifies a signal received by the infrared light receiving circuit 50 and supplies the amplified signal to the reception control circuit 41.
Has 51. The infrared light receiving circuit 50 is formed by one chip. The amplifier circuit 51 has two transistors 52 and 53. Positive line 54 of the sensor circuit 40 is connected to the output port O 1 of the reception control circuit 41, negative line 55 of the sensor circuit 40 is grounded. Smoothing capacitors 56 and 57 are connected in parallel to the positive line 54 and the negative line 55. Also, the positive line 54 is connected to the output port O 2 of the reception control circuit 41 through the display light-emitting diode 58 and a resistor 59.

トランジスタ52のエミッタは正側ライン54、ベースは
受光回路50及びコレクタはトランジスタ53のベースに接
続される。トランジスタ53のエミッタは負側ライン及び
コレクタはダイオード60を介して受信制御回路41の入力
ポートI1に接続されると共に、ダイオード61を介してト
ランジスタ62のベースに接続される。トランジスタ62の
エミッタは電源に接続され、コレクタはリセット回路63
を介して受信制御回路41の入力ポートI7に接続される。
リセット回路63はトランジスタ62のエミッタとグランド
との間に接続された抵抗64と、トランジスタ62のエミッ
タと入力ポートI7との間に接続されたコンデンサ65と、
入力ポートI7とグランドとの間に並列に接続された抵抗
66とダイオード67とを有する。
The emitter of the transistor 52 is connected to the positive line 54, the base is connected to the light receiving circuit 50, and the collector is connected to the base of the transistor 53. The emitter of the transistor 53 is negative line and the collector is connected to the input port I 1 of the reception control circuit 41 via the diode 60, through the diode 61 is connected to the base of transistor 62. The emitter of the transistor 62 is connected to the power supply, and the collector is a reset circuit 63
It is connected to the input port I 7 of the receiving control circuit 41 via the.
Reset circuit 63 and a resistor 64 connected between the emitter and ground of the transistor 62, a capacitor 65 connected between the emitter and the input ports I 7 of the transistor 62,
Resistor connected in parallel between the input port I 7 and the ground
66 and a diode 67.

受信制御回路41はワンチップマイクロコンピュータで
構成されたCPUであり、受信制御回路41の入力ポートI2
〜I4にはROM68が接続される。ROM68は第二の固有コード
を記憶する固有コード記憶手段である。受信制御回路41
の出力ポートO3とO4にはドライバ回路としてのトランジ
スタ70と71がそれぞれ抵抗72と73を介して接続される。
トランジスタ70のコレクタはリレー74のコイル75を介し
て電源に接続され、エミッタは接地される。同様に、ト
ランジスタ17のコレクタはリレー76のコイル77を介して
電源に接続され、エミッタは接地される。リレー74と76
の各3接点のうち、接点74aと76aは電源に接続される。
接点74bと76bは接地される。接点74cと76cはロック装置
を駆動するモータ80の両端子に接続される。被制御装置
としてのモータ80には逆起電力防止用制御器81が接続さ
れる。また、受信制御回路41の入力ポートI5及びI6はロ
ック装置のロック状態及びアンロック状態を検知する状
態検出装置82に接続される。状態検出装置82は、ロック
装置のロック操作及びアンロック操作時に切り換えられ
るスイッチ90(第4図)を有する。受信制御回路41には
クロックパルスを発生するパルス発生回路83が接続され
る。
Reception control circuit 41 is a CPU composed of a one-chip microcomputer, an input of the reception control circuit 41 port I 2
The ~I 4 is connected ROM 68. The ROM 68 is a unique code storage unit that stores a second unique code. Reception control circuit 41
The output port O 3 and O 4 are transistors 70 and 71 of the driver circuit is connected through respective resistors 72 and 73.
The collector of the transistor 70 is connected to the power supply via the coil 75 of the relay 74, and the emitter is grounded. Similarly, the collector of transistor 17 is connected to the power supply via coil 77 of relay 76, and the emitter is grounded. Relays 74 and 76
Of the three contacts, contacts 74a and 76a are connected to a power supply.
Contacts 74b and 76b are grounded. Contacts 74c and 76c are connected to both terminals of a motor 80 that drives the locking device. A back electromotive force prevention controller 81 is connected to a motor 80 as a controlled device. The input port I 5 and I 6 of the receiver control circuit 41 is connected to the state detector 82 for detecting the locked state and the unlocked state of the locking device. The state detection device 82 has a switch 90 (FIG. 4) that is switched between a lock operation and an unlock operation of the lock device. The reception control circuit 41 is connected to a pulse generation circuit 83 that generates a clock pulse.

第4図に示すように、受信制御回路41は入力ポートI1
に接続された固有コード検出手段91、固有コード比較手
段92、タイマコード検出手段93及びタイマコード比較手
段94を有する。固有コード比較手段92は固有コード検出
手段91の出力を受信したときに入力ポートI1から受信し
た第一の固有コードを記憶して、ROM68に記憶された第
二の固有コードと比較して一致したとき、アンドゲート
95に出力を与える。また、タイマコード比較手段94はタ
イマコード検出手段93の出力を受信したときに、入力ポ
ートI1から受信した第一のタイマコードを記憶し、パル
ス発生回路83の出力を計数するタイマコード発生手段99
で発生した第二のタイマコードと比較する。第一のタイ
マコードと比較して一致したとき、アンドゲート95に出
力を与える。アンドゲート95の出力はアンドゲート96と
97に入力される。スイッチ90はアンドゲート96と97とに
接続される。アンドゲート96と97の出力はそれぞれ出力
ポートO3及びO4に接続される。固有コード比較手段92及
びタイマコード比較手段94は比較手段を構成する。
As shown in FIG. 4, the reception control circuit 41 has an input port I 1
, A unique code detecting means 91, a unique code comparing means 92, a timer code detecting means 93, and a timer code comparing means 94. Specific code comparing means 92 stores a first unique code received from the input port I 1 when receiving the output of the unique code detection unit 91, matched in comparison with the second unique code stored in the ROM68 When, and gate
Give output to 95. The timer code comparing means 94 upon receiving the output of the timer code detection unit 93, and stores the first timer code received from the input port I 1, the timer code generating means for counting the output of the pulse generating circuit 83 99
And compare it with the second timer code generated in. When the values match with the first timer code, an output is given to the AND gate 95. The output of AND gate 95 is
Entered in 97. Switch 90 is connected to AND gates 96 and 97. The output of the AND gate 96 and 97 is connected to the output ports O 3 and O 4, respectively. The unique code comparing means 92 and the timer code comparing means 94 constitute a comparing means.

上記の構成において、送信装置1のスイッチ12を作動
したときに赤外線発光用ダイオード20から発生する赤外
線は、赤外線受光回路50により受光される。赤外線受光
回路50により発生する信号は増幅回路51を介して受信制
御回路41の入力ポートI1に供給される。これと同時に、
増幅回路51がオンになると、トランジスタ62がオンにな
る。このため、リセット回路63を介して受信制御回路41
の入力ポートI7にトリガ信号が印加され、受信制御回路
41が起動される。そこで、受信制御回路41の固有コード
比較手段92及びタイマコード比較手段94は入力ポートI1
に供給される第一の固有コード及び第一のタイマコード
を表示する信号を記憶し、それぞれROM68内に記憶され
た第二の固有コード及びパルス発生回路83で発生した第
二のタイマコードと比較する。何れも一致したときにア
ンドゲート95が出力を生じ、スイッチ90により選択され
たアンドゲート96又は97の何れかから出力を生ずる。
In the above configuration, the infrared light generated by the infrared light emitting diode 20 when the switch 12 of the transmitting device 1 is operated is received by the infrared light receiving circuit 50. Signal generated by the infrared light receiving circuit 50 is supplied to the input port I 1 of the reception control circuit 41 through the amplifier circuit 51. At the same time,
When the amplifier circuit 51 turns on, the transistor 62 turns on. For this reason, the reception control circuit 41 via the reset circuit 63
Trigger signal is applied to the input port I 7, the reception control circuit
41 is activated. Therefore, the unique code comparison means 92 and the timer code comparison means 94 of the reception control circuit 41 are connected to the input port I 1
Stored in the ROM 68 and compared with the second unique code stored in the ROM 68 and the second timer code generated by the pulse generation circuit 83, respectively. I do. When both match, an AND gate 95 produces an output, and an output from either AND gate 96 or 97 selected by switch 90.

受信制御回路41はアンドゲート96を通じて出力ポート
O3から出力をトランジスタ70に一定時間(例えば0.5
秒)送出する。このため、トランジスタ70がオンとな
り、リレー74のコイル75が付勢され、接点74aと74cとが
接続されて、モータ80が一方向に回転し、図示しないロ
ック装置が解錠する。逆に、制御装置41は状態検出装置
82から信号を受け、送信装置1から照射された赤外線信
号を受信して、ロック装置がロック状態のとき、出力ポ
ートO4から出力を一定時間(例えば0.5秒)送出して、
トランジスタ71をオンに切り換える。このため、リレー
76が付勢され、コイル77に通電されるから、接点76aと7
6cとが接続される。このため、モータ80に逆方向の電流
が流れて、ロック装置が施錠される。
The reception control circuit 41 is an output port through the AND gate 96.
The output from O 3 is supplied to the transistor 70 for a certain period of time (for example, 0.5
Seconds). As a result, the transistor 70 is turned on, the coil 75 of the relay 74 is energized, the contacts 74a and 74c are connected, the motor 80 rotates in one direction, and the lock device (not shown) is unlocked. Conversely, the control device 41 is a state detection device.
82 receives a signal from, receives the infrared signal emitted from the transmitting apparatus 1, when the lock device is in a locked state, a predetermined time the output from the output port O 4 (e.g. 0.5 seconds) by sending,
Switch transistor 71 on. Because of this, the relay
When the coil 76 is energized and the coil 77 is energized, the contacts 76a and 7
6c is connected. Therefore, a current flows in the motor 80 in the opposite direction, and the locking device is locked.

この発明の上記実施例は変更が可能である。例えば、
受信制御回路41を第5図に示すように送信装置1の分周
器35との同期を調整することも可能である。即ち、受信
制御回路41は入力ポートI1に接続された固有コード検出
手段100、固有コード記憶手段101、タイマコード検出手
段102及びタイマコード記憶手段103を有する。固有コー
ド記憶手段101は固有コード検出手段100の出力を受信し
たときに入力ポートI1から受信した第一の固有コードを
記憶して固有コード比較手段104に送出する。固有コー
ド比較手段104は受信した第一の固有コードと固有コー
ド記憶手段105を構成するROM68に記憶された第二の固有
コードと比較して一致したとき、ワンショットマルチバ
イブレータ106に出力を与え、ワンショットマルチバイ
ブレータ106はアンドゲート95に出力を与える。また、
タイマコード記憶手段103はタイマコード検出手段102の
出力を受信したときに、入力ポートI1から受信した第一
のタイマコードを記憶する。演算回路で構成される減算
手段110はパルス発生回路83を含むクロック発生手段122
の出力を計数するタイマコード発生手段111で発生した
第二のタイマコードとタイマコード記憶手段103内に記
憶された第一のタイマコードとを減算して、減算値を誤
差比較手段112に付与する。誤差比較手段112は減算手段
110から受信した減算値と誤差記憶手段113内に記憶され
た誤差値とを比較して所定の誤差範囲内のときはアンド
ゲート107と114に出力を与える。アンドゲート107の出
力端子はワンショットマルチバイブレータ108に接続さ
れる。アンドゲート114は遅延回路123及びワンショット
マルチバイブレータ115を介してR/Sフリップフロップ11
7のセット端子に接続される。ワンショットマルチバイ
ブレータ108の出力端子は遅延回路116を介してR/Sフリ
ップフロップ117のリセット端子に接続される。R/Sフリ
ップフロップ117の端子はタイマコード発生手段111と減
算手段110との間に接続されたゲート回路121の制御端子
に接続され、R/Sフリップフロップ117のQ端子はアンド
ゲート119、ワンショットマルチバイブレータ118及びカ
ウンタ109と減算手段110との間に接続されたゲート回路
120の制御端子に接続される。ワンショットマルチバイ
ブレータ108の出力端子はアンドゲート96、97及び119に
接続される。遅延回路116は入力ポートI1に入力された
信号を受信した後、一定時間(例えば5秒)経過後に出
力を発生したR/Sフリップフロップ117をリセットする。
第5図に示す回路では、固有コード比較手段104、減算
手段110及び誤差比較手段112はこの発明ではタイマコー
ド比較手段を構成する。
The above embodiment of the present invention can be modified. For example,
It is also possible to adjust the synchronization of the reception control circuit 41 with the frequency divider 35 of the transmission device 1 as shown in FIG. That is, the reception control circuit 41 has an input port I-specific code detecting unit 100 is connected to 1, unique code storage means 101, the timer code detecting unit 102 and the timer code storage unit 103. Specific code storage means 101 sends the specific code comparing means 104 stores a first unique code received from the input port I 1 when receiving the output of the specific code detecting unit 100. The unique code comparison means 104 compares the received first unique code with the second unique code stored in the ROM 68 constituting the unique code storage means 105 and gives an output to the one-shot multivibrator 106 when they match, One shot multivibrator 106 provides an output to AND gate 95. Also,
Timer code storage means 103 upon receiving the output of the timer code detecting unit 102, and stores the first timer code received from the input port I 1. The subtraction means 110 constituted by an arithmetic circuit includes a clock generation means 122 including a pulse generation circuit 83.
The second timer code generated by the timer code generation means 111 for counting the output of the timer code is subtracted from the first timer code stored in the timer code storage means 103, and the subtracted value is given to the error comparison means 112. . Error comparison means 112 is subtraction means
The subtraction value received from 110 and the error value stored in error storage means 113 are compared, and when the error value is within a predetermined error range, outputs are given to AND gates 107 and 114. The output terminal of the AND gate 107 is connected to the one-shot multivibrator 108. The AND gate 114 is connected to the R / S flip-flop 11 via the delay circuit 123 and the one-shot multivibrator 115.
Connected to 7 set terminal. The output terminal of one-shot multivibrator 108 is connected to the reset terminal of R / S flip-flop 117 via delay circuit 116. The terminal of the R / S flip-flop 117 is connected to the control terminal of the gate circuit 121 connected between the timer code generating means 111 and the subtracting means 110, and the Q terminal of the R / S flip-flop 117 is connected to the AND gate 119, Shot multivibrator 118 and gate circuit connected between counter 109 and subtraction means 110
Connected to 120 control terminals. The output terminal of one-shot multivibrator 108 is connected to AND gates 96, 97 and 119. The delay circuit 116 is an input port after receiving the input signals to I 1, and resets the predetermined time (e.g. 5 seconds) to generate an output after a lapse of R / S flip-flop 117.
In the circuit shown in FIG. 5, the unique code comparing means 104, the subtracting means 110 and the error comparing means 112 constitute timer code comparing means in the present invention.

上記の構成において、遅延回路116の出力によりR/Sフ
リップフロップ117は通常リセット状態に保持されるた
め、R/Sフリップフロップ117のQバー端子から出力が発
生してゲート手段121を導通状態に保持する。この状態
で、受信装置43が赤外線信号を受信すると、入力ポート
I1から受信した第一の固有コードと第一のタイマコード
はそれぞれ固有コード検出手段100及びタイマコード検
出手段102により検出され、固有コード記憶手段101及び
タイマコード記憶手段103内に記憶される。固有コード
記憶手段101に記憶された固有コードは固有コード比較
手段104において固有コード記憶手段105に記憶された第
二の固有コードと比較され、これらが一致したとき、固
有コード比較手段104は出力を発生する。
In the above configuration, since the R / S flip-flop 117 is normally held in the reset state by the output of the delay circuit 116, an output is generated from the Q bar terminal of the R / S flip-flop 117 and the gate means 121 is turned on. Hold. In this state, when the receiving device 43 receives the infrared signal, the input port
The first unique code and a first timer code received from the I 1 are respectively detected by the specific code detecting unit 100 and the timer code detecting unit 102, is stored in the unique code memory means 101 and the timer code storage means 103. The unique code stored in the unique code storage means 101 is compared with the second unique code stored in the unique code storage means 105 in the unique code comparison means 104, and when they match, the unique code comparison means 104 outputs Occur.

また、タイマコード記憶手段103に記憶された第一の
タイマコードは減算手段110においてタイマコード発生
手段111の第二のタイマコードと減算され、減算値は誤
差比較手段112において誤差記憶手段113内に記憶された
誤差値と比較される。減算値が誤差値より小さいと誤差
比較手段112は出力を発生する。ワンショットマルチバ
イブレータ106及び誤差比較手段112の出力によりアンド
ゲート107は出力を発生するから、ワンショットマルチ
バイブレータ108の出力がアンドゲート96、97に付与さ
れる。
Further, the first timer code stored in the timer code storage means 103 is subtracted from the second timer code of the timer code generation means 111 in the subtraction means 110, and the subtracted value is stored in the error storage means 113 in the error comparison means 112. It is compared with the stored error value. If the subtraction value is smaller than the error value, the error comparison means 112 generates an output. The AND gate 107 generates an output based on the outputs of the one-shot multivibrator 106 and the error comparison means 112, so that the output of the one-shot multivibrator 108 is applied to the AND gates 96 and 97.

タイマコード記憶手段103に記憶された第一のタイマ
コードが減算手段110においてタイマコード発生手段111
の第二のタイマコードと減算され、減算値が誤差比較手
段112において誤差記憶手段113内に記憶された誤差値と
比較されたとき、減算値が誤差値より大きい又は等しい
とき、誤差比較手段112は出力を発生しない。このと
き、固有コード比較手段104から出力が発生すると、ア
ンドゲート114が出力を発生する。このため、遅延回路1
23及びワンショットマルチバイブレータ115を介してR/S
フリップフロップ117がセットされる。従って、R/Sフリ
ップフロップ117のQバー端子の出力が高レベルから低
レベルに切り換えられると同時に、Q端子の出力が低レ
ベルから高レベルに切り換えられる。このため、ゲート
回路121が導通状態から不導通状態に切り換えられ、ゲ
ート回路120が不導通状態から導通状態に切り換えられ
る。更に、R/Sフリップフロップ117のQ端子の出力によ
りワンショットマルチバイブレータ118が出力を生じ、
カウンタ109がタイマコード記憶手段103に記憶された第
一のタイマコードと同一の値にリセットされる。その
後、カウンタ109はリセットされた値からクロックパル
ス発生手段122の出力を計数して時間の経過と共に計数
値を累進させる。
The first timer code stored in the timer code storage unit 103 is subtracted from the timer code generation unit 111 by the subtraction unit 110.
When the subtraction value is compared with the error value stored in the error storage means 113 by the error comparison means 112, when the subtraction value is greater than or equal to the error value, the error comparison means 112 Produces no output. At this time, when an output is generated from the unique code comparison unit 104, the AND gate 114 generates an output. Therefore, delay circuit 1
R / S via 23 and one-shot multivibrator 115
The flip-flop 117 is set. Accordingly, the output of the Q terminal of the R / S flip-flop 117 is switched from the high level to the low level, and at the same time, the output of the Q terminal is switched from the low level to the high level. Therefore, gate circuit 121 is switched from the conductive state to the non-conductive state, and gate circuit 120 is switched from the non-conductive state to the conductive state. Further, the output of the Q terminal of the R / S flip-flop 117 causes an output of the one-shot multivibrator 118,
The counter 109 is reset to the same value as the first timer code stored in the timer code storage means 103. Thereafter, the counter 109 counts the output of the clock pulse generating means 122 from the reset value, and makes the count value progressive with the passage of time.

この状態で、受信装置43が次の赤外線信号を受信した
とき、その赤外線信号に含まれる第一の固有コードと第
一のタイマコードは再び固有コード記憶手段101及びタ
イマコード記憶手段103でそれぞれ記憶される。第一の
固有コードは固有コード比較手段104で固有コード記憶
手段105内に記憶された第二の固有コードと比較され、
これらが一致したとき固有コード比較手段104が出力を
発生する。
In this state, when the receiving device 43 receives the next infrared signal, the first unique code and the first timer code included in the infrared signal are stored again in the unique code storage unit 101 and the timer code storage unit 103, respectively. Is done. The first unique code is compared with the second unique code stored in the unique code storage means 105 by the unique code comparison means 104,
When they match, the unique code comparison means 104 generates an output.

また、タイマコード記憶手段103に記憶された次の第
二のタイマコードは減算手段110において第二のタイマ
コードとしてのカウンタ109の計数値と減算される。こ
の減算値は誤差比較手段112内に送られ、誤差記憶手段1
13内に記憶された誤差値と比較される。減算値が誤差値
より小さいと、誤差比較手段112は入力された第一のタ
イマコードとタイマコード発生手段121の第二のタイマ
コードとが同期していると判断して、出力を発生する。
このため、アンドゲート107が出力を発生して、ワンシ
ョットマルチバイブレータ108が出力を生ずる。更に、
ワンショットマルチバイブレータ108の出力はアンドゲ
ート119に供給され、タイマコード発生手段111をカウン
タ109の計数値にリセットさせる。また、ワンショット
マルチバイブレータ108の出力は遅延回路116を介してR/
Sフリップフロップ117をリセットさせる。受信装置43で
受信されタイマコード記憶手段103で記憶された次の第
一のタイマコードがカウンタ109で計数した第二のタイ
マコードを表す計数値と同期しないときは、前記と同様
に、アンドゲート114から出力が発生するから、その後
の減算のため、カウンタ109はタイマコード記憶手段103
に記憶された次の第一のタイマコード値にリセットされ
る。
Further, the next second timer code stored in the timer code storage unit 103 is subtracted by the subtraction unit 110 from the count value of the counter 109 as the second timer code. This subtraction value is sent to the error comparison means 112, and the error storage means 1
It is compared with the error value stored in 13. If the subtraction value is smaller than the error value, the error comparison means 112 determines that the input first timer code and the second timer code of the timer code generation means 121 are synchronized, and generates an output.
Therefore, the AND gate 107 generates an output, and the one-shot multivibrator 108 generates an output. Furthermore,
The output of the one-shot multivibrator 108 is supplied to an AND gate 119, which resets the timer code generator 111 to the count value of the counter 109. The output of the one-shot multivibrator 108 is supplied to the R /
The S flip-flop 117 is reset. When the next first timer code received by the receiving device 43 and stored in the timer code storage means 103 is not synchronized with the count value representing the second timer code counted by the counter 109, an AND gate Since an output is generated from the counter 114, the counter 109 stores the timer code storage means 103 for subsequent subtraction.
Is reset to the next first timer code value stored in.

第3図に示す受信制御回路41はマイクロコンピュータ
のプログラムにより動作させることが可能である。第6
図は受信制御回路41の動作シーケンスを示すフローチャ
ートである。
The reception control circuit 41 shown in FIG. 3 can be operated by a program of a microcomputer. Sixth
FIG. 9 is a flowchart showing an operation sequence of the reception control circuit 41.

まず、ステップ120において受信制御回路41は赤外線
受光回路50で赤外線信号を受信したか否か判断する。赤
外線信号を受信すると、ステップ121に進み、受信した
第一の固有コードと第一のタイマコードとを記憶する。
その後、ステップ122において受信した第一の固有コー
ドとROM68に記憶された第二の固有コードとを比較し
て、一致するとステップ124に進み、一致しないとステ
ップ120に戻る。
First, in step 120, the reception control circuit 41 determines whether or not the infrared light receiving circuit 50 has received an infrared signal. Upon receiving the infrared signal, the process proceeds to step 121, where the received first unique code and first timer code are stored.
Thereafter, the first unique code received in step 122 is compared with the second unique code stored in the ROM 68. If they match, the process proceeds to step 124, and if they do not match, the process returns to step 120.

ステップ123では受信した第一のタイマコードとパル
ス発生回路27に基づく第二のタイマコードとの時間差を
測定し、ステップ124において時間誤差が許容範囲内の
ときにステップ128へ進み、モータ(被制御装置)80へ
の操作信号を発生する。ステップ124において時間差が
許容範囲内でないときステップ125に進み、受信した前
のタイマコードが記憶されているか否か判断する。受信
した前の第一のタイマコードが記憶されていないとき、
その第一のタイマコードを記憶し(ステップ129)て、
スタートに戻る。
In step 123, the time difference between the received first timer code and the second timer code based on the pulse generation circuit 27 is measured. If the time error is within the allowable range in step 124, the process proceeds to step 128, where the motor (controlled Device) to generate an operation signal to 80. When the time difference is not within the allowable range in step 124, the process proceeds to step 125, and it is determined whether or not the previous timer code is stored. When the first timer code before receiving is not stored,
The first timer code is stored (step 129),
Return to start.

ステップ125において前の第一のタイマコードが記憶
されているときはステップ126に進み、次の第一のタイ
マコードが第二のタイマコードに同期しているか否か判
断する。同期していないとき、ステップ129において次
の第一のタイマコードを記憶してスタートに戻る。ステ
ップ126において次の第一のタイマコードが第二のタイ
マコードに同期しているときはステップ127において第
二のタイマコードを次の第一のタイマコードに切替えて
ステップ128に進み、被制御装置への操作信号を発生す
る。
If the previous first timer code is stored in step 125, the process proceeds to step 126, and it is determined whether the next first timer code is synchronized with the second timer code. If not synchronized, the next first timer code is stored in step 129 and the process returns to the start. When the next first timer code is synchronized with the second timer code in step 126, the second timer code is switched to the next first timer code in step 127, and the process proceeds to step 128, where the controlled device To generate an operation signal.

この発明の上記実施例は変更が可能である。例えば、
赤外線を使用して送信装置1と受信装置43との間を連絡
したが、赤外線以外に通常の可視光、電波等種々の電磁
波を使用することができる。また、スイッチング素子と
してのスイッチ12はトランジスタ等の半導体又はリレー
等の他の素子を使用することもできる。
The above embodiment of the present invention can be modified. For example,
Although communication between the transmitting device 1 and the receiving device 43 is performed using infrared light, various electromagnetic waves such as ordinary visible light and radio waves can be used in addition to infrared light. In addition, the switch 12 as a switching element can use a semiconductor such as a transistor or another element such as a relay.

第一の固有コードと第二の固有コードとが一致しかつ
第一のタイマコードと第二のタイマコードとを比較して
一致しない場合に、上記の実施例では、第一のタイマコ
ードによって表わされる値にカウンタをリセットして、
カウンタがその後時間の経過と共に計数値を変化させ、
カウンタの計数値と次の第一のタイマコードとを比較し
て同期しているときに比較手段により被制御装置に操作
信号を出力する例を示した。別法として、タイマコード
記憶手段103により、第一のタイマコード及び第一のタ
イマコードを受信した時点の第二のタイマコードを記憶
すると共に、タイマコード比較手段94により、最初の第
一のタイマコードと次の第一のタイマコードとを比較し
て第一のタイマコード差を演算すると共に、最初の第一
のタイマコードを受信した時点の第二のタイマコードと
次の第一のタイマコードを受信した時点の第二のタイマ
コードとを比較して第二のタイマコード差を演算し、第
一のタイマコード差と第二のタイマコード差が同期する
ときに、モータ80に操作信号を出力してもよい。
In the above embodiment, when the first unique code and the second unique code match and the first timer code and the second timer code do not match, the first unique code is represented by the first timer code. Reset the counter to the value
The counter then changes the count over time,
The example in which the operation signal is output to the controlled device by the comparing means when the count value of the counter and the next first timer code are compared and synchronized is shown. Alternatively, the timer code storage means 103 stores the first timer code and the second timer code at the time of receiving the first timer code, and the timer code comparison means 94 stores the first first timer code. The first timer code difference is calculated by comparing the code with the next first timer code, and the second timer code at the time of receiving the first first timer code and the next first timer code The second timer code difference is calculated by comparing the second timer code with the second timer code at the time when the first timer code difference is received. May be output.

発明の効果 この発明の遠隔操作装置は、送信装置と受信装置とが
同期して変化するタイマコードを発生するとき、送信装
置のタイマコードと受信装置のタイマコードとの間に時
間的ずれが生じた場合でも、受信装置内での自動調整に
より、ロック装置を解錠することができる。
Effect of the Invention In the remote control device of the present invention, when the transmitting device and the receiving device generate a synchronously changing timer code, a time lag occurs between the transmitting device timer code and the receiving device timer code. In this case, the locking device can be unlocked by automatic adjustment in the receiving device.

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

第1図はこの発明による遠隔操作装置に使用する発信装
置の電気回路図、第2図は発信装置に使用する発信制御
回路の電気回路図、第3図はこの発明による遠隔操作装
置に使用する受信装置の電気回路図、第4図は受信装置
に使用する受信制御回路の電気回路図、第5図は受信制
御回路の他の実施例を示すブロック図、第6図は受信制
御回路の動作シーケンスを示すフローチャートである。 1……送信装置、10……送信制御回路(送信手段)、11
……コンデンサ(トリガ回路)、16……抵抗(トリガ回
路)、12……スイッチ(スイッチング素子)、13……電
源、20……赤外線発光用ダイオード(送信器)、27……
パルス発生回路(パルス発生手段)、34……RAM(固有
コード読出手段)、35……分周器(タイマコード発生手
段)、43……受信装置、50……赤外線受光回路(受信
器)、68……ROM(固有コード記憶手段)、80……モー
タ(被制御装置)、92……固有コード比較手段、94、…
…タイマコード比較手段、99、111……タイマコード発
生手段、103……タイマコード記憶手段、105……固有コ
ード記憶手段、109……カウンタ、110……減算手段、11
2……誤差比較手段、
1 is an electric circuit diagram of a transmitting device used in a remote control device according to the present invention, FIG. 2 is an electric circuit diagram of a transmission control circuit used in the transmitting device, and FIG. 3 is used in a remote control device according to the present invention. FIG. 4 is an electric circuit diagram of a reception control circuit used in the reception device, FIG. 5 is a block diagram showing another embodiment of the reception control circuit, and FIG. 6 is an operation of the reception control circuit. It is a flowchart which shows a sequence. 1 ... transmission device, 10 ... transmission control circuit (transmission means), 11
... Capacitor (trigger circuit), 16 ... Resistance (trigger circuit), 12 ... Switch (switching element), 13 ... Power supply, 20 ... Infrared light emitting diode (transmitter), 27 ...
Pulse generating circuit (pulse generating means), 34 RAM (specific code reading means), 35 frequency divider (timer code generating means), 43 receiving device, 50 infrared receiving circuit (receiver), 68 ROM (unique code storage means), 80 motor (controlled device), 92 unique code comparison means 94
... Timer code comparing means, 99, 111 ... Timer code generating means, 103 ... Timer code storage means, 105 ... Unique code storage means, 109 ... Counter, 110 ... Subtraction means, 11
2 ... Error comparison means,

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】第一の固有コード及び時間の経過と共に変
化する第一のタイマコードを含む電磁波を発生する送信
装置(1)と、送信装置(1)から発生する電磁波を受
信する受信器(50)を有しかつ被制御装置(80)に接続
された受信装置(43)とを備え、 受信装置(43)は第二の固有コードを記憶する固有コー
ド記憶手段(68、105)と、時間の経過と共に変化する
第二のタイマコードを発生するタイマコード発生手段
(99、111)と、受信器(50)で受信した第一の固有コ
ードと固有コード記憶手段(68、105)内に記憶された
第二の固有コードとを比較すると共に、受信器(50)で
受信した第一のタイマコードとタイマコード発生手段
(99、111)で発生する第二のタイマコードとを比較
し、第一の固有コードと第二の固有コードとが一致しか
つ第一のタイマコードと第二のタイマコードとが同期し
ているときに被制御装置(80)に操作信号を出力する比
較手段(92、94、110、112)とを有する遠隔操作装置に
おいて、 受信装置(43)は、第一の固有コードと第二の固有コー
ドとが一致しかつ第一のタイマコードと第二のタイマコ
ードとを比較して一致しないときに、第一のタイマコー
ドによって表わされる値にリセットされかつその後時間
の経過と共に計数値を変化するカウンタ(109)と、カ
ウンタ(109)の計数値として表示される次の第二のタ
イマコードと次の第一のタイマコードとを比較して、こ
れらが同期しているときに被制御装置(80)に操作信号
を出力するタイマコード比較手段(110、112)を備えた
ことを特徴とする遠隔操作装置。
A transmitter (1) for generating an electromagnetic wave including a first unique code and a first timer code that changes with time, and a receiver (1) for receiving an electromagnetic wave generated from the transmitter (1). 50) and a receiving device (43) connected to the controlled device (80), the receiving device (43) comprising: a unique code storage means (68, 105) for storing a second unique code; Timer code generating means (99, 111) for generating a second timer code which changes with the passage of time; and first unique code and unique code storage means (68, 105) received by the receiver (50). Along with comparing the stored second unique code, the first timer code received by the receiver (50) and the second timer code generated by the timer code generation means (99, 111) are compared, The first unique code matches the second unique code and the first unique code A remote control device having comparison means (92, 94, 110, 112) for outputting an operation signal to the controlled device (80) when the timer code and the second timer code are synchronized; 43) is a value represented by the first timer code when the first unique code and the second unique code match and the first timer code and the second timer code do not match. And a counter (109) that changes its count value over time and compares the next second timer code displayed as the count value of the counter (109) with the next first timer code. And a timer code comparing means (110, 112) for outputting an operation signal to the controlled device (80) when they are synchronized.
【請求項2】タイマコード比較手段(110、112)は2つ
のタイマコードを減算する減算手段(110)と、減算手
段(110)で減算された値が所定の誤差範囲内か否か判
断し、所定の誤差範囲内のとき被制御装置(80)に操作
信号を出力する誤差比較手段(112)とを有する請求項
(1)に記載の遠隔操作装置。
2. A timer code comparing means (110, 112) for subtracting two timer codes from each other, and judging whether the value subtracted by the subtracting means (110) is within a predetermined error range. The remote control device according to claim 1, further comprising an error comparison means (112) for outputting an operation signal to the controlled device (80) when the error signal is within a predetermined error range.
【請求項3】第一の固有コード及び時間の経過と共に変
化する第一のタイマコードを含む電磁波を発生する送信
装置(1)と、送信装置(1)から発生する電磁波を受
信する受信器(50)を有しかつ被制御装置(80)に接続
された受信装置(43)とを備え、 受信装置(43)は第二の固有コードを記憶する固有コー
ド記憶手段(68、105)と、時間の経過と共に変化する
第二のタイマコードを発生するタイマコード発生手段
(99、111)と、受信器(50)で受信した第一の固有コ
ードと固有コード記憶手段(68、105)内に記憶された
第二の固有コードとを比較すると共に、受信器(50)で
受信した第一のタイマコードとタイマコード発生手段
(99、111)で発生する第二のタイマコードとを比較
し、第一の固有コードと第二の固有コードとが一致しか
つ第一のタイマコードと第二のタイマコードとが同期し
ているときに被制御装置(80)に操作信号を出力する比
較手段(92、94、104、110)とを有する遠隔操作装置に
おいて、 受信装置(43)は、第一の固有コードと第二の固有コー
ドとが一致しかつ第一のタイマコードと第二のタイマコ
ードとを比較して一致しないときに、第一のタイマコー
ド及び第一のタイマコードを受信した時点の第二のタイ
マコードを記憶するタイマコード記憶手段(103)と、
最初の第一のタイマコードと次の第一のタイマコードと
を比較して第一のタイマコード差を演算すると共に、最
初の第一のタイマコードを受信した時点の第二のタイマ
コードと次の第一のタイマコードを受信した時点の第二
のタイマコードとを比較して第二のタイマコード差を演
算し、第一のタイマコード差と第二のタイマコード差が
同期するときに、被制御装置(80)に操作信号を出力す
るタイマコード比較手段(94)を備えたことを特徴とす
る遠隔操作装置。
3. A transmitting apparatus (1) for generating an electromagnetic wave including a first unique code and a first timer code that changes with time, and a receiver (1) for receiving an electromagnetic wave generated from the transmitting apparatus (1). 50) and a receiving device (43) connected to the controlled device (80), the receiving device (43) comprising: a unique code storage means (68, 105) for storing a second unique code; Timer code generating means (99, 111) for generating a second timer code which changes with the passage of time; and first unique code and unique code storage means (68, 105) received by the receiver (50). Along with comparing the stored second unique code, the first timer code received by the receiver (50) and the second timer code generated by the timer code generation means (99, 111) are compared, The first unique code matches the second unique code and the first unique code A remote control device having comparison means (92, 94, 104, 110) for outputting an operation signal to the controlled device (80) when the timer code and the second timer code are synchronized; 43), when the first unique code and the second unique code match and the first timer code and the second timer code do not match, the first timer code and the first Timer code storage means (103) for storing a second timer code at the time of receiving the timer code,
The first first timer code is compared with the next first timer code to calculate the first timer code difference, and the second timer code at the time of receiving the first first timer code and the next Comparing the second timer code difference by comparing the second timer code at the time of receiving the first timer code of, when the first timer code difference and the second timer code difference are synchronized, A remote control device comprising a timer code comparing means (94) for outputting an operation signal to a controlled device (80).
【請求項4】タイマコード比較手段(110、112)は2つ
のタイマコードを減算する減算手段(110)と、減算手
段(110)で減算された値が所定の誤差範囲内か否か判
断し、所定の誤差範囲内のとき被制御装置(80)に操作
信号を出力する誤差比較手段(112)とを有する請求項
(3)に記載の遠隔操作装置。
4. A timer code comparing means (110, 112) for subtracting two timer codes from each other, and judging whether the value subtracted by the subtracting means (110) is within a predetermined error range. The remote control device according to claim 3, further comprising an error comparison means (112) for outputting an operation signal to the controlled device (80) when the error signal is within a predetermined error range.
JP1107778A 1989-04-28 1989-04-28 Remote control device Expired - Fee Related JP2768975B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1107778A JP2768975B2 (en) 1989-04-28 1989-04-28 Remote control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1107778A JP2768975B2 (en) 1989-04-28 1989-04-28 Remote control device

Publications (2)

Publication Number Publication Date
JPH02288593A JPH02288593A (en) 1990-11-28
JP2768975B2 true JP2768975B2 (en) 1998-06-25

Family

ID=14467781

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1107778A Expired - Fee Related JP2768975B2 (en) 1989-04-28 1989-04-28 Remote control device

Country Status (1)

Country Link
JP (1) JP2768975B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IT1249903B (en) * 1991-06-07 1995-03-30 Trw Sipea Spa OPTIMIZED SECURITY REMOTE CONTROL
DE4238858C1 (en) * 1992-08-22 1994-02-03 Kiekert Gmbh Co Kg Centralised locking system for motor vehicle - uses synchronised clock pulse counters in both coder and decoder set to same initial count via random number generator
JP4594227B2 (en) * 2005-12-05 2010-12-08 株式会社ユピテル Equipment control system
JP2009093504A (en) * 2007-10-10 2009-04-30 Tdk Corp Authentication system and receiving apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2767816B2 (en) * 1987-10-07 1998-06-18 セイコーエプソン株式会社 Remote control transmitter / receiver

Also Published As

Publication number Publication date
JPH02288593A (en) 1990-11-28

Similar Documents

Publication Publication Date Title
US3751718A (en) Programmable electric locking system
US4912463A (en) Remote control apparatus
US4131786A (en) Remotely controllable electric oven
CA2182722A1 (en) Apparatus for remotely monitoring controllable devices
EP0017448A1 (en) Electronic identification apparatus and identification system incorporating same
EP0306598A2 (en) Electronically programmable remote control access systems
US4095211A (en) Coded electronic security system
US4027276A (en) Transmitter for a coded electronic security system
JPS6286278A (en) Electronic lock of car
EP0076480B1 (en) Mischief preventive electronic lock device
US5517345A (en) Electronic apparatus for an automobile
JP2768975B2 (en) Remote control device
US4024477A (en) Received signal frequency indicating system
JP2768976B2 (en) Remote control device
JPH1047U (en) Central locking device for automobile
DE69817435T2 (en) Installation and monitoring of wireless security devices with reduced energy
JPH02288592A (en) Transmitter
JP2534097B2 (en) Remote control lock control device
JP2520752B2 (en) Remote control device
JP2874895B2 (en) Operation control device
JP2602080B2 (en) Remote control device
JP2001227219A (en) Remote control device
JPH0817505B2 (en) Remote control device
JP2602092B2 (en) Electronic lock
JP2834764B2 (en) Operation control device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees