TW201911019A - Input method and device - Google Patents

Input method and device Download PDF

Info

Publication number
TW201911019A
TW201911019A TW106136861A TW106136861A TW201911019A TW 201911019 A TW201911019 A TW 201911019A TW 106136861 A TW106136861 A TW 106136861A TW 106136861 A TW106136861 A TW 106136861A TW 201911019 A TW201911019 A TW 201911019A
Authority
TW
Taiwan
Prior art keywords
light
input
visible light
module
color
Prior art date
Application number
TW106136861A
Other languages
Chinese (zh)
Other versions
TWI660303B (en
Inventor
伍致榮
高笙庭
Original Assignee
英華達股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 英華達股份有限公司 filed Critical 英華達股份有限公司
Publication of TW201911019A publication Critical patent/TW201911019A/en
Application granted granted Critical
Publication of TWI660303B publication Critical patent/TWI660303B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • G06F3/0425Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means using a single imaging device like a video camera for tracking the absolute position of a single or a plurality of objects with respect to an imaged reference surface, e.g. video camera imaging a display or a projection screen, a table or a wall surface, on which a computer generated image is displayed or projected
    • G06F3/0426Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means using a single imaging device like a video camera for tracking the absolute position of a single or a plurality of objects with respect to an imaged reference surface, e.g. video camera imaging a display or a projection screen, a table or a wall surface, on which a computer generated image is displayed or projected tracking fingers with respect to a virtual keyboard projected or printed on the surface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0231Cordless keyboards

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Position Input By Displaying (AREA)
  • Switches Operated By Changes In Physical Conditions (AREA)

Abstract

An input method and device thereof, the input device comprises a light-emitting module, a light-receive module, a light-identifying module, and a micro controller. The method comprises following steps: The light-emitting module projects visible light to a projected surface. The light-receiving module catches the reflected light caused by user's operating. Confirms the reflected light whether a valid input or an invalid input through the identification of the light-identifying module. Composing these input results in a code, and finds a corresponding symbol from a code table, then outputting the corresponding symbol. Compared to prior art, the present invention should solve the input inconvenience problem caused by the user interface size of intelligent device; moreover, the operation is intuitive, and no need for complex light source positioning technology.

Description

一種輸入方法及裝置    Input method and device   

本發明涉及一種輸入方法及裝置,特別是一種藉由投射可見光與接收可見光的反射光,並將其轉成編碼之輸入方法及裝置。 The present invention relates to an input method and device, in particular to an input method and device for projecting visible light and receiving reflected light of visible light and converting it into a code.

大部分消費性電子產品,尤其是可攜式電子輸入裝置的發展有精簡化和縮減體積之趨勢,太大的輸入裝置不便攜帶,但礙於人體工學與視覺限制,過小的輸入裝置也會降低使用者的舒適程度,因此如何在攜帶方便與操作體驗之間取得雙贏,是目前亟欲解決的問題。 The development of most consumer electronic products, especially portable electronic input devices, has a tendency to streamline and reduce size. Too large input devices are not portable, but due to ergonomic and visual restrictions, too small input devices will also Decreasing the comfort level of the user, so how to achieve a win-win situation between the convenience of carrying and the operating experience is a problem to be solved urgently.

以市面上常見之智慧型手機為例,一般於液晶螢幕中顯示鍵盤,使用時須觸摸觸控螢幕鍵盤相對應的按鍵位置,按鍵越多則其鍵盤所佔的螢幕面積越大,相對限縮了螢幕中其他內容的顯示面積,以輸入裝置面積大小相對於其輸入內容來看,此輸入方法並非最高利用率之方法。 Take common smartphones on the market as an example. Generally, the keyboard is displayed on the LCD screen. When using it, you must touch the position of the keys corresponding to the touch screen keyboard. The more keys, the larger the screen area occupied by the keyboard, and the relative shrinkage. In view of the display area of other content on the screen, in terms of the size of the input device relative to its input content, this input method is not the method with the highest utilization rate.

在前案CN102591464B中,提出了一種激光虛擬鍵盤做為輸入裝置,其從電子產品顯示屏幕上設置的投射模組投射虛擬鍵盤到一平面上,當使用者在該虛擬鍵盤上敲擊按鍵投影位置時,會有兩個不同位置的電激光器發射光束到使用者手指,反射激光被光感應器接受後透過三角定位法,回推敲擊的按鍵,藉以輸入相對應的訊息。此案解決了以往實體鍵盤的體積限制,但也延伸出兩個新的問題,其一是該輸入裝置必須事先安裝在一穩定介面上,其二為該輸入裝置仍需一符合人體工學之適當大小平 面,在講求效率與靈活度的科技發展趨勢中,此裝置仍有可改進的空間。 In the former case CN102591464B, a laser virtual keyboard is proposed as an input device, which projects a virtual keyboard onto a plane from a projection module provided on an electronic product display screen. When a user taps a key on the virtual keyboard, the projection position is projected. At that time, two electric lasers at different positions emit light beams to the user's finger, and the reflected laser light is accepted by the light sensor and passed through the triangulation method, and the keys are pressed back to input corresponding information. This case solves the volume limitation of the previous physical keyboard, but also extends two new problems. One is that the input device must be installed on a stable interface in advance, and the other is that the input device still needs to be ergonomic. With a proper size of the plane, the device still has room for improvement in the technological development trend that emphasizes efficiency and flexibility.

因應前述問題,本發明之一範疇在於提出一種輸入裝置,可以簡易而精確的發出與接收可見光,以供使用者不受平面限制輸入資訊。 In response to the foregoing problems, one category of the present invention is to provide an input device that can easily and accurately emit and receive visible light for users to input information without being restricted by a plane.

根據本發明裝置之一實施例中,輸入裝置包含一發光模組、一光接收模組、一光識別模組及一微控制器。發光模組用以投射可見光;光接收模組用以接收可見光之反射光;光識別模組耦接於光接收模組,其中包含一光強度偵測單元,用以偵測反射光強度,當反射光強度大於等於一預定門檻時,則將反射光視作一有效輸入,反之則視為一無效輸入;微控制器耦接於發光單元以及光接收模組,並儲存有一編碼對照表,適於將反射光的有效輸入與無效輸入組合成一編碼,再從編碼對照表中找出與該編碼對應的一符號,並予以輸出。 According to an embodiment of the device of the present invention, the input device includes a light emitting module, a light receiving module, a light identification module, and a microcontroller. The light-emitting module is used for projecting visible light; the light-receiving module is used for receiving the reflected light of the visible light; the light-recognition module is coupled to the light-receiving module and includes a light intensity detecting unit for detecting the intensity of the reflected light. When the reflected light intensity is greater than or equal to a predetermined threshold, the reflected light is regarded as a valid input, otherwise it is regarded as an invalid input; the microcontroller is coupled to the light emitting unit and the light receiving module, and a coded comparison table is stored. The combination of the valid input and invalid input of the reflected light into a code, and then finding a symbol corresponding to the code from the code comparison table and outputting it.

於本發明裝置之一實施例中,其中發光模組得依照一預定時序投射至少一種可見光。 In one embodiment of the device of the present invention, the light emitting module may project at least one visible light according to a predetermined timing.

於本發明裝置之一實施例中,光識別模組進一步包含一光顏色識別單元,耦接光接收模組,用以偵測反射光的顏色是否與投射的有色可見光顏色相同,若顏色相同,再進一步偵測有色可見光的強度是否大於等於預定門檻,反之則視為一無效輸入。 In an embodiment of the device of the present invention, the light identification module further includes a light color identification unit coupled to the light receiving module to detect whether the color of the reflected light is the same as the color of the projected colored visible light. If the colors are the same, It is further detected whether the intensity of the colored visible light is greater than or equal to a predetermined threshold, otherwise it is regarded as an invalid input.

於本發明裝置之一實施例中,該輸入裝置中發光模組包含至少一組發光單元,每一發光單元包含一發光器與一透鏡,該發光器用以發出有色可見光,透鏡使可見光投射至一投射面上,且使有色可見光的投射位置互不干涉。 In one embodiment of the device of the present invention, the light-emitting module in the input device includes at least one light-emitting unit. Each light-emitting unit includes a light emitter and a lens. The light emitter emits colored visible light. The lens projects visible light to a light source. The projection surfaces are such that the projection positions of the colored visible light do not interfere with each other.

於本發明裝置之一實施例中,預定時序進一步包含每隔50毫秒發出一次可見光。 In one embodiment of the apparatus of the present invention, the predetermined timing further includes emitting visible light every 50 milliseconds.

本發明之另一範疇在於提出一種輸入方法,適於搭配一輸入裝置使用,該輸入裝置包含發光模組、光接收模組、光識別模組以及微控制器,其中輸入方法包含以下步驟:發光模組投射可見光至一投射面;此時一使用者干涉該投射面,以產生可見光的反射光;光接收模組接收反射光;光識別模組偵測反射光的強度,當反射光的強度大於等於一預定門檻時,則將該反射光視作一有效輸入,反之則視為一無效輸入;以及微控制器將反射光的有效輸入與無效輸入組合成一編碼,再從儲存於微控制器的編碼對照表中找出與該編碼對應的一符號,並予以輸出。 Another category of the present invention is to provide an input method suitable for use with an input device. The input device includes a light emitting module, a light receiving module, a light identification module, and a microcontroller. The input method includes the following steps: light emitting The module projects visible light onto a projection surface; at this time, a user interferes with the projection surface to generate reflected light of visible light; the light receiving module receives reflected light; the light recognition module detects the intensity of the reflected light, and when the intensity of the reflected light is When it is greater than or equal to a predetermined threshold, the reflected light is regarded as a valid input, otherwise it is regarded as an invalid input; and the microcontroller combines the valid input and the invalid input of the reflected light into a code, and then is stored in the microcontroller Find a symbol corresponding to the encoding in the encoding comparison table of and output it.

於本發明方法之一實施例中,其中發光模組得依照一預定時序投射至少一種可見光。 In one embodiment of the method of the present invention, the light emitting module is required to project at least one visible light according to a predetermined timing.

於本發明方法之一實施例中,其中光識別模組進一步包含一光顏色識別單元,輸入方法進一步包含步驟:光顏色識別單元測反射光的顏色是否與欲偵測的有色可見光顏色相同,若顏色相同,才進一步偵測有色可見光的強度是否大於等於預定門檻,反之則視為一無效輸入。 In an embodiment of the method of the present invention, the light recognition module further includes a light color recognition unit, and the input method further includes the step of: the light color recognition unit measures whether the color of the reflected light is the same as the color of the visible visible light to be detected. Only when the colors are the same, it is further detected whether the intensity of the colored visible light is greater than or equal to a predetermined threshold, otherwise it is regarded as an invalid input.

綜上所述,本發明所提出之裝置與方法讓使用者可以透過發光模組投射可見光至一投射面,並以光接收模組接收使用者操作形成之反射光,透過光強度偵測單元所預定之門檻和光顏色識別單元的辨識,確認該反射光為有效輸入或無效輸入,將所有輸入結果組合成一編碼,再從該編碼對照表中找出對應符號,並予以輸出。因其光接收模組僅需吸收足夠強度之反射光,該投射面之位置、表面材質、與發光模組之距離或使用者 是否直接接觸投射面,不為光接收模組接收時之必要條件。 In summary, the device and method provided by the present invention allow a user to project visible light to a projection surface through a light emitting module, and receive reflected light formed by the user's operation with a light receiving module, and pass the light intensity detection unit. Identification by a predetermined threshold and a light color recognition unit, confirming that the reflected light is a valid input or an invalid input, combining all input results into a code, and then finding the corresponding symbol from the code comparison table and outputting it. Because the light receiving module only needs to absorb the reflected light with sufficient intensity, the position, surface material, distance from the light emitting module of the projection surface, or whether the user directly contacts the projection surface is not a necessary condition when the light receiving module receives .

相較於習知技術,本發明使用可見光區域做為使用者輸入之介面,可靈活使用空間,無須受限於虛擬鍵盤所必須之一足夠大平面面積。再者,利用可見光之顏色不同,輸入顏色有時相較於輸入符號更為直覺式思考。更進一步,習知技術在投影輸入介面後,須另發射雷射或紅外光等第二光源,再用複雜的光源定位技術偵測使用者輸入訊息,然本發明只需投影可見光,並接受反射光,即可依照編碼轉成使用者輸入訊息,降低技術繁複程度,也提供使用者更精準的輸入方式。 Compared with the conventional technology, the present invention uses a visible light area as an interface for user input, and can flexibly use space without being limited to a sufficiently large planar area necessary for a virtual keyboard. Furthermore, the color of the visible light is different, and the input color is sometimes more intuitive than the input symbol. Furthermore, the conventional technology must emit a second light source such as laser or infrared light after projecting the input interface, and then use a complicated light source positioning technology to detect the user input message. However, the present invention only needs to project visible light and receive reflection. Light can be converted into user input information according to the code, which reduces the technical complexity and provides a more accurate input method for users.

1、2‧‧‧輸入裝置 1, 2‧‧‧ input device

3、4‧‧‧輸入方法 3, 4‧‧‧ input method

11、21‧‧‧暫存單元 11, 21‧‧‧Temporary storage unit

12、22‧‧‧發光模組 12, 22‧‧‧light emitting module

14、24‧‧‧光接收模組 14, 24‧‧‧ light receiving module

16、26‧‧‧光識別模組 16, 26‧‧‧light identification module

161、261‧‧‧光強度偵測單元 161, 261‧‧‧ Light Intensity Detection Unit

262‧‧‧光顏色識別單元 262‧‧‧light color recognition unit

18、28‧‧‧微控制器 18, 28‧‧‧ microcontroller

121、221‧‧‧發光器 121, 221‧‧‧ Illuminator

122、222‧‧‧透鏡 122, 222‧‧‧ lens

R1~R9‧‧‧步驟流程 R1 ~ R9‧‧‧step flow

R41~R42‧‧‧步驟流程 R41 ~ R42‧‧‧step flow

S1~S9‧‧‧步驟流程 S1 ~ S9‧‧‧step flow

圖一係繪示根據本發明之輸入裝置一具體實施例的功能方塊圖。 FIG. 1 is a functional block diagram of a specific embodiment of an input device according to the present invention.

圖二係繪示根據本發明之輸入裝置一具體實施例的功能方塊圖。 FIG. 2 is a functional block diagram of a specific embodiment of an input device according to the present invention.

圖三係繪示根據本發明之輸入方法一具體實施例的流程示意圖。 FIG. 3 is a schematic flowchart of a specific embodiment of an input method according to the present invention.

圖四A與圖四B係一併繪示根據本發明之輸入方法另一具體實施例的流程示意圖。 FIG. 4A and FIG. 4B are schematic flowcharts of another embodiment of the input method according to the present invention.

請參閱圖一,圖一係繪示根據本發明輸入裝置1一具體實施例的功能方塊圖。本發明之一範疇在於提供一種輸入裝置1,根據一具體實施例,該輸入裝置1包含有一發光模組12、一光接收模組14、一光識別模組16以及一微控制器18。發光模組12用以投射出可見光至一投射面,以形成 一投影區域,發光模組12包含至少一組發光單元,每一發光單元包含一發光器121與一透鏡122,發光器121可為一發光二極體(Light-Emitting Diode,LED)發光單元,用以發出可見光,而透鏡122可使發光器121發出的可見光折射至投射面時,讓可見光的投影區域重疊或互不干涉。其中投射面並不限定為平面。光接收模組14用以接收可見光被一使用者干涉後產生之反射光,其中使用者干涉以產生反射光的方式包含利用手指直接接觸投影區域,或以物件伸入投影區域來形成影子並產生反射光。 Please refer to FIG. 1. FIG. 1 is a functional block diagram of a specific embodiment of the input device 1 according to the present invention. One category of the present invention is to provide an input device 1. According to a specific embodiment, the input device 1 includes a light-emitting module 12, a light-receiving module 14, a light-recognition module 16, and a microcontroller 18. The light emitting module 12 is used for projecting visible light to a projection surface to form a projection area. The light emitting module 12 includes at least one light emitting unit. Each light emitting unit includes a light emitter 121 and a lens 122. The light emitter 121 may be A light-emitting diode (LED) light-emitting unit is used to emit visible light, and when the lens 122 can refract the visible light emitted from the light emitter 121 to the projection surface, the visible light projection areas overlap or do not interfere with each other. The projection surface is not limited to a flat surface. The light receiving module 14 is used to receive the reflected light generated by the interference of visible light by a user. The user interference to generate the reflected light includes directly touching the projection area with a finger or forming an object by projecting into the projection area to generate a shadow and generate light. reflected light.

於一實施例中,本發明之輸入裝置1得建置於一電子裝置中,例如一智慧型手環內,並連接至一終端裝置,例如一智慧型手機、一平板電腦或是一個人電腦等電子裝置。然而本發明不以此為限,本發明之輸入裝置1得被建置於任何可投射出光線的裝置上作為輸入介面使用,例如一可攜式投影機。 In an embodiment, the input device 1 of the present invention may be built in an electronic device, such as a smart bracelet, and connected to a terminal device, such as a smart phone, a tablet computer, or a personal computer. Electronic device. However, the present invention is not limited to this. The input device 1 of the present invention may be built on any device that can project light as an input interface, such as a portable projector.

其中於一實施例中,光接收模組14得為一光電晶體(Photo Transistor)、一光達靈頓電晶體(Photo Darlington Transistor)、一光閘流體(Photo Thyristor)、一光電積體電路(Photo IC)或一光二極體(Photo Diode)。 In one embodiment, the light receiving module 14 can be a phototransistor, a photodarlington transistor, a photothyristor, and a photodiode integrated circuit ( Photo IC) or a photo diode.

光識別模組16耦接於光接收模組14,包含一光強度偵測單元161,用以偵測反射光的強度,當光強度偵測單元161偵測判斷反射光強度大於或等於一預定門檻時,則將反射光視作一有效輸入,反之則為無效輸入。其中反射光強度之預定門檻之範圍得介於0.01~1勒克斯(Lx),反射光強度之預定門檻亦得為一定值的0.1勒克斯(Lx)。 The light identification module 16 is coupled to the light receiving module 14 and includes a light intensity detection unit 161 for detecting the intensity of the reflected light. When the light intensity detection unit 161 detects and determines that the intensity of the reflected light is greater than or equal to a predetermined At the threshold, the reflected light is regarded as a valid input, otherwise it is an invalid input. The range of the predetermined threshold of the reflected light intensity may be between 0.01 and 1 lux (Lx), and the range of the predetermined threshold of the reflected light intensity may be 0.1 lux (Lx).

微控制器18耦接於發光模組12及光接收模組14,並儲存有一編碼對照表,將該反射光之輸入結果組合組成一編碼,再從編碼對照表中 找出與編碼對應之一符號,並予以輸出。 The microcontroller 18 is coupled to the light-emitting module 12 and the light-receiving module 14 and stores a code comparison table. The input result of the reflected light is combined to form a code, and then one of the codes corresponding to the code is found from the code comparison table. Symbol and output it.

例如,於一實施例中,本發明之輸入裝置1的發光模組12具有一個發光單元,並以一預定時序投射出一單色的可見光至一投射面形成一投影區域。預定時序包含每次可見光的投射時間約為3秒,每次投射可見光之間的間隔時間約為50毫秒,共投射五次可見光。使用者在發光模組12投射可見光時去以手指或物件直接接觸投影區域,或是伸入但不接觸投影區域的方式干涉投影區域以產生反射光。光接收模組14接著接收因投影區域被干涉而產生之反射光,再由光強度偵測單元161來偵測反射光的光強度是否大於或等於前述的預定門檻。若偵測反射光的光強度是大於或等於前述的預定門檻,則將干涉結果視為一有效輸入;若否,則將干涉結果視為一無效輸入。然而本發明投射可見光的預定時序並不以前述內容為限,使用者可依照個人需求來修改本發明投射可見光預定時序的內容。 For example, in one embodiment, the light-emitting module 12 of the input device 1 of the present invention has a light-emitting unit, and projects a single-color visible light onto a projection surface at a predetermined timing to form a projection area. The predetermined time sequence includes that the projection time of each visible light is about 3 seconds, and the interval between each projection of visible light is about 50 milliseconds, and a total of five times of visible light are projected. When the light emitting module 12 projects visible light, a user directly touches the projection area with a finger or an object, or interferes with the projection area to generate reflected light by reaching into the projection area without touching the projection area. The light receiving module 14 then receives the reflected light generated by the interference of the projection area, and then the light intensity detection unit 161 detects whether the light intensity of the reflected light is greater than or equal to the aforementioned predetermined threshold. If the detected light intensity is greater than or equal to the aforementioned predetermined threshold, the interference result is regarded as a valid input; if not, the interference result is regarded as an invalid input. However, the predetermined timing for projecting visible light according to the present invention is not limited to the foregoing content, and the user may modify the content of the predetermined timing for projecting visible light according to the present invention.

而本發明之輸入裝置1進一步包含一暫存單元11,用以依序暫時儲存光強度偵測單元161所判斷的輸入結果。暫存單元11在收集到等同於預定時序中發光次數的輸入結果後,便將有效輸入與無效輸入的依序組合成輸入結果組合,並輸出至微控制器18。微控制器18再將輸入結果組合與儲存於微控制器18內的編碼對照表,如以下表一所示,進行對照。其中編碼對照表之時序數量得等同於預定時序中發光次數的數量。若輸入結果組合在編碼對照表中有一對應的符號,則微控制器18輸出該輸入結果組合對應的符號。其中,暫存單元11亦得在收集到等同於編碼對照表中組成編碼所需的輸入結果總數時,便將有效輸入與無效輸入的依序組合成輸入結果組合,並輸出至微控制器18。 The input device 1 of the present invention further includes a temporary storage unit 11 for temporarily storing sequentially the input results determined by the light intensity detection unit 161. After the temporary storage unit 11 collects an input result equivalent to the number of times of light emission in a predetermined sequence, it sequentially combines the valid input and the invalid input into an input result combination, and outputs it to the microcontroller 18. The microcontroller 18 then combines the input results with a code comparison table stored in the microcontroller 18 as shown in Table 1 below for comparison. The number of time series of the code comparison table must be equal to the number of times of light emission in the predetermined time series. If the input result combination has a corresponding symbol in the code comparison table, the microcontroller 18 outputs the symbol corresponding to the input result combination. Among them, when the temporary storage unit 11 collects the total number of input results equivalent to the coding required in the code comparison table, it sequentially combines the valid input and the invalid input into an input result combination, and outputs it to the microcontroller 18 .

1:有效輸入 0:無效輸入 1: valid input 0: invalid input

更進一步地,發光模組12得具有N個發光單元按照一預定時序,於任一時序中發出N個可見光於投射面上,形成N個互不干涉之投影區域,其中N為大於等於1之自然數,且各個時序之間的N得不相同。例如於實際運用中,預定時序中包含每次可見光的投射時間約為2秒,每次投射可見光之間的間隔時間約為1秒,共投射3次可見光,其中第一時序發出一個可見光以形成一個投影區域,第二時序發出兩個可見光以形成兩個互不干涉的投影區域,第三時序發出四個可見光以形成四個互不干涉的投影區域等等。且伴隨著投影區域數量的變化,投影區域之間也能具有位置上的變化安排。此時使用者在任一時序中得干涉任一投影區域產生反射光,由光接收模組14接收反射光,由光強度偵測單元161來判斷是否為有效輸入。此時該編碼對照表得為表二所示。 Furthermore, the light-emitting module 12 may have N light-emitting units emitting N visible light on the projection surface at any timing in accordance with a predetermined timing to form N non-interfering projection areas, where N is equal to or greater than 1. Natural numbers, and N varies from one timing to another. For example, in actual application, the predetermined timing includes the projection time of each visible light is about 2 seconds, the interval between each projection of visible light is about 1 second, and a total of 3 times of visible light is projected, wherein the first timing emits a visible light to Forming a projection area, the second timing emits two visible light to form two non-interfering projection areas, the third timing emits four visible light to form four non-interfering projection areas, and so on. And with the change in the number of projection areas, there can also be changes in position between the projection areas. At this time, the user has to interfere with any projection area to generate reflected light at any timing. The reflected light is received by the light receiving module 14 and the light intensity detection unit 161 determines whether it is a valid input. At this time, the code comparison table is shown in Table 2.

1:有效輸入 0:無效輸入 1: valid input 0: invalid input

此外,亦可利用投影區域的數量來表示目前的發光時序。例如發光模組12於第一時序發出一個可見光以形成一個投影區域,於第二時序發出兩個可見光以形成兩個互不干涉的投影區域,於第三時序發出三個可見光以形成三個互不干涉的投影區域。藉此可以提醒使用者,目前是在第幾發光時序,以方便使用者輸入指令。其中投影區域數量的改變僅用於提醒使用者當前發光時序,使用者接觸的投影區域位置不影響輸入結果。 In addition, the number of projection areas can also be used to indicate the current light emission timing. For example, the light emitting module 12 emits a visible light at a first timing to form a projection area, emits two visible light at a second timing to form two projection areas that do not interfere with each other, and emits three visible light at a third timing to form three Non-interfering projection area. This can remind the user that it is currently at the light-emitting sequence, so that the user can input the instruction conveniently. The change in the number of projection areas is only used to remind the user of the current lighting sequence, and the position of the projection area that the user contacts does not affect the input result.

接著請參閱圖二,圖二係繪示根據本發明輸入裝置2一具體實施例的功能方塊圖。本發明另提出一種輸入裝置2,其包含一發光模組22、一光接收模組24、一光識別模組26以及一微控制器28。其中,發光模組22包含至少一組發光單元,每一發光單元包含一發光器221與一透鏡222,發光器221可為一發光二極體(Light-Emitting Diode,LED)發光單元,用以發出可見光,而透鏡222可使發光器221發出的可見光折射至投射面時,讓可見光的投影區域互不干涉。而根據此一實施例,發光模組22之數量得 為五個,以同時投射五種不同顏色的可見光,例如紅色、黃色、綠色、藍色及紫色,並使各種顏色的可見光之投射區域相互接鄰又不干涉。但本發明並不以此為限,發光模組22得藉由複數個發光器221投射出複數個有色的可見光,而可見光的顏色亦可在習知的光色中任意選擇出容易互相辨識性的有色可見光。 Please refer to FIG. 2, which is a functional block diagram of a specific embodiment of the input device 2 according to the present invention. The present invention further provides an input device 2 including a light emitting module 22, a light receiving module 24, a light identification module 26, and a microcontroller 28. The light-emitting module 22 includes at least one light-emitting unit. Each light-emitting unit includes a light-emitting device 221 and a lens 222. The light-emitting device 221 may be a light-emitting diode (LED) light-emitting unit. When the visible light is emitted, the lens 222 can refract the visible light emitted by the light emitter 221 to the projection surface, so that the projection areas of the visible light do not interfere with each other. According to this embodiment, the number of the light emitting modules 22 can be five, so as to simultaneously project visible light of five different colors, such as red, yellow, green, blue, and purple, and make the projection areas of the visible light of each color mutually. Neighbors without interference. However, the present invention is not limited to this. The light emitting module 22 may project a plurality of colored visible lights through a plurality of light emitters 221. The color of the visible light can also be arbitrarily selected among the known light colors for easy mutual recognition. Colored visible light.

然而本發明不以同時投射五種不同顏色的可見光為限,發光模組22亦可依照一預定時序投射不同顏色的可見光至投射面,例如預定時序得為每種顏色可見光的投射時間約為3秒,每次投射可見色光之間的間隔時間約為50毫秒,共投射五次。本實施例中可在預定時序中依序投射不同顏色之可見光至投射面上的同一投影區域,亦可藉由透鏡222可使發光器221發出的可見光折射至投射面時,讓可見光的投影區域互不干涉。使用者在發光模組22投射可見光時去以手指或物件直接接觸投影區域,或是伸入但不接觸投影區域的方式干涉投影區域以產生反射光。然而本發明投射可見光的預定時序並不以前述內容為限,使用者可依照個人需求來修改本發明投射可見光預定時序的內容。亦即,使用者可將投射可見光的預定時序調整成同時投射至少一可見光。故發光模組發光的預定時序中包含有發光模組同時發光的預定時序。 However, the present invention is not limited to projecting five different colors of visible light at the same time. The light emitting module 22 can also project different colors of visible light to the projection surface according to a predetermined timing. Seconds, the interval between each projection of visible colored light is about 50 milliseconds, a total of five projections. In this embodiment, visible light of different colors can be sequentially projected to the same projection area on the projection surface in a predetermined timing sequence. When the visible light emitted by the light emitter 221 is refracted to the projection surface by the lens 222, the projection area of visible light is allowed. Do not interfere with each other. When the light emitting module 22 projects visible light, the user directly touches the projection area with a finger or an object, or interferes with the projection area to generate reflected light by reaching into the projection area without touching the projection area. However, the predetermined timing for projecting visible light according to the present invention is not limited to the foregoing content, and the user may modify the content of the predetermined timing for projecting visible light according to the present invention. That is, the user can adjust the predetermined timing of projecting visible light to project at least one visible light at the same time. Therefore, the predetermined timing for the light emitting module to emit light includes the predetermined timing for the light emitting module to emit light simultaneously.

輸入裝置2的光識別模組26包含光強度識別單元261與一光顏色識別單元262,光識別模組26耦接於光接收模組24,光顏色識別單元262用以偵測反射光之顏色波長與欲偵測之顏色波長是否相同。於一實施例中,光識別模組26與發光模組22的數量相等,且功能上一個光識別模組26對應至一個發光模組22,以形成一組光的收發組合。例如,若某一個發光 單元221投射出紅色可見光,則與其相對應之光顏色識別單元262則對應偵測紅色之反射光;依此類推,若另外有四個發光單元221各別投射出四種顏色的可見光,例如黃色、綠色、藍色及紫色,則其相對應的光顏色識別單元262則各別對應偵測的反射光顏色即為黃色、綠色、藍色及紫色。若反射光之顏色波長與欲偵測之顏色波長相同,才進一步由光強度識別單元261偵測該反射光的強度是否大於等於預定門檻。若一反射光在光顏色識別單元262和光強度偵測單元261的判斷流程中皆為正,亦即反射光顏色與發光顏色相同,且反射光之強度亦大於或等於前述的預定門檻,則視為有效輸入,反之若有任一項判斷流程不通過,則視為無效輸入,並將此輸入訊號傳至微控制器28。 The light recognition module 26 of the input device 2 includes a light intensity recognition unit 261 and a light color recognition unit 262. The light recognition module 26 is coupled to the light receiving module 24. The light color recognition unit 262 is used to detect the color of the reflected light. Whether the wavelength is the same as the wavelength of the color to be detected. In one embodiment, the number of the light identification modules 26 and the light emitting modules 22 are equal, and one light identification module 26 is functionally corresponding to one light emitting module 22 to form a group of light transmitting and receiving combinations. For example, if a certain light emitting unit 221 projects visible red light, the corresponding light color identification unit 262 correspondingly detects red reflected light; and so on, if there are four other light emitting units 221 each projecting four For visible light of colors, such as yellow, green, blue, and purple, the corresponding detected color of the light color identification unit 262 is yellow, green, blue, and purple. If the color wavelength of the reflected light is the same as the color wavelength to be detected, the light intensity identification unit 261 further detects whether the intensity of the reflected light is greater than or equal to a predetermined threshold. If a reflected light is positive in the determination process of the light color identification unit 262 and the light intensity detection unit 261, that is, the reflected light color is the same as the light emission color, and the intensity of the reflected light is also greater than or equal to the aforementioned predetermined threshold, then For valid input, if any of the judgment processes fail, it is regarded as invalid input, and the input signal is transmitted to the microcontroller 28.

於另一實施例中,透鏡222可使發光器221發出的可見光折射至一投射面上,並使其可見光折射之投影區域相互交錯,以形成有另一顏色的投影區域。例如:兩組發光模組22分別投射紅色與綠色光線,並且同時發光,致使在投射面上形成紅色、綠色,以及由紅色光與綠色光混合產生的黃色等三個投影區域。而此時光識別模組26與發光模組22之間的對應關係得不為一對一,例如前述的兩組發光模組22分別投射紅色與綠色光線,且在投射面上形成紅色、綠色與黃色等三個投影區域,則得有三個光識別模組26分別偵測紅色、綠色與黃色等三個顏色的反射光。 In another embodiment, the lens 222 can refract the visible light emitted by the light emitter 221 to a projection surface, and the projection areas refracted by the visible light are staggered with each other to form a projection area of another color. For example, two sets of light emitting modules 22 project red and green light respectively, and emit light simultaneously, so that three projection areas such as red, green, and yellow generated by mixing red light and green light are formed on the projection surface. At this time, the corresponding relationship between the light recognition module 26 and the light emitting module 22 is not one-to-one. For example, the aforementioned two groups of light emitting modules 22 respectively project red and green light, and form red, green and For three projection areas such as yellow, three light recognition modules 26 are required to detect the reflected light of three colors, such as red, green, and yellow.

於另一實施例中,光識別模組26亦得先以光強度偵測單元261偵測可見光強度是否到達預定門檻,若到達預定門檻才進一步以光顏色識別單元262辨識反射光之顏色波長,若一反射光在光強度偵測單元261和光顏色識別單元262的判斷流程中皆為正,亦即反射光顏色與發光顏色相 同,且反射光之強度亦大於或等於前述的預定門檻,則視為有效輸入,反之若有任一項判斷流程不通過,則視為無效輸入,並將此輸入結果輸出至微控制器28。 In another embodiment, the light recognition module 26 must first detect whether the visible light intensity reaches a predetermined threshold with the light intensity detection unit 261, and if the predetermined threshold is reached, further identify the color wavelength of the reflected light with the light color recognition unit 262, If a reflected light is positive in the determination process of the light intensity detection unit 261 and the light color identification unit 262, that is, the reflected light color is the same as the light emission color, and the intensity of the reflected light is also greater than or equal to the aforementioned predetermined threshold, then In order to be valid input, if any of the judgment processes fail, it is regarded as invalid input, and the result of this input is output to the microcontroller 28.

於一實施例中,微控制器28可為一中央處理器,當微控制器28接收到目前輸入結果總數等同編碼所需總數時,則將其所有輸入結果組合成一編碼,再從編碼對照表中找出此編碼對應之符號,並予以輸出。例如以下表二所示,光顏色識別單元262可辨識五種顏色可見光,每種顏色可見光皆有無效輸入與有效輸入兩種態樣,則其編碼對照表中可儲存25種組合編碼,並以此組合編碼對應到32個符號或命令。 In an embodiment, the microcontroller 28 may be a central processing unit. When the microcontroller 28 receives the current total number of input results equal to the total number required for encoding, it combines all of its input results into an encoding, and then returns the encoding comparison table Find the symbol corresponding to this code and output it. For example, as shown in Table 2 below, the light color recognition unit 262 can identify five colors of visible light. Each color of visible light has two types of invalid input and valid input. Then its code comparison table can store 2 5 combined codes, and This combination code corresponds to 32 symbols or commands.

1:有效輸入 0:無效輸入 1: valid input 0: invalid input

請參閱圖三,圖三係繪示根據本發明輸入方法一具體實施例的流程示意圖,本發明之另一範疇在於提供一種輸入方法3。根據一具體實施例,輸入方法3適於搭配輸入裝置1使用,輸入裝置1包含暫存單元11、發光模組12、光接收模組14、光識別模組16以及微控制器18,其中輸入方法包含以下步驟:S1:發光模組投射可見光至一投射面。S2:使用者靠近投 射面,產生反射光。S3:光接收模組接收反射光。S4:光識別模組判別反射光。S5:輸出一輸入結果至暫存器。S6:判斷目前輸入結果總數與編碼所需總數是否相符。S7:依照輸入結果組合成編碼。S8:找出編碼對照表中對應符號。S9:輸出符號。 Please refer to FIG. 3. FIG. 3 is a schematic flowchart of a specific embodiment of an input method according to the present invention. Another aspect of the present invention is to provide an input method 3. According to a specific embodiment, the input method 3 is suitable for use with the input device 1. The input device 1 includes a temporary storage unit 11, a light emitting module 12, a light receiving module 14, a light identification module 16, and a microcontroller 18. The method includes the following steps: S1: The light emitting module projects visible light onto a projection surface. S2: The user approaches the projection surface and generates reflected light. S3: The light receiving module receives the reflected light. S4: The light recognition module determines the reflected light. S5: Output an input result to the register. S6: Determine whether the total number of input results currently matches the total number required for encoding. S7: Combining the input results into codes. S8: Find the corresponding symbol in the code comparison table. S9: Output symbol.

於步驟S1:發光模組投射可見光至一投射面中,發光模組12以一預定時序將可見光投射至一投射面,以形成一投影區域,其中投射面並不限定為平面,預定時序包含每次可見光的投射時間約為3秒,每次投射可見光之間的間隔時間約為50毫秒,共投射五次可見光。然而本發明投射可見光的預定時序並不以前述內容為限,使用者可依照個人需求來修改本發明投射可見光預定時序的內容。 In step S1: the light emitting module projects visible light onto a projection surface, and the light emitting module 12 projects visible light onto a projection surface at a predetermined timing to form a projection area, wherein the projection surface is not limited to a flat surface, and the predetermined timing includes each The projection time of the secondary visible light is about 3 seconds, and the interval between each projection of the visible light is about 50 milliseconds, and the visible light is projected five times in total. However, the predetermined timing for projecting visible light according to the present invention is not limited to the foregoing content, and the user may modify the content of the predetermined timing for projecting visible light according to the present invention.

接著於步驟S2:使用者靠近投射面,產生反射光中,投影區域內的可見光被一使用者干涉後產生一反射光,其中使用者干涉以產生反射光的方式包含利用手指直接接觸投影區域,或以物件伸入投影區域來形成影子並產生反射光。接著於步驟S3:光接收模組接收反射光中,光接收模組14接著接收因投影區域被干涉而產生之反射光。 Then in step S2: the user approaches the projection surface to generate reflected light, and the visible light in the projection area is interfered by a user to generate a reflected light. The user interference to generate the reflected light includes directly touching the projection area with a finger, Or, an object is projected into the projection area to form a shadow and generate reflected light. Next, in step S3: the light receiving module receives the reflected light, and the light receiving module 14 then receives the reflected light generated by the interference of the projection area.

於步驟S4:光識別模組判別反射光中,光識別模組16中包含有用以偵測反射光強度的光強度偵測單元161,當光強度偵測單元161偵測到反射光強度大於等於一預定門檻時,則將反射光視作一有效輸入,反之則為無效輸入。其中反射光強度之預定門檻之範圍得介於0.01~1勒克斯(Lx),反射光強度之預定門檻亦得為一定值的0.1勒克斯(Lx)。 In step S4: the light recognition module determines the reflected light. The light recognition module 16 includes a light intensity detection unit 161 for detecting the intensity of the reflected light. When the light intensity detection unit 161 detects that the intensity of the reflected light is greater than or equal to When a predetermined threshold is set, the reflected light is regarded as a valid input, otherwise it is regarded as an invalid input. The range of the predetermined threshold of the reflected light intensity may be between 0.01 and 1 lux (Lx), and the range of the predetermined threshold of the reflected light intensity may be 0.1 lux (Lx).

接著於步驟S5:輸出一輸入結果至暫存器中,將前述之有效輸入及無效輸入皆視為輸入結果,暫存於暫存單元11中。例如有效輸入 為1,無效輸入為0,若依順序已經輸出了有效輸入、無效輸入、無效輸入,則分別輸出(1,0,0)至暫存單元11中暫存。 Then, in step S5, an input result is output to the temporary register, and the foregoing valid input and invalid input are regarded as input results, and temporarily stored in the temporary storage unit 11. For example, the valid input is 1, and the invalid input is 0. If valid input, invalid input, and invalid input have been output in order, (1,0,0) is output to the temporary storage unit 11 for temporary storage.

於步驟S6:判斷目前輸入結果總數與編碼所需總數是否相符中,判斷相符則進入下一步驟S7,而判斷不相符則再次回到步驟S3。例如,發光模組12發光的預定時序中需要發出四次可見光,但暫存單元11中只暫存了三筆輸入結果(1,0,0),輸入結果總數為三,則回到步驟S3再次接收反射光,待暫存單元11收到了四筆輸入結果,則進入下一步驟。 In step S6: it is determined whether the current total number of input results matches the total number required for encoding. If it is determined to be consistent, it proceeds to the next step S7, and if it does not match, it returns to step S3 again. For example, the light emitting module 12 needs to emit visible light four times in a predetermined timing, but only three input results (1,0,0) are temporarily stored in the temporary storage unit 11, and the total number of input results is three, and the process returns to step S3. After receiving the reflected light again, the pending storage unit 11 receives four input results, and then proceeds to the next step.

再於步驟S7:依照輸入結果組合成編碼中,將其輸入結果之輸入順序先後排序,形成一編碼。並於步驟S8:找出編碼對照表中對應符號中,比對編碼與編碼對照表,如參考上述表一,步驟S7形成之編碼為(1,0,0,1),則其對應之符號為數字”9”。在步驟S9:輸出符號中,如上例將數字”9”輸出至一終端裝置,例如一智慧型手機、一平板電腦或是一個人電腦等電子裝置。 Then in step S7, the input results are combined into a code, and the input order of the input results is sorted to form a code. And in step S8: find the corresponding symbol in the code comparison table, compare the code and the code comparison table. For example, referring to Table 1 above, the code formed in step S7 is (1,0,0,1), then the corresponding symbol Is the number "9". In step S9: the output symbol, the number “9” is output to a terminal device, such as a smart phone, a tablet computer, or an electronic device such as a personal computer.

請參閱圖四,圖四係繪示另一具體實施之輸入方法4。本輸入方法4適於搭配輸入裝置2使用,而輸入方法4與輸入方法3之間除了步驟R1與輸入方法3的步驟S1因為硬體配置的不同,而在步驟的操作細節上略有不同,例如步驟R1進一步得同時投射出至少一種可見光。例如投射出五種可見光,其顏色為紅色、黃色、綠色、藍色及紫色。且步驟S4被步驟R41與步驟R42取代之外,其餘步驟與輸入方法3相同,本說明書於此不再贅述。 Please refer to FIG. 4, which illustrates another specific input method 4. This input method 4 is suitable for use with the input device 2. Except for step R1 and step S1 of input method 3 between input method 4 and input method 3, the operation details of the steps are slightly different because of the different hardware configurations. For example, step R1 further projects at least one visible light at the same time. For example, five kinds of visible light are projected, and the colors are red, yellow, green, blue, and purple. In addition, step S4 is replaced by steps R41 and R42, and the remaining steps are the same as the input method 3, which will not be repeated here in this specification.

根據此具體實施方法,其中輸入裝置2中光識別模組26中包含光顏色識別單元262與光強度識別單元261,光強度偵測單元261判定反射光強度是否大於等於一預定門檻,光顏色識別單元262偵測反射光顏色是否 符合一欲偵測顏色,其中於一實施例中,發光模組22與光識別模組26在功數量上與功能上對應相互對應,亦即一個光識別模組26至少對應至一相對應的發光模組22,光識別模組26僅偵測與之對應的發光模組22所發出的可見光之反射光的顏色與強度。是以在輸入方法4中,步驟R3接收反射光之後,進入步驟R41,以光強度偵測單元261判定反射光強度是否大於等於一預定門檻,接著進入步驟R42,以光顏色識別單元262判別反射光顏色是否符合欲偵測顏色,其欲偵測顏色得為一個發光模組22所發出之可見光顏色,或複數個發光模組22所投射之可見光於交疊之後所形成之投影顏色。當光強度偵測單元261偵測反射光強度大於等於一預定門檻,且光顏色識別單元262偵測反射光顏色符合欲偵測顏色,則將反射光視作一有效輸入,若反射光強度小於一預定門檻,或反射光顏色不符合欲偵測顏色,則為無效輸入。然而本發明R41與R42之順序並不以前述內容為限,使用者可依照個人需求來修改本發明中R41與R42之先後順序。 According to this specific implementation method, the light recognition module 26 in the input device 2 includes a light color recognition unit 262 and a light intensity recognition unit 261. The light intensity detection unit 261 determines whether the reflected light intensity is greater than or equal to a predetermined threshold, and the light color recognition The unit 262 detects whether the color of the reflected light matches a color to be detected. In one embodiment, the light-emitting module 22 and the light-recognition module 26 correspond to each other in terms of the number of functions and corresponding functions, that is, a light-recognition module. 26 corresponds to at least a corresponding light emitting module 22, and the light identification module 26 only detects the color and intensity of the reflected light of the visible light emitted by the corresponding light emitting module 22. Therefore, in the input method 4, after receiving the reflected light in step R3, the process proceeds to step R41, and the light intensity detection unit 261 determines whether the reflected light intensity is greater than or equal to a predetermined threshold, and then proceeds to step R42, and the light color recognition unit 262 determines the reflection Whether the light color matches the color to be detected. The color to be detected must be the color of visible light emitted by one light-emitting module 22, or the projected color of visible light projected by a plurality of light-emitting modules 22 after overlapping. When the light intensity detection unit 261 detects that the intensity of the reflected light is greater than or equal to a predetermined threshold, and the light color recognition unit 262 detects that the color of the reflected light matches the color to be detected, the reflected light is regarded as a valid input. If the intensity of the reflected light is less than A predetermined threshold, or the color of the reflected light does not match the color to be detected, is an invalid input. However, the order of R41 and R42 in the present invention is not limited to the foregoing. The user can modify the order of R41 and R42 in the present invention according to personal requirements.

於步驟R8中,得以先將編碼對照表中,每個數字、字母或注音等輸出符號,分別以顏色編碼組成。例如表二所示,編碼對照表中之字母B為紅色+黃色,字母I為紅色+紫色,則當使用者同時干涉發光模組22投射形成之紅色與黃色投射面時,輸出字母B。 In step R8, each of the numbers, letters, or Zhuyin output symbols in the code comparison table can be first formed by color coding. For example, as shown in Table 2, the letter B in the code comparison table is red + yellow and the letter I is red + purple. When the user interferes with the red and yellow projection surfaces formed by the light emitting module 22, the letter B is output.

於一實施例中,使用者可利用本發明的輸入方法與裝置來控制家中的電器。例如輸入裝置2為一智慧手環,其中智慧手環可以投影紅色、黃色、綠色、藍色及紫色可見光在手掌、手背或手臂任一側形成一投射面,且被輸入裝置2控制的一終端裝置為一具有紅色、黃色、綠色、藍色及紫色五種顏色燈泡之燈座時,使用者可透過干涉智慧手環投射形成之紅 色投射面,命令終端裝置之燈座點亮紅色燈泡,進而直觀地控制燈光顏色。此時的編碼對照表是將使用者的輸入結果對應至燈座所發出的可見光顏色。 In one embodiment, the user can use the input method and device of the present invention to control appliances in the home. For example, the input device 2 is a smart bracelet. The smart bracelet can project red, yellow, green, blue, and purple visible light to form a projection surface on the palm, the back of the arm, or the side of the arm. The terminal is controlled by the input device 2. When the device is a lamp holder with five colors of red, yellow, green, blue, and purple, the user can interfere with the red projection surface formed by the projection of the smart bracelet, and command the lamp holder of the terminal device to light up the red light bulb. Intuitively control light colors. The code comparison table at this time corresponds to the input result of the user to the visible light color emitted by the lamp holder.

於另一實施例中,輸入裝置2為一智慧手環或一無線遙控器,被輸入裝置2控制的終端裝置為一智慧手機,當智慧手機之觸控螢幕,亦即使用者輸入介面上,設計成紅色顯示區域(亦即投影區域)對應至電話功能、黃色顯示區域對應至照相功能、綠色顯示區域對應至網頁瀏覽器功能、藍色顯示區域對應至行事曆功能,及紫色顯示區域對應至郵件功能,則當使用者透過干涉發光模組22,亦即觸控螢幕投射顯示形成之紫色投影區域時,智慧手機執行郵件應用程式。故本發明其中一種態樣係在終端裝置的功能有一對應顏色快捷鍵的操作方式,此時編碼對照表可逕為顏色對應關係。 In another embodiment, the input device 2 is a smart bracelet or a wireless remote control, and the terminal device controlled by the input device 2 is a smart phone. When the touch screen of the smart phone is the user input interface, Designed with a red display area (i.e., projection area) corresponding to the phone function, a yellow display area corresponding to the camera function, a green display area corresponding to the web browser function, a blue display area corresponding to the calendar function, and a purple display area corresponding to In the mail function, when the user interferes with the light emitting module 22, that is, the purple projection area formed by the touch screen projection display, the smart phone executes the mail application. Therefore, one aspect of the present invention is that the function of the terminal device has an operation mode corresponding to a color shortcut key. At this time, the code comparison table may be a color correspondence relationship.

綜上所述,本發明所提出之裝置與方法讓使用者可以透過發光模組投射可見光至一投射面,並以光接收模組接收使用者操作形成之反射光,透過光強度偵測單元所預定之門檻和光顏色識別單元的辨識,確認該反射光為有效輸入或是無效輸入,將所有輸入結果組合成一編碼,再從該編碼對照表中找出對應符號,並予以輸出。因其光接收模組僅需接收操作者造成的足夠強度之反射光,該投射面之位置、表面材質、與發光模組之距離或使用者是否直接接觸投射面,不為光接收模組接收時之必要條件。 In summary, the device and method provided by the present invention allow a user to project visible light to a projection surface through a light emitting module, and receive reflected light formed by the user's operation with a light receiving module, and pass the light intensity detection unit. Identification by a predetermined threshold and a light color recognition unit, confirming that the reflected light is a valid input or an invalid input, combining all input results into a code, and then finding the corresponding symbol from the code comparison table and outputting it. Because the light receiving module only needs to receive the reflected light of sufficient intensity caused by the operator, the position of the projection surface, the surface material, the distance from the light emitting module, or whether the user directly contacts the projection surface is not received by the light receiving module. Necessary conditions.

相較於習知技術,本發明使用可見光區域做為使用者輸入之介面,可靈活使用空間,無須受限於虛擬鍵盤所必須之一足夠大平面面積。其二,利用可見光之顏色不同,輸入顏色有時相較於輸入符號更為直覺式 思考。更進一步,習知技術在投影輸入介面後,須另發射雷射或紅外光等第二光源,再用複雜的光源定位技術偵測使用者輸入訊息,然本發明只需投射可見光,並接受反射光,即可依照編碼轉成使用者輸入訊息,降低技術繁複程度,也提供使用者更精準的輸入方式。 Compared with the conventional technology, the present invention uses a visible light area as an interface for user input, and can flexibly use space without being limited to a sufficiently large planar area necessary for a virtual keyboard. Second, the color of the visible light is different, and the input color is sometimes more intuitive than the input symbol. Furthermore, the conventional technology must emit a second light source such as laser or infrared light after projecting the input interface, and then use a complex light source positioning technology to detect the user input message. However, the present invention only needs to project visible light and receive reflection. Light can be converted into user input information according to the code, which reduces the technical complexity and provides a more accurate input method for users.

本發明裝置和方法不須完全接觸一實體平面的特性,可運用在高衛生要求之實驗室、輻射或醫療環境中需避免碰觸之設備;不必在固定的實體平面上留下指紋,也可運用在輸入密碼時之資安保護;本發明尤其適合在一不須複雜的輸入情況下使用,例如一智慧手環或一客戶端使用選單。 The device and method of the present invention do not need to completely touch the characteristics of a solid plane, and can be used in equipment that needs to be avoided in laboratories, radiation or medical environments with high health requirements; it is not necessary to leave fingerprints on a fixed physical plane, and it can also The invention is used for security protection when inputting a password; the present invention is particularly suitable for use without complicated input situations, such as a smart bracelet or a client-side menu.

藉由以上較佳具體實施例之詳述,係希望能更加清楚描述本發明之特徵與精神,而並非以上述所揭露的較佳具體實施例來對本發明之範疇加以限制。相反地,其目的是希望能涵蓋各種改變及具相等性的安排於本發明所欲申請之專利範圍的範疇內。因此,本發明所申請之專利範圍的範疇應該根據上述的說明作最寬廣的解釋,以致使其涵蓋所有可能的改變以及具相等性的安排。 With the above detailed description of the preferred embodiments, it is hoped that the features and spirit of the present invention can be more clearly described, and the scope of the present invention is not limited by the preferred embodiments disclosed above. On the contrary, the intention is to cover various changes and equivalent arrangements within the scope of the patents to be applied for in the present invention. Therefore, the scope of the patent scope of the present invention should be interpreted in the broadest sense according to the above description, so that it covers all possible changes and equal arrangements.

Claims (10)

一種輸入裝置,其包含:一發光模組,用以發出可見光;一光接收模組,用以接收該可見光的反射光;一光識別模組,耦接該光接收模組,包含一光強度偵測單元,用以偵測該反射光的強度,當該反射光的強度大於等於一預定門檻時,則將該反射光視作一有效輸入,反之則否;以及一微控制器,耦接該發光模組以及該光接收模組,並儲存有一編碼對照表,適於將該反射光的該有效輸入組合成一編碼,再從該編碼對照表中找出與該編碼對應的一符號,並予以輸出。     An input device includes: a light emitting module for emitting visible light; a light receiving module for receiving reflected light of the visible light; a light identification module coupled to the light receiving module and including a light intensity A detecting unit for detecting the intensity of the reflected light; when the intensity of the reflected light is greater than or equal to a predetermined threshold, the reflected light is regarded as a valid input; otherwise, it is not; and a microcontroller, coupled The light emitting module and the light receiving module store a code comparison table, which is suitable for combining the effective input of the reflected light into a code, and then find a symbol corresponding to the code from the code comparison table, and To output.     如申請專利範圍第1項所述的輸入裝置,其中該發光模組得依照一預定時序發出至少一種該可見光,而該預定時序包含同時發出至少一種該可見光。     The input device according to item 1 of the scope of patent application, wherein the light emitting module is required to emit at least one visible light according to a predetermined sequence, and the predetermined sequence includes simultaneously emitting at least one visible light.     如申請專利範圍第2項所述的輸入裝置,其中光識別模組進一步包含一光顏色識別單元,耦接該光接收模組,用以偵測該反射光的顏色是否與發出的該有色可見光顏色相同,若顏色相同,才進一步偵測該有色可見光的強度是否大於等於該預定門檻,反之則否。     The input device according to item 2 of the scope of patent application, wherein the light recognition module further includes a light color recognition unit coupled to the light receiving module to detect whether the color of the reflected light and the colored visible light are emitted. The colors are the same. If the colors are the same, it is further detected whether the intensity of the colored visible light is greater than or equal to the predetermined threshold, otherwise it is not.     如申請專利範圍第3項所述的輸入裝置,其中包含複數個該發光模組,該光顏色識別單元得進一步偵測該些發光模組所投射之該些可見光之投影顏色,以及該些可見光交疊之後所形成之投影顏色,若偵測到之該些反射光顏色與欲偵測之投影顏色相同,才進一步偵測該些可見光的強度是否大於等於該預定門檻,反之則否。     The input device according to item 3 of the scope of patent application, which includes a plurality of the light emitting modules, and the light color recognition unit may further detect the projected colors of the visible light projected by the light emitting modules, and the visible light If the projection color formed after the overlap is the same as the projection color to be detected, then it is further detected whether the intensity of the visible light is greater than or equal to the predetermined threshold, otherwise it is not.     如申請專利範圍第2項所述的輸入裝置,其中該發光模組包含複數組發光單元,每一該發光單元包含一發光器與一透鏡,該發光器用以發出該可見光,該透鏡使該可見光投射至一投射面上,且使該可見光的投射位置互不干涉。     The input device according to item 2 of the scope of patent application, wherein the light-emitting module includes a plurality of light-emitting units, and each of the light-emitting units includes a light emitter and a lens, the light emitter is used to emit the visible light, and the lens makes the visible light Projected onto a projection surface, so that the projection positions of the visible light do not interfere with each other.     如申請專利範圍第3項所述的輸入裝置,其中該預定時序進一步包含每隔50毫秒發出一次該可見光。     The input device according to item 3 of the patent application scope, wherein the predetermined timing further includes emitting the visible light every 50 milliseconds.     一種輸入方法,適於搭配一輸入裝置使用,該輸入裝置包含一發光模組、一光接收模組、一光識別模組以及一微控制器,其中該輸入方法包含以下步驟:該發光模組投射可見光至一投射面;一使用者接觸該投射面,以產生該可見光的反射光;該光接收模組接收該反射光;該光識別模組偵測該反射光的強度,當該反射光的強度大於等於一預定門檻時,則將該反射光視作一有效輸入,反之則否;以及該微控制器將該反射光的該有效輸入組合成一編碼,再從儲存於該微控制器的一編碼對照表中找出與該編碼對應的一符號,並予以輸出。     An input method is suitable for use with an input device. The input device includes a light emitting module, a light receiving module, a light identification module, and a microcontroller. The input method includes the following steps: the light emitting module Projects visible light onto a projection surface; a user contacts the projection surface to generate reflected light of the visible light; the light receiving module receives the reflected light; the light recognition module detects the intensity of the reflected light, and when the reflected light When the intensity of the reflected light is greater than or equal to a predetermined threshold, the reflected light is regarded as a valid input, otherwise it is not; and the microcontroller combines the valid input of the reflected light into a code, and the Find a symbol corresponding to the code in a code comparison table and output it.     如申請專利範圍第7項所述的輸入方法,其中該發光模組得依照一預定時序發出至少一種該可見光,而該預定時序包含同時發出至少一種該可見光。     The input method according to item 7 of the scope of patent application, wherein the light emitting module is required to emit at least one visible light according to a predetermined sequence, and the predetermined sequence includes simultaneously emitting at least one visible light.     如申請專利範圍第7項所述的輸入方法,其中該光識別模組進一步包含一光顏色識別單元,該輸入方法進一步包含步驟:該光顏色識別單元偵 測該反射光的顏色是否與發出的該有色可見光顏色相同,若顏色相同,才進一步偵測該有色可見光的強度是否大於等於該預定門檻,反之則否。     The input method according to item 7 of the patent application scope, wherein the light recognition module further includes a light color recognition unit, and the input method further includes the step of: the light color recognition unit detects whether the color of the reflected light is different from the emitted light The colored visible light has the same color, and if the colors are the same, it is further detected whether the intensity of the colored visible light is greater than or equal to the predetermined threshold, and vice versa.     如申請專利範圍第9項所述的輸入方法,其中包含複數個該發光模組,該光顏色識別單元得進一步偵測該些發光模組所投射之該些可見光之投影顏色,以及該些可見光交疊之後所形成之投影顏色,若偵測到之該些反射光顏色與欲偵測之投影顏色相同,才進一步偵測該些可見光的強度是否大於等於該預定門檻,反之則否。     The input method according to item 9 of the scope of patent application, which includes a plurality of the light emitting modules, and the light color recognition unit may further detect the projected colors of the visible light projected by the light emitting modules and the visible light. If the projection color formed after the overlap is the same as the projection color to be detected, then it is further detected whether the intensity of the visible light is greater than or equal to the predetermined threshold, otherwise it is not.    
TW106136861A 2017-08-01 2017-10-26 An input method and device thereof TWI660303B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
??201710648951.3 2017-08-01
CN201710648951.3A CN107422926B (en) 2017-08-01 2017-08-01 Input method and device

Publications (2)

Publication Number Publication Date
TW201911019A true TW201911019A (en) 2019-03-16
TWI660303B TWI660303B (en) 2019-05-21

Family

ID=60437131

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106136861A TWI660303B (en) 2017-08-01 2017-10-26 An input method and device thereof

Country Status (2)

Country Link
CN (1) CN107422926B (en)
TW (1) TWI660303B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI726538B (en) * 2019-12-16 2021-05-01 宏碁股份有限公司 Electronic system with creative material capturing function and input device
WO2023043928A1 (en) * 2021-09-17 2023-03-23 Google Llc Encoding and recognizing positions of a display

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10955969B2 (en) * 2018-08-21 2021-03-23 Pixart Imaging Inc. Access control system and light guide assembly thereof

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4725482B2 (en) * 2006-10-16 2011-07-13 カシオ計算機株式会社 Photosensor, photosensor target detection method and display device
WO2010030061A1 (en) * 2008-09-11 2010-03-18 주식회사 안다미로 Game device capable of identifying the color or pattern of an object
WO2012035469A1 (en) * 2010-09-14 2012-03-22 Koninklijke Philips Electronics N.V. Coded light emitting device
DE102011086318A1 (en) * 2011-11-14 2013-05-16 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Position determination of an object by detection of a position pattern by optical sensor
TWI472962B (en) * 2011-11-17 2015-02-11 Pixart Imaging Inc Input device
CN103092357B (en) * 2013-01-11 2016-02-24 深圳市宇恒互动科技开发有限公司 A kind of implementation method of Scan orientation and projected keyboard device
US9483875B2 (en) * 2013-02-14 2016-11-01 Blackberry Limited Augmented reality system with encoding beacons
RU2016136682A (en) * 2014-02-14 2018-03-19 Филипс Лайтинг Холдинг Б.В. ENCODED LIGHT
CN106605262A (en) * 2014-07-03 2017-04-26 飞利浦灯具控股公司 Coded light symbol encoding
CN105491359B (en) * 2014-10-13 2018-07-06 联想(北京)有限公司 Projection device, optical projection system and projecting method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI726538B (en) * 2019-12-16 2021-05-01 宏碁股份有限公司 Electronic system with creative material capturing function and input device
WO2023043928A1 (en) * 2021-09-17 2023-03-23 Google Llc Encoding and recognizing positions of a display

Also Published As

Publication number Publication date
TWI660303B (en) 2019-05-21
CN107422926B (en) 2020-12-18
CN107422926A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
TWI528226B (en) Image based touch apparatus and control method thereof
TWI403213B (en) Light source control device and method
TWI660303B (en) An input method and device thereof
CN104202865B (en) A kind of Intelligent lightening device
US11243640B2 (en) Information handling system modular capacitive mat with extension coupling devices
US20110242054A1 (en) Projection system with touch-sensitive projection image
US20160313842A1 (en) Disambiguation of False Touch Inputs at an Information Handling System Projected User Interface
CN102331884A (en) Projecting system with touch control projecting images
CN101714033A (en) Multi-spot touch control device
EP2821888B1 (en) Gesture detection using ambient light sensors
US9791979B2 (en) Managing inputs at an information handling system by adaptive infrared illumination and detection
US20150061539A1 (en) Electronic device, computer program product, and control system
TWI511008B (en) Touch detection method and optical touch system thereof
EP3478029A1 (en) Dimming processing system for led lamps
WO2018028356A1 (en) Fingerprint button, light-emitting prompt structure, and terminal device
US20180284953A1 (en) Image-Based Lighting Controller
US9727233B2 (en) Touch device and control method and method for determining unlocking thereof
KR101430334B1 (en) Display system
US20180292935A1 (en) Touch module with fingerprint identification device
KR101268340B1 (en) Motion sensing switch
US9535540B2 (en) Touching object and optical touching assembly using the same
TWI506482B (en) Interactive projection system and method thereof
CN103064560B (en) A kind of multi-point touch panel
TWI710926B (en) Keyboard projecting device and smart word predicting method
CN103713734B (en) Miniaturization optical system, light source module and portable electronic devices