JPH03822B2 - - Google Patents

Info

Publication number
JPH03822B2
JPH03822B2 JP57220504A JP22050482A JPH03822B2 JP H03822 B2 JPH03822 B2 JP H03822B2 JP 57220504 A JP57220504 A JP 57220504A JP 22050482 A JP22050482 A JP 22050482A JP H03822 B2 JPH03822 B2 JP H03822B2
Authority
JP
Japan
Prior art keywords
circuit
data
transmission
output
key
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
Application number
JP57220504A
Other languages
Japanese (ja)
Other versions
JPS59110248A (en
Inventor
Hitoshi Fukagawa
Yoshuki Komoda
Osamu Tanaka
Yasukazu Kinekawa
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 Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP57220504A priority Critical patent/JPS59110248A/en
Publication of JPS59110248A publication Critical patent/JPS59110248A/en
Publication of JPH03822B2 publication Critical patent/JPH03822B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Description

【発明の詳細な説明】 〔技術分野〕 本発明は電力線搬送システムのような遠隔制御
装置において、データを遠隔地へ伝送するために
使用するデータ伝送装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a data transmission device used for transmitting data to a remote location in a remote control device such as a power line transport system.

〔背景技術〕[Background technology]

第1図は本発明を適用すべき一般的な遠隔制御
装置の概略構成例図を示し、送信器10に入力さ
れたデータは伝送線11を介して受信器12に伝
送され、受信器12からデータ出力として出力さ
れることになる。第2図は送信器10から受信器
12へ送られる伝送データのフオーマツトの1例
を示したものであり、伝送データの1フレームは
スタートマーク、チヤンネルデータ、制御データ
で構成され、それぞれのビツト数はスタートマー
ク1ビツト、チヤンネルデータ4ビツト、制御デ
ータ4ビツトであり、1回のデータ伝送では2フ
レーム伝送されるものである。第3図は伝送線1
1を介して伝送される伝送データが交流電源波形
に同期して周波数cの搬送信号により伝送される
例を示したものであり、スタートマーク及びチヤ
ンネルデータ、制御データを構成するデータ
“1”及びデータ“0”は電源波形の半サイクル
を4分割し、それぞれ4分割された各部分をサブ
ビツトとすると、スタートマークは「0101」、デ
ータ“1”は「0111」、データ“0”は「0100」
なるサブビツトで構成されるものとする。ここで
サブビツトデータ“1”に対しては搬送波が存在
し、サブビツトデータ“0”に対しては搬送波が
存在しないという形で振幅変調によるデータ伝送
が用いられるものとする。第4図は送信器10及
び受信器12に用いられる伝送に関する送受信ブ
ロツクを示したものであり、9は搬送波を変復調
するモデム、1はデータ伝送用の伝送回路であ
り、送信時はパラレル入力ポートに伝送したいデ
ータをロードし、伝送開始入力Ssを“H”にす
るとモデム9とのI/Oポートよりモデム9へ、
スタートマーク、チヤンネルデータ、制御データ
と順次データを送り、モデム9では各データを搬
送波に変調して伝送線11へ供給する。また受信
時にはモデム9より順次再生されるスタートマー
クからのデータを判定し、チヤンネルデータが自
己のチヤンネルと一致したときのみ、送信器10
からの制御データをパラレル出力端子PIより出力
する。また伝送終了タイミング(制御データの終
了タイミング)では伝送終了信号が出力される。
第5図は第4図に示した伝送回路1の各部のタイ
ミングを示したものであり、同図中aは伝送すべ
きデータ、bは伝送開始入力Ssの入力タイミン
グ、cはパラレル入力ポートPIからデータが読込
まれるタイミング、dは伝送終了のタイミングを
示してあり、それぞれの伝送信号との関係は、ま
ず伝送開始入力Ssにストローブパルスが入力さ
れると、伝送回路1はモデム9へ信号伝送を開始
する。次に伝送すべき制御データの読込みは制御
データ伝送タイミングの直前で読込まれ、制御デ
ータ終了後に伝送終了パルスが出力される。
FIG. 1 shows a schematic configuration example of a general remote control device to which the present invention is applied, in which data input to a transmitter 10 is transmitted to a receiver 12 via a transmission line 11, and from the receiver 12. This will be output as data output. Figure 2 shows an example of the format of transmission data sent from the transmitter 10 to the receiver 12. One frame of transmission data consists of a start mark, channel data, and control data, each of which has a number of bits. consists of 1 bit of start mark, 4 bits of channel data, and 4 bits of control data, and two frames are transmitted in one data transmission. Figure 3 shows transmission line 1
This shows an example in which the transmission data transmitted via 1 is transmitted by a carrier signal of frequency c in synchronization with the AC power waveform, and data ``1'' and ``1'' constituting the start mark, channel data, and control data are shown. Data “0” divides the half cycle of the power supply waveform into four, and each of the four divided parts is used as a sub-bit.The start mark is “0101,” data “1” is “0111,” and data “0” is “0100.” ”
It shall be composed of sub-bits. Here, it is assumed that data transmission by amplitude modulation is used such that a carrier wave exists for sub-bit data "1" and no carrier wave exists for sub-bit data "0". FIG. 4 shows a transmission/reception block used in the transmitter 10 and the receiver 12, in which 9 is a modem for modulating and demodulating carrier waves, 1 is a transmission circuit for data transmission, and during transmission, a parallel input port is used. Load the data you want to transmit to and set the transmission start input Ss to “H”, then from the I/O port with modem 9 to modem 9,
Data such as a start mark, channel data, and control data are sequentially sent, and the modem 9 modulates each data into a carrier wave and supplies it to the transmission line 11. Also, during reception, the data from the start mark that is sequentially reproduced by the modem 9 is determined, and only when the channel data matches its own channel, the transmitter 10
Outputs the control data from the parallel output terminal P I. Further, at the transmission end timing (control data end timing), a transmission end signal is output.
FIG. 5 shows the timing of each part of the transmission circuit 1 shown in FIG. 4, in which a indicates the data to be transmitted, b indicates the input timing of the transmission start input Ss, and c indicates the parallel input port P. d indicates the timing at which data is read from I , and d indicates the timing at which transmission ends. Start signal transmission. The control data to be transmitted next is read immediately before the control data transmission timing, and a transmission end pulse is output after the control data ends.

上述のような遠隔制御装置において連続したデ
ータ伝送を行なうような場合、従来はマイコンシ
ステム等を利用しそのプログラム動作により、連
続したデータの読み込み及びそれらの連続的な伝
送を行つていたものであり、このようなシステム
を用いたものにあつては回路構成が複雑であり、
小型化及び安価化の障害になる問題があつた。
In the case of continuous data transmission in the above-mentioned remote control device, conventionally, a microcomputer system, etc. was used to read continuous data and transmit it continuously by operating the program. However, in the case of a system using such a system, the circuit configuration is complicated,
There was a problem that became an obstacle to miniaturization and cost reduction.

〔発明の目的〕[Purpose of the invention]

本発明は遠隔制御装置等においてデータを遠隔
地に伝送するに際し、連続するデータを効率良く
また確実に伝送することができ、しかも回路構成
が簡略化されて小型化及び安価化が実現できるデ
ータ伝送装置を提供することを目的とするもので
ある。
When transmitting data to a remote location in a remote control device or the like, the present invention is capable of transmitting continuous data efficiently and reliably, and furthermore, the circuit configuration is simplified and the data transmission can be made smaller and cheaper. The purpose is to provide a device.

〔発明の開示〕[Disclosure of the invention]

第6図は本発明の第1発明に係る実施例のブロ
ツク図を示し、前述の第4図従来例と同様の伝送
回路1及びモデム9を有する他、キーマトリツク
ス回路2、キースキヤン回路3、先入れ先出しバ
ツフア回路4〔以下FiFoメモリ回路4という〕、
発振回路5等を有している。また第7図は第6図
回路の各部のタイミングを示したものであり、同
図aはキースキヤン回路3からFiFoメモリ回路
4へ送られるデータ入力のタイミングを示したも
のであり、bはFiFoメモリ回路4の書き込みパ
ルス、cはFiFoメモリ回路4の出力ポートAか
ら発振回路5へ与えられるパルスであり、FiFo
メモリ回路4にデータが残つている間このAポー
トは“H”となつている。また同図dは伝送回路
1よりモデム9を介して伝送されるデータを示し
たものであり、データ1からデータ4が順次送出
されるものであり、同図eは伝送回路1に得られ
る伝送終了信号でFiFoメモリ回路4のデータ読
出しに用いられ同図fは発振回路5の発振出力で
FiFoメモリ回路4のAポートが“H”の間は発
振出力を伝送回路1へ出力する。
FIG. 6 shows a block diagram of an embodiment according to the first invention of the present invention, which includes a transmission circuit 1 and a modem 9 similar to the conventional example shown in FIG. 4, as well as a key matrix circuit 2, a key scan circuit 3, First-in, first-out buffer circuit 4 [hereinafter referred to as FiFo memory circuit 4],
It has an oscillation circuit 5 and the like. In addition, FIG. 7 shows the timing of each part of the circuit shown in FIG. The write pulse c of the circuit 4 is a pulse given from the output port A of the FiFo memory circuit 4 to the oscillation circuit 5;
While data remains in the memory circuit 4, this A port remains at "H". Figure d shows the data transmitted from the transmission circuit 1 via the modem 9, in which data 1 to data 4 are sent out in sequence, and Figure e shows the data transmitted to the transmission circuit 1. The end signal is used to read data from the FiFo memory circuit 4, and f in the figure is the oscillation output of the oscillation circuit 5.
While the A port of the FiFo memory circuit 4 is "H", an oscillation output is output to the transmission circuit 1.

かくて第6図に示す実施例では、まずキーマト
リツクス回路2によつて伝送したいデータが入力
される(ここでは4ビツトのデータを送るので最
大0〜15の16種類のデータが送られるが、ビツト
数をふやせば多種のデータを伝送できることはい
うまでもない)。このキーマトリツクス回路2の
データはキースキヤン回路3によつて4ビツト並
列データに変換され、キーマトリツクス回路2の
キーが押されるごとにキースキヤン回路3ではデ
コードした4ビツト並列データ及び書き込みパル
スが第7図a及びbに示すように出力として得ら
れる。次にFiFoメモリ回路4では上記の書き込
みパルスが“H”のタイミング毎に入力データを
順次記憶して行き、このFiFoメモリ回路4内に
データが残つている間は出力ポートAの出力は
“H”を保つ。またFiFoメモリ回路4におけるデ
ータの出力は、読み出し入力Soが“H”になる
毎にデータを出力して行き、このFiFoメモリ回
路4内のデータが空になるとデータ出力ポートは
全て“L”になるとともに出力ポートAの出力も
“L”となる。ただし第1番目のデータ入力に対
しては読み出しパルスがなくてもデータは出力さ
れ、出力ポートAも“H”となる。次に出力ポー
トAが“H”の間は発振回路5は一定周期で発振
し、伝送回路1の伝送開始ポートSsへストロー
ブパルスを第7図fのように出力しつづける。伝
送回路1ではSsのポートに“L”から“H”へ
変化するパルス入力があるとデータ伝送を開始す
る。このときの最初に送るデータはデータ1のデ
ータであり、続く読み出しパルスでデータ2が入
力にロードされデータ2が伝送され、このように
して順次データ3、データ4と伝送される。最後
にFiFoメモリ回路4のメモリ内容が空になると、
出力ポートAの出力が“L”となり、発振回路5
が発振を停止し、伝送回路1では伝送開始ポート
Ssが“L”となるので伝送を停止する。
Thus, in the embodiment shown in FIG. 6, the key matrix circuit 2 first inputs the data to be transmitted (here, 4-bit data is transmitted, so a maximum of 16 types of data from 0 to 15 are transmitted). It goes without saying that by increasing the number of bits, it is possible to transmit a wide variety of data.) The data in the key matrix circuit 2 is converted into 4-bit parallel data by the key scan circuit 3, and each time a key in the key matrix circuit 2 is pressed, the key scan circuit 3 converts the decoded 4-bit parallel data and write pulse into 4-bit parallel data. The output is obtained as shown in Figures 7a and 7b. Next, the FiFo memory circuit 4 sequentially stores the input data every time the write pulse is "H", and while the data remains in the FiFo memory circuit 4, the output of the output port A is "H". ” In addition, data is outputted in the FiFo memory circuit 4 every time the read input So becomes "H", and when the data in the FiFo memory circuit 4 becomes empty, all data output ports become "L". At the same time, the output of output port A also becomes "L". However, for the first data input, data is output even without a read pulse, and output port A also becomes "H". Next, while the output port A is "H", the oscillation circuit 5 oscillates at a constant cycle and continues to output strobe pulses to the transmission start port Ss of the transmission circuit 1 as shown in FIG. 7f. The transmission circuit 1 starts data transmission when a pulse input that changes from "L" to "H" is received at the Ss port. The first data to be sent at this time is data 1, and with the subsequent read pulse, data 2 is loaded into the input and data 2 is transmitted, and in this way, data 3 and data 4 are transmitted sequentially. Finally, when the memory contents of FiFo memory circuit 4 become empty,
The output of output port A becomes “L”, and the oscillation circuit 5
stops oscillating, and in transmission circuit 1, the transmission start port
Since Ss becomes "L", transmission is stopped.

第8図は本発明の第2発明に係る実施例を示
し、第6図の実施例回路のものに比べて、さらに
分周回路6とアンドゲート13とを付加したもの
である。また第9図は第8図に示す実施例の各部
の波形を示したものであり、同図a及びbはキー
スキヤン回路3からFiFoメモリ回路4へ与えら
れるデータ及び書き込みパルスであり、cは分周
回路6の出力パルス、dはFiFoメモリ回路4の
出力ポートAの出力パルス、eはアンドゲート1
3の出力パルス、fは発振回路5の発振出力パル
スである。また同図gは伝送回路1及びモデム9
を介して伝送される伝送データであり、hは伝送
回路1からFiFoメモリ回路4への読み出しパル
ス、iはFiFoメモリ回路4から伝送回路1へ与
えられるデータを示すものである。
FIG. 8 shows an embodiment according to the second aspect of the present invention, in which a frequency dividing circuit 6 and an AND gate 13 are further added to the circuit of the embodiment shown in FIG. FIG. 9 shows waveforms of various parts of the embodiment shown in FIG. 8, and a and b in the figure are data and write pulses given from the key scan circuit 3 to the FiFo memory circuit 4, and c is a division pulse. The output pulse of the circuit 6, d is the output pulse of the output port A of the FiFo memory circuit 4, and e is the AND gate 1
3, and f is the oscillation output pulse of the oscillation circuit 5. In addition, g in the same figure shows the transmission circuit 1 and modem 9.
, h indicates a read pulse from the transmission circuit 1 to the FiFo memory circuit 4, and i indicates data given from the FiFo memory circuit 4 to the transmission circuit 1.

かくてこの第8図実施例回路において、分周回
路6は、キースキヤン回路3からFiFoメモリ回
路4への書き込みパルスを1/2に分周するための
もので、分周回路6の出力とFiFoメモリ回路4
の出力Aポートの出力とのアンドをアンドゲート
13で取り、アンドゲート13の出力で発振回路
5の発振をコントロールする。これにより伝送回
路1の伝送開始入力端子Ssではキースキヤン回
路3の書き込みパルスが2回出力される場合毎に
データが伝送を行なうことになる。この第2発明
に係る第8図実施例回路において、キースキヤン
回路3の書き込みパルスが2回出力される毎にデ
ータ伝送を行うようにしたのは次の理由による。
第6図に示す第1発明に係る実施例のものにあつ
ては、データを連続的に伝送する場合は問題ない
が、データ伝送の間隔が1回のデータ伝送時間よ
りも十分長い場合には送るべきデータの間に不要
なデータが送られる場合がある問題があつた。す
なわちデータ1が入力されて後、データ2の入力
がない場合にはデータ1を送つた後、伝送回路1
よりの読み出しパルスによつて次のデータを送る
態勢に入るが、このときはFiFoメモリ回路4に
は送るべきデータがないことになる。これは既に
データ1の伝送した後で出力ポートAも“L”と
なり、発振回路5も発振を停止しており、伝送回
路1の伝送開始入力Ssには入力は与えられてい
ないが、伝送回路1自身は2回伝送となつている
ので1回目を伝送した後、2回目を伝送すること
になるからである。従つてFiFoメモリ回路4の
データ出力は全て“L”となるのでこのときに送
られるデータもオール“0”のデータとなり、こ
の伝送データ“0”のモードは使用できないこと
になる問題があつたのである。かくて第8図に実
施例を示す本発明の第2発明は、上述のような第
1発明の問題点を解決するべく提供されたもので
あり、前述のように書き込みパルスが2回発生す
る毎にデータ伝送を行うため、第1発明に係るも
ののようなデータ伝送上の問題を生じることがな
い。
Thus, in the circuit of the embodiment shown in FIG. Memory circuit 4
An AND gate 13 performs an AND with the output of the output port A, and the output of the AND gate 13 controls the oscillation of the oscillation circuit 5. As a result, data is transmitted at the transmission start input terminal Ss of the transmission circuit 1 every time the write pulse of the key scan circuit 3 is output twice. In the circuit of the embodiment shown in FIG. 8 according to the second invention, data transmission is performed every two times the write pulse of the key scan circuit 3 is output for the following reason.
In the embodiment according to the first invention shown in FIG. 6, there is no problem when data is transmitted continuously, but when the data transmission interval is sufficiently longer than one data transmission time, There was a problem where unnecessary data was sometimes sent between data that should be sent. In other words, after data 1 is input, if data 2 is not input, after data 1 is sent, transmission circuit 1
The next read pulse prepares to send the next data, but at this time there is no data to be sent in the FiFo memory circuit 4. This is because after data 1 has been transmitted, the output port A has also become "L" and the oscillation circuit 5 has also stopped oscillating, and no input is given to the transmission start input Ss of the transmission circuit 1, but the transmission circuit This is because 1 itself is transmitted twice, so the first transmission is followed by the second transmission. Therefore, since the data output of the FiFo memory circuit 4 is all "L", the data sent at this time is also all "0" data, and there is a problem that this mode of transmission data "0" cannot be used. It is. Thus, the second invention of the present invention, an embodiment of which is shown in FIG. 8, is provided in order to solve the problems of the first invention as described above. Since data transmission is performed each time, data transmission problems like those according to the first invention do not occur.

第10図は上記第2発明に係る別の実施態様を
示すものであつて、第8図実施例のものに対して
さらにリセツト回路7を付加し、前記書き込みパ
ルスが発生して後一定T時間内に次の書き込みパ
ルスが発生しないとき、FiFoメモリ回路4及び
分周回路6をリセツトするようにしたものであ
る。第11図は第10図回路の各部の波形を示し
たものであり、a及びbはキースキヤン回路3か
らFiFoメモリ回路4へ与えられるデータ及び書
き込みパルスであり、cは分周回路6の出力パル
ス、dはFiFoメモリ回路4の出力ポートAの出
力パルス、eはアンドゲート13の出力パルス、
fは伝送回路1、モデム9より伝送される伝送デ
ータ、gは伝送回路1よりFiFoメモリ回路4へ
与えられる読み出しパルス、hは発振回路5の発
振出力パルス、iはFiFoメモリ回路4から伝送
回路1へ与えられるデータ、jはリセツト回路7
からFiFoメモリ回路4及び分周回路6へ与えら
れるリセツトパルスであり、リセツトはアクテイ
ブハイである。かくてこの第10図実施例回路
は、第8図実施例回路のものの場合、データ伝送
を行なうためのキー操作が奇数個のときには
FiFoメモリ回路4に最後のデータが残つたまま
であり、次のキー操作を行なつたときに最初に伝
送され受信側でのデータ判定で誤りを発生するお
それがあることに鑑みて提供されたものであり、
前述のようにキースキヤン回路3から一定時間書
き込みパルスが出力されないことによつて、リセ
ツト回路7内のコンデンサ両端電圧が所定電圧に
達し、分周回路6及びFiFoメモリ回路4をリセ
ツトする。このようにすることにより一定時間以
上キー操作が行なわれなければ分周回路6の出力
を“L”とし、FiFoメモリ回路4のメモリ内容
も全てクリアしてしまうので伝送残りのデータは
なくなり、続くキー操作によるデータ伝送が正し
く行なわれるものである。
FIG. 10 shows another embodiment according to the second invention, in which a reset circuit 7 is further added to the embodiment of FIG. The FiFo memory circuit 4 and the frequency dividing circuit 6 are reset when the next write pulse does not occur within the same period. FIG. 11 shows the waveforms of each part of the circuit in FIG. 10, where a and b are the data and write pulses given from the key scan circuit 3 to the FiFo memory circuit 4, and c is the output pulse of the frequency divider circuit 6. , d is the output pulse of the output port A of the FiFo memory circuit 4, e is the output pulse of the AND gate 13,
f is the transmission data transmitted from the transmission circuit 1 and modem 9, g is the read pulse given from the transmission circuit 1 to the FiFo memory circuit 4, h is the oscillation output pulse of the oscillation circuit 5, and i is the transmission data from the FiFo memory circuit 4 to the transmission circuit. 1, j is the reset circuit 7
This is a reset pulse given to the FiFo memory circuit 4 and the frequency divider circuit 6 from 0 to 1, and the reset is active high. Thus, in the case of the circuit of the embodiment shown in FIG. 8, the circuit of the embodiment shown in FIG.
This was provided in consideration of the fact that the last data remains in the FiFo memory circuit 4, and when the next key operation is performed, it is transmitted first and may cause an error in data judgment on the receiving side. It is a thing,
As described above, when the write pulse is not output from the key scan circuit 3 for a certain period of time, the voltage across the capacitor in the reset circuit 7 reaches a predetermined voltage, and the frequency divider circuit 6 and the FiFo memory circuit 4 are reset. By doing this, if no key operation is performed for a certain period of time, the output of the frequency divider circuit 6 will be set to "L", and all the memory contents of the FiFo memory circuit 4 will be cleared, so there will be no remaining data to be transmitted, and the process will continue. Data transmission through key operations is performed correctly.

第12図は本発明の第3発明に係る実施例を示
すものであつて、第2発明に係る第8図実施例の
ものに対し、デコード回路8を付加したものであ
る。第13図は第12図回路の各部の波形を示し
たものであり、同図中a及びbは夫々キースキヤ
ン回路3からFiFoメモリ回路4へ与えられるデ
ータ及び書き込みパルスであり、cは分周回路6
の出力パルス、dはFiFoメモリ回路4の出力ポ
ートAの出力パルス、eはデコード回路8よりの
デコード出力であり、ここではデータ3のみデコ
ードされている例を示した。また同図fはアンド
ゲート13の出力パルス、gは伝送回路1及びモ
デム9より伝送される伝送データであり、ここで
はデータ3の後に無関係なデータ0が伝送されて
いる。さらにhは伝送回路1からFiFoメモリ回
路4へ与えられる読み出しパルス、iは発振回路
5の発振出力であり、jはFiFoメモリ回路4か
ら伝送回路1へ与えられるデータである。この第
12図の回路は、前述の第2発明に係る第8図実
施例の回路のものの場合、入力データ2個毎にデ
ータ伝送を行う構成であるため、伝送終了データ
が奇数番目の入力データであるような場合に、こ
の伝送終了データが伝送されないことがある問題
を有するため、かかる問題点を解消するべく提供
されたものである。しかしてこの第12図実施例
回路にあつては、デコード回路8はキースキヤン
回路3からの出力コードのうち伝送終了コードの
みをデコードする(ここではデータ3が伝送終了
コードの例を示した)ものであり、デコード回路
8の出力により分周回路6をセツトし、分周回路
6の出力が“1”の場合でもデコード回路8によ
り出力を“H”に強制的にかえる。このようにす
ることによりデータ3が出力された場合は常に分
周回路6の出力は“H”となり、このときFiFo
メモリ回路4の出力ポートAは“H”となつてい
るので、アンドゲート13の出力は“H”とな
り、発振回路5は発振し、伝送回路1は必ずデー
タ3を伝送する。このデータ3のデータが入力デ
ータの奇数番目のデータであればデータ3を送つ
た後にさらにデータ0が第13図gのように送ら
れるが、このときのデータ0は伝送終了コードで
あるデータ3の後にあるので、本来伝送すべきデ
ータ0とは区別できる。また伝送終了コードのデ
ータ3の伝送が偶数番であれば第8図実施例の場
合と同様に問題なくデータが伝送されるものであ
る。
FIG. 12 shows an embodiment according to the third invention of the present invention, in which a decoding circuit 8 is added to the embodiment of FIG. 8 according to the second invention. Figure 13 shows the waveforms of each part of the circuit in Figure 12, where a and b are the data and write pulses given from the key scan circuit 3 to the FiFo memory circuit 4, respectively, and c is the frequency divider circuit. 6
, d is the output pulse of the output port A of the FiFo memory circuit 4, and e is the decoded output from the decoding circuit 8. Here, an example is shown in which only data 3 is decoded. Further, in the figure, f is the output pulse of the AND gate 13, and g is the transmission data transmitted from the transmission circuit 1 and modem 9, in which irrelevant data 0 is transmitted after data 3. Furthermore, h is a read pulse given from the transmission circuit 1 to the FiFo memory circuit 4, i is the oscillation output of the oscillation circuit 5, and j is data given from the FiFo memory circuit 4 to the transmission circuit 1. In the case of the circuit of the embodiment of FIG. 8 according to the second invention described above, the circuit of FIG. 12 has a configuration in which data transmission is performed every two pieces of input data, so that the transmission end data is the odd-numbered input data. In such a case, there is a problem that the transmission end data may not be transmitted, so this is provided to solve this problem. However, in the embodiment circuit of FIG. 12, the decoding circuit 8 decodes only the transmission end code among the output codes from the key scan circuit 3 (here, data 3 is an example of the transmission end code). The frequency dividing circuit 6 is set by the output of the decoding circuit 8, and even if the output of the frequency dividing circuit 6 is "1", the output is forcibly changed to "H" by the decoding circuit 8. By doing this, when data 3 is output, the output of the frequency divider circuit 6 becomes "H", and at this time, the FiFo
Since the output port A of the memory circuit 4 is at "H", the output of the AND gate 13 is at "H", the oscillation circuit 5 oscillates, and the transmission circuit 1 always transmits the data 3. If this data 3 is the odd-numbered data of the input data, after data 3 is sent, data 0 is further sent as shown in Figure 13g, but data 0 at this time is the transmission end code.Data 3 It can be distinguished from the data 0 that should originally be transmitted. Further, if the transmission end code data 3 is an even number, the data will be transmitted without any problem as in the embodiment of FIG.

〔発明の効果〕〔Effect of the invention〕

本発明の第1発明にあつては、伝送回路と、キ
ーマトリツクス回路と、キースキヤン回路と、先
入れ先出しバツフア回路(FiFoメモリ回路)と、
発振回路とを前述のように構成したものであるか
ら、連続するデータを効率良くかつ確実に順次伝
送することができ、しかもマイコンシステム等複
雑な回路構成を採用する必要がないため回路構成
が簡略化され、小型化及び安価化が実現できる効
果を有するものである。また第2発明にあつて
は、書き込みパルスを分周する分周回路を設けた
ものであるから、キー操作により何個かのデータ
が入力される毎にデータがまとめて伝送されるこ
とになり、データ伝送の間隔が1回のデータ伝送
時間より十分長いような場合においても何らの支
障をも生じることなく確実なデータ伝送を行うこ
とができる効果を有するものである。また第3発
明にあつては、キースキヤン回路出力を監視する
デコード回路を設けたものであるから、伝送すべ
きコードデータのうちの特定コードのデータを、
データ伝送の最後に伝送終了コードとして伝送す
るような場合にこの伝送終了コードの伝送が極く
確実かつ容易に行なわれるようになる効果を有す
るものである。
In the first aspect of the present invention, a transmission circuit, a key matrix circuit, a key scan circuit, a first-in first-out buffer circuit (FiFo memory circuit),
Since the oscillation circuit is configured as described above, continuous data can be efficiently and reliably transmitted sequentially, and the circuit configuration is simple because there is no need to employ a complicated circuit configuration such as a microcomputer system. This has the effect of realizing miniaturization and cost reduction. Further, in the second invention, since a frequency dividing circuit is provided to divide the frequency of the write pulse, the data is transmitted all at once each time several pieces of data are input by key operation. This has the advantage that even when the data transmission interval is sufficiently longer than the time for one data transmission, reliable data transmission can be performed without any trouble. Further, in the third invention, since a decoding circuit is provided to monitor the output of the key scan circuit, data of a specific code among the code data to be transmitted is
This has the effect that when a transmission end code is transmitted at the end of data transmission, the transmission end code can be transmitted extremely reliably and easily.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は一般的な遠隔制御装置の概略ブロツク
図、第2図は同上の伝送データのフオーマツト例
図、第3図は同上の伝送信号の波形図、第4図は
同上の送受信ブロツクのブロツク図、第5図は同
上第4図回路のタイムチヤート、第6図は本発明
の第1発明に係る実施例のブロツク図、第7図は
同上第6図回路のタイムチヤート、第8図は本発
明の第2発明に係る実施例のブロツク図、第9図
は同上第8図回路のタイムチヤート、第10図は
同上第2発明の別の実施態様のブロツク図、第1
1図は同上第10図回路のタイムチヤート、第1
2図は本発明の第3発明に係る実施例の回路図、
第13図は同上第12図回路のタイムチヤートで
あり、1は伝送回路、2はキーマトリツクス回
路、3はキースキヤン回路、4は先入れ先出しバ
ツフア回路(FiFoメモリ回路)、5は発振回路、
6は分周回路、7はリセツト回路、8はデコード
回路である。
Fig. 1 is a schematic block diagram of a general remote control device, Fig. 2 is an example of the format of the transmission data shown above, Fig. 3 is a waveform diagram of the transmission signal shown above, and Fig. 4 is a block diagram of the transmission/reception block shown above. 5 is a time chart of the circuit shown in FIG. 4, FIG. 6 is a block diagram of an embodiment of the first embodiment of the present invention, FIG. 7 is a time chart of the circuit shown in FIG. 6, and FIG. A block diagram of an embodiment according to the second invention of the present invention, FIG. 9 is a time chart of the circuit shown in FIG. 8, FIG. 10 is a block diagram of another embodiment of the second invention, and FIG.
Figure 1 is the time chart of the circuit shown in Figure 10 of the same page.
2 is a circuit diagram of an embodiment according to the third invention of the present invention,
FIG. 13 is a time chart of the circuit shown in FIG. 12, where 1 is a transmission circuit, 2 is a key matrix circuit, 3 is a key scan circuit, 4 is a first-in first-out buffer circuit (FiFo memory circuit), 5 is an oscillation circuit,
6 is a frequency dividing circuit, 7 is a reset circuit, and 8 is a decoding circuit.

Claims (1)

【特許請求の範囲】 1 制御データの伝送に先立つて制御データを読
み込み伝送開始入力にストローブパルスが入力さ
れたときデータ伝送を開始するとともに1回のデ
ータ伝送毎に伝送終了パルスを出力する伝送回路
と、伝送データを入力するためのキーマトリツク
ス回路と、このキーマトリツクス回路のデータを
エンコードするキースキヤン回路と、キースキヤ
ン回路の出力を順次入力しかつ順次出力する先入
れ先出しバツフア回路と、この先入れ先出しバツ
フア回路の出力により発振を制御されその出力を
上記伝送回路に入力する発振回路とを具備して成
ることを特徴とするデータ伝送装置。 2 制御データの伝送に先立つて制御データを読
み込み伝送開始入力にストローブパルスが入力さ
れたときデータ伝送を開始するとともに1回のデ
ータ伝送毎に伝送終了パルスを出力する伝送回路
と、伝送データを入力するためのキーマトリツク
ス回路と、このキーマトリツクス回路のデータを
エンコードするキースキヤン回路と、キースキヤ
ン回路の出力を順次入力しかつ順次出力する先入
れ先出しバツフア回路と、キースキヤン回路から
先入れ先出しバツフア回路に入力される書き込み
パルスを分周する分周回路と、この分周回路の出
力と先入れ先出しバツフア回路の出力とのアンド
出力により発振を制御されその出力を上記伝送回
路に入力する発振回路とを具備して成ることを特
徴とするデータ伝送装置。 3 キースキヤン回路からの書き込みパルスが一
定時間発生しないとき分周回路及び先入れ先出し
バツフア回路をリセツトするリセツト回路を具備
して成ることを特徴とする特許請求の範囲第2項
記載のデータ伝送装置。 4 制御データの伝送に先立つて制御データを読
み込み伝送開始入力にストローブパルスが入力さ
れたときデータ伝送を開始するとともに1回のデ
ータ伝送毎に伝送終了パルスを出力する伝送回路
と、伝送データを入力するためのキーマトリツク
ス回路と、このキーマトリツクス回路のデータを
エンコードするキースキヤン回路と、キースキヤ
ン回路の出力を順次入力しかつ順次出力する先入
れ先出しバツフア回路と、キースキヤン回路から
先入れ先出しバツフア回路に入力される書き込み
パルスを分周する分周回路と、この分周回路の出
力と先入れ先出しバツフア回路の出力とのアンド
出力により発振を制御されその出力を上記伝送回
路に入力する発振回路と、上記キースキヤン回路
のデータ出力を監視し特定データ出力が検出され
たとき上記分周回路を強制的にセツトするデコー
ド回路とを具備して成ることを特徴とするデータ
伝送装置。
[Claims] 1. A transmission circuit that reads control data prior to transmission of control data, starts data transmission when a strobe pulse is input to a transmission start input, and outputs a transmission end pulse for each data transmission. , a key matrix circuit for inputting transmission data, a key scan circuit for encoding the data of this key matrix circuit, a first-in first-out buffer circuit for sequentially inputting and outputting the output of the key scan circuit, and this first-in first-out buffer circuit. 1. An oscillation circuit whose oscillation is controlled by the output of the oscillation circuit and whose output is input to the transmission circuit. 2 A transmission circuit that reads control data before transmitting control data, starts data transmission when a strobe pulse is input to the transmission start input, and outputs a transmission end pulse for each data transmission, and a transmission circuit that inputs the transmission data. a key matrix circuit for encoding data from the key matrix circuit; a key scan circuit for encoding the data of the key matrix circuit; a first-in, first-out buffer circuit for sequentially inputting and sequentially outputting the output of the key scan circuit; It comprises a frequency dividing circuit that divides the frequency of the write pulse, and an oscillation circuit whose oscillation is controlled by an AND output of the output of the frequency dividing circuit and the output of the first-in, first-out buffer circuit, and whose output is input to the transmission circuit. A data transmission device characterized by: 3. The data transmission device according to claim 2, further comprising a reset circuit that resets the frequency divider circuit and the first-in first-out buffer circuit when a write pulse from the key scan circuit is not generated for a certain period of time. 4 A transmission circuit that reads control data before transmitting control data, starts data transmission when a strobe pulse is input to the transmission start input, and outputs a transmission end pulse for each data transmission, and a transmission circuit that inputs the transmission data. a key matrix circuit for encoding data from the key matrix circuit; a key scan circuit for encoding the data of the key matrix circuit; a first-in, first-out buffer circuit for sequentially inputting and sequentially outputting the output of the key scan circuit; A frequency dividing circuit that divides the frequency of the write pulse, an oscillation circuit that controls oscillation by AND outputting the output of this frequency dividing circuit and the output of the first-in first-out buffer circuit, and inputs the output to the transmission circuit, and data of the key scan circuit. 1. A data transmission device comprising: a decoding circuit that monitors an output and forcibly sets the frequency dividing circuit when a specific data output is detected.
JP57220504A 1982-12-15 1982-12-15 Data transmitter Granted JPS59110248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57220504A JPS59110248A (en) 1982-12-15 1982-12-15 Data transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57220504A JPS59110248A (en) 1982-12-15 1982-12-15 Data transmitter

Publications (2)

Publication Number Publication Date
JPS59110248A JPS59110248A (en) 1984-06-26
JPH03822B2 true JPH03822B2 (en) 1991-01-09

Family

ID=16752066

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57220504A Granted JPS59110248A (en) 1982-12-15 1982-12-15 Data transmitter

Country Status (1)

Country Link
JP (1) JPS59110248A (en)

Also Published As

Publication number Publication date
JPS59110248A (en) 1984-06-26

Similar Documents

Publication Publication Date Title
US5077552A (en) Interface for coupling audio and video equipment to computer
US4914618A (en) Asynchronous serial communications apparatus with variable length stop bit generation capability
JPH03822B2 (en)
US4071889A (en) Central processing apparatus for generating and receiving time division multiplex signals
JPS6040749B2 (en) serial transmission device
US4034404A (en) Signal combining system for binary pulse signals
US4809303A (en) Dynamic speed shifter for fiber optic work station
US4255813A (en) Dicode transmission system
JPH079470Y2 (en) Asynchronous / synchronous code converter
JPH0628844Y2 (en) Data transceiver
KR0164101B1 (en) Signal frame communication apparatus for communication between subscriber interface and terminal in optical cable television transmitting network
JPS6228901B2 (en)
JP3246096B2 (en) Self-diagnosis device for digital equipment
RU1839255C (en) Device for information interchange
US5268931A (en) Data communication system
JPH0718194Y2 (en) Data transceiver
JPH05327811A (en) Modulator-demodulator
SU363198A1 (en) DEVICE FOR TRANSFORMING A FREQUENCY MODULATED SIGNAL
JPS63234454A (en) Reproducing system of sampling clock for decoding
KR940008107B1 (en) Data transmitting apparatus
SU1439611A1 (en) Device for interfacing computer with subscriber through telegraph channel
KR0128896B1 (en) Apparatus of remote transeiver with cascade connection
KR940004573B1 (en) High speed data processor
SU550631A1 (en) Device for information exchange
JPH021423B2 (en)