A7 B7 五、發明説明(彳) 本發明係關於,使電腦繪圖等處理立體圖形時所使用 之資料輸入裝置。 工作站或個人電腦之影像處理常被用來,在電腦之畫 面上顯示分子等之立體構造式供硏究開發使用,或者電腦 遊戲或建築等模擬立體圖形。這個時候,如上述之立體分 子式或圖形有需要在畫面上移勸或轉動。因而需要有能夠 使這種立體圖形在畫面上作三度空間之動作之控制器。 上述控制器在以往有一種是以三度空間方式輸入時, 在鍵盤上按壓特定之鍵,將模式切換成三度空間來使用。 而其他例子則有,例如記載於日本國特開平2 — 282818號,特開平5 — 233146號公報之製作 電腦圖形等所使用之三度空間控制器。 在上述特開平5 - 2 3 3 1 4 6號公報記載有如第6 圖所示之三度空間控制器1 0。上述控制器1 0成可轉動 狀配設有圓錐狀之粗徑環1 2,在上述環1 2之中心部配 設有可、向縱,橫,及斜方向轉動之球形之軌道球1 1,在 上述軌道球1 1之上部設有環狀之上蓋1 3。 經Tk·部中决榀準沁只工消費合作拉印紫 上述控制器10之軌道球11可產生二度空間方向之 信號,而因附加可轉動k環1 2,令其產生三度空間方向 之信號。 再參照第7圖說明上述控制器1 0之內部。配置在上 述控制器10之軌道球11抵接在其下部之軸裝於垂直相 交之兩個方向之輥子1 4,1 4,並在上·述輥子1 4 ’ 1 4之近傍設置,防止球1 1脫落之小輥子1 7。同時在 本紙張尺度適用中國國家標準(CNS>A4規格(210X297公釐) _4_ A 7 B7 __' 五、發明説明(2 ) 上述輥子1 4,1 4之一端側面部形成有,可跟輥子1 4 ,1 4 —體轉動之外周有開縫之圓板1 5,1 5。而且在 上述圓板1 5,1 5之外周之一部分,配設有,用以檢出 球1 1之轉動方向與轉動量用之光耦合器等之編碼器1 6 ,1 6。同時,雖未圖示,但在上述粗徑之環1 2也在形 成於其外周部之突緣部形成有開縫,而配設有可檢出上述 環1 2之轉動方向及轉動量之編碼器。 而將由上述編碼器1 6,1 6等所檢出之資料,藉座 標變換顯示在顯示器畫面上之座標,而得以即時方式使顯 示在畫面上之對象物作三度空間之移動或轉動。 而上述控制器1 〇之操作方式,係用食指,中指,無 名指操作軌道球1 1,以大母指操作環1 2。 上述傳統之控制器有下列缺點。 (1 )首先,使用軌道球1 1輸入X — Y座標內之二 度空間之座標資料時,必須操作鍵盤上之一定之按鍵等之 開關,,以切換,使畫面上之游標或以影像顯示之對象物在 上述座標內單純移動之輸入模式,及例如使上述對象物在 X軸周圍或Y軸周圍轉動之轉動資料之輸入模式,因此操 作很煩雜。 (2 )而以三度空間方式輸入時,則必須在鍵盤上按 壓特定之按鍵以變換模式,而要回到二度空間之模式時, 也必須進行按鍵操作,而這種行爲是相當煩雜,會使工作 效率降低》 (3)第6圖所示之控制器10,爲了要提高其操作 η 先 閱 讀 背- 面 之 注 意— 項 再 填 頁 订 線 經沪部中央榀率而刃X消費合竹右印« 本紙張尺度適用中國國家標準< CNS > A4规格(210X297公釐) 5 A7 ____B7 ___ 五 '發明説明(3 ) 性,必須加大軌道球1 1之直徑。隨著上述軌道球1 1之 直徑加大,長寬也變大,而形成在軌道球11外周之環 1 2之口徑也會變大。因此,择制器1 0本身會#成很厚 之構造。而因爲如此,要設計成精緻型困難度甚高,要配 置在像筆記型之小電腦是十分困難。而其操作性又因需要 配·合多根手指,需要加大手指對上述軌道球1 1及環12 之移動範圍,因此有時會很煩雜。 本發明在解決上述傳統上之課題,其目的在提供,使 用兩個操作體,能夠輸入二度空間資料中之移動資料,.與 轉動資料雙方之資料輸入裝置。 並且是以提供,能用車手操作輸入三度空間之座標资 料之資料輸入裝置爲其目的。 同時是以能夠構成爲薄型,爲其目的。 經沪部中决*?.羋而KJ.消贽合作社印繁 本發明之資料輸入裝置之特徵是,配設有,含有可向 同一方向轉動之一對操作體;由各該操作體驅動之編碼器 ;及可檢出上述編碼器之輸出之檢測部;以上述檢測部取 得僅一方之操作體之轉軌檢測輸出時當作第1輸入模式, 以上述檢測部取得一對操作體同時向同一方向轉動之轉動 檢測輸出時當作第2輸入模式時,藉上述第1輸入模式與 第2輸入模式中之任一方之模式將上述轉動檢測輸出變換 或座標上之移動資料,以另一方之模式將上述轉動檢測輸 出變換成在座標上環繞一定之軸周圍之轉動資料之座標資 料變換構件。 例如,僅操作一方之操作體輸入移動資料,將一對操 本紙張尺度適用中國國家標率(CNS)A4規格(210X297公釐) λ -6 - A7 _B7____ 五、發明説明(4 ) 作體同時轉向同—方向時,成爲轉動資料之輸入。反之, 一對操作體向同一方向轉動時爲移動資料之輸入,僅轉動 —方之操作體時爲轉動資料之輸入,亦可。 而且,由上述檢測部取得一對操作體同時向反方向轉 動之轉動檢測輸出,當作第3輸入模式時,藉上述座標資 料變換構件,將上述第3輸入模式^土述轉動檢測輸出, 變換成環繞與上述移動資料之座標面垂直相交之軸周圍之 .轉動資料。 在上述,亦可以將可向同一方向轉動之一對操作體, 以可在X軸周圍及垂直於X軸之Y軸周圍轉動者爲一組, 配設各一組,而藉兩組操作體,獲得X_Y座標上之移動 資料,與環繞X軸之轉動資料及環繞Υ軸之轉動資料。 或者,也可以將可向同一方向轉動之一對操作體,以 可在X軸周圍及垂直於X軸之Υ軸周圍轉動者爲一組,配 設各一組,而藉兩組操作體,獲得X- Υ座標上之移動資 料,與"X軸周圍之轉動資料及Υ軸周圍之轉動資料,以及 ,與X軸及Υ軸垂直相交之Ζ軸周圍之轉動資料。 例如可以採,配設有,藉比較可向同一方向轉動之一 對操作體之一方之轉動,而由檢測部獲得之轉動檢測輸出 ,及因另一方之轉動而由檢測部獲得之轉動檢測輸出,以 辨別兩操作體之僅一方或兩方同時轉動之比較構件之架構 〇 在上述,一對操作體係,例如可對朝向同一方向之軸 或位於同一線上之軸,分別獲立轉動之輥子狀者。或者, 本紙張尺度適用中國國家標準(CNS } Α4規格(210Χ 297公釐) A7 _________ B7 ___ 五、發明説明(5 ) 也可以使用,配設兩個可以產生X軸之轉動輸出及Y軸之 轉動輸出之軌道球等之球狀轉動體,將此兩個軌道球當作 上述一對操作體使用。 本發明只要同時操作一對操作體,或分別操作一對操 作體,便可以不用操作鍵盤上之按鍵,也能夠輸入座標上 之移動資料及轉動資料之雙方。而且,若使一對操作體反 方向轉動,便可以輸入Ζ軸周圔之轉動資料,可以當三度 空間控制器使用。 而且也可以備有,與上述一對操作體不同之別的單體 操作體,由此操作體驅動之編碼器,及用以檢測此編碼器 之輸出之檢測部,藉上述座標資料變換構件,將由上述檢 測部取得之轉動檢測輸出,變換成向上述一對操作體輸入 之座標上之移動資料不同方向之移動資料。 . 若配設此單體之操作體,則可輸入向三度空間方向之A7 B7 V. Description of the Invention (i) The present invention relates to a data input device used for computer graphics and other processing of three-dimensional graphics. Image processing on workstations or personal computers is often used to display three-dimensional structural formulas such as molecules on the computer screen for research and development, or to simulate three-dimensional graphics such as computer games or architecture. At this time, the three-dimensional molecular formula or graphic as described above needs to be moved or rotated on the screen. Therefore, there is a need for a controller capable of making such a three-dimensional graphic perform a three-dimensional motion on the screen. In the past, when the above-mentioned controller is input in a three-dimensional space, a specific key is pressed on the keyboard to switch the mode to a three-dimensional space for use. Other examples are three-dimensional space controllers used in the production of computer graphics, as described in Japanese Unexamined Patent Publication No. 2-282818 and Japanese Unexamined Patent Publication No. 5-233146. The above-mentioned Japanese Patent Application Laid-Open No. 5-2 3 3 1 4 6 describes a three-degree space controller 10 as shown in Fig. 6. The controller 10 is rotatably provided with a conical thick-diameter ring 12, and a spherical orbit ball 1 1 that can rotate in the longitudinal, horizontal, and oblique directions is provided at the center of the ring 12 A ring-shaped upper cover 13 is provided above the track ball 11. After Tk · Ministry of China ’s decision, Zhunqin only cooperates with consumers to print the purple orbit 11 of the above-mentioned controller 10, which can generate a second-degree spatial signal, and the additional k-ring 12 can be turned to generate a third-degree spatial direction. The signal. Referring to FIG. 7 again, the inside of the controller 10 will be described. The track ball 11 disposed on the controller 10 abuts on the lower shaft and is mounted on the rollers 14 and 14 which intersect in two perpendicular directions, and is arranged near the roller 1 4 '1 4 described above to prevent the ball 1 1 falling off the small roller 1 7. At the same time, the Chinese national standard (CNS > A4 size (210X297 mm) applies to this paper size) _4_ A 7 B7 __ 'V. Description of the invention (2) One of the side surfaces of one of the rollers 1 and 14 is formed, which can follow the roller 1 4, 1 4 — The circular plates 15 and 15 with slits on the outer circumference of the body are rotated. Moreover, a part of the outer circumference of the above-mentioned circular plates 15 and 15 is provided to detect the rotation direction of the ball 11 Encoders 16 and 16 for optical couplers and the like for rotation. At the same time, although not shown, a slit is formed in the flange portion 12 formed on the outer peripheral portion of the thick-diameter ring. An encoder capable of detecting the direction and amount of rotation of the above-mentioned ring 12 is provided. The data detected by the above-mentioned encoders 16, 16 and the like are displayed on the display screen by coordinate transformation, and The object displayed on the screen can be moved or rotated in three dimensions in real time. The operation method of the controller 10 above is to use the index finger, the middle finger, the ring finger to operate the trackball 11 and the ring finger 1 to operate the ring 1. 2. The above-mentioned conventional controller has the following disadvantages. (1) First, the track ball 1 1 is used. When entering the coordinate data of the second degree space in the X-Y coordinate, you must operate certain switches on the keyboard to switch, so that the cursor on the screen or the object displayed by the image simply moves within the above coordinates. The input mode, and the input mode for turning data such as the object around the X-axis or the Y-axis, are very cumbersome to operate. (2) When inputting in three-dimensional space, you must press a specific key on the keyboard. Press the key to change the mode, and to return to the second space mode, you must also press the key. This behavior is quite complicated and will reduce the work efficiency. (3) Controller 10 shown in Figure 6 To improve its operation η first read the back-to-side attention-item and then fill in the page and set the line through the center of the Ministry of Shanghai X consumption Hezhu right print «This paper size applies to Chinese national standards < CNS > A4 specifications (210X297 (Mm) 5 A7 ____B7 ___ The description of the invention (3), the diameter of the orbital ball 11 must be increased. As the diameter of the above-mentioned orbital ball 1 1 is increased, the length and width also become larger, and formed on the orbital ball 11 outer The diameter of the ring 12 will also become larger. Therefore, the selector 10 itself will # become a very thick structure. Because of this, it is very difficult to design a delicate type, and it must be configured in a small computer like a notebook It is very difficult. Because of its operability, it is necessary to match multiple fingers, and it is necessary to increase the range of movement of the fingers to the above-mentioned track ball 11 and ring 12, so it is sometimes very troublesome. The purpose of the subject is to provide a data input device capable of inputting mobile data in two-dimensional space data and rotating data using two operating bodies. And the purpose is to provide a data input device that can be used to input coordinate data of the three-dimensional space by the driver. At the same time, it can be made thin for its purpose. The characteristics of the data input device according to the present invention printed by the Ministry of Economic Affairs of the People's Republic of China * ?. 芈 and KJ. 贽 Cooperative are as follows: they are equipped with a pair of operating bodies that can rotate in the same direction; An encoder; and a detection unit that can detect the output of the encoder; when the detection unit obtains the transition detection output of only one of the operating bodies, it is regarded as the first input mode, and the pair of operating bodies are obtained by the above-mentioned detecting unit at the same time to the same When the rotation detection output in the direction of rotation is used as the second input mode, the rotation detection output is transformed or the movement data on the coordinates is transformed by the mode of one of the first input mode and the second input mode, and the other mode is used. The above-mentioned rotation detection output is transformed into a coordinate data conversion member that rotates around a certain axis on a coordinate. For example, only one operating body is used to input mobile data, and a pair of manipulating paper sizes is applied to the Chinese National Standard (CNS) A4 specification (210X297 mm) λ -6-A7 _B7____ V. Description of the invention (4) When turning in the same direction, it becomes the input of rotation data. Conversely, when a pair of operating bodies are turned in the same direction, it is the input of moving data, and only rotating—the side of the operating body is the input of rotating data. In addition, when the detection unit obtains the rotation detection output of a pair of operating bodies rotating in the opposite direction at the same time, when it is used as the third input mode, the coordinate input data conversion means is used to convert the third input mode to the rotation detection output. Rotate the data around the axis that intersects perpendicularly to the coordinate plane of the moving data. In the above, a pair of operating bodies that can be rotated in the same direction can also be set, and those who can rotate around the X axis and around the Y axis perpendicular to the X axis are set as a group, and each group is provided, and two sets of operating bodies are borrowed. To obtain the movement data on the X_Y coordinate, the rotation data around the X axis and the rotation data around the Z axis. Alternatively, a pair of operating bodies that can be rotated in the same direction may be set as a group that can be rotated around the X axis and around the y-axis that is perpendicular to the X axis. Obtain the movement data on the X-Υ coordinate, the rotation data around the X axis and the rotation data around the Z axis, and the rotation data around the Z axis which intersects the X axis and the Z axis perpendicularly. For example, it can be adopted and equipped with a comparison of the rotation detection output obtained by the detection section and the rotation detection output obtained by the detection section due to the rotation of the other pair of operating bodies in the same direction. In order to distinguish the structure of a comparison member where only one or both of the two operating bodies are rotating at the same time, in the above, a pair of operating systems, such as an axis facing the same direction or an axis located on the same line, can be separately formed into a roller shape By. Alternatively, this paper size applies the Chinese national standard (CNS) A4 specification (210 × 297 mm) A7 _________ B7 ___ V. Description of the invention (5) It can also be used, equipped with two rotation outputs that can produce X-axis and Y-axis The ball-shaped rotating bodies such as the output orbit ball are used as the above-mentioned pair of operating bodies. As long as the pair of operating bodies are operated at the same time, or the pair of operating bodies are operated separately, the keyboard may not be operated. The above keys can also input both movement data and rotation data on the coordinates. Moreover, if a pair of operating bodies are rotated in the opposite direction, the rotation data of the Z axis can be input, which can be used as a three-dimensional space controller. It is possible to provide a separate operating body different from the above-mentioned pair of operating bodies, an encoder driven by the operating body, and a detecting section for detecting the output of this encoder. The rotation detection output obtained by the detection unit is converted into movement data in different directions on the movement data on the coordinates input to the pair of operating bodies. The monomer of the operation body, the direction can be inputted to the three-dimensional
移動資料。 I 茲-參照附圖說明本發明如下。 第1圖係表示本發明資料輸入裝置之一個例子之三度 空間控制器1之斜視圖。而第2圖係表示以此三度空間控 制器1之輸入h號所處理之影像之移動及轉動之顯示器6 之斜視圖。在第1圖及第2圖所示之例子,係使用相同之 直交座標(X_Y_Z座標)表示三度空間控制器1之配 置方向與顯示器6在畫面上之影像之處理座標。 如三度空間控制器1有箱型之外殼2。但此外殼2也 可以是個人電腦等之鍵盤之外殼之一部分。' 本紙張尺度適用中國國家標準(CNS)A4規格( 210X297公釐) A7 ' _'_B7 _____ 五、發明説明(6 ) 在上述外殼2上面之X軸及Y軸方向’分別直線狀形 成四角狀之一對切除部3,3,4’4’而在上述切除部 3,3軸裝一對可轉動之圓柱狀之輥子Xa ’ Xb,在切 除部4,4同樣軸裝一對可轉動之圓柱狀之輥子Ya, Yb »輥子X a與Xb以配置在同一線上之軸爲中心成轉 動自如狀,輥子Y a與Yb也是以配置在同一線上之軸爲 中心成轉動自如狀。 並在外殼2之前方側面配設四角狀之缺口部5,在上 述缺口部5·成可轉動狀軸裝將軸設在X軸方向之圓柱狀之 輥子Za (其他之單獨之操作體)。 第3圖表示上述控制器1內部之一部分,表示設在上 述輥子X a下部之構造。再者,在此所使用之零件或其構 造可以採用第7圖之傳統例子所示之一般所使用者即可。 經Μ部中次榀準而h工消货合作社卬家 簡單說明之,上述輥子X a係以X軸方向爲主軸而軸 裝之。在其下部與上述輥子X a相同之軸方向軸裝有圓柱 狀之支、持輥1 4,而可與上述輥子X a成線接觸狀態。而 在上述輥1 4之一端側面部一體形成有,口徑較支持輥 1 4大,圓周上有開縫之圓板1 5。而且以夾住一述圓板 1 5外周之一部分狀,配設有可檢出上述圓板1 5之轉動 方向及轉勸量之編碼器1 6。 此編碼器1 6有光耦合器,在圓板1 5之外周之一方 有發光元件,另一方式相對狀設有受光元件,對應以一定 間隔形成在上述圓板1 5外周之開縫之通過,從受光元件 獲得脈衝輸出,而將其波形整形後供使用。再者,上述發 -9 - 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 經浐部中央榀準而只J-消势合作ii印ii kl ____B7_五、發明说明(7 ) 光元件與受光元件係向轉動方向錯開相位,共 可由各受光元件之輸出,檢出圓板1 5之轉動 從上述受光元件獲得對應圓板15之轉述之頻 出。 再者,以上係僅就X a進行說明,但其他 Ya,Yb,Za亦由同樣之支持輥1 4,圓 碼器1 6構成。 如此形成之本發明之三度空間控制器1在 空間影像處理中,可使顯示器6之畫面上顯示 等移動,轉動。 第4圖表示接收三度空間控制器1之輸入 之CPU (中央運算處理裝置)20內之處理 示在此CPU20內,依輥子Xa,Xb,Y Z a之轉動狀況之輸入資料輸出到畫面上之一 第4圖係將上述處理程序與電路架構成對應表 ,亦可'藉各種電子零件或I C等,構成如第4 路。 上述C P U 2 0,係由個別對應各輥子之 數計數器21,比較各輥子Xa,Xb,Ya 轉動及轉動方向之兩個比較構件2 2 a,2 2 從上述計數器21及比較構件22a,22b 料(轉動檢測輸出)之多數暫存器2 3,以及 述暫存器2 3獲得之資料而作爲畫面上之座標 之資料變換構件2 4,構成用以檢出對應三度 本紙張尺度適用中國國家標準(CNS > A4規《格(210X297公漦) -10- 設有兩組, 方向,並可 率之脈衝輸 輥子X b, 板1 5,編 電腦之三度 之立體圖形 信號之電腦 程序,併表 a ,Y b, 連串程序。 示之。因此 圖所示之電 編碼器之多 ,Y b有無 b,可保持 ,獲得之資 ,計算從上 資料而輸出 空間控制器 η 先κ 讀 背' 之 注 1' 項 再 A7 _*_B7_ 五、發明説明(8 ) 1之輥子Xa ’ Xb,Y a,Yb,Z a之轉動方向及轉 動量而由各編碼器1 6獲得之資料之檢測部。本發明係由 上述多數暫存器2 3與資料變換構件2 4,構成座標資料 變換構件。 上述CPU 2 0係以各計數器2 1計算上述輥子X a ,Xb,Ya,Yb,Za之轉動方向及轉動量,接著以 比較構件2 2 a,2 2 b比較除了輥子Z a以外之一對輥 子Xa〉Xb及輥子Ya,Yb之有無轉動及轉動方向。 而依其比較結果。由任一暫存器2 3保持從各計數器 2 1獲得之轉動檢測輸出,經資料變換構件2 4,當作座 標資料而輸出。藉此,例如可以使顯示在畫面上之立體對 象物移動,轉動。亦可顯示游標之移動及轉動。 再使用第5圖所示之流程圖說明使用上述三度空間控 制器1之輸入資料之處理程序如下。 經浐部中央榀準而只工消贽合作社印繁 令第1圖所示三度空間控制器之各輥子轉動時,其轉 動方向·與顯示器6之X — Y — Z座標相對應,影像向手指 操作之方向移動或轉動》因此,可以獲得,操作輥子之手 指之動作,與顯示器6上之影像之移動或轉動直接相對應 之操作應觸。 首先進行各輥子共同之步驟,由各輥子Xa,Xb, Y a ’ Yb ’ Z a之各計數器2 1計算,配設在各輥子 Xa,Xb,Ya,Yb,Za之各編碼器16之輸出’ 檢出有無轉動,轉動方向,轉動量之資料(步驟1)。 首先說明輥子Z a,則如第5圖所示,從上述Z a計 本紙張尺度適用中國國家標率(CNS ) A4規格(210X297公釐) ΛΛ A7 _____B7 _;_: 五、發明説明(9 ) 數器獲得之轉動檢測輸出’則由步驟2 ’步驟1 1〜步驟 1 3處理。 在步驟1,由Z a計數器檢出之輥子Z a之轉動檢測 輸出在步驟2時,若Za=0(0表示輥子未轉動。以下 同。)回到開始,Za尹0 (不是〇時表示輥子有轉動。 以下同。)則前進到步驟11。在上述步驟11’轉動檢 測輸出保持在座標資料變換構件之一部分之z暫存器,在 步驟1 2進行資料變換,在步驟1 3輸出到影像處理部’ 而顯示在第2圖之顯示器6之立體對象物或游標等向Z方 向移動。 然後再說明輥子Xa,Xb。關於上述輥子Xa, Xb係在步驟3〜步驟6,步驟11〜步驟13加以處理 。在步驟1計算之輥子X a,Xb之轉動檢測輸出在步驟 3時,若是X a = 〇,則前進到步驟4,若X b = 0則回 到開始。 經來‘部中央:工消费合作社印« 在步驟3,若Xa关0,則前進到步驟5。在步驟5 ,以比較構2 2 a比較關於輥子X a之轉動檢測輸出。 Xb=0時前進到步驟11。輥子Xa之轉動檢測輸出保 持在Y暫存器,再變換成座標資料上之移動資料(步驟 12),輸出到畫面處理部(步驟13)。這時,顯示在 畫面上之對象物將向第2圖所示之顯示器6之畫面之Y軸 方向(上下方向)移動。這時是,映出在畫面上之影像被 縮小,或放大,而顯示成影像向Y軸方向移動狀。 在步驟5,若X b在0則前進到步驟6。在步驟6, 本紙張尺度速用中國國家標準(CNS ) A4規格(210X297公釐> Λ0 A7 B7 五、發明説明(1〇 ) 以比較構件2 2 a比較輥子Xa之轉動檢測輸出,及輥子 Xb之轉動檢測輸出。兩輥子X a,Xb之轉動方向相同 時,在步驟1 1兩輥子X a ’ Xb之轉動檢測輸出之至少 一方被保持在環繞X軸之暫存器,再藉步驟1 2,1 3變 換成座標資料上之轉動資料而輸出。其結果,映出在顯示 器6之對象物則以畫面之X軸爲中心而轉動(0X轉動) 〇 同時,在步驟6,以比較構件2 2 a比較之結果,若 判斷輥子X a及Xb之轉動方向互爲逆向時,在步驟1 1 ,以環繞Z軸暫存器保持兩輥子之轉動檢測輸出之至少一 方,以下在步驟1 2,1 3進行相同之處理。輸出環繞Z 軸之轉動資料之座標資料。其結果,顯示在畫面上之對象 物便以畫面之Z軸爲中心轉動(0Z方向)。 而且,在步驟3時Xa = 0,且在步驟4時Xb#0 時,輸出向Y軸方向之移動資料。 亦'即,當輥子X a與輥子X b之任一方轉動時,變換 成Y方向之移動資料,兩輥子同時向同一方向轉動時,變 換成環繞X軸(0X)之轉動資料,兩輥子同時且相互反 方向轉動時,變換成環繞Z軸(0 Z )之轉動資料。 再說明輥子Ya,Yb。上述輥子Ya,Yb之轉動 檢測輸出係在步驟7 ·〜步驟1 3加以處理。關於上述步驟 1計算之輥子Y a,Yb之轉動檢測輸出,係在步驟7辨 別輥子Ya是否在轉動,若Ya = 〇,前進到步驟8。在 步驟8藉此比較構件2 2 b比較輥子Yb之轉動檢測輸出 本紙張尺度进用中國國家標準(CNS ) A4規格(210X297公釐) 13 - A7 _B7_^ 五、發明説明(11 ) ,若Y b = 0,回到開始。 在步驟8,若Yb表〇時,其轉動檢測輸出保持在X 暫存器(步驟11),當作X方向之移動資料輸出。其結 果,畫面上之對象物則向第2圖所示之X軸方向(左右方 向)移動。 另一方面,在步驟7,若Ya#〇,前進至步驟9, 在步驟9,藉比較構件22 b與輥子Yb之轉動輸出做比 較。在此,若Yb=〇,則與上述一樣,在步驟11保持 在X軸暫存器,當作X方向之移動資料而輸出》 同時,在步驟9,若Yb#0,即,輥子Ya與輥子 Yb在同時轉動時,前進到步驟1 〇。在步驟1 〇,比較 輥子Y a與Yb之轉動方向。若輥子Y a與輥子Yb之轉 動方向不相同時,在步驟1 1保持環繞Z軸之暫存器,另 —方面’輥子Y a與Yb之轉動方向相同時,保持在環繞 Y軸之暫存器,而當作轉動資料輸出。 因’此,輥子Y a與Yb之轉動方向相同時,在第2圖 所示之顯示器6之畫面上,對象物繞著Y軸轉(0 Y方向 ),輥子Ya與輥子Yb之轉動方向相反時,對象物繞著 Z軸轉(β Z方向)。 即’輥子Y a與輥子Y b之任一方轉動時,變換成X 方向之移動資料,兩輥子同時向同—方向轉動時,變換成 環繞Y軸(0Y)之轉動資料,兩輥子同時且相互反方向 轉動時’變換成環繞Z軸(0Z)之轉動資料。 如以上所說明,本發明之三度空間控制器可以很容易 I____;___ 本紙張尺度適/Π中國国家標率(CNS ) A4規格(210X297公釐) 五、發明説明(12 ) 以三度空間方式,使顯示在顯示器上之分子構造式,或遊 戲之人物或背景等之立體圖形加以移動,轉動,放大縮小 。同時,上述控制器之操作性,亦不必爲了要進行三度空 間之輸入,而操作鍵盤等之按鍵,變換成三度空間之模式 ,僅操作五根輥子便能以三度空間方式進行處理。同時, 關於上述三度空間控制器,若設在X-Y軸方向之四根輥 子靠近,便能以一根手指頭,對畫面上之對象物同時進行 .雙軸方向之控制。而且,如果使用較細,較矩的輥子,便 可以構成非常精緻型,因此可以配置在筆記型電腦等使用 〇 而本發明之控制器之控制器本體之內部,例如編碼器 等可以使用普通採用之零件,同時,從輸入到輪出之一連 串處理可以使用電腦軟體之程式,能夠以簡單之方祛構成 ,因此不必使用昂貴之零件,能夠廉價且很容易設計。 再者,本發明之三度空間控制器不限定爲此等,操作 體可以,使用球體取代圓柱狀之輥子,同時,上述操作體也 可以從4個減少至兩個。也可以在其他實施例,與上述實 施例相反,採用一對輥子同時轉動時爲移動,'僅一方轉動 時爲轉動之架構》 而第1圖所示之表示控制器位置之座標,與第2圖所 示顯示器6上之畫面之座標也不一定要一致,例如在第2 圖之畫面,Y軸與Z軸可以互換》這個時候,例如輥子 X a與X b之任一轉動時,對象物會在畫面上向上下方向 移動》而使一對輥子向反方向轉動時,對象物以垂直於畫 本紙張尺度適用中國國家標準(CNS ) A4規格(2丨0X297公釐) -15- 五、發明説明(13 ) 面之軸爲中心轉動。 如以上所述,本發明可使一對輥子等之操作體同時轉 動,或僅使一方轉動,以改變輸入模式,一方之模式時影 像在畫面上移動,而另一方之模式時,影像在畫面上轉動 。因此,不必因移動模式與轉動模式,而切換鍵盤上之按 鍵操作。 同時,若使一對轉動體向互爲反方向之方向轉動,則 /可使影像在與轉動體之配置軸不相同之軸周圍轉動。 而且,·若配設兩組之一對操作體,便能以三度空間輸 入移動及轉動資料,若附加單獨之操作時,便可以使其向 三度空間之所有方向移動及轉動。 圖式簡單說明 第1圖係表示本發明資料輸入裝置之一個例子之三度 空間控制器之斜視圖。 第’2圖係表示本發明之三度空間控制器之座標軸與顯 示器之畫面上之座標軸之對比之說明圖》 第3圖係表示本發明之三度空間控制器內部.之一部分 之放大斜視圖》 第4圖係表示本發明之三度空間控制器所使用之 C P U內部之處理之槪要圖。 第5圖係表示上述C P U內部之軟體處理之程序之流 _程圖。 第6圖係傳統之三度空間控制器之斜視圖。 本紙張尺度適用中囪固家標準(CNS ) A4规格(2丨0X297公釐) -16- A7 B7 好济部中央樣準而只-τ消費合作社印紫Move data. The invention is described below with reference to the drawings. Fig. 1 is a perspective view showing a three-dimensional space controller 1 as an example of the data input device of the present invention. Fig. 2 is a perspective view of the display 6 showing the movement and rotation of the image processed by the input h number of the three-dimensional space controller 1. The examples shown in Fig. 1 and Fig. 2 use the same orthogonal coordinates (X_Y_Z coordinates) to indicate the arrangement direction of the three-dimensional space controller 1 and the processing coordinates of the image of the display 6 on the screen. For example, the three-dimensional space controller 1 has a box-shaped casing 2. However, the casing 2 may be a part of a casing of a keyboard such as a personal computer. 'This paper size applies Chinese National Standard (CNS) A4 specification (210X297mm) A7' _'_ B7 _____ 5. Description of the invention (6) The X-axis and Y-axis directions on the above casing 2 are linearly formed into quadrangular shapes, respectively. One pair of cutouts 3, 3, 4'4 'and a pair of rotatable cylindrical rollers Xa' Xb are mounted on the cutouts 3, 3, and a pair of rotatable rolls are mounted on the cutouts 4, 4 Cylindrical rollers Ya, Yb »The rollers X a and Xb are freely rotatable around an axis arranged on the same line, and the rollers Y a and Yb are also rotatable around an axis arranged on the same line. A quadrangular notch 5 is arranged on the front side of the casing 2. The above-mentioned notch 5 is rotatably mounted on a cylindrical roller Za (other separate operating body) with the shaft set in the X-axis direction. Fig. 3 shows a part of the inside of the controller 1, and shows the structure provided under the roller Xa. In addition, the parts used here or their constructions can be used by a general user as shown in the conventional example in FIG. 7. According to the middle standard of the Ministry of M and the Consumer Goods Cooperative Co., Ltd., it is simply explained that the above-mentioned roller X a is axially mounted on the main axis. A cylindrical support and a roller 14 are mounted on a shaft in the same axial direction as the roller X a at the lower portion, and can be in linear contact with the roller X a. On the other hand, a side surface of one end of the roller 14 is integrally formed, and the diameter is larger than that of the support roller 14 and a circular plate 15 with a slit on the circumference is formed. Furthermore, a part of the outer periphery of a circular plate 15 is sandwiched, and an encoder 16 is provided which can detect the rotation direction and the amount of rotation of the circular plate 15. This encoder 16 has an optical coupler, and there is a light emitting element on one of the outer periphery of the circular plate 15; another way is provided with a light receiving element oppositely, corresponding to the passage of a slit formed on the outer periphery of the circular plate 15 at a certain interval. The pulse output is obtained from the light receiving element, and its waveform is shaped for use. Furthermore, the above-mentioned issue-9-This paper size is in accordance with Chinese National Standard (CNS) A4 (210X297 mm), approved by the central ministry, and only J-collaboration cooperation ii print ii kl ____B7_ V. Description of the invention (7 ) The light element and the light receiving element are staggered in the direction of rotation. In total, the output of each light receiving element can be detected, and the rotation of the circular plate 15 is detected. In the above, only X a is described, but the other Ya, Yb, and Za are also constituted by the same support roller 14 and the encoder 16. The three-dimensional space controller 1 of the present invention thus formed can move and rotate the display or the like on the screen of the display 6 in the space image processing. Fig. 4 shows the processing in the CPU (Central Processing Unit) 20 that receives the input from the three-dimensional space controller 1. The CPU 20 displays the input data on the screen according to the rotation status of the rollers Xa, Xb, and YZ a. A fourth diagram is a correspondence table between the above-mentioned processing program and circuit frame structure, and it can also be constituted as the fourth circuit by using various electronic parts or ICs. The above-mentioned CPU 2 0 is a number counter 21 corresponding to each of the rollers, and compares the two comparison members 2 2 a, 2 2 of the rotation and rotation directions of each roller Xa, Xb, Ya. From the above-mentioned counter 21 and comparison members 22a, 22b, (Rotation detection output), most of the registers 23, and the data conversion means 24 used as the coordinates on the screen as the data obtained by the registers 23 are used to detect the corresponding three-dimensional paper size applicable to the Chinese country Standard (CNS > A4 rule "Grid (210X297cm) -10- There are two groups, direction and rate of pulse input roller X b, plate 1, 5, three-dimensional computer graphics computer program A, Y b, and a series of programs are shown. Therefore, as shown in the figure, there are as many electrical encoders as possible, and whether Y b has b or not. It can be maintained. The obtained capital is calculated from the above data and output to the space controller η first κ. Read the "Note 1" item of the "A7" _ * _ B7_ V. Description of the invention (8) Roller Xa 'Xb, Y a, Yb, Z a Rotation direction and amount of data obtained by each encoder 16 The detection unit. The present invention is changed by the above-mentioned most registers 23 and data. The component 2 4 constitutes a coordinate data conversion component. The above-mentioned CPU 20 calculates the rotation direction and the rotation amount of the rollers X a, Xb, Ya, Yb, and Za with each counter 21, and then compares the components 2 2 a, 2 2 b compares the rotation and rotation direction of a pair of rollers Xa> Xb and rollers Ya, Yb except for roller Z a. According to the comparison result, the rotation detection obtained from each counter 21 is maintained by any register 2 3 The output is output as coordinate data through the data conversion component 24. By this means, for example, the three-dimensional object displayed on the screen can be moved and rotated. The movement and rotation of the cursor can also be displayed. Re-use as shown in Figure 5 The flow chart illustrates the processing procedure of using the input data of the three-dimensional space controller 1 as described below. When the central part of the Ministry of Commerce has approved it, only the cooperatives can print. When the rollers of the three-dimensional space controller shown in Figure 1 rotate, The direction of rotation · corresponds to the X—Y—Z coordinates of the display 6 and the image moves or rotates in the direction of the finger operation> Therefore, it can be obtained that the movement of the finger operating the roller and the movement of the image on the display 6 The operation corresponding to the direct rotation should be touched. First, the steps common to each roller are performed, calculated by each counter 21 of each roller Xa, Xb, Y a 'Yb' Z a, and arranged on each roller Xa, Xb, Ya, Yb The output of each encoder 16 of Za 'detects whether there is rotation, rotation direction, and rotation data (step 1). Firstly, the roller Z a will be described. As shown in FIG. 5, the paper size is calculated from the above Za. China National Standard (CNS) A4 specification (210X297 mm) ΛΛ A7 _____B7 _; _: V. Description of the invention (9) The rotation detection output obtained by the counter is processed by step 2 'step 1 1 to step 13. In step 1, the rotation detection output of the roller Za detected by the Za counter is in step 2. If Za = 0 (0 means that the roller is not rotating. The same applies hereinafter). When returning to the beginning, Za Yin 0 (if it is not 0, it means The roller rotates. The same applies hereinafter.) Then proceed to step 11. In the above step 11 ', the rotation detection output is held in the z register which is a part of the coordinate data conversion member, and the data conversion is performed in step 12 and output to the image processing section in step 13' and displayed on the display 6 in FIG. 2 A three-dimensional object, a cursor, or the like moves in the Z direction. Then, the rollers Xa, Xb will be described. Regarding the rollers Xa and Xb, they are processed in steps 3 to 6 and steps 11 to 13. When the rotation detection output of the rollers X a and Xb calculated in step 1 is in step 3, if X a = 0, proceed to step 4; if X b = 0, return to the beginning. By ‘Ministry Central: Industrial and Consumer Cooperatives’ «In step 3, if Xa is off, proceed to step 5. In step 5, the rotation detection output about the roller X a is compared with the comparison structure 2 2 a. When Xb = 0, proceed to step 11. The rotation detection output of the roller Xa is held in the Y register, and then converted into movement data on the coordinate data (step 12), and output to the screen processing unit (step 13). At this time, the object displayed on the screen moves to the Y-axis direction (up and down direction) of the screen of the display 6 shown in FIG. 2. At this time, the image reflected on the screen is reduced or enlarged, and displayed as the image moves in the Y-axis direction. In step 5, if X b is 0, proceed to step 6. In step 6, the paper size is in accordance with the Chinese National Standard (CNS) A4 specification (210X297 mm > Λ0 A7 B7. V. Description of the invention (10) Compare the rotation detection output of the roller Xa with the comparison member 2 2a, and the roller Xb rotation detection output. When the rotation directions of the two rollers X a and Xb are the same, at least one of the rotation detection outputs of the two rollers X a 'Xb is held in a register around the X axis, and then borrowed from step 1 2, 1 3 is transformed into the rotation data on the coordinate data and output. As a result, the object reflected on the display 6 rotates around the X axis of the screen (0X rotation). At the same time, in step 6, the components are compared. As a result of the comparison of 2 a, if it is determined that the rotation directions of the rollers X a and Xb are opposite to each other, at step 1 1, at least one of the rotation detection outputs of the two rollers is maintained around the Z-axis register, and the following is at step 1 2 The same processing is performed for 1 and 3. The coordinate data of the rotation data around the Z axis is output. As a result, the object displayed on the screen rotates around the Z axis of the screen (0Z direction). Moreover, Xa in step 3 = 0 and Xb # 0 at step 4 When the roller X a and the roller X b are rotated, it is transformed into the Y direction movement data, and when both rollers are rotated in the same direction at the same time, it is transformed into the circle X The rotation data of the axis (0X), when the two rollers rotate at the same time and in opposite directions, they are converted into rotation data around the Z axis (0 Z). Then explain the rollers Ya, Yb. The rotation detection output of the above rollers Ya, Yb is in the step 7 · ~ Steps 1 and 3. Regarding the rotation detection output of the rollers Ya and Yb calculated in Step 1 above, it is discriminated in Step 7 whether the roller Ya is rotating. If Ya = 〇, proceed to Step 8. Borrow in Step 8 This comparison member 2 2 b compares the rotation detection output of the roller Yb. The paper size adopts the Chinese National Standard (CNS) A4 specification (210X297 mm) 13-A7 _B7_ ^ V. Description of the invention (11), if Y b = 0, Go back to the beginning. In step 8, if Yb is 0, its rotation detection output is held in the X register (step 11), and it is output as the movement data in the X direction. As a result, the object on the screen goes to the second X-axis direction (left and right direction) shift shown in the figure On the other hand, in step 7, if Ya # 〇, proceed to step 9, in step 9, compare the rotation output of the roller 22b with the comparison member 22b. Here, if Yb = 0, the same as above At step 11, it is held in the X-axis register and is output as the movement data in the X direction. At the same time, at step 9, if Yb # 0, that is, the roller Ya and the roller Yb rotate at the same time, proceed to step 1. In step 10, compare the rotation directions of the rollers Y a and Yb. If the rotation directions of the rollers Y a and Yb are not the same, keep the register around the Z axis in step 11 and the other aspect is the “roller Y a When the direction of rotation is the same as that of Yb, it is held in a register around the Y axis and output as rotation data. Therefore, when the rotation directions of the rollers Y a and Yb are the same, on the screen of the display 6 shown in FIG. 2, the object rotates around the Y axis (0 Y direction), and the rotation directions of the rollers Ya and Yb are opposite. At this time, the object rotates around the Z axis (β Z direction). That is, when one of the rollers Y a and Y b rotates, it is transformed into movement data in the X direction. When both rollers are rotated in the same direction at the same time, it is transformed into rotation data around the Y axis (0Y). The two rollers are simultaneously and mutually When turning in the opposite direction, it is transformed into rotation data around the Z axis (0Z). As explained above, the three-dimensional space controller of the present invention can easily I____; ___ The paper size is appropriate / Π China National Standards (CNS) A4 specifications (210X297 mm) 5. Description of the invention (12) Three-dimensional space Method, the molecular structural formula displayed on the display, or the three-dimensional graphics of the characters or the background of the game are moved, rotated, zoomed in and out. At the same time, the operability of the above-mentioned controller does not need to operate the keys of the keyboard or the like to change to the three-dimensional space mode in order to perform the three-dimensional space input. Only five rollers can be used to process in the three-dimensional space. At the same time, regarding the three-dimensional space controller, if the four rollers set in the X-Y axis direction are close to each other, one finger can be used to simultaneously control the two-axis direction of the object on the screen. Moreover, if you use thinner and more rectangular rollers, you can form a very delicate type, so it can be configured for use in a notebook computer, etc., and the controller body of the controller of the present invention, such as an encoder, can be used generally. At the same time, a series of processing from input to rotation can use a program of computer software, which can be constructed in a simple way. Therefore, it is not necessary to use expensive parts, and it can be designed inexpensively and easily. In addition, the three-dimensional space controller of the present invention is not limited to this. The operating body may be a sphere instead of a cylindrical roller. At the same time, the operating body may be reduced from four to two. In other embodiments, contrary to the above embodiment, a pair of rollers are used to move when they rotate at the same time, and 'the structure is rotated when only one side is rotated.' And the coordinates showing the position of the controller shown in FIG. The coordinates of the screen on the display 6 shown in the figure are not necessarily the same. For example, in the screen of Figure 2, the Y axis and the Z axis are interchangeable. At this time, for example, when any one of the rollers X a and X b rotates, the object Will move up and down on the screen "and make a pair of rollers rotate in the opposite direction, the object is applied to the Chinese paper standard (CNS) A4 specification (2 丨 0X297 mm) perpendicular to the paper size of the painting. -15- DESCRIPTION OF THE INVENTION The axis of the (13) plane is centered. As described above, the present invention can rotate a pair of operating bodies such as rollers at the same time, or only one of them to change the input mode. In one mode, the image moves on the screen, and in the other mode, the image is on the screen. Turn on. Therefore, it is not necessary to switch the key operation on the keyboard due to the movement mode and the rotation mode. At the same time, if a pair of rotating bodies are rotated in directions opposite to each other, the image can be rotated around an axis different from that of the rotating body. In addition, if one pair of two sets of operating bodies is provided, the movement and rotation data can be input in three degrees of space. If a separate operation is added, it can be moved and rotated in all directions of the three degrees of space. Brief Description of the Drawings Fig. 1 is a perspective view showing a three-dimensional space controller as an example of the data input device of the present invention. FIG. 2 is an explanatory diagram showing the comparison between the coordinate axis of the three-dimensional space controller of the present invention and the coordinate axis on the screen of the display. FIG. 3 is an enlarged oblique view showing a part of the three-dimensional space controller of the present invention. 》 FIG. 4 is a schematic diagram showing the internal processing of the CPU used by the three-dimensional space controller of the present invention. Fig. 5 is a flow chart showing a software processing procedure in the above CPU. Figure 6 is a perspective view of a conventional three-degree space controller. This paper size is applicable to CNS A4 specification (2 丨 0X297mm) -16- A7 B7 The central sample of the Ministry of Health and Economics is only printed by -τ Consumer Cooperative