JPH0449719Y2 - - Google Patents

Info

Publication number
JPH0449719Y2
JPH0449719Y2 JP1987180411U JP18041187U JPH0449719Y2 JP H0449719 Y2 JPH0449719 Y2 JP H0449719Y2 JP 1987180411 U JP1987180411 U JP 1987180411U JP 18041187 U JP18041187 U JP 18041187U JP H0449719 Y2 JPH0449719 Y2 JP H0449719Y2
Authority
JP
Japan
Prior art keywords
output
signal
movement
input device
axis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP1987180411U
Other languages
Japanese (ja)
Other versions
JPH0184138U (en
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 filed Critical
Priority to JP1987180411U priority Critical patent/JPH0449719Y2/ja
Publication of JPH0184138U publication Critical patent/JPH0184138U/ja
Application granted granted Critical
Publication of JPH0449719Y2 publication Critical patent/JPH0449719Y2/ja
Expired legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)

Description

【考案の詳細な説明】 〔産業上の利用分野〕 この考案はX−Y方向入力装置に関し、特に、
たとえばテレビゲーム装置におけるジヨイステツ
クのような入力装置として使える、マウスやトラ
ツクボール等の新規なX−Y方向入力装置に関す
る。
[Detailed description of the invention] [Industrial application field] This invention relates to an X-Y direction input device, and in particular,
The present invention relates to a novel X-Y direction input device, such as a mouse or trackball, which can be used as an input device such as a joystick in a television game device.

〔従来技術〕[Prior art]

テレビゲーム装置では、ゲームに応じて、たと
えばテレビ画面上に表示されたキヤラクタを移動
させるためにはジヨイステツクにような方向入力
装置を操作しなければならない。
In a television game device, a direction input device such as a joystick must be operated in order to move a character displayed on a television screen according to the game.

〔考案が解決しようとする問題点〕[Problem that the invention attempts to solve]

一方、本来的にはXY平面上の座標位置を入力
するために用いられるマウスやトラツクボール等
は、その操作が簡単なため、これをゲーム装置の
方向入力装置として利用することが考えられる。
しかしながら、マウスはそれが実際に移動した距
離に応じた移動距離しか入力できないため、ゲー
ム装置の方向入力装置としては、広い操作平面を
必要とするなど、不適であつた。
On the other hand, a mouse, a track ball, etc., which are originally used for inputting coordinate positions on the XY plane, are easy to operate, so it is conceivable to use them as direction input devices for game devices.
However, the mouse is unsuitable as a direction input device for a game device, as it requires a wide operation surface because it can only input a movement distance corresponding to the distance actually moved by the mouse.

たとえば特開昭61−42023号においては、マウ
スの移動変位量を修飾することによつて、少ない
移動距離でも大きな変位が得られるマウスが提案
されている。
For example, Japanese Patent Laid-Open No. 61-42023 proposes a mouse that can obtain a large displacement even with a small movement distance by modifying the amount of displacement of the mouse.

しかしながら、このマウスは、修飾された変位
量を距離データとして出力するだけで、ゲーム装
置の方向入力装置のように方向信号が得られるも
のではなく、したがつて、方向入力装置としては
依然として不適当である。
However, this mouse only outputs the modified displacement amount as distance data, and does not provide a direction signal like the direction input device of a game device, so it is still unsuitable as a direction input device. It is.

それゆえに、この考案の主たる目的は、回転体
を用いるX−Y方向入力装置において、少ない移
動量で方向指示を入力できる、新規なX−Y方向
入力装置を提供することである。
Therefore, the main purpose of this invention is to provide a novel X-Y direction input device that uses a rotating body and can input direction instructions with a small amount of movement.

〔問題点を解決するための手段〕[Means for solving problems]

この考案は、一部に孔が形成されたハウジン
グ、ハウジング内に回転自在に支持されかつ孔か
らその一部を突出した状態で収納された回転体、
回転体のX軸成分方向への回転に伴つてパルスを
発生する第1のパルス発生手段、回転体のY軸成
分方向への回転に伴つてパルスを発生する第2の
パルス発生手段、回転体がX軸方向の正方向に回
転したことに応答して正方向への移動を示す信号
を出力しかつ負方向に回転したことに応答して負
方向への移動を示す信号を出力する第1の方向判
別手段、回転体がY軸方向の正方向に回転したこ
とに応答して正方向への移動を示す信号を出力し
かつ負方向に回転したことに応答して負方向への
移動を示す信号を出力する第2の方向判別手段、
第1のパルス発生手段からのパルスを計数するこ
とによつてX軸方向への移動量に相当する値を求
める第1の計数手段、第2のパルス発生手段から
のパルスを計数することによつてY軸方向への移
動量に相当する値を求める第2の計数手段、第1
の方向判別手段が正または負の方向の信号を出力
しかつ第1の計数手段の計数値が予め定めた第1
の値以上であることに応答して、X軸成分方向へ
の移動であることを判断するための第1の移動方
向判定手段、第2の方向判別手段が正または負の
方向の信号を出力しかつ第2の計数手段の計数値
が予め定めた第1の値以上であることに応答し
て、Y軸成分方向への移動であることを判断する
ための第2の移動方向判定手段、および方向信号
出力手段を備え、方向信号出力手段は第1の移動
方向判定手段の判断結果と第1の方向判別手段の
出力とに基づいて回転体のX軸の正または負方向
への移動信号を連続的に発生し、第2の移動方向
判定手段の判断結果と第2の方向判別手段の出力
とに基づいて回転体のY軸の正または負方向への
移動信号を連続的に発生し、連続的にX軸または
Y軸の正もしくは負方向への移動信号の出力中
に、異なる第2または第1の方向判別手段出力が
ありかつ前記第1または第2の計数手段が第1の
値よりも小さな第2の値の移動量を計数したこと
に応答して、X軸またはY軸の正もしくは負方向
への移動信号の出力を停止することを特徴とす
る、X−Y方向入力装置である。
This invention consists of a housing in which a hole is formed in a part, a rotating body rotatably supported in the housing and housed in a state in which a part of the body protrudes from the hole;
A first pulse generating means that generates pulses as the rotating body rotates in the X-axis component direction, a second pulse generating unit that generates pulses as the rotating body rotates in the Y-axis component direction, and the rotating body A first circuit that outputs a signal indicating movement in the positive direction in response to rotation in the positive direction of the X-axis direction, and outputs a signal indicating movement in the negative direction in response to rotation in the negative direction. The direction determining means outputs a signal indicating movement in the positive direction in response to rotation of the rotating body in the positive direction of the Y-axis direction, and outputs a signal indicating movement in the negative direction in response to rotation in the negative direction. second direction determining means for outputting a signal indicating;
The first counting means calculates a value corresponding to the amount of movement in the X-axis direction by counting the pulses from the first pulse generating means, and by counting the pulses from the second pulse generating means. a second counting means for calculating a value corresponding to the amount of movement in the Y-axis direction;
The direction determining means outputs a positive or negative direction signal, and the count value of the first counting means is a predetermined first value.
In response to the value being greater than or equal to the value of , the first movement direction determining means and second direction determining means output signals in the positive or negative direction for determining that the movement is in the X-axis component direction. and second movement direction determining means for determining that the movement is in the Y-axis component direction in response to the count value of the second counting means being equal to or greater than a predetermined first value; and a direction signal output means, the direction signal output means generates a movement signal in the positive or negative direction of the X-axis of the rotating body based on the determination result of the first movement direction determination means and the output of the first direction determination means. and continuously generate a movement signal of the rotating body in the positive or negative direction of the Y axis based on the judgment result of the second movement direction judgment means and the output of the second direction judgment means. , during the continuous output of movement signals in the positive or negative direction of the X-axis or Y-axis, there is a different second or first direction determining means output, and the first or second counting means is different from the first one. X-Y direction input, characterized in that output of a movement signal in the positive or negative direction of the X-axis or Y-axis is stopped in response to counting a movement amount of a second value smaller than the second value. It is a device.

〔作用〕[Effect]

X−Y方向入力装置が平面上に載置されると、
ハウジングに回転自在に支持された回転体の一部
は平面と接触し、その状態でハウジングまたは回
転体を動かせば、回転体は回転される。そして、
回転体の回転に応じて出力されるパルスが方向信
号出力手段に与えられる。方向信号出力手段から
は、回転体が一定以上方向に回転したとき、X−
Y方向入力装置がその方向に移動していることを
示す方向信号が出力される。
When the X-Y direction input device is placed on a flat surface,
A part of the rotating body rotatably supported by the housing contacts the flat surface, and when the housing or the rotating body is moved in this state, the rotating body is rotated. and,
Pulses output in accordance with the rotation of the rotating body are applied to the direction signal output means. From the direction signal output means, when the rotating body rotates in a certain direction or more,
A direction signal is output indicating that the Y direction input device is moving in that direction.

〔考案の効果〕[Effect of idea]

この考案によれば、回転体が一定以上同方向に
回転したとき方向信号を出力するようにしている
ので、少ない移動量でも方向指示を入力できる。
したがつて、特にたとえば、テレビゲーム装置の
方向入力装置としても利用可能な新規なX−Y方
向入力装置が得られる。
According to this invention, a direction signal is output when the rotating body rotates in the same direction for a certain amount or more, so a direction instruction can be input even if the amount of movement is small.
A novel XY directional input device is thus obtained which can also be used, in particular, as a directional input device for, for example, a video game device.

テレビゲーム装置に利用する場合、方向信号出
力手段からの信号を検出すると、テレビ画面上の
キヤラクタを以後ずつと同じ方向に移動させるよ
うにすれば、キヤラクタの移動を指示するときで
もハウジングまたは回転体は少し動かすだけでよ
い。したがつて、このX−Y方向入力装置をゲー
ム装置の入力装置として利用する場合でも、ハウ
ジングまたは回転体を動かすスペースは小さくて
よい。
When used in a television game device, if the character on the television screen is moved in the same direction every time a signal from the direction signal output means is detected, even when instructing the character to move, the housing or rotating body can be moved. Just move it a little. Therefore, even when this XY direction input device is used as an input device for a game device, the space for moving the housing or the rotating body may be small.

この考案の上述の目的、その他の目的、特徴お
よび利点は、図面を参照して行う以下の実施例の
詳細な説明から一層明らかとなろう。
The above-mentioned objects, other objects, features and advantages of the present invention will become clearer from the following detailed description of embodiments with reference to the drawings.

〔実施例〕〔Example〕

第2図はこの考案の一実施例の構造を示す断面
図解図である。X−Y方向入力装置の一例として
のマウス10は、上ケース12aおよび下ケース
12bによつて構成されるハウジングないしケー
ス12を含む。ケース12は片手で操作できる大
きさの略直方体形状であり、ケース12を掴みや
すくするために、必要な個所には傾斜ないし勾配
が形成され、コーナには面取りが施される。この
ようなケース12は、上ケース12aの嵌合部
に、下ケース12bの嵌合部を合わせた後、ビス
によつて一体として固定される。
FIG. 2 is an illustrative cross-sectional view showing the structure of an embodiment of this invention. A mouse 10, which is an example of an XY direction input device, includes a housing or case 12 that includes an upper case 12a and a lower case 12b. The case 12 has a substantially rectangular parallelepiped shape that can be operated with one hand, and in order to make the case 12 easier to grip, slopes or slopes are formed at necessary locations, and corners are chamfered. Such a case 12 is fixed as one body with screws after fitting the fitting part of the lower case 12b to the fitting part of the upper case 12a.

そして、ケース12の端部からはコード(図示
せず)が引き出され、そのコードは後述するマイ
クロコンピユータと接続される。
A cord (not shown) is pulled out from the end of the case 12, and the cord is connected to a microcomputer to be described later.

また、ケース12の内部空間には、後述するよ
うに、マウス10の移動に応じて回転する球体
と、球体の回転を検出するロータリエンコーダお
よびそのロータリエンコーダの出力を処理する装
置などが内蔵される。
Furthermore, as will be described later, the internal space of the case 12 houses a sphere that rotates according to the movement of the mouse 10, a rotary encoder that detects the rotation of the sphere, and a device that processes the output of the rotary encoder. .

さらに、上ケース12aの外表面の一部には、
本願出願人の販売に係る家庭用テレビゲーム機
(商品名「フアミリーコンピユータ」)のコントロ
ーラと同様の各種スイツチ群(第1図に示す8
6)のボタンが配設される。上ケース12aの内
部の上壁には、作動板14が設けられ、この作動
板14は、ボタンを外表面に露出させた状態でそ
れを保持するとともに、ボタンの操作を内部回路
(図示せず)に伝達する。
Furthermore, on a part of the outer surface of the upper case 12a,
A group of various switches (8 shown in Figure 1) similar to the controller of the home video game machine (product name "Family Computer") sold by the applicant
6) buttons are provided. An actuating plate 14 is provided on the upper wall inside the upper case 12a, and this actuating plate 14 holds the button in an exposed state on the outer surface and controls the operation of the button by an internal circuit (not shown). ).

基板16の下側には、第3図に詳細に示すよう
に、平面をXY平面とした場合のX軸方向のX−
Y方向入力装置の移動を検出するためのX軸用ロ
ータリエンコーダ18と、Y軸方向の移動を検出
するためのY軸用ロータリエンコーダ20とが設
けられる。X軸用ロータリエンコーダ18および
Y軸用ロータリエンコーダ20は、図示しない
が、スリツト円板と、そのスリツト円板に光を照
射するための発光素子と、その光を受光するため
の受光素子とを含む。
As shown in detail in FIG. 3, on the lower side of the substrate 16, there is a
An X-axis rotary encoder 18 for detecting movement of the Y-direction input device and a Y-axis rotary encoder 20 for detecting movement in the Y-axis direction are provided. Although not shown, the X-axis rotary encoder 18 and the Y-axis rotary encoder 20 include a slit disk, a light emitting element for irradiating light onto the slit disk, and a light receiving element for receiving the light. include.

X軸用ロータリエンコーダ18の回転軸22
は、それぞれ軸受24aおよび24bによつてそ
の両端で回転自在に支持される。さらに、回転軸
22にはローラ26が一体的に設けられる。この
ローラ26は、マウス10を移動することによつ
て球体28が回転したとき、平面上のX座標成分
の移動量に相当する回転量をX軸用ロータリエン
コーダ18に伝達する。同様に、Y軸用ロータリ
エンコーダ20の回転軸30も、軸受32aおよ
び32bによつてその両端で回転自在に支持され
る。そして、回転軸30に一体的に設けられたロ
ーラ34は、マウス10を移動することによつて
球体28が回転したとき、Y座標成分の移動量に
相当する回転量をY軸用ロータリエンコーダ20
に伝達する。
Rotating shaft 22 of rotary encoder 18 for X-axis
are rotatably supported at both ends by bearings 24a and 24b, respectively. Further, a roller 26 is integrally provided on the rotating shaft 22. When the sphere 28 is rotated by moving the mouse 10, the roller 26 transmits a rotation amount corresponding to the amount of movement of the X-coordinate component on the plane to the X-axis rotary encoder 18. Similarly, the rotating shaft 30 of the Y-axis rotary encoder 20 is rotatably supported at both ends by bearings 32a and 32b. When the sphere 28 is rotated by moving the mouse 10, a roller 34 provided integrally with the rotation shaft 30 transfers an amount of rotation corresponding to the amount of movement of the Y-coordinate component to the Y-axis rotary encoder 20.
to communicate.

なお、ロータリエンコーダ18および20に替
えて、回転体の回転に応じてパルスを発生するそ
の他のパルス発生手段を用いてもよい。
Note that in place of the rotary encoders 18 and 20, other pulse generating means that generate pulses in accordance with the rotation of the rotating body may be used.

回転軸22および30は、第3図に示すよう
に、90°ずれた関係で配置される。そして、ロー
ラ26と球体28との接触部、およびローラ34
と球体28との接触部は、常に、球体28の直径
方向に対して90°の角度を保つている。
The rotation axes 22 and 30 are arranged in a 90° offset relationship, as shown in FIG. The contact portion between the roller 26 and the sphere 28 and the roller 34
The contact portion between the sphere 28 and the sphere 28 always maintains an angle of 90° with respect to the diametrical direction of the sphere 28.

基板16の下面には、第3図および第4図に示
すように、揺動部材36が揺動可能に支持され
る。すなわち、揺動部材36の上端が基板16の
下面に固定された軸受40aおよび40bによつ
て支持された軸38によつて、揺動可能に支持さ
れる。したがつて、揺動部材36は、揺動軸38
を中心として、第3図の矢印A方向(第4図の矢
印B方向)に揺動可能にされる。
A swinging member 36 is swingably supported on the lower surface of the substrate 16, as shown in FIGS. 3 and 4. That is, the upper end of the swinging member 36 is swingably supported by a shaft 38 supported by bearings 40a and 40b fixed to the lower surface of the substrate 16. Therefore, the swinging member 36 is connected to the swinging shaft 38
It is made swingable in the direction of arrow A in FIG. 3 (direction of arrow B in FIG. 4) about .

揺動部材36には、第4図に示すように、中程
に中空部が設けられ、この中空部を貫通して軸4
2が固着される。そして、軸42には、球体28
と常時接触状態を保つて当接力を与えるためのロ
ーラ44が回転可能に支持される。
As shown in FIG. 4, the swinging member 36 is provided with a hollow part in the middle, and the shaft 4 passes through this hollow part.
2 is fixed. A sphere 28 is attached to the shaft 42.
A roller 44 is rotatably supported to maintain constant contact with and apply a contact force.

揺動部材36の下部には、外方すなわち第4図
でいえば左側に、コイルばね46の一方端を嵌め
込むための突起が形成される。コイルばね46の
他方端は、下ケース12bに一体形成された部材
48で支持される。したがつて、コイルばね46
の弾発力は、揺動部材36を常に球体28に向か
つて押す力として作用する。すなわち、ローラ4
4は、コイルばね46の弾発力によつて常時球体
28に圧接される。
A protrusion into which one end of the coil spring 46 is fitted is formed on the lower part of the swinging member 36 on the outside, that is, on the left side in FIG. The other end of the coil spring 46 is supported by a member 48 integrally formed with the lower case 12b. Therefore, the coil spring 46
The elastic force acts as a force that always pushes the swinging member 36 toward the sphere 28. That is, roller 4
4 is constantly pressed against the sphere 28 by the elastic force of the coil spring 46.

第2図において実線で示される球体28は、マ
ウス10が平面上に載置されたときの状態を示
す。このとき、球体28の平面と接触する部分
は、下ケース12bの下面とほぼ面一の状態にな
る。ところが、マウス10が持ち上げられたと
き、球体28はその自重によつて1点鎖線で示す
ように、下ケース12bの下面より下方に突出す
る。そうすると、ローラ44の軸42の中心は、
球体28の中心より上方位置になるため、ローラ
44が回転し、コイルばね46の弾発力に従つ
て、揺動部材36は若干右側に揺動する。すなわ
ち、第2図において、球体28が実線で描いた状
態にあるとき、ローラ44の接触位置は、球表面
の最大値径の部分である。ところが、球体28が
1点鎖線で示すような状態にあるとき、ローラ4
4が接触した部分における直径は、実線で描いた
状態に比べて、若干小さくなり、その分だけ揺動
部材36の下端が内方すなわち第4図でいえば右
側に変位する。
The sphere 28 indicated by a solid line in FIG. 2 shows the state when the mouse 10 is placed on a flat surface. At this time, the portion of the sphere 28 that contacts the plane becomes substantially flush with the lower surface of the lower case 12b. However, when the mouse 10 is lifted, the sphere 28 protrudes downward from the lower surface of the lower case 12b as shown by the dashed line due to its own weight. Then, the center of the shaft 42 of the roller 44 is
Since it is located above the center of the sphere 28, the roller 44 rotates, and the swinging member 36 swings slightly to the right according to the elastic force of the coil spring 46. That is, when the sphere 28 is in the state shown by the solid line in FIG. 2, the contact position of the roller 44 is at the maximum diameter portion of the sphere surface. However, when the sphere 28 is in the state shown by the one-dot chain line, the roller 4
The diameter of the portion where 4 makes contact is slightly smaller than that shown by the solid line, and the lower end of the swinging member 36 is displaced inward, that is, to the right in FIG. 4, by that amount.

このような揺動部材36の変位によつて、第4
図に示すように揺動部材36の右側に設けられた
スイツチ50をオンする。スイツチ50は、下ケ
ース12b上に設けられ、可動接点50aと固定
接点50bとを含む。そして、可動接点50a
は、揺動部材36に押されて、固定接点50bと
接触する。すなわち、マウス10が平面上に載置
されたとき、可動接点50aは固定接点50bか
ら引き離される。ところが、マウス10が持ち上
げられたとき、球体28が第2図の1点鎖線で示
すように下方に降下するため、可動接点50aは
固定接点50bと接触する。すなわち、スイツチ
50は、それがオンされることによつて、マウス
10が移動平面上から持ち上げられたことを検出
する。
Due to such displacement of the swinging member 36, the fourth
As shown in the figure, the switch 50 provided on the right side of the swinging member 36 is turned on. The switch 50 is provided on the lower case 12b and includes a movable contact 50a and a fixed contact 50b. And the movable contact 50a
is pushed by the swinging member 36 and comes into contact with the fixed contact 50b. That is, when the mouse 10 is placed on a flat surface, the movable contact 50a is separated from the fixed contact 50b. However, when the mouse 10 is lifted, the sphere 28 falls downward as shown by the dashed line in FIG. 2, so the movable contact 50a comes into contact with the fixed contact 50b. That is, when the switch 50 is turned on, it detects that the mouse 10 has been lifted from the moving plane.

下ケース12bには、球体28の球表面の一部
を第2図の1点鎖線で示すように、突出させるた
めに、球体28の半径よりも小さな半径の孔52
が形成される。そして、下ケース12bの下面に
は、マウス10が平面上に載置されたとき、球体
28の球表面の一部との協働によつて、マウス1
0を水平に配置するための突起54が形成され
る。
The lower case 12b is provided with a hole 52 having a smaller radius than the radius of the sphere 28 in order to make a part of the spherical surface of the sphere 28 protrude as shown by the dashed line in FIG.
is formed. When the mouse 10 is placed on a flat surface, the lower surface of the lower case 12b is provided with the mouse 10 by cooperation with a part of the spherical surface of the sphere 28.
A protrusion 54 for horizontally arranging the 0 is formed.

なお、第2図において下ケース12bと基板1
6とで仕切られる内部空間には、後述するマイク
ロコンピユータに入力する信号を処理するための
電子部品が内蔵される。
In addition, in FIG. 2, the lower case 12b and the board 1
The internal space partitioned by 6 contains electronic components for processing signals input to a microcomputer, which will be described later.

第1図はこの実施例を示すブロツク図である。
マウス10は、マイクロコンピユータ56から与
えられるラツチ信号LATCHおよびクロツクパル
スCLOCKに応答して、移動距離に相当するデイ
ジタルデータをマイクロコンピユータ56へ出力
する。
FIG. 1 is a block diagram showing this embodiment.
Mouse 10 outputs digital data corresponding to the distance traveled to microcomputer 56 in response to latch signal LATCH and clock pulse CLOCK applied from microcomputer 56.

X軸用ロータリエンコーダ18の出力は、波形
整形回路58で波形整形され、デコーダ機能を有
するパルス発生および方向デコーダ回路60に入
力される。パルス発生および方向デコーダ回路6
0は、ロータリエンコーダ18から与えられた信
号に応じてパルスを発生するとともに、マウス1
0がX軸上の正方向(前進)あるいは負方向(後
退)のどちらの方向に動いているかを判別し、方
向判別結果を出力する。そして、発生したパルス
は、Xカウンタ62のクロツク端子CLOCKに入
力される。一方、パルス発生および方向デコーダ
回路60からの方向判別出力は、Xカウンタ62
のアツプダウン端子DOWN/UPに入力される。
The output of the X-axis rotary encoder 18 is waveform-shaped by a waveform shaping circuit 58 and input to a pulse generation and direction decoder circuit 60 having a decoder function. Pulse generation and direction decoder circuit 6
0 generates a pulse according to the signal given from the rotary encoder 18, and the mouse 1
It is determined whether 0 is moving in the positive direction (forward) or the negative direction (retreat) on the X-axis, and the direction determination result is output. The generated pulse is then input to the clock terminal CLOCK of the X counter 62. On the other hand, the direction determination output from the pulse generation and direction decoder circuit 60 is sent to the X counter 62.
It is input to the up-down terminal DOWN/UP.

同様に、Y軸用ロータリエンコーダ20の出力
も、波形整形回路64で波形整形され、パルス発
生および方向デコーダ回路66に入力される。パ
ルス発生および方向デコーダ回路66の出力パル
スはYカウンタ68のクロツク端子CLOCKに入
力される。マウス10がY軸の正または負のどち
らの方向に移動しているかを判別した結果の方向
判別出力は、Yカウンタ68のアツプダウン端子
DOWN/UPに入力される。
Similarly, the output of the Y-axis rotary encoder 20 is also waveform-shaped by a waveform shaping circuit 64 and input to a pulse generation and direction decoder circuit 66 . The output pulses of the pulse generation and direction decoder circuit 66 are input to the clock terminal CLOCK of the Y counter 68. The direction determination output as a result of determining whether the mouse 10 is moving in the positive or negative direction of the Y-axis is sent to the up-down terminal of the Y counter 68.
Input to DOWN/UP.

Xカウンタ62およびYカウンタ68は、パル
ス発生および方向デコーダ回路60および66か
らの方向判別出力がハイレベルのとき、クロツク
端子CLOCKに与えられるパルス毎にインクリメ
ント(アツプカウント)され、方向判別出力がロ
ーレベルのときパルス毎にデイクリメント(ダウ
ンカウント)される。したがつて、Xカウンタ6
2およびYカウンタ68は、X軸方向およびY軸
方向へのマウス10の移動方向と距離とに応じた
データを発生する。
When the direction discrimination outputs from the pulse generation and direction decoder circuits 60 and 66 are at a high level, the X counter 62 and Y counter 68 are incremented (up-counted) for each pulse applied to the clock terminal CLOCK, and the direction discrimination output is low. At level, it is decremented (counted down) every pulse. Therefore, X counter 6
2 and the Y counter 68 generate data according to the moving direction and distance of the mouse 10 in the X-axis direction and the Y-axis direction.

Xカウンタ62およびYカウンタ68のクリア
入力端子CLRには、NORゲート70の出力が与
えられる。NORゲート70の一方入力にはマウ
ス10の電源をオンしたときに発生するリセツト
パルスが反転して入力され、他方入力にはラツチ
信号微分回路72の出力端子が反転して入力され
る。ラツチ信号微分回路72の入力端子には、マ
イクロコンピユータ56からラツチ信号LATCH
が与えられる。ラツチ信号微分回路72は、ラツ
チ信号LATCHがハイレベルからローレベルに変
化したことに応答して、所定の時間幅のパルスを
出力する。したがつて、NORゲート70は、リ
セツトパルスが与えられた状態で、ラツチ信号微
分回路72からパルスが与えられたときだけ、ク
リア信号を出力する。このクリア信号によつて、
Xカウンタ62およびYカウンタ68がともにク
リアされる。すなわち、Xカウンタ62およびY
カウンタ68は、マイクロコンピユータ56によ
つて距離データの取込み(ラツチ)が終了する毎
にクリアされる。
The output of the NOR gate 70 is applied to the clear input terminal CLR of the X counter 62 and the Y counter 68. An inverted reset pulse generated when the mouse 10 is turned on is input to one input of the NOR gate 70, and an inverted output terminal of the latch signal differentiator 72 is input to the other input. The input terminal of the latch signal differentiation circuit 72 receives the latch signal LATCH from the microcomputer 56.
is given. The latch signal differentiating circuit 72 outputs a pulse with a predetermined time width in response to the latch signal LATCH changing from high level to low level. Therefore, the NOR gate 70 outputs a clear signal only when a pulse is applied from the latch signal differentiation circuit 72 while the reset pulse is applied. With this clear signal,
Both X counter 62 and Y counter 68 are cleared. That is, the X counter 62 and the Y
The counter 68 is cleared each time the microcomputer 56 finishes acquiring (latching) the distance data.

Xカウンタ62およびYカウンタ68のカウン
ト値、たとえば8ビツトのデイジタルデータは、
並直変換器として働くシフトレジスタ74および
78と、後に詳細に説明する信号変換回路76に
与えられる。シフトレジスタ74のシリアル入力
端子は、シフトレジスタ78のシリアル出力端子
からのデータを受ける。したがつて、マイクロコ
ンピユータ56からのラツチ信号LATCHおよび
クロツクパルスCLOCKに応答して、シフトレジ
スタ74にロードされているデイジタルデータ
(Xカウンタ62の値)と、シフトレジスタ78
にロードされているデイジタルデータ(Yカウン
タ68の値)とが、シリアルデータとして、イン
バータを介してシフトレジスタ80のシリアルデ
ータ入力端子に与えられる。
The count values of the X counter 62 and Y counter 68, for example, 8-bit digital data, are
It is applied to shift registers 74 and 78, which act as parallel to serial converters, and to a signal conversion circuit 76, which will be explained in detail later. A serial input terminal of shift register 74 receives data from a serial output terminal of shift register 78. Therefore, in response to the latch signal LATCH and clock pulse CLOCK from the microcomputer 56, the digital data (the value of the X counter 62) loaded into the shift register 74 and the shift register 78
The digital data (value of Y counter 68) loaded into the shift register 80 is applied as serial data to the serial data input terminal of the shift register 80 via an inverter.

また、シフトレジスタ78のシリアル入力端子
(左1ビツト目)には、さらにスイツチ50から
の信号が与えられる。したがつて、このシフトレ
ジスタ78の入力端子には、マウス10が持ち上
げられているときローレベルが与えられ、マウス
10が移動平面上に置かれているときハイレベル
が与えられる。
Further, a signal from the switch 50 is further applied to the serial input terminal (left 1st bit) of the shift register 78. Therefore, the input terminal of this shift register 78 is given a low level when the mouse 10 is lifted, and is given a high level when the mouse 10 is placed on the movement plane.

信号変換回路76は、後に詳述するように、X
カウンタ62およびYカウンタ68からそれぞれ
与えられた8ビツトのデイジタルデータに基づい
て、方向信号に変換し、その出力をフリツプフロ
ツプのようなフラグレジスタ82に与える。
The signal conversion circuit 76, as described in detail later,
Based on the 8-bit digital data provided from the counter 62 and the Y counter 68, it is converted into a direction signal, and the output thereof is provided to a flag register 82 such as a flip-flop.

なお、フラグレジスタ82は、マウス10が持
ち上げられてスイツチ50がオンすることにより
リセツトされる。
Note that the flag register 82 is reset when the mouse 10 is lifted and the switch 50 is turned on.

フラグレジスタ82からのフラグ出力すなわち
RIGHT,LEFT,UPおよびDOWNの各信号は、
ビツトパラレルにシフトレジスタ80に与えられ
る。シフトレジスタ80には、スイツチ群(Aボ
タン、Bボタン、セレクトボタンおよびスタート
ボタンを含む)86の4ビツトの出力もビツトパ
ラレルに入力される。したがつて、シフトレジス
タ80からは、マイクロコンピユータ56からの
ラツチ信号LATCHに応答して、最初の8ビツト
でボタン(スイツチ)データとフラグデータをビ
ツトシリアルに出力し、次に8ビツトでX方向の
移動距離データを出力し、次の8ビツトでY方向
の移動距離データを出力し、最後の1ビツトでボ
ールスイツチ50の状態を出力する。したがつ
て、マイクロコンピユータ56は、ラツチ信号
LATCHに後続して25個のクロツクパルスを出力
し、25ビツトのシリアルデータを取り込む。
The flag output from the flag register 82, i.e.
The RIGHT, LEFT, UP and DOWN signals are
The bits are applied to the shift register 80 in parallel. The 4-bit output of the switch group 86 (including the A button, B button, select button, and start button) is also input into the shift register 80 in bit parallel. Therefore, in response to the latch signal LATCH from the microcomputer 56, the shift register 80 outputs button (switch) data and flag data bit serially using the first 8 bits, and then outputs button (switch) data and flag data in the X direction using the next 8 bits. The next 8 bits output the moving distance data in the Y direction, and the last 1 bit outputs the state of the ball switch 50. Therefore, the microcomputer 56 outputs the latch signal.
Outputs 25 clock pulses following LATCH and captures 25 bits of serial data.

なお、X方向およびY方向の移動距離データ
は、実際は7ビツトであるが、それぞれの最後の
1ビツトに、パルス発生およびデコーダ回路60
および66からの方向ビツトが付加されて、合計
8ビツトのデータとして出力される。
Note that the moving distance data in the X direction and Y direction is actually 7 bits, but the last 1 bit of each has a pulse generation and decoder circuit 60.
and direction bits from 66 are added and output as a total of 8 bits of data.

以下に、信号変換回路76およびフラグレジス
タ82について詳細に説明するが、その説明は、
X軸方向の動きだけすなわちテレビ画面の右方向
(RIGHT)または左方向(LEFT)の移動あるい
は停止を判別するものとして説明する。しかしな
がら、Y軸方向の動きすなわちテレビ画面の上方
向(UP)または下方向(DOWN)あるいは停止
についても、全く同じ回路構成によつて判別でき
ることを予め指摘しておく。
The signal conversion circuit 76 and flag register 82 will be explained in detail below.
The following explanation assumes that only movement in the X-axis direction, that is, movement or stopping of the television screen in the right direction (RIGHT) or left direction (LEFT), is determined. However, it should be pointed out in advance that movement in the Y-axis direction, that is, upward (UP) or downward (DOWN) direction of the television screen, or stoppage, can also be determined by the same circuit configuration.

第5図は第1図における信号変換回路およびフ
ラグレジスタを具体的に示すブロツク図である。
Xカウンタ62から与えられた8ビツトのデータ
d0〜d7は、後述の第6図に詳細に示すデコー
ダ88に入力される。そして、X座標の正または
負を示す1ビツトのデータd7は、正負判定回路
90および方向判定回路92に入力される。デコ
ーダ88は、与えられた8ビツトのデータをデコ
ードして、マウス10が停止していることを示す
1ビツトのデータ、またはマウス10がX軸方向
に動いていることを示す1ビツトのデータに変換
して、方向判定回路92に与える。正負判定回路
90は、与えられた1ビツトのデータによつて、
マウスが正方向に移動している(前進の状態にあ
る)のか、あるいは負方向に移動している(後退
の状態にある)のかを判定し、その判定結果を1
ビツトのデータとして方向判定回路92に与え
る。
FIG. 5 is a block diagram specifically showing the signal conversion circuit and flag register in FIG. 1.
The 8-bit data d0 to d7 provided from the X counter 62 is input to a decoder 88 shown in detail in FIG. 6, which will be described later. The 1-bit data d7 indicating whether the X coordinate is positive or negative is input to a positive/negative determining circuit 90 and a direction determining circuit 92. The decoder 88 decodes the supplied 8-bit data into 1-bit data indicating that the mouse 10 is stopped, or 1-bit data indicating that the mouse 10 is moving in the X-axis direction. It is converted and provided to the direction determination circuit 92. The positive/negative determination circuit 90 determines, based on the supplied 1-bit data,
Determine whether the mouse is moving in the positive direction (forward state) or in the negative direction (backward state), and convert the determination result to 1
It is applied to the direction determination circuit 92 as bit data.

方向判定回路92は、デコーダ88および正負
判定回路90から与えられたデータによつて、左
右のどちらに動いているかを示す方向判別データ
に変換する。すなわち、方向判定回路92から
は、一方の出力端子から右方向への移動を示すデ
ータが出力され、他方の出力端子からは左方向へ
の移動を示すデータが出力される。
The direction determining circuit 92 converts the data provided from the decoder 88 and the positive/negative determining circuit 90 into direction determining data indicating whether the movement is left or right. That is, the direction determination circuit 92 outputs data indicating movement to the right from one output terminal, and data indicating movement to the left from the other output terminal.

方向判定回路92の2つの出力端子は、それぞ
れ対応するD−フリツプフロツプ94および96
のデータ入力Dにそれぞれ接続される。D−フリ
ツプフロツプ94および96のトリガ入力端子T
には、パルス発生および方向デコーダ回路60の
カウントパルスが与えられる。D−フリツプフロ
ツプ94および96のそれぞれのリセツト端子R
には、第1図図示のNORゲート84からリセツ
トパルスが与えられる。このようにして、方向判
定回路92の方向判別出力は、D−フリツプフロ
ツプ94または96で保持される。
Two output terminals of direction determination circuit 92 are connected to corresponding D-flip-flops 94 and 96, respectively.
are connected to the data inputs D of the respective terminals. D-Trigger input terminal T of flip-flops 94 and 96
is provided with the count pulses of the pulse generation and direction decoder circuit 60. D-Reset terminal R of each of flip-flops 94 and 96
A reset pulse is applied from the NOR gate 84 shown in FIG. In this manner, the direction determination output of direction determination circuit 92 is held in D-flip-flop 94 or 96.

第6図は第5図をより詳細に示す具体的な論理
回路図である。デコーダ88は、デコーダ98と
複数のゲート100〜114とによつて構成され
る。すなわち、デコーダ98は8ビツトのデータ
d0〜d7を受け、ORゲート100および10
2が5ビツトのデータd2〜d6を受け、AND
ゲート104が8ビツトのデータd0〜d7を受
ける。ORゲート100および102の出力が、
それぞれ、ANDゲート108および110の一
方入力に与えられ、これらANDゲート108お
よび110の他方入力には1ビツトのデータd7
が与えられる。
FIG. 6 is a specific logic circuit diagram showing FIG. 5 in more detail. Decoder 88 includes a decoder 98 and a plurality of gates 100-114. That is, decoder 98 receives 8-bit data d0 to d7, and outputs OR gates 100 and 10.
2 receives 5-bit data d2 to d6, AND
Gate 104 receives 8-bit data d0-d7. The outputs of OR gates 100 and 102 are
are applied to one input of AND gates 108 and 110, respectively, and 1-bit data d7 is applied to the other input of these AND gates 108 and 110.
is given.

デコーダ98は、Xカウンタ62のカウント値
が「2」または「3」のとき、マウス10の停止
または静止状態とみなして、いずれかの出力から
ハイレベルを出力する。したがつて、この実施例
では、Xカウンタ62のカウント値が絶対値で
「2」または「3」のとき、ORゲート106か
ら停止ないし静止状態にあることを表す信号がハ
イレベルとして出力される。
When the count value of the X counter 62 is "2" or "3", the decoder 98 assumes that the mouse 10 is stopped or at rest, and outputs a high level from one of the outputs. Therefore, in this embodiment, when the count value of the X counter 62 is "2" or "3" in absolute value, the OR gate 106 outputs a high level signal indicating that it is stopped or in a stationary state. .

ANDゲート108の出力は、カウント値で
「4」以上正方向に移動されたときハイレベルと
なる。ANDゲート110の出力は、カウント値
で「−5」より大きく負方向に移動されたときハ
イレベルとなる。一方、ANDゲート104の出
力はXカウンタ62のカウント値が「−4」のと
きハイレベルになる。したがつて、ORゲート1
12は、カウント値で「−4」以上負方向に移動
されたときハイレベルを出力する。したがつて、
上述の2つのゲート108および112の出力を
2入力として受けるORゲート114は、Xカウ
ンタ62のカウント値の絶対値で「4」以上移動
されたときに移動を表すハイレベルの信号を出力
することになる。
The output of the AND gate 108 becomes high level when the count value is moved by "4" or more in the positive direction. The output of the AND gate 110 becomes high level when the count value is moved in the negative direction by more than "-5". On the other hand, the output of the AND gate 104 becomes high level when the count value of the X counter 62 is "-4". Therefore, OR gate 1
12 outputs a high level when the count value is moved by "-4" or more in the negative direction. Therefore,
The OR gate 114, which receives the outputs of the two gates 108 and 112 as two inputs, outputs a high-level signal indicating movement when the absolute value of the count value of the X counter 62 is moved by "4" or more. become.

このようにして、ORゲート106または11
4から停止または移動を示す信号が出力される。
In this way, OR gate 106 or 11
4 outputs a signal indicating stop or movement.

一方、正負判定回路90は、ANDゲート11
6〜120およびORゲート122によつて構成
される。ANDゲート116および118の1入
力には、Xカウンタ62からマウス10の移動方
向を示す1ビツトのデータd7が与えられる。そ
して、ANDゲート116および118の残りの
2入力ならびにANDゲート120の2入力には、
フラグレジスタ82を構成するD−フリツプフロ
ツプ94および96の出力QLおよびQRがそのま
ま、あるいは反転されてそれぞれ与えられる。
On the other hand, the positive/negative determination circuit 90 uses the AND gate 11
6 to 120 and an OR gate 122. One input of AND gates 116 and 118 receives 1-bit data d7 indicating the moving direction of mouse 10 from X counter 62. The remaining two inputs of AND gates 116 and 118 and the two inputs of AND gate 120 are
Outputs Q L and Q R of D-flip-flops 94 and 96 constituting flag register 82 are provided as is or inverted, respectively.

これらのANDゲート116〜120の出力は、
ORゲート122を介して、方向判定回路92の
ANDゲート124および128の1入力として、
または反転されてANDゲート130の1入力と
してそれぞれ与えられる。方向判定回路92は、
4つのANDゲート124〜130と2つのORゲ
ート132および134とインバータ135とに
よつて構成される。
The outputs of these AND gates 116-120 are
of the direction determination circuit 92 via the OR gate 122.
As one input of AND gates 124 and 128,
Alternatively, they are inverted and provided as one input to the AND gate 130, respectively. The direction determination circuit 92 is
It is composed of four AND gates 124 to 130, two OR gates 132 and 134, and an inverter 135.

次に、マウス10の移動方向と移動距離、すな
わちXカウンタ62またはYカウンタ68のカウ
ント値と判定との関係を具体的に説明する。この
実施例では、各カウンタ62,68のカウント値
が「1」の場合は、使用者の手の揺れや振動によ
る誤検出の虞があるので、何の判定もしない。ま
た、カウント値が「4」以上の場合は、マウス1
0が移動されたものと判定する。その中間の
「2」または「3」の場合は、使用者がある方向
への移動を指示した後、逆方向に若干移動させて
停止または静止を指示するものと判断する。なぜ
ならば、マウス10が一旦カウント値が「4」以
上になるように移動されると、移動を停めてもそ
の判定結果が保持されているので、移動検出の出
力が継続される。そこで、停止したい場合は、逆
方向へ若干(カウント値「2」または「3」に相
当する距離だけ)戻すことによつて、停止または
静止を指示するように定めているためである。
Next, the relationship between the moving direction and moving distance of the mouse 10, that is, the count value of the X counter 62 or Y counter 68, and determination will be specifically explained. In this embodiment, if the count value of each counter 62, 68 is "1", no determination is made because there is a risk of erroneous detection due to shaking or vibration of the user's hand. Also, if the count value is "4" or more, mouse 1
It is determined that 0 has been moved. In the case of "2" or "3" in the middle, it is determined that the user instructs to move in a certain direction, then moves slightly in the opposite direction and then instructs to stop or stand still. This is because, once the mouse 10 is moved so that the count value becomes "4" or more, the determination result is retained even if the movement is stopped, so the movement detection output continues. Therefore, when the user wants to stop the robot, the robot is instructed to stop or stand still by moving back a little in the opposite direction (by a distance corresponding to the count value "2" or "3").

まず、マウス10が平面上に載置されると、球
体28が上方に押し上げられることによつてスイ
ツチ50がオフされる。応じて、D−フリツプフ
ロツプ94および96がリセツトされ、出力QR
およびQLはハイレベルとなつて、ANDゲート1
20はハイレベルを出力する。
First, when the mouse 10 is placed on a flat surface, the sphere 28 is pushed upward and the switch 50 is turned off. In response, D-flip-flops 94 and 96 are reset and the output Q R
and Q L become high level, AND gate 1
20 outputs a high level.

その後、マウス10が左方向(負方向)に移動
されると、データd7がハイレベルになり、カウ
ント値で「−4」動いた時点でD−フリツプフロ
ツプ96の出力QLがローレベルに切り換わる。
すると、ANDゲート120の出力はローレベル
になる。同様にして、マウス10が右方向(正方
向)に移動されると、データd7がローレベルに
なり、カウント値で「4」動いた時点でD−フリ
ツプフロツプ94の出力QRがローレベルに切り
換わり、ANDゲート120の出力がローレベル
になる。
After that, when the mouse 10 is moved to the left (negative direction), the data d7 becomes high level, and when the count value moves by "-4", the output Q L of the D-flip-flop 96 switches to low level. .
Then, the output of AND gate 120 becomes low level. Similarly, when the mouse 10 is moved to the right (positive direction), the data d7 becomes low level, and when the count value moves by "4", the output Q R of the D-flip-flop 94 is switched to low level. Instead, the output of AND gate 120 becomes low level.

左または右方向への移動中に、マウス10の向
きが突然変えられると、データd7の出力も直ち
に切り変わる。すなわち、データd7は移動方向
が左から右に変化するとハイレベルからローレベ
ルに切り変わり、右から左に変化するとローレベ
ルからハイレベルに切り換わる。したがつて、マ
ウス10が左方向または右方向にカウントの絶対
値で「4」以上移動されたとき、ANDゲート1
16〜120の出力はいずれもローレベルである
が、左から右方向に変えられるとANDゲート1
16の出力は直ちにハイレベルになり、逆に右か
ら左方向に変えられるとANDゲート118の出
力は直ちにハイレベルになる。そして、これらの
ハイレベルは、それぞれカウント値が絶対値で
「4」の期間維持される。
If the orientation of the mouse 10 is suddenly changed while moving to the left or right, the output of the data d7 will also change immediately. That is, the data d7 switches from high level to low level when the moving direction changes from left to right, and switches from low level to high level when the moving direction changes from right to left. Therefore, when the mouse 10 is moved to the left or right by the absolute value of the count "4" or more, the AND gate 1
All outputs from 16 to 120 are low level, but when changed from left to right, AND gate 1
The output of AND gate 118 immediately becomes high level, and conversely, when it is changed from right to left, the output of AND gate 118 immediately becomes high level. These high levels are maintained for a period when the count value is "4" in absolute value.

マウス10が左方向または右方向にXカウンタ
62のカウント値の絶対値で「2」または「3」
だけ移動されたときは、ORゲート106の出力
がハイレベル、ORゲート114の出力がローレ
ベル、ORゲート122の出力がハイレベルとな
るため、ANDゲート124の出力はハイレベル
になる。ANDゲート124の出力はORゲート1
32を介してD−フリツプフロツプ96に与えら
れ、パルス発生および方向デコーダ回路60(第
1図)のカウントパルスに同期して読み込まれ
る。しかし、D−フリツプフロツプ96は、初期
状態においてリセツトされて、既にハイレベルに
なつているので、その出力QLに変化はない。
The absolute value of the count value of the X counter 62 is "2" or "3" when the mouse 10 moves to the left or right.
When the output of the AND gate 124 is moved, the output of the OR gate 106 is at a high level, the output of the OR gate 114 is at a low level, and the output of the OR gate 122 is at a high level, so the output of the AND gate 124 is at a high level. The output of AND gate 124 is OR gate 1
32 to a D-flip-flop 96 and is read in synchronization with the count pulses of the pulse generation and direction decoder circuit 60 (FIG. 1). However, since the D-flip-flop 96 is reset in the initial state and is already at a high level, there is no change in its output QL .

次に、マウス10がさらに右方向に移動される
ことによつて、Xカウンタ62のカウント値が
「4」になると、ORゲート106の出力がロー
レベルとなり、ORゲート114の出力はハイレ
ベルになる。すると、ANDゲート124の出力
はローレベル、ANDゲート126の出力はハイ
レベルになる。したがつて、ANDゲート124
がローレベルになつても、ORゲート132の他
方の入力にはORゲート134を介してANDゲー
ト126のハイレベルが与えられるので、D−フ
リツプフロツプ96の出力QLはハイレベルのま
まである。
Next, when the count value of the X counter 62 reaches "4" by moving the mouse 10 further to the right, the output of the OR gate 106 becomes a low level, and the output of the OR gate 114 becomes a high level. Become. Then, the output of AND gate 124 becomes low level, and the output of AND gate 126 becomes high level. Therefore, AND gate 124
Even if the output signal QL becomes low level, the high level of the AND gate 126 is applied to the other input of the OR gate 132 via the OR gate 134, so the output Q L of the D-flip-flop 96 remains at the high level.

一方、ANDゲート126の出力がハイレベル
になることによつてORゲート134の出力がハ
イレベルになると、このハイレベルはインバータ
135でローレベルに反転され、パルス発生およ
び方向デコーダ回路60のカウントパルスに同期
しD−フリツプフロツプ94に読み込まれる。応
じて、D−フリツプフロツプ94の出力QRはハ
イレベルからローレベルに切り換わる。すなわ
ち、マウス10が右方向にカウント値で「4」動
かされると、D−フリツプフロツプ94の出力
QRはローレベルになり、信号RIGHTとして出力
される。
On the other hand, when the output of the AND gate 126 becomes high level and the output of the OR gate 134 becomes high level, this high level is inverted to a low level by the inverter 135, and the count pulse of the pulse generation and direction decoder circuit 60 is inverted. The data is read into the D-flip-flop 94 in synchronization with . In response, the output Q R of the D-flip-flop 94 switches from high level to low level. That is, when the mouse 10 is moved to the right by a count value of "4", the output of the D-flip-flop 94 is
Q R becomes low level and is output as signal RIGHT.

D−フリツプフロツプ94の出力QRがローレ
ベルになると、正負判定回路90のANDゲート
120の出力がローレベルになるため、ORゲー
ト122の出力がローレベルになる。このとき、
データd7がローレベルであるので、ANDゲー
ト130はハイレベルになる。すなわち、マウス
10が右方向にカウント値で「4」以上移動され
ると、ORゲート134にはANDゲート126お
よび130からハイレベルが与えられる。
When the output Q R of the D-flip-flop 94 becomes low level, the output of the AND gate 120 of the positive/negative determination circuit 90 becomes low level, so that the output of the OR gate 122 becomes low level. At this time,
Since the data d7 is at a low level, the AND gate 130 is at a high level. That is, when the mouse 10 is moved to the right by a count value of "4" or more, a high level is applied to the OR gate 134 from the AND gates 126 and 130.

次に、マウス10が右方向にカウント値で
「4」以上移動された後で、移動方向が急に左方
向に変えられた場合、すなわち停止指示の動作に
ついて説明する。移動方向が左方向に変えられる
と、データd7がハイレベルになるため、直ちに
正負判定回路90のANDゲート118の出力が
ハイレベルになる。そこで、Xカウンタ62のカ
ウント値が「−2」または「−3」になると、
ORゲート106の出力がハイレベルになり、
ANDゲート128の出力はローレベルになる。
このため、ANDゲート126〜130の出力が
総てローレベルになり、このローレベルはインバ
ータ135で反転され、D−フリツプフロツプ9
4の出力QRはハイレベルに復帰する。したがつ
て、Xカウンタ62のカウント値で「−2」およ
び「−3」の期間、D−フリツプフロツプ94お
よび96の出力QRおよびQLは共にハイレベルと
なり、マウス10が停止または静止していること
を表す状態信号が出力される。
Next, a description will be given of a case where the mouse 10 is moved to the right by a count value of "4" or more and then the moving direction is suddenly changed to the left, that is, the operation of a stop instruction. When the moving direction is changed to the left, the data d7 becomes high level, so that the output of the AND gate 118 of the positive/negative determination circuit 90 immediately becomes high level. Therefore, when the count value of the X counter 62 becomes "-2" or "-3",
The output of OR gate 106 becomes high level,
The output of AND gate 128 becomes low level.
Therefore, the outputs of AND gates 126 to 130 all become low level, and this low level is inverted by inverter 135, and D-flip-flop 9
4's output Q R returns to high level. Therefore, during the periods when the count value of the X counter 62 is "-2" and "-3", the outputs Q R and Q L of the D-flip-flops 94 and 96 are both at high level, and the mouse 10 is stopped or stationary. A status signal indicating that the device is present is output.

逆に、マウス10が停止の状態から左方向(負
方向)に大きく移動されてカウント値が「−4」
以上になつたときの動作について説明する。カウ
ント値が「4」になると、ANDゲート124の
出力はローレベルになる。しかし、データd7が
ハイレベルであるのでANDゲート126および
130の出力は、依然としてローレベルに保たれ
る。また、ANDゲート128も、ORゲート11
4からハイレベルが与えられるので、出力のロー
レベルに変化はない。そうすると、ORゲート1
32の2入力はともにローレベルということにな
り、D−フリツプフロツプ96には、カウントパ
ルスに応答してローレベルが読み込まれ、出力
QLはローレベルに変わる。すなわち、マウス1
0が左方向にカウント値で「−4」動かされる
と、D−フリツプフロツプ96の出力QLはロー
レベルになり、信号LEFT(以下、信号上部にバ
ーを付ける場合は“/”の後に記号を付して示
す。この例では“信号/LEFT”として出力され
る。
Conversely, when the mouse 10 is moved significantly to the left (negative direction) from the stopped state, the count value becomes "-4".
The operation when the above occurs will be explained. When the count value reaches "4", the output of the AND gate 124 becomes low level. However, since data d7 is at a high level, the outputs of AND gates 126 and 130 are still kept at a low level. Also, the AND gate 128 and the OR gate 11
Since the high level is given from 4, there is no change in the low level of the output. Then, OR gate 1
32 are both low level, and the D-flip-flop 96 is read with a low level in response to the count pulse, and the output is
Q L changes to low level. That is, mouse 1
When 0 is moved to the left by "-4" in the count value, the output Q L of the D-flip-flop 96 becomes low level, and the signal LEFT (hereinafter, when a bar is added at the top of the signal, a symbol is added after "/". In this example, it is output as "signal/LEFT".

また、マウス10が左方向に「−4」以上移動
された後、右方向に変更された場合を説明する。
データd7がローレベルとなるため、正負判定回
路90のANDゲート116が直ちにハイレベル
となる。Xカウンタ62のカウント値が「2」ま
たは「3」になると、ORゲート106の出力が
ハイレベルになる。このとき、向きが変えられた
瞬間にANDゲート116がハイレベルになつて
ORゲート122がハイレベルになつているの
で、ANDゲート124はハイレベルになる。し
たがつて、向きが変えられてからカウント値で
「2」または「3」になると、ANDゲート124
のハイレベルがORゲート132を介してD−フ
リツプフロツプ96に与えられるので、D−フリ
ツプフロツプ96の出力QLはハイレベルに復帰
する。そのため、左方向へのマウス10の移動は
停止されたと判断される。D−フリツプフロツプ
94および96の出力QRおよびQLは共にハイレ
ベルとなり、マウス10が停止または静止してい
ることを表す状態信号が出力される。
Also, a case will be described in which the mouse 10 is moved to the left by more than "-4" and then moved to the right.
Since the data d7 becomes low level, the AND gate 116 of the positive/negative determination circuit 90 immediately becomes high level. When the count value of the X counter 62 becomes "2" or "3", the output of the OR gate 106 becomes high level. At this time, the moment the direction is changed, the AND gate 116 becomes high level.
Since the OR gate 122 is at a high level, the AND gate 124 is at a high level. Therefore, when the count value reaches "2" or "3" after the direction is changed, the AND gate 124
Since the high level of is applied to the D-flip-flop 96 via the OR gate 132, the output Q L of the D-flip-flop 96 returns to the high level. Therefore, it is determined that the movement of the mouse 10 in the left direction has been stopped. The outputs Q R and Q L of the D-flip-flops 94 and 96 are both at a high level, and a status signal indicating that the mouse 10 is stopped or at rest is output.

上述のような動作を達成するためのさらに他の
実施例として、第7図および第8図に示す回路が
考えられる。
As yet another embodiment for achieving the above operation, the circuits shown in FIGS. 7 and 8 can be considered.

第5図および第6図実施例が第1図のXカウン
タ62からのデイジタルデータを受けたのに対し
て、第7図実施例は第1図のパルス発生および方
向デコーダ回路60から直接出力を受ける。
While the embodiments of FIGS. 5 and 6 received digital data from the X counter 62 of FIG. 1, the embodiment of FIG. receive.

すなわち、パルス発生および方向デコーダ回路
60のパルスは、ANDゲート136および13
8の一方の入力に与えられる。方向判別信号は、
ANDゲート138の他方の入力に与えられると
ともに、インバータ140で反転されてANDゲ
ート136の他方の入力に与えられる。したがつ
て、マウス10が右方向(正の方向)に動かされ
たとき、パルス発生および方向デコーダ回路60
のパルスはANDゲート136を介してアツプカ
ウンタ142に与えられる。
That is, the pulses of pulse generation and direction decoder circuit 60 are passed through AND gates 136 and 13.
is applied to one input of 8. The direction determination signal is
It is applied to the other input of AND gate 138, and is inverted by inverter 140 and applied to the other input of AND gate 136. Therefore, when mouse 10 is moved to the right (positive direction), pulse generation and direction decoder circuit 60
The pulse is applied to up counter 142 via AND gate 136.

マウス10が左方向に移動されると、パルス発
生および方向デコーダ回路60のパルスはAND
ゲート138を介してダウンカウンタ146に与
えられる。
When the mouse 10 is moved to the left, the pulses in the pulse generation and direction decoder circuit 60 are ANDed.
It is applied to down counter 146 via gate 138.

これらアツプカウンタ142およびダウンカウ
ンタ146のそれぞれのカウント値は、ビツトパ
ラレルに対応のデコーダ144および148に与
えられる。デコーダ144および148は、とも
に、アツプカウンタ142およびダウンカウンタ
146のそれぞれのカウント値が絶対値で「4」
以上になつたとき、信号SETをハイレベルとし
て、対応のD−フリツプフロツプ150および1
52のデータ入力Dに与えるとともに、クリア信
号CLRを出力してそれぞれのNORゲート156
および154の一方入力に与える。このNORゲ
ート154および156の他方入力には第1図の
NORゲート84からのリセツトパルスが与えら
れる。
The respective count values of up counter 142 and down counter 146 are applied bit-parallel to corresponding decoders 144 and 148. Decoders 144 and 148 both have count values of up counter 142 and down counter 146 of "4" in absolute value.
When this happens, the signal SET is set to high level and the corresponding D-flip-flops 150 and 1
52 data input D, and also outputs a clear signal CLR to each NOR gate 156.
and 154 to one input. The other input of these NOR gates 154 and 156 is as shown in FIG.
A reset pulse from NOR gate 84 is provided.

マウス10が右方向にカウント値で「4」以上
移動されたとき、デコーダ144から信号が得ら
れ、この信号によつてパルス発生およびデコーダ
回路60からのパルスに応答して、D−フリツプ
フロツプ150の出力/QR(すなわち信号/
RIGHT)がローレベルに切り換わる。それとと
もに他方のD−フリツプフロツプ152の出力
QLがもしローレベルであれば、ハイレベルにリ
セツトされる。
When the mouse 10 is moved to the right by a count value of "4" or more, a signal is obtained from the decoder 144, which causes the D-flip-flop 150 to be activated in response to a pulse from the pulse generation and decoder circuit 60. Output/Q R (i.e. signal/
RIGHT) switches to low level. At the same time, the output of the other D-flip-flop 152
If QL is low, it is reset to high.

逆に、マウス10が左方向にカウント値で「−
4」以上移動されたとき、デコーダ148から信
号が得られ、この信号によつてパルス発生および
方向デコーダ回路60からのパルスに応答して、
D−フリツプフロツプ152の出力/QL(信号/
LEFT)がローレベルに切り換わる。それととも
に、他方のD−フリツプフロツプ150の出力/
QRがもしローレベルであれば、ハイレベルにリ
セツトされる。
Conversely, the mouse 10 moves to the left with the count value “-
When moved more than 4", a signal is obtained from decoder 148 which, in response to pulse generation and a pulse from direction decoder circuit 60,
D-flip-flop 152 output/Q L (signal/
LEFT) switches to low level. At the same time, the output of the other D-flip-flop 150/
If Q R is low, it is reset to high.

第8図はその他の実施例の信号変換回路を示す
ブロツク図である。この実施例では、第7図に比
べて回路構成をさらに簡略化している。第8図に
おいて、アツプシフトレジスタ158およびダウ
ンシフトレジスタ160の端子INには、電圧
Vccが与えられる。アツプシフトレジスタ158
の入力側からたとえば4ビツト目の端子Aはイン
バータを介してNORゲート162の一方の入力
端子に接続される。NORゲート162の他方の
入力端子にはリセツトパルスが与えられる。した
がつて、NORゲート162の出力がダウンシフ
トレジスタ160のクリア端子CLRと接続され
ているので、アツプシフトレジスタ158の端子
Aがローレベルの状態でリセツトパルスがローレ
ベルになると、ダウンシフトレジスタ160の入
力側からたとえば5ビツト目の端子Bはハイレベ
ルになる。
FIG. 8 is a block diagram showing a signal conversion circuit according to another embodiment. In this embodiment, the circuit configuration is further simplified compared to that in FIG. In FIG. 8, the terminal IN of the upshift register 158 and the downshift register 160 has a voltage
Vcc is given. Upshift register 158
For example, the fourth bit terminal A from the input side is connected to one input terminal of a NOR gate 162 via an inverter. A reset pulse is applied to the other input terminal of NOR gate 162. Therefore, since the output of the NOR gate 162 is connected to the clear terminal CLR of the downshift register 160, when the reset pulse becomes low level while the terminal A of the upshift register 158 is at a low level, the downshift register 160 For example, the fifth bit from the input side of the terminal B becomes high level.

ダウンシフトレジスタ160の入力側からたと
えば4ビツト目の端子Aは、インバータを介して
NORゲート164の一方の入力端子に接続され、
NORゲート164の他方の入力端子にはリセツ
トパルスが与えられる。したがつて、NORゲー
ト164の出力がアツプシフトレジスタ158の
クリア端子CLRと接続されているので、ダウン
シフトレジスタ160の端子Aがローレベルの状
態でリセツトパルスがローレベルになると、アツ
プシフトレジスタ158の入力側からたとえば5
ビツト目の端子Bはハイレベルになる。
For example, the 4th bit terminal A from the input side of the downshift register 160 is connected via an inverter.
connected to one input terminal of the NOR gate 164;
A reset pulse is applied to the other input terminal of NOR gate 164. Therefore, since the output of the NOR gate 164 is connected to the clear terminal CLR of the up-shift register 158, when the reset pulse becomes low level while the terminal A of the down-shift register 160 is at a low level, the up-shift register 158 is cleared. For example, 5 from the input side of
The bit-th terminal B becomes high level.

そして、マウス10が左方向に移動されて5個
のカウントパルスがダウンレジスタ160に与え
られるまで出力Bはローレベルのままであり、信
号/RIGHTはハイレベルとなる。一方、マウス
10が右方向に移動されて5個のカウントパルス
がアツプシフトレジスタ158に与えられるまで
アツプシフトレジスタ158の出力Bはローレベ
ルのままであり、信号/LEFTはハイレベルであ
る。
Then, until the mouse 10 is moved to the left and five count pulses are applied to the down register 160, the output B remains at a low level and the signal /RIGHT becomes a high level. On the other hand, until the mouse 10 is moved to the right and five count pulses are applied to the upshift register 158, the output B of the upshift register 158 remains at a low level, and the signal /LEFT remains at a high level.

マウス10がさらに左方向に動かされてダウン
シフトレジスタ160に5個のパルスが与えられ
ると、4個のパルスが与えられた時点で、アツプ
シフトレジスタ158はダウンシフトレジスタ1
60の端子Aの信号によつてクリアされ、アツプ
シフトレジスタ158の端子Bはローレベルのま
まである。一方、5個目のパルスがダウンシフト
レジスタ160に与えられると、その端子Bがハ
イレベルに転じ、信号/LEFTがローレベルとな
つて、左方向の移動を示す信号が得られる。
When the mouse 10 is further moved to the left and five pulses are applied to the downshift register 160, the upshift register 158 changes to the downshift register 1 when four pulses are applied.
The upshift register 158 is cleared by the signal at the terminal A of the upshift register 158, and the terminal B of the upshift register 158 remains at a low level. On the other hand, when the fifth pulse is applied to the downshift register 160, its terminal B changes to high level and the signal /LEFT becomes low level, providing a signal indicating leftward movement.

また、マウス10が右方向に動かされてアツプ
シフトレジスタ158に5個のパルスが与えられ
ると、4個のパルスが与えられた時点で、ダウン
シフトレジスタ160はアツプシフトレジスタ1
58の端子Aの信号によつてクリアされ、ダウン
シフトレジスタ160の端子Bはローレベルのま
まである。一方、5個目のパルスがアツプシフト
レジスタ160に与えられると、その端子Bがハ
イレベルに転じ、信号/RIGHTがローレベルと
なつて、マウス10が右方向に移動している状態
信号が得られる。
Further, when the mouse 10 is moved to the right and five pulses are applied to the upshift register 158, the downshift register 160 is changed to the upshift register 1 at the time when four pulses are applied.
It is cleared by the signal at terminal A of downshift register 160, and terminal B of downshift register 160 remains at low level. On the other hand, when the fifth pulse is applied to the upshift register 160, its terminal B changes to high level, the signal /RIGHT goes to low level, and a state signal indicating that the mouse 10 is moving to the right is obtained. It will be done.

右方向または左方向への移動中にマウス10の
方向を逆転すると、前述の初期様態と同じように
して、アツプシフトレジスタ158またはダウン
シフトレジスタ160にそれぞれ4個のパルスが
与えられるまで、信号/RIGHTおよび/LEFT
はともにローレベルとなり、マウス10の停止ま
たは静止状態の信号が得られる。
Reversing the direction of the mouse 10 while moving to the right or left will cause the signal RIGHT and /LEFT
Both become low level, and a signal indicating that the mouse 10 is stopped or at rest is obtained.

逆転された移動方向にその後継続的に移動させ
て、アツプシフトレジスタ158またはダウンシ
フトレジスタ160に5個のパルスが入力される
と、前述のようにして、それぞれの移動方向を示
すように信号/RIGHTまたは/LEFTがローレ
ベルとなる。
When five pulses are input to upshift register 158 or downshift register 160 with subsequent continuous movement in the reversed direction of movement, the signals / RIGHT or /LEFT becomes low level.

なお、上では、この考案をマウスに適用した場
合を説明したが、この考案は、球体を上向きにし
て手のひらで球体を回転させることによつてX−
Y方向の座標データを入力するような、いわゆる
トラツクボールにも適用できることは言うまでも
ない。
In addition, above, we explained the case where this invention was applied to a mouse, but this invention can be applied to X-X by rotating the sphere with the palm of the hand with the sphere facing upward
Needless to say, the present invention can also be applied to a so-called track ball in which coordinate data in the Y direction is input.

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

第1図はこの考案の一実施例を示すブロツク図
である。第2図はこの実施例の構造を示す断面図
解図である。第3図は第2図実施例の構造を示す
平面的な図解図である。第4図は球体によつて作
動するスイツチを示す図解図である。第5図は第
1図実施例の信号変換回路およびフラグレジスタ
を示すブロツク図である。第6図は第5図に示す
ブロツク図の具体的な論理回路図である。第7図
はこの考案の他の実施例の信号変換回路とフラグ
レジスタとを示すブロツク図である。第8図はこ
の考案のその他の実施例の信号変換回路およびフ
ラグレジスタを示すブロツク図である。 図において、12はケース、18はX軸用ロー
タリエンコーダ、20はY軸用ロータリエンコー
ダ、26,34および44はローラ、56はマイ
クロコンピユータ、62はXカウンタ、68はY
カウンタ、74,78および80はシフトレジス
タ、76は信号変換回路、82はフラグレジス
タ、88,144および148はカウントデコー
ダ、90は正負判定回路、92は方向判定回路、
94,96,150および152はフリツプフロ
ツプ、142はアツプカウンタ、146はダウン
カウンタ、158はアツプシフトレジスタ、16
0はダウンシフトレジスタを示す。
FIG. 1 is a block diagram showing one embodiment of this invention. FIG. 2 is an illustrative cross-sectional view showing the structure of this embodiment. FIG. 3 is an illustrative plan view showing the structure of the embodiment shown in FIG. FIG. 4 is an illustrative diagram showing a switch operated by a sphere. FIG. 5 is a block diagram showing the signal conversion circuit and flag register of the embodiment of FIG. 1. FIG. 6 is a concrete logic circuit diagram of the block diagram shown in FIG. 5. FIG. 7 is a block diagram showing a signal conversion circuit and a flag register according to another embodiment of the invention. FIG. 8 is a block diagram showing a signal conversion circuit and flag register of another embodiment of the invention. In the figure, 12 is a case, 18 is an X-axis rotary encoder, 20 is a Y-axis rotary encoder, 26, 34 and 44 are rollers, 56 is a microcomputer, 62 is an X counter, and 68 is a Y axis.
Counters, 74, 78 and 80 are shift registers, 76 is a signal conversion circuit, 82 is a flag register, 88, 144 and 148 are count decoders, 90 is a positive/negative judgment circuit, 92 is a direction judgment circuit,
94, 96, 150 and 152 are flip-flops, 142 is an up counter, 146 is a down counter, 158 is an up shift register, 16
0 indicates a downshift register.

Claims (1)

【実用新案登録請求の範囲】 1 一部に孔が形成されたハウジング、 前記ハウジング内に回転自在に支持されかつ
前記孔からその一部を突出した状態で収納され
た回転体、 前記回転体のX軸成分方向への回転に伴つて
パルスを発生する第1のパルス発生手段、 前記回転体のY軸成分方向への回転に伴つて
パルスを発生する第2のパルス発生手段、 前記回転体がX軸方向の正方向に回転したこ
とに応答して正方向への移動を示す信号を出力
しかつ負方向に回転したことに応答して負方向
への移動を示す信号を出力する第1の方向判別
手段、 前記回転体がY軸方向の正方向に回転したこ
とに応答して正方向への移動を示す信号を出力
しかつ負方向に回転したことに応答して負方向
への移動を示す信号を出力する第2の方向判別
手段、 前記第1のパルス発生手段からのパルスを計
数することによつてX軸方向への移動量に相当
する値を求める第1の計数手段、 前記第2のパルス発生手段からのパルスを計
数することによつてY軸方向への移動量に相当
する値を求める第2の計数手段、 前記第1の方向判別手段が正または負の方向
の信号を出力しかつ前記第1の計数手段の計数
値が予め定めた第1の値以上であることに応答
して、X軸成分方向への移動であることを判断
するための第1の移動方向判定手段、 前記第2の方向判別手段が正または負の方向
の信号を出力しかつ前記第2の計数手段の計数
値が予め定めた第1の値以上であることに応答
して、Y軸成分方向への移動であることを判断
するための第2の移動方向判定手段、および 方向信号出力手段を備え、 前記方向信号出力手段は 前記第1の移動方向判定手段の判断結果と前
記第1の方向判別手段の出力とに基づいて前記
回転体のX軸の正または負方向への移動信号を
連続的に発生し、 前記第2の移動方向判定手段の判断結果と前
記第2の方向判別手段の出力とに基づいて前記
回転体のY軸の正または負方向への移動信号を
連続的に発生し、 連続的にX軸またはY軸の正もしくは負方向
への移動信号出力中に、異なる第2または第1
の方向判別手段出力がありかつ前記第1または
第2の計数手段が前記第1の値よりも小さな第
2の値の移動量を計数したことに応答して、X
軸またはY軸の正もしくは負方向への移動信号
の出力を停止することを特徴とする、X−Y方
向入力装置。 2 各々の前記パルス発生手段は前記回転体によ
つて駆動されるロータリエンコーダ、および前
記ロータリエンコーダからの信号に基づいて前
記パルスを発生するパルス発生回路を含む、実
用新案登録請求の範囲第1項記載のX−Y方向
入力装置。 3 前記第1および第2の計数手段はそれぞれが
前記パルス発生回路からの前記パルスを受けか
つ前記方向判別手段によつて個別に能動化され
る2つのシフトレジスタを含み、 前記2つのシフトレジスタのそれぞれの特定
のビツト出力が前記判断結果として出力され
る、実用新案登録請求の範囲第1項または第2
項記載のX−Y方向入力装置。 4 一方のシフトレジスタの他の特定のビツトか
ら他方のシフトレジスタにクリア信号が与えら
れ、他方のシフトレジスタの他の特定ビツトか
ら一方のシフトレジスタにクリア信号が与えら
れ、それによつて前記X−Y方向入力装置の移
動方向が変化したときそれまでに出力されてい
たのとは別の信号が出力される、実用新案登録
請求の範囲第3項記載のX−Y方向入力装置。 5 前記第1および第2の計数手段はそれぞれ前
記方向信号に応じてアツプカウントまたはダウ
ンカウントが可能なカウンタを含み、 前記第1および第2の方向判別手段はそれぞ
れ前記カウンタからのカウント値をデコードす
るためのデコード手段、および前記デコード手
段からの出力を保持するための出力保持手段を
含む、実用新案登録請求の範囲第2項記載のX
−Y方向入力装置。 6 前記X−Y方向入力装置がその移動平面から
持ち上げられたとき作動するスイツチ手段を備
え、 前記方向信号出力手段は前記スイツチ手段か
らの信号に応じて停止状態を表す信号を出力す
るための手段を含む、実用新案登録請求の範囲
第1項ないし第5項のいずれかに記載のX−Y
方向入力装置。 7 前記出力保持手段はフリツプフロツプを含
む、実用新案登録請求の範囲第5項記載のX−
Y方向入力装置。 8 前記X−Y方向入力装置がその移動平面上か
ら持ち上げられたとき作動するスイツチ手段を
備え、 前記スイツチ手段の出力に応じて前記フリツ
プフロツプがリセツトされる、実用新案登録請
求の範囲第7項記載のX−Y方向入力装置。 9 前記スイツチ手段は球体に常時当接力を与え
た状態で回転自在に前記球体を支持するため
に、ばねによつて揺動可能に付勢されるローラ
と、前記ローラの揺動に応答して、オンまたは
オフされるスイツチを含む、実用新案登録請求
の範囲第6項または第8項記載のX−Y方向入
力装置。
[Claims for Utility Model Registration] 1. A housing in which a hole is formed in a part, a rotating body rotatably supported in the housing and housed with a part of the rotating body protruding from the hole, a first pulse generating means that generates pulses as the rotating body rotates in the Y-axis component direction; a second pulse generating unit that generates pulses as the rotating body rotates in the Y-axis component direction; A first device that outputs a signal indicating movement in the positive direction in response to rotation in the positive direction of the X-axis direction, and outputs a signal indicating movement in the negative direction in response to rotation in the negative direction. A direction determining means, which outputs a signal indicating movement in the positive direction in response to the rotation of the rotating body in the positive direction of the Y-axis direction, and outputs a signal indicating movement in the negative direction in response to the rotation in the negative direction. a second direction determining means for outputting a signal indicating the direction; a first counting means for calculating a value corresponding to the amount of movement in the X-axis direction by counting pulses from the first pulse generating means; a second counting means for calculating a value corresponding to the amount of movement in the Y-axis direction by counting pulses from the second pulse generating means; a first movement direction determination for determining that the movement is in the X-axis component direction in response to the output and the count value of the first counting means being equal to or greater than a predetermined first value; means, in response to the second direction determining means outputting a positive or negative direction signal and the count value of the second counting means being greater than or equal to a predetermined first value; a second moving direction determining means for determining whether the movement is in a direction; and a direction signal outputting means, the direction signal outputting means combining the determination result of the first moving direction determining means and the first moving direction determining means. Continuously generates a movement signal of the rotating body in the positive or negative direction of the X-axis based on the output of the direction determining means, and the determination result of the second moving direction determining means and the second direction determining means. continuously generate a movement signal of the rotating body in the positive or negative direction of the Y-axis based on the output of the second or first
In response to the direction determination means output of X
An X-Y direction input device characterized in that it stops outputting a movement signal in the positive or negative direction of the axis or the Y axis. 2. Each of the pulse generating means includes a rotary encoder driven by the rotating body, and a pulse generating circuit that generates the pulses based on a signal from the rotary encoder, Claim 1 of the Utility Model Registration Claim. The X-Y direction input device described above. 3. The first and second counting means each include two shift registers each receiving the pulse from the pulse generating circuit and individually activated by the direction determining means, and each of the two shift registers Claim 1 or 2 of the utility model registration claim, in which each specific bit output is output as the determination result.
The X-Y direction input device described in . 4 A clear signal is given from another specific bit of one shift register to the other shift register, and a clear signal is given from another specific bit of the other shift register to one shift register, thereby causing the The X-Y direction input device according to claim 3, wherein when the moving direction of the Y direction input device changes, a signal different from that which has been output up to that point is outputted. 5. The first and second counting means each include a counter capable of up-counting or down-counting according to the direction signal, and the first and second direction determining means each decode the count value from the counter. and an output holding means for holding the output from the decoding means.
-Y direction input device. 6. A switch means that is activated when the X-Y direction input device is lifted from its moving plane, and the direction signal output means is means for outputting a signal indicating a stopped state in response to a signal from the switch means. X-Y according to any one of claims 1 to 5 of the claims for utility model registration, including
Directional input device. 7.
Y direction input device. 8. A utility model according to claim 7, further comprising a switch means that is activated when the X-Y direction input device is lifted from its moving plane, and the flip-flop is reset in response to an output of the switch means. X-Y direction input device. 9. In order to rotatably support the spherical body while constantly applying a contact force to the spherical body, the switch means includes a roller biased to be swingable by a spring, and a roller that responds to the swinging of the roller. , an X-Y direction input device according to claim 6 or 8, comprising a switch that is turned on or off.
JP1987180411U 1987-11-26 1987-11-26 Expired JPH0449719Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1987180411U JPH0449719Y2 (en) 1987-11-26 1987-11-26

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1987180411U JPH0449719Y2 (en) 1987-11-26 1987-11-26

Publications (2)

Publication Number Publication Date
JPH0184138U JPH0184138U (en) 1989-06-05
JPH0449719Y2 true JPH0449719Y2 (en) 1992-11-24

Family

ID=31471933

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1987180411U Expired JPH0449719Y2 (en) 1987-11-26 1987-11-26

Country Status (1)

Country Link
JP (1) JPH0449719Y2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS593536A (en) * 1982-06-30 1984-01-10 Canon Inc operating device
JPS59206932A (en) * 1983-05-11 1984-11-22 Canon Inc Cursor moving key switch

Also Published As

Publication number Publication date
JPH0184138U (en) 1989-06-05

Similar Documents

Publication Publication Date Title
EP3544704B1 (en) Cube puzzle solver
US20090079693A1 (en) Scrolling Device
US5171978A (en) Trackball assembly including a loosely mounted ball support
JP2003043063A (en) Acceleration detector
WO2025067395A1 (en) Capacitive joystick, gamepad, and game control method
JPH0449719Y2 (en)
JPS61292734A (en) Method and device for control of screen
US12277279B2 (en) Multi-directional output device
US12551787B2 (en) Multi-directional output device
GB2309507A (en) Spherical cursor positioning device rotatable about a single axis.
JPH09265860A (en) Rotary operation type electronic components with push switch
JP5158422B2 (en) Input device for game machines
KR100339897B1 (en) multiplex operating switch
JPH0592846U (en) mouse
JPH039067Y2 (en)
KR200171502Y1 (en) Ball mouse for computer
JPS6097210A (en) Pulse generating device
JPH10199710A (en) Click mechanism
JPH0119367Y2 (en)
WO2025147747A1 (en) A directional spatial controller
JPH0313791Y2 (en)
CN119806277A (en) A handle type operating lever
JPH04115320A (en) pen-type computer input device
JPS6093310A (en) Coordinate input device
JPH0749550Y2 (en) Trackball