JPH104341A - Data transmission method - Google Patents

Data transmission method

Info

Publication number
JPH104341A
JPH104341A JP8156526A JP15652696A JPH104341A JP H104341 A JPH104341 A JP H104341A JP 8156526 A JP8156526 A JP 8156526A JP 15652696 A JP15652696 A JP 15652696A JP H104341 A JPH104341 A JP H104341A
Authority
JP
Japan
Prior art keywords
time
count value
transmission
carrier
transmission carrier
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
JP8156526A
Other languages
Japanese (ja)
Inventor
Takashi Iino
崇 飯野
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.)
Mitsumi Electric Co Ltd
Original Assignee
Mitsumi 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 Mitsumi Electric Co Ltd filed Critical Mitsumi Electric Co Ltd
Priority to JP8156526A priority Critical patent/JPH104341A/en
Publication of JPH104341A publication Critical patent/JPH104341A/en
Pending legal-status Critical Current

Links

Landscapes

  • Optical Communication System (AREA)
  • Position Input By Displaying (AREA)
  • Computer And Data Communications (AREA)
  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
  • Selective Calling Equipment (AREA)

Abstract

(57)【要約】 【課題】 発光素子での消費電流を大幅に削減すること
ができるデータ送信方法を提供する。 【解決手段】 複数ビットで表されるカウント値nを示
す2進数データを送信する場合、送信開始時に送信キャ
リアを、所定時間τの間、オンとし;一定の遅延時間t
にカウント値nに対応する時間を加えた時間Tn の間、
送信キャリアをオフとし;送信キャリアを、所定時間τ
の間、オンとすることによってデータ送信を行う。送信
キャリアをオフとする時間Tn は、Tn =t+n・a
(但し、aは定数時間)で表される。
(57) [Problem] To provide a data transmission method capable of significantly reducing current consumption in a light emitting element. When transmitting binary data indicating a count value n represented by a plurality of bits, a transmission carrier is turned on for a predetermined time τ at the start of transmission; a fixed delay time t
And a time Tn obtained by adding a time corresponding to the count value n,
Turn off the transmission carrier;
During this time, data transmission is performed by turning on. The time Tn for turning off the transmission carrier is Tn = t + na.
(Where a is a constant time).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデータ送信方法に関
し、特にパーソナルコンピュータの入力装置として使用
されるワイヤレス・ポインティング・デバイスから複数
ビットで表されるカウント値を示す2進数データを送信
する方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a data transmission method, and more particularly, to a method of transmitting binary data indicating a count value represented by a plurality of bits from a wireless pointing device used as an input device of a personal computer.

【0002】[0002]

【従来の技術】周知のように、パーソナルコンピュータ
では、CRTディスプレイ等の表示装置の画面上での位
置指定や座標データの指示に用いる入力装置としてポイ
ンティング・デバイスが使用されている。このようなポ
インティング・デバイスは、Macintosh やWindows のよ
うにグラフィカル・ユーザ・インタフェース(GUI)
を採用したパーソナルコンピュータでは標準の入力装置
となっている。
2. Description of the Related Art As is well known, in a personal computer, a pointing device is used as an input device used to designate a position on a screen of a display device such as a CRT display or to designate coordinate data. Such pointing devices use graphical user interfaces (GUIs) like Macintosh and Windows.
It is a standard input device for personal computers that employ.

【0003】ポインティング・デバイスには、移動方向
と移動量によって座標上の位置を指示するマウスやトラ
ック・ボールがある。また、最近のノート型パーソナル
コンピュータでは、「タッチパッド」など、従来のトラ
ック・ボールに代わる新型のポインティング・デバイス
も登場している。
[0003] Pointing devices include a mouse and a track ball which indicate a position on coordinates according to a moving direction and a moving amount. In recent notebook personal computers, a new type of pointing device, such as a “touch pad”, has replaced the conventional track ball.

【0004】マウスは、周知のように、裏に回転するボ
ールの付いた、たばこ箱程度の小さな入力装置である。
マウスを机上で動かすことによりボールを回転させ、そ
れが移動方向、移動距離のデータとなって入力される。
パーソナルコンピュータとつなぐ接続ケーブルが長く延
びた姿がネズミに似ているのでこの名称がある。マウス
のような相対座標点入力装置は、表示装置の画面上でマ
ウス・カーソルと呼ばれるシンボルを互いに直交するX
方向(画面上の左右方向)とY方向(画面上の上下方
向)に移動させる必要がある。尚、机上などでは、X方
向は左右方向、Y方向は前後方向である。このため、相
対座標点入力装置は、X方向の移動量を示すXカウント
値を保持するXエンコーダと、Y方向の移動量を示すY
カウント値を保持するYエンコーダとを備え、また位置
を決めるために押されるスイッチボタンとを備えてい
る。Xカウント値やYカウント値などのカウント値は複
数ビットで表された2進数データで示される。尚、相対
座標点入力装置は、移動量を示すカウント値のほかに、
移動方向を示す値(X方向の正負を表わすビット及びY
方向の正負を表わすビット)を保持する手段も有してい
る。従って、カウント値は零又は正の値をとる。
[0004] A mouse is a small input device, such as a cigarette box, with a rotating ball on the back, as is well known.
The ball is rotated by moving the mouse on the desk, and the data is input as data of the moving direction and the moving distance.
The name of the connection cable that connects to a personal computer is long because it looks like a mouse. A relative coordinate point input device such as a mouse displays a symbol called a mouse cursor on a screen of a display device by using X and X orthogonal to each other.
It is necessary to move in the direction (horizontal direction on the screen) and the Y direction (vertical direction on the screen). On a desk or the like, the X direction is the left-right direction, and the Y direction is the front-back direction. Therefore, the relative coordinate point input device includes an X encoder that holds an X count value indicating the amount of movement in the X direction, and a Y encoder that indicates the amount of movement in the Y direction.
A Y encoder for holding a count value, and a switch button pressed to determine a position. The count values such as the X count value and the Y count value are represented by binary data represented by a plurality of bits. In addition, the relative coordinate point input device, in addition to the count value indicating the movement amount,
A value indicating the moving direction (a bit indicating positive or negative in the X direction and Y
(A bit indicating the sign of the direction). Therefore, the count value takes zero or a positive value.

【0005】また、最近、パーソナルコンピュータとつ
なぐ接続ケーブルの代わりに赤外線を使ったワイヤレス
・マウスも登場している。このようなワイヤレス・マウ
スのような赤外線を使用するポインティング・デバイス
は、ワイヤレス・ポインティング・デバイスと総称され
る。ワイヤレス・ポインティング・デバイスは、赤外線
を使用して、上述した複数ビットで表されるカウント値
を示す2進数データをパーソナルコンピュータの受信部
(受光部)へ送信(出射)する送信部(発光部)として
働く。尚、カウント値を示す2進数データの送信は、
“0”以外のカウント値を検出したとき、スイッチボタ
ンの状態に変化があったときに行われる。
Recently, a wireless mouse using infrared rays instead of a connection cable for connecting to a personal computer has appeared. A pointing device that uses infrared light, such as a wireless mouse, is collectively referred to as a wireless pointing device. The wireless pointing device transmits (emits) the binary data indicating the count value represented by the plurality of bits to the receiving unit (light receiving unit) of the personal computer using infrared rays. Work as The transmission of the binary data indicating the count value is as follows.
This is performed when a count value other than “0” is detected and when the state of the switch button changes.

【0006】従来、ワイヤレス・ポインティング・デバ
イスでは、データ送信を、リモートコントローラ等で使
用されているものと同様の送信フォーマット(伝送路符
号)を使用して行っている。この送信フォーマットは、
あらかじめ2進数データを構成する論理“0”と論理
“1”を定義しておき、それを使って2進数データを送
信している。一般に、論理“0”と論理“1”は、送信
キャリアをオンにする時間で区別される。すなわち、伝
送路符号として、論理“0”と論理“1”をパルスの長
短に変換するパルス持続変調(pulse duration modulat
ion )方式を採用している。
[0006] Conventionally, in a wireless pointing device, data transmission is performed using a transmission format (transmission line code) similar to that used in a remote controller or the like. This transmission format is
The logic "0" and the logic "1" constituting the binary data are defined in advance, and the binary data is transmitted using the logic. Generally, logic "0" and logic "1" are distinguished by the time at which the transmission carrier is turned on. That is, pulse duration modulation (pulse duration modulation) for converting logic “0” and logic “1” into a pulse length as a transmission line code.
ion) method.

【0007】このように赤外線を使用して2進数データ
の送信を行う際には、論理“0”と論理“1”の情報を
表すパルスを予め決めておき、それを使用して送信部と
受信部とでデータのやり取りを行う。この予め定義され
た論理“0”を伝送するためのパルスを論理「0」パル
ス、論理“1”を伝送するためのパルスを論理「1」パ
ルスと呼び、それらを一括して論理フォーマットと言
う。
[0007] When transmitting binary data using infrared rays, a pulse representing information of logic "0" and logic "1" is determined in advance, and a pulse is transmitted to the transmitting unit using the pulse. Data is exchanged with the receiving unit. The pulse for transmitting the predefined logic "0" is called a logic "0" pulse, the pulse for transmitting the logic "1" is called a logic "1" pulse, and these are collectively called a logic format. .

【0008】図7に論理“0”と論理“1”の伝送路符
号を示す。図7から明らかなように、論理“0”を伝送
する論理「0」パルスにおける送信キャリアをオンにす
る時間(パルス幅)τ0 は、論理“1”を伝送する論理
「1」パルスにおける送信キャリアをオンにする時間
(パルス幅)τ1 よりも短い(τ0 <τ1 )。なお、図
7において、Tはパルス繰り返し周期である。
FIG. 7 shows transmission line codes of logic "0" and logic "1". As is clear from FIG. 7, the time (pulse width) τ 0 for turning on the transmission carrier in the logical “0” pulse transmitting the logical “0” is determined by the transmission in the logical “1” pulse transmitting the logical “1”. It is shorter than the time (pulse width) τ 1 for turning on the carrier (τ 01 ). In FIG. 7, T is a pulse repetition period.

【0009】カウント値が10進数で“83(D)”で
ある8ビットの2進数データ“01010011
(B)”を送信するとする。この場合、従来のデータ送
信方法では、図8に示すように、8回送信キャリアをオ
ンにする必要がある。ワイヤレス・ポインティング・デ
バイスでは、前述したように、Xカウント値とYカウン
ト値とを示す2進数データを送信する必要があるので、
各カウント値が8ビットで表わされるとすれば、Xカウ
ント値およびYカウント値に対してそれぞれ8回ずつ合
計16回、送信キャリアをオンにする必要がある。
The 8-bit binary data “01010111” whose count value is “83 (D)” in decimal.
In this case, in the conventional data transmission method, the transmission carrier needs to be turned on eight times as shown in FIG. 8. In the wireless pointing device, as described above, Since it is necessary to transmit binary data indicating the X count value and the Y count value,
Assuming that each count value is represented by 8 bits, it is necessary to turn on the transmission carrier a total of 16 times, 8 times each for the X count value and the Y count value.

【0010】[0010]

【発明が解決しようとする課題】上述したように、従来
のデータ送信方法では、2進数データを送信するため
に、2進数データを構成するビット数に相当する回数だ
け送信キャリアをオンにする必要がある。このため、従
来のデータ送信方法では、送信キャリアをオンにする回
数が大幅に増えてしまい、これに伴って赤外線を出射す
る発光素子で消費される消費電流も増加してしまうとい
う欠点がある。
As described above, in the conventional data transmission method, in order to transmit binary data, it is necessary to turn on the transmission carrier a number of times corresponding to the number of bits constituting the binary data. There is. For this reason, the conventional data transmission method has a disadvantage that the number of times that the transmission carrier is turned on is greatly increased, and accordingly, the current consumed by the light emitting element that emits infrared light is also increased.

【0011】したがって、本発明の課題は、上述した従
来の問題点に鑑み、発光素子での消費電流を大幅に削減
することができるデータ送信方法を提供することにあ
る。
Accordingly, an object of the present invention is to provide a data transmission method capable of greatly reducing current consumption in a light emitting element in view of the above-mentioned conventional problems.

【0012】[0012]

【課題を解決するための手段】本発明の第1の態様によ
れば、複数ビットで表されるカウント値nを示す2進数
データを送信する方法において、送信開始時に送信キャ
リアを、所定時間の間、オンとし;一定の遅延時間tに
前記カウント値nに対応する時間を加えた時間Tn の
間、前記送信キャリアをオフとし;前記送信キャリア
を、前記所定時間の間、オンとするステップを含むこと
を特徴とするデータ送信方法が得られる。
According to a first aspect of the present invention, in a method for transmitting binary data indicating a count value n represented by a plurality of bits, a transmission carrier is set at a predetermined time for a predetermined time. Turning on the transmission carrier for a predetermined delay time t plus a time corresponding to the count value n for turning off the transmission carrier; turning on the transmission carrier for the predetermined time. And a data transmission method characterized by including the following.

【0013】上記第1の態様によるデータ送信方法にお
いて、前記送信キャリアをオフとする時間Tn は、例え
ば、Tn =t+n・a(但し、aは定数時間)で表され
る。
In the data transmission method according to the first aspect, the time Tn during which the transmission carrier is turned off is represented by, for example, Tn = t + na (where a is a constant time).

【0014】また、本発明の第2の態様によれば、各々
複数ビットで表されるXカウント値n(X)およびYカ
ウント値n(Y)を示す2進数データを送信する方法に
おいて、送信開始時に送信キャリアを、所定時間の間、
オンとし;一定の遅延時間tに前記Xカウント値n
(X)に対応する時間を加えた時間Tn (X)の間、前
記送信キャリアをオフとし;前記送信キャリアを、前記
所定時間の間、オンとし;前記一定の遅延時間tに前記
Yカウント値n(Y)に対応する時間を加えた時間Tn
(Y)の間、前記送信キャリアをオフとし;前記送信キ
ャリアを、前記所定時間の間、オンとするステップを含
むことを特徴とするデータ送信方法が得られる。
According to a second aspect of the present invention, there is provided a method for transmitting binary data indicating an X count value n (X) and a Y count value n (Y) each represented by a plurality of bits. At the start, the transmission carrier is
ON; X count value n at a fixed delay time t
The transmission carrier is turned off for a time Tn (X) obtained by adding a time corresponding to (X); the transmission carrier is turned on for the predetermined time; and the Y count value is added to the predetermined delay time t. Time Tn obtained by adding time corresponding to n (Y)
(Y) turning off the transmission carrier; turning on the transmission carrier for the predetermined time period.

【0015】上記第2の態様によるデータ送信方法にお
いて、前記送信キャリアをオフとする時間Tn (X)お
よびTn (Y)は、例えば、それぞれ、Tn (X)=t
+n(X)・aおよびTn (Y)=t+n(Y)・a
(但し、aは定数時間)で表される。
In the data transmission method according to the second aspect, the times Tn (X) and Tn (Y) for turning off the transmission carrier are, for example, Tn (X) = t, respectively.
+ N (X) · a and Tn (Y) = t + n (Y) · a
(Where a is a constant time).

【0016】[0016]

【発明の実施の形態】以下、図面を参照して、本発明の
実施の形態について詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0017】図1を参照して、本発明の第1の実施形態
によるデータ送信方法について説明する。本データ送信
方法は、複数ビットで表されるカウント値nを示す2進
数データを送信する方法である。図1において、(a)
はカウント値が10進数で“0”の場合のキャリア送信
を示し、(b)はカウント値が10進数で“1”の場合
のキャリア送信を示し、(c)はカウント値が10進数
で“2”の場合のキャリア送信を示し、(d)はカウン
ト値が10進数で“n”の場合のキャリア送信を示す。
Referring to FIG. 1, a data transmission method according to the first embodiment of the present invention will be described. This data transmission method is a method of transmitting binary data indicating a count value n represented by a plurality of bits. In FIG. 1, (a)
Shows carrier transmission when the count value is "0" in decimal, (b) shows carrier transmission when the count value is "1", and (c) shows "carrier" when the count value is decimal. 2 "indicates carrier transmission, and (d) indicates carrier transmission when the count value is" n "in decimal.

【0018】第1の実施形態によるデータ送信方法は、
送信開始時に送信キャリアを、所定時間τの間、オンと
し、一定の遅延時間tにカウント値nに対応する時間を
加えた時間Tn の間、送信キャリアをオフとし、送信キ
ャリアを、所定時間τの間、オンとする。
The data transmission method according to the first embodiment is as follows.
At the start of transmission, the transmission carrier is turned on for a predetermined time τ, the transmission carrier is turned off for a time Tn obtained by adding a time corresponding to the count value n to a fixed delay time t, and the transmission carrier is turned off for a predetermined time τ During this time, it is turned on.

【0019】したがって、カウント値が“0”の場合、
図1(a)に示すように、送信キャリアをオフとする時
間T0 は、T0 =tに等しい。また、カウント値が
“1”の場合、図1(b)に示すように、送信キャリア
をオフとする時間T1 は、T1 =t+a(但し、aは定
数時間)に等しい。同様に、カウント値が“2”の場
合、図1(c)に示すように、送信キャリアをオフとす
る時間T2 は、T2 =t+2aに等しい。一般に、カウ
ント値が“n”の場合、図1(d)に示すように、送信
キャリアをオフとする時間Tn は、Tn =t+n・aで
表される。
Therefore, when the count value is "0",
As shown in FIG. 1A, the time T0 for turning off the transmission carrier is equal to T0 = t. When the count value is "1", as shown in FIG. 1B, the time T1 for turning off the transmission carrier is equal to T1 = t + a (where a is a constant time). Similarly, when the count value is "2", as shown in FIG. 1C, the time T2 for turning off the transmission carrier is equal to T2 = t + 2a. Generally, when the count value is “n”, as shown in FIG. 1D, the time Tn during which the transmission carrier is turned off is represented by Tn = t + na.

【0020】図2を参照して、本発明の第2の実施形態
によるデータ送信方法について説明する。本データ送信
方法は、各々複数ビットで表されるXカウント値n
(X)およびYカウント値n(Y)を示す2進数データ
を送信する方法である。
A data transmission method according to a second embodiment of the present invention will be described with reference to FIG. This data transmission method uses an X count value n represented by a plurality of bits.
This is a method of transmitting binary data indicating (X) and Y count value n (Y).

【0021】第2の実施形態による送信方法は、送信開
始時に送信キャリアを、所定時間τの間、オンとし、一
定の遅延時間tにXカウント値n(X)に対応する時間
を加えた時間Tn (X)の間、送信キャリアをオフと
し、送信キャリアを、所定時間τの間、オンとし、一定
の遅延時間tにYカウント値n(Y)に対応する時間を
加えた時間Tn (Y)の間、送信キャリアをオフとし、
送信キャリアを、所定時間τの間、オンとする。
In the transmission method according to the second embodiment, the transmission carrier is turned on for a predetermined time τ at the start of transmission, and a time obtained by adding a time corresponding to the X count value n (X) to a fixed delay time t. The transmission carrier is turned off during Tn (X), the transmission carrier is turned on for a predetermined time τ, and a time Tn (Y obtained by adding a time corresponding to the Y count value n (Y) to a fixed delay time t. ), Turn off the transmit carrier,
The transmission carrier is turned on for a predetermined time τ.

【0022】第2の実施形態による送信方法において、
上記送信キャリアをオフとする時間Tn (X)およびT
n (Y)は、それぞれ、Tn (X)=t+n(X)・a
およびTn (Y)=t+n(Y)・a(但し、aは定数
時間)で表される。
In the transmission method according to the second embodiment,
The time Tn (X) and T for turning off the transmission carrier
n (Y) is Tn (X) = t + n (X) · a
And Tn (Y) = t + n (Y) .a (where a is a constant time).

【0023】図3を参照して、上記第2の実施形態によ
るデータ送信方法が適用されるパーソナルコンピュータ
について説明する。パーソナルコンピュータは、パーソ
ナルコンピュータ本体10と、CRTディスプレイ20
と、ワイヤレス型キーボード30と、ワイヤレス・マウ
ス40とを備えている。ワイヤレス・キーボード30
は、ワイヤレス・ポインティング・デバイス50を有す
る。パーソナルコンピュータ本体10は、ワイヤレス・
マウス40やワイヤレス・キーボード30から送信(出
射)されてくる赤外線を受信(受光)するための受信部
(受光部)60を有する。
A personal computer to which the data transmission method according to the second embodiment is applied will be described with reference to FIG. The personal computer includes a personal computer main body 10 and a CRT display 20.
, A wireless keyboard 30 and a wireless mouse 40. Wireless keyboard 30
Has a wireless pointing device 50. The personal computer body 10 is a wireless
A receiving unit (light receiving unit) 60 for receiving (receiving) infrared light transmitted (emitted) from the mouse 40 or the wireless keyboard 30 is provided.

【0024】図4にワイヤレス・マウス40と受信部6
0の構成を示す。尚、ワイヤレス・ポインティング・デ
バイス50もワイヤレス・マウス40と同様の構成を有
する。
FIG. 4 shows the wireless mouse 40 and the receiving unit 6.
0 is shown. The wireless pointing device 50 has the same configuration as the wireless mouse 40.

【0025】ワイヤレス・マウス40は、X方向の移動
量を示すXカウント値を保持するXエンコーダ41と、
Y方向の移動量を示すYカウント値を保持するYエンコ
ーダ42と、位置を決めるために押されるスイッチボタ
ン43と、メインCPU44と、サブCPU45と、赤
外線を発光する発光素子46とを備えている。メインC
PU44は、後述するように、Xエンコーダ41、Yエ
ンコーダ42およびスイッチボタン43のサンプリング
を行う。サブCPU45は、後述するように、発光素子
46を駆動してキャリア送信を行う。ワイヤレス・マウ
ス40は、上述した第2の実施形態による送信方法によ
って、赤外線を使用して、各々複数ビットで表されるX
カウント値n(X)およびYカウント値n(Y)を示す
2進数データを受信部60へ送信する。
The wireless mouse 40 has an X encoder 41 for holding an X count value indicating the amount of movement in the X direction,
It includes a Y encoder 42 for holding a Y count value indicating the amount of movement in the Y direction, a switch button 43 pressed to determine a position, a main CPU 44, a sub CPU 45, and a light emitting element 46 that emits infrared light. . Main C
The PU 44 performs sampling of the X encoder 41, the Y encoder 42, and the switch button 43 as described later. The sub CPU 45 drives the light emitting element 46 to perform carrier transmission, as described later. The wireless mouse 40 uses the transmission method according to the above-described second embodiment to use an infrared ray to transmit X represented by a plurality of bits.
The binary data indicating the count value n (X) and the Y count value n (Y) is transmitted to the receiving unit 60.

【0026】受信部60は、赤外線を受光する受光素子
61と、受光モジュール62と、マイクロコンピュータ
63とを有する。マイクロコンピュータ63は、受光モ
ジュール62を介する受光素子61からの電気信号か
ら、2進数データを再生する。
The receiving section 60 has a light receiving element 61 for receiving infrared rays, a light receiving module 62, and a microcomputer 63. The microcomputer 63 reproduces binary data from the electric signal from the light receiving element 61 via the light receiving module 62.

【0027】次に、図5を参照して、メインCPU44
の動作について説明する。
Next, referring to FIG.
Will be described.

【0028】まず、メインCPU44は動作フラグ(図
示せず)をクリアし(ステップS1)た後、Xエンコー
ダ41、Yエンコーダ42およびスイッチボタン43を
順次サンプリングする(ステップS2,S3,S4)。
次に、メインCPU44はXエンコーダ41でX方向の
カウントが有った否かを判断する(ステップS5)。X
方向のカウントが有った場合、メインCPU44はXカ
ウント・レジスタ(図示せず)にXカウント値n(X)
をセットし(ステップS6)、動作フラグをセットし
(ステップS7)て、ステップS8へ進む。一方、X方
向のカウントが無い場合、Xカウント値n(X)を
“0”とし(ステップS9)て、ステップS8に進む。
First, after clearing an operation flag (not shown) (step S1), the main CPU 44 sequentially samples the X encoder 41, the Y encoder 42 and the switch button 43 (steps S2, S3, S4).
Next, the main CPU 44 determines whether or not the X encoder 41 has counted in the X direction (step S5). X
If there is a count in the direction, the main CPU 44 stores an X count value n (X) in an X count register (not shown).
Is set (step S6), an operation flag is set (step S7), and the process proceeds to step S8. On the other hand, when there is no count in the X direction, the X count value n (X) is set to “0” (step S9), and the process proceeds to step S8.

【0029】ステップS8では、メインCPU44は、
Yエンコーダ42でY方向のカウントが有った否かを判
断する。Y方向のカウントが有った場合、メインCPU
44はYカウント・レジスタ(図示せず)にYカウント
値n(Y)をセットし(ステップS10)、動作フラグ
をセットし(ステップS11)て、ステップS12へ進
む。一方、Y方向のカウントが無い場合、Yカウント値
n(Y)を“0”とし(ステップS13)してステップ
S12に進む。
In step S8, the main CPU 44
It is determined whether or not the Y encoder 42 has counted in the Y direction. If there is a count in the Y direction, the main CPU
44 sets a Y count value n (Y) in a Y count register (not shown) (step S10), sets an operation flag (step S11), and proceeds to step S12. On the other hand, when there is no count in the Y direction, the Y count value n (Y) is set to “0” (step S13), and the process proceeds to step S12.

【0030】ステップS12では、メインCPU44
は、スイッチボタン43の状態に変化が有ったか否かを
判断する。スイッチボタン43の状態に変化が有った場
合、メインCPU44は、スイッチボタン43の状態を
保持するスイッチ・レジスタ(図示せず)の内容を更新
し(ステップS14)、動作フラグをセットし(ステッ
プS15)て、ステップS16へ進む。一方、スイッチ
ボタン43の状態に変化が無い場合、メインCPU44
はスイッチボタン43の状態を保存したまま(ステップ
S17)で、ステップS16へ進む。
In step S12, the main CPU 44
Determines whether the state of the switch button 43 has changed. If there is a change in the state of the switch button 43, the main CPU 44 updates the contents of a switch register (not shown) that holds the state of the switch button 43 (step S14), and sets an operation flag (step S14). S15) and proceed to step S16. On the other hand, when there is no change in the state of the switch button 43, the main CPU 44
Proceeds to step S16 while keeping the state of the switch button 43 (step S17).

【0031】ステップS16で、メインCPU44は動
作フラグがセットされているか否かを判断する。動作フ
ラグがセットされていなければ、メインCPU44はス
テップS2へ直接戻る。一方、動作フラグがセットされ
てた場合、メインCPU44は、サブCPU45を起動
してキャリア送信を行わせ(ステップS18)た後、動
作フラグをクリアし(ステップS19)て、ステップS
2へ戻る。
In step S16, the main CPU 44 determines whether or not the operation flag has been set. If the operation flag has not been set, the main CPU 44 directly returns to step S2. On the other hand, if the operation flag has been set, the main CPU 44 activates the sub CPU 45 to perform carrier transmission (step S18), clears the operation flag (step S19), and proceeds to step S19.
Return to 2.

【0032】次に、図2に加えて図6を参照して、サブ
CPU45で行われるキャリア送信の動作について説明
する。
Next, the operation of carrier transmission performed by the sub CPU 45 will be described with reference to FIG. 6 in addition to FIG.

【0033】サブCPU45は、まず、送信キャリアを
オンとし(ステップS21)、所定時間τの間遅延し
(ステップS22)た後、送信キャリアをオフとする
(ステップS23)。引き続いて、サブCPU45は、
ループ・カウンタ(図示せず)にメインCPU44のX
カウント・レジスタに保持されたXカウント値n(X)
をセットする(ステップS24)。このセット動作には
一定の遅延時間tかかる。
First, the sub CPU 45 turns on the transmission carrier (step S21), delays for a predetermined time τ (step S22), and turns off the transmission carrier (step S23). Subsequently, the sub CPU 45
X of the main CPU 44 is stored in a loop counter (not shown).
X count value n (X) held in count register
Is set (step S24). This set operation requires a certain delay time t.

【0034】次に、サブCPU45は、ループ・カウン
タのカウント値が“0”であるか否かを判断する(ステ
ップS25)。ループ・カウンタのカウント値が“0”
でなければ、サブCPU45はループ・カウンタのカウ
ント値を1だけ減少し(ステップS26)、定数時間a
だけ遅延し(ステップS27)た後、ステップS25に
戻る。ステップS25において、ループ・カウンタのカ
ウント値が“0”であれば、サブCPU45は送信キャ
リアをオンとする(ステップS28)。したがって、送
信キャリアをオフとする時間Tn (X)は、Tn (X)
=t+n(X)・aに等しくなる。
Next, the sub CPU 45 determines whether or not the count value of the loop counter is "0" (step S25). The count value of the loop counter is "0"
If not, the sub CPU 45 decreases the count value of the loop counter by 1 (step S26), and
After a delay (step S27), the process returns to step S25. If the count value of the loop counter is "0" in step S25, the sub CPU 45 turns on the transmission carrier (step S28). Therefore, the time Tn (X) for turning off the transmission carrier is Tn (X)
= T + n (X) · a.

【0035】次に、サブCPU45は、所定時間τの間
遅延し(ステップS29)た後、送信キャリアをオフと
する(ステップS30)。引き続いて、サブCPU45
は、ループ・カウンタ(図示せず)にメインCPU44
のYカウント・レジスタに保持されたYカウント値n
(X)をセットする(ステップS31)。このセット動
作には一定の遅延時間tかかる。
Next, the sub CPU 45 turns off the transmission carrier after a delay for a predetermined time τ (step S29) (step S30). Subsequently, the sub CPU 45
The main CPU 44 stores a loop counter (not shown)
Count value n held in the Y count register
(X) is set (step S31). This set operation requires a certain delay time t.

【0036】次に、サブCPU45は、ループ・カウン
タのカウント値が“0”であるか否かを判断する(ステ
ップS32)。ループ・カウンタのカウント値が“0”
でなければ、サブCPU45はループ・カウンタのカウ
ント値を1だけ減少し(ステップS33)、定数時間a
だけ遅延し(ステップS34)た後、ステップS32に
戻る。ステップS32において、ループ・カウンタのカ
ウント値が“0”であれば、サブCPU45は送信キャ
リアをオンとする(ステップS35)。したがって、送
信キャリアをオフとする時間Tn (Y)は、Tn (Y)
=t+n(Y)・aに等しくなる。
Next, the sub CPU 45 determines whether or not the count value of the loop counter is "0" (step S32). The count value of the loop counter is "0"
If not, the sub CPU 45 decreases the count value of the loop counter by 1 (step S33), and
After a delay (step S34), the process returns to step S32. If the count value of the loop counter is "0" in step S32, the sub CPU 45 turns on the transmission carrier (step S35). Therefore, the time Tn (Y) for turning off the transmission carrier is Tn (Y)
= T + n (Y) · a.

【0037】次に、サブCPU45は、所定時間τの間
遅延し(ステップS36)た後、送信キャリアをオフと
し(ステップS37)て、メインCPU44に制御を戻
す。
Next, after a delay of a predetermined time τ (step S36), the sub CPU 45 turns off the transmission carrier (step S37) and returns control to the main CPU 44.

【0038】したがって、Xカウント値n(X)および
Yカウント値n(Y)を示す2進数データを受信部60
へ送信するのに、送信キャリアを3回オンにするだけで
良い。したがって、発光素子46での消費電流を大幅に
削減することが可能となる。これにより、低消費電流型
のワイヤレス・マウス40およびワイヤレス・ポインテ
ィング・デバイス50を実現することが可能になる。
Therefore, the binary data indicating the X count value n (X) and the Y count value n (Y) is received by the receiving unit 60.
It is only necessary to turn on the transmission carrier three times to transmit to. Therefore, current consumption in the light emitting element 46 can be significantly reduced. Thereby, it is possible to realize the wireless mouse 40 and the wireless pointing device 50 of the low current consumption type.

【0039】本発明は上述した実施形態に限定せず、本
発明の趣旨を逸脱しない範囲内で種々の変更・変形が可
能なのは勿論である。
The present invention is not limited to the above-described embodiment, and it is needless to say that various changes and modifications can be made without departing from the spirit of the present invention.

【0040】[0040]

【発明の効果】以上の説明から明らかなように、本発明
によれば、カウント値を示す2進数データを送信する場
合、間に挟まれた送信キャリアのオフの期間をカウント
値に相当する時間とした、2つの送信キャリアのオンだ
けで送信しているので、発光素子での消費電流を大幅に
削減することができる。
As is apparent from the above description, according to the present invention, when transmitting binary data indicating the count value, the off period of the transmission carrier interposed between the binary data and the time corresponding to the count value is determined. Since the transmission is performed only by turning on the two transmission carriers, the current consumption in the light emitting element can be significantly reduced.

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

【図1】本発明の第1の実施形態によるデータ送信方法
を示すタイムチャートである。
FIG. 1 is a time chart illustrating a data transmission method according to a first embodiment of the present invention.

【図2】本発明の第2の実施形態によるデータ送信方法
を示すタイムチャートである。
FIG. 2 is a time chart illustrating a data transmission method according to a second embodiment of the present invention.

【図3】図2に示したデータ送信方法が適用されるパー
ソナルコンピュータを示すブロック図である。
FIG. 3 is a block diagram showing a personal computer to which the data transmission method shown in FIG. 2 is applied.

【図4】図3に示したパーソナルコンピュータ中のワイ
ヤレス・マウスと受信部との構成を示すブロック図であ
る。
4 is a block diagram showing a configuration of a wireless mouse and a receiving unit in the personal computer shown in FIG.

【図5】図4に示したワイヤレス・マウス中のメインC
PUの動作を説明するためのフローチャートである。
FIG. 5 shows a main C in the wireless mouse shown in FIG. 4;
5 is a flowchart for explaining the operation of the PU.

【図6】図4に示したワイヤレス・マウス中のサブCP
Uで行われるキャリア送信の動作を説明するためのフロ
ーチャートである。
FIG. 6 shows a sub CP in the wireless mouse shown in FIG.
6 is a flowchart for describing an operation of carrier transmission performed in U.

【図7】従来の送信方法における論理“0”と論理
“1”の伝送路符号(送信フォーマット)を示す図であ
る。
FIG. 7 is a diagram showing transmission line codes (transmission formats) of logic “0” and logic “1” in a conventional transmission method.

【図8】従来のデータ送信方法を示すタイムチャートで
ある。
FIG. 8 is a time chart showing a conventional data transmission method.

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

T0 ,T1 ,T2 ,Tn 送信キャリアをオフとする
時間 Tn (X),Tn (Y) 送信キャリアをオフとする
時間 τ 送信キャリアをオンとする時間 t 一定の遅延時間 a 定数時間
T0, T1, T2, Tn Time for turning off the transmission carrier Tn (X), Tn (Y) Time for turning off the transmission carrier τ Time for turning on the transmission carrier t Constant delay time a Constant time

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04L 27/02 H04Q 9/00 361 Continued on the front page (51) Int.Cl. 6 Identification number Reference number in the agency FI Technical display location H04L 27/02 H04Q 9/00 361

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数ビットで表されるカウント値nを示
す2進数データを送信する方法において、 送信開始時に送信キャリアを、所定時間の間、オンと
し、 一定の遅延時間tに前記カウント値nに対応する時間を
加えた時間Tn の間、前記送信キャリアをオフとし、 前記送信キャリアを、前記所定時間の間、オンとするス
テップを含むことを特徴とするデータ送信方法。
1. A method for transmitting binary data indicating a count value n represented by a plurality of bits, wherein a transmission carrier is turned on for a predetermined time at the start of transmission, and the count value n is set to a predetermined delay time t. A data transmission method, comprising: turning off the transmission carrier for a time Tn obtained by adding a time corresponding to the above, and turning on the transmission carrier for the predetermined time.
【請求項2】 前記送信キャリアをオフとする時間Tn
は、 Tn =t+n・a (但し、aは定数時間)で表されることを特徴とする請
求項1に記載のデータ送信方法。
2. A time Tn for turning off the transmission carrier.
The data transmission method according to claim 1, wherein is represented by Tn = t + na (where a is a constant time).
【請求項3】 各々複数ビットで表されるXカウント値
n(X)およびYカウント値n(Y)を示す2進数デー
タを送信する方法において、 送信開始時に送信キャリアを、所定時間の間、オンと
し、 一定の遅延時間tに前記Xカウント値n(X)に対応す
る時間を加えた時間Tn (X)の間、前記送信キャリア
をオフとし、 前記送信キャリアを、前記所定時間の間、オンとし、 前記一定の遅延時間tに前記Yカウント値n(Y)に対
応する時間を加えた時間Tn (Y)の間、前記送信キャ
リアをオフとし、 前記送信キャリアを、前記所定時間の間、オンとするス
テップを含むことを特徴とするデータ送信方法。
3. A method for transmitting binary data indicating an X count value n (X) and a Y count value n (Y) each represented by a plurality of bits, comprising: The transmission carrier is turned off for a time Tn (X) obtained by adding a time corresponding to the X count value n (X) to a fixed delay time t. The transmission carrier is turned off for a time Tn (Y) obtained by adding a time corresponding to the Y count value n (Y) to the fixed delay time t, and the transmission carrier is turned off for the predetermined time. , Turning on the data.
【請求項4】 前記送信キャリアをオフとする時間Tn
(X)およびTn (Y)は、それぞれ、 Tn (X)=t+n(X)・a Tn (Y)=t+n(Y)・a (但し、aは定数時間)で表されることを特徴とする請
求項3に記載のデータ送信方法。
4. A time Tn for turning off the transmission carrier.
(X) and Tn (Y) are represented by Tn (X) = t + n (X) · a Tn (Y) = t + n (Y) · a (where a is a constant time). 4. The data transmission method according to claim 3, wherein:
JP8156526A 1996-06-18 1996-06-18 Data transmission method Pending JPH104341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8156526A JPH104341A (en) 1996-06-18 1996-06-18 Data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8156526A JPH104341A (en) 1996-06-18 1996-06-18 Data transmission method

Publications (1)

Publication Number Publication Date
JPH104341A true JPH104341A (en) 1998-01-06

Family

ID=15629725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8156526A Pending JPH104341A (en) 1996-06-18 1996-06-18 Data transmission method

Country Status (1)

Country Link
JP (1) JPH104341A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7689185B2 (en) 2004-02-11 2010-03-30 Samsung Electronics Co., Ltd. Apparatus and method for estimating initial frequency offset in an asynchronous mobile communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7689185B2 (en) 2004-02-11 2010-03-30 Samsung Electronics Co., Ltd. Apparatus and method for estimating initial frequency offset in an asynchronous mobile communication system

Similar Documents

Publication Publication Date Title
JP3378694B2 (en) Information transmission equipment
CN100583017C (en) Wireless control laser pointer and multi-user light point recognition system with user identification
US5305449A (en) Keycode/pointing device conversion adapter which converts mouse motion signals into cursor signals by activating keyboard cursor keys
US5406273A (en) Data processor
KR100922643B1 (en) Methods and apparatus to provide a handheld pointer-based user interface
JPH09116985A (en) Remote control device, remote control method and device
JPH104341A (en) Data transmission method
CN101212744A (en) Mobile phone with indication control function
US6803907B2 (en) Wireless beam-pen pointing device
US20030224727A1 (en) Apparatus for controlling computer pointer motions, outputs and events
US20070057918A1 (en) Mouse with extensible PS/2 mouse buttons
JP2003023680A (en) Remote controller, remote control method, and remote control system
KR200295186Y1 (en) Laser pointing device having function like mouse
KR200323683Y1 (en) Laser pointing device having function like mouse
KR20020052919A (en) Laser pointer able to function as a computer mouse
KR200230692Y1 (en) RF input device combined with laser pointer for presentation.
JPH09222945A (en) Wireless input device
KR200304457Y1 (en) Laser pointing device that is possible data input/output
CN103092385A (en) General programmable touch display device
KR100400188B1 (en) Method for changing the function key of computer each program in the remote control apparatus for computer
JPH06230871A (en) Cordless coordinate input device
CN101609378A (en) Wireless transmitter arranged on touch screen to form bidirectional signal transmission
CN116700590A (en) Method for constructing virtual digital pen, writing equipment and computer readable medium
JP2000250704A (en) Personal computer system and controller
JPH0962600A (en) Wireless input system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20031015