JPH0823355A - Transmitter-receiver - Google Patents

Transmitter-receiver

Info

Publication number
JPH0823355A
JPH0823355A JP6175931A JP17593194A JPH0823355A JP H0823355 A JPH0823355 A JP H0823355A JP 6175931 A JP6175931 A JP 6175931A JP 17593194 A JP17593194 A JP 17593194A JP H0823355 A JPH0823355 A JP H0823355A
Authority
JP
Japan
Prior art keywords
bit
signal
time
unit
time length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6175931A
Other languages
Japanese (ja)
Inventor
Yuichi Umeda
裕一 梅田
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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric 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 Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP6175931A priority Critical patent/JPH0823355A/en
Priority to TW083110501A priority patent/TW256900B/zh
Priority to GB9722590A priority patent/GB2317254B/en
Priority to GB9722589A priority patent/GB2317253B/en
Priority to GB9423676A priority patent/GB2284478B/en
Priority to GB9722591A priority patent/GB2316482B/en
Priority to DE4442107A priority patent/DE4442107C2/en
Publication of JPH0823355A publication Critical patent/JPH0823355A/en
Priority to US08/716,977 priority patent/US6014129A/en
Priority to US08/717,445 priority patent/US5963194A/en
Pending legal-status Critical Current

Links

Landscapes

  • Light Guides In General And Applications Therefor (AREA)
  • Dc Digital Transmission (AREA)
  • Optical Communication System (AREA)

Abstract

PURPOSE:To attain a high rate of data transmission and to enhance the reliability of data discrimination in the transmitter-receiver employing infrared rays or the like. CONSTITUTION:A high level and a low level of a transmission signal in pairs form a unit bit while the waveform of the transmission signal is shaped. When a time length of each bit is T, a ''0'' of a binary signal is expressed and when a time length of each bit is 2T, a '1' of a binary signal is expressed. Furthermore, the time length of each bit is discriminated by measuring a period of a reference bit B0 and a 1st bit B1. Since the time length of the reference bit B0 is predetermined, the time length of the 1st bit B1 is discriminated. Then the period of the 1st bit B1 and a 2nd bit B2 is measured. Since the time length of the 1st bit is already discriminated, the time length of the 2nd bit is discriminated. Coding is made efficient by using each of the high level and the low level for a bit and the reliability of the discrimination is enhanced by discriminating the bit through the measurement of periods.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば座標入力用の入
力装置から本体機器に座標情報などの信号を赤外線送信
などの無線送信にて送受信する際に使用される送受信装
置に係り、特に高速で信頼性の高い信号の送受信を可能
にした送受信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmitter / receiver used for transmitting / receiving a signal such as coordinate information from an input device for inputting coordinates to a main unit by wireless transmission such as infrared transmission, and particularly to a high-speed transmission / reception device. The present invention relates to a transmission / reception device that enables highly reliable signal transmission / reception.

【0002】[0002]

【従来の技術】図11は、コンピュータやゲーム装置な
どの装置本体に設けられた画面1に対し、座標位置を遠
隔にて入力できるようにした入力装置3を示している。
この装置は、特願平5−317479号の明細書および
図面に記載されたものと同じである。図11において、
符号1はコンピュータやAV機器などの装置本体のCR
T画面である。CRT画面1の上には発光装置2が固定
され、この発光装置2には、参照光を発する光源2aが
設けられている。入力装置3の先部には、図12に示す
構造の検出部4が設けられている。この検出部4には受
光部5が設けられ、その前方には絞り部6および可視光
カットフィルタ7が設けられている。
2. Description of the Related Art FIG. 11 shows an input device 3 capable of remotely inputting coordinate positions on a screen 1 provided in a device body such as a computer or a game device.
This device is the same as that described in the specification and drawings of Japanese Patent Application No. 5-317479. In FIG.
Reference numeral 1 is a CR of a device body such as a computer or an AV device
It is a T screen. A light emitting device 2 is fixed on the CRT screen 1, and the light emitting device 2 is provided with a light source 2a that emits reference light. At the tip of the input device 3, the detection unit 4 having the structure shown in FIG. 12 is provided. The detector 4 is provided with a light receiver 5, and in front of it a diaphragm 6 and a visible light cut filter 7 are provided.

【0003】上記絞り部6の開口中心に直交する光軸を
Z軸とすると、このZ軸は入力装置3の中心に沿ってそ
の前方に向かう軸となる。図13に示すように、前記受
光部5は4分割受光部5a,5b,5c,5dを有する
ピンホトダイオードにより構成されている。前記Z軸に
直交するX−Y直交座標をとると、分割受光部の5a,
5bの組と5c,5dの組はY軸方向に分割され、5
b,5dの組と5a,5cの組はX軸方向に分割されて
いる。
When the optical axis orthogonal to the center of the aperture of the diaphragm 6 is the Z-axis, the Z-axis is the axis extending forward along the center of the input device 3. As shown in FIG. 13, the light receiving portion 5 is composed of a pin photodiode having four divided light receiving portions 5a, 5b, 5c and 5d. Taking the XY orthogonal coordinates orthogonal to the Z axis, 5a of the divided light receiving unit,
The set of 5b and the set of 5c and 5d are divided in the Y-axis direction, and
The group of b, 5d and the group of 5a, 5c are divided in the X-axis direction.

【0004】絞り部6は矩形状の開口を有しており、光
源2aから発せられる赤外光は、受光部5に対し矩形ス
ポット光αとして照射される。それぞれの分割受光部5
a〜5dでは、スポット光αの照射面積に基づいた検出
電流が得られる。各分割受光部5a〜5dでのスポット
光αの照射面積に基づく検出出力を、それぞれLu,R
u,Ld,Rdとしたとき、このそれぞれの検出出力に
関し、Y軸方向に分割された分割受光部の組での受光出
力の差と、X軸方向に分割された分割受光部の組での受
光出力の差を演算することにより、入力装置3の前方に
延びるZ軸の二次元方向への傾き(θx,θy)を求め
ることができる。これにより、画面1上に現れるカーソ
ルマーク8の移動などを入力できるようにしたものであ
る。この種の入力装置3では、上記の演算により得られ
たX方向の座標情報とY方向の座標情報とを画面1を有
する装置本体に伝送する必要がある。この伝送手段すな
わち伝送のための送受信装置として赤外線発光を利用し
たものが考えられる。
The aperture section 6 has a rectangular opening, and the infrared light emitted from the light source 2a is applied to the light receiving section 5 as rectangular spot light α. Each divided light receiving section 5
In a to 5d, the detection current based on the irradiation area of the spot light α is obtained. The detection output based on the irradiation area of the spot light α at each of the divided light receiving units 5a to 5d is Lu, R respectively.
Assuming u, Ld, and Rd, regarding the respective detection outputs, the difference between the light receiving output in the group of divided light receiving portions divided in the Y axis direction and the difference in the light receiving output in the group of divided light receiving portions divided in the X axis direction. By calculating the difference between the received light outputs, the inclination (θx, θy) of the Z axis extending in front of the input device 3 in the two-dimensional direction can be obtained. Thereby, the movement of the cursor mark 8 appearing on the screen 1 can be input. In this type of input device 3, it is necessary to transmit the coordinate information in the X direction and the coordinate information in the Y direction obtained by the above calculation to the device body having the screen 1. As the transmission means, that is, a transmission / reception device for transmission, one using infrared light emission can be considered.

【0005】図14は従来の家庭用電気製品に用いられ
ている赤外線遠隔操作装置に採用されている送信信号の
一例を示している。遠隔操作装置からは、図14に示す
波形の信号が赤外線により発信される。家庭用電気製品
などの機器本体では、この赤外線が受光され、受光信号
が波形整形される。波形整形された矩形波信号から送信
データが判別される。図14に示す送信信号は所定周波
数のキャリア信号が位相変調されたものである。この送
信信号の先頭には高レベルが所定時間長t1となり次に
所定時間t2にて低レベルとなるリーダーコード10の
次に、送信データに基づく信号11が連続する。信号1
1は2進信号の「1」と「0」を表現したものである。
赤外線送受信の場合、従来は図15(A)に示すよう
に、高レベルの時間長が単位時間Tでこれに続く低レベ
ルの時間長が単位時間Tのときに2進信号の「0」が表
現される。同図(B)に示すように、高レベルの時間長
が単位時間Tで、続く低レベルの時間長が単位時間Tの
3倍の3Tとなったときに2進信号の「1」が表現され
ている。
FIG. 14 shows an example of a transmission signal adopted in an infrared remote control device used in a conventional household electric appliance. A signal having the waveform shown in FIG. 14 is emitted from the remote control device by infrared rays. The infrared rays are received by a device such as a household electric appliance, and the received light signal is waveform-shaped. Transmission data is discriminated from the rectangular wave signal whose waveform has been shaped. The transmission signal shown in FIG. 14 is a carrier signal of a predetermined frequency that is phase-modulated. At the head of this transmission signal, a signal 11 based on the transmission data follows the leader code 10 whose high level becomes the predetermined time length t1 and then becomes the low level at the predetermined time t2. Signal 1
1 represents the binary signals "1" and "0".
In the case of infrared transmission / reception, conventionally, as shown in FIG. 15 (A), when a high-level time length is a unit time T and a low-level time length that follows is a unit time T, a binary signal "0" is output. Expressed. As shown in FIG. 7B, when the high-level time length is the unit time T and the subsequent low-level time length is 3T, which is three times the unit time T, the binary signal "1" is expressed. Has been done.

【0006】[0006]

【発明が解決しようとする課題】上記従来の赤外線を使
用した送受信装置では、図15(A)に示すように2進
信号の「0」が単位時間Tの2倍の「2T」により表現
され、同図(B)に示すように2進信号の「1」が単位
時間の4倍の「4T」により表現される。よって「1」
または「0」を表現する単位ビットの時間長は、最短で
「2T」、最長で「4T」の時間長となる。したがっ
て、1ビットを表現するための時間長は平均で「3T」
となる。このように1ビットを表現するために「3T」
の時間長を要することになると、一定のデータ群を送信
するのに時間が長く必要になる。図11ないし図13に
示す入力装置3および画面1を有する装置本体とに、上
記の伝送データを使用した赤外線送信装置を使用した場
合、入力装置3から装置本体への座標入力情報の伝送レ
ートが遅くなりすぎ、画面1でのカーソルマーク8の高
速移動などに対応できなくなる。
In the conventional transmitter / receiver using infrared rays, the binary signal "0" is represented by "2T" which is twice the unit time T, as shown in FIG. 15 (A). , A binary signal "1" is represented by "4T" which is four times the unit time. Therefore, "1"
Alternatively, the time length of a unit bit representing "0" is "2T" at the shortest and "4T" at the longest. Therefore, the time length for expressing 1 bit is "3T" on average.
Becomes In order to express 1 bit in this way, "3T"
Therefore, it takes a long time to transmit a certain data group. When the infrared transmitting device using the above-mentioned transmission data is used for the device body having the input device 3 and the screen 1 shown in FIGS. 11 to 13, the transmission rate of the coordinate input information from the input device 3 to the device body is It becomes too slow, and it becomes impossible to cope with high-speed movement of the cursor mark 8 on the screen 1.

【0007】図14と図15に示す送信フォーマットを
使用しさらに赤外線送受信での伝送レートを高速化する
ためには、キャリア信号の周波数を高くし、またパルス
幅(前記単位時間長T)をきわめて短くすることが必要
になる。ただし、キャリア信号の周波数を高くするため
には入力装置3側の発信装置を従来のものとは異なる高
精度のものにしなくてはならなくなる。また短いパルス
幅の判別を行うためには、装置本体側の受信装置の判別
精度を高くしなくてはならなくなり、装置全体がコスト
の高いものとなる。
In order to further increase the transmission rate in infrared transmission / reception using the transmission formats shown in FIGS. 14 and 15, the frequency of the carrier signal is increased and the pulse width (the unit time length T) is extremely increased. It needs to be shortened. However, in order to increase the frequency of the carrier signal, it is necessary to make the transmitter on the input device 3 side highly accurate, which is different from the conventional one. Further, in order to discriminate a short pulse width, it is necessary to increase the discrimination accuracy of the receiving device on the apparatus main body side, and the cost of the entire device becomes high.

【0008】本発明は上記従来の課題を解決するもので
あり、送信装置から受信装置への送信信号を高速度にて
且つ高い信頼度にて伝送できるようにした送受信装置を
提供することを目的としている。
The present invention is to solve the above-mentioned conventional problems, and an object thereof is to provide a transmitting / receiving apparatus capable of transmitting a transmission signal from a transmitting apparatus to a receiving apparatus at high speed and with high reliability. I am trying.

【0009】[0009]

【課題を解決するための手段】本発明は、位相変調した
信号を送信する送信装置と、受信した前記信号を波形整
形する波形整形部および波形整形された信号の高レベル
の時間と低レベルの時間とから2進信号の「1」「0」
を判別する判別部を有する受信装置とから成る送受信装
置において、前記判別部では、波形整形された矩形波信
号が高レベルのときの時間と低レベルのときの時間が単
位時間Tであるか単位時間Tの整数倍であるか計測さ
れ、高レベル時と低レベル時のそれぞれを単位ビットと
して各ビットごとに2進信号の「1」または「0」の判
別がなされることを特徴とするものである。
SUMMARY OF THE INVENTION The present invention is directed to a transmitter for transmitting a phase-modulated signal, a waveform shaping section for shaping the received signal, and a high level time and low level of the waveform shaped signal. Binary signal "1""0" from time
In the transmitting / receiving device including a receiving device having a discriminating unit for discriminating the time, in the discriminating unit, a time when the waveform-shaped rectangular wave signal is at a high level and a time when the waveform is rectangular are a unit time T It is characterized in that it is measured as an integer multiple of the time T, and a binary signal of "1" or "0" is discriminated for each bit with each of the high level time and the low level time being a unit bit. Is.

【0010】また、本発明は、位相変調した信号を送信
する送信装置と、受信した前記信号を波形整形する波形
整形部および波形整形された信号の高レベルの時間と低
レベルの時間とから2進信号の「1」「0」を判別する
判別部を有する受信装置とから成る送受信装置におい
て、前記信号は、高レベルのときと低レベルのときのそ
れぞれが単位ビットを形成し、各ビットが単位時間Tま
たは単位時間Tの整数倍であるかにより2進信号の
「1」または「0」が表現されており、前記判別部で
は、連続する高レベルと低レベルまたは連続する低レベ
ルと高レベルの2単位のビットの周期が計測され、この
周期内での前段のビットの2進信号の種別と前記周期と
から周期内での後段のビットの2進信号の種別が判別さ
れることを特徴とするものである。
Further, according to the present invention, there are provided a transmitting device for transmitting a phase-modulated signal, a waveform shaping section for shaping the waveform of the received signal, and a high level time and a low level time of the waveform shaped signal. In a transmission / reception device including a reception device having a discrimination unit for discriminating between "1" and "0" of a binary signal, the signal forms a unit bit at a high level and at a low level, and each bit forms a unit bit. The binary signal "1" or "0" is expressed depending on whether it is the unit time T or an integral multiple of the unit time T, and the discriminator determines a continuous high level and a low level or a continuous low level and a high level. The period of the bit of 2 units of the level is measured, and the type of the binary signal of the bit of the preceding stage within this period and the type of the binary signal of the bit of the subsequent stage within the period are determined from the above period. Features A.

【0011】上記両手段において、送信信号は例えば送
信装置に設けられた赤外線発光素子から発信され、受信
装置では、前記発光素子から発せられた赤外線信号を受
光する受光部と、この受光出力を波形整形する波形整形
部とが設けられる。波形整形された信号に対し高レベル
と低レベルの時間を計測する判別部は、自己タイマーま
たはクロック発振部を有し、このタイマーまたはクロッ
ク信号のカウントに基づいて前記時間を計測するもので
あり、例えばマイクロコンピュータのCPUを主体とし
たディジタル演算部である。
In both of the above means, the transmission signal is transmitted from, for example, an infrared light emitting element provided in the transmitting device, and in the receiving device, a light receiving portion for receiving the infrared signal emitted from the light emitting element, and a waveform of this light receiving output. A waveform shaping section for shaping is provided. The discriminating unit for measuring the high-level time and the low-level time for the waveform-shaped signal has a self-timer or a clock oscillating unit, and measures the time based on the count of the timer or the clock signal. For example, it is a digital operation unit mainly composed of a CPU of a microcomputer.

【0012】前記第2の手段において、信号の所定位置
に設けられた基準ビットの時間長と2進信号の種別とが
決められており、基準ビットの開始位置を始点として周
期が計測されることにより基準ビットに続く第1のビッ
トの2進信号の種別が判別され、次に第1のビットの開
始位置を始点として周期を計測することにより第2のビ
ットの2進信号の種別が判別され、これが繰返されるこ
とにより各ビットの2進信号の種別が判別されるものと
することが好ましい。
In the second means, the time length of the reference bit provided at a predetermined position of the signal and the type of the binary signal are determined, and the cycle is measured with the starting position of the reference bit as the starting point. Determines the type of the binary signal of the first bit following the reference bit, and then determines the type of the binary signal of the second bit by measuring the period starting from the start position of the first bit. It is preferable that the type of binary signal of each bit is determined by repeating this.

【0013】上記基準ビットは、例えばリーダーコード
の低レベルのビットであり、例えばこのビットの時間長
が2Tまたは4Tである。
The reference bit is, for example, a low-level bit of the reader code, and the time length of this bit is 2T or 4T, for example.

【0014】前記単位時間Tの整数倍は、例えば2倍で
あり、各ビットの時間長がTのときに2進信号の「0」
が表現され、時間長が「2T(Tの2倍を意味する)」
のときに2進信号の「1」が表現される。
An integer multiple of the unit time T is, for example, twice, and when the time length of each bit is T, a binary signal "0" is given.
Is expressed and the time length is "2T (means twice T)".
When, the binary signal "1" is expressed.

【0015】また、1群の信号内にパリティビットが設
けられ、このパリティビットは、矩形波信号の高レベル
の各ビットの2進信号の種別「1」が偶数であるか奇数
であるか、または低レベルの各ビットの2進信号の種別
「1」が偶数であるか奇数であるかを表現するものとす
ることが好ましい。この場合、高レベルの各ビットに対
応するパリティビットと、低レベルの各ビットに対応す
るパリティビットのいずれか一方のみ設けてもよいが、
1群の信号内に両方のパリティビットを設けることが好
ましい。このパリティビットは、前記各信号と同じであ
り、高レベルまたは低レベルの時間長が単位時間Tまた
は単位時間Tの整数倍(例えば「2T」)であるか否か
により「1」または「0」が表現されるものとなる。
Further, a parity bit is provided in one group of signals, and whether the parity bit is a binary signal type "1" of each high-level bit of the rectangular wave signal is an even number or an odd number, Alternatively, it is preferable to express whether the binary signal type “1” of each low-level bit is an even number or an odd number. In this case, only one of the parity bit corresponding to each high level bit and the parity bit corresponding to each low level bit may be provided.
It is preferable to have both parity bits in a group of signals. This parity bit is the same as each signal, and is "1" or "0" depending on whether the high-level or low-level time length is the unit time T or an integral multiple of the unit time T (for example, "2T"). Will be expressed.

【0016】上記各手段において、1群の信号の高レベ
ルと低レベルのそれぞれを単位とするビット数が奇数で
あることが好ましい。ただし1群の信号の先頭のビット
は高レベルのビットであり、最終のビットも高レベルの
ビットとなる。
In each of the above means, it is preferable that the number of bits in each of the high level and the low level of a group of signals is an odd number. However, the first bit of the signals of the first group is a high level bit, and the last bit is also a high level bit.

【0017】[0017]

【作用】上記手段では、受信装置にて受信した信号を波
形整形した矩形波において、この矩形波が高レベルのと
きと低レベルのときのそれぞれにて単位ビットが形成さ
れる。そして、高レベルのビットと低レベルのビットが
単位時間Tであるかあるいは単位時間Tの整数倍である
かにより、各ビットが2進信号の「1」であるか「0」
であるか判別される。「1」が単位時間Tの2倍の「2
T」で表現される場合、ビットの時間長の最長が「2
T」で最短が「T」である。よって1ビットが表現され
る平均時間長は「1.5T」である。図15に示す従来
例では、1ビットを表現する平均時間長が「3T」であ
るため、上記手段では、図15に示す従来例の2倍の符
号化効率を有することになる。したがって、図15に示
した信号フォーマットが適用される従来の赤外線の送受
信装置と同じ分解能のものを使用した場合でも、本発明
では、2倍の伝送レートを実現できることになる。
In the above means, in the rectangular wave obtained by waveform-shaping the signal received by the receiving device, the unit bit is formed when the rectangular wave is at the high level and when it is at the low level. Each bit is a binary signal "1" or "0" depending on whether the high-level bit and the low-level bit are the unit time T or an integer multiple of the unit time T.
Is determined. "1" is twice the unit time T "2"
When expressed by "T", the maximum bit length is "2".
The shortest is “T”. Therefore, the average time length in which 1 bit is expressed is “1.5T”. In the conventional example shown in FIG. 15, since the average time length for expressing 1 bit is “3T”, the above means has twice the encoding efficiency of the conventional example shown in FIG. Therefore, even when the same resolution as the conventional infrared transmitter / receiver to which the signal format shown in FIG. 15 is applied is used, the present invention can realize a double transmission rate.

【0018】次に、図15に示した従来の赤外線の送受
信装置における信号フォーマットでは単位時間Tが0.
5msec程度であったが、本発明では、単位時間Tを
0.2msec程度に短縮化して伝送レートをさらに高
速化することが可能である。単位時間Tを0.2mse
cなどに短縮化した場合に、例えば従来の赤外線送受信
ユニットを使用したときに、ビットの判別エラーが生じ
るおそれがある。
Next, in the signal format of the conventional infrared transmitter / receiver shown in FIG. 15, the unit time T is 0.
Although it was about 5 msec, in the present invention, the unit time T can be shortened to about 0.2 msec to further increase the transmission rate. Unit time T is 0.2 mse
When shortened to c or the like, for example, when a conventional infrared transmitting / receiving unit is used, a bit discrimination error may occur.

【0019】この場合の対応として、本発明では、高レ
ベルとこれに続く低レベルの周期、あるいは低レベルと
これに続く高レベルの周期を1周期ごとに時間計測し、
同じ周期内の前段のビットの「1」「0」を予め認識し
ておくことにより、1周期の時間長の計測に基づいて周
期内の後段のビットの2進信号の種別を判別できるよう
にしている。例えばリーダーコードの低レベルの信号を
基準ビットとし、その時間長を例えば「2T」に決めて
おく。この基準ビットの開始位置を始点として基準ビッ
トとこれに続く第1のビットの1周期の時間を計測すれ
ば、基準ビットの時間長が予め解っているので、第1の
ビットの2進信号の種別を判別できる。これを繰返し、
各周期ごとの時間長を計測して、それぞれのビットの2
進信号の種別を判別していく。
In order to deal with this case, according to the present invention, the high level and the subsequent low level cycle, or the low level and the subsequent high level cycle are time-measured for each cycle,
By previously recognizing "1" and "0" of the preceding bit in the same cycle, it is possible to determine the type of the binary signal of the subsequent bit in the cycle based on the measurement of the time length of one cycle. ing. For example, the low-level signal of the reader code is used as the reference bit, and its time length is set to, for example, "2T". The time length of the reference bit is known in advance by measuring the time of one cycle of the reference bit and the subsequent first bit with the start position of the reference bit as the starting point. Therefore, the binary signal of the first bit The type can be determined. Repeat this,
Measure the time length for each cycle and set 2 for each bit.
The type of the progress signal is determined.

【0020】赤外線を使用した信号を受信して波形整形
したものに対し、その時間長を判別する場合に、高レベ
ルの時間長と低レベルの時間長を個別に計測するより
も、高レベルと低レベルあるいは低レベルと高レベルの
1周期の時間長の計測の方が計測精度が高くなる。よっ
て1周期ごとの時間長の計測により各ビットの2進信号
の種別を判別することにより、判別エラー率を減少させ
ることができる。また1周期ごとの時間長の計測に基づ
くビットの判別は信頼度が高くなるため、単位時間Tの
時間長を例えば0.2msec程度に短縮化しても、ビ
ット判別精度が大きく低下することはない。
When a signal using infrared rays is received and waveform-shaped, the time length of the signal is judged to be high level rather than individually measuring the high level time length and the low level time length. The measurement accuracy is higher when the time length of one cycle of low level or low level and high level is measured. Therefore, the discrimination error rate can be reduced by discriminating the type of the binary signal of each bit by measuring the time length for each cycle. Further, since the reliability of the bit determination based on the measurement of the time length for each cycle is high, even if the time length of the unit time T is shortened to, for example, about 0.2 msec, the bit determination accuracy does not significantly decrease. .

【0021】また、本発明では、高レベルのビットの
「1」の数が偶数であるか奇数であるかを表現するパリ
ティビット、または低レベルのビットの「1」の数が偶
数であるか奇数であるかを表現するパリティビットの、
いずれか一方あるいは両パリティビットを1群の信号内
に含ませることにより、信号の判別の信頼度をさらに向
上させている。
Further, according to the present invention, whether the parity bit expressing whether the number of "1" of the high level bit is an even number or the odd number or the number of "1" of the low level bit is an even number. Of the parity bit that represents whether it is an odd number,
By including either one or both parity bits in one group of signals, the reliability of signal discrimination is further improved.

【0022】また、本発明の送信信号は高レベルと低レ
ベルの双方をそれぞれ単位ビットとしているので、1群
の信号の先頭のビットを高レベルとしておき且つ全ビッ
ト数を奇数とすれば、最終ビットは必ず高レベルのビッ
トとなって1群の信号が終了する。図14と図15に示
した従来の信号フォーマットでは、高レベルと低レベル
が1組となってビットを構成しているため、1群の信号
の最終は必ず低レベルにて終了する。したがって、図1
4に示すように1群の信号の最終位置に必ずストップビ
ット12を設ける必要があった。ところが本発明では、
ビット数を奇数にすることにより最終ビットが必ず高レ
ベルとなるため、最終ビットは不要である。したがっ
て、信号フォーマットを簡素化できることになる。
Since the transmission signal of the present invention uses both high level and low level as unit bits, if the first bit of a group of signals is set to high level and the total number of bits is odd, The bit always becomes a high level bit and the group of signals ends. In the conventional signal formats shown in FIG. 14 and FIG. 15, the high level and the low level form a set to form a bit, so that the last signal of a group of signals always ends at the low level. Therefore, FIG.
As shown in FIG. 4, the stop bit 12 must be provided at the final position of the signal of the first group. However, in the present invention,
Since the final bit is always at a high level by making the number of bits odd, the final bit is unnecessary. Therefore, the signal format can be simplified.

【0023】[0023]

【実施例】以下、本発明の実施例を図面を参照して説明
する。本実施例の送受信装置は、例えば図11ないし図
13に示すような、入力装置3から、画面1を有する装
置本体への情報(データ)の伝送のために使用されるも
のである。図11ないし図13に示すものでは、画面1
を有する装置本体側の光源2aからパルス変調された参
照光が発せられ、これが入力装置3に設けられた受光部
5の4分割受光部5a,5b,5c,5dにより検出さ
れる。入力装置3内には各分割受光部での受光量に基づ
く検出電流が電圧に変換され、この検出電圧に基づき
{(Ru+Rd)−(Lu+Ld)}/(Ru+Lu+
Rd+Ld)の演算、および{(Ru+Lu)−(Rd
+Ld)}/(Ru+Lu+Rd+Ld)の演算がなさ
れ、これにより入力装置3の前面から垂直に延びるZ軸
の画面1に対する角度θxとθyが検出され、画面1に
対するX−Y座標が検出される。
Embodiments of the present invention will be described below with reference to the drawings. The transmission / reception device of this embodiment is used for transmitting information (data) from the input device 3 to the device body having the screen 1 as shown in FIGS. 11 to 13, for example. The screen 1 shown in FIGS.
The pulse-modulated reference light is emitted from the light source 2a on the main body side of the device, and this is detected by the four-division light receiving parts 5a, 5b, 5c, 5d of the light receiving part 5 provided in the input device 3. In the input device 3, a detection current based on the amount of light received by each divided light receiving unit is converted into a voltage, and based on this detection voltage, {(Ru + Rd)-(Lu + Ld)} / (Ru + Lu +
Rd + Ld) operation and {(Ru + Lu) − (Rd
+ Ld)} / (Ru + Lu + Rd + Ld) is calculated, whereby the angles θx and θy of the Z axis extending vertically from the front surface of the input device 3 with respect to the screen 1 are detected, and the XY coordinates with respect to the screen 1 are detected.

【0024】入力装置3では、Z軸が画面に当たる位置
での画面上のX−Y座標が演算され、本実施例の送受信
装置によりこのX−Y座標に関する情報(座標データ)
が一定時間の間隔にて画面1を有する装置本体に送信さ
れる。装置本体側では、入力装置3から送信されたX−
Y座標の情報に基づき、例えば画面1に表示されたカー
ソルマーク8を移動させる。すなわち、入力装置3のZ
軸の向き(角度θxとθy)を画面1に対して変える
と、その向きの変更に応じて画面1上のカーソルマーク
8が移動する。これにより画面1上での作画が可能であ
るし、または画面1に表示された任意の位置にカーソル
マーク8を合せることも可能である。また入力装置3に
はクリックスイッチや他の操作スイッチ(操作部材)が
設けられており、各スイッチの操作情報(操作信号また
は操作データ)も装置本体に送信される。これにより例
えばカーソルマーク8を画面1上の任意の位置に合せ、
そのときに入力装置3のスイッチを操作することによ
り、画面1に表示されたスイッチマークへのONまたは
OFF入力なども可能になる。
The input device 3 calculates the XY coordinates on the screen at the position where the Z axis hits the screen, and the transmitting / receiving device of this embodiment calculates information (coordinate data) about the XY coordinates.
Are transmitted to the apparatus body having the screen 1 at regular time intervals. On the device body side, the X- transmitted from the input device 3
Based on the Y coordinate information, for example, the cursor mark 8 displayed on the screen 1 is moved. That is, Z of the input device 3
When the directions of the axes (angles θx and θy) are changed with respect to the screen 1, the cursor mark 8 on the screen 1 moves according to the change in the direction. Thereby, it is possible to draw on the screen 1 or to align the cursor mark 8 with an arbitrary position displayed on the screen 1. Further, the input device 3 is provided with a click switch and other operation switches (operation members), and the operation information (operation signal or operation data) of each switch is also transmitted to the apparatus body. With this, for example, the cursor mark 8 is aligned with an arbitrary position on the screen 1,
At that time, by operating the switch of the input device 3, it becomes possible to input ON or OFF to the switch mark displayed on the screen 1.

【0025】図8は、入力装置3側に設けられる送信装
置20の構成を示すブロック図である。送信装置20に
は、送信信号を生成する信号生成部21が設けられてい
る。前記分割受光部5a,5b,5c,5dの受光信号
に基づいて、入力装置3内の演算部にて演算がなされ、
画面1のX−Y座標に関する情報が生成されるが、この
情報に基づき、信号生成部では、伝送データがフォーマ
ット化される。キャリア信号生成部22は、発振回路と
分周回路などを有するものであり、一定の周波数のキャ
リア信号が生成される。位相変調部23では、前記キャ
リア信号が伝送データにより変調され、位相変調された
送信信号が生成される。この送信信号に基づき発光駆動
部24にて赤外線発光素子25が駆動され、赤外線によ
る送信信号が装置本体に向けて送信される。
FIG. 8 is a block diagram showing the configuration of the transmission device 20 provided on the input device 3 side. The transmitter 20 is provided with a signal generator 21 that generates a transmission signal. Based on the light receiving signals of the divided light receiving sections 5a, 5b, 5c, 5d, the calculation section in the input device 3 calculates.
Information about the XY coordinates of the screen 1 is generated, and the signal generator formats the transmission data based on this information. The carrier signal generation unit 22 has an oscillation circuit, a frequency divider circuit, and the like, and generates a carrier signal having a constant frequency. The phase modulator 23 modulates the carrier signal with transmission data to generate a phase-modulated transmission signal. The infrared light emitting element 25 is driven by the light emission drive section 24 based on this transmission signal, and the infrared transmission signal is transmitted toward the apparatus main body.

【0026】図9は、画面1を有する装置本体側に設け
られた受信装置30の構成を示すブロック図である。こ
の受信装置30は、前記送信装置20から赤外線にて発
せられた送信信号を受光する受光素子31と、この受光
素子31にて光電変換された検出電流を電圧に変換する
電流・電圧変換部32と、前記電圧を増幅する増幅部3
3と、前記電圧からキャリア信号の成分を除去する検波
部34と、検波部34での検波出力に基づいて増幅部3
3の増幅利得を制御するAGC(自動利得制御)部35
を有している。前記検波部34により検波された電圧波
形は、波形整形部36により波形整形され、判別部37
に送られる。
FIG. 9 is a block diagram showing the configuration of the receiving device 30 provided on the device main body side having the screen 1. The receiving device 30 includes a light receiving element 31 that receives a transmission signal emitted from the transmitting device 20 by infrared rays, and a current / voltage conversion unit 32 that converts the detected current photoelectrically converted by the light receiving element 31 into a voltage. And an amplification unit 3 for amplifying the voltage
3, a detection unit 34 for removing the component of the carrier signal from the voltage, and an amplification unit 3 based on the detection output of the detection unit 34.
AGC (automatic gain control) unit 35 for controlling the amplification gain of 3
have. The voltage waveform detected by the detection unit 34 is shaped by the waveform shaping unit 36, and the determination unit 37
Sent to

【0027】判別部37はマイクロコンピュータのCP
Uなど主体としたものであり、内蔵されたあるいは別に
設けられたクロック発生部からのクロック信号の周期を
基準として、波形整形された矩形波の高レベルの時間と
低レベルの時間あるいは周期が計測される。そして判別
部では、この計測値に基づいて2進信号の「1」と
「0」の種別が判別される。図5はキャリア信号生成部
22により生成されるキャリア信号(キャリア波)を示
している。キャリア信号は従来の家庭用電気製品などに
使用されている赤外線送受信ユニットに用いられるもの
と同じであり、例えば周波数fc=38.46kHz、
デューティー比0.31である。
The discriminator 37 is a CP of a microcomputer.
Mainly used by U and the like, the high-level time and low-level time or cycle of a rectangular wave whose waveform is shaped is measured with reference to the cycle of a clock signal from a built-in or separately provided clock generator. To be done. Then, the discriminating section discriminates the types of the binary signals “1” and “0” based on the measured values. FIG. 5 shows a carrier signal (carrier wave) generated by the carrier signal generation unit 22. The carrier signal is the same as that used in the infrared transmission / reception unit used in the conventional home electric appliances, for example, the frequency fc = 38.46 kHz,
The duty ratio is 0.31.

【0028】この実施例での送信信号の符号化について
説明する。図6に示すように、送信信号では、位相変調
された信号が高レベル(H)のときと低レベル(L)の
ときのそれぞれが単位ビットとなっており、例えば図6
では高レベルと低レベルの連続により4単位のビットB
a〜Bdが形成されている。各ビットでは2進信号の
「1」または「0」が表現される。高レベルと低レベル
のそれぞれのビットにおいて、その時間長が単位時間T
であるときにそのビットが表現する2進信号は「0」で
あり、時間長が単位時間Tの2倍の「2T」であるとき
にそのビットが表現する2進信号が「1」である。な
お、「1」を表現する時間長は「2T」に限られず、単
位時間Tの整数倍であれば、「3T」「4T」などであ
ってもよい。
The coding of the transmission signal in this embodiment will be described. As shown in FIG. 6, the transmission signal has unit bits when the phase-modulated signal is at a high level (H) and when it is at a low level (L).
Then, 4 units of bit B by the continuation of high level and low level
a to Bd are formed. Each bit represents a binary signal “1” or “0”. The time length of each of the high level and low level bits is the unit time T.
, The binary signal represented by the bit is “0”, and when the time length is “2T” which is twice the unit time T, the binary signal represented by the bit is “1”. . The time length expressing "1" is not limited to "2T", and may be "3T""4T" as long as it is an integral multiple of the unit time T.

【0029】図6の実施例では2進信号の「1」が「2
T」にて表現されている。したがって各ビットの最短の
時間長は「T」で最長の時間長は「2T」であり、1ビ
ットを表現するのに必要な平均時間長は「1.5T」で
ある。図15に示す従来の赤外線送信での符号化では、
1ビットを表現する平均時間長が「3T」である。した
がって図6と図15にて単位時間Tの長さが同じである
と仮定すると、図6に示す符号を使用すれば、図15に
示す符号化に比べ、符号化の効率を2倍にでき、データ
(信号)の伝送レートを2倍に高速化できることにな
る。
In the embodiment shown in FIG. 6, the binary signal "1" is "2".
It is represented by "T". Therefore, the shortest time length of each bit is "T", the longest time length is "2T", and the average time length required to represent one bit is "1.5T". In the conventional infrared transmission encoding shown in FIG.
The average time length for expressing 1 bit is “3T”. Therefore, assuming that the unit time T has the same length in FIG. 6 and FIG. 15, the coding efficiency shown in FIG. 6 can be doubled as compared with the coding shown in FIG. , The data (signal) transmission rate can be doubled.

【0030】本発明の最も基本的な実施例としては、図
6に示す符号化に基づいて図8の送信装置20から送信
された信号を、図9に示す受信装置30で受信し、その
受信信号からキャリア波を除去し、波形整形した矩形波
を判別部37にて判別する場合に、判別部37にて、矩
形波の高レベルのビットの時間長と低レベルのビットの
時間長をクロックに基づいてそれぞれ計測すればよい。
各ビット(図6でのBa,Bb,…)の時間長がTであ
るときは、そのビットが2進信号の「0」を表現したも
のであると認識でき、各ビットの時間長が2Tであると
きはそのビットが2進信号の「1」を表現したものであ
ると認識できる。また、本実施例では、送信信号の符号
化における単位時間Tを0.2msecに短縮してい
る。図15に示す従来の赤外線送受信では、単位時間T
が0.5msec程度であるが、本実施例では単位時間
Tを短縮化することにより、さらに信号の伝送レートを
高速化できるようにしている。送信信号の単位時間Tを
短縮化した場合に、受信装置30での判別能力により各
ビットに対する判別エラーが生じる確率が高くなる。し
かし、本実施例では、さらに次のような1周期ごとの時
間長の計測を行うことによって判別エラーの生じる確率
を低減している。
As the most basic embodiment of the present invention, the signal transmitted from the transmitter 20 of FIG. 8 based on the encoding shown in FIG. 6 is received by the receiver 30 shown in FIG. When the determination unit 37 determines a rectangular wave whose waveform has been shaped by removing the carrier wave from the signal, the determination unit 37 clocks the time length of the high-level bit and the time length of the low-level bit of the rectangular wave. It may be measured based on each.
When the time length of each bit (Ba, Bb, ... In FIG. 6) is T, it can be recognized that the bit represents “0” of the binary signal, and the time length of each bit is 2T. , It can be recognized that the bit represents "1" of the binary signal. Further, in this embodiment, the unit time T in encoding the transmission signal is shortened to 0.2 msec. In the conventional infrared transmission / reception shown in FIG. 15, the unit time T
Is about 0.5 msec, but in the present embodiment, the unit time T is shortened to further increase the signal transmission rate. When the unit time T of the transmission signal is shortened, the probability of occurrence of a discrimination error for each bit increases due to the discrimination ability of the receiving device 30. However, in the present embodiment, the probability of occurrence of a discrimination error is reduced by further measuring the time length for each cycle as follows.

【0031】すなわち、図9に示す受信装置30の判別
部37では、波形整形された矩形波の受信信号の高レベ
ルとこれに続く低レベルの2ビットの周期、および低レ
ベルとこれに続く高レベルの2ビットの周期の時間長が
計測されるようになっている。その計測動作を図7によ
り説明する。図7に示すように、1群の信号のうちの所
定位置にある基準ビットB0を、2進信号の「1」を表
現する「2T」の時間長に決めておく。図2は送信装置
20から送信される1群の信号(信号群)Sを示してい
るが、この信号群Sの先頭には、高レベルと低レベルの
リーダーコードCH,CLが設けられている。このリー
ダーコードの低レベルの部分CLが前記基準ビットB0
となり、その時間長が2Tに決められている。
That is, in the discriminating section 37 of the receiving apparatus 30 shown in FIG. 9, the high level of the rectangular-wave shaped reception signal of which the waveform is shaped and the 2-level cycle of the low level following the high level, and the low level and the high level following the low level. The time length of the 2-bit cycle of the level is measured. The measurement operation will be described with reference to FIG. As shown in FIG. 7, the reference bit B0 located at a predetermined position in the group of signals is set to a time length of "2T" representing "1" of the binary signal. FIG. 2 shows a group of signals (a group of signals) S transmitted from the transmitter 20. At the head of the group of signals S, high-level and low-level reader codes CH and CL are provided. . The low-level portion CL of this leader code is the reference bit B0.
And the time length is set to 2T.

【0032】判別部37では、矩形波のビットの開始位
置の立ち上りエッジから次の立ち上りエッジまでの周
期、およびビットの開始位置の立ち下がりエッジから次
の立ち下がりエッジまでの周期が時間長として計測され
る。図7に示すように、まず基準ビットB0の開始位置
(立ち下がりエッジ)からこれに続く第1のビットB1
の終了位置(立ち下がりエッジ)までの一周期の時間が
計測される。この周期が3Tであるとすると、周期の前
段の前記基準ビットB0が2Tに決められているので、
周期内の後段の第1のビットB1が時間長Tで2進信号
の「0」であることが判別できる。また第1のビットB
1の開始位置(立ち上りエッジ)から第2のビットの終
了位置(立ち上りエッジ)までの周期が計測される。こ
の周期が3Tである場合、第1のビットB1の時間長が
Tであることが既に判別されているため、第2のビット
B2が時間長2Tで2進信号の「1」を表現しているこ
とが判別できる。次にビットB2と第3のビットB3の
周期が計測される。この周期が4Tの場合、ビットB2
の時間長が2Tであることが既に解っているため、第3
のビットB3の時間長が2Tで2進信号の「1」である
と判別できる。これを繰返すことにより各ビットの時間
長を正確に判別できる。
The discriminator 37 measures the period from the rising edge of the start position of the rectangular wave bit to the next rising edge and the period from the falling edge of the bit start position to the next falling edge as the time length. To be done. As shown in FIG. 7, first from the start position (falling edge) of the reference bit B0, the first bit B1 following this
The time of one cycle to the end position (falling edge) of is measured. If this cycle is 3T, the reference bit B0 in the previous stage of the cycle is determined to be 2T,
It can be determined that the first bit B1 at the subsequent stage in the cycle has a time length T and is a binary signal "0". The first bit B
The period from the start position of 1 (rising edge) to the end position of the second bit (rising edge) is measured. If the period is 3T, it is already determined that the time length of the first bit B1 is T, and therefore the second bit B2 expresses "1" of the binary signal with the time length 2T. Can be identified. Next, the cycle of the bit B2 and the third bit B3 is measured. If this cycle is 4T, bit B2
Since it is already known that the time length of is 3T,
It can be determined that the time length of the bit B3 of 2 is 2T and the binary signal is "1". By repeating this, the time length of each bit can be accurately determined.

【0033】以下の表1は、立ち上りエッジ間または立
ち下がりエッジ間の1周期の長さと、その周期内の前段
のビットと後段のビットの時間長の組み合せについて表
わしている。表1内の(1)(0)はそれぞれ2進信号
の「1」の符号と「0」の符号を意味している。
Table 1 below shows a combination of the length of one cycle between rising edges or falling edges and the time length of the preceding bit and the succeeding bit within the cycle. (1) and (0) in Table 1 mean the code of "1" and the code of "0" of the binary signal, respectively.

【0034】[0034]

【表1】 [Table 1]

【0035】上記表1に示すように、2進信号の「1」
が「2T」にて表現される場合、1周期の長さは、2
T,3T,4Tの3通りに限られ、また周期内の前段の
ビットの時間長と後段のビットの時間長の組み合せは4
通りに限られている。したがって、判別部37での周期
の計測およびこれに基づく各ビットの時間長の判別は困
難なものではなく、この計測と判別をCPUにより行う
場合、そのソフトウエアも単純なものとなる。また2進
信号の「1」を表現する時間長が2Tでなく、例えば3
Tであってもその判別の容易性は同じである。2進信号
の「1」の時間長が「3T」の場合、表1において2T
が3Tに置き換えられ、1周期の長さは、上段から下段
に向かって2T,4T,4T,6Tに置き換えられたも
のとなる。
As shown in Table 1 above, the binary signal "1"
Is represented by "2T", the length of one cycle is 2
T, 3T, and 4T, and the combination of the time length of the preceding bit and the time length of the following bit in the cycle is 4
Limited to the street. Therefore, it is not difficult for the discriminating unit 37 to measure the period and to discriminate the time length of each bit based on the period, and when the measurement and the discrimination are performed by the CPU, the software is also simple. Further, the time length for expressing "1" of a binary signal is not 2T, but is 3
Even if it is T, the easiness of the discrimination is the same. When the time length of "1" of the binary signal is "3T", 2T in Table 1
Is replaced with 3T, and the length of one cycle is replaced with 2T, 4T, 4T, 6T from the top to the bottom.

【0036】高レベルと低レベルのそれぞれのビットの
時間長を個別に判別するのに対し、1周期ごとの時間長
を判別する方が判別が容易であり、且つ判別精度の高い
ものとなる。この点について図10(A)(B)(C)
を参照して説明する。図9に示す受信装置30では、受
光素子31にて光電変換され、電流・電圧変換部32に
より電圧に変換された信号が、増幅部33により増幅さ
れ検波部34により検波されてキャリア信号成分が除去
される。検波された信号は図10(A)に示すようなほ
ぼ正弦波である。この正弦波は波形整形部36により波
形整形されるが、この波形整形の方法は、一般的には比
較器が設けられこの比較器にてしきい値(スレッショル
ドレベル)SLの電圧と比較され、その結果図10
(B)に示す矩形波が得られる。ただし、受信信号のレ
ベルは一定のものではなく変動することが予測される。
この変動幅を小さくするためにAGC部35が設けられ
ている。ただし、例えば信号が受光素子31により受光
されていない時間が続き、ある時点で急に受光素子31
が送信信号を受信したときには、検波部34により検波
された電圧が急に上昇するため、AGC部35により増
幅部33の増幅利得が急激に抑制されるなどの現象が生
じる可能性がある。この場合、受信信号のレベルに対し
前記しきい値電圧が見かけ上SL′に変化したのと同じ
ことになる。
While the time lengths of the high level and low level bits are individually discriminated, it is easier to discriminate the time length of each cycle and the discrimination accuracy is higher. About this point, FIG. 10 (A) (B) (C)
Will be described with reference to. In the receiving device 30 shown in FIG. 9, a signal photoelectrically converted by the light receiving element 31 and converted into a voltage by the current / voltage conversion unit 32 is amplified by the amplification unit 33 and detected by the detection unit 34 to generate a carrier signal component. To be removed. The detected signal is almost a sine wave as shown in FIG. This sine wave is shaped by the waveform shaping unit 36. In this waveform shaping method, a comparator is generally provided and this comparator compares the voltage with a threshold (threshold level) SL voltage. As a result,
The rectangular wave shown in (B) is obtained. However, it is predicted that the level of the received signal is not constant but fluctuates.
The AGC unit 35 is provided to reduce the fluctuation range. However, for example, a signal is not received by the light receiving element 31 for a period of time, and at a certain point, the light receiving element 31 rapidly
When the transmission signal is received, the voltage detected by the detection unit 34 suddenly rises, which may cause a phenomenon in which the amplification gain of the amplification unit 33 is suddenly suppressed by the AGC unit 35. In this case, the threshold voltage apparently changes to SL 'with respect to the level of the received signal.

【0037】図10(A)において検波された正弦波の
受信信号のレベルに対ししきい値が正常なレベルSLに
位置する場合、波形整形された矩形波出力は図10
(B)のようになり、この場合、高レベルと低レベルの
それぞれのビットの時間長は2T,T,T,T,2T,
…のようになり、各ビットの2進信号の種別を個々のビ
ットの時間長から判別することが可能である。ただし、
この同じ受信信号に対し、しきい値が見かけ上SL′の
レベルに変化したとすると、すなわち受信信号のレベル
が変動したとすると、しきい値SL′を基準として波形
整形された矩形波は図10(C)で示すものとなる。図
10(C)では、高レベルと低レベルの個々のビットの
時間長を計測したものではビットの時間長の識別に誤り
が生じる。例えば図10(B)ではビットBb,Bc,
Bdの時間長がそれぞれTであるのに対し、図10
(C)ではビットBbとBdがそれぞれ2Tの時間長と
なってしまう。
When the threshold value is located at the normal level SL with respect to the level of the received signal of the sine wave detected in FIG. 10A, the waveform-shaped rectangular wave output is as shown in FIG.
In this case, the time length of each of the high level bit and the low level bit is 2T, T, T, T, 2T,
It becomes possible to discriminate the type of binary signal of each bit from the time length of each bit. However,
If the threshold value apparently changes to the level of SL 'for this same received signal, that is, if the level of the received signal fluctuates, a rectangular wave whose waveform is shaped with reference to the threshold value SL' is shown in FIG. 10 (C). In FIG. 10C, when the time length of each of the high level and low level bits is measured, an error occurs in the identification of the bit time length. For example, in FIG. 10B, the bits Bb, Bc,
The time length of Bd is T, while in FIG.
In (C), the bits Bb and Bd each have a time length of 2T.

【0038】ところが、連続する高レベルと低レベルの
ビットBaとBbの1周期について着目すると、図10
(B)と図10(C)では、共に同じ「3T」として計
測できる。同様に、ビットBbとBcの1周期は、図1
0(B)と図10(C)のそれぞれにおいて共に「2
T」として計測できる。すなわちしきい値と受信信号と
のレベルが相対的に変動した場合、高レベルと低レベル
の個々のビットの時間長は変動するが、高レベルと低レ
ベルまたは低レベルと高レベルの連続する2ビットの1
周期の長さの変動は非常に小さくなる。したがって、1
周期の時間長の計測に基づくビットの種別の判別は、受
信信号の変動があってもきわめて高い精度に維持できる
ことになる。したがって、本実施例の判別方法では、受
信装置側の受光素子31から波形整形部36までの各回
路で構成されるユニットとして高価な高精度のものをあ
えて使用する必要がなく、図15に示す信号フォーマッ
トにて送受信が行われていた従来の家庭用電気製品の遠
隔操作装置に使用されていた受信ユニットを使用して
も、十分なコード判別(信号判別)が可能になる。また
単位時間長Tを0.2msec程度に短縮化してもこの
従来の受信ユニットを使用した受信装置30において高
精度なコード判別が可能になる。
However, focusing on one cycle of consecutive high-level and low-level bits Ba and Bb, FIG.
Both (B) and FIG. 10 (C) can be measured as the same “3T”. Similarly, one cycle of bits Bb and Bc is shown in FIG.
In both 0 (B) and FIG. 10 (C), "2
It can be measured as "T". That is, when the levels of the threshold value and the received signal are relatively changed, the time lengths of the individual bits of the high level and the low level are changed, but the high level and the low level or the low level and the high level are continuously changed. Bit one
The variation in the length of the cycle is very small. Therefore, 1
The determination of the bit type based on the measurement of the time length of the cycle can be maintained with extremely high accuracy even if the received signal varies. Therefore, in the discriminating method of the present embodiment, it is not necessary to dare to use an expensive and highly accurate unit as a unit composed of each circuit from the light receiving element 31 on the receiving device side to the waveform shaping section 36, and shown in FIG. Sufficient code discrimination (signal discrimination) is possible even if the receiving unit used in the conventional remote control device for household electric appliances that is transmitted and received in the signal format is used. Further, even if the unit time length T is shortened to about 0.2 msec, the receiving device 30 using this conventional receiving unit can perform highly accurate code discrimination.

【0039】すなわち、信号の高レベルと低レベルのそ
れぞれによりビットを形成することにより図15の従来
例に対し2倍の符号化の効率化ができ、しかも単位時間
Tの時間長(パルス幅)を短くすることにより、さらに
データ(情報)の伝送レートを高速化できる。よって、
従来と同じ精度の送受信ユニットを使用しても伝送レー
トをきわめて高くでき、図11に示すような入力装置3
からX−Y座標の情報を送信する送受信装置として十分
に実用化できるものとなる。さらに本実施例では、図2
に示す1群の信号(信号群)Sにパリティビットを2ビ
ット設けることにより、信号受信の信頼度を高めてい
る。
That is, by forming the bits at each of the high level and the low level of the signal, the efficiency of the encoding can be doubled as compared with the conventional example of FIG. 15, and the time length (pulse width) of the unit time T is increased. By shortening, the transmission rate of data (information) can be further increased. Therefore,
Even if a transmitting / receiving unit with the same accuracy as the conventional one is used, the transmission rate can be made extremely high, and the input device 3 as shown in FIG.
Can be sufficiently put into practical use as a transmission / reception device that transmits information on X-Y coordinates. Further, in this embodiment, as shown in FIG.
The reliability of signal reception is improved by providing two parity bits in the first group of signals (signal group) S shown in FIG.

【0040】図2と図3に示す信号群Sでは、B2とB
3がパリティビットである。パリティビットB2は、後
に続く各ビットのうち信号の低レベルの時間長で決めら
れる全てのビット(B4,B6,…)に関するものであ
る。低レベルの各ビットのうち2進信号の「1」を表現
しているものが偶数個ある場合には、パリティビットB
2を2進信号の「0」とする。また奇数の場合にはパリ
ティビットB2が「1」である。図2と図3の例では、
パリティビットB2の時間長が2Tであり「1」となっ
ているため、これに続く各ビットのうち低レベルで表現
されるビットの「1」の数が奇数個である。
In the signal group S shown in FIGS. 2 and 3, B2 and B
3 is a parity bit. The parity bit B2 relates to all the bits (B4, B6, ...) Determined by the low-level time length of the signal among the subsequent bits. If there is an even number of low-level bits expressing a binary signal "1", the parity bit B
2 is a binary signal "0". In the case of an odd number, the parity bit B2 is "1". In the example of FIGS. 2 and 3,
Since the time length of the parity bit B2 is 2T and is “1”, the number of bits “1” represented by the low level is an odd number among the following bits.

【0041】パリティビットB3は、これ続く各ビット
のうち高レベルの時間長により決められるビット(B
5,B7,…)のうちの、「1」となるビットの数が偶
数のときに「0」とする。奇数の場合にはパリティビッ
トB3が「1」である。図2と図3の例では、パリティ
ビットB3の時間長が2Tで「1」であるため、後続す
る高レベルのビットうち「1」を表現する数が奇数個で
ある。判別部37にてこのパリティビットB2とB3を
使用して読取り信号のエラーチェックを行うことによ
り、受信信号の判別の信頼度をさらに高めることができ
る。
The parity bit B3 is a bit (B
5, B7, ...) When the number of bits that become “1” is an even number, it is set to “0”. In the case of an odd number, the parity bit B3 is "1". In the examples of FIGS. 2 and 3, since the time length of the parity bit B3 is 2T and is “1”, the number of subsequent “1” of high-level bits is an odd number. By using the parity bits B2 and B3 in the discriminator 37 to check the error of the read signal, the reliability of discriminating the received signal can be further increased.

【0042】また、図2に示す1群の信号群Sでは、高
レベルと低レベルのそれぞれのビットの総数が奇数とな
っている。リーダーコードCHとCLの次に続くビット
B1を先頭のビットとし、Bnを最終ビットとすると、
nは奇数である。またリーダーコードのCHとCLをそ
れぞれ1ビットと見た場合には、ハイレベルのリーダー
コードCHから最終ビットBnまでの全てのビット数が
奇数である。この実施例では、信号が高レベルのときと
低レベルのときをそれぞれ単位ビットとしている。した
がって、全ビット数を奇数とすると、先頭のビットと最
終ビットとが必ず高レベルのビットとなり、図14に示
すようなストップビット12を設ける必要がなくなる。
ストップビット12を設けない分、伝送時間を短縮し、
受信判定を簡略化できる。
Further, in the signal group S of one group shown in FIG. 2, the total number of high level bits and low level bits is odd. If the bit B1 following the leader codes CH and CL is the first bit and Bn is the last bit,
n is an odd number. When CH and CL of the leader code are each considered to be 1 bit, all the numbers of bits from the high level leader code CH to the final bit Bn are odd. In this embodiment, the high-level signal and the low-level signal are unit bits. Therefore, if the total number of bits is an odd number, the first bit and the last bit are always high level bits, and it is not necessary to provide the stop bit 12 as shown in FIG.
By not providing the stop bit 12, the transmission time is shortened,
The reception determination can be simplified.

【0043】ここで、図2に示す1つの信号群Sのフォ
ーマット(信号内容)について説明する。高レベルと低
レベルのCHとCLはリーダーコードであり、これは受
信装置30に対し信号の送信であることを認識させるた
めのコードである。ビットB1は、この信号群が反転信
号によるものか、非反転信号によるものであるかを区別
する反転ビット、B2とB3は前述のパリティビット、
B4からBnまでの各ビットが送信情報(送信データ)
を意味するものである。図2に示す信号群SはXーY座
標情報(座標データ)を主体として送信する場合を示
し、B6からBnまでのビット数が合計で16ビットで
あり、そのうちの8ビットがX座標位置を意味し、残り
の8ビットがY座標位置を意味している。また、B4と
B5は、マウスのクリックスイッチのように座標データ
とともに用いられるスイッチの操作状態を示すビットで
ある。
Here, the format (signal content) of one signal group S shown in FIG. 2 will be described. The high level and low level CH and CL are reader codes, which are codes for causing the receiving device 30 to recognize that the signal is transmitted. Bit B1 is an inversion bit that distinguishes whether this signal group is due to an inversion signal or a non-inversion signal, B2 and B3 are the above-mentioned parity bits,
Each bit from B4 to Bn is transmission information (transmission data)
Is meant. The signal group S shown in FIG. 2 shows a case where XY coordinate information (coordinate data) is mainly transmitted, and the total number of bits from B6 to Bn is 16 bits, and 8 bits of them indicate the X coordinate position. The remaining 8 bits mean the Y coordinate position. Further, B4 and B5 are bits indicating the operation state of a switch used together with coordinate data, such as a mouse click switch.

【0044】ここで前記反転ビットB1であるが、図2
と図3に示すように反転ビットB1の時間長がTで2進
信号の「0」となっている場合には、後続の各ビットに
て表現される2進信号「1」「0」を反転させずに認識
することを意味している。反転ビットB1の時間長が2
Tで2進信号の「1」となっている場合には、後続する
ビットで表現される2進信号は「1」と「0」とを互い
に逆に反転したものであることを意味している。図9に
示す受信装置30の判別部37では、反転ビットB1が
「1」であった場合には、その信号群S内での後続する
ビットで表現される2進信号の排他的論理和を計算し、
2進信号の表現の「1」と「0」を互いに反転させたも
のに復元する。図1に示すように、送信装置20から受
信装置30には群を成す信号(信号群)S1,S2,S
3,…が所定時間t3(例えば4msec)を開けて間
欠的に順次送信されるが、各信号群の反転ビットB1以
後の各ビットの2進信号の表現が、S1では非反転、S
2では反転、S3では非反転、S4では反転というよう
に各信号群ごとに交互に反転のものと非反転のものとが
繰返えされるようになっている。
The inverted bit B1 is shown in FIG.
As shown in FIG. 3, when the time length of the inversion bit B1 is T and the binary signal is "0", the binary signal "1""0" represented by each subsequent bit is It means recognizing without inverting. The time length of the inversion bit B1 is 2
When the binary signal is "1" at T, it means that the binary signal represented by the following bits is the inverse of "1" and "0". There is. When the inverted bit B1 is "1", the discrimination unit 37 of the receiving device 30 shown in FIG. 9 calculates the exclusive OR of the binary signals represented by the subsequent bits in the signal group S. Calculate,
The binary signal expressions "1" and "0" are restored by inverting each other. As shown in FIG. 1, signals (signal groups) S1, S2, S forming a group from the transmitter 20 to the receiver 30.
, 3, ... Are transmitted intermittently with a predetermined time t3 (for example, 4 msec) open, but the representation of the binary signal of each bit after the inversion bit B1 of each signal group is non-inversion in S1, S
Inversion is performed in S2, non-inversion is performed in S3, and inversion is performed in S4. Inversion and non-inversion are alternately repeated for each signal group.

【0045】これにより複数の信号群の集合でのデータ
の送信時間を短縮できるようになる。例えば、ビットB
4からビットBnの18ビットのそれぞれのビットが仮
に全て時間長Tで2進信号の「0」である場合には、信
号群S全体の時間長は最短になるが、仮に全ビットが時
間長2Tで2進信号の「1」である場合、信号群S全体
での時間長は最長になる。例えばこの最長の時間の信号
群が時間t3を開けて間欠的に送信されることを想定す
ると、送信装置20と受信装置30でのデータ処理、特
に受信装置30でのデータ処理の時間を前記最長の時間
長に合せ、そのデータ処理のための時間的なマージンを
長く確保することが必要になる。しかしながら前記のよ
うに連続して間欠的に送信される信号群S1,S2,S
3,…の各ビットにて表現される2進信号を各信号群ご
とに反転、非反転のように繰返すと、仮に全ビットが
「1」となる座標情報をS1,S2,S3,…として送
信する場合、反転された信号群では、送信信号のビット
が2進信号の「0」となり全てビットの時間長Tが短い
ものとなる。よって、信号群ごとに最長のものと最短の
ものとが交互に送信されることになり、所定数の信号群
の集合を考えると、この集合体の全体の処理時間を短く
できる。
As a result, it becomes possible to shorten the data transmission time for a set of a plurality of signal groups. For example, bit B
If all of the 18 bits from 4 to Bn are all “0” of the binary signal with the time length T, the time length of the entire signal group S is the shortest, but if all the bits are the time length. When the binary signal is “1” at 2T, the time length of the entire signal group S becomes the longest. For example, assuming that the signal group of the longest time is intermittently transmitted with the time t3 opened, the time of data processing in the transmitting device 20 and the receiving device 30, especially the data processing in the receiving device 30 is set to the longest. It is necessary to secure a long time margin for the data processing in accordance with the time length of. However, as described above, the signal groups S1, S2, S that are continuously and intermittently transmitted.
When the binary signal represented by each bit of 3, ... Is repeated for each signal group such as inversion and non-inversion, the coordinate information in which all the bits are “1” is set as S1, S2, S3 ,. In the case of transmission, in the inverted signal group, the bit of the transmission signal becomes “0” of the binary signal, and the time length T of all bits becomes short. Therefore, the longest one and the shortest one are alternately transmitted for each signal group, and considering a set of a predetermined number of signal groups, the processing time of the entire set can be shortened.

【0046】さらに詳しく説明すると、図11に示すよ
うな入力装置3から装置本体へX−Y座標の情報(デー
タ)を送信する場合、ある座標位置ではX−Y座標を表
現する前記16ビットの信号のうち2進信号の「0」が
多くなり信号群Sの時間長が短くなる場合があり、ある
座標位置ではX−Y座標を表現する前記16ビットの信
号のうち2進信号の「1」が多くなり信号群Sの時間長
が長くなる場合がある。しかしながら前記実施例のよう
に、各信号群SごとにX−Y座標を表現する2進信号を
反転、非反転となるように繰返すと、各々のX−Y座標
の位置にて所定数の信号群の集合として見た場合に、集
合体全体の時間長が平均化される。よって、受信装置3
0の判別部37、または装置本体内の他の演算処理部な
どにおいては、まず最長の時間長の信号群が連続して送
られてくることがないために、時間マージンを長くとる
必要がなくなる。また入力装置3のZ軸が動く間に順次
送られる信号群の所定数の集合体の時間長が平均化され
るため、データ処理を効率良く実行することが可能にな
る。
More specifically, when transmitting the information (data) of the XY coordinates from the input device 3 as shown in FIG. 11 to the main body of the device, the 16-bit data representing the XY coordinates at a certain coordinate position. Of the signals, the binary signal “0” may be increased and the time length of the signal group S may be shortened. At a certain coordinate position, the binary signal “1” of the 16-bit signal expressing the XY coordinate is displayed. May increase and the time length of the signal group S may increase. However, if the binary signal expressing the XY coordinates is repeated for each signal group S so as to be inverted and non-inverted as in the above embodiment, a predetermined number of signals are generated at each XY coordinate position. When viewed as a set of groups, the time length of the entire set is averaged. Therefore, the receiving device 3
In the determination unit 37 of 0, or another arithmetic processing unit in the main body of the apparatus, since the signal group having the longest time length is not continuously transmitted, it is not necessary to take a long time margin. . Further, since the time lengths of a predetermined number of aggregates of signal groups that are sequentially transmitted while the Z axis of the input device 3 moves are averaged, data processing can be efficiently performed.

【0047】なお、この反転と非反転を行うことの利点
は前記実施例のように信号の高レベルと低レベルのそれ
ぞれを単位ビットとする場合に限られず、図15に示す
ような従来の符号化フォーマットの信号の送受信におい
ても同様に有効である。また、図2と図3に示す信号群
Sでは、ビットB6から最終ビットBnまでは16ビッ
トであり、これによりX−Y座標の位置情報が与えられ
るようになっている。この16ビット内には入力装置3
の各種スイッチを操作したときの操作信号は含まれてい
ない。このように順次送信される信号群S1,S2,S
3,…に座標データだけを含ませることにより、信号群
単位の時間長を短くでき、入力装置3のZ軸を移動させ
ているようなときに順次変化する座標データの送受信の
分解能を高くできる。
The advantage of performing the inversion and the non-inversion is not limited to the case where each of the high level and the low level of the signal is used as a unit bit as in the above embodiment, and the conventional code as shown in FIG. 15 is used. It is similarly effective in transmitting and receiving a signal in the encoded format. Further, in the signal group S shown in FIG. 2 and FIG. 3, the bit B6 to the final bit Bn are 16 bits, so that the position information of the XY coordinates is given. Input device 3 is included in these 16 bits.
The operation signals when the various switches are operated are not included. Signal groups S1, S2, S sequentially transmitted in this manner
By including only coordinate data in 3, ..., the time length of each signal group unit can be shortened, and the resolution of transmission / reception of coordinate data that changes sequentially when the Z axis of the input device 3 is moved can be increased. .

【0048】ただし、入力装置3から装置本体へスイッ
チ操作などの情報を送る必要もある。そこで本実施例で
は、入力装置3のいずれかの操作スイッチやその他の操
作部材が操作されたときに、操作情報(操作信号)に関
するデータを含んだ信号群Saが送られるようになって
いる。すなわち、入力装置3のZ軸を移動させているよ
うなときには、ビットB6からBnまでが16ビットの
XーY座標データとなった信号群がS1,S2,S3,
…のように送られるが、このときに入力装置3の操作部
材が操作されると、操作情報に関するデータを含む信号
群Saが前記信号群S1,S2,S3の間に介入して同
じ時間間隔t3を開けて送信される。このときの座標デ
ータに関する信号群と操作情報のデータに関する信号群
との比率は、両信号群が交互に送信されてもよいし、座
標データの信号群の2群または3群に対し操作信号のデ
ータに関する信号群Saが1群の割合で送信されてもよ
い。
However, it is necessary to send information such as switch operation from the input device 3 to the main body of the device. Therefore, in this embodiment, when any one of the operation switches and other operation members of the input device 3 is operated, a signal group Sa including data related to operation information (operation signal) is sent. That is, when the Z axis of the input device 3 is being moved, the signal group in which the bits B6 to Bn are 16-bit XY coordinate data is S1, S2, S3.
However, when the operation member of the input device 3 is operated at this time, the signal group Sa including data related to the operation information intervenes between the signal groups S1, S2 and S3 and has the same time interval. It is transmitted after opening t3. At this time, the ratio of the signal group related to the coordinate data and the signal group related to the operation information data may be such that both signal groups may be transmitted alternately, or the operation signal may be transmitted to two or three groups of the coordinate data signal group. The signal group Sa relating to data may be transmitted at a rate of one group.

【0049】ここで、操作信号のデータを含んだ信号群
Saの信号の内容は、図2に示した信号群Sと実質的に
同じであり、反転ビットB1やパリティビットB2,B
3を有し、さらにB6からBnの16ビットを座標デー
タではなく操作信号に関するデータに置き換えたものと
なる。ただし、受信装置30および装置本体側で、送ら
れてきた信号群が座標データに関するものであるのか、
操作信号に関するものであるのかを認識する必要があ
る。その識別は、図2と図3に示すようにX−Y座標に
関するデータを送信する信号群である場合には、リーダ
ーコードの高レベルCHの時間長を4Tとし、低レベル
CLの時間長を2Tとする。また図4に示すように、操
作信号に関するデータを含む信号群Saの場合には、リ
ーダーコードのハイレベルCHの時間長を4Tとし、低
レベルCLの時間長を4Tとする。受信装置30の判別
部37あるいは装置本体の演算処理部では、前記リーダ
ーコードの低レベルCLの時間長が2Tであるか4Tで
あるかにより、座標データに関する信号群であるか操作
信号に関する信号群であるかを識別する。
Here, the contents of the signals of the signal group Sa including the data of the operation signal are substantially the same as those of the signal group S shown in FIG. 2, and the inversion bit B1 and the parity bits B2, B are included.
3 and further, 16 bits from B6 to Bn are replaced with data relating to operation signals instead of coordinate data. However, on the receiving device 30 and the device main body side, whether the transmitted signal group relates to coordinate data,
It is necessary to recognize whether it is related to the operation signal. As shown in FIG. 2 and FIG. 3, when the identification is a signal group for transmitting data regarding XY coordinates, the time length of the high level CH of the reader code is set to 4T and the time length of the low level CL is set. 2T. Further, as shown in FIG. 4, in the case of the signal group Sa including the data related to the operation signal, the time length of the high level CH of the reader code is 4T and the time length of the low level CL is 4T. In the discriminating unit 37 of the receiving device 30 or the arithmetic processing unit of the main body of the device, depending on whether the time length of the low level CL of the reader code is 2T or 4T, a signal group relating to coordinate data or a signal group relating to operation signals. Identify which is.

【0050】なお、前述のように判別部37により高レ
ベルと低レベルの1周期の時間長を計測して判別する場
合には、判別部37にて、CHとCLとから成るリーダ
ーコードの1周期の時間長を計測する。座標データの信
号群と操作信号に関する信号群では共にリーダーコード
の高レベルCHの時間長が4Tである。よってCHとC
Lの周期を計測し、これが6TであるならばCLが2T
であると判別でき、8Tであるならば、CLが4Tと判
別されることになる。図4に示す操作信号に関する信号
群Saでは、CLの時間長を4Tと認識し、このCLと
次のビットB1の周期を計測することにより、ビットB
1の時間長を知ることができる。すなわちこの場合もC
Lが周期計測の基準ビットB0となる。
When the discriminating unit 37 measures and discriminates the time length of one cycle of the high level and the low level as described above, the discriminating unit 37 determines 1 of the leader code consisting of CH and CL. Measure the time length of the cycle. In both the coordinate data signal group and the operation signal signal group, the time length of the high level CH of the leader code is 4T. Therefore CH and C
Measure the period of L and if this is 6T, CL is 2T
If it is 8T and CL is 8T, CL is determined to be 4T. In the signal group Sa related to the operation signal shown in FIG. 4, the time length of CL is recognized as 4T, and the cycle of this CL and the next bit B1 is measured to determine the bit B
You can know the time length of 1. That is, in this case as well, C
L becomes the reference bit B0 for period measurement.

【0051】なお、座標データを送信する信号群S(S
1,S2,S3,…)においてB4,B5以外のB6か
らBnまでの16ビット(あるいはこのビット数を増加
しビット)内に、座標データと共に、使用頻度の高い入
力装置3の操作装置の操作信号のためのビットをさらに
含め、座標データと共に使用頻度の高い操作信号を送信
できるようにし、使用頻度の低い操作部材が操作された
ときには、図4に示す別個の信号群Saにより操作信号
を送信するようにしてもよい。なお、本発明の送受信装
置は、図11などに示す入力装置3から装置本体への座
標データや操作データの送受信に限られず、他の機器で
の遠隔操作などの送受信装置としても使用可能である。
また、送信と受信は赤外線以外の光通信あるいは電波通
信などであってもよい。
The signal group S (S
1, S2, S3, ...) In 16 bits from B6 to Bn other than B4 and B5 (or by increasing this bit number), operation of the operating device of the input device 3 which is frequently used together with coordinate data A bit for a signal is further included so that a frequently used operation signal can be transmitted together with the coordinate data, and when an infrequently used operation member is operated, the operation signal is transmitted by a separate signal group Sa shown in FIG. You may do it. The transmission / reception device of the present invention is not limited to the transmission / reception of coordinate data and operation data from the input device 3 shown in FIG. 11 and the like to the device body, and can also be used as a transmission / reception device for remote control of other equipment. .
Further, the transmission and reception may be optical communication other than infrared rays or radio wave communication.

【0052】[0052]

【発明の効果】以上のように本発明では、信号の高レベ
ルと低レベルをそれぞれ単位ビットとし、その時間長に
より2進信号の種別を表現しているので、符号化を従来
のものよりも高速化でき、例えば2進信号の「1」を時
間長2Tとすると、従来の赤外線による送受信に比べ伝
送レートを2倍に高速化できる。
As described above, according to the present invention, the high level and the low level of the signal are set as unit bits, and the type of the binary signal is expressed by the time length thereof. If the binary signal "1" has a time length of 2T, the transmission rate can be doubled as compared with the conventional infrared transmission / reception.

【0053】また、信号の高レベルと低レベルの周期を
計測して個々のビットの2進信号の種別を判別すること
により、高精度なビットの判別が可能になる。
Further, by determining the high-level and low-level periods of the signal and discriminating the type of the binary signal of each bit, it is possible to discriminate the bit with high accuracy.

【0054】さらにパリティビットを低レベルの各ビッ
トと高レベルの各ビットに対応させて設けることにより
信号の判別の信頼性を高めることができる。
Further, by providing a parity bit corresponding to each low level bit and each high level bit, the reliability of signal discrimination can be improved.

【0055】また1群の信号群の高レベルと低レベルで
表現される全ビット数を奇数にすることによりストップ
ビットを設ける必要がなくなる。
Further, it is not necessary to provide a stop bit by making the total number of bits represented by the high level and the low level of the signal group of one group odd.

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

【図1】本発明の送受信装置において送信される複数群
の信号を示す波形図、
FIG. 1 is a waveform diagram showing a plurality of groups of signals transmitted by a transceiver of the present invention,

【図2】座標データを含む1つの信号群のデータ内容を
示す波形図、
FIG. 2 is a waveform diagram showing the data content of one signal group including coordinate data,

【図3】図2の波形の一部を拡大して示す拡大波形図、FIG. 3 is an enlarged waveform diagram showing an enlarged part of the waveform of FIG.

【図4】操作信号に関するデータを含んで送信される信
号群の一部を示す拡大波形図、
FIG. 4 is an enlarged waveform diagram showing a part of a signal group transmitted including data regarding an operation signal;

【図5】キャリア信号の波形図、FIG. 5 is a waveform diagram of a carrier signal,

【図6】各ビットの符号化を説明する波形図、FIG. 6 is a waveform diagram illustrating encoding of each bit,

【図7】周期ごとに時間長を計測して各ビットの2進信
号の種別を判別する原理を示した波形図、
FIG. 7 is a waveform diagram showing the principle of determining the type of binary signal of each bit by measuring the time length for each cycle.

【図8】送信装置の構成を示すブロック図、FIG. 8 is a block diagram showing a configuration of a transmission device,

【図9】受信装置の構成を示すブロック図、FIG. 9 is a block diagram showing a configuration of a receiving device,

【図10】(A)は検波後の受信信号を示す波形図、
(B)と(C)は波形整形された矩形波を示す波形図、
FIG. 10A is a waveform diagram showing a received signal after detection,
(B) and (C) are waveform diagrams showing rectangular waves whose waveforms have been shaped,

【図11】本発明の送受信装置が適用される装置の一例
として座標入力が可能な入力装置を示す斜視図、
FIG. 11 is a perspective view showing an input device capable of inputting coordinates as an example of a device to which the transmitting / receiving device of the present invention is applied;

【図12】図11に示す入力装置の一部を示す断面図、12 is a sectional view showing a part of the input device shown in FIG.

【図13】入力装置の4分割受光部を示す正面図、FIG. 13 is a front view showing a four-division light receiving section of the input device,

【図14】従来の赤外線送受信装置での信号のフォーマ
ットを示す波形図、
FIG. 14 is a waveform diagram showing a signal format in a conventional infrared transmitter / receiver device;

【図15】(A)(B)は従来の赤外線送受信に使用さ
れる符号化を示す波形図、
15A and 15B are waveform diagrams showing encoding used in conventional infrared transmission / reception,

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

1 画面 3 入力装置 5a〜5d 4分割受光部 20 送信装置 21 信号生成部 22 キャリア信号生成部 23 位相変調部 24 発光駆動部 25 発光素子 30 受信装置 31 受光素子 32 電流・電圧変換部 33 増幅部 34 検波部 36 波形整形部 37 判別部 B0 基準ビット B1 第1のビット B2 第2のビット 1 screen 3 input device 5a to 5d 4 split light receiving unit 20 transmitting device 21 signal generating unit 22 carrier signal generating unit 23 phase modulating unit 24 light emitting driving unit 25 light emitting element 30 receiving device 31 light receiving element 32 current / voltage converting unit 33 amplifying unit 34 detection section 36 waveform shaping section 37 discrimination section B0 reference bit B1 first bit B2 second bit

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04B 10/26 10/14 10/04 10/06 Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI technical display location H04B 10/26 10/14 10/04 10/06

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 位相変調した信号を送信する送信装置
と、受信した前記信号を波形整形する波形整形部および
波形整形された信号の高レベルの時間と低レベルの時間
とから2進信号の「1」「0」を判別する判別部を有す
る受信装置とから成る送受信装置において、前記判別部
では、波形整形された矩形波信号が高レベルのときの時
間と低レベルのときの時間が単位時間Tであるか単位時
間Tの整数倍であるか計測され、高レベル時と低レベル
時のそれぞれを単位ビットとして各ビットごとに2進信
号の「1」または「0」の判別がなされることを特徴と
する送受信装置。
1. A transmission device for transmitting a phase-modulated signal, a waveform shaping section for shaping the waveform of the received signal, and a binary signal "from a high level time and a low level time of the waveform shaped signal". In a transmitting / receiving device including a receiving device having a discriminating unit for discriminating 1 "and" 0 ", in the discriminating unit, the time when the waveform-shaped rectangular wave signal is at high level and the time when it is at low level are unit time. Whether it is T or an integral multiple of the unit time T is measured, and a binary signal "1" or "0" is discriminated for each bit with each of the high level time and the low level time being a unit bit. A transmitter / receiver characterized by.
【請求項2】 位相変調した信号を送信する送信装置
と、受信した前記信号を波形整形する波形整形部および
波形整形された信号の高レベルの時間と低レベルの時間
とから2進信号の「1」「0」を判別する判別部を有す
る受信装置とから成る送受信装置において、前記信号
は、高レベルのときと低レベルのときのそれぞれが単位
ビットを形成し、各ビットが単位時間Tまたは単位時間
Tの整数倍であるかにより2進信号の「1」または
「0」が表現されており、前記判別部では、連続する高
レベルと低レベルまたは連続する低レベルと高レベルの
2単位のビットの周期が計測され、この周期内での前段
のビットの2進信号の種別と前記周期とから周期内での
後段のビットの2進信号の種別が判別されることを特徴
とする送受信装置。
2. A transmission device for transmitting a phase-modulated signal, a waveform shaping section for shaping the waveform of the received signal, and a binary signal "from a high level time and a low level time of the waveform shaped signal". In a transmission / reception device including a reception device having a discrimination unit for discriminating 1 "and" 0 ", the signal forms a unit bit at a high level and at a low level, and each bit forms a unit time T or The binary signal "1" or "0" is expressed depending on whether it is an integral multiple of the unit time T. In the discrimination unit, two units of continuous high level and low level or continuous low level and high level are shown. The bit transmission cycle is measured, and the type of the binary signal of the bit in the preceding stage within this period and the type of the binary signal of the bit in the succeeding stage within the period are determined from the period. apparatus.
【請求項3】 信号の所定位置に設けられた基準ビット
の時間長と2進信号の種別とが決められており、基準ビ
ットの開始位置を始点として周期が計測されることによ
り基準ビットに続く第1のビットの2進信号の種別が判
別され、次に第1のビットの開始位置を始点として周期
を計測することにより第2のビットの2進信号の種別が
判別され、これが繰返されることにより各ビットの2進
信号の種別が判別される請求項2記載の送受信装置。
3. The time length of a reference bit provided at a predetermined position of a signal and the type of a binary signal are determined, and the period is measured starting from the start position of the reference bit and is followed by the reference bit. The type of the binary signal of the first bit is determined, and then the type of the binary signal of the second bit is determined by measuring the period starting from the start position of the first bit, and this is repeated. The transmitter / receiver according to claim 2, wherein the type of the binary signal of each bit is discriminated by.
【請求項4】 単位時間Tの整数倍は2倍である請求項
1ないし3項のいずれかに記載の送受信装置。
4. The transmission / reception device according to claim 1, wherein an integral multiple of the unit time T is twice.
【請求項5】 1群の信号内にパリティビットが設けら
れ、このパリティビットは、矩形波信号の高レベルの各
ビットの2進信号の種別「1」が偶数であるか奇数であ
るか、または低レベルの各ビットの2進信号の種別
「1」が偶数であるか奇数であるかを表現するものであ
る請求項1ないし3項のいずれかに記載の送受信装置。
5. A parity bit is provided in the signal of one group, and the parity bit is whether the binary signal type “1” of each high level bit of the rectangular wave signal is an even number or an odd number, 4. The transmitter / receiver according to claim 1, wherein the type "1" of the binary signal of each low-level bit is an even number or an odd number.
【請求項6】 1群の信号の高レベルと低レベルのそれ
ぞれを単位とするビット数が奇数である請求項1ないし
5のいずれかに記載の送受信装置。
6. The transmitter / receiver according to claim 1, wherein the number of bits in each of the high level and the low level of one group of signals is an odd number.
JP6175931A 1993-11-25 1994-07-05 Transmitter-receiver Pending JPH0823355A (en)

Priority Applications (9)

Application Number Priority Date Filing Date Title
JP6175931A JPH0823355A (en) 1994-07-05 1994-07-05 Transmitter-receiver
TW083110501A TW256900B (en) 1993-11-25 1994-11-14
GB9722590A GB2317254B (en) 1993-11-25 1994-11-23 Transmitting/receiving apparatus
GB9722589A GB2317253B (en) 1993-11-25 1994-11-23 Transmitting/receiving apparatus
GB9423676A GB2284478B (en) 1993-11-25 1994-11-23 Inclination detection apparatus and input apparatus
GB9722591A GB2316482B (en) 1993-11-25 1994-11-23 Inclination detection apparatus and input apparatus
DE4442107A DE4442107C2 (en) 1993-11-25 1994-11-25 Device for determining the direction angle to the location of a light source
US08/716,977 US6014129A (en) 1993-11-25 1996-09-20 Coordinate position of moving light source by using separated groups of detectors each group having an iris
US08/717,445 US5963194A (en) 1993-11-25 1996-09-20 Apparatus for inclination detection and input apparatus using this apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6175931A JPH0823355A (en) 1994-07-05 1994-07-05 Transmitter-receiver

Publications (1)

Publication Number Publication Date
JPH0823355A true JPH0823355A (en) 1996-01-23

Family

ID=16004760

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6175931A Pending JPH0823355A (en) 1993-11-25 1994-07-05 Transmitter-receiver

Country Status (1)

Country Link
JP (1) JPH0823355A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2007007409A1 (en) * 2005-07-14 2009-01-29 富士通株式会社 Data decoding method and data decoding apparatus to which the method is applied
JP2011146855A (en) * 2010-01-13 2011-07-28 Anywire:Kk Signal transmission system in control and monitoring signal transmission system
JP2017528078A (en) * 2014-09-05 2017-09-21 クワーン チー インテリジェント フォトニック テクノロジー リミテッド Optical signal encoding / decoding method and apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2007007409A1 (en) * 2005-07-14 2009-01-29 富士通株式会社 Data decoding method and data decoding apparatus to which the method is applied
JP4593621B2 (en) * 2005-07-14 2010-12-08 富士通株式会社 Data decoding method and data decoding apparatus to which the method is applied
JP2011146855A (en) * 2010-01-13 2011-07-28 Anywire:Kk Signal transmission system in control and monitoring signal transmission system
JP2017528078A (en) * 2014-09-05 2017-09-21 クワーン チー インテリジェント フォトニック テクノロジー リミテッド Optical signal encoding / decoding method and apparatus

Similar Documents

Publication Publication Date Title
US5963194A (en) Apparatus for inclination detection and input apparatus using this apparatus
CN101223709B (en) Data decoding method, and data decoding device applying the data decoding method
CN110832447B (en) Signal transmitting and receiving method, processor chip, active pen and touch screen
US5640160A (en) Pulse modulation method
GB2316482A (en) Inclination detection apparatus
CN110233677A (en) A kind of laser communication range unit and method based on light orthogonal code
JP2005338050A (en) Digital incremental encoder, digital incremental encoder system, and method of generating output signals for expressing angle position, rotational direction and revolution speed of shaft
CN101356786B (en) Pulse modulation method
JPH0823355A (en) Transmitter-receiver
JP3272155B2 (en) Transceiver
ITMI992541A1 (en) REMOTE POSITION DESIGNATION SYSTEM TO DESIGNATE AN OPTIONAL POSITION ON A FLOOR CORRESPONDING TO A REMOTE PLACE FROM THE FLOOR
EP0949785B1 (en) Method and device for transmitting a DC balanced multilevel code
JPH0823310A (en) Optical signal transmitter
CN111442704A (en) Carrier displacement reading device
CN111336884B (en) Measuring tape
JPH0923190A (en) Infrared communication device
CN100429681C (en) Signal transmission/reception system and method, and signal processing device and method
KR100832462B1 (en) Data processing method of infrared communication system and device therefor
JPS6232856B2 (en)
JP4859272B2 (en) Method and apparatus for decoding received signals for encoding and transmitting data
CN116163718B (en) A system and method for receiving downhole wireless signals
JP2025052714A (en) Signal processing device and signal processing method
JPH0296433A (en) Wireless keyboard device
JPS5999376A (en) Apparatus for detecting obstacle
JPS6342597A (en) Digital remote controller

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000613