JPS6259450A - Signal input circuit - Google Patents
Signal input circuitInfo
- Publication number
- JPS6259450A JPS6259450A JP19923185A JP19923185A JPS6259450A JP S6259450 A JPS6259450 A JP S6259450A JP 19923185 A JP19923185 A JP 19923185A JP 19923185 A JP19923185 A JP 19923185A JP S6259450 A JPS6259450 A JP S6259450A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- circuit
- microcomputer
- input
- shift register
- 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
Links
Landscapes
- Communication Control (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、受信装置の信号入力回路の改良に関し、特に
、符号化された信号を効率よく入力し中央処理装置等の
処理能力をあげることのできる信号入力回路に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to the improvement of a signal input circuit of a receiving device, and in particular, it is capable of efficiently inputting encoded signals and increasing the processing capacity of a central processing unit, etc. This invention relates to a signal input circuit.
従来の技術
従来、例えば光通信やPCM通信等の手段を用いて遠隔
点からスイッチ操作を行ない各種負荷を制御する場合、
次のような技術が公知であった。例えば、スイッチ(図
示せず)を操作すると操作モードは第4図に示す送信手
段1′によって第6図のタイムチャートに示すごとく“
1″“0″の組合わせからなるデジタルの符号化された
各信号a、b若しくはC(以下「符号化信号」と言う)
に変換される。Conventional technology Conventionally, when controlling various loads by operating switches from a remote point using means such as optical communication or PCM communication, for example,
The following techniques were known. For example, when a switch (not shown) is operated, the operation mode is changed as shown in the time chart of FIG. 6 by the transmitting means 1' shown in FIG.
Each digital encoded signal a, b, or C consisting of a combination of 1" and 0 (hereinafter referred to as "encoded signal")
is converted to
該符号化信号は前記スイッチ(図示せず)の操作後も次
のスイッチ操作が行なわれるまで変更されない。そして
該符号化信号は一定周期毎に連続してクロックパルスと
共に受信手段a′に直接送り込まれる。The encoded signal remains unchanged even after the switch (not shown) is operated until the next switch operation is performed. The encoded signal is then directly sent to the receiving means a' together with clock pulses continuously at regular intervals.
例えば、第6図によれば、t1時に第1のスイッチを操
作すると、操作モードは符号化信号aに変換され、t2
時、t3時と一定周期毎に同一信号が受信手段9′の入
力部に入力され、14時に第2のスイッチを操作するま
で同一符号化信号aが続く。以降第2のスイッチを操作
すれば符号化信号すが、第6のスイッチを操作すれば符
号化信号Cが一定周期毎に受信手段9′に入力される。For example, according to FIG. 6, when the first switch is operated at time t1, the operation mode is converted to encoded signal a, and t2
The same signal is input to the input section of the receiving means 9' at regular intervals such as at t3, and the same encoded signal a continues until the second switch is operated at 14:00. Thereafter, when the second switch is operated, the encoded signal C is inputted to the receiving means 9', and when the sixth switch is operated, the encoded signal C is inputted to the receiving means 9' at regular intervals.
このように、受信手段9′には連続して一定周期毎に何
等かの符号化信号が入力されるものであった。尚、第4
図において受信手段9′はマイクロコンピュータ(以下
「マイコン」ト言う)等で構成され、又11′はインタ
ーフェース12′は負荷である。In this way, some encoded signals are continuously input to the receiving means 9' at regular intervals. Furthermore, the fourth
In the figure, receiving means 9' is constituted by a microcomputer (hereinafter referred to as "microcomputer"), and 11' is an interface 12' which is a load.
本発明が解決しようとする問題点
受信手段9′は、符号化信号が入力される毎にその入力
処理を行ない、この間は他の処理を一時停止する必要が
あった。Problems to be Solved by the Invention The receiving means 9' performs input processing every time an encoded signal is input, and during this time it is necessary to temporarily stop other processing.
すなわち、前記符号化信号の入力頻度が高く成れば、受
信手段9′の処理能力が低下するものであった。That is, as the input frequency of the encoded signal increases, the processing capacity of the receiving means 9' decreases.
したがって、前記従来の技術のごとく受信手段9′に連
続して一定周期毎に何等かの符号化信号が入力される場
合、当然ながら受信手段9′の処理能力は低下していた
。Therefore, when some encoded signal is continuously inputted to the receiving means 9' at regular intervals as in the prior art, the processing capacity of the receiving means 9' naturally decreases.
問題点を解決するための手段
本発明は、上述の問題点を解消するもので、新規な信号
が入力されてきたときのみ入力すべく送信装置からの第
1信号を記憶する第1記憶手段と、受信手段に読み込ま
れた第2信号を記憶する第2記憶手段と、前記第1記憶
手段及び第2記憶手段の各記憶内容を比較し相違を判断
し受信手段への第1信号の読み込みを制御する比較手段
とで信号入力回路を構成するものである。Means for Solving the Problems The present invention solves the above-mentioned problems, and includes a first storage means for storing the first signal from the transmitter so as to be input only when a new signal is input. , a second storage means for storing the second signal read into the reception means, and the storage contents of the first storage means and the second storage means are compared to determine a difference, and the first signal is read into the reception means. The control comparison means constitutes a signal input circuit.
作 用
上記構成により、第1記憶手段は送信手段から第1信号
が入力されるとそれを記憶し、第2記憶手段は受信手段
に読み込まれた第2信号を記憶する。該第1、第2記憶
手段は各々第1信号及び第2信号を比較手段に出力する
。Operation With the above configuration, the first storage means stores the first signal when it is input from the transmission means, and the second storage means stores the second signal read into the reception means. The first and second storage means output the first signal and the second signal to the comparison means, respectively.
比較手段は、前記第1侶号及び第2信号を比較し、両者
が相違していると受信手段へ第1信号を読み込む。The comparing means compares the first signal and the second signal, and if they are different, reads the first signal into the receiving means.
したがって、受信手段には新規な信号が送信されてきた
時だけ信号が入力される。Therefore, a signal is input to the receiving means only when a new signal is transmitted.
実 施 例 第1図は、本発明の好適な実施例を示す回路図である。Example FIG. 1 is a circuit diagram showing a preferred embodiment of the present invention.
1は、送信手段としてのシリアル信号通信回路であり、
スイッチ操作やボリューム操作状態に応じた所定ビット
からなる符号化されたシリアル信号を電気信号や光信号
により通信する回路である。例えば、自動車に搭載され
、ステアリングホイール中央部に配設する集中スイッチ
やアームレストに配設する集中スイッチの操作に応じて
、オーディオ装置、エアコン装置、ドアロック装置若し
くはパワーウィンドウ装置等をリモート制御する装置に
用いる多重通信回路等がある。1 is a serial signal communication circuit as a transmitting means;
This is a circuit that communicates an encoded serial signal consisting of predetermined bits depending on switch operation or volume operation status using electrical signals or optical signals. For example, a device installed in a car that remotely controls audio equipment, air conditioner equipment, door lock equipment, power window equipment, etc. in response to the operation of a central switch located in the center of the steering wheel or a central switch located in the armrest. There are multiplex communication circuits used for
2はカウンタ回路、6はワンショット回路でありタイミ
ング手段を構成する。詳述すると、カウンタ回路2は、
前記シリアル信号通信回路1に接続し、シリアル信号に
同期したクロック信号をカウントする回路であり、シリ
アル信号のビット数分のカウントを行なう。例えば、シ
リアル信号が8ビツト構成の信号であれば、クロック信
号を8カウントして後段のワンショット回路5に信号を
出力する。又、ワンショット回路6は、前記カウンタ回
路2からの信号入力に応じて、タイミングパルスを出力
する。2 is a counter circuit, and 6 is a one-shot circuit, which constitute timing means. To explain in detail, the counter circuit 2 is as follows.
This circuit is connected to the serial signal communication circuit 1 and counts clock signals synchronized with the serial signal, and counts the number of bits of the serial signal. For example, if the serial signal is an 8-bit signal, the clock signal is counted 8 and the signal is output to the one-shot circuit 5 at the subsequent stage. Further, the one-shot circuit 6 outputs a timing pulse in response to the signal input from the counter circuit 2.
なお、前記ワンショット回路3は適宜省略し、カウンタ
回路2の出力信号をタイミングパルスとすることも可能
であり、省略するかしないかの判定は例えばタイミング
パルスの幅ヲどの位にするかの設計仕様により決定すれ
ばよい。Note that the one-shot circuit 3 can be omitted as appropriate and the output signal of the counter circuit 2 can be used as a timing pulse, and the decision as to whether or not to omit it can be made, for example, by designing the width of the timing pulse. It may be determined according to the specifications.
4は第1シフトレジスタ、5は第1ゲート回路であり、
該第1シフトレジスタ4と第1ゲート回路5(!:で第
1記憶手段を構成する。詳述すると、第1シフトレジス
タ4はシリアル信号をパラレル信号に変換するための回
路である。該第1シフトレジスタ4の第1シリアル信号
入力部S、I、1 及び第1クロツク信号入力部CL
OCK1は、それぞれシリアル信号通信回路1に接続す
る。又、第1ゲート回路5はアンド回路51ないし58
からなり、各々一方の入力部は前記第1シフトレジスタ
4のパラレル信号出力部に接続し、他方の入力部はワン
ショット回路乙の出力部に接続する。4 is a first shift register, 5 is a first gate circuit,
The first shift register 4 and the first gate circuit 5 (!: constitute a first storage means. To be more specific, the first shift register 4 is a circuit for converting a serial signal into a parallel signal. 1. The first serial signal input section S, I, 1 and the first clock signal input section CL of the shift register 4.
OCK1 is connected to serial signal communication circuit 1, respectively. Further, the first gate circuit 5 includes AND circuits 51 to 58.
One input section of each is connected to the parallel signal output section of the first shift register 4, and the other input section is connected to the output section of the one-shot circuit B.
6は第2シフトレンスタ、7は第2ゲート回路であり、
該第2シフトレジスタ6と第2ゲート回路7とで第2記
憶手段を構成する。該第2シフトレジスタ6及び第2ゲ
ート回路7はそれぞれ前記第1シフトレジスタ4及び第
1ゲート回路5と同じ電子素子の構成からなり、相違点
としては第2シフトレジスタ乙の第2シリアル信号入力
部S、I、2 及び第2クロツク信号入力部CLOC
K 2をそれぞれ後述するマイコン9に接続する点であ
る。6 is a second shift lens star, 7 is a second gate circuit,
The second shift register 6 and the second gate circuit 7 constitute a second storage means. The second shift register 6 and the second gate circuit 7 have the same electronic element configuration as the first shift register 4 and the first gate circuit 5, respectively, and the difference is that the second serial signal input of the second shift register B Sections S, I, 2 and second clock signal input section CLOC
This is the point where each K2 is connected to a microcomputer 9, which will be described later.
8は、比較手段としての比較回路であり、排他的論理和
回路81ないし88、オア回路89及びアンド回路80
から構成する。8 is a comparison circuit as comparison means, which includes exclusive OR circuits 81 to 88, an OR circuit 89 and an AND circuit 80.
Consists of.
該排他的論理和回路81ないし88の一方の入力部は、
前記第1ゲート回路5の各出力部に接続し、他方の入力
部は前記第2ゲート回路7の各出力部に接続する。又、
排他的論理和回路81ないし88の各出力部はオア回路
89に接続し、オア回路89の出力部はアンド回路80
の一方の入力部に接続し、アンド回路80の他方の入力
部は前記ワンショット回路5のタイミングパルス出力部
に接続する。又、アンド回路80の出力部は、マイコン
9の更新信号入力部IRQに接続する。One input section of the exclusive OR circuits 81 to 88 is
It is connected to each output section of the first gate circuit 5, and the other input section is connected to each output section of the second gate circuit 7. or,
Each output section of the exclusive OR circuits 81 to 88 is connected to an OR circuit 89, and the output section of the OR circuit 89 is connected to an AND circuit 80.
The other input part of the AND circuit 80 is connected to the timing pulse output part of the one-shot circuit 5. Further, the output section of the AND circuit 80 is connected to the update signal input section IRQ of the microcomputer 9.
9は、受信手段としてのマイコンである。該マイコン9
には、前記第2シフトレジスタ6及び比較回路8の他に
、後述する第5シフトレジスタ10と、インクフェース
11を介して負荷12を接続する。9 is a microcomputer as a receiving means. The microcomputer 9
In addition to the second shift register 6 and comparison circuit 8, a fifth shift register 10, which will be described later, is connected to a load 12 via an ink face 11.
10は、第3シフトレジスタであり、第1ゲート回路5
から出力されるパラレル信号をシリアル信号に変換し、
マイコン9に入力するための回路であり、第1ゲート回
路5吉マイコン9との間に介設する。10 is a third shift register, and the first gate circuit 5
Converts the parallel signal output from the to a serial signal,
This is a circuit for inputting to the microcomputer 9, and is interposed between the first gate circuit 5 and the microcomputer 9.
次に、上記構成からなる本発明の好適な実施例の作用を
第2図に示すタイムチャートを参照して詳述する。Next, the operation of the preferred embodiment of the present invention having the above configuration will be described in detail with reference to the time chart shown in FIG.
例えば、時間t、に第1のスイッチを操作したとする。For example, assume that the first switch is operated at time t.
すると操作モードは第2図のタイムチャー)(100)
に示す符号化信号aに変換され、時間t6、時間t、o
と一定周期毎に第1シフトレジスタ4の第1シリアル
信号入力部S、■。Then the operation mode changes to the time chart shown in Figure 2) (100)
is converted into the encoded signal a shown in FIG.
and the first serial signal input section S of the first shift register 4 at regular intervals.
1に入力される。この時、符号化信号と同時に第2図の
タイムチャート(101)に示すクロックパルス信号が
第1シフトレジスタ4の第1クロツク信号入力部0LO
CK 1及びカウンタ回路2に入力される。カウンタ回
路2は、クロックパルス信号を所定カウント毎に後段の
ワンショット回路3に信号を出力する。1 is input. At this time, simultaneously with the encoded signal, the clock pulse signal shown in the time chart (101) in FIG.
It is input to CK 1 and counter circuit 2. The counter circuit 2 outputs a clock pulse signal to the subsequent one-shot circuit 3 every predetermined count.
ワンショット回路3は、前記カウンタ回路2か6の信号
により時間t7、時間t11 において第2図のタイム
チャート(102)に示すタイミングパルスを出力する
。The one-shot circuit 3 outputs timing pulses shown in the time chart (102) in FIG. 2 at time t7 and time t11 according to the signal from the counter circuit 2 or 6.
比較手段8は、前記タイミングパルスに同期して第1シ
フトレジスタ4と第2シフトレジスタ6の記憶内容を比
較する。例えば、時間t7において、第1シフトレジス
タ4の記憶内容は符号化信号aであるが、第2シフトレ
ジスタ乙の記憶内容は符号化信号Cてあり、両者は相違
し比較手段8は第2図のタイムチャート(103)に示
す更新信号をマイコン9に出力する。The comparing means 8 compares the contents of the first shift register 4 and the second shift register 6 in synchronization with the timing pulse. For example, at time t7, the stored content of the first shift register 4 is a coded signal a, but the stored content of the second shift register B is a coded signal C, and since the two are different, the comparing means 8 is shown in FIG. The update signal shown in the time chart (103) is output to the microcomputer 9.
マイコン9は、前記更新信号の入力があると割込み入力
処理の為のサブルーチンを実行する。The microcomputer 9 executes a subroutine for interrupt input processing when the update signal is input.
そして、時間t8第3シフトレジスタ1Dに対して第2
図のタイムチャート(104)に示す読み込み信号と、
第2図のタイムチャート(105)に示すクロックパル
ス信号を入力し、第2図のタイムチャート(106)に
示すシリアル変換された符号化信号aをマイコンに読み
込む。Then, for the third shift register 1D at time t8, the second
The read signal shown in the time chart (104) in the figure,
A clock pulse signal shown in the time chart (105) in FIG. 2 is input, and a serially converted encoded signal a shown in the time chart (106) in FIG. 2 is read into the microcomputer.
マイコン9は、前記読み込み処理が終ると時間t、第2
シフトレジスタ6に対して第2図のタイムチャート(1
05)に示すクロックパルス信号及び第2図のタイムチ
ャート(107)に示す符号化信号aを入力し、第2シ
フトレジスタ6の記憶内容を更新する。そして、マイコ
ン9は前記1連の入力処理の為のサブルーチンの実行を
終了すると、読み込まれた符号化信号に基づきそれぞれ
の制御を行なう。When the reading process is finished, the microcomputer 9 starts the second reading process at time t.
For the shift register 6, the time chart (1
The clock pulse signal shown in 05) and the encoded signal a shown in the time chart (107) in FIG. 2 are input, and the stored contents of the second shift register 6 are updated. When the microcomputer 9 finishes executing the subroutine for the series of input processing, it performs each control based on the read encoded signal.
上述のごとく、上記本発明の好適な実施例においてマイ
コン9はシリアル信号通信回路1から新規な符号化信号
が送信されてきた時のみ信号の読み込み処理を実行する
ためマイコン9の処理能力が向上することとなる。As described above, in the preferred embodiment of the present invention, the microcomputer 9 executes signal reading processing only when a new encoded signal is transmitted from the serial signal communication circuit 1, so that the processing capability of the microcomputer 9 is improved. That will happen.
本発明の効果
以上述べたように、本発明では送信装置からの第1信号
を記憶する第1記憶手段と、受信手段に読み込まれた第
2信号を記憶する第2記憶手段と、上記各記憶内容を比
較し相違を判断すると受信手段へ第1信号を読み込む比
較手段とで信号入力回路を構成したことに特徴がある。Effects of the Present Invention As described above, the present invention includes a first storage means for storing the first signal from the transmitting device, a second storage means for storing the second signal read into the receiving means, and each of the above-mentioned memories. The present invention is characterized in that the signal input circuit is constituted by a comparing means which reads the first signal into the receiving means when the contents are compared and a difference is determined.
したがって、符号化信号等の信号が随時送信されてきて
も比較手段によってそれまで送信されてきた信号と相違
した信号が送信されたことを判断するまで受信手段に信
号を入力しない。その為、受信手段への信号入力頻度は
最小限にとどめることができ、受信手段の割り込み入力
の減少に及び割り込み入力を阻止することによって受信
手段の処理能力が向上できるという優れた効果がある。Therefore, even if a signal such as a coded signal is transmitted from time to time, the signal is not input to the receiving means until the comparison means determines that a signal different from the signals transmitted up to that point has been transmitted. Therefore, the frequency of signal input to the receiving means can be kept to a minimum, and there are excellent effects in that the number of interrupt inputs to the receiving means can be reduced and the processing capacity of the receiving means can be improved by blocking interrupt inputs.
第1図は本発明の好適な実施例を示す電気回路図である
。
第2図は、第1図に示す本発明の好適な実施例のタイム
チャートである。
第3図は、従来の技術によるタイムチャートである。
第4図は、従来の技術を示す電気回路図である。
1・・・・・・シリアル信号通信回路、2・・・・カウ
ンク回路、3・・・ ワンショット回路、4・・・°・
・第1シフトレジスタ、5・・・・第1ゲート回路、6
・・・・・・W2シフトレジスタ、7・・・・蒙2ゲー
ト回路、8・・・・・・比較回路、9・・・・マイクロ
コンピュータ、10・・・・・第3シフトレジスク。
以上FIG. 1 is an electrical circuit diagram showing a preferred embodiment of the present invention. FIG. 2 is a time chart of the preferred embodiment of the present invention shown in FIG. FIG. 3 is a time chart according to the prior art. FIG. 4 is an electrical circuit diagram showing a conventional technique. 1...Serial signal communication circuit, 2...Count circuit, 3...One-shot circuit, 4...°・
・First shift register, 5...First gate circuit, 6
...W2 shift register, 7...2 gate circuit, 8...comparison circuit, 9...microcomputer, 10...3rd shift register. that's all
Claims (1)
信手段に読み込まれた第2信号を記憶する第2記憶手段
と、前記第1記憶手段及び第2記憶手段の各記憶内容を
比較し相違を判断し受信手段への第1信号の読み込みを
制御する比較手段とで構成したことを特徴とする信号入
力回路。Comparing the first storage means for storing the first signal from the transmitting device, the second storage means for storing the second signal read into the receiving means, and the storage contents of the first storage means and the second storage means. and comparing means for determining the difference between the signals and controlling the reading of the first signal into the receiving means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP19923185A JPS6259450A (en) | 1985-09-09 | 1985-09-09 | Signal input circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP19923185A JPS6259450A (en) | 1985-09-09 | 1985-09-09 | Signal input circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6259450A true JPS6259450A (en) | 1987-03-16 |
Family
ID=16404333
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP19923185A Pending JPS6259450A (en) | 1985-09-09 | 1985-09-09 | Signal input circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6259450A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016100044A (en) * | 2014-11-18 | 2016-05-30 | ウシオ電機株式会社 | Light source device and lighting device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5639652A (en) * | 1979-05-17 | 1981-04-15 | Nec Corp | Communication controller |
JPS6043947A (en) * | 1983-08-20 | 1985-03-08 | Fujitsu Ltd | Random signal change detection device |
-
1985
- 1985-09-09 JP JP19923185A patent/JPS6259450A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5639652A (en) * | 1979-05-17 | 1981-04-15 | Nec Corp | Communication controller |
JPS6043947A (en) * | 1983-08-20 | 1985-03-08 | Fujitsu Ltd | Random signal change detection device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016100044A (en) * | 2014-11-18 | 2016-05-30 | ウシオ電機株式会社 | Light source device and lighting device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4141010A (en) | Digital encoder for door operator | |
JPH0124385B2 (en) | ||
US5726593A (en) | Method and circuit for switching between a pair of asynchronous clock signals | |
US4592078A (en) | Up/down counter control circuit | |
JPS6259450A (en) | Signal input circuit | |
KR930003449B1 (en) | Wireless remote access device of various siren programs | |
US4056808A (en) | Ultrasonic remote control receiver suitable for TV receiver | |
EP0632459A2 (en) | Delay circuit using a digital memory | |
EP0479607B1 (en) | Method and arrangement for detecting framing bit sequence in digital data communications system | |
EP0973264A1 (en) | Decoding chip streams | |
US4086429A (en) | Synchronizing system for use in telecommunication | |
JPH0342757B2 (en) | ||
SU1116554A2 (en) | Frequency-shift keyer without phase break | |
SU658786A1 (en) | Address call receiving device | |
KR950001927B1 (en) | Circuit for detecting digital data synchronous signal | |
KR940006657Y1 (en) | Selecting circuit of information i/o | |
EP0294614B1 (en) | m bit to n bit code converting circuit | |
SU1249711A1 (en) | Device for checking communication channel | |
RU2006955C1 (en) | System for remote control of controlled object | |
SU1159170A1 (en) | Multichannel device for transmission of digital information | |
SU1561212A2 (en) | Device for protection of telegraph equipment with decision feedback | |
SU1578712A1 (en) | Multichannel priority device | |
SU1533021A2 (en) | Mutiple-frequency receiver | |
JPH024535Y2 (en) | ||
JPS6153824A (en) | Switching circuit |