JPS61125259A - Receiving device - Google Patents

Receiving device

Info

Publication number
JPS61125259A
JPS61125259A JP59244644A JP24464484A JPS61125259A JP S61125259 A JPS61125259 A JP S61125259A JP 59244644 A JP59244644 A JP 59244644A JP 24464484 A JP24464484 A JP 24464484A JP S61125259 A JPS61125259 A JP S61125259A
Authority
JP
Japan
Prior art keywords
signal
data
pulse
pulse interval
circuit
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.)
Granted
Application number
JP59244644A
Other languages
Japanese (ja)
Other versions
JPH0576819B2 (en
Inventor
Takashi Sato
隆 佐藤
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP59244644A priority Critical patent/JPS61125259A/en
Publication of JPS61125259A publication Critical patent/JPS61125259A/en
Publication of JPH0576819B2 publication Critical patent/JPH0576819B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a receiving device with simple circuit which is able to receive the transmitted data accurately and is stable against frequency variation and noise by making the system to receive a pulse signal that expresses the binary data by the variation of pulse spacing. CONSTITUTION:The demodulation signal (a) of a demodulating circuit 5 is constituted by the synchronizing signal of comparatively long pulse spacing and the 8-bit data that follows the synchronizing signal and expresses the binary data with its varied pulse spacing. And, the synchronizing signal of which pulse spacing is longer than that of the data pulse by n-times of it, is detected. Based on the pulse spacing of this synchronizing signal, a space which is longer than 1/n(m>n) of this pulse spacing is made '1' (or '0'), one that is shorter than the 1/n length is made '0' (or '1'), by which signal the system performs its decision, and obtains a binary data of specified number of bits.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は受信装置に関する。[Detailed description of the invention] [Technical field of invention] The present invention relates to a receiving device.

〔従来技術〕[Prior art]

たとえば、従来のラジオコントロール玩具において、受
信装置に送信されるコントロールデータの形式の1つと
して、パルス位置変調方式がある。
For example, in conventional radio-controlled toys, one of the formats of control data transmitted to a receiving device is a pulse position modulation method.

このパルス位置変調方式によるコントロールデータは、
所定のパルス間隔をもつ2つのパルス信号によって表現
される同期信号と、この同期信号につづいて、たとえば
3チヤンネルのコントロールを行う場合には、所定のパ
ルス間隔を夫々おいて第1チヤンネルのaパルス、次い
で第2チヤンネルのbパルス、次いで第3チヤンネルの
Cパルスを含むデータ信号とから成っている。
The control data using this pulse position modulation method is
A synchronization signal expressed by two pulse signals with a predetermined pulse interval, and following this synchronization signal, when controlling three channels, for example, the a pulse of the first channel is expressed with a predetermined pulse interval between each. , then a second channel B pulse, and then a third channel C pulse.

そして送信機の操作レバーの操作位置に応じて上記a、
b、Qの各パルスの位置がリニアに変化し、これに対し
受信装置の方では、albXCの各パルスの位置に1対
1に対応した関係を設定されているモータの回転数、回
転方向などを制御するコントロールデータを受信して、
玩具が駆動される。
Then, depending on the operating position of the operating lever of the transmitter, the above a.
The position of each pulse of b and Q changes linearly, whereas the receiving device changes the rotation speed, direction of rotation, etc. of the motor, which is set in a one-to-one relationship with the position of each pulse of albXC. receive control data to control the
The toy is driven.

〔従来技術の問題点〕[Problems with conventional technology]

しかし、上述した従来方式のものであると、パルスの位
置に応じてデータを表現しているのでチャンネル数が増
えると回路が著しく複雑になる問題、また送信側の周波
数変動やノイズに対し誤動作を起しやすい問題などがあ
る。
However, with the conventional method described above, data is expressed according to the position of the pulse, so as the number of channels increases, the circuit becomes extremely complex, and malfunctions occur due to frequency fluctuations and noise on the transmitting side. There are some problems that can easily occur.

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

この発明は簡単な回路で、周波数変動やノイズに強く、
送信データを正確に受信できる受信装置を提供すること
を目的とする。
This invention is a simple circuit, resistant to frequency fluctuations and noise,
An object of the present invention is to provide a receiving device that can accurately receive transmitted data.

〔発明の要点〕[Key points of the invention]

パルス間隔の長短により2進データの1″、・o・・を
表現したパルス信号を受信するもので、データパルスの
パルス間隔よりm(mは正数)倍長いパルス間隔の同期
信号を検出し、この同期信号のパルス間隔をもとに、こ
のパルス間隔の1/n(nは正数、m>n)より長いも
のを”1”(または”o”)、1 / nより短いもの
を′0”(または1″)として判断し、所定ビット数の
2進データを得るようにしたものである。
It receives a pulse signal that expresses binary data 1'', ...o, etc. by the length of the pulse interval, and detects a synchronization signal with a pulse interval m (m is a positive number) times longer than the pulse interval of the data pulse. , based on the pulse interval of this synchronization signal, those longer than 1/n (n is a positive number, m>n) of this pulse interval are designated as "1" (or "o"), and those shorter than 1/n are designated as "1" (or "o"). It is determined as '0'' (or 1'') and binary data of a predetermined number of bits is obtained.

〔実施例〕〔Example〕

以下、図面を参照してこの発明をラジオコントロール玩
具に適用した一実施例を説明する。
Hereinafter, an embodiment in which the present invention is applied to a radio-controlled toy will be described with reference to the drawings.

第1図は受信装置の回路構成を示す。図中、1は抵抗、
コンデンサが接続されたワンショット回路であり、受信
装置の電源スィッチをパワーオンしたとき、1発信号R
2を発生し、また後述するキャリー信号R3によってリ
セットされる。そして1発信号R2はSRRフリップフ
ロップ2をリセットする。このフリップフロップ2は後
述の信号READYによってセットされ、またそのセッ
ト出力信号は信号R1となる。
FIG. 1 shows the circuit configuration of the receiving device. In the figure, 1 is resistance,
It is a one-shot circuit with a capacitor connected, and when the receiver's power switch is turned on, a single signal R is generated.
2, and is reset by a carry signal R3, which will be described later. Then, the single-shot signal R2 resets the SRR flip-flop 2. This flip-flop 2 is set by a signal READY, which will be described later, and its set output signal becomes a signal R1.

一方、3はアンテナで、送信機から例えば周波数27.
145 (MHz )の信号に搬送されてくるコントロ
ールデータを受信し、高周波増幅器4を介し復調回路5
に与えられて復調され、信号aとなる。またこの復調回
路5は局部発振器6からの26.69 (MHz )の
信号を受けてスーパーへテロダイン方式による復調動作
を行う。
On the other hand, 3 is an antenna, which is transmitted from the transmitter at a frequency of, for example, 27.
The control data carried by the 145 (MHz) signal is received and sent to the demodulation circuit 5 via the high frequency amplifier 4.
It is demodulated and becomes signal a. Further, this demodulation circuit 5 receives a 26.69 (MHz) signal from the local oscillator 6 and performs a demodulation operation using a superheterodyne method.

ここで、第2図は上記信号aの信号波形の一例を示して
いる。そして、この信号aは先ず、比較的長い同期パル
ス信号のパルス間隔から成る同期信号と、この同期信号
に続き、且つパルス間隔の長短により2進データの11
″′、”0”が表現される8つのパルス間隔から成るデ
ータ信号(8ビツトデータ)とにより構成された信号で
ある。そして同期信号の周期は、たとえば30(mse
c)であるとすると、データ″1”はこの同期信号の周
期の1/4より大きい周期の10(msec)、データ
″0”は1/4より小さい周期の5(msθC〕の各パ
ルス間隔をもってそのデータパルス信号が発生する。ま
た何れのパルス信号のパルス幅はQ、5(meeo)、
データ周期はフントロールデータの内容によって変化す
るが、100〔m118Q)程度である。
Here, FIG. 2 shows an example of the signal waveform of the signal a. This signal a first consists of a synchronization signal consisting of a relatively long pulse interval of a synchronization pulse signal, and following this synchronization signal, and depending on the length of the pulse interval, 11 bits of binary data.
``'', a data signal (8-bit data) consisting of eight pulse intervals expressing "0".The period of the synchronization signal is, for example, 30 (msec).
c), data "1" is a pulse interval of 10 (msec) that is larger than 1/4 of the period of this synchronization signal, and data "0" is a pulse interval of 5 (msθC) that is smaller than 1/4. The data pulse signal is generated.The pulse width of each pulse signal is Q, 5 (meeo),
The data period varies depending on the content of the hunt roll data, but is approximately 100 [m118Q).

第1図にもどって、7はタイミング発生回路であり、局
部発振器6からの30(KHz)の信号を、上記信号a
の最初のパルス信号が入力したときから分周を開始して
、15(KHz)のりpツクOL2と、2.5 (KH
z )のクロックCL3とを出力する。
Returning to FIG. 1, 7 is a timing generation circuit, which converts the 30 (KHz) signal from the local oscillator 6 into the signal a.
When the first pulse signal of
z) clock CL3.

また信号aはSR型ラフリップフロップ8セット入力端
子Sに与えられるほか、容量5ビツトのシフトレジスタ
9に入力信号として与えられる。
Further, the signal a is applied to the input terminal S of 8 sets of SR type rough flip-flops, and is also applied as an input signal to a shift register 9 having a capacitance of 5 bits.

そしてこのシフトレジスタ9は、フリップフロップ8の
セット出力信号によってゲート制御されるアントゲ−)
10を介して出力される上記クロックOL2によってシ
フト駆動され、また各ビット出力は共にアンドゲート1
1に与えられ、その出力はクロックOLIとなる。そし
て、この5ビツトのシフトレジスタ9は15(KHz)
のクロックOL2によってシフ)駆動されるため、信号
aのパルス信号のパルス幅(”1”区間)を5回サンプ
リングすることによってノイズか、または正常なパルス
信号かを区別するために設けられたもので、正常なパル
ス信号であればクロックCL1が1発発生する。
This shift register 9 is an ant gate whose gate is controlled by the set output signal of the flip-flop 8.
10, and each bit output is driven by the AND gate 1.
1, and its output becomes the clock OLI. This 5-bit shift register 9 has a frequency of 15 (KHz)
This is provided to distinguish whether it is a noise or a normal pulse signal by sampling the pulse width ("1" section) of the pulse signal of the signal a five times. If the pulse signal is normal, one clock CL1 is generated.

クロックOLIは、後述するキャリー信号R3と共にオ
アゲート12を介しアリツブ70ツブ8をリセットする
と共に、ワンショット回路13に印加されて1発信号を
発生させる。この1発信号は8ビツトのカウンタ14お
よび8ビツトのラッチ15に夫々与えられるが、先ず、
その1発信号の立上がり時にカウンタ14のカウント値
がラッチ15にラッチされ、次いでその立下り時にカウ
ンタ14がリセットされる。
The clock OLI, along with a carry signal R3 to be described later, resets the block 70 and block 8 via the OR gate 12, and is applied to the one-shot circuit 13 to generate a one-shot signal. This one-shot signal is given to an 8-bit counter 14 and an 8-bit latch 15, respectively.
When the one-shot signal rises, the count value of the counter 14 is latched in the latch 15, and then when the one-shot signal falls, the counter 14 is reset.

カウンタ14はり四ツクOL3によりカウントアツプさ
れて信号aのパルス間隔をカウントするために設けられ
たもので、自身のキャリー信号R3および1発信号R2
が共にオアゲート16を介してクリア信号として印加さ
れる。
The counter 14 is provided to count up the pulse interval of the signal a by counting up the counter 14 by the four-wheel drive OL3.
are both applied as clear signals via the OR gate 16.

ラッチ15にラッチされたデータは、比較回路17のA
入力端子およびレジスタ18に夫々与えられる。そして
レジスタ18に取込まれたデータは更にゲート19を介
し比較回路17のB入力端子に与えられるほか、レジス
タ2oに与えられて1/4の大きさのデータに縮少され
たのちレジスタ20に与えられ、更にゲート21を介し
比較回路17のB入力端子に与えられる。
The data latched in the latch 15 is transferred to A of the comparator circuit 17.
The input terminal and the register 18 are respectively provided. The data taken into the register 18 is further applied to the B input terminal of the comparator circuit 17 via the gate 19, and is also applied to the register 2o where it is reduced to 1/4 the size of the data and then sent to the register 20. It is further applied to the B input terminal of the comparator circuit 17 via the gate 21.

ここで、レジスタ18は、信号aの同期信号のパルス間
隔を表わすデータを保持し、またレジスタ20は、デー
タの1”、”Q”を区別する基準となる同期信号のパル
ス間隔の1/4の値のデータを保持するために設けられ
ているもので、その具体的回路は第3図に示すようにな
っている。
Here, the register 18 holds data representing the pulse interval of the synchronizing signal of the signal a, and the register 20 holds data representing 1/4 of the pulse interval of the synchronizing signal, which is a reference for distinguishing between data 1" and "Q". The specific circuit is shown in FIG. 3.

即ち、第3図に示すようにレジスタ18の出力データの
上位6ビツトがレジスタ20の下位6ビツトに与えられ
、且つレジスタ20の上位2ビツトには0”データ(接
地レベル)が常に与えられている。
That is, as shown in FIG. 3, the upper six bits of the output data of the register 18 are given to the lower six bits of the register 20, and the upper two bits of the register 20 are always given 0'' data (ground level). There is.

比較回路17はA、B入力端子の各データを比較してA
)Bのときには1nの信号gを発生し、信号aからのデ
ータ内容として、アンドゲート22を介し8ビツトのシ
フトレジスタ23のL8Bに供給される。このシフトレ
ジスタ23はクロックOLIによって右シフトされるた
め、そのL8Bに順次入力されてくる信号aによる8ビ
ツトのデータを順次上位側にシフトしてゆき、またその
データはラッチ24に供給される。そして、このラッチ
24は8ビツト分のデータがラッチ24に入力したとき
出力される信号READYによってその8ビツトデータ
をラッチし、モータ駆動回路((1図示せず)等へ送っ
て回転制御等に利用される。
The comparison circuit 17 compares each data of the A and B input terminals and
)B, a signal g of 1n is generated, and is supplied to L8B of the 8-bit shift register 23 via the AND gate 22 as the data content from the signal a. Since the shift register 23 is shifted to the right by the clock OLI, the 8-bit data according to the signal a that is sequentially input to L8B is shifted to the upper side, and the data is supplied to the latch 24. Then, this latch 24 latches the 8-bit data in response to a signal READY that is output when 8-bit data is input to the latch 24, and sends it to a motor drive circuit (1 not shown) etc. for rotation control etc. used.

また図中、25はワンショット回路で、信号R1と後述
の信号すとを入力するアンドゲート26のアンド出力、
および信号gをオアゲート27を介して与えられると、
1発信号を発生する。そして、その1発信号の立上り時
にレジスタ18はラッチ15の出力データをラッチする
。なお、このレジスタ18は信号R2の入力によりクリ
アされる。
Further, in the figure, 25 is a one-shot circuit, and an AND output of an AND gate 26 which inputs the signal R1 and a signal S to be described later.
and signal g is given via OR gate 27,
Generates a single signal. Then, at the rising edge of the one-shot signal, the register 18 latches the output data of the latch 15. Note that this register 18 is cleared by inputting the signal R2.

更にワンショット回路25からの1発信号はインバータ
28を介しワンショット回路29に与えられ、このワン
ショット回路29から更に1発信号が出力され、レジス
タ20にデータをラッチさせる。
Further, the one-shot signal from the one-shot circuit 25 is applied to the one-shot circuit 29 via the inverter 28, and one-shot signal is further outputted from the one-shot circuit 29, causing the register 20 to latch the data.

更に、図中30は9進カウンタで、クロックC0LIに
よりカウントアツプされて信号aの各パルス信号をカウ
ントする。そして、そのカウント値が「0」のとき信号
すが1”として出力し、また「1」〜「8」のとき信号
Cが1”として出力し、更に「8」→「O」ヘリセット
されルトき信号a (READY)が1″として出力さ
れる。
Further, numeral 30 in the figure is a 9-ary counter, which is counted up by the clock C0LI and counts each pulse signal of the signal a. Then, when the count value is "0", the signal C is output as 1", and when it is between "1" and "8", the signal C is output as 1", and furthermore, "8" → "O" is reset. The reset signal a (READY) is output as 1''.

信号すおよび、信号R1をインバータ32を介した信号
は共にオアゲート31に与えられてゲート19に制御信
号θとして供給される。また信号Cおよび信号R1はア
ンドゲート33に与えられ、またその出力は制御信号で
としてゲート21に供給される。更に信号Cは信号R1
と共に更にアンドゲート22に与えられている。
The signal R1 and the signal R1 passed through the inverter 32 are both applied to the OR gate 31 and supplied to the gate 19 as the control signal θ. Further, the signal C and the signal R1 are applied to an AND gate 33, and the output thereof is applied to the gate 21 as a control signal. Furthermore, signal C is signal R1
It is also applied to the AND gate 22.

また9進カウンタ30は、信号gおよび、信号R1をイ
ンバータ35を介した信号を共に入力するアンドゲート
34の出力をリセット信号りとして印加されている。
Further, the 9-ary counter 30 receives the output of an AND gate 34 which inputs both the signal g and the signal R1 via an inverter 35 as a reset signal.

〔実施例の動作〕[Operation of the embodiment]

次に上記実施例の動作を説明する。送信機側の操作レバ
ーが操作されると、例えば第2図に示すような同期信号
と8ビツトデータとを与えるための高周波信号が送信さ
れてアンテナ3により受信されるようになる。そして上
記信号aの同期信号と8ビツトデータとは、100(m
100(程度の間隔で連続的に発生する。
Next, the operation of the above embodiment will be explained. When the operating lever on the transmitter side is operated, a high frequency signal for providing a synchronizing signal and 8-bit data, as shown in FIG. 2, for example, is transmitted and received by the antenna 3. The synchronization signal and 8-bit data of the signal a are 100 (m
Occurs continuously at intervals of about 100.

また、受信装置のパワーオン時において先ス、ワンショ
ット回路1が1発信号R2を発生し、カウンタ14をク
リアし、レジスタ18もクリアされ、更に同時に7リツ
プ70ツブ2がリセットされてその信号R1が0”とな
る。また第1図中のその他の回路も夫々初期設定される
Furthermore, when the receiving device is powered on, the one-shot circuit 1 first generates a single signal R2, which clears the counter 14 and the register 18. At the same time, the 7-rip 70-rub 2 is reset and the signal R2 is generated. R1 becomes 0''. Other circuits in FIG. 1 are also initialized.

次に復調回路5から、第2図の信号aの最初の同期信号
を成す1発目の同期パルス信号”1′′が出カスると7
リツプフロツブ8がセットされ、またシフトレジスタ9
はそのLSBにデータ″1”が供給され、更にタイミン
グ発生回路7は信号aの入力によりクロックCL2、C
L3を夫々出力開始する。そのためクロックOL2がフ
リップフロップ8のセット出力により開成されたアント
ゲ−)10を介しシフトレジスタ9をシフトさせるよう
になる。そして、同期パルス信号はノイズより充分なパ
ルス幅をもった信号であるから、クロックCL2が5発
出力するとシフトレジスタ9の全ビットに「1」が書込
まれ、アンドゲート11からクロックOLIが1発、発
生し、フリップフo 77’ 8 ttリセットし、ま
た同時にワンショット回路13から1発信号が発生する
Next, when the first synchronization pulse signal "1", which constitutes the first synchronization signal of the signal a in FIG. 2, is output from the demodulation circuit 5,
Lip flop 8 is set, and shift register 9
is supplied with data "1" to its LSB, and furthermore, the timing generation circuit 7 generates clocks CL2 and C by inputting the signal a.
Start outputting L3 respectively. Therefore, the clock OL2 shifts the shift register 9 through the analog gate 10 which is opened by the set output of the flip-flop 8. Since the synchronizing pulse signal is a signal with a pulse width that is more sufficient than that of noise, when the clock CL2 is output five times, "1" is written to all bits of the shift register 9, and the clock OLI is set to 1 from the AND gate 11. The one-shot signal is generated from the one-shot circuit 13, and the flip-flop o 77' 8 tt is reset.

そのためラッチ15はカウンタ14のカウント値「0」
をラッチし、それを比較回路17のA入力端子およびレ
ジスタ18に与え、次いでカウンタ14はクリアされる
。そして、いまの場合、信号R1が“0”であり、且つ
信号す力げ1”であることによってゲート19が開成し
、且つゲート21が閉成している。またカウンタ14は
上述のクリア後、クロックOL3のカウントを開始する
Therefore, the latch 15 is set to the count value "0" of the counter 14.
is latched and applied to the A input terminal of comparison circuit 17 and register 18, and then counter 14 is cleared. In this case, the gate 19 is opened and the gate 21 is closed because the signal R1 is "0" and the signal R1 is "0", and the gate 21 is closed. , starts counting the clock OL3.

次に、第2図の上述した最初の同期信号を成す2発目の
同期パルス信号が信号aとして出力すると、フリップフ
ロップ8が再びセットされる。そのため上述同様にして
、クロックOL2が5発分出力すると1発のクロックO
LIが発生し、フリップ70ツブ8をリセットさせ、ま
たワンショット回路13から1発信号が出力して、ラッ
チ15はこの1発信号の立上がりに同期してカウンタ1
4のそのときのカウント値(即ち、上記最初の同期信号
のパルス間隔を表わすデータである)をラッチし、次い
で上記1発信号の立下がりに同期してカウンタ14がク
リアされる。そしてラッチ15にラッチされたカウント
値は比較回路17のへ入力端子に与えられ、またカウン
タ14は次のカウント動作をはじめる。
Next, when the second synchronizing pulse signal forming the above-mentioned first synchronizing signal in FIG. 2 is output as signal a, the flip-flop 8 is set again. Therefore, in the same manner as described above, when clock OL2 outputs five clocks, one clock O
LI is generated, the flip 70 knob 8 is reset, and the one shot signal is output from the one shot circuit 13, and the latch 15 starts the counter 1 in synchronization with the rise of this one shot signal.
The current count value of 4 (that is, data representing the pulse interval of the first synchronizing signal) is latched, and then the counter 14 is cleared in synchronization with the fall of the one-shot signal. The count value latched by the latch 15 is then applied to the input terminal of the comparison circuit 17, and the counter 14 starts the next counting operation.

比較回路17のB入力端子にはこのときゲート19から
データ「0」が入力しているため、その比較結果はA>
Bとなって信号gが′1″′として出力される。そのた
めワンショット回路25から1発信号が発生してレジス
タ18に上記最初の同期信号のパルス間隔を表わすカウ
ント値が取込まれ、開成中のゲート19を介して比較回
路17のB入力端子に与えられ、またレジスタ20には
上記カウント値の174のデータが取込まれる。
Since data "0" is input from the gate 19 to the B input terminal of the comparator circuit 17 at this time, the comparison result is A>
B, and the signal g is output as '1''. Therefore, one shot signal is generated from the one-shot circuit 25, and the count value representing the pulse interval of the above-mentioned first synchronization signal is taken into the register 18. It is applied to the B input terminal of the comparison circuit 17 through the gate 19 in the middle, and the data of the count value 174 is taken into the register 20.

−4,9進カウンタ30には上記2発目のクロックCL
1が印加されるが、′1”の信号gの出力といま信号R
1がMO”のため9進カウンタ30は再びリセットされ
てそのカウント値はrOJのままである。
-4, the 9-decimal counter 30 has the above second clock CL.
1 is applied, but the output of the signal g of '1' and the current signal R
Since 1 is MO'', the 9-ary counter 30 is reset again and its count value remains rOJ.

次に、第2図に示す最初の同期信号に続く8ビツトデー
タのデータ″1”を表わす最初のデータパルス信号が信
号aとして発生すると、既に述べたこと同様にしてクロ
ックOLIが発生し、したがってワンショット回路13
から1発信号が発生する。そのためラッチ15にはデー
タ″1″のパルス間隔を表わすカウント値がラッチされ
て比較回路17のA入力端子、レジスタ18に与えられ
る。そして比較回路17の比較動作は、A入力端子の上
記データ″1″のパルス間隔に対するカウント値と、B
入力端子への同期信号のパルス間隔に対する最大のカウ
ント値との間で行われることになり、そのためA(Bと
なって信号gはこの場合、′0″となる。そのためこの
場合には、ワンショット回路25からの1発信号の発生
はなく、したがってレジスタ18はデータ″1”のカウ
ント値を取り込まず、その内容は同期信号のカラント値
のまま変化しない。
Next, when the first data pulse signal representing data "1" of the 8-bit data following the first synchronization signal shown in FIG. 2 is generated as signal a, the clock OLI is generated in the same manner as described above, and therefore One shot circuit 13
A single signal is generated. Therefore, a count value representing the pulse interval of data "1" is latched in the latch 15 and applied to the A input terminal of the comparison circuit 17 and the register 18. The comparator circuit 17 compares the count value for the pulse interval of the data "1" at the A input terminal and the B
The signal g is '0' in this case. No one-shot signal is generated from the shot circuit 25, so the register 18 does not take in the count value of data "1", and its contents remain unchanged as the current value of the synchronizing signal.

また信号gが今回は0″″のため、リセット信号りはO
”で9進カウンタ30はリセットされず、上記クロック
OLIをカウントしてそのカウント値は「0」から「1
」へ+1される。そのため以後、信号すが”0”となり
、信号Cのみが1”となるが、信号R1力(Wonのた
め、ゲート19が開成し、且つゲート21が閉成してい
る状態は変化しない。
Also, since the signal g is 0'' this time, the reset signal is O
”, the 9-digit counter 30 is not reset, and the clock OLI is counted, and the count value changes from “0” to “1”.
” will be +1. Therefore, from then on, the signal S becomes "0" and only the signal C becomes "1", but the state in which the gate 19 is open and the gate 21 is closed does not change because the signal R1 (Won).

続いて第2図の8ビツトデータのデータ゛0″、lI+
、”O”、0”、1”、”1”、” 1 ”を夫々表わ
す2発目〜8発目のデータパルス信号が夫々出力すると
きの動作も、上述した1発目のデータパルス信号の出力
時と全く同様であり、そのため信号gはその都度゛0”
として出力し、同時に9進カウンタ30は+1づつされ
て「]」がら「8」まで変化する。そして「8コとなる
と9進カウンタ30は「0」にリセットされるから、信
号ek (READY )がR1”として出力される。
Next, data “0”, lI+ of the 8-bit data in FIG.
, "O", 0", 1", "1", and "1" respectively. It is exactly the same as when outputting, so the signal g is ``0'' each time.
At the same time, the 9-decimal counter 30 is incremented by 1, changing from "]" to "8". Then, since the 9-ary counter 30 is reset to "0" when it reaches 8, the signal ek (READY) is output as R1.

その結果、フリップフロップ2がセットされて信号′R
1は以後″1”となり、これに応じて以後は信号gに関
係なくリセット信号りは出力しない。
As a result, flip-flop 2 is set and the signal 'R
1 becomes "1" thereafter, and accordingly, no reset signal is outputted thereafter regardless of the signal g.

以上で、最初の同期信号と8ビツトデータに対する受信
動作が終了するが、この間、信号R1がR0”でアンド
ゲート22は閉成しており、したがってシフトレジスタ
23には無効なデータが入力するのみであり、勿論、ラ
ッチ24にもこの無効データがラッチされるが、最初で
あるからモータは初期設定動作を行うのみである。
With the above, the reception operation for the first synchronization signal and 8-bit data is completed, but during this time, the AND gate 22 is closed because the signal R1 is R0'', and therefore only invalid data is input to the shift register 23. Of course, this invalid data is also latched in the latch 24, but since it is the first time, the motor only performs the initial setting operation.

そして2発目の同期信号が出力したときに、比較回路1
7では、レジスタ18に最初に取込んだ同期信号に対す
るカウント値との比較を行うが、一般には両カウント値
は略等しいから、レジスタ18は最初のカウント値を保
持しつづける。またこの同期信号どうしの比較動作時に
は信号すが”1″であるから、シフトレジスタ23には
何のデータも入力しない。
Then, when the second synchronization signal is output, the comparator circuit 1
In step 7, a comparison is made with the count value for the synchronization signal first taken into the register 18, but since both count values are generally approximately equal, the register 18 continues to hold the first count value. Further, during this comparison operation of the synchronizing signals, since the signal is "1", no data is input to the shift register 23.

次いで2発目の同期信号に対する8ビツトデータの最初
の1″のデータを示すデータパルス信号が出力すると、
そのとき9進カウンタ30はクロックCL1をカウント
してそのカウント値が「1」となり、信号Cがしたがっ
てR1”となって、同時に信号R1力げ1”であるがら
アンドゲート33から′1”が出力されてゲート21が
開成し、且つオアゲートからR0”が出力されてゲート
19が閉成する。そのため、このときには比較回路17
のB入力端子には、レジスタ20によってレジスタ18
のカウント値(即ち、同期信号のパルス間隔に対するカ
ウント値〕を1/4に縮少した、データ′°1”、“0
”を判別する基準となるカウント値が入力している。そ
して比較回路17のA入力端子には2進データの1″に
相当するパルス間隔に対応するカウント値が入力してい
る。
Next, when a data pulse signal indicating the first 1'' of 8-bit data is output in response to the second synchronization signal,
At that time, the 9-ary counter 30 counts the clock CL1 and the count value becomes "1", and the signal C therefore becomes R1", and at the same time, although the signal R1 is 1", the AND gate 33 outputs '1'. When the signal is output, the gate 21 is opened, and R0'' is output from the OR gate, and the gate 19 is closed. Therefore, at this time, the comparison circuit 17
The B input terminal of
data '°1', '0', which is obtained by reducing the count value of
A count value serving as a reference for determining " is inputted. A count value corresponding to a pulse interval corresponding to binary data 1" is inputted to the A input terminal of the comparator circuit 17.

したがって、このときの比較結果はA)Bとなり、信号
gは”1”として出力されて開成中のアンドゲート22
を介しシフトレジスタ23のLSBにデータ″1”とし
て取込まれる。
Therefore, the comparison result at this time is A)B, and the signal g is output as "1" to the AND gate 22 which is being opened.
The data is taken in as data "1" to the LSB of the shift register 23 via.

次に2発目の同期信号に対する8ビツトデータの2番目
のデータ′″0”のデータパルス信号が発生すると、そ
のとき9進カウンタ30は+1され一1グー て「2」となり、信号Cを引続きR1”として出力する
。そのため比較回路17では、A入力端子へのデータ”
OI+に対するカウント値と、B入力端子への上記1/
4の縮少データとの比較が行われ、而してこの場合には
A(Bとなり、信号gは60″として出力される。その
ためシフトレジスタ23のLSBにこのデータ″0”が
取込まれ、先のデータ″1”は2ビツト目にシフトされ
る。
Next, when a data pulse signal of ``0'', which is the second data of the 8-bit data in response to the second synchronization signal, is generated, the 9-ary counter 30 is incremented by 1 and becomes ``2'', and the signal C is It continues to be output as "R1". Therefore, in the comparator circuit 17, the data to the A input terminal "
Count value for OI+ and above 1/ to B input terminal
A comparison is made with the reduced data of 4, and in this case it becomes A(B, and the signal g is output as 60". Therefore, this data "0" is taken into the LSB of the shift register 23. , the previous data "1" is shifted to the second bit.

以下、3ビツト目〜8ビツト目のデータ″I I+、t
oll、No”、′1”、′1″、R1”についても全
く同様な動作が実行され、この間、9進カウンタ30は
+1づつされてゆき、また上記の各データはシフトレジ
スタ23に順次取込まれる。
Below, the data from the 3rd bit to the 8th bit "I I+, t
Exactly the same operation is performed for "oll, No", "1", "1", and R1", and during this time, the 9-ary counter 30 is incremented by 1, and each of the above data is sequentially fetched into the shift register 23. be included.

そしてすべて取込まれると信号READYがR1”とな
るから、シフトレジスタ23内の8ビツトデータはラッ
チ24にラッチされ、モータ駆動回路へ送られて対応す
る制御が実行される。
When all the data are taken in, the signal READY becomes R1'', so the 8-bit data in the shift register 23 is latched by the latch 24, and sent to the motor drive circuit to execute the corresponding control.

パワーオン後の3発目の同期信号とその8ビツトデータ
に対する受信動作は上述した2発目のときと全く同じで
ある。そして、同期信号のパルス間隔が途中で変動して
も、そのときの比較回路17の今回の変動した同期信号
と前回までの同期信号の各パルス間隔の大小関係から、
信号gは”1”か0”として発生し、若しも1mであれ
ばパルス間隔が少し大きくなったのであるから、そのあ
らたなものが以後、レジスタ18に取込まれ、またレジ
スタ20によって174に縮少されてデータ″1”、O
nの判定に使われるから、したがって信号aの周波数変
動があっても即座に対応可能となる。
The reception operation for the third synchronization signal and its 8-bit data after power-on is exactly the same as the second synchronization signal described above. Even if the pulse interval of the synchronization signal fluctuates on the way, based on the magnitude relationship between the current fluctuating synchronization signal of the comparison circuit 17 and each pulse interval of the previous synchronization signal,
The signal g is generated as "1" or 0, and if it is 1 m, the pulse interval has become a little larger, so the new one is taken into the register 18, and the register 20 outputs 174. The data is reduced to ``1'', O
Since it is used to determine n, even if there is a frequency fluctuation of signal a, it can be dealt with immediately.

更に、パワーオフされるなどして信号aがなくなると、
カウンタ14がキャリー信号R3を発生したとき、全回
路がリセットされる。
Furthermore, if the power is turned off and signal a disappears,
When counter 14 generates carry signal R3, all circuits are reset.

なお、上述の実施例ではこの発明をラジオコントロール
玩具の受信装置に適用したが、勿論、これに限られるも
のではなく、他の機器の受信装置に利用してもよい。
In the above-described embodiments, the present invention is applied to a receiving device for a radio-controlled toy, but the present invention is of course not limited to this, and may be applied to a receiving device for other equipment.

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

以上説明したように、この発明は、パルス間隔の長短に
より2進データの“1″、”0”を表現したパルス信号
を受信するもので、データパルスのパルス間隔よりm(
mは正数)倍長いパルス間隔の同期信号を検出し、この
同期信号のパルス間隔をもとに、このパルス間隔の1 
/ n (nは正数、m>n)より長いものを1”(ま
たは”On)、1 / nより短いものを0”(または
11”)として判断し、所定ビット数の2進データを得
るようにした受信装置であるから、データのビット数が
増えても回路は何ら複雑にならず、また送信側の変調波
の周波数変動やノイズの影響も受けにくくなる利点があ
る。
As explained above, the present invention receives a pulse signal expressing binary data "1" and "0" by the length of the pulse interval, and the pulse interval of the data pulse is m(
m is a positive number) A synchronization signal with a pulse interval that is twice as long is detected, and based on the pulse interval of this synchronization signal, one of this pulse interval is
/ n (n is a positive number, m>n) longer than 1" (or "On"), shorter than 1 / n as 0" (or 11"), and binary data of a predetermined number of bits is Since the receiving device is designed to obtain the same data, the circuit does not become complicated even if the number of data bits increases, and it also has the advantage of being less susceptible to frequency fluctuations and noise of the modulated wave on the transmitting side.

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

第1図はこの発明の一実施例による受信装置の回路構成
図、第2図は復調されたコントロールデータの波形図、
第3図はシフトレジスタ18.20の接続関係図である
。 1.13.25.29・・・・・・ワンショット回路、
2.8・・・・・・フリップフロップ、5・川・・復調
回路、6・・・・・・局部発振器、7・・・・・・タイ
ミング発生回路、9.23・・・・・・シフトレジスタ
、14.30・・・・・・カウンタ、15.24・・・
・・・ラッチ、18.20・・・・・・レジスタ、17
・・・・・・比較回路、19.21・・・・・・ゲート
FIG. 1 is a circuit configuration diagram of a receiving device according to an embodiment of the present invention, FIG. 2 is a waveform diagram of demodulated control data,
FIG. 3 is a connection diagram of the shift registers 18 and 20. 1.13.25.29...One-shot circuit,
2.8... Flip-flop, 5... Demodulation circuit, 6... Local oscillator, 7... Timing generation circuit, 9.23... Shift register, 14.30... Counter, 15.24...
...Latch, 18.20 ...Register, 17
...Comparison circuit, 19.21...Gate.

Claims (1)

【特許請求の範囲】[Claims] 所定パルス間隔をもった同期パルス信号列から成る同期
信号およびこの同期信号につづくデータを表わすデータ
パルス信号列から成るデータ信号を受信してこの信号を
復調する復調手段と、この復調手段の出力から上記同期
信号のパルス間隔およびこの同期信号につづくデータの
各パルス間隔を検出する検出手段と、この検出手段によ
って検出された上記同期信号のパルス間隔をもとに、上
記検出手段によって検出された上記データの各パルス間
隔のうち上記同期信号のパルス間隔の1/n(nは正数
)より大きいものを2進データの“1”(または“0”
)、1/nより小さいものを“0”(または“1”)と
して判断する判断手段とから成る受信装置。
demodulating means for receiving a synchronizing signal consisting of a synchronizing pulse signal train having a predetermined pulse interval and a data signal consisting of a data pulse signal train representing data following the synchronizing signal and demodulating the signal; and an output of the demodulating means. a detection means for detecting the pulse interval of the synchronization signal and each pulse interval of data following the synchronization signal; and a detection means for detecting the pulse interval of the synchronization signal detected by the detection means; Among each pulse interval of the data, those larger than 1/n (n is a positive number) of the pulse interval of the synchronizing signal are set as "1" (or "0") of binary data.
), and determining means that determines a value smaller than 1/n as "0" (or "1").
JP59244644A 1984-11-21 1984-11-21 Receiving device Granted JPS61125259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59244644A JPS61125259A (en) 1984-11-21 1984-11-21 Receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59244644A JPS61125259A (en) 1984-11-21 1984-11-21 Receiving device

Publications (2)

Publication Number Publication Date
JPS61125259A true JPS61125259A (en) 1986-06-12
JPH0576819B2 JPH0576819B2 (en) 1993-10-25

Family

ID=17121811

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59244644A Granted JPS61125259A (en) 1984-11-21 1984-11-21 Receiving device

Country Status (1)

Country Link
JP (1) JPS61125259A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006325191A (en) * 2005-04-22 2006-11-30 Matsushita Electric Ind Co Ltd Communication apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59122050A (en) * 1982-12-28 1984-07-14 Kanto Denshi Kiki Hanbai Kk Data transmitter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59122050A (en) * 1982-12-28 1984-07-14 Kanto Denshi Kiki Hanbai Kk Data transmitter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006325191A (en) * 2005-04-22 2006-11-30 Matsushita Electric Ind Co Ltd Communication apparatus
US8315292B2 (en) 2005-04-22 2012-11-20 Panasonic Corporation Communication apparatus

Also Published As

Publication number Publication date
JPH0576819B2 (en) 1993-10-25

Similar Documents

Publication Publication Date Title
US6434194B1 (en) Combined OOK-FSK/PPM modulation and communication protocol scheme providing low cost, low power consumption short range radio link
US4312075A (en) Timing-phase recovery circuit
JPS59112747A (en) Binary data receiver
KR0135087B1 (en) Method and apparatus for demodulating a biphase signal
US4334319A (en) Battery-powered receivers
US4292626A (en) Manchester decoder
US4177453A (en) Digital remote control system with improved noise immunity
US4575684A (en) Differential phase shift keying receiver
JPS63296425A (en) Communication system
KR920017379A (en) Receiver automatic frequency control method and apparatus for implementing the method
CA1092242A (en) Method and apparatus for digital data transmission in television receiver remote control systems
US4809299A (en) Frequency independent information transmission system
GB1479028A (en) Data transmission systems
JPS61125259A (en) Receiving device
US4486715A (en) Frequency shift key demodulator
US4499425A (en) Phase velocity sign detector for frequency shift key demodulation
US3968324A (en) Circuit arrangement for synchronizing the letters/figures levels of several input and output devices in teleprinters
JPH05183593A (en) Delay detection circuit
US5781064A (en) Digital filtering system for filtering digital outputs of a four level FSK demodulator
JPS602820B2 (en) Code reception method
JPS6353745B2 (en)
CA1319405C (en) Frequency independent information transmission system
KR100526937B1 (en) Differential Code Generator
JPH04123550A (en) A/d conversion system for data signal
JPS5814107B2 (en) Received data detection method in data transmission

Legal Events

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