201222328 六、發明說明: 【發明所屬之技術領域】 本發明係有關於一種光學鍵盤,尤其是一種具有光感測器, 並且可依據光感測器感測到之感測光線,以輸出輸入指令的光學 鍵盤。 【先前技術】 隨著科技的發展與進步,不論是個人電腦(personal Computer ’ PC)或是筆記型電腦(Notebook)等電腦設備,已逐漸成 為大眾在日常生活或是工作上不可或缺的便捷工具。然而,電腦 5又備必須藉由各式輸入裝置,例如:滑鼠(M〇use)、觸控板(T〇uch Board)、鍵盤(Keyboard)、軌跡球(Trackball)等指標輸入裝置,才 能執行電腦設備之視窗介面的操控動作。 以筆記型電腦為例,一般常見的筆記型電腦,多於其機體表 面配置有鍵舰置’哺利使用者輸人指令,操控電腦設備。其 中’常見的機械式的實體鍵健置存在有所佔雜較大,且按鍵 高度較高之問題。在筆記型電腦講求日益精簡與輕薄化的趨勢 下’習知之鍵盤裝置於使㈣,遂具有其不便繼與所佔空間過 大之問題。 而-些具有觸控螢幕的手提電子賴,賴可由螢幕上顯示 虛擬鍵盤作為鍵缝人,但由於這些虛_盤是設在螢幕上,使 用者只有在需要輸人的時候,才會去觸碰或壓按虛擬鍵盤,而一 般使用者的在真正_的使用㈣上,是會把手放麵盤上,尤 201222328 其是中指會置放在有觸控辨識記號的F鍵及】鍵上,以方便辨識 :指的位置’而這樣的使用習慣,會在直接把觸控螢幕當成_ 日守造成問題’因為使用者—直把手指置放在觸控螢幕上,會讓系 統誤判為輸入指令。 Μ ’如何設計出—種兼具便雜,且優於習知實體按鍵之 鍵盤裝置’遂為鍵錄置之發展沿革上重要的研究方向之一。 【發明内容】 :· 鑒於以上之問題,本發明提供—縣學鍵盤,以解決習知鍵 盤裝置存在之問題,並且此種光學鍵盤同時亦具有較佳之應用便 利性。 本發明提供-種光學趣’適於—可攜式電子裝置,光學鍵 盤包括.if光介質體、多個光學收發模組與—微處理器,其中 透光介質體具魅域。光學收發模組伽對設置於透光 介質體之下方’並且各佩應區域之下方皆具有—個光學收發模 籲組,各個光學收發模組包括:一光源與一光感測器。 光源射出-❹彳光線,且該制光線係穿透光學收發模組所 對應之感應區域。當_指示物件位於絲區域上時,減測器接 收自指示物件反射並且穿透紐測韻對應之絲區域之該感測 :光線。微處理器電性連接於該些光感測器,並且依據每一光感測 裔所對應之感應n域之m據以輸出對應於滅應區域之 一輸入指令。 根據本發明提出之光學鍵盤’其巾微處理ϋ設定有-臨界光 201222328 強度值以及-臨界時間,自任一光感測器接收到被指示物件反射 之感測光線開始,當微處理器接_光感·所對應之感應區域 之感測光、、泉其光線強度在臨界時間内由大於臨界光強度值變為 小於s品界光強度辦,微處職輸㈣應機錢區域之輸入指 根據本發賴$之光學鍵盤,其帽處理器設定有 一臨界距 離值以及一臨界時間,指示物件與感應區域之間具有一相對距 離’自任-域測器接收到被指示物件反射之感測絲開始,當 該相對距離在轉日_内由小於臨界雜·為大誠界距離值 .時’微處職輸出對應於該感應輯之輸入指令。 .根據本發明提出之辟,其中絲係為—發光二極體 (Light Emitting Diode > LED) ° 根據本發明提出之光學鍵盤,其中感測光線係為—可見光或 不可見光。 、,疋以’本發明提出之光學鍵盤,係藉由多個光學收發模組投 射JI感測自感應d域上方指讀件反射之光線,令微處理器據以 決定是否輸出對應於該感躯域之輸人指令。根據本發明之光學 鍵盤,不僅可降低習知鍵盤之實體按_製作成本 較佳之應用便利性。 外以上有關於本發明的内容說明,與以下的實施方式係用以示 讀解釋本發_精神與_,並域供本發_專辦請範圍 更進一步的解釋。有關本發明的特徵、實作與功效,兹配合圖式 201222328 作較佳實施例詳細說明如下。 【實施方式】 一立「第u圖」係為根據本發明一實施例之光學鍵盤的局部結構 不:圖’其中光學鍵盤麵包括一透光介質體收、多個光學收 發拉組10與-微處理H⑽。絲難麵可適於—可攜式電子 裳置’以作為電腦設備之輸人指令裝置,射上述之可赋電子 裝置’例如是:筆記型電腦陶eb⑻k)或其他可觀電腦二備。 、透光介質體102可包括多個凸設之按鍵,並具有多個感應區 域20,以供指示物件(如:使用者之手指)接觸,或者於其表面上 移動,以輸入指令。光學收發模組1〇係相對設置於透光介質體ι〇2 之下方,並且每一感應區域20之下方均具有一個對應之光學收發 模組10。 「第1B圖」與「第1C圖」係為「第1A圖」之光學鍵盤之 操作示意圖,其中光學收發模組1〇包括一光源1〇4與一光感測器 Φ 106。光源 1〇4 可以是一發光二極體(l丨ght Emitting Diode,LED), 並發射出可見光、不可見光(例如:紅外線)等光線。當光源1〇4投 射出一感測光線,且該感測光線穿透光學收發模組1〇所對應之感 應區域20而投向該感應區域20上之指示物件(如:使用者之手指) 時’該感測光線係被指示物件所反射,並且再次穿透感應區域2〇, 而續被光感測器106所接收。根據本發明之實施例,光感測器1〇6 可以是但不限於互補式金氧半感測器(Complementary Metal Oxide Semiconductor,CMOS)或電荷耦合元件(Charge Coupled Device, 201222328 CCD)。 由於每—光感測器106皆電性連接至微處理器108,因此微處 理益108即可根據每一光感測器1〇6所對應的感應區域2〇之感測 光線’而★定光學鍵盤1〇〇〇是否輸出對應於該感應區域2〇的輸 入指令。 第2A圖」係為根據本發明實施例之光學鍵盤,其判斷輸入 k機制之7F意圖’其中圖式座標之縱軸與橫軸分別代表光感測 益1〇6感測到之光強度與時間。以下之說明,係以單一感應區域 20之輸入指令為例,然而,光學鍵盤麵之透光介質體搬的各 個感應顧20,柯雜下财法,㈣定絲_麵是否輸 出對應於感應區域20的輸入指令。 舉例而言,微處驾繼可經由使用者触設定有一臨界光 又值1〇以及界時間t。當指示物件逐漸接近感應區域, 光感測器106接收到被指示物件反射之感測光線,當感測光強度 達到臨界光強度值IG時,微處理器湖記錄時間為第一時間點丁】。 若微處理器108接收到之感測光線,其光線強度在臨界時間t内由 大於臨界光強度值lG纟聽小於臨界光強度值Iq,意即當感測光強 度小於臨界光強度值Ig時記_間為第二_點t,且第二時間 點了2與第-時瞭,的時間差dT小於臨界時間㈤,減,微 處理盗應判斷指示物件輸入指令,並且輸出指示物件對應於感 應區域2G之輸入指令。其中,第二時間點了2與第-時間點Tl的 時間差dT要小於臨界時間t的意義在於,當時間差叮大於臨界 201222328 ^ t _如指示_於咖域如上) 令輪入狀態,因此不輸入。 非疋在‘ 由於指示物件與感應區域2〇之鬥 __度,此臨=:=響到光感測器 物件與感應顧心_離 狀料峨擊行程咖。因此,當_行程時間= ’夺曰11 ’則U處理器108判斷為非輸入模式。 =微處理器108判斷指示物件是否輸入指令之方法,並 盤二㈣」係為根據本發明又-實施例之光學鍵 八別代人”機制之不意圖,其中圖式座標之縱轴與樺軸 :代表絲解域魅叙_距_下_姆距離i ㈣所述,因為指示物件與感應區域2()之_距 f測器106感測到之光強度,因此亦可以換算後的相對距離= 臨界距1Γ 8可軸朗者敢設定有一 抒離“以及—臨界時間t。因此,當指示物件逐 _如,令相對距離在第—時間點^達—臨界距 ^ =:Γ:Γ件可能輪·,離第-二 由J方〜 示物件與感應區域20之間的相對距離 由小方士界距離值^變為大於 ::_崎_娜物 間點㈣的時間諸小於臨界時m,此時微處理請細 201222328 對應於感應區域20之輸入指令。 其中’根據本發明實施例之光學鍵盤,指示物件之輸入指令 可為一接觸式輸入指令,或是一非接觸式輸入指令。也就是說, 當臨界距離值d0預設為零時,如「第ic圖」所示,則微處理器 輸出對應於感應區域20之輸入指令係為一接觸式輸入指令。 而當设計者將光感測器106之敏感度(sensitivity)提高,以令臨界距 離值d0可5又為大於零時,如「第1B圖」所示,則微處理器 輸出對應於感應區域20之輸入指令係為一非接觸式輸入指令。 是以,综上所述,根據本發明實施例之光學鍵盤,不僅可透 過光源、光感測器與微處理器等元件,實現光感測鍵盤之功效, 以解決習知鍵盤按鍵存在之問題,更可根據前述之判斷機制,達 到非接觸式之輸入指令,大大提升此種光學鍵盤於應用上之便 性。 雖然本發明以前述的較佳實施例揭露如上,然其並非用r 定本發明,任何熟習相像技藝者,在不脫離本發明之精神與^ 内’當可作些許更動與潤飾,因此本發明之專利保護範圍須視已 說明書所附之申請專利範圍所界定者為準。 /、 【圖式簡單說明】 第1A圖係為根據本發明一實施例之光學鍵盤的 意圖。 ”、。構示 第1B圖係為第ία圖之光學鍵盤之操作示意圖。 第1C圖係為第1A圖之光學鍵盤之操作示意圖。 201222328 第2A圖係為根據本發明實施例之光學鍵盤,其判斷輸入指令 機制之示意圖。 第2B圖係為根據本發明又一實施例之光學鍵盤,其判斷輸入 指令機制之示意圖。 【主要元件符號說明】 10 光學收發模組 20 感應區域 102 透光介質體 104 光源 106 光感測器 108 微處理器 1000 光學鍵盤201222328 VI. Description of the Invention: [Technical Field] The present invention relates to an optical keyboard, and more particularly to a light sensor, and can sense an input light according to a light sensor to output an input command. Optical keyboard. [Prior Art] With the development and advancement of technology, whether it is a personal computer (PC) or a notebook computer (Notebook) and other computer equipment, has gradually become an indispensable convenience for the public in daily life or work. tool. However, the computer 5 must be equipped with various input devices, such as a mouse (M〇use), a touchpad (T〇uch Board), a keyboard (Keyboard), a trackball (Trackball) and other index input devices. Perform the manipulation of the window interface of the computer device. Taking a notebook computer as an example, a common notebook computer has more than one body surface configured with a key ship's 'feeding user input command to control computer equipment. Among them, the common mechanical physical key health has a large problem, and the button height is high. In the trend of notebook computers, which are increasingly streamlined and lighter and thinner, the keyboard device of the prior art is (4), which has the problem of inconvenience and excessive space. And some portable electronic devices with touch screens can be used as keystrokes by displaying virtual keyboards on the screen, but since these virtual disks are set on the screen, users only touch when they need to lose people. Touch or press the virtual keyboard, and the general user's use (4) on the real _ will be placed on the face plate, especially 201222328, the middle finger will be placed on the F key with the touch identification mark and the 】 key, In order to facilitate identification: the location of the finger' and such use habits, it will directly cause the touch screen as a problem. Because the user puts the finger on the touch screen, the system will be mistakenly judged as an input command. . Μ ‘How to design a keyboard device that is both casual and superior to the traditional physical buttons’ is one of the important research directions in the development of key recording. SUMMARY OF THE INVENTION: In view of the above problems, the present invention provides a county keyboard for solving the problems of the conventional keyboard device, and the optical keyboard also has better application convenience. The present invention provides an optically-compatible portable electronic device. The optical keyboard includes an .if optical medium, a plurality of optical transceiver modules, and a microprocessor, wherein the transparent medium has a charm domain. The optical transceiver module is disposed below the transparent medium body and has an optical transceiver module below each of the corresponding transmissive regions. Each of the optical transceiver modules comprises: a light source and a light sensor. The light source emits light, and the light passes through the sensing area corresponding to the optical transceiver module. When the _ indicating object is on the wire area, the damper receives the sensing from the indicating object and penetrates the silk region corresponding to the neon rhyme: light. The microprocessor is electrically connected to the photo sensors, and outputs an input command corresponding to the allergenic region according to the m-invention of the sensing n-field corresponding to each photosensor. According to the optical keyboard of the present invention, the towel micro-processing device is set with the -critical light 201222328 intensity value and the -critical time, starting from any light sensor receiving the sensing light reflected by the indicator object, when the microprocessor is connected _ The sensed light of the sensing area corresponding to the light sense, and the light intensity of the spring is changed from a value greater than the critical light intensity to a light intensity less than the s product boundary in the critical time, and the input of the micro-service (4) should be based on the input area. The optical keyboard of the present invention is characterized in that the cap processor is configured with a critical distance value and a critical time, indicating that the object has a relative distance from the sensing area, and the self-receiving sensor receives the sensing wire reflected by the indicating object. When the relative distance is less than the critical miscellaneous value in the transition date _, the micro-service output corresponds to the input command of the sensor. According to the invention, the wire is a Light Emitting Diode (LED). The optical keyboard according to the present invention, wherein the sensing light is - visible or invisible. The optical keyboard proposed by the present invention is a plurality of optical transceiver modules for projecting JI to sense the light reflected by the finger reading device above the sensing domain d, so that the microprocessor determines whether the output corresponds to the sense. The input command of the body. According to the optical keyboard of the present invention, not only the physical convenience of the conventional keyboard can be reduced, but also the application convenience is better. The content description of the present invention is the same as the following, and the following embodiments are used to explain the present invention, and the scope of the present invention is further explained. The features, implementations, and effects of the present invention are described in detail below with reference to the preferred embodiment of the drawings 201222328. [Embodiment] A "u" diagram is a partial structure of an optical keyboard according to an embodiment of the present invention. The optical keyboard surface includes a transparent medium body, a plurality of optical transceiver groups 10 and - Microprocessing H (10). The silky face can be adapted to be a portable electronic device for use as an input command device for a computer device, such as a notebook computer eb (8) k) or other observable computer. The transparent medium body 102 can include a plurality of protruding buttons and has a plurality of sensing regions 20 for contacting an object (e.g., a user's finger) or moving on a surface thereof to input an instruction. The optical transceiver module 1 is disposed opposite to the transparent medium body ι2, and has a corresponding optical transceiver module 10 below each sensing region 20. "1B" and "1C" are schematic diagrams of the operation of the optical keyboard of "A1A", wherein the optical transceiver module 1 includes a light source 1-4 and a light sensor Φ 106. The light source 1〇4 may be a light emitting diode (LED) and emit light such as visible light or invisible light (for example, infrared light). When the light source 1〇4 projects a sensing light, and the sensing light penetrates the sensing area 20 corresponding to the optical transceiver module 1〇 and is directed to the pointing object (such as the user's finger) on the sensing area 20 The sensed light is reflected by the indicator object and penetrates the sensing area 2〇 again and continues to be received by the light sensor 106. According to an embodiment of the present invention, the photo sensor 1〇6 may be, but not limited to, a Complementary Metal Oxide Semiconductor (CMOS) or a Charge Coupled Device (201222328 CCD). Since each of the photo sensors 106 is electrically connected to the microprocessor 108, the micro processing benefit 108 can be determined according to the sensing area 2 感应 of the sensing area 2 每一 corresponding to each photo sensor 1 〇 6 Whether the optical keyboard 1 输出 outputs an input command corresponding to the sensing area 2〇. 2A is an optical keyboard according to an embodiment of the present invention, which determines the 7F of the input k mechanism. The vertical axis and the horizontal axis of the figure coordinate respectively represent the light intensity sensed by the light sensing benefit 1〇6. time. In the following description, the input command of the single sensing area 20 is taken as an example. However, each of the light-sensitive medium bodies of the optical keyboard surface is moved by 20, and the output of the fixed wire surface corresponds to the sensing area. 20 input instructions. For example, the micro-driver can be set to have a critical light value of 1 〇 and a boundary time t via the user's touch. When the indicator object gradually approaches the sensing area, the light sensor 106 receives the sensed light reflected by the indicated object, and when the sensed light intensity reaches the critical light intensity value IG, the microprocessor lake records the time as the first time point. If the microprocessor 108 receives the sensed light, its light intensity is greater than the critical light intensity value lG纟 during the critical time t by less than the critical light intensity value Iq, that is, when the sensed light intensity is less than the critical light intensity value Ig _ is the second _ point t, and the second time point is 2 and the first time, the time difference dT is less than the critical time (five), minus, the micro-processing stealing judges the indication object input instruction, and the output indicating object corresponds to the sensing area 2G input command. Wherein, the meaning of the time difference dT between the second time point 2 and the first time point T1 is less than the critical time t is that when the time difference 叮 is greater than the critical 201222328 ^ t _ as indicated in the _ _ _ domain as above, the wheel is in the state, so no Input. It is not 疋 ‘ because the indicator object and the sensing area 2 〇 _ _ degrees, this Pro =: = ring to the light sensor object and the sensor care _ detachment sniper stroke coffee. Therefore, when the _ travel time = 'run 11 ', the U processor 108 determines that it is not the input mode. = the microprocessor 108 determines the method of indicating whether the object is input or not, and the disk (4) is a non-intentional mechanism of the optical key according to the present invention, wherein the vertical axis of the figure coordinates and the birch Axis: represents the filament solution domain _ _ _ _ _ distance i (d), because the indicator object and the sensing area 2 () _ distance f detector 106 sensed light intensity, it can also be converted relative Distance = critical distance 1 Γ 8 can be set to a distance from "and - critical time t. Therefore, when the indicator object is steadily, the relative distance is at the first time point - the critical distance ^ =: Γ: the piece may be rounded, from the second side to the second side by the J side - between the object and the sensing area 20 The relative distance is changed from the small square boundary distance value ^ to a value greater than::__Saki_na object point (4) is less than the critical time m, at this time, the micro-processing please 201222328 corresponds to the input command of the sensing area 20. Wherein the optical keyboard according to the embodiment of the present invention, the input command of the indication object may be a contact input command or a contactless input command. That is to say, when the critical distance value d0 is preset to zero, as shown in the "ic diagram", the microprocessor outputs an input command corresponding to the sensing area 20 as a touch input command. When the designer increases the sensitivity of the photo sensor 106 so that the critical distance value d0 can be greater than zero, as shown in "1B", the microprocessor output corresponds to the sensing. The input command of area 20 is a contactless input command. Therefore, in summary, the optical keyboard according to the embodiment of the present invention can realize the function of the light sensing keyboard through components such as a light source, a photo sensor, and a microprocessor, so as to solve the problem of the conventional keyboard keys. According to the foregoing judgment mechanism, the non-contact input command can be realized, and the convenience of the optical keyboard is greatly improved. While the present invention has been described above in the foregoing preferred embodiments, the present invention is not intended to be limited to the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of patent protection shall be subject to the definition of the scope of the patent application attached to the specification. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1A is an illustration of an optical keyboard according to an embodiment of the present invention. FIG. 1B is a schematic diagram of the operation of the optical keyboard of FIG. 1C. FIG. 1C is a schematic diagram of the operation of the optical keyboard of FIG. 1A. 201222328 FIG. 2A is an optical keyboard according to an embodiment of the present invention. FIG. 2B is a schematic diagram of an optical keyboard according to another embodiment of the present invention for determining an input command mechanism. [Main component symbol description] 10 optical transceiver module 20 sensing region 102 transparent medium Body 104 light source 106 light sensor 108 microprocessor 1000 optical keyboard